From 3dc6c859ebf6db340ebae374e7832bd437bfc1aa Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Wed, 28 Sep 2022 19:21:11 -0700 Subject: [PATCH] chore: update stage0 --- stage0/src/Init/Conv.lean | 123 +- stage0/src/Init/Data/Format/Syntax.lean | 3 +- stage0/src/Init/Data/Ord.lean | 5 + stage0/src/Init/Meta.lean | 22 +- stage0/src/Init/Notation.lean | 11 + stage0/src/Init/Prelude.lean | 77 +- stage0/src/Init/Tactics.lean | 10 +- stage0/src/Lean/Compiler/LCNF.lean | 1 + stage0/src/Lean/Compiler/LCNF/Basic.lean | 40 + stage0/src/Lean/Compiler/LCNF/CompilerM.lean | 9 +- .../src/Lean/Compiler/LCNF/ConfigOptions.lean | 55 + stage0/src/Lean/Compiler/LCNF/InferType.lean | 4 +- stage0/src/Lean/Compiler/LCNF/Main.lean | 1 + stage0/src/Lean/Compiler/LCNF/Renaming.lean | 60 + stage0/src/Lean/Compiler/LCNF/Simp.lean | 6 +- .../src/Lean/Compiler/LCNF/Simp/Config.lean | 11 +- .../Lean/Compiler/LCNF/Simp/ConstantFold.lean | 415 + .../Compiler/LCNF/Simp/InlineCandidate.lean | 11 +- .../Lean/Compiler/LCNF/Simp/InlineProj.lean | 2 +- .../src/Lean/Compiler/LCNF/Simp/JpCases.lean | 13 +- stage0/src/Lean/Compiler/LCNF/Simp/Main.lean | 9 +- stage0/src/Lean/Compiler/LCNF/Simp/SimpM.lean | 72 +- stage0/src/Lean/Compiler/LCNF/ToLCNF.lean | 40 +- stage0/src/Lean/Compiler/LCNF/Types.lean | 4 +- stage0/src/Lean/Data/Json/FromToJson.lean | 11 + stage0/src/Lean/Data/JsonRpc.lean | 4 +- stage0/src/Lean/Data/Lsp.lean | 1 + stage0/src/Lean/Data/Lsp/Basic.lean | 202 +- stage0/src/Lean/Data/Lsp/Capabilities.lean | 48 +- stage0/src/Lean/Data/Lsp/CodeActions.lean | 177 + stage0/src/Lean/Data/Lsp/Diagnostics.lean | 32 +- stage0/src/Lean/Data/Lsp/InitShutdown.lean | 4 + stage0/src/Lean/Data/RBMap.lean | 4 +- stage0/src/Lean/Elab/AuxDef.lean | 2 +- stage0/src/Lean/Elab/Binders.lean | 4 +- stage0/src/Lean/Elab/BuiltinNotation.lean | 15 +- stage0/src/Lean/Elab/Deriving/FromToJson.lean | 19 +- stage0/src/Lean/Elab/ElabRules.lean | 2 +- stage0/src/Lean/Elab/Macro.lean | 5 +- stage0/src/Lean/Elab/MacroArgUtil.lean | 7 +- stage0/src/Lean/Elab/MacroRules.lean | 4 +- stage0/src/Lean/Elab/Quotation.lean | 5 +- stage0/src/Lean/Elab/Structure.lean | 2 +- stage0/src/Lean/Elab/Syntax.lean | 4 +- stage0/src/Lean/Elab/Tactic/Conv/Basic.lean | 33 +- stage0/src/Lean/Elab/Tactic/Conv/Congr.lean | 15 +- stage0/src/Lean/Elab/Tactic/Conv/Simp.lean | 6 +- stage0/src/Lean/Elab/Term.lean | 4 +- stage0/src/Lean/Environment.lean | 5 + stage0/src/Lean/Expr.lean | 6 +- stage0/src/Lean/Linter/UnusedVariables.lean | 1 - stage0/src/Lean/LocalContext.lean | 7 - stage0/src/Lean/Message.lean | 47 +- stage0/src/Lean/Meta/CongrTheorems.lean | 2 +- stage0/src/Lean/Meta/Tactic/Apply.lean | 2 +- stage0/src/Lean/Meta/Tactic/Replace.lean | 2 +- stage0/src/Lean/Parser/Basic.lean | 32 +- stage0/src/Lean/PrettyPrinter/Formatter.lean | 2 +- stage0/src/Lean/Server/FileSource.lean | 3 + .../Server/FileWorker/RequestHandling.lean | 2 +- stage0/src/Lean/Server/InfoUtils.lean | 6 +- stage0/src/Lean/Server/References.lean | 3 +- stage0/src/Lean/Syntax.lean | 4 +- .../Lean/Widget/InteractiveDiagnostic.lean | 2 +- stage0/src/stdlib_flags.h | 2 +- stage0/stdlib/Init/Conv.c | 7303 ++++-- stage0/stdlib/Init/Data/Format/Syntax.c | 120 +- stage0/stdlib/Init/Data/Ord.c | 66 + stage0/stdlib/Init/Data/Repr.c | 186 +- stage0/stdlib/Init/Meta.c | 5700 ++--- stage0/stdlib/Init/Notation.c | 1632 +- stage0/stdlib/Init/NotationExtra.c | 1154 +- stage0/stdlib/Init/Prelude.c | 379 +- stage0/stdlib/Init/Tactics.c | 630 +- stage0/stdlib/Lean/Compiler/LCNF.c | 6 +- stage0/stdlib/Lean/Compiler/LCNF/Basic.c | 726 +- stage0/stdlib/Lean/Compiler/LCNF/Bind.c | 848 +- stage0/stdlib/Lean/Compiler/LCNF/CSE.c | 1055 +- stage0/stdlib/Lean/Compiler/LCNF/Check.c | 1497 +- stage0/stdlib/Lean/Compiler/LCNF/CompilerM.c | 1667 +- .../stdlib/Lean/Compiler/LCNF/ConfigOptions.c | 520 + stage0/stdlib/Lean/Compiler/LCNF/ElimDead.c | 337 +- stage0/stdlib/Lean/Compiler/LCNF/InferType.c | 1501 +- stage0/stdlib/Lean/Compiler/LCNF/JoinPoints.c | 1489 +- stage0/stdlib/Lean/Compiler/LCNF/Level.c | 34 +- stage0/stdlib/Lean/Compiler/LCNF/Main.c | 636 +- .../stdlib/Lean/Compiler/LCNF/PassManager.c | 100 +- stage0/stdlib/Lean/Compiler/LCNF/Passes.c | 58 +- stage0/stdlib/Lean/Compiler/LCNF/PhaseExt.c | 391 +- .../stdlib/Lean/Compiler/LCNF/PrettyPrinter.c | 801 +- .../stdlib/Lean/Compiler/LCNF/PullFunDecls.c | 503 +- .../stdlib/Lean/Compiler/LCNF/PullLetDecls.c | 1204 +- .../stdlib/Lean/Compiler/LCNF/ReduceJpArity.c | 344 +- stage0/stdlib/Lean/Compiler/LCNF/Renaming.c | 2416 ++ stage0/stdlib/Lean/Compiler/LCNF/Simp.c | 1729 +- stage0/stdlib/Lean/Compiler/LCNF/Simp/Basic.c | 30 +- .../stdlib/Lean/Compiler/LCNF/Simp/Config.c | 27 +- .../Lean/Compiler/LCNF/Simp/ConstantFold.c | 15869 ++++++++++++ .../Lean/Compiler/LCNF/Simp/DefaultAlt.c | 76 +- .../Lean/Compiler/LCNF/Simp/FunDeclInfo.c | 136 +- .../Lean/Compiler/LCNF/Simp/InlineCandidate.c | 451 +- .../Lean/Compiler/LCNF/Simp/InlineProj.c | 274 +- .../stdlib/Lean/Compiler/LCNF/Simp/JpCases.c | 2254 +- stage0/stdlib/Lean/Compiler/LCNF/Simp/Main.c | 13049 +++------- stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpM.c | 5624 ++++- .../Lean/Compiler/LCNF/Simp/SimpValue.c | 60 +- stage0/stdlib/Lean/Compiler/LCNF/Simp/Used.c | 273 +- stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c | 393 +- stage0/stdlib/Lean/Compiler/LCNF/Specialize.c | 3593 ++- stage0/stdlib/Lean/Compiler/LCNF/Testing.c | 1611 +- stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c | 260 +- stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c | 2860 ++- stage0/stdlib/Lean/Compiler/LCNF/Types.c | 6 +- stage0/stdlib/Lean/Data/Json/FromToJson.c | 270 + stage0/stdlib/Lean/Data/Lsp.c | 6 +- stage0/stdlib/Lean/Data/Lsp/Basic.c | 10289 +++++++- stage0/stdlib/Lean/Data/Lsp/Capabilities.c | 3378 ++- stage0/stdlib/Lean/Data/Lsp/CodeActions.c | 4952 ++++ stage0/stdlib/Lean/Data/Lsp/Diagnostics.c | 1518 +- stage0/stdlib/Lean/Data/Lsp/Extra.c | 24 +- stage0/stdlib/Lean/Data/Lsp/InitShutdown.c | 114 +- stage0/stdlib/Lean/Data/Lsp/Ipc.c | 10 +- .../stdlib/Lean/Data/Lsp/LanguageFeatures.c | 112 +- stage0/stdlib/Lean/Data/Lsp/TextSync.c | 60 +- stage0/stdlib/Lean/Data/Lsp/Workspace.c | 4 +- stage0/stdlib/Lean/Elab/App.c | 15 +- stage0/stdlib/Lean/Elab/AuxDef.c | 379 +- stage0/stdlib/Lean/Elab/Binders.c | 17039 ++++++------- stage0/stdlib/Lean/Elab/BindersUtil.c | 9 +- stage0/stdlib/Lean/Elab/BuiltinCommand.c | 28 +- stage0/stdlib/Lean/Elab/BuiltinNotation.c | 3625 +-- stage0/stdlib/Lean/Elab/Declaration.c | 996 +- stage0/stdlib/Lean/Elab/DefView.c | 213 +- stage0/stdlib/Lean/Elab/Deriving/DecEq.c | 28 +- stage0/stdlib/Lean/Elab/Deriving/FromToJson.c | 3335 ++- stage0/stdlib/Lean/Elab/Deriving/TypeName.c | 633 +- stage0/stdlib/Lean/Elab/Do.c | 1403 +- stage0/stdlib/Lean/Elab/ElabRules.c | 5024 ++-- stage0/stdlib/Lean/Elab/Inductive.c | 364 +- stage0/stdlib/Lean/Elab/Macro.c | 361 +- stage0/stdlib/Lean/Elab/MacroRules.c | 2493 +- stage0/stdlib/Lean/Elab/Match.c | 405 +- stage0/stdlib/Lean/Elab/MutualDef.c | 207 +- stage0/stdlib/Lean/Elab/Notation.c | 142 +- stage0/stdlib/Lean/Elab/PatternVar.c | 322 +- .../stdlib/Lean/Elab/PreDefinition/WF/Fix.c | 15 +- stage0/stdlib/Lean/Elab/Quotation.c | 3153 +-- stage0/stdlib/Lean/Elab/StructInst.c | 3518 +-- stage0/stdlib/Lean/Elab/Structure.c | 955 +- stage0/stdlib/Lean/Elab/Syntax.c | 2296 +- .../stdlib/Lean/Elab/Tactic/BuiltinTactic.c | 222 +- stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c | 1899 +- stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c | 5242 ++-- stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c | 1041 +- stage0/stdlib/Lean/Elab/Tactic/Conv/Simp.c | 373 + stage0/stdlib/Lean/Elab/Tactic/Match.c | 949 +- stage0/stdlib/Lean/Elab/Tactic/Rewrite.c | 40 +- stage0/stdlib/Lean/Elab/Tactic/Simp.c | 36 +- stage0/stdlib/Lean/Elab/Term.c | 233 +- stage0/stdlib/Lean/Environment.c | 4 +- stage0/stdlib/Lean/Expr.c | 26 +- stage0/stdlib/Lean/Hygiene.c | 15 +- stage0/stdlib/Lean/Level.c | 15 +- stage0/stdlib/Lean/LocalContext.c | 51 +- stage0/stdlib/Lean/Meta/Basic.c | 16 +- stage0/stdlib/Lean/Meta/CongrTheorems.c | 152 +- stage0/stdlib/Lean/Meta/ExprDefEq.c | 23 +- stage0/stdlib/Lean/Meta/GetConst.c | 6 +- stage0/stdlib/Lean/Meta/Tactic/Intro.c | 4 +- .../Lean/Meta/Tactic/Simp/SimpTheorems.c | 885 +- stage0/stdlib/Lean/Meta/WHNF.c | 8 +- stage0/stdlib/Lean/Parser/Basic.c | 1060 +- stage0/stdlib/Lean/Parser/Extra.c | 549 +- .../Lean/PrettyPrinter/Delaborator/Basic.c | 53 +- .../Lean/PrettyPrinter/Delaborator/Builtins.c | 8 +- stage0/stdlib/Lean/PrettyPrinter/Formatter.c | 12 +- .../stdlib/Lean/PrettyPrinter/Parenthesizer.c | 12 +- stage0/stdlib/Lean/Server/Completion.c | 297 +- stage0/stdlib/Lean/Server/FileSource.c | 20 + stage0/stdlib/Lean/Server/FileWorker.c | 549 +- .../Lean/Server/FileWorker/RequestHandling.c | 10 +- .../Lean/Server/FileWorker/WidgetRequests.c | 4 +- stage0/stdlib/Lean/Server/References.c | 166 +- stage0/stdlib/Lean/Server/Rpc/Deriving.c | 2508 +- stage0/stdlib/Lean/Server/Utils.c | 4 +- stage0/stdlib/Lean/Server/Watchdog.c | 44 +- stage0/stdlib/Lean/Widget/Diff.c | 4 +- .../Lean/Widget/InteractiveDiagnostic.c | 19899 ++++++++-------- 188 files changed, 114130 insertions(+), 73624 deletions(-) create mode 100644 stage0/src/Lean/Compiler/LCNF/ConfigOptions.lean create mode 100644 stage0/src/Lean/Compiler/LCNF/Renaming.lean create mode 100644 stage0/src/Lean/Compiler/LCNF/Simp/ConstantFold.lean create mode 100644 stage0/src/Lean/Data/Lsp/CodeActions.lean create mode 100644 stage0/stdlib/Lean/Compiler/LCNF/ConfigOptions.c create mode 100644 stage0/stdlib/Lean/Compiler/LCNF/Renaming.c create mode 100644 stage0/stdlib/Lean/Compiler/LCNF/Simp/ConstantFold.c create mode 100644 stage0/stdlib/Lean/Data/Lsp/CodeActions.c diff --git a/stage0/src/Init/Conv.lean b/stage0/src/Init/Conv.lean index 6f0a7c943a..f9585878b3 100644 --- a/stage0/src/Init/Conv.lean +++ b/stage0/src/Init/Conv.lean @@ -36,17 +36,12 @@ syntax occsIndexed := num+ syntax occs := atomic(" (" &"occs") " := " (occsWildcard <|> occsIndexed) ")" /-- -`conv => ...` allows the user to perform targeted rewriting on a goal or hypothesis, -by focusing on particular subexpressions. - -See for more details. - -Basic forms: -* `conv => cs` will rewrite the goal with conv tactics `cs`. -* `conv at h => cs` will rewrite hypothesis `h`. -* `conv in pat => cs` will rewrite the first subexpression matching `pat` (see `pattern`). +`with_annotate_state stx t` annotates the lexical range of `stx : Syntax` with +the initial and final state of running tactic `t`. -/ -syntax (name := conv) "conv " (" at " ident)? (" in " (occs)? term)? " => " convSeq : tactic +scoped syntax (name := withAnnotateState) + "with_annotate_state " rawStx ppSpace conv : conv + /-- `skip` does nothing. -/ syntax (name := skip) "skip" : conv @@ -129,6 +124,22 @@ syntax (name := rewrite) "rewrite" (config)? rwRuleSeq : conv See the `simp` tactic for more information. -/ syntax (name := simp) "simp" (config)? (discharger)? (&" only")? (" [" (simpStar <|> simpErase <|> simpLemma),* "]")? : conv +/-- +`dsimp` is the definitional simplifier in `conv`-mode. It differs from `simp` in that it only +applies theorems that hold by reflexivity. + +Examples: + +```lean +example (a : Nat): (0 + 0) = a - a := by + conv => + lhs + dsimp + rw [← Nat.sub_self a] +``` +-/ +syntax (name := dsimp) "dsimp " (config)? (discharger)? (&"only ")? ("[" (simpErase <|> simpLemma),* "]")? : conv + /-- `simp_match` simplifies match expressions. For example, ``` match [a, b] with @@ -145,6 +156,9 @@ syntax (name := nestedTacticCore) "tactic'" " => " tacticSeq : conv /-- Focus, convert the `conv` goal `⊢ lhs` into a regular goal `⊢ lhs = rhs`, and then execute the given tactic block. -/ syntax (name := nestedTactic) "tactic" " => " tacticSeq : conv +/-- Execute the given conv block without converting regular goal into a `conv` goal -/ +syntax (name := convTactic) "conv'" " => " convSeq : tactic + /-- `{ convs }` runs the list of `convs` on the current target, and any subgoals that remain are trivially closed by `skip`. -/ syntax (name := nestedConv) convSeqBracketed : conv @@ -153,6 +167,59 @@ syntax (name := nestedConv) convSeqBracketed : conv This is pure grouping with no added effects. -/ syntax (name := paren) "(" convSeq ")" : conv +/-- `rfl` closes one conv goal "trivially", by using reflexivity +(that is, no rewriting). -/ +macro "rfl" : conv => `(tactic => rfl) + +/-- `done` succeeds iff there are no goals remaining. -/ +macro "done" : conv => `(tactic' => done) + +/-- `trace_state` prints the current goal state. -/ +macro "trace_state" : conv => `(tactic' => trace_state) + +/-- `all_goals tac` runs `tac` on each goal, concatenating the resulting goals, if any. -/ +macro (name := allGoals) tk:"all_goals " s:convSeq : conv => + `(conv| tactic' => all_goals%$tk conv' => $s) + +/-- +`any_goals tac` applies the tactic `tac` to every goal, and succeeds if at +least one application succeeds. +-/ +macro (name := anyGoals) tk:"any_goals " s:convSeq : conv => + `(conv| tactic' => any_goals%$tk conv' => $s) + +/-- +* `case tag => tac` focuses on the goal with case name `tag` and solves it using `tac`, + or else fails. +* `case tag x₁ ... xₙ => tac` additionally renames the `n` most recent hypotheses + with inaccessible names to the given names. +* `case tag₁ | tag₂ => tac` is equivalent to `(case tag₁ => tac); (case tag₂ => tac)`. +-/ +macro (name := case) tk:"case " args:sepBy1(caseArg, " | ") arr:" => " s:convSeq : conv => + `(conv| tactic' => case%$tk $args|* =>%$arr conv' => ($s); all_goals rfl) + +/-- +`case'` is similar to the `case tag => tac` tactic, but does not ensure the goal +has been solved after applying `tac`, nor admits the goal if `tac` failed. +Recall that `case` closes the goal using `sorry` when `tac` fails, and +the tactic execution is not interrupted. +-/ +macro (name := case') tk:"case' " args:sepBy1(caseArg, " | ") arr:" => " s:convSeq : conv => + `(conv| tactic' => case'%$tk $args|* =>%$arr conv' => $s) + +/-- +`next => tac` focuses on the next goal and solves it using `tac`, or else fails. +`next x₁ ... xₙ => tac` additionally renames the `n` most recent hypotheses with +inaccessible names to the given names. +-/ +macro "next " args:binderIdent* " => " tac:convSeq : conv => `(conv| case _ $args* => $tac) + +/-- +`focus tac` focuses on the main goal, suppressing all other goals, and runs `tac` on it. +Usually `· tac`, which enforces that the goal is closed by `tac`, should be preferred. +-/ +macro (name := focus) tk:"focus " s:convSeq : conv => `(conv| tactic' => focus%$tk conv' => $s) + /-- `conv => cs` runs `cs` in sequence on the target `t`, resulting in `t'`, which becomes the new target subgoal. -/ syntax (name := convConvSeq) "conv" " => " convSeq : conv @@ -160,6 +227,11 @@ syntax (name := convConvSeq) "conv" " => " convSeq : conv /-- `· conv` focuses on the main conv goal and tries to solve it using `s` -/ macro dot:("·" <|> ".") s:convSeq : conv => `({%$dot ($s) }) + +/-- `fail_if_success t` fails if the tactic `t` succeeds. -/ +macro (name := failIfSuccess) tk:"fail_if_success " s:convSeq : conv => + `(conv| tactic' => fail_if_success%$tk conv' => $s) + /-- `rw [rules]` applies the given list of rewrite rules to the target. See the `rw` tactic for more information. -/ macro "rw" c:(config)? s:rwRuleSeq : conv => `(rewrite $[$c]? $s) @@ -194,16 +266,6 @@ macro_rules | `(conv| enter [$id:ident]) => `(conv| ext $id) | `(conv| enter [$arg, $args,*]) => `(conv| (enter [$arg]; enter [$args,*])) -/-- `rfl` closes one conv goal "trivially", by using reflexivity -(that is, no rewriting). -/ -macro "rfl" : conv => `(tactic => rfl) - -/-- `done` succeeds iff there are no goals remaining. -/ -macro "done" : conv => `(tactic' => done) - -/-- `trace_state` prints the current goal state. -/ -macro "trace_state" : conv => `(tactic' => trace_state) - /-- The `apply thm` conv tactic is the same as `apply thm` the tactic. There are no restrictions on `thm`, but strange results may occur if `thm` cannot be reasonably interpreted as proving one equality from a list of others. -/ @@ -213,9 +275,30 @@ macro "apply " e:term : conv => `(tactic => apply $e) /-- `first | conv | ...` runs each `conv` until one succeeds, or else fails. -/ syntax (name := first) "first " withPosition((colGe "|" convSeq)+) : conv +/-- `try tac` runs `tac` and succeeds even if `tac` failed. -/ +macro "try " t:convSeq : conv => `(first | $t | skip) + +macro:1 x:conv tk:" <;> " y:conv:0 : conv => + `(conv| tactic' => (conv' => $x:conv) <;>%$tk (conv' => $y:conv)) + /-- `repeat convs` runs the sequence `convs` repeatedly until it fails to apply. -/ syntax "repeat" convSeq : conv macro_rules | `(conv| repeat $seq) => `(conv| first | ($seq); repeat $seq | rfl) +/-- +`conv => ...` allows the user to perform targeted rewriting on a goal or hypothesis, +by focusing on particular subexpressions. + +See for more details. + +Basic forms: +* `conv => cs` will rewrite the goal with conv tactics `cs`. +* `conv at h => cs` will rewrite hypothesis `h`. +* `conv in pat => cs` will rewrite the first subexpression matching `pat` (see `pattern`). +-/ +-- HACK: put this at the end so that references to `conv` above +-- refer to the syntax category instead of this syntax +syntax (name := conv) "conv " (" at " ident)? (" in " (occs)? term)? " => " convSeq : tactic + end Lean.Parser.Tactic.Conv diff --git a/stage0/src/Init/Data/Format/Syntax.lean b/stage0/src/Init/Data/Format/Syntax.lean index 73eb2fad57..1559212093 100644 --- a/stage0/src/Init/Data/Format/Syntax.lean +++ b/stage0/src/Init/Data/Format/Syntax.lean @@ -16,7 +16,8 @@ open Std.Format private def formatInfo (showInfo : Bool) (info : SourceInfo) (f : Format) : Format := match showInfo, info with | true, SourceInfo.original lead pos trail endPos => f!"{lead}:{pos}:{f}:{endPos}:{trail}" - | true, SourceInfo.synthetic pos endPos => f!"{pos}:{f}:{endPos}" + | true, SourceInfo.synthetic pos endPos true => f!"{pos}!:{f}:{endPos}" + | true, SourceInfo.synthetic pos endPos false => f!"{pos}:{f}:{endPos}" | _, _ => f partial def formatStxAux (maxDepth : Option Nat) (showInfo : Bool) : Nat → Syntax → Format diff --git a/stage0/src/Init/Data/Ord.lean b/stage0/src/Init/Data/Ord.lean index e5e5f4ea30..83ff190252 100644 --- a/stage0/src/Init/Data/Ord.lean +++ b/stage0/src/Init/Data/Ord.lean @@ -59,6 +59,11 @@ instance : Ord USize where instance : Ord Char where compare x y := compareOfLessAndEq x y +/-- The lexicographic order on pairs. -/ +def lexOrd [Ord α] [Ord β] : Ord (α × β) where + compare p1 p2 := match compare p1.1 p2.1 with + | .eq => compare p1.2 p2.2 + | o => o def ltOfOrd [Ord α] : LT α where lt a b := compare a b == Ordering.lt diff --git a/stage0/src/Init/Meta.lean b/stage0/src/Init/Meta.lean index 2b7ebc3b54..83266e9fdc 100644 --- a/stage0/src/Init/Meta.lean +++ b/stage0/src/Init/Meta.lean @@ -503,23 +503,23 @@ partial def expandMacros (stx : Syntax) (p : SyntaxNodeKind → Bool := fun k => /-- Create an identifier copying the position from `src`. To refer to a specific constant, use `mkCIdentFrom` instead. -/ -def mkIdentFrom (src : Syntax) (val : Name) : Ident := - ⟨Syntax.ident (SourceInfo.fromRef src) (toString val).toSubstring val []⟩ +def mkIdentFrom (src : Syntax) (val : Name) (canonical := false) : Ident := + ⟨Syntax.ident (SourceInfo.fromRef src canonical) (toString val).toSubstring val []⟩ -def mkIdentFromRef [Monad m] [MonadRef m] (val : Name) : m Ident := do - return mkIdentFrom (← getRef) val +def mkIdentFromRef [Monad m] [MonadRef m] (val : Name) (canonical := false) : m Ident := do + return mkIdentFrom (← getRef) val canonical /-- Create an identifier referring to a constant `c` copying the position from `src`. This variant of `mkIdentFrom` makes sure that the identifier cannot accidentally be captured. -/ -def mkCIdentFrom (src : Syntax) (c : Name) : Ident := +def mkCIdentFrom (src : Syntax) (c : Name) (canonical := false) : Ident := -- Remark: We use the reserved macro scope to make sure there are no accidental collision with our frontend let id := addMacroScope `_internal c reservedMacroScope - ⟨Syntax.ident (SourceInfo.fromRef src) (toString id).toSubstring id [.decl c []]⟩ + ⟨Syntax.ident (SourceInfo.fromRef src canonical) (toString id).toSubstring id [.decl c []]⟩ -def mkCIdentFromRef [Monad m] [MonadRef m] (c : Name) : m Syntax := do - return mkCIdentFrom (← getRef) c +def mkCIdentFromRef [Monad m] [MonadRef m] (c : Name) (canonical := false) : m Syntax := do + return mkCIdentFrom (← getRef) c canonical def mkCIdent (c : Name) : Ident := mkCIdentFrom Syntax.missing c @@ -550,8 +550,8 @@ def mkOptionalNode (arg : Option Syntax) : Syntax := | some arg => mkNullNode #[arg] | none => mkNullNode #[] -def mkHole (ref : Syntax) : Syntax := - mkNode `Lean.Parser.Term.hole #[mkAtomFrom ref "_"] +def mkHole (ref : Syntax) (canonical := false) : Syntax := + mkNode `Lean.Parser.Term.hole #[mkAtomFrom ref "_" canonical] namespace Syntax @@ -1289,7 +1289,7 @@ macro (name := declareSimpLikeTactic) doc?:(docComment)? "declare_simp_like_tact | `(config| (config := $$c)) => `(config| (config := $updateCfg $$c)) | _ => `(config| (config := $updateCfg {})) let s := s.setKind $kind - let s := s.setArg 0 (mkAtomFrom s[0] $tkn) + let s := s.setArg 0 (mkAtomFrom s[0] $tkn (canonical := true)) let r := s.setArg 1 (mkNullNode #[c]) return r) diff --git a/stage0/src/Init/Notation.lean b/stage0/src/Init/Notation.lean index 40a96e67cf..a167f0f66b 100644 --- a/stage0/src/Init/Notation.lean +++ b/stage0/src/Init/Notation.lean @@ -332,11 +332,22 @@ macro_rules | `($x <|> $y) => `(binop_lazy% HOrElse.hOrElse $x $y) macro_rules | `($x >> $y) => `(binop_lazy% HAndThen.hAndThen $x $y) namespace Lean + /-- `binderIdent` matches an `ident` or a `_`. It is used for identifiers in binding position, where `_` means that the value should be left unnamed and inaccessible. -/ syntax binderIdent := ident <|> hole + +namespace Parser.Tactic + +/-- +A case tag argument has the form `tag x₁ ... xₙ`; it refers to tag `tag` and renames +the last `n` hypotheses to `x₁ ... xₙ`. +-/ +syntax caseArg := binderIdent binderIdent* + +end Parser.Tactic end Lean @[inheritDoc dite] syntax (name := termDepIfThenElse) diff --git a/stage0/src/Init/Prelude.lean b/stage0/src/Init/Prelude.lean index 64f7882dbc..aa1b8d508e 100644 --- a/stage0/src/Init/Prelude.lean +++ b/stage0/src/Init/Prelude.lean @@ -3371,8 +3371,26 @@ inductive SourceInfo where Synthesized syntax (e.g. from a quotation) annotated with a span from the original source. In the delaborator, we "misuse" this constructor to store synthetic positions identifying subterms. + + The `canonical` flag on synthetic syntax is enabled for syntax that is not literally part + of the original input syntax but should be treated "as if" the user really wrote it + for the purpose of hovers and error messages. This is usually used on identifiers, + to connect the binding site to the user's original syntax even if the name of the identifier + changes during expansion, as well as on tokens where we will attach targeted messages. + + The syntax `token%$stx` in a syntax quotation will annotate the token `token` with the span + from `stx` and also mark it as canonical. + + As a rough guide, a macro expansion should only use a given piece of input syntax in + a single canonical token, although this is sometimes violated when the same identifier + is used to declare two binders, as in the macro expansion for dependent if: + ``` + `(if $h : $cond then $t else $e) ~> + `(dite $cond (fun $h => $t) (fun $h => $t)) + ``` + In these cases if the user hovers over `h` they will see information about both binding sites. -/ - | synthetic (pos : String.Pos) (endPos : String.Pos) + | synthetic (pos : String.Pos) (endPos : String.Pos) (canonical := false) /-- Synthesized token without position information. -/ | protected none @@ -3384,9 +3402,10 @@ namespace SourceInfo Gets the position information from a `SourceInfo`, if available. If `originalOnly` is true, then `.synthetic` syntax will also return `none`. -/ -def getPos? (info : SourceInfo) (originalOnly := false) : Option String.Pos := - match info, originalOnly with - | original (pos := pos) .., _ => some pos +def getPos? (info : SourceInfo) (canonicalOnly := false) : Option String.Pos := + match info, canonicalOnly with + | original (pos := pos) .., _ + | synthetic (pos := pos) (canonical := true) .., _ | synthetic (pos := pos) .., false => some pos | _, _ => none @@ -3652,30 +3671,33 @@ partial def getHeadInfo (stx : Syntax) : SourceInfo := /-- Get the starting position of the syntax, if possible. -If `originalOnly` is true, `synthetic` nodes are treated as not carrying +If `canonicalOnly` is true, non-canonical `synthetic` nodes are treated as not carrying position information. -/ -def getPos? (stx : Syntax) (originalOnly := false) : Option String.Pos := - stx.getHeadInfo.getPos? originalOnly +def getPos? (stx : Syntax) (canonicalOnly := false) : Option String.Pos := + stx.getHeadInfo.getPos? canonicalOnly /-- Get the ending position of the syntax, if possible. -If `originalOnly` is true, `synthetic` nodes are treated as not carrying +If `canonicalOnly` is true, non-canonical `synthetic` nodes are treated as not carrying position information. -/ -partial def getTailPos? (stx : Syntax) (originalOnly := false) : Option String.Pos := - match stx, originalOnly with - | atom (SourceInfo.original (endPos := pos) ..) .., _ => some pos - | atom (SourceInfo.synthetic (endPos := pos) ..) _, false => some pos - | ident (SourceInfo.original (endPos := pos) ..) .., _ => some pos - | ident (SourceInfo.synthetic (endPos := pos) ..) .., false => some pos - | node (SourceInfo.original (endPos := pos) ..) .., _ => some pos - | node (SourceInfo.synthetic (endPos := pos) ..) .., false => some pos - | node _ _ args, _ => +partial def getTailPos? (stx : Syntax) (canonicalOnly := false) : Option String.Pos := + match stx, canonicalOnly with + | atom (SourceInfo.original (endPos := pos) ..) .., _ + | atom (SourceInfo.synthetic (endPos := pos) (canonical := true) ..) _, _ + | atom (SourceInfo.synthetic (endPos := pos) ..) _, false + | ident (SourceInfo.original (endPos := pos) ..) .., _ + | ident (SourceInfo.synthetic (endPos := pos) (canonical := true) ..) .., _ + | ident (SourceInfo.synthetic (endPos := pos) ..) .., false + | node (SourceInfo.original (endPos := pos) ..) .., _ + | node (SourceInfo.synthetic (endPos := pos) (canonical := true) ..) .., _ + | node (SourceInfo.synthetic (endPos := pos) ..) .., false => some pos + | node _ _ args, _ => let rec loop (i : Nat) : Option String.Pos := match decide (LT.lt i args.size) with - | true => match getTailPos? (args.get! ((args.size.sub i).sub 1)) originalOnly with + | true => match getTailPos? (args.get! ((args.size.sub i).sub 1)) canonicalOnly with | some info => some info | none => loop (hAdd i 1) | false => none @@ -3717,18 +3739,25 @@ unsafe def TSyntaxArray.mkImpl : Array Syntax → TSyntaxArray ks := unsafeCast opaque TSyntaxArray.mk (as : Array Syntax) : TSyntaxArray ks := Array.empty /-- Constructs a synthetic `SourceInfo` using a `ref : Syntax` for the span. -/ -def SourceInfo.fromRef (ref : Syntax) : SourceInfo := - match ref.getPos?, ref.getTailPos? with - | some pos, some tailPos => SourceInfo.synthetic pos tailPos - | _, _ => SourceInfo.none +def SourceInfo.fromRef (ref : Syntax) (canonical := false) : SourceInfo := + let noncanonical ref := + match ref.getPos?, ref.getTailPos? with + | some pos, some tailPos => .synthetic pos tailPos + | _, _ => .none + match canonical with + | true => + match ref.getPos? true, ref.getTailPos? true with + | some pos, some tailPos => .synthetic pos tailPos true + | _, _ => noncanonical ref + | false => noncanonical ref /-- Constructs a synthetic `atom` with no source info. -/ def mkAtom (val : String) : Syntax := Syntax.atom SourceInfo.none val /-- Constructs a synthetic `atom` with source info coming from `src`. -/ -def mkAtomFrom (src : Syntax) (val : String) : Syntax := - Syntax.atom (SourceInfo.fromRef src) val +def mkAtomFrom (src : Syntax) (val : String) (canonical := false) : Syntax := + Syntax.atom (SourceInfo.fromRef src canonical) val /-! # Parser descriptions -/ diff --git a/stage0/src/Init/Tactics.lean b/stage0/src/Init/Tactics.lean index 17523a1b68..2da5f26012 100644 --- a/stage0/src/Init/Tactics.lean +++ b/stage0/src/Init/Tactics.lean @@ -7,9 +7,7 @@ prelude import Init.Notation set_option linter.missingDocs true -- keep it documented -namespace Lean - -namespace Parser.Tactic +namespace Lean.Parser.Tactic /-- `with_annotate_state stx t` annotates the lexical range of `stx : Syntax` with the initial and final state of running tactic `t`. @@ -142,12 +140,6 @@ the first matching constructor, or else fails. -/ syntax (name := constructor) "constructor" : tactic -/-- -A case tag argument has the form `tag x₁ ... xₙ`; it refers to tag `tag` and renames -the last `n` hypotheses to `x₁ ... xₙ`. --/ -syntax caseArg := binderIdent binderIdent* - /-- * `case tag => tac` focuses on the goal with case name `tag` and solves it using `tac`, or else fails. diff --git a/stage0/src/Lean/Compiler/LCNF.lean b/stage0/src/Lean/Compiler/LCNF.lean index 061410ce0e..b6f3d57565 100644 --- a/stage0/src/Lean/Compiler/LCNF.lean +++ b/stage0/src/Lean/Compiler/LCNF.lean @@ -33,3 +33,4 @@ import Lean.Compiler.LCNF.ToExpr import Lean.Compiler.LCNF.ToLCNF import Lean.Compiler.LCNF.Types import Lean.Compiler.LCNF.Util +import Lean.Compiler.LCNF.ConfigOptions diff --git a/stage0/src/Lean/Compiler/LCNF/Basic.lean b/stage0/src/Lean/Compiler/LCNF/Basic.lean index cebd7193fc..5a80b2ab28 100644 --- a/stage0/src/Lean/Compiler/LCNF/Basic.lean +++ b/stage0/src/Lean/Compiler/LCNF/Basic.lean @@ -355,6 +355,16 @@ structure Decl where through compiler passes. -/ value : Code + /-- + We set this flag to true during LCNF conversion. When we receive + a block of functions to be compiled, we set this flag to `true` + if there is an application to the function in the block containing + it. This is an approximation, but it should be good enough because + in the frontend, we invoke the compiler with blocks of strongly connected + components only. + We use this information to control inlining. + -/ + recursive : Bool := false deriving Inhabited, BEq def Decl.size (decl : Decl) : Nat := @@ -460,4 +470,34 @@ end abbrev collectUsedAtExpr (s : FVarIdSet) (e : Expr) : FVarIdSet := collectExpr e s +/-- +Traverse the given block of potentially mutually recursive functions +and mark a declaration `f` as recursive if there is an application +`f ...` in the block. +This is an overapproximation, and relies on the fact that our frontend +computes strongly connected components. +See comment at `recursive` field. +-/ +partial def markRecDecls (decls : Array Decl) : Array Decl := + let (_, isRec) := go |>.run {} + decls.map fun decl => + if isRec.contains decl.name then + { decl with recursive := true } + else + decl +where + visit (code : Code) : StateM NameSet Unit := do + match code with + | .jp decl k | .fun decl k => visit decl.value; visit k + | .cases c => c.alts.forM fun alt => visit alt.getCode + | .unreach .. | .jmp .. | .return .. => return () + | .let decl k => + if let .const declName _ := decl.value.getAppFn then + if decls.any (·.name == declName) then + modify fun s => s.insert declName + visit k + + go : StateM NameSet Unit := + decls.forM fun decl => visit decl.value + end Lean.Compiler.LCNF diff --git a/stage0/src/Lean/Compiler/LCNF/CompilerM.lean b/stage0/src/Lean/Compiler/LCNF/CompilerM.lean index 594ce9631e..64f9ff4233 100644 --- a/stage0/src/Lean/Compiler/LCNF/CompilerM.lean +++ b/stage0/src/Lean/Compiler/LCNF/CompilerM.lean @@ -6,6 +6,7 @@ Authors: Leonardo de Moura import Lean.CoreM import Lean.Compiler.LCNF.Basic import Lean.Compiler.LCNF.LCtx +import Lean.Compiler.LCNF.ConfigOptions namespace Lean.Compiler.LCNF /-- @@ -36,6 +37,7 @@ structure CompilerM.State where structure CompilerM.Context where phase : Phase + config : ConfigOptions deriving Inhabited abbrev CompilerM := ReaderT CompilerM.Context $ StateRefT CompilerM.State CoreM @@ -478,7 +480,10 @@ def cleanup (decl : Array Decl) : CompilerM (Array Decl) := do modify fun s => { s with nextIdx := 1 } decl.internalize -def CompilerM.run (x : CompilerM α) (s : State := {}) (phase : Phase := .base) : CoreM α := - x { phase } |>.run' s +def getConfig : CompilerM ConfigOptions := + return (← read).config + +def CompilerM.run (x : CompilerM α) (s : State := {}) (phase : Phase := .base) : CoreM α := do + x { phase, config := toConfigOptions (← getOptions) } |>.run' s end Lean.Compiler.LCNF diff --git a/stage0/src/Lean/Compiler/LCNF/ConfigOptions.lean b/stage0/src/Lean/Compiler/LCNF/ConfigOptions.lean new file mode 100644 index 0000000000..a9bfc7c42c --- /dev/null +++ b/stage0/src/Lean/Compiler/LCNF/ConfigOptions.lean @@ -0,0 +1,55 @@ +/- +Copyright (c) 2022 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Data.Options + +namespace Lean.Compiler.LCNF + +/-- +User controlled configuration options for the code generator. +-/ +structure ConfigOptions where + /-- + Any function declaration or join point with size `≤ smallThresold` is inlined + even if there are multiple occurrences. + -/ + smallThreshold : Nat := 1 + /-- + Maximum number of times a recursive definition tagged with `[inline]` can be recursively inlined before generating an + error during compilation. + -/ + maxRecInline : Nat := 1 + /-- + Maximum number of times a recursive definition tagged with `[inlineIfReduce]` can be recursively inlined + before generating an error during compilation. + -/ + maxRecInlineIfReduce : Nat := 16 + deriving Inhabited + +register_builtin_option compiler.small : Nat := { + defValue := 1 + group := "compiler" + descr := "(compiler) function declarations with size `≤ small` is inlined even if there are multiple occurrences." +} + +register_builtin_option compiler.maxRecInline : Nat := { + defValue := 1 + group := "compiler" + descr := "(compiler) maximum number of times a recursive definition tagged with `[inline]` can be recursively inlined before generating an error during compilation." +} + +register_builtin_option compiler.maxRecInlineIfReduce : Nat := { + defValue := 16 + group := "compiler" + descr := "(compiler) maximum number of times a recursive definition tagged with `[inlineIfReduce]` can be recursively inlined before generating an error during compilation." +} + +def toConfigOptions (opts : Options) : ConfigOptions := { + smallThreshold := compiler.small.get opts + maxRecInline := compiler.maxRecInline.get opts + maxRecInlineIfReduce := compiler.maxRecInlineIfReduce.get opts +} + +end Lean.Compiler.LCNF \ No newline at end of file diff --git a/stage0/src/Lean/Compiler/LCNF/InferType.lean b/stage0/src/Lean/Compiler/LCNF/InferType.lean index ffaccef1ea..010999b8c5 100644 --- a/stage0/src/Lean/Compiler/LCNF/InferType.lean +++ b/stage0/src/Lean/Compiler/LCNF/InferType.lean @@ -104,9 +104,9 @@ in fact exhaustive due to LCNF constraints: type inside structure becomes Any, value inside structure becomes Erased. -/ partial def compatibleTypes (a b : Expr) : Bool := - if a.getAppFn.isAnyType || b.getAppFn.isAnyType then + if a.isAnyType || b.isAnyType then true - else if a.getAppFn.isErased || b.getAppFn.isErased then + else if a.isErased || b.isErased then true else let a' := a.headBeta diff --git a/stage0/src/Lean/Compiler/LCNF/Main.lean b/stage0/src/Lean/Compiler/LCNF/Main.lean index aeee6d6f3b..8a8171e93b 100644 --- a/stage0/src/Lean/Compiler/LCNF/Main.lean +++ b/stage0/src/Lean/Compiler/LCNF/Main.lean @@ -68,6 +68,7 @@ def run (declNames : Array Name) : CompilerM (Array Decl) := withAtLeastMaxRecDe let declNames ← declNames.filterM (shouldGenerateCode ·) if declNames.isEmpty then return #[] let mut decls ← declNames.mapM toDecl + decls := markRecDecls decls let manager ← getPassManager for pass in manager.passes do trace[Compiler] s!"Running pass: {pass.name}" diff --git a/stage0/src/Lean/Compiler/LCNF/Renaming.lean b/stage0/src/Lean/Compiler/LCNF/Renaming.lean new file mode 100644 index 0000000000..a72181413d --- /dev/null +++ b/stage0/src/Lean/Compiler/LCNF/Renaming.lean @@ -0,0 +1,60 @@ +/- +Copyright (c) 2022 Microsoft Corporation. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Leonardo de Moura +-/ +import Lean.Compiler.LCNF.CompilerM + +namespace Lean.Compiler.LCNF +/-- +A mapping from free variable id to binder name. +-/ +abbrev Renaming := FVarIdMap Name + +def Param.applyRenaming (param : Param) (r : Renaming) : CompilerM Param := do + if let some binderName := r.find? param.fvarId then + let param := { param with binderName } + modifyLCtx fun lctx => lctx.addParam param + return param + else + return param + +def LetDecl.applyRenaming (decl : LetDecl) (r : Renaming) : CompilerM LetDecl := do + if let some binderName := r.find? decl.fvarId then + let decl := { decl with binderName } + modifyLCtx fun lctx => lctx.addLetDecl decl + return decl + else + return decl + +mutual +partial def FunDeclCore.applyRenaming (decl : FunDecl) (r : Renaming) : CompilerM FunDecl := do + if let some binderName := r.find? decl.fvarId then + let decl := { decl with binderName } + modifyLCtx fun lctx => lctx.addFunDecl decl + decl.updateValue (← decl.value.applyRenaming r) + else + decl.updateValue (← decl.value.applyRenaming r) + +partial def Code.applyRenaming (code : Code) (r : Renaming) : CompilerM Code := do + match code with + | .let decl k => return code.updateLet! (← decl.applyRenaming r) (← k.applyRenaming r) + | .fun decl k | .jp decl k => return code.updateFun! (← decl.applyRenaming r) (← k.applyRenaming r) + | .cases c => + let alts ← c.alts.mapMonoM fun alt => + match alt with + | .default k => return alt.updateCode (← k.applyRenaming r) + | .alt _ ps k => return alt.updateAlt! (← ps.mapMonoM (·.applyRenaming r)) (← k.applyRenaming r) + return code.updateAlts! alts + | .jmp .. | .unreach .. | .return .. => return code +end + +def Decl.applyRenaming (decl : Decl) (r : Renaming) : CompilerM Decl := do + if r.isEmpty then + return decl + else + let params ← decl.params.mapMonoM (·.applyRenaming r) + let value ← decl.value.applyRenaming r + return { decl with params, value } + +end Lean.Compiler.LCNF \ No newline at end of file diff --git a/stage0/src/Lean/Compiler/LCNF/Simp.lean b/stage0/src/Lean/Compiler/LCNF/Simp.lean index 536bdaa113..8450c03ea5 100644 --- a/stage0/src/Lean/Compiler/LCNF/Simp.lean +++ b/stage0/src/Lean/Compiler/LCNF/Simp.lean @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.LCNF.ReduceJpArity +import Lean.Compiler.LCNF.Renaming import Lean.Compiler.LCNF.Simp.Basic import Lean.Compiler.LCNF.Simp.FunDeclInfo import Lean.Compiler.LCNF.Simp.JpCases @@ -24,10 +25,11 @@ def Decl.simp? (decl : Decl) : SimpM (Option Decl) := do trace[Compiler.simp.inline.info] "{decl.name}:{Format.nest 2 (← (← get).funDeclInfoMap.format)}" traceM `Compiler.simp.step do ppDecl decl let value ← simp decl.value - traceM `Compiler.simp.step.new do return m!"{decl.name} :=\n{← ppCode value}" let s ← get + let value ← value.applyRenaming s.binderRenaming + traceM `Compiler.simp.step.new do return m!"{decl.name} :=\n{← ppCode value}" trace[Compiler.simp.stat] "{decl.name}, size: {value.size}, # visited: {s.visited}, # inline: {s.inline}, # inline local: {s.inlineLocal}" - if let some value ← simpJpCases? value (← read).config.smallThreshold then + if let some value ← simpJpCases? value then let decl := { decl with value } decl.reduceJpArity else if (← get).simplified then diff --git a/stage0/src/Lean/Compiler/LCNF/Simp/Config.lean b/stage0/src/Lean/Compiler/LCNF/Simp/Config.lean index c732d98c55..dea2346528 100644 --- a/stage0/src/Lean/Compiler/LCNF/Simp/Config.lean +++ b/stage0/src/Lean/Compiler/LCNF/Simp/Config.lean @@ -6,14 +6,11 @@ Authors: Leonardo de Moura namespace Lean.Compiler.LCNF namespace Simp +/-- +Configuration options for `Simp` that are not controlled using `set_option`. +Recall that we have multiple `Simp` passes and they use different configurations. +-/ structure Config where - /-- - Any local function declaration or join point with size `≤ smallThresold` is inlined - even if there are multiple occurrences. - We currently don't do the same for global declarations because we are not saving - the stage1 compilation result in .olean files yet. - -/ - smallThreshold : Nat := 1 /-- If `etaPoly` is true, we eta expand any global function application when the function takes local instances. The idea is that we do not generate code diff --git a/stage0/src/Lean/Compiler/LCNF/Simp/ConstantFold.lean b/stage0/src/Lean/Compiler/LCNF/Simp/ConstantFold.lean new file mode 100644 index 0000000000..a0a2d4f8e2 --- /dev/null +++ b/stage0/src/Lean/Compiler/LCNF/Simp/ConstantFold.lean @@ -0,0 +1,415 @@ +/- +Copyright (c) 2022 Henrik Böving. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. +Authors: Henrik Böving +-/ +import Lean.Compiler.LCNF.CompilerM +import Lean.Compiler.LCNF.InferType +import Lean.Compiler.LCNF.PassManager + + +namespace Lean.Compiler.LCNF.Simp +namespace ConstantFold + +/-- +A constant folding monad, the additional state stores auxiliary declarations +required to build the new constant. +-/ +abbrev FolderM := StateRefT (Array CodeDecl) CompilerM + +/-- +A constant folder for a specific function, takes all the arguments of a +certain function and produces a new `Expr` + auxiliary declarations in +the `FolderM` monad on success. If the folding fails it returns `none`. +-/ +abbrev Folder := Array Expr → FolderM (Option Expr) + +/-- +A typeclass for detecting and producing literals of arbitrary types +inside of LCNF. +-/ +class Literal (α : Type) where + /-- + Attempt to turn the provied `Expr` into a value of type `α` if + it is whatever concept of a literal `α` has. Note that this function + does assume that the provided `Expr` does indeed have type `α`. + -/ + getLit : Expr → CompilerM (Option α) + /-- + Turn a value of type `α` into a series of auxiliary `LetDecl`s + a + final `Expr` putting them all together into a literal of type `α`, + where again the idea of what a literal is depends on `α`. + -/ + mkLit : α → FolderM Expr + +export Literal (getLit mkLit) + +/-- +A wrapper around `LCNF.mkAuxLetDecl` that will automaticaly store the +`LetDecl` in the state of `FolderM`. +-/ +def mkAuxLetDecl (e : Expr) (prefixName := `_x) : FolderM FVarId := do + let decl ← LCNF.mkAuxLetDecl e prefixName + modify fun s => s.push <| .let decl + return decl.fvarId + +section Literals + +/-- +A wrapper around `mkAuxLetDecl` that also calls `mkLit`. +-/ +def mkAuxLit [Literal α] (x : α) (prefixName := `_x) : FolderM FVarId := do + let lit ← mkLit x + mkAuxLetDecl lit prefixName + +partial def getNatLit (e : Expr) : CompilerM (Option Nat) := do + match e with + | .lit (.natVal n) .. => return n + | .fvar fvarId .. => + if let some decl ← findLetDecl? fvarId then + getNatLit decl.value + else + return none + | _ => return none + +def mkNatLit (n : Nat) : FolderM Expr := + return .lit (.natVal n) + +instance : Literal Nat where + getLit := getNatLit + mkLit := mkNatLit + +partial def getStringLit (e : Expr) : CompilerM (Option String) := do + match e with + | .lit (.strVal n) .. => return n + | .fvar fvarId .. => + let some decl ← findLetDecl? fvarId | return none + getStringLit decl.value + | _ => return none + +def mkStringLit (n : String) : FolderM Expr := + return .lit (.strVal n) + +instance : Literal String where + getLit := getStringLit + mkLit := mkStringLit + +private partial def getLitAux [Inhabited α] (e : Expr) (ofNat : Nat → α) (ofNatName : Name) (toNat : α → Nat) : CompilerM (Option α) := do + match e with + | .fvar fvarId .. => + if let some decl ←findLetDecl? fvarId then + getLitAux decl.value ofNat ofNatName toNat + else + return none + | .app .. => + match e.getAppFn, e.getAppArgs with + | .const name .., #[.fvar fvarId] => + if name == ofNatName then + if let some natLit ← getLit (.fvar fvarId) then + return ofNat natLit + return none + | _, _ => return none + | _ => return none + +def mkNatWrapperInstance [Inhabited α] (ofNat : Nat → α) (ofNatName : Name) (toNat : α → Nat) : Literal α where + getLit := (getLitAux · ofNat ofNatName toNat) + mkLit x := do + let helperId ← mkAuxLit <| toNat x + return .app (mkConst ofNatName) (.fvar helperId) + +instance : Literal UInt8 := mkNatWrapperInstance UInt8.ofNat ``UInt8.ofNat UInt8.toNat +instance : Literal UInt16 := mkNatWrapperInstance UInt16.ofNat ``UInt16.ofNat UInt16.toNat +instance : Literal UInt32 := mkNatWrapperInstance UInt32.ofNat ``UInt32.ofNat UInt32.toNat +instance : Literal UInt64 := mkNatWrapperInstance UInt64.ofNat ``UInt64.ofNat UInt64.toNat +instance : Literal Char := mkNatWrapperInstance Char.ofNat ``Char.ofNat Char.toNat + +end Literals + +/-- +Turns an expression chain of the form +``` +let _x.1 := @List.nil _ +let _x.2 := @List.cons _ a _x.1 +let _x.3 := @List.cons _ b _x.2 +let _x.4 := @List.cons _ c _x.3 +let _x.5 := @List.cons _ d _x.4 +let _x.6 := @List.cons _ e _x.5 +``` +into: `[a, b, c, d ,e]` + The type contained in the list +-/ +partial def getPseudoListLiteral (e : Expr) : CompilerM (Option (List FVarId × Expr × Level)) := do + go e [] +where + go (e : Expr) (fvarIds : List FVarId) : CompilerM (Option (List FVarId × Expr × Level)) := do + match e with + | .app .. => + if some ``List.nil == e.getAppFn.constName? then + return some (fvarIds.reverse, e.getAppArgs[0]!, e.getAppFn.constLevels![0]!) + else if some ``List.cons == e.getAppFn.constName? then + let args := e.getAppArgs + go args[2]! (args[1]!.fvarId! :: fvarIds) + else + return none + | .fvar fvarId => + if let some decl ← findLetDecl? fvarId then + go decl.value fvarIds + else + return none + | _ => + return none + +/-- +Turn an `#[a, b, c]` into: +``` +let _x.12 := 3 +let _x.8 := @Array.mkEmpty _ _x.12 +let _x.22 := @Array.push _ _x.8 x +let _x.24 := @Array.push _ _x.22 y +let _x.26 := @Array.push _ _x.24 z +_x.26 +``` +-/ +def mkPseudoArrayLiteral (elements : Array FVarId) (typ : Expr) (typLevel : Level) : FolderM Expr := do + let sizeLit ← mkAuxLit elements.size + let mut literal ← mkAuxLetDecl <| mkApp2 (mkConst ``Array.mkEmpty [typLevel]) typ (.fvar sizeLit) + for element in elements do + literal ← mkAuxLetDecl <| mkApp3 (mkConst ``Array.push [typLevel]) typ (.fvar literal) (.fvar element) + return .fvar literal + +/-- +Evaluate array literals at compile time, that is turn: +``` +let _x.1 := @List.nil _ +let _x.2 := @List.cons _ z _x.1 +let _x.3 := @List.cons _ y _x.2 +let _x.4 := @List.cons _ x _x.3 +let _x.5 := @List.toArray _ _x.4 +``` +To its array form: +``` +let _x.12 := 3 +let _x.8 := @Array.mkEmpty _ _x.12 +let _x.22 := @Array.push _ _x.8 x +let _x.24 := @Array.push _ _x.22 y +let _x.26 := @Array.push _ _x.24 z +``` +-/ +def foldArrayLiteral : Folder := fun exprs => do + if h:exprs.size = 2 then + have h1 : 1 < Array.size exprs := by simp_all + if let some (list, typ, level) ← getPseudoListLiteral exprs[1] then + let arr := Array.mk list + let lit ← mkPseudoArrayLiteral arr typ level + return some lit + return none + +/-- +Turn a unary function such as `Nat.succ` into a constant folder. +-/ +def Folder.mkUnary [Literal α] [Literal β] (folder : α → β) : Folder := fun exprs => do + if h:exprs.size = 1 then + have h1 : 0 < Array.size exprs := by simp_all + if let some arg1 ← getLit exprs[0] then + let res := folder arg1 + return (←mkLit res) + return none + +/-- +Turn a binary function such as `Nat.add` into a constant folder. +-/ +def Folder.mkBinary [Literal α] [Literal β] [Literal γ] (folder : α → β → γ) : Folder := fun exprs => do + if h:exprs.size = 2 then + have h1 : 0 < Array.size exprs := by simp_all + have h2 : 1 < Array.size exprs := by simp_all + if let some arg1 ← getLit exprs[0] then + if let some arg2 ← getLit exprs[1] then + let res := folder arg1 arg2 + return (←mkLit res) + return none + +/-- +Provide a folder for an operation with a left neutral element. +-/ +def Folder.leftNeutral [Literal α] [BEq α] (neutral : α) : Folder := fun exprs => do + if h:exprs.size = 2 then + have h1 : 0 < Array.size exprs := by simp_all + have h2 : 1 < Array.size exprs := by simp_all + if let some arg1 ← getLit exprs[0] then + if arg1 == neutral then + return exprs[1] + return none + +/-- +Provide a folder for an operation with a right neutral element. +-/ +def Folder.rightNeutral [Literal α] [BEq α] (neutral : α) : Folder := fun exprs => do + if h:exprs.size = 2 then + have h1 : 0 < Array.size exprs := by simp_all + have h2 : 1 < Array.size exprs := by simp_all + if let some arg2 ← getLit exprs[1] then + if arg2 == neutral then + return exprs[0] + return none + +/-- +Provide a folder for an operation with a left annihilator. +-/ +def Folder.leftAnnihilator [Literal α] [BEq α] (annihilator : α) (zero : α) : Folder := fun exprs => do + if h:exprs.size = 2 then + have h1 : 0 < Array.size exprs := by simp_all + if let some arg1 ← getLit exprs[0] then + if arg1 == annihilator then + return (←mkLit zero) + return none + +/-- +Provide a folder for an operation with a right annihilator. +-/ +def Folder.rightAnnihilator [Literal α] [BEq α] (annihilator : α) (zero : α) : Folder := fun exprs => do + if h:exprs.size = 2 then + have h1 : 1 < Array.size exprs := by simp_all + if let some arg2 ← getLit exprs[1] then + if arg2 == annihilator then + return (←mkLit zero) + return none + +/-- +Pick the first folder out of `folders` that succeeds. +-/ +def Folder.first (folders : Array Folder) : Folder := fun exprs => do + let backup ← get + for folder in folders do + if let some res ← folder exprs then + return res + else + set backup + return none + +/-- +Provide a folder for an operation that has the same left and right neutral element. +-/ +def Folder.leftRightNeutral [Literal α] [BEq α] (neutral : α) : Folder := + Folder.first #[Folder.leftNeutral neutral, Folder.rightNeutral neutral] + +/-- +Provide a folder for an operation that has the same left and right annihilator. +-/ +def Folder.leftRightAnnihilator [Literal α] [BEq α] (annihilator : α) (zero : α) : Folder := + Folder.first #[Folder.leftAnnihilator annihilator zero, Folder.rightAnnihilator annihilator zero] + +/-- +Literal folders for higher order datastructures. +-/ +def higherOrderLiteralFolders : List (Name × Folder) := [ + (``List.toArray, foldArrayLiteral) +] + +/-- +All arithmetic folders. +-/ +def arithmeticFolders : List (Name × Folder) := [ + (``Nat.succ, Folder.mkUnary Nat.succ), + (``Nat.add, Folder.first #[Folder.mkBinary Nat.add, Folder.leftRightNeutral 0]), + (``UInt8.add, Folder.first #[Folder.mkBinary UInt8.add, Folder.leftRightNeutral (0 : UInt8)]), + (``UInt16.add, Folder.first #[Folder.mkBinary UInt16.add, Folder.leftRightNeutral (0 : UInt16)]), + (``UInt32.add, Folder.first #[Folder.mkBinary UInt32.add, Folder.leftRightNeutral (0 : UInt32)]), + (``UInt64.add, Folder.first #[Folder.mkBinary UInt64.add, Folder.leftRightNeutral (0 : UInt64)]), + (``Nat.sub, Folder.first #[Folder.mkBinary Nat.sub, Folder.leftRightNeutral 0]), + (``UInt8.sub, Folder.first #[Folder.mkBinary UInt8.sub, Folder.leftRightNeutral (0 : UInt8)]), + (``UInt16.sub, Folder.first #[Folder.mkBinary UInt16.sub, Folder.leftRightNeutral (0 : UInt16)]), + (``UInt32.sub, Folder.first #[Folder.mkBinary UInt32.sub, Folder.leftRightNeutral (0 : UInt32)]), + (``UInt64.sub, Folder.first #[Folder.mkBinary UInt64.sub, Folder.leftRightNeutral (0 : UInt64)]), + (``Nat.mul, Folder.first #[Folder.mkBinary Nat.mul, Folder.leftRightNeutral 1, Folder.leftRightAnnihilator 0 0]), + (``UInt8.mul, Folder.first #[Folder.mkBinary UInt8.mul, Folder.leftRightNeutral (1 : UInt8), Folder.leftRightAnnihilator (0 : UInt8) 0]), + (``UInt16.mul, Folder.first #[Folder.mkBinary UInt16.mul, Folder.leftRightNeutral (1 : UInt16), Folder.leftRightAnnihilator (0 : UInt16) 0]), + (``UInt32.mul, Folder.first #[Folder.mkBinary UInt32.mul, Folder.leftRightNeutral (1 : UInt32), Folder.leftRightAnnihilator (0 : UInt32) 0]), + (``UInt64.mul, Folder.first #[Folder.mkBinary UInt64.mul, Folder.leftRightNeutral (1 : UInt64), Folder.leftRightAnnihilator (0 : UInt64) 0]), + (``Nat.div, Folder.first #[Folder.mkBinary Nat.div, Folder.rightNeutral 1]), + (``UInt8.div, Folder.first #[Folder.mkBinary UInt8.div, Folder.rightNeutral (1 : UInt8)]), + (``UInt16.div, Folder.first #[Folder.mkBinary UInt16.div, Folder.rightNeutral (1 : UInt16)]), + (``UInt32.div, Folder.first #[Folder.mkBinary UInt32.div, Folder.rightNeutral (1 : UInt32)]), + (``UInt64.div, Folder.first #[Folder.mkBinary UInt64.div, Folder.rightNeutral (1 : UInt64)]) +] + +/-- +All string folders. +-/ +def stringFolders : List (Name × Folder) := [ + (``String.append, Folder.first #[Folder.mkBinary String.append, Folder.leftRightNeutral ""]), + (``String.length, Folder.mkUnary String.length), + (``String.push, Folder.mkBinary String.push) +] + +/-- +Apply all known folders to `decl`. +-/ +def applyFolders (decl : LetDecl) (folders : SMap Name Folder) : CompilerM (Option (Array CodeDecl)) := do + let e := decl.value + match e with + | .app .. => + match e.getAppFn with + | .const name .. => + if let some folder := folders.find? name then + if let (some res, aux) ← folder e.getAppArgs |>.run #[] then + let decl ← decl.updateValue res + return some <| aux.push (.let decl) + return none + | _ => return none + | .const .. | .lit .. | .fvar .. | .bvar .. | .lam .. | .sort .. | + .forallE .. | .letE .. | .mdata .. => + return none + -- TODO: support for constant folding on projections + | .proj .. => return none + | _ => unreachable! + +private unsafe def getFolderCoreUnsafe (env : Environment) (opts : Options) (declName : Name) : ExceptT String Id Folder := + env.evalConstCheck Folder opts ``Folder declName + +@[implementedBy getFolderCoreUnsafe] +private opaque getFolderCore (env : Environment) (opts : Options) (declName : Name) : ExceptT String Id Folder + +private def getFolder (declName : Name) : CoreM Folder := do + ofExcept <| getFolderCore (← getEnv) (← getOptions) declName + +def builtinFolders : SMap Name Folder := + (arithmeticFolders ++ higherOrderLiteralFolders ++ stringFolders).foldl (init := {}) fun s (declName, folder) => + s.insert declName folder + +structure FolderOleanEntry where + declName : Name + folderDeclName : Name + +structure FolderEntry extends FolderOleanEntry where + folder : Folder + +builtin_initialize folderExt : PersistentEnvExtension FolderOleanEntry FolderEntry (List FolderOleanEntry × SMap Name Folder) ← + registerPersistentEnvExtension { + name := `cfolder + mkInitial := return ([], builtinFolders) + addImportedFn := fun entriesArray => do + let ctx ← read + let mut folders := builtinFolders + for entries in entriesArray do + for { declName, folderDeclName } in entries do + let folder ← IO.ofExcept <| getFolderCore ctx.env ctx.opts folderDeclName + folders := folders.insert declName folder + return ([], folders.switch) + addEntryFn := fun (entries, map) entry => (entry.toFolderOleanEntry :: entries, map.insert entry.declName entry.folder) + exportEntriesFn := fun (entries, _) => entries.reverse.toArray + } + +def registerFolder (declName : Name) (folderDeclName : Name) : CoreM Unit := do + let folder ← getFolder folderDeclName + modifyEnv fun env => folderExt.addEntry env { declName, folderDeclName, folder } + +def getFolders : CoreM (SMap Name Folder) := + return folderExt.getState (← getEnv) |>.2 + +/-- +Apply a list of default folders to `decl` +-/ +def foldConstants (decl : LetDecl) : CompilerM (Option (Array CodeDecl)) := do + applyFolders decl (← getFolders) + +end ConstantFold +end Lean.Compiler.LCNF.Simp diff --git a/stage0/src/Lean/Compiler/LCNF/Simp/InlineCandidate.lean b/stage0/src/Lean/Compiler/LCNF/Simp/InlineCandidate.lean index fa49109a1f..581c123979 100644 --- a/stage0/src/Lean/Compiler/LCNF/Simp/InlineCandidate.lean +++ b/stage0/src/Lean/Compiler/LCNF/Simp/InlineCandidate.lean @@ -21,6 +21,8 @@ structure InlineCandidateInfo where args : Array Expr /-- `ifReduce = true` if the declaration being inlined was tagged with `inlineIfReduce`. -/ ifReduce : Bool + /-- `recursive = true` if the declaration being inline is in a mutually recursive block. -/ + recursive : Bool := false /-- The arity (aka number of parameters) of the function to be inlined. -/ def InlineCandidateInfo.arity : InlineCandidateInfo → Nat @@ -56,10 +58,11 @@ def inlineCandidate? (e : Expr) : SimpM (Option InlineCandidateInfo) := do let value := decl.instantiateValueLevelParams us incInline return some { - isLocal := false - f := e.getAppFn - args := e.getAppArgs - ifReduce := inlineIfReduce + isLocal := false + f := e.getAppFn + args := e.getAppArgs + ifReduce := inlineIfReduce + recursive := decl.recursive params, value } else if let some decl ← findFunDecl? f then diff --git a/stage0/src/Lean/Compiler/LCNF/Simp/InlineProj.lean b/stage0/src/Lean/Compiler/LCNF/Simp/InlineProj.lean index 602aa5c32c..4a04a6ba68 100644 --- a/stage0/src/Lean/Compiler/LCNF/Simp/InlineProj.lean +++ b/stage0/src/Lean/Compiler/LCNF/Simp/InlineProj.lean @@ -72,4 +72,4 @@ where | .let decl k => modify (·.push (.let decl)); visitCode k projs | .fun decl k => modify (·.push (.fun decl)); visitCode k projs | .return fvarId => visit (.fvar fvarId) projs - | _ => failure + | _ => eraseCode code; failure diff --git a/stage0/src/Lean/Compiler/LCNF/Simp/JpCases.lean b/stage0/src/Lean/Compiler/LCNF/Simp/JpCases.lean index e0b06fbd93..3cfcb517ef 100644 --- a/stage0/src/Lean/Compiler/LCNF/Simp/JpCases.lean +++ b/stage0/src/Lean/Compiler/LCNF/Simp/JpCases.lean @@ -20,13 +20,14 @@ f y := ... ``` -/ -def isJpCases (decl : FunDecl) (smallThreshold : Nat) : CompilerM Bool := do +def isJpCases (decl : FunDecl) : CompilerM Bool := do if decl.params.size != 1 then return false else let param := decl.params[0]! + let small := (← getConfig).smallThreshold let rec go (code : Code) (prefixSize : Nat) : Bool := - prefixSize <= smallThreshold && + prefixSize <= small && match code with | .let _ k => go k (prefixSize + 1) /- TODO: we should have uniform heuristics for estimating the size. -/ | .cases c => c.discr == param.fvarId @@ -44,7 +45,7 @@ Return a map containing entries `jpFVarId ↦ ctorNames` where `jpFVarId` is the in code that satisfies `isJpCases`, and `ctorNames` is a set of constructor names such that there is a jump `.jmp jpFVarId #[x]` in `code` and `x` is a constructor application. -/ -partial def collectJpCasesInfo (code : Code) (smallThreshold : Nat): CompilerM JpCasesInfo := do +partial def collectJpCasesInfo (code : Code) : CompilerM JpCasesInfo := do let (_, s) ← go code |>.run {} return s where @@ -53,7 +54,7 @@ where | .let _ k => go k | .fun decl k => go decl.value; go k | .jp decl k => - if (← isJpCases decl smallThreshold) then + if (← isJpCases decl) then modify fun s => s.insert decl.fvarId {} go decl.value; go k | .cases c => c.alts.forM fun alt => go alt.getCode @@ -144,8 +145,8 @@ cases x.4 Note that if all jumps to the join point are with constructors, then the join point is eliminated as dead code. -/ -partial def simpJpCases? (code : Code) (smallThreshold : Nat) : CompilerM (Option Code) := do - let info ← collectJpCasesInfo code smallThreshold +partial def simpJpCases? (code : Code) : CompilerM (Option Code) := do + let info ← collectJpCasesInfo code unless info.isCandidate do return none traceM `Compiler.simp.jpCases do let mut msg : MessageData := "candidates" diff --git a/stage0/src/Lean/Compiler/LCNF/Simp/Main.lean b/stage0/src/Lean/Compiler/LCNF/Simp/Main.lean index 2d3171c674..7db68a3e3c 100644 --- a/stage0/src/Lean/Compiler/LCNF/Simp/Main.lean +++ b/stage0/src/Lean/Compiler/LCNF/Simp/Main.lean @@ -14,6 +14,7 @@ import Lean.Compiler.LCNF.Simp.InlineProj import Lean.Compiler.LCNF.Simp.Used import Lean.Compiler.LCNF.Simp.DefaultAlt import Lean.Compiler.LCNF.Simp.SimpValue +import Lean.Compiler.LCNF.Simp.ConstantFold namespace Lean.Compiler.LCNF namespace Simp @@ -115,7 +116,7 @@ inlined code **before** we attach it to the continuation. partial def inlineApp? (letDecl : LetDecl) (k : Code) : SimpM (Option Code) := do let some info ← inlineCandidate? letDecl.value | return none let numArgs := info.args.size - withInlining letDecl.value do + withInlining letDecl.value info.recursive do let fvarId := letDecl.fvarId if numArgs < info.arity then let funDecl ← specializePartialApp info @@ -210,7 +211,11 @@ partial def simp (code : Code) : SimpM Code := withIncRecDepth do let mut decl ← normLetDecl decl if let some value ← simpValue? decl.value then decl ← decl.updateValue value - if let some funDecl ← etaPolyApp? decl then + if let some decls ← ConstantFold.foldConstants decl then + markSimplified + let k ← simp k + attachCodeDecls decls k + else if let some funDecl ← etaPolyApp? decl then simp (.fun funDecl k) else if decl.value.isFVar then /- Eliminate `let _x_i := _x_j;` -/ diff --git a/stage0/src/Lean/Compiler/LCNF/Simp/SimpM.lean b/stage0/src/Lean/Compiler/LCNF/Simp/SimpM.lean index 1be0061f26..fb846e8abd 100644 --- a/stage0/src/Lean/Compiler/LCNF/Simp/SimpM.lean +++ b/stage0/src/Lean/Compiler/LCNF/Simp/SimpM.lean @@ -4,6 +4,7 @@ Released under Apache 2.0 license as described in the file LICENSE. Authors: Leonardo de Moura -/ import Lean.Compiler.ImplementedByAttr +import Lean.Compiler.LCNF.Renaming import Lean.Compiler.LCNF.ElimDead import Lean.Compiler.LCNF.AlphaEqv import Lean.Compiler.LCNF.PrettyPrinter @@ -28,6 +29,10 @@ structure Context where Stack of global declarations being recursively inlined. -/ inlineStack : List Name := [] + /-- + Mapping from declaration names to number of occurrences at `inlineStack` + -/ + inlineStackOccs : PHashMap Name Nat := {} structure State where /-- @@ -39,6 +44,11 @@ structure State where -/ used : UsedLocalDecls := {} /-- + Mapping containing free variables ids that need to be renamed (i.e., the `binderName`). + We use this map to preserve user provide names. + -/ + binderRenaming : Renaming := {} + /-- Mapping used to decide whether a local function declaration must be inlined or not. -/ funDeclInfoMap : FunDeclInfoMap := {} @@ -136,12 +146,21 @@ partial def updateFunDeclInfo (code : Code) (mustInline := false) : SimpM Unit : Execute `x` with an updated `inlineStack`. If `value` is of the form `const ...`, add `const` to the stack. Otherwise, do not change the `inlineStack`. -/ -@[inline] def withInlining (value : Expr) (x : SimpM α) : SimpM α := do +def withInlining (value : Expr) (recursive : Bool) (x : SimpM α) : SimpM α := do trace[Compiler.simp.inline] "inlining {value}" let f := value.getAppFn - let stack := (← read).inlineStack - let inlineStack := if let .const declName _ := f then declName :: stack else stack - withReader (fun ctx => { ctx with inlineStack }) x + if let .const declName _ := f then + let numOccs := (← read).inlineStackOccs.find? declName |>.getD 0 + let numOccs := numOccs + 1 + if recursive then + if hasInlineIfReduceAttribute (← getEnv) declName then + if numOccs > (← getConfig).maxRecInlineIfReduce then + throwError "function `{declName}` has been recursively inlined more than #{(← getConfig).maxRecInlineIfReduce}, consider removing the attribute `[inlineIfReduce]` from this declaration or increasing the limit using `set_option compiler.maxRecInlineIfReduce `" + else if numOccs > (← getConfig).maxRecInline then + throwError "function `{declName}` has been recursively inlined more than #{(← getConfig).maxRecInline}, consider removing the attribute `[inline]` from this declaration or increasing the limit using `set_option compiler.maxRecInline `" + withReader (fun ctx => { ctx with inlineStack := declName :: ctx.inlineStack, inlineStackOccs := ctx.inlineStackOccs.insert declName numOccs }) x + else + x /-- Similar to the default `Lean.withIncRecDepth`, but include the `inlineStack` in the error messsage. @@ -197,7 +216,7 @@ def isOnceOrMustInline (fvarId : FVarId) : SimpM Bool := do Return `true` if the given local function declaration is considered "small". -/ def isSmall (decl : FunDecl) : SimpM Bool := - return decl.value.sizeLe (← read).config.smallThreshold + return decl.value.sizeLe (← getConfig).smallThreshold /-- Return `true` if the given local function declaration should be inlined. @@ -209,16 +228,38 @@ def shouldInlineLocal (decl : FunDecl) : SimpM Bool := do isSmall decl /-- -"Beta-reduce" `(fun params => code) args`. +LCNF "Beta-reduce". The equivalent of `(fun params => code) args`. If `mustInline` is true, the local function declarations in the resulting code are marked as `.mustInline`. See comment at `updateFunDeclInfo`. -/ def betaReduce (params : Array Param) (code : Code) (args : Array Expr) (mustInline := false) : SimpM Code := do - -- TODO: add necessary casts to `args` let mut subst := {} + let mut castDecls := #[] for param in params, arg in args do - subst := subst.insert param.fvarId arg + /- + If `param` hast type `⊤` but `arg` does not, we must insert a cast. + Otherwise, the resulting code may be type incorrect. + For example, the following code is type correct before inlining `f` + because `x : ⊤`. + ``` + def foo (g : A → A) (a : B) := + fun f (x : ⊤) := + let _x.1 := g x + ... + let _x.2 := f a + ... + ``` + We must introduce a cast around `a` to make sure the resulting expression is type correct. + -/ + if param.type.isAnyType && !(← inferType arg).isAnyType then + let castArg ← mkLcCast arg anyTypeExpr + let castDecl ← mkAuxLetDecl castArg + castDecls := castDecls.push (CodeDecl.let castDecl) + subst := subst.insert param.fvarId (.fvar castDecl.fvarId) + else + subst := subst.insert param.fvarId arg let code ← code.internalize subst + let code := LCNF.attachCodeDecls castDecls code updateFunDeclInfo code mustInline return code @@ -237,3 +278,18 @@ and set the `simplified` flag to true. def eraseFunDecl (decl : FunDecl) : SimpM Unit := do LCNF.eraseFunDecl decl markSimplified + +/-- +Similar to `LCNF.addFVarSubst`. That is, add the entry +`fvarId ↦ fvarId'` to the free variable substitution. +If `fvarId` has a non-internal binder name `n`, but `fvarId'` does not, +this method also adds the entry `fvarId' ↦ n` to the `binderRenaming` map. +The goal is to preserve user provided names. +-/ +def addFVarSubst (fvarId : FVarId) (fvarId' : FVarId) : SimpM Unit := do + LCNF.addFVarSubst fvarId fvarId' + let binderName ← getBinderName fvarId + unless binderName.isInternal do + let binderName' ← getBinderName fvarId' + if binderName'.isInternal then + modify fun s => { s with binderRenaming := s.binderRenaming.insert fvarId' binderName } diff --git a/stage0/src/Lean/Compiler/LCNF/ToLCNF.lean b/stage0/src/Lean/Compiler/LCNF/ToLCNF.lean index a42301e0da..4bb1eb4f75 100644 --- a/stage0/src/Lean/Compiler/LCNF/ToLCNF.lean +++ b/stage0/src/Lean/Compiler/LCNF/ToLCNF.lean @@ -364,6 +364,26 @@ def etaExpandN (e : Expr) (n : Nat) : M Expr := do Meta.forallBoundedTelescope (← Meta.inferType e) n fun xs _ => Meta.mkLambdaFVars xs (mkAppN e xs) +/-- +Eta reduce implicits. We use this function to eliminate introduced by the implicit lambda feature, +where it generates terms such as `fun {α} => ReaderT.pure` +-/ +partial def etaReduceImplicit (e : Expr) : Expr := + match e with + | .lam _ d b bi => + if bi.isImplicit then + let b' := etaReduceImplicit b + match b' with + | .app f (.bvar 0) => + if !f.hasLooseBVar 0 then + f.lowerLooseBVars 1 1 + else + e.updateLambdaE! d b' + | _ => e.updateLambdaE! d b' + else + e + | _ => e + /-- Put the given expression in `LCNF`. @@ -648,7 +668,25 @@ where e.withApp fun f args => do visitAppDefault (← visit f) args visitLambda (e : Expr) : M Expr := do - let b := e.eta + let b := etaReduceImplicit e + /- + Note: we don't want to eta-reduce arbitrary lambda expressions since it can + affect the current inline heuristics. For example, suppose that `foo` is marked + as `[inline]`. If we eta-reduce + ``` + let f := fun b => foo a b + ``` + we obtain the LCNF + ``` + let f := foo a + ``` + which will be inlined everywhere in the current implementation, if we don't eta-reduce, + we obtain + ``` + fun f b := foo a + ``` + which will inline foo in the body of `f`, but will only inline `f` if it is small. + -/ if !b.isLambda && !mustEtaExpand (← getEnv) b then /- We use eta-reduction to make sure we avoid the overhead introduced by diff --git a/stage0/src/Lean/Compiler/LCNF/Types.lean b/stage0/src/Lean/Compiler/LCNF/Types.lean index 1bba86de2a..c1c37e9097 100644 --- a/stage0/src/Lean/Compiler/LCNF/Types.lean +++ b/stage0/src/Lean/Compiler/LCNF/Types.lean @@ -24,10 +24,10 @@ def erasedExpr := mkConst ``lcErased def anyTypeExpr := mkConst ``lcAny def _root_.Lean.Expr.isAnyType (e : Expr) := - e.isConstOf ``lcAny + e.isAppOf ``lcAny def _root_.Lean.Expr.isErased (e : Expr) := - e.isConstOf ``lcErased + e.isAppOf ``lcErased def isPropFormerTypeQuick : Expr → Bool | .forallE _ _ b _ => isPropFormerTypeQuick b diff --git a/stage0/src/Lean/Data/Json/FromToJson.lean b/stage0/src/Lean/Data/Json/FromToJson.lean index 02dd40de32..6c995fed86 100644 --- a/stage0/src/Lean/Data/Json/FromToJson.lean +++ b/stage0/src/Lean/Data/Json/FromToJson.lean @@ -133,6 +133,14 @@ instance : FromJson Float where | (Json.num jn) => Except.ok jn.toFloat | _ => Except.error "Expected a number or a string 'Infinity', '-Infinity', 'NaN'." +instance [ToJson α] : ToJson (RBMap String α cmp) where + toJson m := Json.obj <| RBNode.map (fun _ => toJson) <| m.val + +instance {cmp} [FromJson α] : FromJson (RBMap String α cmp) where + fromJson? j := do + let o ← j.getObj? + o.foldM (fun x k v => x.insert k <$> fromJson? v) ∅ + namespace Json instance : FromJson Structured := ⟨fun @@ -150,6 +158,9 @@ def toStructured? [ToJson α] (v : α) : Except String Structured := def getObjValAs? (j : Json) (α : Type u) [FromJson α] (k : String) : Except String α := fromJson? <| j.getObjValD k +def setObjValAs! (j : Json) {α : Type u} [ToJson α] (k : String) (v : α) : Json := + j.setObjVal! k <| toJson v + def opt [ToJson α] (k : String) : Option α → List (String × Json) | none => [] | some o => [⟨k, toJson o⟩] diff --git a/stage0/src/Lean/Data/JsonRpc.lean b/stage0/src/Lean/Data/JsonRpc.lean index 716232deae..2121b62419 100644 --- a/stage0/src/Lean/Data/JsonRpc.lean +++ b/stage0/src/Lean/Data/JsonRpc.lean @@ -36,7 +36,7 @@ instance : ToString RequestID where [JSON-RPC](https://www.jsonrpc.org/specification#error_object) and [LSP](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#errorCodes). -/ inductive ErrorCode where - /-- Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text.-/ + /-- Invalid JSON was received by the server. An error occurred on the server while parsing the JSON text. -/ | parseError /-- The JSON sent is not a valid Request object. -/ | invalidRequest @@ -176,7 +176,7 @@ structure ResponseError (α : Type u) where /-- A string providing a short description of the error. -/ message : String /-- A primitive or structured value that contains additional - information about the error. Can be omitted.-/ + information about the error. Can be omitted. -/ data? : Option α := none deriving Inhabited, BEq diff --git a/stage0/src/Lean/Data/Lsp.lean b/stage0/src/Lean/Data/Lsp.lean index 12abac02f4..a7d643b3cf 100644 --- a/stage0/src/Lean/Data/Lsp.lean +++ b/stage0/src/Lean/Data/Lsp.lean @@ -17,3 +17,4 @@ import Lean.Data.Lsp.TextSync import Lean.Data.Lsp.Utf16 import Lean.Data.Lsp.Workspace import Lean.Data.Lsp.Ipc +import Lean.Data.Lsp.CodeActions diff --git a/stage0/src/Lean/Data/Lsp/Basic.lean b/stage0/src/Lean/Data/Lsp/Basic.lean index 1e85a2c082..a114197c7b 100644 --- a/stage0/src/Lean/Data/Lsp/Basic.lean +++ b/stage0/src/Lean/Data/Lsp/Basic.lean @@ -47,6 +47,7 @@ structure Range where instance : LT Range := ltOfOrd instance : LE Range := leOfOrd +/-- A `Location` is a `DocumentUri` and a `Range`. -/ structure Location where uri : DocumentUri range : Range @@ -61,19 +62,42 @@ structure LocationLink where -- NOTE: Diagnostic defined in Diagnostics.lean -/-- NOTE: No specific commands are specified by LSP, hence -possible commands need to be announced as capabilities. -/ +/-- Represents a reference to a client editor command. + +NOTE: No specific commands are specified by LSP, hence +possible commands need to be announced as capabilities. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#command) +-/ structure Command where + /-- Title of the command, like `save`. -/ title : String + /-- The identifier of the actual command handler. -/ command : String + /-- Arguments that the command handler should be invoked with. -/ arguments? : Option (Array Json) := none deriving ToJson, FromJson +/-- A textual edit applicable to a text document. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textEdit) -/ structure TextEdit where + /-- The range of the text document to be manipulated. + To insert text into a document create a range where `start = end`. -/ range : Range + /-- The string to be inserted. For delete operations use an empty string. -/ newText : String + /-- Identifier for annotated edit. + + `WorkspaceEdit` has a `changeAnnotations` field that maps these identifiers to a `ChangeAnnotation`. + By annotating an edit you can add a description of what the edit will do and also control whether the + user is presented with a prompt before applying the edit. + [reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textEdit). + -/ + annotationId? : Option String := none deriving ToJson, FromJson +/-- An array of `TextEdit`s to be performed in sequence. -/ def TextEditBatch := Array TextEdit instance : FromJson TextEditBatch := @@ -82,6 +106,14 @@ instance : FromJson TextEditBatch := instance : ToJson TextEditBatch := ⟨@toJson (Array TextEdit) _⟩ +instance : EmptyCollection TextEditBatch := ⟨#[]⟩ + +instance : Append TextEditBatch := + inferInstanceAs (Append (Array _)) + +instance : Coe TextEdit TextEditBatch where + coe te := #[te] + structure TextDocumentIdentifier where uri : DocumentUri deriving ToJson, FromJson @@ -91,20 +123,141 @@ structure VersionedTextDocumentIdentifier where version? : Option Nat := none deriving ToJson, FromJson +/-- A batch of `TextEdit`s to perform on a versioned text document. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentEdit) -/ structure TextDocumentEdit where textDocument : VersionedTextDocumentIdentifier edits : TextEditBatch deriving ToJson, FromJson --- TODO(Marc): missing: --- File Resource Changes, WorkspaceEdit --- both of these are pretty global, we can look at their --- uses when single file behaviour works. +/-- Additional information that describes document changes. +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textEdit) -/ +structure ChangeAnnotation where + /-- A human-readable string describing the actual change. + The string is rendered prominent in the user interface. -/ + label : String + /-- A flag which indicates that user confirmation is needed before applying the change. -/ + needsConfirmation : Bool := false + /-- A human-readable string which is rendered less prominent in the user interface. -/ + description? : Option String := none + deriving ToJson, FromJson + +/-- Options for `CreateFile` and `RenameFile`. -/ +structure CreateFile.Options where + overwrite : Bool := false + ignoreIfExists : Bool := false + deriving ToJson, FromJson + +/-- Options for `DeleteFile`. -/ +structure DeleteFile.Options where + recursive : Bool := false + ignoreIfNotExists := false + deriving ToJson, FromJson + +structure CreateFile where + uri : DocumentUri + options? : Option CreateFile.Options := none + annotationId? : Option String := none + deriving ToJson, FromJson + +structure RenameFile where + oldUri : DocumentUri + newUri : DocumentUri + options? : Option CreateFile.Options := none + annotationId? : Option String := none + deriving ToJson, FromJson + +structure DeleteFile where + uri : DocumentUri + options? : Option DeleteFile.Options := none + annotationId? : Option String := none + deriving ToJson, FromJson + +/-- A change to a file resource. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#resourceChanges) -/ +inductive DocumentChange where + | create : CreateFile → DocumentChange + | rename : RenameFile → DocumentChange + | delete : DeleteFile → DocumentChange + | edit : TextDocumentEdit → DocumentChange + +instance : ToJson DocumentChange := ⟨fun + | .create x => Json.setObjVal! (toJson x) "kind" "create" + | .rename x => Json.setObjVal! (toJson x) "kind" "rename" + | .delete x => Json.setObjVal! (toJson x) "kind" "delete" + | .edit x => toJson x +⟩ + +instance : FromJson DocumentChange where + fromJson? j := (do + let kind ← j.getObjVal? "kind" + match kind with + | "create" => return DocumentChange.create <|← fromJson? j + | "rename" => return DocumentChange.rename <|← fromJson? j + | "delete" => return DocumentChange.delete <|← fromJson? j + | kind => throw s!"Unrecognized kind: {kind}") + <|> (DocumentChange.edit <$> fromJson? j) + +/-- A workspace edit represents changes to many resources managed in the workspace. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workspaceEdit) -/ +structure WorkspaceEdit where + /-- Changes to existing resources. -/ + changes : RBMap DocumentUri TextEditBatch compare := ∅ + /-- Depending on the client capability + `workspace.workspaceEdit.resourceOperations` document changes are either + an array of `TextDocumentEdit`s to express changes to n different text + documents where each text document edit addresses a specific version of + a text document. Or it can contain above `TextDocumentEdit`s mixed with + create, rename and delete file / folder operations. + + Whether a client supports versioned document edits is expressed via + `workspace.workspaceEdit.documentChanges` client capability. + + If a client neither supports `documentChanges` nor + `workspace.workspaceEdit.resourceOperations` then only plain `TextEdit`s + using the `changes` property are supported. -/ + documentChanges : Array DocumentChange := ∅ + /-- A map of change annotations that can be referenced in + `AnnotatedTextEdit`s or create, rename and delete file / folder + operations. + + Whether clients honor this property depends on the client capability + `workspace.changeAnnotationSupport`. -/ + changeAnnotations : RBMap String ChangeAnnotation compare := ∅ + deriving ToJson, FromJson + +namespace WorkspaceEdit + +instance : EmptyCollection WorkspaceEdit := ⟨{}⟩ + +instance : Append WorkspaceEdit where + append x y := { + changes := x.changes.mergeBy (fun _ v₁ v₂ => v₁ ++ v₂) y.changes + documentChanges := x.documentChanges ++ y.documentChanges + changeAnnotations := x.changeAnnotations.mergeBy (fun _ _v₁ v₂ => v₂) y.changeAnnotations + } + +def ofTextDocumentEdit (e : TextDocumentEdit) : WorkspaceEdit := + { documentChanges := #[DocumentChange.edit e]} + +end WorkspaceEdit + +/-- An item to transfer a text document from the client to the server. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocumentItem) +-/ structure TextDocumentItem where + /-- The text document's URI. -/ uri : DocumentUri + /-- The text document's language identifier. -/ languageId : String + /-- The version number of this document (it will increase after each change, including undo/redo). -/ version : Nat + /-- The content of the opened text document. -/ text : String deriving ToJson, FromJson @@ -118,8 +271,8 @@ instance : ToString TextDocumentPositionParams where structure DocumentFilter where language? : Option String := none - scheme? : Option String := none - pattern? : Option String := none + scheme? : Option String := none + pattern? : Option String := none deriving ToJson, FromJson def DocumentSelector := Array DocumentFilter @@ -151,34 +304,59 @@ instance : ToJson MarkupKind := ⟨fun | MarkupKind.markdown => str "markdown"⟩ structure MarkupContent where - kind : MarkupKind + kind : MarkupKind value : String deriving ToJson, FromJson +/-- Reference to the progress of some in-flight piece of work. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#progress) +-/ +abbrev ProgressToken := String -- do we need integers? + +/-- Params for JSON-RPC method `$/progress` request. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#progress) -/ structure ProgressParams (α : Type) where - token : String -- do we need `integer`? + token : ProgressToken value : α deriving ToJson structure WorkDoneProgressReport where kind := "report" + /-- More detailed associated progress message. -/ message? : Option String := none + /-- Controls if a cancel button should show to allow the user to cancel the operation. -/ cancellable := false + /-- Optional progress percentage to display (value 100 is considered 100%). + If not provided infinite progress is assumed. -/ percentage? : Option Nat := none deriving ToJson +/-- Notification to signal the start of progress reporting. -/ structure WorkDoneProgressBegin extends WorkDoneProgressReport where kind := "begin" title : String deriving ToJson +/-- Signals the end of progress reporting. -/ structure WorkDoneProgressEnd where kind := "end" message? : Option String := none deriving ToJson --- TODO(Marc): missing: --- WorkDoneProgressOptions, PartialResultParams +structure WorkDoneProgressParams where + workDoneToken? : Option ProgressToken := none + deriving ToJson, FromJson + +structure PartialResultParams where + partialResultToken? : Option ProgressToken := none + deriving ToJson, FromJson + +/-- [reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#workDoneProgressOptions) -/ +structure WorkDoneProgressOptions where + workDoneProgress := false + deriving ToJson, FromJson end Lsp end Lean diff --git a/stage0/src/Lean/Data/Lsp/Capabilities.lean b/stage0/src/Lean/Data/Lsp/Capabilities.lean index a92f7fe652..e6c178544f 100644 --- a/stage0/src/Lean/Data/Lsp/Capabilities.lean +++ b/stage0/src/Lean/Data/Lsp/Capabilities.lean @@ -7,6 +7,7 @@ Authors: Marc Huisinga, Wojciech Nawrocki import Lean.Data.JsonRpc import Lean.Data.Lsp.TextSync import Lean.Data.Lsp.LanguageFeatures +import Lean.Data.Lsp.CodeActions /-! Minimal LSP servers/clients do not have to implement a lot of functionality. Most useful additional behavior is instead @@ -27,6 +28,7 @@ structure CompletionClientCapabilities where structure TextDocumentClientCapabilities where completion? : Option CompletionClientCapabilities := none + codeAction? : Option CodeActionClientCapabilities := none deriving ToJson, FromJson structure ShowDocumentClientCapabilities where @@ -37,25 +39,45 @@ structure WindowClientCapabilities where showDocument? : Option ShowDocumentClientCapabilities := none deriving ToJson, FromJson +structure ChangeAnnotationSupport where + groupsOnLabel? : Option Bool := none + deriving ToJson, FromJson + +structure WorkspaceEditClientCapabilities where + /-- The client supports versioned document changes in `WorkspaceEdit`s. -/ + documentChanges? : Option Bool := none + /-- Whether the client in general supports change annotations on text edits. -/ + changeAnnotationSupport? : Option ChangeAnnotationSupport := none + /-- The resource operations the client supports. Clients should at least support 'create', 'rename' and 'delete' files and folders. -/ + resourceOperations? : Option (Array String) := none + deriving ToJson, FromJson + +structure WorkspaceClientCapabilities where + applyEdit: Bool + workspaceEdit? : Option WorkspaceEditClientCapabilities := none + deriving ToJson, FromJson + structure ClientCapabilities where textDocument? : Option TextDocumentClientCapabilities := none - window? : Option WindowClientCapabilities := none + window? : Option WindowClientCapabilities := none + workspace? : Option WorkspaceClientCapabilities := none deriving ToJson, FromJson -- TODO largely unimplemented structure ServerCapabilities where - textDocumentSync? : Option TextDocumentSyncOptions := none - completionProvider? : Option CompletionOptions := none - hoverProvider : Bool := false - documentHighlightProvider : Bool := false - documentSymbolProvider : Bool := false - definitionProvider : Bool := false - declarationProvider : Bool := false - typeDefinitionProvider : Bool := false - referencesProvider : Bool := false - workspaceSymbolProvider : Bool := false - foldingRangeProvider : Bool := false - semanticTokensProvider? : Option SemanticTokensOptions := none + textDocumentSync? : Option TextDocumentSyncOptions := none + completionProvider? : Option CompletionOptions := none + hoverProvider : Bool := false + documentHighlightProvider : Bool := false + documentSymbolProvider : Bool := false + definitionProvider : Bool := false + declarationProvider : Bool := false + typeDefinitionProvider : Bool := false + referencesProvider : Bool := false + workspaceSymbolProvider : Bool := false + foldingRangeProvider : Bool := false + semanticTokensProvider? : Option SemanticTokensOptions := none + codeActionProvider? : Option CodeActionOptions := none deriving ToJson, FromJson end Lsp diff --git a/stage0/src/Lean/Data/Lsp/CodeActions.lean b/stage0/src/Lean/Data/Lsp/CodeActions.lean new file mode 100644 index 0000000000..d3020d3105 --- /dev/null +++ b/stage0/src/Lean/Data/Lsp/CodeActions.lean @@ -0,0 +1,177 @@ +/- +Copyright (c) 2022 E.W.Ayers. All rights reserved. +Released under Apache 2.0 license as described in the file LICENSE. + +Authors: E.W.Ayers +-/ +import Lean.Data.Json +import Lean.Data.Lsp.Basic +import Lean.Data.Lsp.Diagnostics + +namespace Lean.Lsp + +open Json + +/-- The kind of a code action. + +Kinds are a hierarchical list of identifiers separated by `.`, +e.g. `"refactor.extract.function"`. + +The set of kinds is open and client needs to announce the kinds it supports +to the server during initialization. +You can make your own code action kinds, the ones supported by LSP are: +- `quickfix` +- `refactor` + - `refactor.extract` + - `refactor.inline` + - `refactor.rewrite` +- `source` Source code actions apply to the entire file. Eg fixing all issues or organising imports. + - `source.organizeImports` + - `source.fixAll` +-/ +abbrev CodeActionKind := String + +inductive CodeActionTriggerKind + /-- Code actions were explicitly requested by the user or by an extension. -/ + | invoked + /-- Code actions were requested automatically. + + This typically happens when current selection in a file changes, but can + also be triggered when file content changes. -/ + | automatic + +instance : ToJson CodeActionTriggerKind := ⟨fun + | .invoked => 1 + | .automatic => 2 +⟩ + +instance : FromJson CodeActionTriggerKind := ⟨fun j => do + let n ← j.getNat? + match n with + | 1 => return CodeActionTriggerKind.invoked + | 2 => return CodeActionTriggerKind.automatic + | n => throw s!"Unexpected CodeActionTriggerKind {n}" +⟩ + +/-- Contains additional diagnostic information about the context in which a code action is run. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeActionContext) -/ +structure CodeActionContext where + /-- + An array of diagnostics known on the client side overlapping the range + provided to the `textDocument/codeAction` request. They are provided so + that the server knows which errors are currently presented to the user + for the given range. There is no guarantee that these accurately reflect + the error state of the resource. The primary parameter + to compute code actions is the provided range. + -/ + diagnostics : Array Diagnostic + /-- Requested kind of actions to return. + + Actions not of this kind are filtered out by the client before being + shown. So servers can omit computing them. + -/ + only? : Option (Array CodeActionKind) := none + /-- The reason why code actions were requested. -/ + triggerKind? : Option CodeActionTriggerKind := none + deriving FromJson, ToJson + +/-- Parameters for a [CodeActionRequest](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_codeAction). -/ +structure CodeActionParams extends WorkDoneProgressParams, PartialResultParams where + textDocument : TextDocumentIdentifier + range : Range + context : CodeActionContext + deriving FromJson, ToJson + +/-- If the code action is disabled, this type gives the reson why. -/ +structure CodeActionDisabled where + reason : String + deriving FromJson, ToJson + +/-- Capabilities of the server for handling code actions. -/ +structure CodeActionOptions extends WorkDoneProgressOptions where + /-- CodeActionKinds that this server may return. + + The list of kinds may be generic, such as `"refactor"`, or the server may list out every specific kind they provide. -/ + codeActionKinds? : Option (Array CodeActionKind) := none + /-- The server provides support to resolve additional information for a code action. -/ + resolveProvider? : Option Bool := none + deriving ToJson, FromJson + +/-- Custom, Lean-specific data object passed as the `data?` field. -/ +structure CodeActionData where + uri : DocumentUri + deriving FromJson, ToJson + +/-- A code action represents a change that can be performed in code, e.g. to fix a problem or to refactor code. + +A CodeAction should set either `edit` and/or a `command`. +If both are supplied, the `edit` is applied first, then the `command` is executed. +If none are supplied, the client makes a `codeAction/resolve` JSON-RPC request to compute the edit. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeAction) -/ +structure CodeAction extends WorkDoneProgressParams, PartialResultParams where + /-- A short, human-readable, title for this code action. -/ + title : String + /-- The kind of the code action. -/ + kind? : Option CodeActionKind := none + /-- The diagnostics that this code action resolves. -/ + diagnostics? : Option (Array Diagnostic) := none + /-- Marks this as a preferred action. Preferred actions are used by the `auto fix` command and can be targeted by keybindings. -/ + isPreferred? : Option Bool := none + /-- Marks that the code action cannot currently be applied. -/ + disabled? : Option CodeActionDisabled := none + /-- The workspace edit this code action performs. -/ + edit? : Option WorkspaceEdit := none + /-- A command this code action executes. + + If a code action provides an edit and a command, first the edit is executed and then the command. -/ + command? : Option Command := none + /-- A data entry field that is preserved on a code action between a `textDocument/codeAction` and a `codeAction/resolve` request. + In particular, for Lean-created commands we expect `data` to have a `uri : DocumentUri` field so that `FileSource` can be implemented. + -/ + data? : Option CodeActionData := none + deriving ToJson, FromJson + +structure ResolveSupport where + properties : Array String + deriving FromJson, ToJson + +structure CodeActionLiteralSupportValueSet where + /-- The code action kind values the client supports. When this + property exists the client also guarantees that it will + handle values outside its set gracefully and falls back + to a default value when unknown. + -/ + valueSet : Array CodeActionKind + deriving FromJson, ToJson + +structure CodeActionLiteralSupport where + /-- The code action kind is supported with the following value set. -/ + codeActionKind : CodeActionLiteralSupportValueSet + deriving FromJson, ToJson + +/-- [Reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#codeActionClientCapabilities) -/ +structure CodeActionClientCapabilities where + /-- Whether we can [register capabilities dynamically](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#client_registerCapability). -/ + dynamicRegistration? : Option Bool := false + /-- Whether the code action supports the `isPreferred` property. -/ + isPreferredSupport? : Option Bool := false + /-- Whether the code action supports the `disabled` property. -/ + disabledSupport? : Option Bool := false + /-- Weather code action supports the `data` property which is preserved between a `textDocument/codeAction` and a `codeAction/resolve` request. -/ + dataSupport? : Option Bool := false + /-- Whether the client honors the change annotations in + text edits and resource operations returned via the + `CodeAction#edit` property by for example presenting + the workspace edit in the user interface and asking + for confirmation. -/ + honorsChangeAnnotations? : Option Bool := false + /-- The client supports code action literals as a valid response of the `textDocument/codeAction` request. -/ + codeActionLiteralSupport? : Option CodeActionLiteralSupport := none + /-- Whether the client supports resolving additional code action properties via a separate `codeAction/resolve` request. -/ + resolveSupport? : Option ResolveSupport := none + deriving FromJson, ToJson + + +end Lean.Lsp diff --git a/stage0/src/Lean/Data/Lsp/Diagnostics.lean b/stage0/src/Lean/Data/Lsp/Diagnostics.lean index f11525c932..43bcca9fb3 100644 --- a/stage0/src/Lean/Data/Lsp/Diagnostics.lean +++ b/stage0/src/Lean/Data/Lsp/Diagnostics.lean @@ -11,7 +11,11 @@ import Lean.Data.Lsp.Utf16 import Lean.Message /-! Definitions and functionality for emitting diagnostic information -such as errors, warnings and #command outputs from the LSP server. -/ +such as errors, warnings and #command outputs from the LSP server. + +[LSP: Diagnostic](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic); +[LSP: `textDocument/publishDiagnostics`](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_publishDiagnostics) +-/ namespace Lean namespace Lsp @@ -36,6 +40,7 @@ instance : ToJson DiagnosticSeverity := ⟨fun | DiagnosticSeverity.information => 3 | DiagnosticSeverity.hint => 4⟩ +/-- Some languages have specific codes for each error type. -/ inductive DiagnosticCode where | int (i : Int) | string (s : String) @@ -50,8 +55,11 @@ instance : ToJson DiagnosticCode := ⟨fun | DiagnosticCode.int i => i | DiagnosticCode.string s => s⟩ +/-- Tags representing additional metadata about the diagnostic. -/ inductive DiagnosticTag where + /-- Unused or unnecessary code. Rendered as faded out eg for unused variables. -/ | unnecessary + /-- Deprecated or obsolete code. Rendered with a strike-through. -/ | deprecated deriving Inhabited, BEq @@ -65,28 +73,48 @@ instance : ToJson DiagnosticTag := ⟨fun | DiagnosticTag.unnecessary => (1 : Nat) | DiagnosticTag.deprecated => (2 : Nat)⟩ +/-- Represents a related message and source code location for a diagnostic. + This should be used to point to code locations that cause or are related to + a diagnostics, e.g when duplicating a symbol in a scope. -/ structure DiagnosticRelatedInformation where location : Location message : String deriving Inhabited, BEq, ToJson, FromJson +/-- Represents a diagnostic, such as a compiler error or warning. Diagnostic objects are only valid in the scope of a resource. + +LSP accepts a `Diagnostic := DiagnosticWith String`. +The infoview also accepts `InteractiveDiagnostic := DiagnosticWith (TaggedText MsgEmbed)`. + +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#diagnostic) -/ structure DiagnosticWith (α : Type) where + /-- The range at which the message applies. -/ range : Range /-- Extension: preserve semantic range of errors when truncating them for display purposes. -/ - fullRange : Range := range + fullRange? : Option Range := some range severity? : Option DiagnosticSeverity := none + /-- The diagnostic's code, which might appear in the user interface. -/ code? : Option DiagnosticCode := none + /-- A human-readable string describing the source of this diagnostic, e.g. 'typescript' or 'super lint'. -/ source? : Option String := none /-- Parametrised by the type of message data. LSP diagnostics use `String`, whereas in Lean's interactive diagnostics we use the type of widget-enriched text. See `Lean.Widget.InteractiveDiagnostic`. -/ message : α + /-- Additional metadata about the diagnostic. -/ tags? : Option (Array DiagnosticTag) := none + /-- An array of related diagnostic information, e.g. when symbol-names within a scope collide all definitions can be marked via this property. -/ relatedInformation? : Option (Array DiagnosticRelatedInformation) := none + /-- A data entry field that is preserved between a `textDocument/publishDiagnostics` notification and `textDocument/codeAction` request. -/ + data?: Option Json := none deriving Inhabited, BEq, ToJson, FromJson +def DiagnosticWith.fullRange (d : DiagnosticWith α) : Range := + d.fullRange?.getD d.range + abbrev Diagnostic := DiagnosticWith String +/-- Parameters for the [`textDocument/publishDiagnostics` notification](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_publishDiagnostics). -/ structure PublishDiagnosticsParams where uri : DocumentUri version? : Option Int := none diff --git a/stage0/src/Lean/Data/Lsp/InitShutdown.lean b/stage0/src/Lean/Data/Lsp/InitShutdown.lean index 732f9854a1..226aad600d 100644 --- a/stage0/src/Lean/Data/Lsp/InitShutdown.lean +++ b/stage0/src/Lean/Data/Lsp/InitShutdown.lean @@ -21,6 +21,10 @@ structure ClientInfo where version? : Option String := none deriving ToJson, FromJson +/-- +A TraceValue represents the level of verbosity with which the server systematically reports its execution trace using `$/logTrace` notifications. +[reference](https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#traceValue) +-/ inductive Trace where | off | messages diff --git a/stage0/src/Lean/Data/RBMap.lean b/stage0/src/Lean/Data/RBMap.lean index d63c317e30..b3c02ddb08 100644 --- a/stage0/src/Lean/Data/RBMap.lean +++ b/stage0/src/Lean/Data/RBMap.lean @@ -336,7 +336,7 @@ instance [Repr α] [Repr β] : Repr (RBMap α β cmp) where @[inline] def lowerBound : RBMap α β cmp → α → Option (Sigma (fun (_ : α) => β)) | ⟨t, _⟩, x => t.lowerBound cmp x none -/-- Returns true if the given key `a` is in the RBMap.-/ +/-- Returns true if the given key `a` is in the RBMap. -/ @[inline] def contains (t : RBMap α β cmp) (a : α) : Bool := (t.find? a).isSome @@ -371,7 +371,7 @@ def maxDepth (t : RBMap α β cmp) : Nat := | some p => p | none => panic! "map is empty" -/-- Attempts to find the value with key `k : α` in `t` and panics if there is no such key.-/ +/-- Attempts to find the value with key `k : α` in `t` and panics if there is no such key. -/ @[inline] def find! [Inhabited β] (t : RBMap α β cmp) (k : α) : β := match t.find? k with | some b => b diff --git a/stage0/src/Lean/Elab/AuxDef.lean b/stage0/src/Lean/Elab/AuxDef.lean index d662cdab6a..e0661c5ab7 100644 --- a/stage0/src/Lean/Elab/AuxDef.lean +++ b/stage0/src/Lean/Elab/AuxDef.lean @@ -28,5 +28,5 @@ def elabAuxDef : CommandElab let id := id.replacePrefix ns Name.anonymous -- TODO: replace with def _root_.id elabCommand <| ← `($[$doc?:docComment]? $[$attrs?:attributes]? - def $(mkIdentFrom (mkNullNode suggestion) id):ident : $ty := $body) + def $(mkIdentFrom (mkNullNode suggestion) id (canonical := true)):ident : $ty := $body) | _ => throwUnsupportedSyntax diff --git a/stage0/src/Lean/Elab/Binders.lean b/stage0/src/Lean/Elab/Binders.lean index 1225a6c41e..d6546dc059 100644 --- a/stage0/src/Lean/Elab/Binders.lean +++ b/stage0/src/Lean/Elab/Binders.lean @@ -27,7 +27,7 @@ private def expandBinderType (ref : Syntax) (stx : Syntax) : Syntax := /-- Given syntax of the form `ident <|> hole`, return `ident`. If `hole`, then we create a new anonymous name. -/ private def expandBinderIdent (stx : Syntax) : TermElabM Syntax := match stx with - | `(_) => mkFreshIdent stx + | `(_) => mkFreshIdent stx (canonical := true) | _ => pure stx /-- Given syntax of the form `(ident >> " : ")?`, return `ident`, or a new instance name. -/ @@ -715,7 +715,7 @@ def elabLetDeclCore (stx : Syntax) (expectedType? : Option Expr) (useLetExpr : B let val := letDecl[4] if pat.getKind == ``Parser.Term.hole then -- `let _ := ...` should not be treated at a `letIdDecl` - let id := mkIdentFrom pat `_ + let id ← mkFreshIdent pat (canonical := true) let type := expandOptType id optType elabLetDeclAux id #[] type val body expectedType? useLetExpr elabBodyFirst usedLetOnly else diff --git a/stage0/src/Lean/Elab/BuiltinNotation.lean b/stage0/src/Lean/Elab/BuiltinNotation.lean index ef5f090f05..bb6a163876 100644 --- a/stage0/src/Lean/Elab/BuiltinNotation.lean +++ b/stage0/src/Lean/Elab/BuiltinNotation.lean @@ -49,14 +49,14 @@ open Meta if args.size < numExplicitFields then throwError "invalid constructor ⟨...⟩, insufficient number of arguments, constructs '{ctor}' has #{numExplicitFields} explicit fields, but only #{args.size} provided" let newStx ← if args.size == numExplicitFields then - `($(mkCIdentFrom stx ctor) $(args)*) + `($(mkCIdentFrom stx ctor (canonical := true)) $(args)*) else if numExplicitFields == 0 then throwError "invalid constructor ⟨...⟩, insufficient number of arguments, constructs '{ctor}' does not have explicit fields, but #{args.size} provided" else let extra := args[numExplicitFields-1:args.size] let newLast ← `(⟨$[$extra],*⟩) let newArgs := args[0:numExplicitFields-1].toArray.push newLast - `($(mkCIdentFrom stx ctor) $(newArgs)*) + `($(mkCIdentFrom stx ctor (canonical := true)) $(newArgs)*) withMacroExpansion stx newStx $ elabTerm newStx expectedType? | _ => throwError "invalid constructor ⟨...⟩, expected type must be an inductive type with only one constructor {indentExpr expectedType}") | none => throwError "invalid constructor ⟨...⟩, expected type must be known" @@ -74,19 +74,18 @@ open Meta | _ => Macro.throwUnsupported @[builtinMacro Lean.Parser.Term.have] def expandHave : Macro := fun stx => - let thisId := mkIdentFrom stx `this match stx with | `(have $x $bs* $[: $type]? := $val; $body) => `(let_fun $x $bs* $[: $type]? := $val; $body) - | `(have $[: $type]? := $val; $body) => `(have $thisId $[: $type]? := $val; $body) + | `(have%$tk $[: $type]? := $val; $body) => `(have $(mkIdentFrom tk `this (canonical := true)) $[: $type]? := $val; $body) | `(have $x $bs* $[: $type]? $alts; $body) => `(let_fun $x $bs* $[: $type]? $alts; $body) - | `(have $[: $type]? $alts:matchAlts; $body) => `(have $thisId $[: $type]? $alts:matchAlts; $body) + | `(have%$tk $[: $type]? $alts:matchAlts; $body) => `(have $(mkIdentFrom tk `this (canonical := true)) $[: $type]? $alts:matchAlts; $body) | `(have $pattern:term $[: $type]? := $val:term; $body) => `(let_fun $pattern:term $[: $type]? := $val:term ; $body) | _ => Macro.throwUnsupported @[builtinMacro Lean.Parser.Term.suffices] def expandSuffices : Macro - | `(suffices $[$x :]? $type from $val; $body) => `(have $[$x]? : $type := $body; $val) - | `(suffices $[$x :]? $type by%$b $tac:tacticSeq; $body) => `(have $[$x]? : $type := $body; by%$b $tac) - | _ => Macro.throwUnsupported + | `(suffices%$tk $[$x :]? $type from $val; $body) => `(have%$tk $[$x]? : $type := $body; $val) + | `(suffices%$tk $[$x :]? $type by%$b $tac:tacticSeq; $body) => `(have%$tk $[$x]? : $type := $body; by%$b $tac) + | _ => Macro.throwUnsupported open Lean.Parser in private def elabParserMacroAux (prec e : Term) (withAnonymousAntiquot : Bool) : TermElabM Syntax := do diff --git a/stage0/src/Lean/Elab/Deriving/FromToJson.lean b/stage0/src/Lean/Elab/Deriving/FromToJson.lean index a6f0ad4b30..0e6bc16f63 100644 --- a/stage0/src/Lean/Elab/Deriving/FromToJson.lean +++ b/stage0/src/Lean/Elab/Deriving/FromToJson.lean @@ -103,24 +103,29 @@ where def mkFromJsonInstanceHandler (declNames : Array Name) : CommandElabM Bool := do if declNames.size == 1 then - if isStructure (← getEnv) declNames[0]! then + let declName := declNames[0]! + if isStructure (← getEnv) declName then let cmds ← liftTermElabM do - let ctx ← mkContext "fromJson" declNames[0]! + let ctx ← mkContext "fromJson" declName let header ← mkHeader ``FromJson 0 ctx.typeInfos[0]! - let fields := getStructureFieldsFlattened (← getEnv) declNames[0]! (includeSubobjectFields := false) - let jsonFields := fields.map (Prod.snd ∘ mkJsonField) + let fields := getStructureFieldsFlattened (← getEnv) declName (includeSubobjectFields := false) + let getters ← fields.mapM (fun field => do + let getter ← `(getObjValAs? j _ $(Prod.snd <| mkJsonField field)) + let getter ← `(doElem| Except.mapError (fun s => (toString $(quote declName)) ++ "." ++ (toString $(quote field)) ++ ": " ++ s) <| $getter) + return getter + ) let fields := fields.map mkIdent let cmd ← `(private def $(mkIdent ctx.auxFunNames[0]!):ident $header.binders:bracketedBinder* (j : Json) : Except String $(← mkInductiveApp ctx.typeInfos[0]! header.argNames) := do - $[let $fields:ident ← getObjValAs? j _ $jsonFields]* + $[let $fields:ident ← $getters]* return { $[$fields:ident := $(id fields)],* }) return #[cmd] ++ (← mkInstanceCmds ctx ``FromJson declNames) cmds.forM elabCommand return true else - let indVal ← getConstInfoInduct declNames[0]! + let indVal ← getConstInfoInduct declName let cmds ← liftTermElabM do - let ctx ← mkContext "fromJson" declNames[0]! + let ctx ← mkContext "fromJson" declName let header ← mkHeader ``FromJson 0 ctx.typeInfos[0]! let fromJsonFuncId := mkIdent ctx.auxFunNames[0]! let alts ← mkAlts indVal fromJsonFuncId diff --git a/stage0/src/Lean/Elab/ElabRules.lean b/stage0/src/Lean/Elab/ElabRules.lean index 1a6d6826d0..fab756a4ce 100644 --- a/stage0/src/Lean/Elab/ElabRules.lean +++ b/stage0/src/Lean/Elab/ElabRules.lean @@ -96,7 +96,7 @@ def elabElab : CommandElab let name ← match name? with | some name => pure name.getId | none => liftMacroM <| mkNameFromParserSyntax cat.getId (mkNullNode stxParts) - let nameId := name?.getD (mkIdentFrom tk name) + let nameId := name?.getD (mkIdentFrom tk name (canonical := true)) let pat := ⟨mkNode ((← getCurrNamespace) ++ name) patArgs⟩ elabCommand <|← `( $[$doc?:docComment]? $[@[$attrs?,*]]? $attrKind:attrKind diff --git a/stage0/src/Lean/Elab/Macro.lean b/stage0/src/Lean/Elab/Macro.lean index 00108fba88..2148877203 100644 --- a/stage0/src/Lean/Elab/Macro.lean +++ b/stage0/src/Lean/Elab/Macro.lean @@ -25,7 +25,10 @@ open Lean.Parser.Command So, we must include current namespace when we create a pattern for the following `macro_rules` commands. -/ let pat := ⟨mkNode ((← getCurrNamespace) ++ name) patArgs⟩ let stxCmd ← `($[$doc?:docComment]? $[@[$attrs?,*]]? $attrKind:attrKind - syntax$[:$prec?]? (name := $(name?.getD (mkIdentFrom tk name))) (priority := $(quote prio):num) $[$stxParts]* : $cat) + syntax$[:$prec?]? + (name := $(name?.getD (mkIdentFrom tk name (canonical := true)))) + (priority := $(quote prio):num) + $[$stxParts]* : $cat) let rhs := rhs.raw let macroRulesCmd ← if rhs.getArgs.size == 1 then -- `rhs` is a `term` diff --git a/stage0/src/Lean/Elab/MacroArgUtil.lean b/stage0/src/Lean/Elab/MacroArgUtil.lean index 16e84d9dbc..1b84aeaac1 100644 --- a/stage0/src/Lean/Elab/MacroArgUtil.lean +++ b/stage0/src/Lean/Elab/MacroArgUtil.lean @@ -20,13 +20,12 @@ partial def expandMacroArg (stx : TSyntax ``macroArg) : CommandElabM (TSyntax `s where mkSyntaxAndPat (id? : Option Ident) (id : Term) (stx : TSyntax `stx) := do let pat ← match stx with - | `(stx| $s:str) => pure ⟨mkNode `token_antiquot #[← liftMacroM <| strLitToPattern s, mkAtom "%", mkAtom "$", id]⟩ + | `(stx| $s:str) | `(stx| &$s:str) => pure ⟨mkNode `token_antiquot #[← liftMacroM <| strLitToPattern s, mkAtom "%", mkAtom "$", id]⟩ | `(stx| optional($stx)) => mkSplicePat `optional stx id "?" - | `(stx| many($stx)) => mkSplicePat `many stx id "*" + | `(stx| many($stx)) | `(stx| many1($stx)) => mkSplicePat `many stx id "*" - | `(stx| sepBy($stx, $sep:str $[, $stxsep]? $[, allowTrailingSep]?)) => - mkSplicePat `sepBy stx id ((isStrLit? sep).get! ++ "*") + | `(stx| sepBy($stx, $sep:str $[, $stxsep]? $[, allowTrailingSep]?)) | `(stx| sepBy1($stx, $sep:str $[, $stxsep]? $[, allowTrailingSep]?)) => mkSplicePat `sepBy stx id ((isStrLit? sep).get! ++ "*") -- NOTE: all `interpolatedStr(·)` reuse the same node kind diff --git a/stage0/src/Lean/Elab/MacroRules.lean b/stage0/src/Lean/Elab/MacroRules.lean index aa61889682..30110f74d6 100644 --- a/stage0/src/Lean/Elab/MacroRules.lean +++ b/stage0/src/Lean/Elab/MacroRules.lean @@ -43,7 +43,7 @@ def elabMacroRulesAux (doc? : Option (TSyntax ``docComment)) | some attrs => attrs.getElems.push attr | none => #[attr] `($[$doc?:docComment]? @[$attrs,*] - aux_def macroRules $(mkIdentFrom tk k) : Macro := + aux_def macroRules $(mkIdentFrom tk k (canonical := true)) : Macro := fun $alts:matchAlt* | _ => no_error_if_unused% throw Lean.Macro.Exception.unsupportedSyntax) @[builtinCommandElab «macro_rules»] def elabMacroRules : CommandElab := @@ -60,7 +60,7 @@ def elabMacroRulesAux (doc? : Option (TSyntax ``docComment)) | some attrs => attrs.getElems.push attr | none => #[attr] `($[$doc?:docComment]? @[$attrs,*] - aux_def $(mkIdentFrom tk kind.getId) $kind : Macro := fun $x:ident => $rhs) + aux_def $(mkIdentFrom tk kind.getId (canonical := true)) $kind : Macro := fun $x:ident => $rhs) | `($[$doc?:docComment]? $[@[$attrs?,*]]? $attrKind:attrKind macro_rules%$tk (kind := $kind) $alts:matchAlt*) => withRef (mkNullNode #[tk, mkNullNode alts]) do elabMacroRulesAux doc? attrs? attrKind tk (← resolveSyntaxKind kind.getId) alts diff --git a/stage0/src/Lean/Elab/Quotation.lean b/stage0/src/Lean/Elab/Quotation.lean index 8591068a69..9cdf1a7512 100644 --- a/stage0/src/Lean/Elab/Quotation.lean +++ b/stage0/src/Lean/Elab/Quotation.lean @@ -133,7 +133,7 @@ private partial def quoteSyntax : Syntax → TermElabM Term `(@TSyntax.raw $(quote <| ks.map (·.1)) $(getAntiquotTerm (getCanonicalAntiquot stx))) else if isTokenAntiquot stx && !isEscapedAntiquot stx then match stx[0] with - | Syntax.atom _ val => `(Syntax.atom (SourceInfo.fromRef $(getAntiquotTerm stx)) $(quote val)) + | Syntax.atom _ val => `(Syntax.atom (SourceInfo.fromRef $(getAntiquotTerm stx) (canonical := true)) $(quote val)) | _ => throwErrorAt stx "expected token" else if isAntiquotSuffixSplice stx && !isEscapedAntiquot (getCanonicalAntiquot (getAntiquotSuffixSpliceInner stx)) then -- splices must occur in a `many` node @@ -194,8 +194,7 @@ def addNamedQuotInfo (stx : Syntax) (k : SyntaxNodeKind) : TermElabM SyntaxNodeK if s.length > 3 then if let (some l, some r) := (stx[0].getPos? true, stx[0].getTailPos? true) then -- HACK: The atom is the string "`(foo|", so chop off the edges. - -- HACK: We have to use .original here or the hover won't show up - let name := stx[0].setInfo <| .original default ⟨l.1 + 2⟩ default ⟨r.1 - 1⟩ + let name := stx[0].setInfo <| .synthetic ⟨l.1 + 2⟩ ⟨r.1 - 1⟩ (canonical := true) tryAddSyntaxNodeKindInfo name k pure k diff --git a/stage0/src/Lean/Elab/Structure.lean b/stage0/src/Lean/Elab/Structure.lean index bc4a1af71e..e60d2f575c 100644 --- a/stage0/src/Lean/Elab/Structure.lean +++ b/stage0/src/Lean/Elab/Structure.lean @@ -824,7 +824,7 @@ private def elabStructureView (view : StructView) : TermElabM Unit := do pure (info.isSubobject && decl.binderInfo.isInstImplicit) withSaveInfoContext do -- save new env Term.addLocalVarInfo view.ref[1] (← mkConstWithLevelParams view.declName) - if let some _ := view.ctor.ref[1].getPos? (originalOnly := true) then + if let some _ := view.ctor.ref[1].getPos? (canonicalOnly := true) then Term.addTermInfo' view.ctor.ref[1] (← mkConstWithLevelParams view.ctor.declName) (isBinder := true) for field in view.fields do -- may not exist if overriding inherited field diff --git a/stage0/src/Lean/Elab/Syntax.lean b/stage0/src/Lean/Elab/Syntax.lean index eb42dedbd7..86c50d586b 100644 --- a/stage0/src/Lean/Elab/Syntax.lean +++ b/stage0/src/Lean/Elab/Syntax.lean @@ -280,7 +280,7 @@ private def declareSyntaxCatQuotParser (catName : Name) : CommandElabM Unit := d let attrName := catName.appendAfter "Parser" let catDeclName := ``Lean.Parser.Category ++ catName setEnv (← Parser.registerParserCategory (← getEnv) attrName catName catBehavior catDeclName) - let cmd ← `($[$docString?]? def $(mkIdentFrom stx[2] (`_root_ ++ catDeclName)) : Lean.Parser.Category := {}) + let cmd ← `($[$docString?]? def $(mkIdentFrom stx[2] (`_root_ ++ catDeclName) (canonical := true)) : Lean.Parser.Category := {}) declareSyntaxCatQuotParser catName elabCommand cmd @@ -362,7 +362,7 @@ def resolveSyntaxKind (k : Name) : CommandElabM Name := do let stxNodeKind := (← getCurrNamespace) ++ name let catParserId := mkIdentFrom idRef (cat.appendAfter "Parser") let (val, lhsPrec?) ← runTermElabM fun _ => Term.toParserDescr syntaxParser cat - let declName := name?.getD (mkIdentFrom idRef name) + let declName := name?.getD (mkIdentFrom idRef name (canonical := true)) let attrInstance ← `(attrInstance| $attrKind:attrKind $catParserId:ident $(quote prio):num) let attrInstances := attrInstances.getD { elemsAndSeps := #[] } let attrInstances := attrInstances.push attrInstance diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean b/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean index 30efd06af7..42ca3eb343 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Basic.lean @@ -12,20 +12,31 @@ import Lean.Elab.Tactic.BuiltinTactic namespace Lean.Elab.Tactic.Conv open Meta +/-- +Annotate `e` with the LHS annotation. The delaborator displays +expressions of the form `lhs = rhs` as `lhs` when they have this annotation. +This is used to implement the infoview for the `conv` mode. +-/ +def mkLHSGoal (e : Expr) : MetaM Expr := + if let some _ := Expr.eq? e then + return mkLHSGoalRaw e + else + return mkLHSGoalRaw (← whnf e) + /-- Given `lhs`, returns a pair of metavariables `(?rhs, ?newGoal)` -where `?newGoal : lhs = ?rhs`.-/ -def mkConvGoalFor (lhs : Expr) : MetaM (Expr × Expr) := do +where `?newGoal : lhs = ?rhs`. `tag` is the name of `newGoal`. -/ +def mkConvGoalFor (lhs : Expr) (tag : Name := .anonymous) : MetaM (Expr × Expr) := do let lhsType ← inferType lhs let rhs ← mkFreshExprMVar lhsType - let targetNew := mkLHSGoal (← mkEq lhs rhs) - let newGoal ← mkFreshExprSyntheticOpaqueMVar targetNew + let targetNew := mkLHSGoalRaw (← mkEq lhs rhs) + let newGoal ← mkFreshExprSyntheticOpaqueMVar targetNew tag return (rhs, newGoal) def markAsConvGoal (mvarId : MVarId) : MetaM MVarId := do let target ← mvarId.getType if isLHSGoal? target |>.isSome then return mvarId -- it is already tagged as LHS goal - mvarId.replaceTargetDefEq (mkLHSGoal (← mvarId.getType)) + mvarId.replaceTargetDefEq (← mkLHSGoal (← mvarId.getType)) /-- Given `lhs`, runs the `conv` tactic with the goal `⊢ lhs = ?rhs`. `conv` should produce no remaining goals that are not solvable with refl. @@ -62,16 +73,17 @@ def getRhs : TacticM Expr := /-- `⊢ lhs = rhs` ~~> `⊢ lhs' = rhs` using `h : lhs = lhs'`. -/ def updateLhs (lhs' : Expr) (h : Expr) : TacticM Unit := do + let mvarId ← getMainGoal let rhs ← getRhs - let newGoal ← mkFreshExprSyntheticOpaqueMVar (mkLHSGoal (← mkEq lhs' rhs)) - (← getMainGoal).assign (← mkEqTrans h newGoal) + let newGoal ← mkFreshExprSyntheticOpaqueMVar (mkLHSGoalRaw (← mkEq lhs' rhs)) (← mvarId.getTag) + mvarId.assign (← mkEqTrans h newGoal) replaceMainGoal [newGoal.mvarId!] /-- Replace `lhs` with the definitionally equal `lhs'`. -/ def changeLhs (lhs' : Expr) : TacticM Unit := do let rhs ← getRhs liftMetaTactic1 fun mvarId => do - mvarId.replaceTargetDefEq (mkLHSGoal (← mkEq lhs' rhs)) + mvarId.replaceTargetDefEq (mkLHSGoalRaw (← mkEq lhs' rhs)) @[builtinTactic Lean.Parser.Tactic.Conv.whnf] def evalWhnf : Tactic := fun _ => withMainContext do @@ -124,7 +136,7 @@ def remarkAsConvGoal : TacticM Unit := do let target ← mvarId.getType if let some (_, _, rhs) ← matchEq? target then if rhs.getAppFn.isMVar then - mvarId.replaceTargetDefEq (mkLHSGoal target) + mvarId.replaceTargetDefEq (← mkLHSGoal target) else return mvarId else @@ -143,6 +155,9 @@ def remarkAsConvGoal : TacticM Unit := do mvarId.replaceTargetDefEq target.mdataExpr! focus do evalTactic seq; remarkAsConvGoal +@[builtinTactic Lean.Parser.Tactic.Conv.convTactic] def evalConvTactic : Tactic := fun stx => + evalTactic stx[2] + private def convTarget (conv : Syntax) : TacticM Unit := withMainContext do let target ← getMainTarget let (targetNew, proof) ← convert target (withTacticInfoContext (← getRef) (evalTactic conv)) diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean b/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean index 15373d736d..0c78c1e167 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Congr.lean @@ -22,7 +22,9 @@ private def isImplies (e : Expr) : MetaM Bool := else return false -def congr (mvarId : MVarId) (addImplicitArgs := false) : MetaM (List (Option MVarId)) := mvarId.withContext do +def congr (mvarId : MVarId) (addImplicitArgs := false) (nameSubgoals := true) : + MetaM (List (Option MVarId)) := mvarId.withContext do + let origTag ← mvarId.getTag let (lhs, rhs) ← getLhsRhsCore mvarId let lhs := (← instantiateMVars lhs).cleanupAnnotations if (← isImplies lhs) then @@ -47,7 +49,10 @@ def congr (mvarId : MVarId) (addImplicitArgs := false) : MetaM (List (Option MVa mvarIdsNew := mvarIdsNew.push none | .eq => if addImplicitArgs || argInfo.isExplicit then - let (rhs, mvarNew) ← mkConvGoalFor arg; + let tag ← if nameSubgoals then + pure (origTag ++ (← whnf (← inferType proof)).bindingName!) + else pure origTag + let (rhs, mvarNew) ← mkConvGoalFor arg tag proof := mkApp3 proof arg rhs mvarNew mvarIdsNew := mvarIdsNew.push (some mvarNew.mvarId!) else @@ -89,11 +94,11 @@ private def selectIdx (tacticName : String) (mvarIds : List (Option MVarId)) (i @[builtinTactic Lean.Parser.Tactic.Conv.skip] def evalSkip : Tactic := fun _ => pure () @[builtinTactic Lean.Parser.Tactic.Conv.lhs] def evalLhs : Tactic := fun _ => do - let mvarIds ← congr (← getMainGoal) + let mvarIds ← congr (← getMainGoal) (nameSubgoals := false) selectIdx "lhs" mvarIds ((mvarIds.length : Int) - 2) @[builtinTactic Lean.Parser.Tactic.Conv.rhs] def evalRhs : Tactic := fun _ => do - let mvarIds ← congr (← getMainGoal) + let mvarIds ← congr (← getMainGoal) (nameSubgoals := false) selectIdx "rhs" mvarIds ((mvarIds.length : Int) - 1) @[builtinTactic Lean.Parser.Tactic.Conv.arg] def evalArg : Tactic := fun stx => do @@ -103,7 +108,7 @@ private def selectIdx (tacticName : String) (mvarIds : List (Option MVarId)) (i if i == 0 then throwError "invalid 'arg' conv tactic, index must be greater than 0" let i := i - 1 - let mvarIds ← congr (← getMainGoal) (addImplicitArgs := tk?.isSome) + let mvarIds ← congr (← getMainGoal) (addImplicitArgs := tk?.isSome) (nameSubgoals := false) selectIdx "arg" mvarIds i | _ => throwUnsupportedSyntax diff --git a/stage0/src/Lean/Elab/Tactic/Conv/Simp.lean b/stage0/src/Lean/Elab/Tactic/Conv/Simp.lean index 34f479de08..2321e7caae 100644 --- a/stage0/src/Lean/Elab/Tactic/Conv/Simp.lean +++ b/stage0/src/Lean/Elab/Tactic/Conv/Simp.lean @@ -1,7 +1,7 @@ /- Copyright (c) 2021 Microsoft Corporation. All rights reserved. Released under Apache 2.0 license as described in the file LICENSE. -Authors: Leonardo de Moura +Authors: Leonardo de Moura, Moritz Doll -/ import Lean.Elab.Tactic.Simp import Lean.Elab.Tactic.Split @@ -25,4 +25,8 @@ def applySimpResult (result : Simp.Result) : TacticM Unit := do @[builtinTactic Lean.Parser.Tactic.Conv.simpMatch] def evalSimpMatch : Tactic := fun _ => withMainContext do applySimpResult (← Split.simpMatch (← getLhs)) +@[builtinTactic Lean.Parser.Tactic.Conv.dsimp] def evalDSimp : Tactic := fun stx => withMainContext do + let { ctx, .. } ← mkSimpContext stx (eraseLocal := false) (kind := .dsimp) + changeLhs (← Lean.Meta.dsimp (← getLhs) ctx).1 + end Lean.Elab.Tactic.Conv diff --git a/stage0/src/Lean/Elab/Term.lean b/stage0/src/Lean/Elab/Term.lean index 39854ee9bc..49c4c4d28b 100644 --- a/stage0/src/Lean/Elab/Term.lean +++ b/stage0/src/Lean/Elab/Term.lean @@ -588,8 +588,8 @@ def mkFreshBinderName [Monad m] [MonadQuotation m] : m Name := Auxiliary method for creating a `Syntax.ident` containing a fresh name. This method is intended for creating fresh binder names. It is just a thin layer on top of `mkFreshUserName`. -/ -def mkFreshIdent [Monad m] [MonadQuotation m] (ref : Syntax) : m Syntax := - return mkIdentFrom ref (← mkFreshBinderName) +def mkFreshIdent [Monad m] [MonadQuotation m] (ref : Syntax) (canonical := false) : m Syntax := + return mkIdentFrom ref (← mkFreshBinderName) canonical private def applyAttributesCore (declName : Name) (attrs : Array Attribute) diff --git a/stage0/src/Lean/Environment.lean b/stage0/src/Lean/Environment.lean index 1292d4a352..7767c4b740 100644 --- a/stage0/src/Lean/Environment.lean +++ b/stage0/src/Lean/Environment.lean @@ -423,12 +423,15 @@ def addEntry {α β σ : Type} (ext : PersistentEnvExtension α β σ) (env : En let state := ext.addEntryFn s.state b; { s with state := state } +/-- Get the current state of the given extension in the given environment. -/ def getState {α β σ : Type} [Inhabited σ] (ext : PersistentEnvExtension α β σ) (env : Environment) : σ := (ext.toEnvExtension.getState env).state +/-- Set the current state of the given extension in the given environment. This change is *not* persisted across files. -/ def setState {α β σ : Type} (ext : PersistentEnvExtension α β σ) (env : Environment) (s : σ) : Environment := ext.toEnvExtension.modifyState env fun ps => { ps with state := s } +/-- Modify the state of the given extension in the given environment by applying the given function. This change is *not* persisted across files. -/ def modifyState {α β σ : Type} (ext : PersistentEnvExtension α β σ) (env : Environment) (f : σ → σ) : Environment := ext.toEnvExtension.modifyState env fun ps => { ps with state := f (ps.state) } @@ -505,9 +508,11 @@ def getEntries {α σ : Type} [Inhabited σ] (ext : SimplePersistentEnvExtension def getState {α σ : Type} [Inhabited σ] (ext : SimplePersistentEnvExtension α σ) (env : Environment) : σ := (PersistentEnvExtension.getState ext env).2 +/-- Set the current state of the given `SimplePersistentEnvExtension`. This change is *not* persisted across files. -/ def setState {α σ : Type} (ext : SimplePersistentEnvExtension α σ) (env : Environment) (s : σ) : Environment := PersistentEnvExtension.modifyState ext env (fun ⟨entries, _⟩ => (entries, s)) +/-- Modify the state of the given extension in the given environment by applying the given function. This change is *not* persisted across files. -/ def modifyState {α σ : Type} (ext : SimplePersistentEnvExtension α σ) (env : Environment) (f : σ → σ) : Environment := PersistentEnvExtension.modifyState ext env (fun ⟨entries, s⟩ => (entries, f s)) diff --git a/stage0/src/Lean/Expr.lean b/stage0/src/Lean/Expr.lean index ecc8bb50f4..6c8bb8bc52 100644 --- a/stage0/src/Lean/Expr.lean +++ b/stage0/src/Lean/Expr.lean @@ -1774,11 +1774,13 @@ def patternAnnotation? (e : Expr) : Option Expr := Annotate `e` with the LHS annotation. The delaborator displays expressions of the form `lhs = rhs` as `lhs` when they have this annotation. This is used to implement the infoview for the `conv` mode. + +This version of `mkLHSGoal` does not check that the argument is an equality. -/ -def mkLHSGoal (e : Expr) : Expr := +def mkLHSGoalRaw (e : Expr) : Expr := mkAnnotation `_lhsGoal e -/-- Return `some lhs` if `e = mkLHGoal e'`, where `e'` is of the form `lhs = rhs`. -/ +/-- Return `some lhs` if `e = mkLHSGoal e'`, where `e'` is of the form `lhs = rhs`. -/ def isLHSGoal? (e : Expr) : Option Expr := match annotation? `_lhsGoal e with | none => none diff --git a/stage0/src/Lean/Linter/UnusedVariables.lean b/stage0/src/Lean/Linter/UnusedVariables.lean index 0766abeaa8..89e468c94a 100644 --- a/stage0/src/Lean/Linter/UnusedVariables.lean +++ b/stage0/src/Lean/Linter/UnusedVariables.lean @@ -102,7 +102,6 @@ builtin_initialize addBuiltinUnusedVariablesIgnoreFn (fun _ stack opts => (stx.isOfKind ``Lean.Parser.Term.matchAlt && pos == 1) || (stx.isOfKind ``Lean.Parser.Tactic.inductionAltLHS && pos == 2)) - builtin_initialize unusedVariablesIgnoreFnsExt : SimplePersistentEnvExtension Name Unit ← registerSimplePersistentEnvExtension { name := `unusedVariablesIgnoreFns diff --git a/stage0/src/Lean/LocalContext.lean b/stage0/src/Lean/LocalContext.lean index d6fd86d9d6..6d0e2785f4 100644 --- a/stage0/src/Lean/LocalContext.lean +++ b/stage0/src/Lean/LocalContext.lean @@ -203,7 +203,6 @@ def erase (lctx : LocalContext) (fvarId : FVarId) : LocalContext := | none => lctx | some decl => { fvarIdToDecl := map.erase fvarId, decls := popTailNoneAux (decls.set decl.index none) } -@[export lean_local_ctx_pop] def pop (lctx : LocalContext): LocalContext := match lctx with | { fvarIdToDecl := map, decls := decls } => @@ -212,14 +211,12 @@ def pop (lctx : LocalContext): LocalContext := | none => lctx -- unreachable | some decl => { fvarIdToDecl := map.erase decl.fvarId, decls := popTailNoneAux decls.pop } -@[export lean_local_ctx_find_from_user_name] def findFromUserName? (lctx : LocalContext) (userName : Name) : Option LocalDecl := lctx.decls.findSomeRev? fun decl => match decl with | none => none | some decl => if decl.userName == userName then some decl else none -@[export lean_local_ctx_uses_user_name] def usesUserName (lctx : LocalContext) (userName : Name) : Bool := (lctx.findFromUserName? userName).isSome @@ -228,13 +225,11 @@ private partial def getUnusedNameAux (lctx : LocalContext) (suggestion : Name) ( if lctx.usesUserName curr then getUnusedNameAux lctx suggestion (i + 1) else (curr, i + 1) -@[export lean_local_ctx_get_unused_name] def getUnusedName (lctx : LocalContext) (suggestion : Name) : Name := let suggestion := suggestion.eraseMacroScopes if lctx.usesUserName suggestion then (getUnusedNameAux lctx suggestion 1).1 else suggestion -@[export lean_local_ctx_last_decl] def lastDecl (lctx : LocalContext) : Option LocalDecl := lctx.decls.get! (lctx.decls.size - 1) @@ -244,7 +239,6 @@ def setUserName (lctx : LocalContext) (fvarId : FVarId) (userName : Name) : Loca { fvarIdToDecl := lctx.fvarIdToDecl.insert decl.fvarId decl, decls := lctx.decls.set decl.index decl } -@[export lean_local_ctx_rename_user_name] def renameUserName (lctx : LocalContext) (fromName : Name) (toName : Name) : LocalContext := match lctx with | { fvarIdToDecl := map, decls := decls } => @@ -276,7 +270,6 @@ def setBinderInfo (lctx : LocalContext) (fvarId : FVarId) (bi : BinderInfo) : Lo def numIndices (lctx : LocalContext) : Nat := lctx.decls.size -@[export lean_local_ctx_get] def getAt? (lctx : LocalContext) (i : Nat) : Option LocalDecl := lctx.decls.get! i diff --git a/stage0/src/Lean/Message.lean b/stage0/src/Lean/Message.lean index 43dc3da5ba..1f3eb81077 100644 --- a/stage0/src/Lean/Message.lean +++ b/stage0/src/Lean/Message.lean @@ -29,11 +29,15 @@ structure MessageDataContext where lctx : LocalContext opts : Options +/-- A naming context is the information needed to shorten names in pretty printing. + +It gives the current namespace and the list of open declarations. +-/ structure NamingContext where currNamespace : Name openDecls : List OpenDecl -/- Structure message data. We use it for reporting errors, trace messages, etc. -/ +/-- Structured message data. We use it for reporting errors, trace messages, etc. -/ inductive MessageData where | ofFormat : Format → MessageData | ofSyntax : Syntax → MessageData @@ -41,17 +45,17 @@ inductive MessageData where | ofLevel : Level → MessageData | ofName : Name → MessageData | ofGoal : MVarId → MessageData - /- `withContext ctx d` specifies the pretty printing context `(env, mctx, lctx, opts)` for the nested expressions in `d`. -/ - | withContext : MessageDataContext → MessageData → MessageData + /-- `withContext ctx d` specifies the pretty printing context `(env, mctx, lctx, opts)` for the nested expressions in `d`. -/ + | withContext : MessageDataContext → MessageData → MessageData | withNamingContext : NamingContext → MessageData → MessageData - /- Lifted `Format.nest` -/ - | nest : Nat → MessageData → MessageData - /- Lifted `Format.group` -/ - | group : MessageData → MessageData - /- Lifted `Format.compose` -/ - | compose : MessageData → MessageData → MessageData - /- Tagged sections. `Name` should be viewed as a "kind", and is used by `MessageData` inspector functions. - Example: an inspector that tries to find "definitional equality failures" may look for the tag "DefEqFailure". -/ + /-- Lifted `Format.nest` -/ + | nest : Nat → MessageData → MessageData + /-- Lifted `Format.group` -/ + | group : MessageData → MessageData + /-- Lifted `Format.compose` -/ + | compose : MessageData → MessageData → MessageData + /-- Tagged sections. `Name` should be viewed as a "kind", and is used by `MessageData` inspector functions. + Example: an inspector that tries to find "definitional equality failures" may look for the tag "DefEqFailure". -/ | tagged : Name → MessageData → MessageData | trace (cls : Name) (msg : MessageData) (children : Array MessageData) (collapsed : Bool := false) @@ -59,7 +63,8 @@ inductive MessageData where namespace MessageData -partial def isEmpty : MessageData → Bool +/-- Determines whether the message contains any content. -/ +def isEmpty : MessageData → Bool | ofFormat f => f.isEmpty | withContext _ m => m.isEmpty | withNamingContext _ m => m.isEmpty @@ -69,7 +74,7 @@ partial def isEmpty : MessageData → Bool | tagged _ m => m.isEmpty | _ => false -/- Instantiate metavariables occurring in nexted `ofExpr` constructors. +/-- Instantiate metavariables occurring in nexted `ofExpr` constructors. It uses the surrounding `MetavarContext` at `withContext` constructors. -/ partial def instantiateMVars (msg : MessageData) : MessageData := @@ -88,6 +93,7 @@ where | _ => msg variable (p : Name → Bool) in +/-- Returns true when the message contains a `MessageData.tagged tag ..` constructor where `p tag` is true. -/ partial def hasTag : MessageData → Bool | withContext _ msg => hasTag msg | withNamingContext _ msg => hasTag msg @@ -98,13 +104,16 @@ partial def hasTag : MessageData → Bool | trace cls msg msgs _ => p cls || hasTag msg || msgs.any hasTag | _ => false +/-- An empty message. -/ def nil : MessageData := ofFormat Format.nil +/-- Whether the given message equals `MessageData.nil`. See also `MessageData.isEmpty`. -/ def isNil : MessageData → Bool | ofFormat Format.nil => true | _ => false +/-- Whether the message is a `MessageData.nest` constructor. -/ def isNest : MessageData → Bool | nest _ _ => true | _ => false @@ -162,16 +171,24 @@ partial def arrayExpr.toMessageData (es : Array Expr) (i : Nat) (acc : MessageDa instance : Coe (Array Expr) MessageData := ⟨fun es => arrayExpr.toMessageData es 0 "#["⟩ +/-- Wrap the given message in `l` and `r`. See also `Format.bracket`. -/ def bracket (l : String) (f : MessageData) (r : String) : MessageData := group (nest l.length <| l ++ f ++ r) +/-- Wrap the given message in parentheses `()`. -/ def paren (f : MessageData) : MessageData := bracket "(" f ")" +/-- Wrap the given message in square brackets `[]`. -/ def sbracket (f : MessageData) : MessageData := bracket "[" f "]" +/-- Append the given list of messages with the given separarator. -/ def joinSep : List MessageData → MessageData → MessageData | [], _ => Format.nil | [a], _ => a | a::as, sep => a ++ sep ++ joinSep as sep + +/-- Write the given list of messages as a list, separating each item with `,\n` and surrounding with square brackets. -/ def ofList: List MessageData → MessageData | [] => "[]" | xs => sbracket <| joinSep xs (ofFormat "," ++ Format.line) + +/-- See `MessageData.ofList`. -/ def ofArray (msgs : Array MessageData) : MessageData := ofList msgs.toList @@ -180,12 +197,15 @@ instance : Coe (List Expr) MessageData := ⟨fun es => ofList <| es.map ofExpr end MessageData +/-- A `Message` is a richly formatted piece of information emitted by Lean. +They are rendered by client editors in the infoview and in diagnostic windows. -/ structure Message where fileName : String pos : Position endPos : Option Position := none severity : MessageSeverity := MessageSeverity.error caption : String := "" + /-- The content of the message. -/ data : MessageData deriving Inhabited @@ -206,6 +226,7 @@ protected def toString (msg : Message) (includeEndPos := false) : IO String := d end Message +/-- A persistent array of messages. -/ structure MessageLog where msgs : PersistentArray Message := {} deriving Inhabited diff --git a/stage0/src/Lean/Meta/CongrTheorems.lean b/stage0/src/Lean/Meta/CongrTheorems.lean index 5a7f8c2076..3bea8f865b 100644 --- a/stage0/src/Lean/Meta/CongrTheorems.lean +++ b/stage0/src/Lean/Meta/CongrTheorems.lean @@ -234,7 +234,7 @@ where | .eq => let localDecl ← lhss[i]!.fvarId!.getDecl withLocalDecl localDecl.userName localDecl.binderInfo localDecl.type fun rhs => do - withLocalDeclD ((`e).appendIndexAfter (eqs.size+1)) (← mkEq lhss[i]! rhs) fun eq => do + withLocalDeclD (localDecl.userName.appendBefore "e_") (← mkEq lhss[i]! rhs) fun eq => do go (i+1) (rhss.push rhs) (eqs.push eq) (hyps.push rhs |>.push eq) | .fixed => go (i+1) (rhss.push lhss[i]!) (eqs.push none) hyps | .cast => diff --git a/stage0/src/Lean/Meta/Tactic/Apply.lean b/stage0/src/Lean/Meta/Tactic/Apply.lean index 81acd807e7..a42de3520b 100644 --- a/stage0/src/Lean/Meta/Tactic/Apply.lean +++ b/stage0/src/Lean/Meta/Tactic/Apply.lean @@ -93,7 +93,7 @@ structure ApplyConfig where newGoals := ApplyNewGoals.nonDependentFirst /-- -Close the give goal using `apply e`. +Close the given goal using `apply e`. -/ def _root_.Lean.MVarId.apply (mvarId : MVarId) (e : Expr) (cfg : ApplyConfig := {}) : MetaM (List MVarId) := mvarId.withContext do diff --git a/stage0/src/Lean/Meta/Tactic/Replace.lean b/stage0/src/Lean/Meta/Tactic/Replace.lean index 1bb22a3f53..f51f2974ce 100644 --- a/stage0/src/Lean/Meta/Tactic/Replace.lean +++ b/stage0/src/Lean/Meta/Tactic/Replace.lean @@ -35,7 +35,7 @@ def replaceTargetEq (mvarId : MVarId) (targetNew : Expr) (eqProof : Expr) : Meta mvarId.replaceTargetEq targetNew eqProof /-- - Convert the given goal `Ctx | target` into `Ctx |- targetNew`. It assumes the goals are definitionally equal. + Convert the given goal `Ctx |- target` into `Ctx |- targetNew`. It assumes the goals are definitionally equal. We use the proof term ``` @id target mvarNew diff --git a/stage0/src/Lean/Parser/Basic.lean b/stage0/src/Lean/Parser/Basic.lean index d9bd5f77bc..24fd380ecd 100644 --- a/stage0/src/Lean/Parser/Basic.lean +++ b/stage0/src/Lean/Parser/Basic.lean @@ -1358,9 +1358,9 @@ def keepNewError (s : ParserState) (oldStackSize : Nat) : ParserState := match s with | ⟨stack, lhsPrec, pos, cache, err⟩ => ⟨keepTop stack oldStackSize, lhsPrec, pos, cache, err⟩ -def keepPrevError (s : ParserState) (oldStackSize : Nat) (oldStopPos : String.Pos) (oldError : Option Error) : ParserState := +def keepPrevError (s : ParserState) (oldStackSize : Nat) (oldStopPos : String.Pos) (oldError : Option Error) (oldLhsPrec : Nat) : ParserState := match s with - | ⟨stack, lhsPrec, _, cache, _⟩ => ⟨stack.shrink oldStackSize, lhsPrec, oldStopPos, cache, oldError⟩ + | ⟨stack, _, _, cache, _⟩ => ⟨stack.shrink oldStackSize, oldLhsPrec, oldStopPos, cache, oldError⟩ def mergeErrors (s : ParserState) (oldStackSize : Nat) (oldError : Error) : ParserState := match s with @@ -1415,28 +1415,24 @@ def runLongestMatchParser (left? : Option Syntax) (startLhsPrec : Nat) (p : Pars def longestMatchStep (left? : Option Syntax) (startSize startLhsPrec : Nat) (startPos : String.Pos) (prevPrio : Nat) (prio : Nat) (p : ParserFn) : ParserContext → ParserState → ParserState × Nat := fun c s => + let score (s : ParserState) (prio : Nat) := + (s.pos.byteIdx, if s.errorMsg.isSome then (0 : Nat) else 1, prio) + let previousScore := score s prevPrio let prevErrorMsg := s.errorMsg let prevStopPos := s.pos let prevSize := s.stackSize let prevLhsPrec := s.lhsPrec let s := s.restore prevSize startPos let s := runLongestMatchParser left? startLhsPrec p c s - match prevErrorMsg, s.errorMsg with - | none, none => -- both succeeded - if s.pos > prevStopPos || (s.pos == prevStopPos && prio > prevPrio) then (s.replaceLongest startSize, prio) - else if s.pos < prevStopPos || (s.pos == prevStopPos && prio < prevPrio) then ({ s.restore prevSize prevStopPos with lhsPrec := prevLhsPrec }, prevPrio) -- keep prev - -- it is not clear what the precedence of a choice node should be, so we conservatively take the minimum - else ({s with lhsPrec := s.lhsPrec.min prevLhsPrec }, prio) - | none, some _ => -- prev succeeded, current failed - ({ s.restore prevSize prevStopPos with lhsPrec := prevLhsPrec }, prevPrio) - | some oldError, some _ => -- both failed - if s.pos > prevStopPos || (s.pos == prevStopPos && prio > prevPrio) then (s.keepNewError startSize, prio) - else if s.pos < prevStopPos || (s.pos == prevStopPos && prio < prevPrio) then (s.keepPrevError prevSize prevStopPos prevErrorMsg, prevPrio) - else (s.mergeErrors prevSize oldError, prio) - | some _, none => -- prev failed, current succeeded - let successNode := s.stxStack.back - let s := s.shrinkStack startSize -- restore stack to initial size to make sure (failure) nodes are removed from the stack - (s.pushSyntax successNode, prio) -- put successNode back on the stack + match (let _ := @lexOrd; compare previousScore (score s prio)) with + | .lt => (s.keepNewError startSize, prio) + | .gt => (s.keepPrevError prevSize prevStopPos prevErrorMsg prevLhsPrec, prevPrio) + | .eq => + match prevErrorMsg with + | none => + -- it is not clear what the precedence of a choice node should be, so we conservatively take the minimum + ({s with lhsPrec := s.lhsPrec.min prevLhsPrec }, prio) + | some oldError => (s.mergeErrors prevSize oldError, prio) def longestMatchMkResult (startSize : Nat) (s : ParserState) : ParserState := if s.stackSize > startSize + 1 then s.mkNode choiceKind startSize else s diff --git a/stage0/src/Lean/PrettyPrinter/Formatter.lean b/stage0/src/Lean/PrettyPrinter/Formatter.lean index f9d41e501c..b3cadae899 100644 --- a/stage0/src/Lean/PrettyPrinter/Formatter.lean +++ b/stage0/src/Lean/PrettyPrinter/Formatter.lean @@ -190,7 +190,7 @@ opaque mkAntiquot.formatter' (name : String) (kind : SyntaxNodeKind) (anonymous opaque interpretParserDescr' : ParserDescr → CoreM Formatter private def SourceInfo.getExprPos? : SourceInfo → Option String.Pos - | SourceInfo.synthetic pos _ => pos + | SourceInfo.synthetic (pos := pos) .. => pos | _ => none private def getExprPos? : Syntax → Option String.Pos diff --git a/stage0/src/Lean/Server/FileSource.lean b/stage0/src/Lean/Server/FileSource.lean index f393560e14..d0024073e9 100644 --- a/stage0/src/Lean/Server/FileSource.lean +++ b/stage0/src/Lean/Server/FileSource.lean @@ -93,4 +93,7 @@ instance : FileSource RpcReleaseParams where instance : FileSource RpcKeepAliveParams where fileSource p := p.uri +instance : FileSource CodeActionParams where + fileSource p := fileSource p.textDocument + end Lean.Lsp diff --git a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean index c8488f0846..1a3d515b94 100644 --- a/stage0/src/Lean/Server/FileWorker/RequestHandling.lean +++ b/stage0/src/Lean/Server/FileWorker/RequestHandling.lean @@ -105,7 +105,7 @@ def locationLinksOfInfo (kind : GoToKind) (ci : Elab.ContextInfo) (i : Elab.Info if let some modUri ← documentUriFromModule rc.srcSearchPath name then let range := { start := ⟨0, 0⟩, «end» := ⟨0, 0⟩ : Range } let ll : LocationLink := { - originSelectionRange? := (·.toLspRange text) <$> i.stx[2].getRange? (originalOnly := true) + originSelectionRange? := (·.toLspRange text) <$> i.stx[2].getRange? (canonicalOnly := true) targetUri := modUri targetRange := range targetSelectionRange := range diff --git a/stage0/src/Lean/Server/InfoUtils.lean b/stage0/src/Lean/Server/InfoUtils.lean index 7835545405..4a6f9050c9 100644 --- a/stage0/src/Lean/Server/InfoUtils.lean +++ b/stage0/src/Lean/Server/InfoUtils.lean @@ -90,13 +90,13 @@ def Info.lctx : Info → LocalContext | _ => LocalContext.empty def Info.pos? (i : Info) : Option String.Pos := - i.stx.getPos? (originalOnly := true) + i.stx.getPos? (canonicalOnly := true) def Info.tailPos? (i : Info) : Option String.Pos := - i.stx.getTailPos? (originalOnly := true) + i.stx.getTailPos? (canonicalOnly := true) def Info.range? (i : Info) : Option String.Range := - i.stx.getRange? (originalOnly := true) + i.stx.getRange? (canonicalOnly := true) def Info.contains (i : Info) (pos : String.Pos) (includeStop := false) : Bool := i.range?.any (·.contains pos includeStop) diff --git a/stage0/src/Lean/Server/References.lean b/stage0/src/Lean/Server/References.lean index 711dc74495..6e0a2eb311 100644 --- a/stage0/src/Lean/Server/References.lean +++ b/stage0/src/Lean/Server/References.lean @@ -135,7 +135,8 @@ def findReferences (text : FileMap) (trees : Array InfoTree) : Array Reference : tree.visitM' (postNode := fun ci info _ => do if let some (ident, isBinder) := identOf info then if let some range := info.range? then - modify (·.push { ident, range := range.toLspRange text, stx := info.stx, ci, info, isBinder })) + if info.stx.getHeadInfo matches .original .. then -- we are not interested in canonical syntax here + modify (·.push { ident, range := range.toLspRange text, stx := info.stx, ci, info, isBinder })) get /-- diff --git a/stage0/src/Lean/Syntax.lean b/stage0/src/Lean/Syntax.lean index 53df68f482..1a38855bd7 100644 --- a/stage0/src/Lean/Syntax.lean +++ b/stage0/src/Lean/Syntax.lean @@ -297,8 +297,8 @@ def hasMissing (stx : Syntax) : Bool := Id.run do return true return false -def getRange? (stx : Syntax) (originalOnly := false) : Option String.Range := - match stx.getPos? originalOnly, stx.getTailPos? originalOnly with +def getRange? (stx : Syntax) (canonicalOnly := false) : Option String.Range := + match stx.getPos? canonicalOnly, stx.getTailPos? canonicalOnly with | some start, some stop => some { start, stop } | _, _ => none diff --git a/stage0/src/Lean/Widget/InteractiveDiagnostic.lean b/stage0/src/Lean/Widget/InteractiveDiagnostic.lean index aff5219afb..24d859d4b5 100644 --- a/stage0/src/Lean/Widget/InteractiveDiagnostic.lean +++ b/stage0/src/Lean/Widget/InteractiveDiagnostic.lean @@ -185,6 +185,6 @@ def msgToInteractiveDiagnostic (text : FileMap) (m : Message) (hasWidgets : Bool msgToInteractive m.data hasWidgets catch ex => pure <| TaggedText.text s!"[error when printing message: {ex.toString}]" - pure { range, fullRange, severity?, source?, message, tags? } + pure { range, fullRange? := some fullRange, severity?, source?, message, tags? } end Lean.Widget diff --git a/stage0/src/stdlib_flags.h b/stage0/src/stdlib_flags.h index 82742d5e98..aae6413ccc 100644 --- a/stage0/src/stdlib_flags.h +++ b/stage0/src/stdlib_flags.h @@ -6,7 +6,7 @@ options get_default_options() { // see https://leanprover.github.io/lean4/doc/dev/bootstrap.html#further-bootstrapping-complications #if LEAN_IS_STAGE0 == 1 // switch to `true` for ABI-breaking changes affecting meta code - opts = opts.update({"interpreter", "prefer_native"}, true); + opts = opts.update({"interpreter", "prefer_native"}, false); // switch to `true` for changing built-in parsers used in quotations opts = opts.update({"internal", "parseQuotWithCurrentStage"}, false); opts = opts.update({"pp", "rawOnError"}, true); diff --git a/stage0/stdlib/Init/Conv.c b/stage0/stdlib/Init/Conv.c index e3d3c5e65c..64c1bf9f5b 100644 --- a/stage0/stdlib/Init/Conv.c +++ b/stage0/stdlib/Init/Conv.c @@ -14,36 +14,47 @@ extern "C" { #endif static lean_object* l_Lean_Parser_Tactic_Conv_convApply_____closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__9; +static lean_object* l_Lean_Parser_Tactic_Conv_allGoals___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__19; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__13; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__8; +static lean_object* l_Lean_Parser_Tactic_Conv_convTactic___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__21; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_case; static lean_object* l_Lean_Parser_Tactic_Conv_occsWildcard___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convSeq; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__17; static lean_object* l_Lean_Parser_Tactic_Conv_zeta___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRepeat____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__5; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__5; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_allGoals___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_unfold___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__11; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convTactic; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__24; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__16; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_failIfSuccess; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__6; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__2; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__16; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__6; @@ -53,33 +64,38 @@ static lean_object* l_Lean_Parser_Tactic_Conv_convConvSeq___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_zeta___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_reduce___closed__2; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__25; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convTrace__state; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_convTry_____closed__6; +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convLeft__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_allGoals; static lean_object* l_Lean_Parser_Tactic_Conv_zeta___closed__1; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__18; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__15; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__25; static lean_object* l_Lean_Parser_Tactic_Conv_convRfl___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_anyGoals___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convApply_____closed__2; lean_object* l_Array_extract___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv_simpMatch___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convApply_____closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_nestedConv; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__4; @@ -94,25 +110,38 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroR static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_convIntro_______closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__9; +static lean_object* l_Lean_Parser_Tactic_Conv_focus___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__4; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__31; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__11; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_convTactic___closed__3; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__9; extern lean_object* l_Lean_Parser_Tactic_config; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convTry__; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_unfold; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__6; lean_object* lean_array_push(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_anyGoals___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_allGoals___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__11; +static lean_object* l_Lean_Parser_Tactic_Conv_focus___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convRepeat__; static lean_object* l_Lean_Parser_Tactic_Conv_convRepeat_____closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__5; @@ -120,10 +149,11 @@ static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convApply_____closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__2; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__23; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convRfl___closed__2; @@ -131,13 +161,18 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroR static lean_object* l_Lean_Parser_Tactic_Conv_convRw_______closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__19; lean_object* lean_string_utf8_byte_size(lean_object*); +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_convTry_____closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_congr___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convIntro______1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_enterArg; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__8; +static lean_object* l_Lean_Parser_Tactic_Conv_convTry_____closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convDone___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__7; @@ -146,30 +181,40 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convRfl; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convRepeat_____closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_convRfl___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__17; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Category_conv; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__13; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__3; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_simp; static lean_object* l_Lean_Parser_Tactic_Conv_convApply_____closed__3; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convApply____1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_convTry_____closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_unfold___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__3; +extern lean_object* l_Lean_binderIdent; static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_reduce___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__1; @@ -177,30 +222,35 @@ static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convIntro____; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convApply____1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convErw_____closed__2; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__24; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__4; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convDone___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_allGoals___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__8; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_occsWildcard___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__7; uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__3; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__20; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_unfold___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convIntro_______closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__15; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convRight; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__3; @@ -212,20 +262,26 @@ static lean_object* l_Lean_Parser_Tactic_Conv_convIntro_______closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convConvSeq; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convIntro_______closed__3; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__24; +static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_zeta; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__21; static lean_object* l_Lean_Parser_Tactic_Conv_convErw_____closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__13; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv_delta___closed__1; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__22; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_allGoals___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_paren; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed; extern lean_object* l_Lean_Parser_Tactic_simpStar; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__10; @@ -233,76 +289,107 @@ static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_occsWildcard___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_occsWildcard___closed__3; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__9; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__20; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__15; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_whnf; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convIntro_______closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__12; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__28; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convConvSeq___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__23; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e__; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_rewrite; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__1; extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__11; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__11; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__16; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRight__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_anyGoals___closed__5; +extern lean_object* l_Lean_Parser_Tactic_caseArg; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_occsWildcard___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convRfl___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_lhs___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convDone___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_ext; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convArgs__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_convConvSeq___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_convTactic___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convArgs; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convErw_____closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_first; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_conv_quot; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__1; +lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__8; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_dsimp; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__22; static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_convTactic___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_conv; static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convRepeat_____closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__16; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__9; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__4; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__14; static lean_object* l_Lean_Parser_Tactic_Conv_convRw_______closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_delta___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__7; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__26; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTry____1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_occs; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_anyGoals; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__17; +static lean_object* l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__26; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__13; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_congr; @@ -311,7 +398,9 @@ extern lean_object* l_Lean_Parser_Tactic_simpLemma; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convLeft; static lean_object* l_Lean_Parser_Tactic_Conv_delta___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convRepeat_____closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__2; +lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convErw_____closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__1; @@ -321,38 +410,49 @@ static lean_object* l_Lean_Parser_Tactic_Conv_convRw_______closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_skip; static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__12; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__18; static lean_object* l_Lean_Parser_Tactic_Conv_reduce___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_change; static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__2; -static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__18; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_unfold___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_delta___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_simpMatch; lean_object* l_Lean_Syntax_getNumArgs(lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__13; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__22; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__14; static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__6; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__7; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_convTactic___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__10; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__10; lean_object* l_Lean_Syntax_getArgs(lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_unfold___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_congr___closed__4; @@ -361,11 +461,14 @@ static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules_ static lean_object* l_Lean_Parser_Tactic_Conv_convErw_____closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__15; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convErw_____closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_focus___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convRw_______closed__3; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_anyGoals___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__21; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__3; @@ -373,28 +476,36 @@ static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_occsIndexed; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_enterArg___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__15; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__8; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__28; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; static lean_object* l_Lean_Parser_Tactic_Conv_simpMatch___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_focus___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_convTactic___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_case_x27___closed__7; +static lean_object* l_Lean_Parser_Tactic_Conv_convTry_____closed__3; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__18; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__14; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convIntro_______closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_simpMatch___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_lhs; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__10; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_case_x27; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__15; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_simpMatch___closed__1; @@ -404,96 +515,130 @@ static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_delta___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_skip___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_focus___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__15; uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__20; +static lean_object* l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convErw__; static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic; extern lean_object* l_Lean_Parser_Tactic_simpErase; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__25; +static lean_object* l_Lean_Parser_Tactic_Conv_anyGoals___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__17; static lean_object* l_Lean_Parser_Tactic_Conv_convConvSeq___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convArgs___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convLeft___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convDone___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__12; +static lean_object* l_Lean_Parser_Tactic_Conv_convTactic___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__4; -static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__21; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_reduce; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convRepeat_____closed__3; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_Conv_first___closed__16; extern lean_object* l_Lean_Parser_Tactic_discharger; static lean_object* l_Lean_Parser_Tactic_Conv_convDone___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_congr___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_convTry_____closed__5; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_pattern; static lean_object* l_Lean_Parser_Tactic_Conv_convRw_______closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__10; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_rhs___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__11; static lean_object* l_Lean_Parser_Tactic_Conv_convRw_______closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__22; +static lean_object* l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__18; static lean_object* l_Lean_Parser_Tactic_Conv_rewrite___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__27; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_rhs; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__; static lean_object* l_Lean_Parser_Tactic_Conv_whnf___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_delta___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_convApply_____closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_dsimp___closed__14; static lean_object* l_Lean_Parser_Tactic_Conv_occs___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convRepeat_____closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_change___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_convConvSeq___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__7; static lean_object* l_Lean_Parser_Tactic_Conv_convRfl___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__10; +static lean_object* l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__7; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_simp___closed__20; +static lean_object* l_Lean_Parser_Tactic_Conv_focus___closed__2; +static lean_object* l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_paren___closed__6; +static lean_object* l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__3; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_arg___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convRw_______closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_delta; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_anyGoals___closed__6; static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__2; static lean_object* l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__10; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e__; static lean_object* l_Lean_Parser_Tactic_Conv_nestedConv___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convApply__; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_convSeq___closed__1; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__19; static lean_object* l_Lean_Parser_Tactic_Conv_simpMatch___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_case___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_arg; static lean_object* l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__1; +static lean_object* l_Lean_Parser_Tactic_Conv_allGoals___closed__4; +static lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv_pattern___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__5; static lean_object* l_Lean_Parser_Tactic_Conv_convRight___closed__3; +static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__14; static lean_object* l_Lean_Parser_Tactic_Conv_nestedConv___closed__3; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__18; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_nestedTacticCore; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_focus; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__8; -static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__27; static lean_object* l_Lean_Parser_Tactic_Conv_reduce___closed__1; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__8; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__3; @@ -501,7 +646,10 @@ static lean_object* l_Lean_Parser_Tactic_Conv_conv___closed__9; static lean_object* l_Lean_Parser_Tactic_Conv_ext___closed__12; static lean_object* l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__9; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_convDone; +static lean_object* l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__5; +static lean_object* l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__4; static lean_object* l_Lean_Parser_Tactic_Conv_conv_quot___closed__15; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_withAnnotateState; static lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__23; static lean_object* l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv_occsWildcard; @@ -1399,29 +1547,37 @@ x_1 = l_Lean_Parser_Tactic_Conv_occs___closed__16; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("withAnnotateState", 17); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__9; +x_2 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__3() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("conv ", 5); +x_1 = lean_mk_string_from_bytes("with_annotate_state ", 20); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__2; +x_1 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__3; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -1429,177 +1585,29 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("optional", 8); +x_1 = lean_mk_string_from_bytes("rawStx", 6); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__6() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" at ", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__7() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__6; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__8() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("ident", 5); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__8; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__9; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__7; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__10; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__11; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__3; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__12; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__14() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" in ", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__15() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__14; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; -x_2 = l_Lean_Parser_Tactic_Conv_occs; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__15; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__16; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__18() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("term", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__18; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__19; +x_1 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__6; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(7, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1607,13 +1615,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__21() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__17; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__20; +x_2 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1621,57 +1629,41 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__21; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__13; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__22; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__24() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__9() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes(" => ", 4); +x_1 = lean_mk_string_from_bytes("ppSpace", 7); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__25() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__24; -x_2 = lean_alloc_ctor(5, 1, 0); +x_1 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__10; +x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__26() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__23; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__25; +x_2 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__8; +x_3 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1679,13 +1671,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__27() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__13() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__26; -x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_2 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__12; +x_3 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__16; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1693,13 +1685,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__28() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__1; +x_1 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__27; +x_3 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__13; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -1707,11 +1699,11 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_withAnnotateState() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__28; +x_1 = l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__14; return x_1; } } @@ -2121,39 +2113,57 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__5() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("@", 1); +x_1 = lean_mk_string_from_bytes("optional", 8); return x_1; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__5; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__7() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("@", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__7; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__9() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; -x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_arg___closed__7; +x_3 = l_Lean_Parser_Tactic_Conv_arg___closed__9; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2161,12 +2171,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__8; +x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__10; x_3 = l_Lean_Parser_Tactic_Conv_occsIndexed___closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -2175,13 +2185,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_arg___closed__9; +x_3 = l_Lean_Parser_Tactic_Conv_arg___closed__11; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2193,7 +2203,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_arg() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__10; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__12; return x_1; } } @@ -2276,36 +2286,38 @@ return x_2; static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__8; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__10; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ident", 5); +return x_1; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_ext___closed__5; +x_1 = lean_box(0); x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__9; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); +x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__11() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_ext___closed__10; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__12() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__3; -x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__8; +x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__11; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2313,13 +2325,39 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_ext___closed__5; +x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__12; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__3; +x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_ext___closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__11; +x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__14; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2331,7 +2369,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_ext() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_ext___closed__12; +x_1 = l_Lean_Parser_Tactic_Conv_ext___closed__15; return x_1; } } @@ -2376,10 +2414,40 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__5() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv_change___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_change___closed__6; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(7, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_change___closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__20; +x_3 = l_Lean_Parser_Tactic_Conv_change___closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2387,13 +2455,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_change___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_change___closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_change___closed__5; +x_3 = l_Lean_Parser_Tactic_Conv_change___closed__8; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2405,7 +2473,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_change() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_change___closed__6; +x_1 = l_Lean_Parser_Tactic_Conv_change___closed__9; return x_1; } } @@ -2452,7 +2520,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_Conv_occsIndexed___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__9; +x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__12; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -2610,15 +2678,13 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic_Conv_pattern___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_pattern___closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__16; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv_occs; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_pattern___closed__6() { @@ -2626,8 +2692,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_pattern___closed__5; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__20; +x_2 = l_Lean_Parser_Tactic_Conv_pattern___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_pattern___closed__5; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2639,9 +2705,23 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_pattern___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_pattern___closed__6; +x_3 = l_Lean_Parser_Tactic_Conv_change___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_pattern___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_pattern___closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_pattern___closed__6; +x_3 = l_Lean_Parser_Tactic_Conv_pattern___closed__7; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -2653,7 +2733,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_pattern() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_pattern___closed__7; +x_1 = l_Lean_Parser_Tactic_Conv_pattern___closed__8; return x_1; } } @@ -2691,7 +2771,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; x_2 = l_Lean_Parser_Tactic_config; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2797,7 +2877,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; x_2 = l_Lean_Parser_Tactic_discharger; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2843,7 +2923,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3003,7 +3083,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_simp___closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__5; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__22; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3047,6 +3127,228 @@ x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__25; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("dsimp", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("dsimp ", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_dsimp___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_rewrite___closed__4; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__5; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("only ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__8() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_dsimp___closed__7; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__6; +x_3 = l_Lean_Parser_Tactic_Conv_dsimp___closed__9; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("[", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_dsimp___closed__11; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Tactic_Conv_simp___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_simp___closed__17; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__16; +x_4 = 0; +x_5 = lean_alloc_ctor(10, 3, 1); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__12; +x_3 = l_Lean_Parser_Tactic_Conv_dsimp___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__14; +x_3 = l_Lean_Parser_Tactic_Conv_simp___closed__21; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__15; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_dsimp___closed__10; +x_3 = l_Lean_Parser_Tactic_Conv_dsimp___closed__16; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_dsimp___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_dsimp___closed__17; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_dsimp() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_dsimp___closed__18; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Tactic_Conv_simpMatch___closed__1() { _start: { @@ -3148,10 +3450,28 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__5() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" => ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__7() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__25; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3159,7 +3479,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__8() { _start: { lean_object* x_1; @@ -3167,33 +3487,33 @@ x_1 = lean_mk_string_from_bytes("tacticSeq", 9); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__7; +x_1 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__9; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__5; -x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__8; +x_2 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__7; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3201,13 +3521,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__9; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__11; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3219,7 +3539,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10; +x_1 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__12; return x_1; } } @@ -3267,7 +3587,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__25; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3281,7 +3601,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__5; -x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__8; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3311,6 +3631,94 @@ x_1 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("convTactic", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convTactic___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("conv'", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_convTactic___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_convTactic___closed__5; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_convTactic___closed__6; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTactic() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convTactic___closed__7; +return x_1; +} +} static lean_object* _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__1() { _start: { @@ -3439,6 +3847,3099 @@ x_1 = l_Lean_Parser_Tactic_Conv_paren___closed__7; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("convRfl", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convRfl___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rfl", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convRfl___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_convRfl___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convRfl___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("=>", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__8; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticSeq1Indented", 18); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("null", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tacticRfl", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convRfl___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_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; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_10); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; +lean_inc(x_10); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_18 = lean_array_push(x_17, x_16); +x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__8; +lean_inc(x_10); +x_20 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_20, 2, x_18); +x_21 = lean_array_push(x_17, x_20); +x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_10); +x_23 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_23, 0, x_10); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_21); +x_24 = lean_array_push(x_17, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_10); +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_10); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_24); +x_27 = lean_array_push(x_17, x_26); +x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_10); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_10); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_27); +x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_31 = lean_array_push(x_30, x_12); +x_32 = lean_array_push(x_31, x_14); +x_33 = lean_array_push(x_32, x_29); +x_34 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2; +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_10); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_8, 0, x_35); +return x_8; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_36 = lean_ctor_get(x_8, 0); +x_37 = lean_ctor_get(x_8, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_8); +x_38 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3; +lean_inc(x_36); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_36); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_36); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; +lean_inc(x_36); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_36); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_45 = lean_array_push(x_44, x_43); +x_46 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__8; +lean_inc(x_36); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_36); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_47, 2, x_45); +x_48 = lean_array_push(x_44, x_47); +x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_36); +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_36); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_array_push(x_44, x_50); +x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_36); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_36); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = lean_array_push(x_44, x_53); +x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_36); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_36); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +x_57 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_58 = lean_array_push(x_57, x_39); +x_59 = lean_array_push(x_58, x_41); +x_60 = lean_array_push(x_59, x_56); +x_61 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2; +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_36); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_60); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_37); +return x_63; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("convDone", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convDone___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("done", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convDone___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_convDone___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convDone___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convDone___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_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; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_10); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; +lean_inc(x_10); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_18 = lean_array_push(x_17, x_16); +x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1; +lean_inc(x_10); +x_20 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_20, 2, x_18); +x_21 = lean_array_push(x_17, x_20); +x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_10); +x_23 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_23, 0, x_10); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_21); +x_24 = lean_array_push(x_17, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_10); +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_10); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_24); +x_27 = lean_array_push(x_17, x_26); +x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_10); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_10); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_27); +x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_31 = lean_array_push(x_30, x_12); +x_32 = lean_array_push(x_31, x_14); +x_33 = lean_array_push(x_32, x_29); +x_34 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_10); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_8, 0, x_35); +return x_8; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_36 = lean_ctor_get(x_8, 0); +x_37 = lean_ctor_get(x_8, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_8); +x_38 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_36); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_36); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_36); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; +lean_inc(x_36); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_36); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_45 = lean_array_push(x_44, x_43); +x_46 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1; +lean_inc(x_36); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_36); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_47, 2, x_45); +x_48 = lean_array_push(x_44, x_47); +x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_36); +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_36); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_array_push(x_44, x_50); +x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_36); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_36); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = lean_array_push(x_44, x_53); +x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_36); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_36); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +x_57 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_58 = lean_array_push(x_57, x_39); +x_59 = lean_array_push(x_58, x_41); +x_60 = lean_array_push(x_59, x_56); +x_61 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_36); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_60); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_37); +return x_63; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("convTrace_state", 15); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("trace_state", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2; +x_2 = lean_unsigned_to_nat(1024u); +x_3 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("traceState", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2; +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; uint8_t x_9; +x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_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; +x_10 = lean_ctor_get(x_8, 0); +x_11 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_10); +x_12 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_10); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_10); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3; +lean_inc(x_10); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_10); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_18 = lean_array_push(x_17, x_16); +x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2; +lean_inc(x_10); +x_20 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_20, 2, x_18); +x_21 = lean_array_push(x_17, x_20); +x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_10); +x_23 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_23, 0, x_10); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_21); +x_24 = lean_array_push(x_17, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_10); +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_10); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_24); +x_27 = lean_array_push(x_17, x_26); +x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_10); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_10); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_27); +x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_31 = lean_array_push(x_30, x_12); +x_32 = lean_array_push(x_31, x_14); +x_33 = lean_array_push(x_32, x_29); +x_34 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_10); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_8, 0, x_35); +return x_8; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_36 = lean_ctor_get(x_8, 0); +x_37 = lean_ctor_get(x_8, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_8); +x_38 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_36); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_36); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_36); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3; +lean_inc(x_36); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_36); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_45 = lean_array_push(x_44, x_43); +x_46 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2; +lean_inc(x_36); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_36); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_47, 2, x_45); +x_48 = lean_array_push(x_44, x_47); +x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_36); +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_36); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_array_push(x_44, x_50); +x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_36); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_36); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = lean_array_push(x_44, x_53); +x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_36); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_36); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +x_57 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_58 = lean_array_push(x_57, x_39); +x_59 = lean_array_push(x_58, x_41); +x_60 = lean_array_push(x_59, x_56); +x_61 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_36); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_60); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_37); +return x_63; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("allGoals", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_allGoals___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("all_goals ", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_allGoals___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_allGoals___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_allGoals___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_allGoals___closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_allGoals() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_allGoals___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_allGoals___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("all_goals", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_allGoals___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_14); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_14); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +x_19 = 0; +x_20 = l_Lean_SourceInfo_fromRef(x_9, x_19); +x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2; +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_14); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_26 = lean_array_push(x_25, x_24); +lean_inc(x_18); +x_27 = lean_array_push(x_26, x_18); +x_28 = lean_array_push(x_27, x_11); +x_29 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_14); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_14); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_32 = lean_array_push(x_31, x_30); +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_14); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_14); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = lean_array_push(x_31, x_34); +x_36 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_14); +x_37 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_35); +x_38 = lean_array_push(x_31, x_37); +x_39 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_14); +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_14); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_42 = lean_array_push(x_41, x_22); +x_43 = lean_array_push(x_42, x_40); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__1; +lean_inc(x_14); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +x_46 = lean_array_push(x_31, x_45); +lean_inc(x_14); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_14); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_46); +x_48 = lean_array_push(x_31, x_47); +lean_inc(x_14); +x_49 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_49, 0, x_14); +lean_ctor_set(x_49, 1, x_36); +lean_ctor_set(x_49, 2, x_48); +x_50 = lean_array_push(x_31, x_49); +lean_inc(x_14); +x_51 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_51, 0, x_14); +lean_ctor_set(x_51, 1, x_39); +lean_ctor_set(x_51, 2, x_50); +x_52 = lean_array_push(x_25, x_16); +x_53 = lean_array_push(x_52, x_18); +x_54 = lean_array_push(x_53, x_51); +x_55 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_14); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +lean_ctor_set(x_12, 0, x_56); +return x_12; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_57 = lean_ctor_get(x_12, 0); +x_58 = lean_ctor_get(x_12, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_12); +x_59 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_57); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_57); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_57); +lean_ctor_set(x_62, 1, x_61); +x_63 = 0; +x_64 = l_Lean_SourceInfo_fromRef(x_9, x_63); +x_65 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2; +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_57); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_70 = lean_array_push(x_69, x_68); +lean_inc(x_62); +x_71 = lean_array_push(x_70, x_62); +x_72 = lean_array_push(x_71, x_11); +x_73 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_57); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_57); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_72); +x_75 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_76 = lean_array_push(x_75, x_74); +x_77 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_57); +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_57); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = lean_array_push(x_75, x_78); +x_80 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_57); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_57); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_79); +x_82 = lean_array_push(x_75, x_81); +x_83 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_57); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_57); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +x_85 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_86 = lean_array_push(x_85, x_66); +x_87 = lean_array_push(x_86, x_84); +x_88 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__1; +lean_inc(x_57); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_57); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_89, 2, x_87); +x_90 = lean_array_push(x_75, x_89); +lean_inc(x_57); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_57); +lean_ctor_set(x_91, 1, x_77); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_array_push(x_75, x_91); +lean_inc(x_57); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_57); +lean_ctor_set(x_93, 1, x_80); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_array_push(x_75, x_93); +lean_inc(x_57); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_57); +lean_ctor_set(x_95, 1, x_83); +lean_ctor_set(x_95, 2, x_94); +x_96 = lean_array_push(x_69, x_60); +x_97 = lean_array_push(x_96, x_62); +x_98 = lean_array_push(x_97, x_95); +x_99 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_100 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_100, 0, x_57); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_58); +return x_101; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("anyGoals", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("any_goals ", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_anyGoals() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("any_goals", 9); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_anyGoals___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_14); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_14); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +x_19 = 0; +x_20 = l_Lean_SourceInfo_fromRef(x_9, x_19); +x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__2; +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_14); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_26 = lean_array_push(x_25, x_24); +lean_inc(x_18); +x_27 = lean_array_push(x_26, x_18); +x_28 = lean_array_push(x_27, x_11); +x_29 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_14); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_14); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_32 = lean_array_push(x_31, x_30); +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_14); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_14); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = lean_array_push(x_31, x_34); +x_36 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_14); +x_37 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_35); +x_38 = lean_array_push(x_31, x_37); +x_39 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_14); +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_14); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_42 = lean_array_push(x_41, x_22); +x_43 = lean_array_push(x_42, x_40); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__1; +lean_inc(x_14); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +x_46 = lean_array_push(x_31, x_45); +lean_inc(x_14); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_14); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_46); +x_48 = lean_array_push(x_31, x_47); +lean_inc(x_14); +x_49 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_49, 0, x_14); +lean_ctor_set(x_49, 1, x_36); +lean_ctor_set(x_49, 2, x_48); +x_50 = lean_array_push(x_31, x_49); +lean_inc(x_14); +x_51 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_51, 0, x_14); +lean_ctor_set(x_51, 1, x_39); +lean_ctor_set(x_51, 2, x_50); +x_52 = lean_array_push(x_25, x_16); +x_53 = lean_array_push(x_52, x_18); +x_54 = lean_array_push(x_53, x_51); +x_55 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_14); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +lean_ctor_set(x_12, 0, x_56); +return x_12; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_57 = lean_ctor_get(x_12, 0); +x_58 = lean_ctor_get(x_12, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_12); +x_59 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_57); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_57); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_57); +lean_ctor_set(x_62, 1, x_61); +x_63 = 0; +x_64 = l_Lean_SourceInfo_fromRef(x_9, x_63); +x_65 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__2; +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_57); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_70 = lean_array_push(x_69, x_68); +lean_inc(x_62); +x_71 = lean_array_push(x_70, x_62); +x_72 = lean_array_push(x_71, x_11); +x_73 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_57); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_57); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_72); +x_75 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_76 = lean_array_push(x_75, x_74); +x_77 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_57); +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_57); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = lean_array_push(x_75, x_78); +x_80 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_57); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_57); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_79); +x_82 = lean_array_push(x_75, x_81); +x_83 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_57); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_57); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +x_85 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_86 = lean_array_push(x_85, x_66); +x_87 = lean_array_push(x_86, x_84); +x_88 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__1; +lean_inc(x_57); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_57); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_89, 2, x_87); +x_90 = lean_array_push(x_75, x_89); +lean_inc(x_57); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_57); +lean_ctor_set(x_91, 1, x_77); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_array_push(x_75, x_91); +lean_inc(x_57); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_57); +lean_ctor_set(x_93, 1, x_80); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_array_push(x_75, x_93); +lean_inc(x_57); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_57); +lean_ctor_set(x_95, 1, x_83); +lean_ctor_set(x_95, 2, x_94); +x_96 = lean_array_push(x_69, x_60); +x_97 = lean_array_push(x_96, x_62); +x_98 = lean_array_push(x_97, x_95); +x_99 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_100 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_100, 0, x_57); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_58); +return x_101; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("case", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_case___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("case ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_case___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" | ", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_case___closed__5; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Tactic_caseArg; +x_2 = l_Lean_Parser_Tactic_Conv_case___closed__5; +x_3 = l_Lean_Parser_Tactic_Conv_case___closed__6; +x_4 = 0; +x_5 = lean_alloc_ctor(11, 3, 1); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_case___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_case___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_case___closed__8; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_case___closed__9; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_case___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_case___closed__10; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_case___closed__11; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_case___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("|", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(2); +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3; +x_3 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(";", 1); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(4u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_case___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_8 = lean_unsigned_to_nat(0u); +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); +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(3u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = l_Lean_Syntax_getArgs(x_11); +lean_dec(x_11); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_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; +x_19 = lean_ctor_get(x_17, 0); +x_20 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_19); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_22); +x_24 = 0; +x_25 = l_Lean_SourceInfo_fromRef(x_9, x_24); +x_26 = l_Lean_Parser_Tactic_Conv_case___closed__1; +x_27 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Syntax_TSepArray_getElems___rarg(x_16); +lean_dec(x_16); +x_29 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4; +x_30 = l_Lean_mkSepArray(x_28, x_29); +lean_dec(x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; +x_32 = l_Array_append___rarg(x_31, x_30); +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_19); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = l_Lean_SourceInfo_fromRef(x_13, x_24); +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_22); +x_37 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_19); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_19); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Parser_Tactic_Conv_paren___closed__3; +lean_inc(x_19); +x_40 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_40, 0, x_19); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; +lean_inc(x_19); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_19); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_44 = lean_array_push(x_43, x_40); +x_45 = lean_array_push(x_44, x_15); +x_46 = lean_array_push(x_45, x_42); +x_47 = l_Lean_Parser_Tactic_Conv_paren___closed__2; +lean_inc(x_19); +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_19); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_46); +x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5; +lean_inc(x_19); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_19); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2; +lean_inc(x_19); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_19); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; +lean_inc(x_19); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_19); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_56 = lean_array_push(x_55, x_54); +x_57 = l_Lean_Parser_Tactic_Conv_convRfl___closed__2; +lean_inc(x_19); +x_58 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_58, 0, x_19); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_56); +x_59 = lean_array_push(x_55, x_58); +lean_inc(x_19); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_19); +lean_ctor_set(x_60, 1, x_33); +lean_ctor_set(x_60, 2, x_59); +x_61 = lean_array_push(x_55, x_60); +x_62 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; +lean_inc(x_19); +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_19); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_array_push(x_55, x_63); +x_65 = l_Lean_Parser_Tactic_Conv_convSeq___closed__2; +lean_inc(x_19); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_19); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_64); +x_67 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_68 = lean_array_push(x_67, x_52); +x_69 = lean_array_push(x_68, x_66); +x_70 = l_Lean_Parser_Tactic_Conv_allGoals___closed__2; +lean_inc(x_19); +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_19); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_69); +x_72 = lean_array_push(x_43, x_48); +x_73 = lean_array_push(x_72, x_50); +x_74 = lean_array_push(x_73, x_71); +lean_inc(x_19); +x_75 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_75, 0, x_19); +lean_ctor_set(x_75, 1, x_33); +lean_ctor_set(x_75, 2, x_74); +x_76 = lean_array_push(x_55, x_75); +lean_inc(x_19); +x_77 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_77, 0, x_19); +lean_ctor_set(x_77, 1, x_62); +lean_ctor_set(x_77, 2, x_76); +x_78 = lean_array_push(x_55, x_77); +lean_inc(x_19); +x_79 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_79, 0, x_19); +lean_ctor_set(x_79, 1, x_65); +lean_ctor_set(x_79, 2, x_78); +x_80 = lean_array_push(x_43, x_38); +lean_inc(x_23); +x_81 = lean_array_push(x_80, x_23); +x_82 = lean_array_push(x_81, x_79); +x_83 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_19); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_19); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +x_85 = lean_array_push(x_55, x_84); +lean_inc(x_19); +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_19); +lean_ctor_set(x_86, 1, x_33); +lean_ctor_set(x_86, 2, x_85); +x_87 = lean_array_push(x_55, x_86); +x_88 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_19); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_19); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_89, 2, x_87); +x_90 = lean_array_push(x_55, x_89); +x_91 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_19); +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_19); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_90); +x_93 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; +x_94 = lean_array_push(x_93, x_27); +x_95 = lean_array_push(x_94, x_34); +x_96 = lean_array_push(x_95, x_36); +x_97 = lean_array_push(x_96, x_92); +x_98 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__1; +lean_inc(x_19); +x_99 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_99, 0, x_19); +lean_ctor_set(x_99, 1, x_98); +lean_ctor_set(x_99, 2, x_97); +x_100 = lean_array_push(x_55, x_99); +lean_inc(x_19); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_19); +lean_ctor_set(x_101, 1, x_33); +lean_ctor_set(x_101, 2, x_100); +x_102 = lean_array_push(x_55, x_101); +lean_inc(x_19); +x_103 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_103, 0, x_19); +lean_ctor_set(x_103, 1, x_88); +lean_ctor_set(x_103, 2, x_102); +x_104 = lean_array_push(x_55, x_103); +lean_inc(x_19); +x_105 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_105, 0, x_19); +lean_ctor_set(x_105, 1, x_91); +lean_ctor_set(x_105, 2, x_104); +x_106 = lean_array_push(x_43, x_21); +x_107 = lean_array_push(x_106, x_23); +x_108 = lean_array_push(x_107, x_105); +x_109 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_110, 0, x_19); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set(x_110, 2, x_108); +lean_ctor_set(x_17, 0, x_110); +return x_17; +} +else +{ +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; +x_111 = lean_ctor_get(x_17, 0); +x_112 = lean_ctor_get(x_17, 1); +lean_inc(x_112); +lean_inc(x_111); +lean_dec(x_17); +x_113 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_111); +x_114 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_114, 0, x_111); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_111); +x_116 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_116, 0, x_111); +lean_ctor_set(x_116, 1, x_115); +x_117 = 0; +x_118 = l_Lean_SourceInfo_fromRef(x_9, x_117); +x_119 = l_Lean_Parser_Tactic_Conv_case___closed__1; +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_118); +lean_ctor_set(x_120, 1, x_119); +x_121 = l_Lean_Syntax_TSepArray_getElems___rarg(x_16); +lean_dec(x_16); +x_122 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4; +x_123 = l_Lean_mkSepArray(x_121, x_122); +lean_dec(x_121); +x_124 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; +x_125 = l_Array_append___rarg(x_124, x_123); +x_126 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_111); +x_127 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_127, 0, x_111); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_127, 2, x_125); +x_128 = l_Lean_SourceInfo_fromRef(x_13, x_117); +x_129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_115); +x_130 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_111); +x_131 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_131, 0, x_111); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Lean_Parser_Tactic_Conv_paren___closed__3; +lean_inc(x_111); +x_133 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_133, 0, x_111); +lean_ctor_set(x_133, 1, x_132); +x_134 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; +lean_inc(x_111); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_111); +lean_ctor_set(x_135, 1, x_134); +x_136 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_137 = lean_array_push(x_136, x_133); +x_138 = lean_array_push(x_137, x_15); +x_139 = lean_array_push(x_138, x_135); +x_140 = l_Lean_Parser_Tactic_Conv_paren___closed__2; +lean_inc(x_111); +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_111); +lean_ctor_set(x_141, 1, x_140); +lean_ctor_set(x_141, 2, x_139); +x_142 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5; +lean_inc(x_111); +x_143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_143, 0, x_111); +lean_ctor_set(x_143, 1, x_142); +x_144 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2; +lean_inc(x_111); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_111); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; +lean_inc(x_111); +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_111); +lean_ctor_set(x_147, 1, x_146); +x_148 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_149 = lean_array_push(x_148, x_147); +x_150 = l_Lean_Parser_Tactic_Conv_convRfl___closed__2; +lean_inc(x_111); +x_151 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_151, 0, x_111); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_149); +x_152 = lean_array_push(x_148, x_151); +lean_inc(x_111); +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_111); +lean_ctor_set(x_153, 1, x_126); +lean_ctor_set(x_153, 2, x_152); +x_154 = lean_array_push(x_148, x_153); +x_155 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; +lean_inc(x_111); +x_156 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_156, 0, x_111); +lean_ctor_set(x_156, 1, x_155); +lean_ctor_set(x_156, 2, x_154); +x_157 = lean_array_push(x_148, x_156); +x_158 = l_Lean_Parser_Tactic_Conv_convSeq___closed__2; +lean_inc(x_111); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_111); +lean_ctor_set(x_159, 1, x_158); +lean_ctor_set(x_159, 2, x_157); +x_160 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_161 = lean_array_push(x_160, x_145); +x_162 = lean_array_push(x_161, x_159); +x_163 = l_Lean_Parser_Tactic_Conv_allGoals___closed__2; +lean_inc(x_111); +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_111); +lean_ctor_set(x_164, 1, x_163); +lean_ctor_set(x_164, 2, x_162); +x_165 = lean_array_push(x_136, x_141); +x_166 = lean_array_push(x_165, x_143); +x_167 = lean_array_push(x_166, x_164); +lean_inc(x_111); +x_168 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_168, 0, x_111); +lean_ctor_set(x_168, 1, x_126); +lean_ctor_set(x_168, 2, x_167); +x_169 = lean_array_push(x_148, x_168); +lean_inc(x_111); +x_170 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_170, 0, x_111); +lean_ctor_set(x_170, 1, x_155); +lean_ctor_set(x_170, 2, x_169); +x_171 = lean_array_push(x_148, x_170); +lean_inc(x_111); +x_172 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_172, 0, x_111); +lean_ctor_set(x_172, 1, x_158); +lean_ctor_set(x_172, 2, x_171); +x_173 = lean_array_push(x_136, x_131); +lean_inc(x_116); +x_174 = lean_array_push(x_173, x_116); +x_175 = lean_array_push(x_174, x_172); +x_176 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_111); +x_177 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_177, 0, x_111); +lean_ctor_set(x_177, 1, x_176); +lean_ctor_set(x_177, 2, x_175); +x_178 = lean_array_push(x_148, x_177); +lean_inc(x_111); +x_179 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_179, 0, x_111); +lean_ctor_set(x_179, 1, x_126); +lean_ctor_set(x_179, 2, x_178); +x_180 = lean_array_push(x_148, x_179); +x_181 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_111); +x_182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_182, 0, x_111); +lean_ctor_set(x_182, 1, x_181); +lean_ctor_set(x_182, 2, x_180); +x_183 = lean_array_push(x_148, x_182); +x_184 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_111); +x_185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_185, 0, x_111); +lean_ctor_set(x_185, 1, x_184); +lean_ctor_set(x_185, 2, x_183); +x_186 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; +x_187 = lean_array_push(x_186, x_120); +x_188 = lean_array_push(x_187, x_127); +x_189 = lean_array_push(x_188, x_129); +x_190 = lean_array_push(x_189, x_185); +x_191 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__1; +lean_inc(x_111); +x_192 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_192, 0, x_111); +lean_ctor_set(x_192, 1, x_191); +lean_ctor_set(x_192, 2, x_190); +x_193 = lean_array_push(x_148, x_192); +lean_inc(x_111); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_111); +lean_ctor_set(x_194, 1, x_126); +lean_ctor_set(x_194, 2, x_193); +x_195 = lean_array_push(x_148, x_194); +lean_inc(x_111); +x_196 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_196, 0, x_111); +lean_ctor_set(x_196, 1, x_181); +lean_ctor_set(x_196, 2, x_195); +x_197 = lean_array_push(x_148, x_196); +lean_inc(x_111); +x_198 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_198, 0, x_111); +lean_ctor_set(x_198, 1, x_184); +lean_ctor_set(x_198, 2, x_197); +x_199 = lean_array_push(x_136, x_114); +x_200 = lean_array_push(x_199, x_116); +x_201 = lean_array_push(x_200, x_198); +x_202 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_203 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_203, 0, x_111); +lean_ctor_set(x_203, 1, x_202); +lean_ctor_set(x_203, 2, x_201); +x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_203); +lean_ctor_set(x_204, 1, x_112); +return x_204; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("case'", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_case_x27___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("case' ", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_case_x27___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_case_x27___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_case___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_case_x27___closed__5; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_case_x27___closed__6; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_case_x27___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_case_x27___closed__7; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_case_x27() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_case_x27___closed__8; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_case_x27___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_case_x27___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_8 = lean_unsigned_to_nat(0u); +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); +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = lean_unsigned_to_nat(3u); +x_15 = l_Lean_Syntax_getArg(x_1, x_14); +lean_dec(x_1); +x_16 = l_Lean_Syntax_getArgs(x_11); +lean_dec(x_11); +x_17 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_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; +x_19 = lean_ctor_get(x_17, 0); +x_20 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_19); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_19); +lean_ctor_set(x_23, 1, x_22); +x_24 = 0; +x_25 = l_Lean_SourceInfo_fromRef(x_9, x_24); +x_26 = l_Lean_Parser_Tactic_Conv_case_x27___closed__1; +x_27 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_Lean_Syntax_TSepArray_getElems___rarg(x_16); +lean_dec(x_16); +x_29 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4; +x_30 = l_Lean_mkSepArray(x_28, x_29); +lean_dec(x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; +x_32 = l_Array_append___rarg(x_31, x_30); +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_19); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = l_Lean_SourceInfo_fromRef(x_13, x_24); +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_22); +x_37 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_19); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_19); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_40 = lean_array_push(x_39, x_38); +lean_inc(x_23); +x_41 = lean_array_push(x_40, x_23); +x_42 = lean_array_push(x_41, x_15); +x_43 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_19); +x_44 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_44, 0, x_19); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_42); +x_45 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_46 = lean_array_push(x_45, x_44); +lean_inc(x_19); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_19); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_46); +x_48 = lean_array_push(x_45, x_47); +x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_19); +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_19); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_array_push(x_45, x_50); +x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_19); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_19); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; +x_55 = lean_array_push(x_54, x_27); +x_56 = lean_array_push(x_55, x_34); +x_57 = lean_array_push(x_56, x_36); +x_58 = lean_array_push(x_57, x_53); +x_59 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1___closed__1; +lean_inc(x_19); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_19); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_58); +x_61 = lean_array_push(x_45, x_60); +lean_inc(x_19); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_19); +lean_ctor_set(x_62, 1, x_33); +lean_ctor_set(x_62, 2, x_61); +x_63 = lean_array_push(x_45, x_62); +lean_inc(x_19); +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_19); +lean_ctor_set(x_64, 1, x_49); +lean_ctor_set(x_64, 2, x_63); +x_65 = lean_array_push(x_45, x_64); +lean_inc(x_19); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_19); +lean_ctor_set(x_66, 1, x_52); +lean_ctor_set(x_66, 2, x_65); +x_67 = lean_array_push(x_39, x_21); +x_68 = lean_array_push(x_67, x_23); +x_69 = lean_array_push(x_68, x_66); +x_70 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_19); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_69); +lean_ctor_set(x_17, 0, x_71); +return x_17; +} +else +{ +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_72 = lean_ctor_get(x_17, 0); +x_73 = lean_ctor_get(x_17, 1); +lean_inc(x_73); +lean_inc(x_72); +lean_dec(x_17); +x_74 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_72); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_72); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_72); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_72); +lean_ctor_set(x_77, 1, x_76); +x_78 = 0; +x_79 = l_Lean_SourceInfo_fromRef(x_9, x_78); +x_80 = l_Lean_Parser_Tactic_Conv_case_x27___closed__1; +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Syntax_TSepArray_getElems___rarg(x_16); +lean_dec(x_16); +x_83 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4; +x_84 = l_Lean_mkSepArray(x_82, x_83); +lean_dec(x_82); +x_85 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; +x_86 = l_Array_append___rarg(x_85, x_84); +x_87 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_72); +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_72); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set(x_88, 2, x_86); +x_89 = l_Lean_SourceInfo_fromRef(x_13, x_78); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_89); +lean_ctor_set(x_90, 1, x_76); +x_91 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_72); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_72); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_94 = lean_array_push(x_93, x_92); +lean_inc(x_77); +x_95 = lean_array_push(x_94, x_77); +x_96 = lean_array_push(x_95, x_15); +x_97 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_72); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_72); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +x_99 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_100 = lean_array_push(x_99, x_98); +lean_inc(x_72); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_72); +lean_ctor_set(x_101, 1, x_87); +lean_ctor_set(x_101, 2, x_100); +x_102 = lean_array_push(x_99, x_101); +x_103 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_72); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_72); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set(x_104, 2, x_102); +x_105 = lean_array_push(x_99, x_104); +x_106 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_72); +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_72); +lean_ctor_set(x_107, 1, x_106); +lean_ctor_set(x_107, 2, x_105); +x_108 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; +x_109 = lean_array_push(x_108, x_81); +x_110 = lean_array_push(x_109, x_88); +x_111 = lean_array_push(x_110, x_90); +x_112 = lean_array_push(x_111, x_107); +x_113 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1___closed__1; +lean_inc(x_72); +x_114 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_114, 0, x_72); +lean_ctor_set(x_114, 1, x_113); +lean_ctor_set(x_114, 2, x_112); +x_115 = lean_array_push(x_99, x_114); +lean_inc(x_72); +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_72); +lean_ctor_set(x_116, 1, x_87); +lean_ctor_set(x_116, 2, x_115); +x_117 = lean_array_push(x_99, x_116); +lean_inc(x_72); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_72); +lean_ctor_set(x_118, 1, x_103); +lean_ctor_set(x_118, 2, x_117); +x_119 = lean_array_push(x_99, x_118); +lean_inc(x_72); +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_72); +lean_ctor_set(x_120, 1, x_106); +lean_ctor_set(x_120, 2, x_119); +x_121 = lean_array_push(x_93, x_75); +x_122 = lean_array_push(x_121, x_77); +x_123 = lean_array_push(x_122, x_120); +x_124 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_125 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_125, 0, x_72); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_125, 2, x_123); +x_126 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_73); +return x_126; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("convNext_=>_", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("next ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_ext___closed__5; +x_2 = l_Lean_binderIdent; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__6; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__7; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__8; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__9; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("binderIdent", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("caseArg", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("hole", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(3u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_Syntax_getArgs(x_9); +lean_dec(x_9); +x_13 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_15 = lean_ctor_get(x_13, 0); +x_16 = l_Lean_Parser_Tactic_Conv_case___closed__1; +lean_inc(x_15); +x_17 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__7; +lean_inc(x_15); +x_19 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +x_20 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_21 = lean_array_push(x_20, x_19); +x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__6; +lean_inc(x_15); +x_23 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_23, 0, x_15); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 2, x_21); +x_24 = lean_array_push(x_20, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__2; +lean_inc(x_15); +x_26 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_26, 0, x_15); +lean_ctor_set(x_26, 1, x_25); +lean_ctor_set(x_26, 2, x_24); +x_27 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; +x_28 = l_Array_append___rarg(x_27, x_12); +x_29 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_15); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_15); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_32 = lean_array_push(x_31, x_26); +x_33 = lean_array_push(x_32, x_30); +x_34 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__4; +lean_inc(x_15); +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_15); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_33); +x_36 = lean_array_push(x_20, x_35); +lean_inc(x_15); +x_37 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_37, 0, x_15); +lean_ctor_set(x_37, 1, x_29); +lean_ctor_set(x_37, 2, x_36); +x_38 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_15); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_15); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; +x_41 = lean_array_push(x_40, x_17); +x_42 = lean_array_push(x_41, x_37); +x_43 = lean_array_push(x_42, x_39); +x_44 = lean_array_push(x_43, x_11); +x_45 = l_Lean_Parser_Tactic_Conv_case___closed__2; +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_15); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_46, 2, x_44); +lean_ctor_set(x_13, 0, x_46); +return x_13; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_47 = lean_ctor_get(x_13, 0); +x_48 = lean_ctor_get(x_13, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_13); +x_49 = l_Lean_Parser_Tactic_Conv_case___closed__1; +lean_inc(x_47); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_47); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__7; +lean_inc(x_47); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_47); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_54 = lean_array_push(x_53, x_52); +x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__6; +lean_inc(x_47); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +x_57 = lean_array_push(x_53, x_56); +x_58 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__2; +lean_inc(x_47); +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_47); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_57); +x_60 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; +x_61 = l_Array_append___rarg(x_60, x_12); +x_62 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_47); +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_47); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_61); +x_64 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_65 = lean_array_push(x_64, x_59); +x_66 = lean_array_push(x_65, x_63); +x_67 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__4; +lean_inc(x_47); +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_47); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_66); +x_69 = lean_array_push(x_53, x_68); +lean_inc(x_47); +x_70 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_70, 0, x_47); +lean_ctor_set(x_70, 1, x_62); +lean_ctor_set(x_70, 2, x_69); +x_71 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_47); +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_47); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; +x_74 = lean_array_push(x_73, x_50); +x_75 = lean_array_push(x_74, x_70); +x_76 = lean_array_push(x_75, x_72); +x_77 = lean_array_push(x_76, x_11); +x_78 = l_Lean_Parser_Tactic_Conv_case___closed__2; +x_79 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_79, 0, x_47); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_79, 2, x_77); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_48); +return x_80; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_focus___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("focus", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_focus___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_focus___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_focus___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("focus ", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_focus___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_focus___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_focus___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_focus___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_focus___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_focus___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_focus___closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_focus() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_focus___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_focus___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_focus___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_14); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_14); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +x_19 = 0; +x_20 = l_Lean_SourceInfo_fromRef(x_9, x_19); +x_21 = l_Lean_Parser_Tactic_Conv_focus___closed__1; +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_14); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_26 = lean_array_push(x_25, x_24); +lean_inc(x_18); +x_27 = lean_array_push(x_26, x_18); +x_28 = lean_array_push(x_27, x_11); +x_29 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_14); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_14); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_32 = lean_array_push(x_31, x_30); +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_14); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_14); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = lean_array_push(x_31, x_34); +x_36 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_14); +x_37 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_35); +x_38 = lean_array_push(x_31, x_37); +x_39 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_14); +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_14); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_42 = lean_array_push(x_41, x_22); +x_43 = lean_array_push(x_42, x_40); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1___closed__1; +lean_inc(x_14); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +x_46 = lean_array_push(x_31, x_45); +lean_inc(x_14); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_14); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_46); +x_48 = lean_array_push(x_31, x_47); +lean_inc(x_14); +x_49 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_49, 0, x_14); +lean_ctor_set(x_49, 1, x_36); +lean_ctor_set(x_49, 2, x_48); +x_50 = lean_array_push(x_31, x_49); +lean_inc(x_14); +x_51 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_51, 0, x_14); +lean_ctor_set(x_51, 1, x_39); +lean_ctor_set(x_51, 2, x_50); +x_52 = lean_array_push(x_25, x_16); +x_53 = lean_array_push(x_52, x_18); +x_54 = lean_array_push(x_53, x_51); +x_55 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_14); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +lean_ctor_set(x_12, 0, x_56); +return x_12; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_57 = lean_ctor_get(x_12, 0); +x_58 = lean_ctor_get(x_12, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_12); +x_59 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_57); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_59); +x_61 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_57); +x_62 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_62, 0, x_57); +lean_ctor_set(x_62, 1, x_61); +x_63 = 0; +x_64 = l_Lean_SourceInfo_fromRef(x_9, x_63); +x_65 = l_Lean_Parser_Tactic_Conv_focus___closed__1; +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_57); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_70 = lean_array_push(x_69, x_68); +lean_inc(x_62); +x_71 = lean_array_push(x_70, x_62); +x_72 = lean_array_push(x_71, x_11); +x_73 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_57); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_57); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_72); +x_75 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_76 = lean_array_push(x_75, x_74); +x_77 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_57); +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_57); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = lean_array_push(x_75, x_78); +x_80 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_57); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_57); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_79); +x_82 = lean_array_push(x_75, x_81); +x_83 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_57); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_57); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +x_85 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_86 = lean_array_push(x_85, x_66); +x_87 = lean_array_push(x_86, x_84); +x_88 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1___closed__1; +lean_inc(x_57); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_57); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_89, 2, x_87); +x_90 = lean_array_push(x_75, x_89); +lean_inc(x_57); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_57); +lean_ctor_set(x_91, 1, x_77); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_array_push(x_75, x_91); +lean_inc(x_57); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_57); +lean_ctor_set(x_93, 1, x_80); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_array_push(x_75, x_93); +lean_inc(x_57); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_57); +lean_ctor_set(x_95, 1, x_83); +lean_ctor_set(x_95, 2, x_94); +x_96 = lean_array_push(x_69, x_60); +x_97 = lean_array_push(x_96, x_62); +x_98 = lean_array_push(x_97, x_95); +x_99 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_100 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_100, 0, x_57); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_58); +return x_101; +} +} +} +} static lean_object* _init_l_Lean_Parser_Tactic_Conv_convConvSeq___closed__1() { _start: { @@ -3475,7 +6976,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_convConvSeq___closed__3; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__25; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3623,42 +7124,6 @@ x_1 = l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("null", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(3u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(1u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -3689,129 +7154,452 @@ x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRul x_13 = !lean_is_exclusive(x_12); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_14 = lean_ctor_get(x_12, 0); -x_15 = l_Lean_SourceInfo_fromRef(x_9); -x_16 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; -x_17 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_Parser_Tactic_Conv_paren___closed__3; +x_15 = 0; +x_16 = l_Lean_SourceInfo_fromRef(x_9, x_15); +x_17 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Parser_Tactic_Conv_paren___closed__3; lean_inc(x_14); -x_19 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_19, 0, x_14); -lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; lean_inc(x_14); -x_21 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_21, 0, x_14); -lean_ctor_set(x_21, 1, x_20); -x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_23 = lean_array_push(x_22, x_19); -x_24 = lean_array_push(x_23, x_11); -x_25 = lean_array_push(x_24, x_21); -x_26 = l_Lean_Parser_Tactic_Conv_paren___closed__2; +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_14); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_24 = lean_array_push(x_23, x_20); +x_25 = lean_array_push(x_24, x_11); +x_26 = lean_array_push(x_25, x_22); +x_27 = l_Lean_Parser_Tactic_Conv_paren___closed__2; lean_inc(x_14); -x_27 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_27, 0, x_14); -lean_ctor_set(x_27, 1, x_26); -lean_ctor_set(x_27, 2, x_25); -x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_29 = lean_array_push(x_28, x_27); -x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_14); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_26); +x_29 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_30 = lean_array_push(x_29, x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_14); -x_31 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_31, 0, x_14); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; +x_32 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_32, 0, x_14); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_30); +x_33 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; lean_inc(x_14); -x_33 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_33, 0, x_14); -lean_ctor_set(x_33, 1, x_32); -x_34 = lean_array_push(x_22, x_17); -x_35 = lean_array_push(x_34, x_31); -x_36 = lean_array_push(x_35, x_33); -x_37 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; +x_34 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_34, 0, x_14); +lean_ctor_set(x_34, 1, x_33); +x_35 = lean_array_push(x_23, x_18); +x_36 = lean_array_push(x_35, x_32); +x_37 = lean_array_push(x_36, x_34); +x_38 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; lean_inc(x_14); -x_38 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_38, 0, x_14); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_36); -x_39 = lean_array_push(x_28, x_38); -x_40 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; -x_41 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_41, 0, x_14); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_39); -lean_ctor_set(x_12, 0, x_41); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_14); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_37); +x_40 = lean_array_push(x_29, x_39); +x_41 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_14); +lean_ctor_set(x_42, 1, x_41); +lean_ctor_set(x_42, 2, x_40); +lean_ctor_set(x_12, 0, x_42); return x_12; } else { -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; -x_42 = lean_ctor_get(x_12, 0); -x_43 = lean_ctor_get(x_12, 1); +lean_object* x_43; lean_object* x_44; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 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; +x_43 = lean_ctor_get(x_12, 0); +x_44 = lean_ctor_get(x_12, 1); +lean_inc(x_44); lean_inc(x_43); -lean_inc(x_42); lean_dec(x_12); -x_44 = l_Lean_SourceInfo_fromRef(x_9); -x_45 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Parser_Tactic_Conv_paren___closed__3; -lean_inc(x_42); +x_45 = 0; +x_46 = l_Lean_SourceInfo_fromRef(x_9, x_45); +x_47 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__3; x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_42); +lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); -x_49 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; -lean_inc(x_42); +x_49 = l_Lean_Parser_Tactic_Conv_paren___closed__3; +lean_inc(x_43); x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_42); +lean_ctor_set(x_50, 0, x_43); lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_52 = lean_array_push(x_51, x_48); -x_53 = lean_array_push(x_52, x_11); +x_51 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; +lean_inc(x_43); +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_43); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_54 = lean_array_push(x_53, x_50); -x_55 = l_Lean_Parser_Tactic_Conv_paren___closed__2; -lean_inc(x_42); +x_55 = lean_array_push(x_54, x_11); +x_56 = lean_array_push(x_55, x_52); +x_57 = l_Lean_Parser_Tactic_Conv_paren___closed__2; +lean_inc(x_43); +x_58 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_58, 0, x_43); +lean_ctor_set(x_58, 1, x_57); +lean_ctor_set(x_58, 2, x_56); +x_59 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_60 = lean_array_push(x_59, x_58); +x_61 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_43); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_43); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_60); +x_63 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; +lean_inc(x_43); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_43); +lean_ctor_set(x_64, 1, x_63); +x_65 = lean_array_push(x_53, x_48); +x_66 = lean_array_push(x_65, x_62); +x_67 = lean_array_push(x_66, x_64); +x_68 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; +lean_inc(x_43); +x_69 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_69, 0, x_43); +lean_ctor_set(x_69, 1, x_68); +lean_ctor_set(x_69, 2, x_67); +x_70 = lean_array_push(x_59, x_69); +x_71 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_43); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_70); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_44); +return x_73; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("failIfSuccess", 13); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("fail_if_success ", 16); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_failIfSuccess() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("fail_if_success", 15); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +lean_dec(x_1); +x_12 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_14 = lean_ctor_get(x_12, 0); +x_15 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_14); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_14); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_17); +x_19 = 0; +x_20 = l_Lean_SourceInfo_fromRef(x_9, x_19); +x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__2; +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_14); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_14); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_26 = lean_array_push(x_25, x_24); +lean_inc(x_18); +x_27 = lean_array_push(x_26, x_18); +x_28 = lean_array_push(x_27, x_11); +x_29 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_14); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_14); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_32 = lean_array_push(x_31, x_30); +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_14); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_14); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = lean_array_push(x_31, x_34); +x_36 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_14); +x_37 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_37, 0, x_14); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_37, 2, x_35); +x_38 = lean_array_push(x_31, x_37); +x_39 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_14); +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_14); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_42 = lean_array_push(x_41, x_22); +x_43 = lean_array_push(x_42, x_40); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__1; +lean_inc(x_14); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +x_46 = lean_array_push(x_31, x_45); +lean_inc(x_14); +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_14); +lean_ctor_set(x_47, 1, x_33); +lean_ctor_set(x_47, 2, x_46); +x_48 = lean_array_push(x_31, x_47); +lean_inc(x_14); +x_49 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_49, 0, x_14); +lean_ctor_set(x_49, 1, x_36); +lean_ctor_set(x_49, 2, x_48); +x_50 = lean_array_push(x_31, x_49); +lean_inc(x_14); +x_51 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_51, 0, x_14); +lean_ctor_set(x_51, 1, x_39); +lean_ctor_set(x_51, 2, x_50); +x_52 = lean_array_push(x_25, x_16); +x_53 = lean_array_push(x_52, x_18); +x_54 = lean_array_push(x_53, x_51); +x_55 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_42); +lean_ctor_set(x_56, 0, x_14); lean_ctor_set(x_56, 1, x_55); lean_ctor_set(x_56, 2, x_54); -x_57 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_58 = lean_array_push(x_57, x_56); -x_59 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -lean_inc(x_42); -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_42); +lean_ctor_set(x_12, 0, x_56); +return x_12; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_57 = lean_ctor_get(x_12, 0); +x_58 = lean_ctor_get(x_12, 1); +lean_inc(x_58); +lean_inc(x_57); +lean_dec(x_12); +x_59 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_57); +x_60 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_60, 0, x_57); lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_60, 2, x_58); -x_61 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__9; -lean_inc(x_42); +x_61 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_57); x_62 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_62, 0, x_42); +lean_ctor_set(x_62, 0, x_57); lean_ctor_set(x_62, 1, x_61); -x_63 = lean_array_push(x_51, x_46); -x_64 = lean_array_push(x_63, x_60); -x_65 = lean_array_push(x_64, x_62); -x_66 = l_Lean_Parser_Tactic_Conv_convSeqBracketed___closed__2; -lean_inc(x_42); -x_67 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_67, 0, x_42); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_65); -x_68 = lean_array_push(x_57, x_67); -x_69 = l_Lean_Parser_Tactic_Conv_nestedConv___closed__2; -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_42); -lean_ctor_set(x_70, 1, x_69); -lean_ctor_set(x_70, 2, x_68); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_43); -return x_71; +x_63 = 0; +x_64 = l_Lean_SourceInfo_fromRef(x_9, x_63); +x_65 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__2; +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_57); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_57); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_70 = lean_array_push(x_69, x_68); +lean_inc(x_62); +x_71 = lean_array_push(x_70, x_62); +x_72 = lean_array_push(x_71, x_11); +x_73 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_57); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_57); +lean_ctor_set(x_74, 1, x_73); +lean_ctor_set(x_74, 2, x_72); +x_75 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_76 = lean_array_push(x_75, x_74); +x_77 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_57); +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_57); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = lean_array_push(x_75, x_78); +x_80 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_57); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_57); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_79); +x_82 = lean_array_push(x_75, x_81); +x_83 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_57); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_57); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +x_85 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_86 = lean_array_push(x_85, x_66); +x_87 = lean_array_push(x_86, x_84); +x_88 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__1; +lean_inc(x_57); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_57); +lean_ctor_set(x_89, 1, x_88); +lean_ctor_set(x_89, 2, x_87); +x_90 = lean_array_push(x_75, x_89); +lean_inc(x_57); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_57); +lean_ctor_set(x_91, 1, x_77); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_array_push(x_75, x_91); +lean_inc(x_57); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_57); +lean_ctor_set(x_93, 1, x_80); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_array_push(x_75, x_93); +lean_inc(x_57); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_57); +lean_ctor_set(x_95, 1, x_83); +lean_ctor_set(x_95, 2, x_94); +x_96 = lean_array_push(x_69, x_60); +x_97 = lean_array_push(x_96, x_62); +x_98 = lean_array_push(x_97, x_95); +x_99 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_100 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_100, 0, x_57); +lean_ctor_set(x_100, 1, x_99); +lean_ctor_set(x_100, 2, x_98); +x_101 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_58); +return x_101; } } } @@ -3908,16 +7696,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macro _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(0u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; x_2 = l_Array_append___rarg(x_1, x_1); return x_2; } @@ -4009,13 +7788,13 @@ lean_inc(x_13); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_13); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_18 = lean_array_push(x_17, x_16); if (lean_obj_tag(x_12) == 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; -x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -x_20 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__2; +x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +x_20 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; lean_inc(x_13); x_21 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_21, 0, x_13); @@ -4039,11 +7818,11 @@ lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean x_27 = lean_ctor_get(x_12, 0); lean_inc(x_27); lean_dec(x_12); -x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_29 = lean_array_push(x_28, x_27); -x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; x_31 = l_Array_append___rarg(x_30, x_29); -x_32 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_32 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_13); x_33 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_33, 0, x_13); @@ -4263,31 +8042,22 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(2u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__15() { -_start: -{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("dotIdent", 8); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__6; -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__15; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16() { _start: { lean_object* x_1; @@ -4295,22 +8065,22 @@ x_1 = lean_mk_string_from_bytes("default", 7); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__18() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17; +x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17; +x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__18; +x_3 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -4318,17 +8088,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__20() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__21() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__20() { _start: { lean_object* x_1; @@ -4336,12 +8106,22 @@ x_1 = lean_mk_string_from_bytes("Inhabited", 9); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__22() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__21; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__20; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__21; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -4350,59 +8130,49 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macro _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__22; -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__17; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__22; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__24() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__23; -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* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__25() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__20; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__24; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__26() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__23; x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__25; x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__27() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__24; -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__26; -x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__28() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__27() { _start: { lean_object* x_1; @@ -4410,17 +8180,17 @@ x_1 = lean_mk_string_from_bytes("optEllipsis", 11); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__28() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__6; -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__28; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__27; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29() { _start: { lean_object* x_1; lean_object* x_2; @@ -4429,7 +8199,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__31() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30() { _start: { lean_object* x_1; lean_object* x_2; @@ -4499,8 +8269,8 @@ lean_inc(x_12); x_24 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_24, 0, x_12); lean_ctor_set(x_24, 1, x_23); -x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -x_26 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +x_26 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; lean_inc(x_12); x_27 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_27, 0, x_12); @@ -4518,7 +8288,7 @@ lean_ctor_set(x_32, 0, x_12); lean_ctor_set(x_32, 1, x_31); lean_ctor_set(x_32, 2, x_29); lean_ctor_set(x_32, 3, x_30); -x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_34 = lean_array_push(x_33, x_32); lean_inc(x_27); x_35 = lean_array_push(x_34, x_27); @@ -4533,10 +8303,10 @@ lean_inc(x_12); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_12); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__20; +x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19; x_41 = l_Lean_addMacroScope(x_14, x_40, x_13); -x_42 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19; -x_43 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__27; +x_42 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__18; +x_43 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__26; lean_inc(x_12); x_44 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_44, 0, x_12); @@ -4545,13 +8315,13 @@ lean_ctor_set(x_44, 2, x_41); lean_ctor_set(x_44, 3, x_43); x_45 = lean_array_push(x_33, x_39); x_46 = lean_array_push(x_45, x_44); -x_47 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16; +x_47 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__15; lean_inc(x_12); x_48 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_48, 0, x_12); lean_ctor_set(x_48, 1, x_47); lean_ctor_set(x_48, 2, x_46); -x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_50 = lean_array_push(x_49, x_37); lean_inc(x_22); x_51 = lean_array_push(x_50, x_22); @@ -4562,7 +8332,7 @@ x_54 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_54, 0, x_12); lean_ctor_set(x_54, 1, x_53); lean_ctor_set(x_54, 2, x_52); -x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_56 = lean_array_push(x_55, x_54); lean_inc(x_12); x_57 = lean_alloc_ctor(1, 3, 0); @@ -4571,7 +8341,7 @@ lean_ctor_set(x_57, 1, x_25); lean_ctor_set(x_57, 2, x_56); lean_inc(x_27); x_58 = lean_array_push(x_55, x_27); -x_59 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29; +x_59 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__28; lean_inc(x_12); x_60 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_60, 0, x_12); @@ -4582,7 +8352,7 @@ lean_inc(x_12); x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_12); lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30; +x_63 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29; x_64 = lean_array_push(x_63, x_24); lean_inc(x_27); x_65 = lean_array_push(x_64, x_27); @@ -4601,7 +8371,7 @@ lean_inc(x_12); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_12); lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__31; +x_74 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30; x_75 = lean_array_push(x_74, x_18); x_76 = lean_array_push(x_75, x_20); x_77 = lean_array_push(x_76, x_22); @@ -4668,8 +8438,8 @@ lean_inc(x_89); x_102 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_102, 0, x_89); lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -x_104 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_103 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +x_104 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; lean_inc(x_89); x_105 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_105, 0, x_89); @@ -4687,7 +8457,7 @@ lean_ctor_set(x_110, 0, x_89); lean_ctor_set(x_110, 1, x_109); lean_ctor_set(x_110, 2, x_107); lean_ctor_set(x_110, 3, x_108); -x_111 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_111 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_112 = lean_array_push(x_111, x_110); lean_inc(x_105); x_113 = lean_array_push(x_112, x_105); @@ -4702,10 +8472,10 @@ lean_inc(x_89); x_117 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_117, 0, x_89); lean_ctor_set(x_117, 1, x_116); -x_118 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__20; +x_118 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19; x_119 = l_Lean_addMacroScope(x_92, x_118, x_91); -x_120 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__19; -x_121 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__27; +x_120 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__18; +x_121 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__26; lean_inc(x_89); x_122 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_122, 0, x_89); @@ -4714,13 +8484,13 @@ lean_ctor_set(x_122, 2, x_119); lean_ctor_set(x_122, 3, x_121); x_123 = lean_array_push(x_111, x_117); x_124 = lean_array_push(x_123, x_122); -x_125 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__16; +x_125 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__15; lean_inc(x_89); x_126 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_126, 0, x_89); lean_ctor_set(x_126, 1, x_125); lean_ctor_set(x_126, 2, x_124); -x_127 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_127 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_128 = lean_array_push(x_127, x_115); lean_inc(x_100); x_129 = lean_array_push(x_128, x_100); @@ -4731,7 +8501,7 @@ x_132 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_132, 0, x_89); lean_ctor_set(x_132, 1, x_131); lean_ctor_set(x_132, 2, x_130); -x_133 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_133 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_134 = lean_array_push(x_133, x_132); lean_inc(x_89); x_135 = lean_alloc_ctor(1, 3, 0); @@ -4740,7 +8510,7 @@ lean_ctor_set(x_135, 1, x_103); lean_ctor_set(x_135, 2, x_134); lean_inc(x_105); x_136 = lean_array_push(x_133, x_105); -x_137 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29; +x_137 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__28; lean_inc(x_89); x_138 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_138, 0, x_89); @@ -4751,7 +8521,7 @@ lean_inc(x_89); x_140 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_140, 0, x_89); lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30; +x_141 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29; x_142 = lean_array_push(x_141, x_102); lean_inc(x_105); x_143 = lean_array_push(x_142, x_105); @@ -4770,7 +8540,7 @@ lean_inc(x_89); x_151 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_151, 0, x_89); lean_ctor_set(x_151, 1, x_150); -x_152 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__31; +x_152 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30; x_153 = lean_array_push(x_152, x_96); x_154 = lean_array_push(x_153, x_98); x_155 = lean_array_push(x_154, x_100); @@ -4894,7 +8664,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_Conv_congr___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -4917,7 +8687,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_Conv_congr___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -5022,7 +8792,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_Conv_lhs___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -5045,7 +8815,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_Conv_lhs___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -5150,7 +8920,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_Conv_rhs___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -5173,7 +8943,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_Conv_rhs___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -5232,7 +9002,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_convIntro_______closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__10; +x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__13; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -5299,15 +9069,15 @@ lean_inc(x_13); x_15 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_16 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; x_17 = l_Array_append___rarg(x_16, x_10); -x_18 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_18 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_13); x_19 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_19, 0, x_13); lean_ctor_set(x_19, 1, x_18); lean_ctor_set(x_19, 2, x_17); -x_20 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_20 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_21 = lean_array_push(x_20, x_15); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_Conv_ext___closed__2; @@ -5331,15 +9101,15 @@ lean_inc(x_25); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_25); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_29 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; x_30 = l_Array_append___rarg(x_29, x_10); -x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_25); x_32 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_32, 0, x_25); lean_ctor_set(x_32, 1, x_31); lean_ctor_set(x_32, 2, x_30); -x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_33 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_34 = lean_array_push(x_33, x_28); x_35 = lean_array_push(x_34, x_32); x_36 = l_Lean_Parser_Tactic_Conv_ext___closed__2; @@ -5396,7 +9166,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__7; +x_2 = l_Lean_Parser_Tactic_Conv_arg___closed__9; x_3 = l_Lean_Parser_Tactic_Conv_occsIndexed___closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -5422,7 +9192,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_convSeq___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__10; +x_2 = l_Lean_Parser_Tactic_Conv_ext___closed__11; x_3 = l_Lean_Parser_Tactic_Conv_enterArg___closed__6; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); @@ -5585,31 +9355,6 @@ x_1 = l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__10; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("[", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(4u); -x_2 = lean_mk_empty_array_with_capacity(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes(";", 1); -return x_1; -} -} LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -5665,7 +9410,7 @@ x_19 = lean_nat_sub(x_12, x_16); lean_dec(x_12); x_20 = l_Array_extract___rarg(x_18, x_8, x_19); x_21 = lean_box(2); -x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; x_23 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_23, 0, x_21); lean_ctor_set(x_23, 1, x_22); @@ -5688,12 +9433,12 @@ lean_inc(x_27); x_31 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_31, 0, x_27); lean_ctor_set(x_31, 1, x_30); -x_32 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__1; +x_32 = l_Lean_Parser_Tactic_Conv_dsimp___closed__11; lean_inc(x_27); x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_27); lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_34 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_35 = lean_array_push(x_34, x_17); lean_inc(x_27); x_36 = lean_alloc_ctor(1, 3, 0); @@ -5705,7 +9450,7 @@ lean_inc(x_27); x_38 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_38, 0, x_27); lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__2; +x_39 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; x_40 = lean_array_push(x_39, x_31); x_41 = lean_array_push(x_40, x_33); lean_inc(x_41); @@ -5717,12 +9462,12 @@ x_44 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_44, 0, x_27); lean_ctor_set(x_44, 1, x_4); lean_ctor_set(x_44, 2, x_43); -x_45 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3; +x_45 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5; lean_inc(x_27); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_27); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_47 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; x_48 = l_Array_append___rarg(x_47, x_24); lean_inc(x_27); x_49 = lean_alloc_ctor(1, 3, 0); @@ -5736,7 +9481,7 @@ x_52 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_52, 0, x_27); lean_ctor_set(x_52, 1, x_4); lean_ctor_set(x_52, 2, x_51); -x_53 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_53 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_54 = lean_array_push(x_53, x_44); x_55 = lean_array_push(x_54, x_46); x_56 = lean_array_push(x_55, x_52); @@ -5793,12 +9538,12 @@ lean_inc(x_71); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_71); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__1; +x_77 = l_Lean_Parser_Tactic_Conv_dsimp___closed__11; lean_inc(x_71); x_78 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_78, 0, x_71); lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_79 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_80 = lean_array_push(x_79, x_17); lean_inc(x_71); x_81 = lean_alloc_ctor(1, 3, 0); @@ -5810,7 +9555,7 @@ lean_inc(x_71); x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_71); lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__2; +x_84 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6; x_85 = lean_array_push(x_84, x_76); x_86 = lean_array_push(x_85, x_78); lean_inc(x_86); @@ -5822,12 +9567,12 @@ x_89 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_89, 0, x_71); lean_ctor_set(x_89, 1, x_4); lean_ctor_set(x_89, 2, x_88); -x_90 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3; +x_90 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5; lean_inc(x_71); x_91 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_91, 0, x_71); lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_92 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; x_93 = l_Array_append___rarg(x_92, x_24); lean_inc(x_71); x_94 = lean_alloc_ctor(1, 3, 0); @@ -5841,7 +9586,7 @@ x_97 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_97, 0, x_71); lean_ctor_set(x_97, 1, x_4); lean_ctor_set(x_97, 2, x_96); -x_98 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_98 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_99 = lean_array_push(x_98, x_89); x_100 = lean_array_push(x_99, x_91); x_101 = lean_array_push(x_100, x_97); @@ -5915,7 +9660,7 @@ x_125 = l_Lean_Syntax_isOfKind(x_123, x_124); if (x_125 == 0) { lean_object* x_126; uint8_t x_127; -x_126 = l_Lean_Parser_Tactic_Conv_conv___closed__9; +x_126 = l_Lean_Parser_Tactic_Conv_ext___closed__10; lean_inc(x_123); x_127 = l_Lean_Syntax_isOfKind(x_123, x_126); if (x_127 == 0) @@ -5943,15 +9688,15 @@ lean_inc(x_132); x_134 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_134, 0, x_132); lean_ctor_set(x_134, 1, x_133); -x_135 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_135 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_136 = lean_array_push(x_135, x_123); -x_137 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_137 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_132); x_138 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_138, 0, x_132); lean_ctor_set(x_138, 1, x_137); lean_ctor_set(x_138, 2, x_136); -x_139 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_139 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_140 = lean_array_push(x_139, x_134); x_141 = lean_array_push(x_140, x_138); x_142 = l_Lean_Parser_Tactic_Conv_ext___closed__2; @@ -5975,15 +9720,15 @@ lean_inc(x_144); x_147 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_147, 0, x_144); lean_ctor_set(x_147, 1, x_146); -x_148 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_148 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_149 = lean_array_push(x_148, x_123); -x_150 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_150 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_144); x_151 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_151, 0, x_144); lean_ctor_set(x_151, 1, x_150); lean_ctor_set(x_151, 2, x_149); -x_152 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_152 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_153 = lean_array_push(x_152, x_147); x_154 = lean_array_push(x_153, x_151); x_155 = l_Lean_Parser_Tactic_Conv_ext___closed__2; @@ -6035,20 +9780,20 @@ lean_inc(x_166); x_168 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_168, 0, x_166); lean_ctor_set(x_168, 1, x_167); -x_169 = l_Lean_Parser_Tactic_Conv_arg___closed__5; +x_169 = l_Lean_Parser_Tactic_Conv_arg___closed__7; lean_inc(x_166); x_170 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_170, 0, x_166); lean_ctor_set(x_170, 1, x_169); -x_171 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_171 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_172 = lean_array_push(x_171, x_170); -x_173 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_173 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_166); x_174 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_174, 0, x_166); lean_ctor_set(x_174, 1, x_173); lean_ctor_set(x_174, 2, x_172); -x_175 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_175 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_176 = lean_array_push(x_175, x_168); x_177 = lean_array_push(x_176, x_174); x_178 = lean_array_push(x_177, x_163); @@ -6073,20 +9818,20 @@ lean_inc(x_181); x_184 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_184, 0, x_181); lean_ctor_set(x_184, 1, x_183); -x_185 = l_Lean_Parser_Tactic_Conv_arg___closed__5; +x_185 = l_Lean_Parser_Tactic_Conv_arg___closed__7; lean_inc(x_181); x_186 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_186, 0, x_181); lean_ctor_set(x_186, 1, x_185); -x_187 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_187 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_188 = lean_array_push(x_187, x_186); -x_189 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_189 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_181); x_190 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_190, 0, x_181); lean_ctor_set(x_190, 1, x_189); lean_ctor_set(x_190, 2, x_188); -x_191 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_191 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_192 = lean_array_push(x_191, x_184); x_193 = lean_array_push(x_192, x_190); x_194 = lean_array_push(x_193, x_163); @@ -6136,14 +9881,14 @@ lean_inc(x_205); x_207 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_207, 0, x_205); lean_ctor_set(x_207, 1, x_206); -x_208 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -x_209 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_208 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +x_209 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; lean_inc(x_205); x_210 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_210, 0, x_205); lean_ctor_set(x_210, 1, x_208); lean_ctor_set(x_210, 2, x_209); -x_211 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_211 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_212 = lean_array_push(x_211, x_207); x_213 = lean_array_push(x_212, x_210); x_214 = lean_array_push(x_213, x_198); @@ -6168,14 +9913,14 @@ lean_inc(x_217); x_220 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_220, 0, x_217); lean_ctor_set(x_220, 1, x_219); -x_221 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -x_222 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1; +x_221 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +x_222 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2; lean_inc(x_217); x_223 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_223, 0, x_217); lean_ctor_set(x_223, 1, x_221); lean_ctor_set(x_223, 2, x_222); -x_224 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_224 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_225 = lean_array_push(x_224, x_220); x_226 = lean_array_push(x_225, x_223); x_227 = lean_array_push(x_226, x_198); @@ -6197,718 +9942,6 @@ return x_230; } } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("convRfl", 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_convRfl___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("rfl", 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__4() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_convRfl___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_convRfl___closed__4; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRfl() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_convRfl___closed__5; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("=>", 2); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; -x_2 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tacticSeq1Indented", 18); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("tacticRfl", 9); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic_Conv_convRfl___closed__2; -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -else -{ -lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_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; -x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3; -lean_inc(x_10); -x_12 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; -lean_inc(x_10); -x_14 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; -lean_inc(x_10); -x_16 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_18 = lean_array_push(x_17, x_16); -x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; -lean_inc(x_10); -x_20 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_20, 0, x_10); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_20, 2, x_18); -x_21 = lean_array_push(x_17, x_20); -x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -lean_inc(x_10); -x_23 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_23, 0, x_10); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_21); -x_24 = lean_array_push(x_17, x_23); -x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; -lean_inc(x_10); -x_26 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_26, 0, x_10); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_24); -x_27 = lean_array_push(x_17, x_26); -x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; -lean_inc(x_10); -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_10); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_27); -x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_31 = lean_array_push(x_30, x_12); -x_32 = lean_array_push(x_31, x_14); -x_33 = lean_array_push(x_32, x_29); -x_34 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2; -x_35 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_35, 0, x_10); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_33); -lean_ctor_set(x_8, 0, x_35); -return x_8; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_36 = lean_ctor_get(x_8, 0); -x_37 = lean_ctor_get(x_8, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_8); -x_38 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__3; -lean_inc(x_36); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; -lean_inc(x_36); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Parser_Tactic_Conv_convRfl___closed__3; -lean_inc(x_36); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_36); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_45 = lean_array_push(x_44, x_43); -x_46 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; -lean_inc(x_36); -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_36); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_45); -x_48 = lean_array_push(x_44, x_47); -x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -lean_inc(x_36); -x_50 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_50, 0, x_36); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_50, 2, x_48); -x_51 = lean_array_push(x_44, x_50); -x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; -lean_inc(x_36); -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_36); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_51); -x_54 = lean_array_push(x_44, x_53); -x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; -lean_inc(x_36); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_36); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_54); -x_57 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_58 = lean_array_push(x_57, x_39); -x_59 = lean_array_push(x_58, x_41); -x_60 = lean_array_push(x_59, x_56); -x_61 = l_Lean_Parser_Tactic_Conv_nestedTactic___closed__2; -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_36); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_60); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_37); -return x_63; -} -} -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("convDone", 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_convDone___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("done", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__4() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_convDone___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_convDone___closed__4; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convDone() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_convDone___closed__5; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; -x_2 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic_Conv_convDone___closed__2; -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -else -{ -lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_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; -x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; -lean_inc(x_10); -x_12 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; -lean_inc(x_10); -x_14 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; -lean_inc(x_10); -x_16 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_18 = lean_array_push(x_17, x_16); -x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1; -lean_inc(x_10); -x_20 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_20, 0, x_10); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_20, 2, x_18); -x_21 = lean_array_push(x_17, x_20); -x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -lean_inc(x_10); -x_23 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_23, 0, x_10); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_21); -x_24 = lean_array_push(x_17, x_23); -x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; -lean_inc(x_10); -x_26 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_26, 0, x_10); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_24); -x_27 = lean_array_push(x_17, x_26); -x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; -lean_inc(x_10); -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_10); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_27); -x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_31 = lean_array_push(x_30, x_12); -x_32 = lean_array_push(x_31, x_14); -x_33 = lean_array_push(x_32, x_29); -x_34 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; -x_35 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_35, 0, x_10); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_33); -lean_ctor_set(x_8, 0, x_35); -return x_8; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_36 = lean_ctor_get(x_8, 0); -x_37 = lean_ctor_get(x_8, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_8); -x_38 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; -lean_inc(x_36); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; -lean_inc(x_36); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Parser_Tactic_Conv_convDone___closed__3; -lean_inc(x_36); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_36); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_45 = lean_array_push(x_44, x_43); -x_46 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1; -lean_inc(x_36); -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_36); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_45); -x_48 = lean_array_push(x_44, x_47); -x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -lean_inc(x_36); -x_50 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_50, 0, x_36); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_50, 2, x_48); -x_51 = lean_array_push(x_44, x_50); -x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; -lean_inc(x_36); -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_36); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_51); -x_54 = lean_array_push(x_44, x_53); -x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; -lean_inc(x_36); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_36); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_54); -x_57 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_58 = lean_array_push(x_57, x_39); -x_59 = lean_array_push(x_58, x_41); -x_60 = lean_array_push(x_59, x_56); -x_61 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_36); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_60); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_37); -return x_63; -} -} -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("convTrace_state", 15); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; -x_2 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("trace_state", 11); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4() { -_start: -{ -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3; -x_2 = 0; -x_3 = lean_alloc_ctor(6, 1, 1); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2; -x_2 = lean_unsigned_to_nat(1024u); -x_3 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4; -x_4 = lean_alloc_ctor(3, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTrace__state() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5; -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("traceState", 10); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; -x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { -_start: -{ -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2; -x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); -if (x_5 == 0) -{ -lean_object* x_6; lean_object* x_7; -lean_dec(x_2); -x_6 = lean_box(1); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_3); -return x_7; -} -else -{ -lean_object* x_8; uint8_t x_9; -x_8 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_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; -x_10 = lean_ctor_get(x_8, 0); -x_11 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; -lean_inc(x_10); -x_12 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_12, 0, x_10); -lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; -lean_inc(x_10); -x_14 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_14, 0, x_10); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3; -lean_inc(x_10); -x_16 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_16, 0, x_10); -lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_18 = lean_array_push(x_17, x_16); -x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2; -lean_inc(x_10); -x_20 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_20, 0, x_10); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_20, 2, x_18); -x_21 = lean_array_push(x_17, x_20); -x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -lean_inc(x_10); -x_23 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_23, 0, x_10); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_21); -x_24 = lean_array_push(x_17, x_23); -x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; -lean_inc(x_10); -x_26 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_26, 0, x_10); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_24); -x_27 = lean_array_push(x_17, x_26); -x_28 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; -lean_inc(x_10); -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_10); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_27); -x_30 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_31 = lean_array_push(x_30, x_12); -x_32 = lean_array_push(x_31, x_14); -x_33 = lean_array_push(x_32, x_29); -x_34 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; -x_35 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_35, 0, x_10); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_33); -lean_ctor_set(x_8, 0, x_35); -return x_8; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_36 = lean_ctor_get(x_8, 0); -x_37 = lean_ctor_get(x_8, 1); -lean_inc(x_37); -lean_inc(x_36); -lean_dec(x_8); -x_38 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; -lean_inc(x_36); -x_39 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; -lean_inc(x_36); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_36); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3; -lean_inc(x_36); -x_43 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_43, 0, x_36); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; -x_45 = lean_array_push(x_44, x_43); -x_46 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2; -lean_inc(x_36); -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_36); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_45); -x_48 = lean_array_push(x_44, x_47); -x_49 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; -lean_inc(x_36); -x_50 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_50, 0, x_36); -lean_ctor_set(x_50, 1, x_49); -lean_ctor_set(x_50, 2, x_48); -x_51 = lean_array_push(x_44, x_50); -x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; -lean_inc(x_36); -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_36); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_51); -x_54 = lean_array_push(x_44, x_53); -x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; -lean_inc(x_36); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_36); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_54); -x_57 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; -x_58 = lean_array_push(x_57, x_39); -x_59 = lean_array_push(x_58, x_41); -x_60 = lean_array_push(x_59, x_56); -x_61 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_36); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_60); -x_63 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_63, 0, x_62); -lean_ctor_set(x_63, 1, x_37); -return x_63; -} -} -} -} static lean_object* _init_l_Lean_Parser_Tactic_Conv_convApply_____closed__1() { _start: { @@ -6953,7 +9986,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_convApply_____closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__20; +x_3 = l_Lean_Parser_Tactic_Conv_change___closed__7; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7046,7 +10079,7 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_20 = lean_array_push(x_19, x_18); x_21 = lean_array_push(x_20, x_9); x_22 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convApply____1___closed__2; @@ -7055,9 +10088,9 @@ x_23 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_23, 0, x_12); lean_ctor_set(x_23, 1, x_22); lean_ctor_set(x_23, 2, x_21); -x_24 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_24 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_25 = lean_array_push(x_24, x_23); -x_26 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_26 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_12); x_27 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_27, 0, x_12); @@ -7077,7 +10110,7 @@ x_33 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_33, 0, x_12); lean_ctor_set(x_33, 1, x_32); lean_ctor_set(x_33, 2, x_31); -x_34 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_34 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_35 = lean_array_push(x_34, x_14); x_36 = lean_array_push(x_35, x_16); x_37 = lean_array_push(x_36, x_33); @@ -7112,7 +10145,7 @@ lean_inc(x_40); x_47 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_47, 0, x_40); lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_48 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_49 = lean_array_push(x_48, x_47); x_50 = lean_array_push(x_49, x_9); x_51 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convApply____1___closed__2; @@ -7121,9 +10154,9 @@ x_52 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_52, 0, x_40); lean_ctor_set(x_52, 1, x_51); lean_ctor_set(x_52, 2, x_50); -x_53 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_53 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_54 = lean_array_push(x_53, x_52); -x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_55 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_40); x_56 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_56, 0, x_40); @@ -7143,7 +10176,7 @@ x_62 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_62, 0, x_40); lean_ctor_set(x_62, 1, x_61); lean_ctor_set(x_62, 2, x_60); -x_63 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_63 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_64 = lean_array_push(x_63, x_43); x_65 = lean_array_push(x_64, x_45); x_66 = lean_array_push(x_65, x_62); @@ -7247,19 +10280,25 @@ return x_2; static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__10() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("|", 1); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_Conv_first___closed__10; -x_2 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_first___closed__9; +x_3 = l_Lean_Parser_Tactic_Conv_first___closed__10; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__12() { @@ -7267,8 +10306,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; -x_2 = l_Lean_Parser_Tactic_Conv_first___closed__9; -x_3 = l_Lean_Parser_Tactic_Conv_first___closed__11; +x_2 = l_Lean_Parser_Tactic_Conv_first___closed__11; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7279,22 +10318,20 @@ return x_4; static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__13() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_enterArg___closed__4; x_2 = l_Lean_Parser_Tactic_Conv_first___closed__12; -x_3 = l_Lean_Parser_Tactic_Conv_convSeq; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_enterArg___closed__4; +x_1 = l_Lean_Parser_Tactic_Conv_occsIndexed___closed__4; x_2 = l_Lean_Parser_Tactic_Conv_first___closed__13; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7306,7 +10343,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_occsIndexed___closed__4; +x_1 = l_Lean_Parser_Tactic_Conv_first___closed__6; x_2 = l_Lean_Parser_Tactic_Conv_first___closed__14; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7317,22 +10354,10 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__16() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_Conv_first___closed__6; -x_2 = l_Lean_Parser_Tactic_Conv_first___closed__15; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__17() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; x_2 = l_Lean_Parser_Tactic_Conv_first___closed__4; -x_3 = l_Lean_Parser_Tactic_Conv_first___closed__16; +x_3 = l_Lean_Parser_Tactic_Conv_first___closed__15; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7340,13 +10365,13 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__18() { +static lean_object* _init_l_Lean_Parser_Tactic_Conv_first___closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_Conv_first___closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_Conv_first___closed__17; +x_3 = l_Lean_Parser_Tactic_Conv_first___closed__16; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -7358,10 +10383,804 @@ static lean_object* _init_l_Lean_Parser_Tactic_Conv_first() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_Conv_first___closed__18; +x_1 = l_Lean_Parser_Tactic_Conv_first___closed__17; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("convTry_", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_convTry_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("try ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__4() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convTry_____closed__3; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_convTry_____closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_convTry_____closed__2; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_convTry_____closed__5; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_convTry__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_convTry_____closed__6; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTry____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_convTry_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_unsigned_to_nat(1u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); +lean_dec(x_1); +x_10 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_Parser_Tactic_Conv_first___closed__1; +lean_inc(x_12); +x_14 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3; +lean_inc(x_12); +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_18 = lean_array_push(x_17, x_16); +lean_inc(x_18); +x_19 = lean_array_push(x_18, x_9); +x_20 = l_Lean_Parser_Tactic_Conv_enterArg___closed__4; +lean_inc(x_12); +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_12); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_19); +x_22 = l_Lean_Parser_Tactic_Conv_skip___closed__1; +lean_inc(x_12); +x_23 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_23, 0, x_12); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_25 = lean_array_push(x_24, x_23); +x_26 = l_Lean_Parser_Tactic_Conv_skip___closed__2; +lean_inc(x_12); +x_27 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_27, 0, x_12); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_25); +x_28 = lean_array_push(x_24, x_27); +x_29 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_12); +x_30 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_30, 0, x_12); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_28); +x_31 = lean_array_push(x_24, x_30); +x_32 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; +lean_inc(x_12); +x_33 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_33, 0, x_12); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_31); +x_34 = lean_array_push(x_24, x_33); +x_35 = l_Lean_Parser_Tactic_Conv_convSeq___closed__2; +lean_inc(x_12); +x_36 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_36, 0, x_12); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_34); +x_37 = lean_array_push(x_18, x_36); +lean_inc(x_12); +x_38 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_38, 0, x_12); +lean_ctor_set(x_38, 1, x_20); +lean_ctor_set(x_38, 2, x_37); +x_39 = lean_array_push(x_17, x_21); +x_40 = lean_array_push(x_39, x_38); +lean_inc(x_12); +x_41 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_41, 0, x_12); +lean_ctor_set(x_41, 1, x_29); +lean_ctor_set(x_41, 2, x_40); +x_42 = lean_array_push(x_17, x_14); +x_43 = lean_array_push(x_42, x_41); +x_44 = l_Lean_Parser_Tactic_Conv_first___closed__2; +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_12); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +lean_ctor_set(x_10, 0, x_45); +return x_10; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_46 = lean_ctor_get(x_10, 0); +x_47 = lean_ctor_get(x_10, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_10); +x_48 = l_Lean_Parser_Tactic_Conv_first___closed__1; +lean_inc(x_46); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_46); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3; +lean_inc(x_46); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_46); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; +x_53 = lean_array_push(x_52, x_51); +lean_inc(x_53); +x_54 = lean_array_push(x_53, x_9); +x_55 = l_Lean_Parser_Tactic_Conv_enterArg___closed__4; +lean_inc(x_46); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_46); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_54); +x_57 = l_Lean_Parser_Tactic_Conv_skip___closed__1; +lean_inc(x_46); +x_58 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_58, 0, x_46); +lean_ctor_set(x_58, 1, x_57); +x_59 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_60 = lean_array_push(x_59, x_58); +x_61 = l_Lean_Parser_Tactic_Conv_skip___closed__2; +lean_inc(x_46); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_46); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_60); +x_63 = lean_array_push(x_59, x_62); +x_64 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_46); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_46); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_63); +x_66 = lean_array_push(x_59, x_65); +x_67 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; +lean_inc(x_46); +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_46); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_66); +x_69 = lean_array_push(x_59, x_68); +x_70 = l_Lean_Parser_Tactic_Conv_convSeq___closed__2; +lean_inc(x_46); +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_46); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_69); +x_72 = lean_array_push(x_53, x_71); +lean_inc(x_46); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_46); +lean_ctor_set(x_73, 1, x_55); +lean_ctor_set(x_73, 2, x_72); +x_74 = lean_array_push(x_52, x_56); +x_75 = lean_array_push(x_74, x_73); +lean_inc(x_46); +x_76 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_76, 0, x_46); +lean_ctor_set(x_76, 1, x_64); +lean_ctor_set(x_76, 2, x_75); +x_77 = lean_array_push(x_52, x_49); +x_78 = lean_array_push(x_77, x_76); +x_79 = l_Lean_Parser_Tactic_Conv_first___closed__2; +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_46); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_78); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_47); +return x_81; +} +} +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("conv_<;>_", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" <;> ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__3; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__4; +x_3 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__16; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__2; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_unsigned_to_nat(0u); +x_4 = l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__5; +x_5 = lean_alloc_ctor(4, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e__() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("tactic_<;>_", 11); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__2; +x_2 = l_Lean_Parser_Tactic_Conv_paren___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("<;>", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__2; +lean_inc(x_1); +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_2); +lean_dec(x_1); +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_8 = lean_unsigned_to_nat(0u); +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); +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +lean_dec(x_1); +x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_16); +x_18 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_16); +x_20 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_20, 0, x_16); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_Lean_Parser_Tactic_Conv_paren___closed__3; +lean_inc(x_16); +x_22 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_22, 0, x_16); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_16); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_26 = lean_array_push(x_25, x_9); +x_27 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_16); +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_16); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_26); +x_29 = lean_array_push(x_25, x_28); +x_30 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; +lean_inc(x_16); +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_16); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_29); +x_32 = lean_array_push(x_25, x_31); +x_33 = l_Lean_Parser_Tactic_Conv_convSeq___closed__2; +lean_inc(x_16); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_16); +lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 2, x_32); +x_35 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_36 = lean_array_push(x_35, x_24); +lean_inc(x_20); +x_37 = lean_array_push(x_36, x_20); +lean_inc(x_37); +x_38 = lean_array_push(x_37, x_34); +x_39 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_16); +x_40 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_40, 0, x_16); +lean_ctor_set(x_40, 1, x_39); +lean_ctor_set(x_40, 2, x_38); +x_41 = lean_array_push(x_25, x_40); +lean_inc(x_16); +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_16); +lean_ctor_set(x_42, 1, x_27); +lean_ctor_set(x_42, 2, x_41); +x_43 = lean_array_push(x_25, x_42); +x_44 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_16); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_16); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_43); +x_46 = lean_array_push(x_25, x_45); +x_47 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_16); +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_16); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_46); +x_49 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; +lean_inc(x_16); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_16); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_array_push(x_35, x_22); +lean_inc(x_51); +x_52 = lean_array_push(x_51, x_48); +lean_inc(x_50); +x_53 = lean_array_push(x_52, x_50); +x_54 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__3; +lean_inc(x_16); +x_55 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_55, 0, x_16); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_53); +x_56 = 0; +x_57 = l_Lean_SourceInfo_fromRef(x_11, x_56); +x_58 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__4; +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = lean_array_push(x_25, x_13); +lean_inc(x_16); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_16); +lean_ctor_set(x_61, 1, x_27); +lean_ctor_set(x_61, 2, x_60); +x_62 = lean_array_push(x_25, x_61); +lean_inc(x_16); +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_16); +lean_ctor_set(x_63, 1, x_30); +lean_ctor_set(x_63, 2, x_62); +x_64 = lean_array_push(x_25, x_63); +lean_inc(x_16); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_16); +lean_ctor_set(x_65, 1, x_33); +lean_ctor_set(x_65, 2, x_64); +x_66 = lean_array_push(x_37, x_65); +lean_inc(x_16); +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_16); +lean_ctor_set(x_67, 1, x_39); +lean_ctor_set(x_67, 2, x_66); +x_68 = lean_array_push(x_25, x_67); +lean_inc(x_16); +x_69 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_69, 0, x_16); +lean_ctor_set(x_69, 1, x_27); +lean_ctor_set(x_69, 2, x_68); +x_70 = lean_array_push(x_25, x_69); +lean_inc(x_16); +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_16); +lean_ctor_set(x_71, 1, x_44); +lean_ctor_set(x_71, 2, x_70); +x_72 = lean_array_push(x_25, x_71); +lean_inc(x_16); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_16); +lean_ctor_set(x_73, 1, x_47); +lean_ctor_set(x_73, 2, x_72); +x_74 = lean_array_push(x_51, x_73); +x_75 = lean_array_push(x_74, x_50); +lean_inc(x_16); +x_76 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_76, 0, x_16); +lean_ctor_set(x_76, 1, x_54); +lean_ctor_set(x_76, 2, x_75); +x_77 = lean_array_push(x_35, x_55); +x_78 = lean_array_push(x_77, x_59); +x_79 = lean_array_push(x_78, x_76); +x_80 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__2; +lean_inc(x_16); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_16); +lean_ctor_set(x_81, 1, x_80); +lean_ctor_set(x_81, 2, x_79); +x_82 = lean_array_push(x_25, x_81); +lean_inc(x_16); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_16); +lean_ctor_set(x_83, 1, x_27); +lean_ctor_set(x_83, 2, x_82); +x_84 = lean_array_push(x_25, x_83); +lean_inc(x_16); +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_16); +lean_ctor_set(x_85, 1, x_44); +lean_ctor_set(x_85, 2, x_84); +x_86 = lean_array_push(x_25, x_85); +lean_inc(x_16); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_16); +lean_ctor_set(x_87, 1, x_47); +lean_ctor_set(x_87, 2, x_86); +x_88 = lean_array_push(x_35, x_18); +x_89 = lean_array_push(x_88, x_20); +x_90 = lean_array_push(x_89, x_87); +x_91 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_16); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_90); +lean_ctor_set(x_14, 0, x_92); +return x_14; +} +else +{ +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; uint8_t x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_93 = lean_ctor_get(x_14, 0); +x_94 = lean_ctor_get(x_14, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_14); +x_95 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__3; +lean_inc(x_93); +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_93); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1; +lean_inc(x_93); +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_93); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_Parser_Tactic_Conv_paren___closed__3; +lean_inc(x_93); +x_100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_100, 0, x_93); +lean_ctor_set(x_100, 1, x_99); +x_101 = l_Lean_Parser_Tactic_Conv_convTactic___closed__3; +lean_inc(x_93); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_93); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; +x_104 = lean_array_push(x_103, x_9); +x_105 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; +lean_inc(x_93); +x_106 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_106, 0, x_93); +lean_ctor_set(x_106, 1, x_105); +lean_ctor_set(x_106, 2, x_104); +x_107 = lean_array_push(x_103, x_106); +x_108 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; +lean_inc(x_93); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_93); +lean_ctor_set(x_109, 1, x_108); +lean_ctor_set(x_109, 2, x_107); +x_110 = lean_array_push(x_103, x_109); +x_111 = l_Lean_Parser_Tactic_Conv_convSeq___closed__2; +lean_inc(x_93); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_93); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_112, 2, x_110); +x_113 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; +x_114 = lean_array_push(x_113, x_102); +lean_inc(x_98); +x_115 = lean_array_push(x_114, x_98); +lean_inc(x_115); +x_116 = lean_array_push(x_115, x_112); +x_117 = l_Lean_Parser_Tactic_Conv_convTactic___closed__2; +lean_inc(x_93); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_93); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set(x_118, 2, x_116); +x_119 = lean_array_push(x_103, x_118); +lean_inc(x_93); +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_93); +lean_ctor_set(x_120, 1, x_105); +lean_ctor_set(x_120, 2, x_119); +x_121 = lean_array_push(x_103, x_120); +x_122 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4; +lean_inc(x_93); +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_93); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_123, 2, x_121); +x_124 = lean_array_push(x_103, x_123); +x_125 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2; +lean_inc(x_93); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_93); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_126, 2, x_124); +x_127 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__17; +lean_inc(x_93); +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_93); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_113, x_100); +lean_inc(x_129); +x_130 = lean_array_push(x_129, x_126); +lean_inc(x_128); +x_131 = lean_array_push(x_130, x_128); +x_132 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__3; +lean_inc(x_93); +x_133 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_133, 0, x_93); +lean_ctor_set(x_133, 1, x_132); +lean_ctor_set(x_133, 2, x_131); +x_134 = 0; +x_135 = l_Lean_SourceInfo_fromRef(x_11, x_134); +x_136 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__4; +x_137 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +x_138 = lean_array_push(x_103, x_13); +lean_inc(x_93); +x_139 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_139, 0, x_93); +lean_ctor_set(x_139, 1, x_105); +lean_ctor_set(x_139, 2, x_138); +x_140 = lean_array_push(x_103, x_139); +lean_inc(x_93); +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_93); +lean_ctor_set(x_141, 1, x_108); +lean_ctor_set(x_141, 2, x_140); +x_142 = lean_array_push(x_103, x_141); +lean_inc(x_93); +x_143 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_143, 0, x_93); +lean_ctor_set(x_143, 1, x_111); +lean_ctor_set(x_143, 2, x_142); +x_144 = lean_array_push(x_115, x_143); +lean_inc(x_93); +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_93); +lean_ctor_set(x_145, 1, x_117); +lean_ctor_set(x_145, 2, x_144); +x_146 = lean_array_push(x_103, x_145); +lean_inc(x_93); +x_147 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_147, 0, x_93); +lean_ctor_set(x_147, 1, x_105); +lean_ctor_set(x_147, 2, x_146); +x_148 = lean_array_push(x_103, x_147); +lean_inc(x_93); +x_149 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_149, 0, x_93); +lean_ctor_set(x_149, 1, x_122); +lean_ctor_set(x_149, 2, x_148); +x_150 = lean_array_push(x_103, x_149); +lean_inc(x_93); +x_151 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_151, 0, x_93); +lean_ctor_set(x_151, 1, x_125); +lean_ctor_set(x_151, 2, x_150); +x_152 = lean_array_push(x_129, x_151); +x_153 = lean_array_push(x_152, x_128); +lean_inc(x_93); +x_154 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_154, 0, x_93); +lean_ctor_set(x_154, 1, x_132); +lean_ctor_set(x_154, 2, x_153); +x_155 = lean_array_push(x_113, x_133); +x_156 = lean_array_push(x_155, x_137); +x_157 = lean_array_push(x_156, x_154); +x_158 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__2; +lean_inc(x_93); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_93); +lean_ctor_set(x_159, 1, x_158); +lean_ctor_set(x_159, 2, x_157); +x_160 = lean_array_push(x_103, x_159); +lean_inc(x_93); +x_161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_161, 0, x_93); +lean_ctor_set(x_161, 1, x_105); +lean_ctor_set(x_161, 2, x_160); +x_162 = lean_array_push(x_103, x_161); +lean_inc(x_93); +x_163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_163, 0, x_93); +lean_ctor_set(x_163, 1, x_122); +lean_ctor_set(x_163, 2, x_162); +x_164 = lean_array_push(x_103, x_163); +lean_inc(x_93); +x_165 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_165, 0, x_93); +lean_ctor_set(x_165, 1, x_125); +lean_ctor_set(x_165, 2, x_164); +x_166 = lean_array_push(x_113, x_96); +x_167 = lean_array_push(x_166, x_98); +x_168 = lean_array_push(x_167, x_165); +x_169 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__2; +x_170 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_170, 0, x_93); +lean_ctor_set(x_170, 1, x_169); +lean_ctor_set(x_170, 2, x_168); +x_171 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_94); +return x_171; +} +} +} +} static lean_object* _init_l_Lean_Parser_Tactic_Conv_convRepeat_____closed__1() { _start: { @@ -7471,7 +11290,7 @@ lean_inc(x_12); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_12); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic_Conv_first___closed__10; +x_15 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3; lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); @@ -7486,7 +11305,7 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_21 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_22 = lean_array_push(x_21, x_18); lean_inc(x_9); x_23 = lean_array_push(x_22, x_9); @@ -7497,7 +11316,7 @@ x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3; +x_27 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5; lean_inc(x_12); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_12); @@ -7507,7 +11326,7 @@ lean_inc(x_12); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_12); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_31 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_32 = lean_array_push(x_31, x_30); x_33 = lean_array_push(x_32, x_9); lean_inc(x_12); @@ -7518,13 +11337,13 @@ lean_ctor_set(x_34, 2, x_33); x_35 = lean_array_push(x_21, x_26); x_36 = lean_array_push(x_35, x_28); x_37 = lean_array_push(x_36, x_34); -x_38 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_38 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_12); x_39 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_39, 0, x_12); lean_ctor_set(x_39, 1, x_38); lean_ctor_set(x_39, 2, x_37); -x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_40 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_41 = lean_array_push(x_40, x_39); x_42 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; lean_inc(x_12); @@ -7614,7 +11433,7 @@ lean_inc(x_71); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_71); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Parser_Tactic_Conv_first___closed__10; +x_75 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3; lean_inc(x_71); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_71); @@ -7629,7 +11448,7 @@ lean_inc(x_71); x_80 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_80, 0, x_71); lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3; +x_81 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10; x_82 = lean_array_push(x_81, x_78); lean_inc(x_9); x_83 = lean_array_push(x_82, x_9); @@ -7640,7 +11459,7 @@ x_86 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_86, 0, x_71); lean_ctor_set(x_86, 1, x_85); lean_ctor_set(x_86, 2, x_84); -x_87 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3; +x_87 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5; lean_inc(x_71); x_88 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_88, 0, x_71); @@ -7650,7 +11469,7 @@ lean_inc(x_71); x_90 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_90, 0, x_71); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__14; +x_91 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3; x_92 = lean_array_push(x_91, x_90); x_93 = lean_array_push(x_92, x_9); lean_inc(x_71); @@ -7661,13 +11480,13 @@ lean_ctor_set(x_94, 2, x_93); x_95 = lean_array_push(x_81, x_86); x_96 = lean_array_push(x_95, x_88); x_97 = lean_array_push(x_96, x_94); -x_98 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2; +x_98 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6; lean_inc(x_71); x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_71); lean_ctor_set(x_99, 1, x_98); lean_ctor_set(x_99, 2, x_97); -x_100 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4; +x_100 = l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9; x_101 = lean_array_push(x_100, x_99); x_102 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__6; lean_inc(x_71); @@ -7749,6 +11568,216 @@ return x_131; } } } +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_convSeq1Indented___closed__4; +x_2 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("conv ", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__3() { +_start: +{ +lean_object* x_1; uint8_t x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__2; +x_2 = 0; +x_3 = lean_alloc_ctor(6, 1, 1); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" at ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__4; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__5; +x_3 = l_Lean_Parser_Tactic_Conv_ext___closed__11; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__6; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__3; +x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(" in ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__9; +x_2 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__10; +x_3 = l_Lean_Parser_Tactic_Conv_pattern___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__11; +x_3 = l_Lean_Parser_Tactic_Conv_change___closed__7; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_Conv_arg___closed__6; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__12; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__14() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__8; +x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__13; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__14; +x_3 = l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__6; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv_quot___closed__13; +x_2 = l_Lean_Parser_Tactic_Conv_conv___closed__15; +x_3 = l_Lean_Parser_Tactic_Conv_convSeq; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__1; +x_2 = lean_unsigned_to_nat(1022u); +x_3 = l_Lean_Parser_Tactic_Conv_conv___closed__16; +x_4 = lean_alloc_ctor(3, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_Conv_conv() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_Conv_conv___closed__17; +return x_1; +} +} lean_object* initialize_Init_NotationExtra(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Init_Conv(uint8_t builtin, lean_object* w) { @@ -7934,64 +11963,36 @@ l_Lean_Parser_Tactic_Conv_occs___closed__16 = _init_l_Lean_Parser_Tactic_Conv_oc lean_mark_persistent(l_Lean_Parser_Tactic_Conv_occs___closed__16); l_Lean_Parser_Tactic_Conv_occs = _init_l_Lean_Parser_Tactic_Conv_occs(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_occs); -l_Lean_Parser_Tactic_Conv_conv___closed__1 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__1); -l_Lean_Parser_Tactic_Conv_conv___closed__2 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__2); -l_Lean_Parser_Tactic_Conv_conv___closed__3 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__3); -l_Lean_Parser_Tactic_Conv_conv___closed__4 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__4); -l_Lean_Parser_Tactic_Conv_conv___closed__5 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__5); -l_Lean_Parser_Tactic_Conv_conv___closed__6 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__6); -l_Lean_Parser_Tactic_Conv_conv___closed__7 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__7); -l_Lean_Parser_Tactic_Conv_conv___closed__8 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__8); -l_Lean_Parser_Tactic_Conv_conv___closed__9 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__9); -l_Lean_Parser_Tactic_Conv_conv___closed__10 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__10); -l_Lean_Parser_Tactic_Conv_conv___closed__11 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__11); -l_Lean_Parser_Tactic_Conv_conv___closed__12 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__12(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__12); -l_Lean_Parser_Tactic_Conv_conv___closed__13 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__13(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__13); -l_Lean_Parser_Tactic_Conv_conv___closed__14 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__14(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__14); -l_Lean_Parser_Tactic_Conv_conv___closed__15 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__15(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__15); -l_Lean_Parser_Tactic_Conv_conv___closed__16 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__16(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__16); -l_Lean_Parser_Tactic_Conv_conv___closed__17 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__17(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__17); -l_Lean_Parser_Tactic_Conv_conv___closed__18 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__18(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__18); -l_Lean_Parser_Tactic_Conv_conv___closed__19 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__19(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__19); -l_Lean_Parser_Tactic_Conv_conv___closed__20 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__20(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__20); -l_Lean_Parser_Tactic_Conv_conv___closed__21 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__21(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__21); -l_Lean_Parser_Tactic_Conv_conv___closed__22 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__22(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__22); -l_Lean_Parser_Tactic_Conv_conv___closed__23 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__23(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__23); -l_Lean_Parser_Tactic_Conv_conv___closed__24 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__24(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__24); -l_Lean_Parser_Tactic_Conv_conv___closed__25 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__25(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__25); -l_Lean_Parser_Tactic_Conv_conv___closed__26 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__26(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__26); -l_Lean_Parser_Tactic_Conv_conv___closed__27 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__27(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__27); -l_Lean_Parser_Tactic_Conv_conv___closed__28 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__28(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__28); -l_Lean_Parser_Tactic_Conv_conv = _init_l_Lean_Parser_Tactic_Conv_conv(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__1 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__1); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__2 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__2); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__3 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__3); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__4 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__4); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__5 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__5); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__6 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__6); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__7 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__7); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__8 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__8); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__9 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__9); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__10 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__10); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__11 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__11); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__12 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__12); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__13 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__13); +l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__14 = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState___closed__14); +l_Lean_Parser_Tactic_Conv_withAnnotateState = _init_l_Lean_Parser_Tactic_Conv_withAnnotateState(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_withAnnotateState); l_Lean_Parser_Tactic_Conv_skip___closed__1 = _init_l_Lean_Parser_Tactic_Conv_skip___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_skip___closed__1); l_Lean_Parser_Tactic_Conv_skip___closed__2 = _init_l_Lean_Parser_Tactic_Conv_skip___closed__2(); @@ -8082,6 +12083,10 @@ l_Lean_Parser_Tactic_Conv_arg___closed__9 = _init_l_Lean_Parser_Tactic_Conv_arg_ lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__9); l_Lean_Parser_Tactic_Conv_arg___closed__10 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__10(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__10); +l_Lean_Parser_Tactic_Conv_arg___closed__11 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__11); +l_Lean_Parser_Tactic_Conv_arg___closed__12 = _init_l_Lean_Parser_Tactic_Conv_arg___closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg___closed__12); l_Lean_Parser_Tactic_Conv_arg = _init_l_Lean_Parser_Tactic_Conv_arg(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_arg); l_Lean_Parser_Tactic_Conv_ext___closed__1 = _init_l_Lean_Parser_Tactic_Conv_ext___closed__1(); @@ -8108,6 +12113,12 @@ l_Lean_Parser_Tactic_Conv_ext___closed__11 = _init_l_Lean_Parser_Tactic_Conv_ext lean_mark_persistent(l_Lean_Parser_Tactic_Conv_ext___closed__11); l_Lean_Parser_Tactic_Conv_ext___closed__12 = _init_l_Lean_Parser_Tactic_Conv_ext___closed__12(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_ext___closed__12); +l_Lean_Parser_Tactic_Conv_ext___closed__13 = _init_l_Lean_Parser_Tactic_Conv_ext___closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_ext___closed__13); +l_Lean_Parser_Tactic_Conv_ext___closed__14 = _init_l_Lean_Parser_Tactic_Conv_ext___closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_ext___closed__14); +l_Lean_Parser_Tactic_Conv_ext___closed__15 = _init_l_Lean_Parser_Tactic_Conv_ext___closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_ext___closed__15); l_Lean_Parser_Tactic_Conv_ext = _init_l_Lean_Parser_Tactic_Conv_ext(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_ext); l_Lean_Parser_Tactic_Conv_change___closed__1 = _init_l_Lean_Parser_Tactic_Conv_change___closed__1(); @@ -8122,6 +12133,12 @@ l_Lean_Parser_Tactic_Conv_change___closed__5 = _init_l_Lean_Parser_Tactic_Conv_c lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__5); l_Lean_Parser_Tactic_Conv_change___closed__6 = _init_l_Lean_Parser_Tactic_Conv_change___closed__6(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__6); +l_Lean_Parser_Tactic_Conv_change___closed__7 = _init_l_Lean_Parser_Tactic_Conv_change___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__7); +l_Lean_Parser_Tactic_Conv_change___closed__8 = _init_l_Lean_Parser_Tactic_Conv_change___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__8); +l_Lean_Parser_Tactic_Conv_change___closed__9 = _init_l_Lean_Parser_Tactic_Conv_change___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change___closed__9); l_Lean_Parser_Tactic_Conv_change = _init_l_Lean_Parser_Tactic_Conv_change(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_change); l_Lean_Parser_Tactic_Conv_delta___closed__1 = _init_l_Lean_Parser_Tactic_Conv_delta___closed__1(); @@ -8168,6 +12185,8 @@ l_Lean_Parser_Tactic_Conv_pattern___closed__6 = _init_l_Lean_Parser_Tactic_Conv_ lean_mark_persistent(l_Lean_Parser_Tactic_Conv_pattern___closed__6); l_Lean_Parser_Tactic_Conv_pattern___closed__7 = _init_l_Lean_Parser_Tactic_Conv_pattern___closed__7(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_pattern___closed__7); +l_Lean_Parser_Tactic_Conv_pattern___closed__8 = _init_l_Lean_Parser_Tactic_Conv_pattern___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_pattern___closed__8); l_Lean_Parser_Tactic_Conv_pattern = _init_l_Lean_Parser_Tactic_Conv_pattern(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_pattern); l_Lean_Parser_Tactic_Conv_rewrite___closed__1 = _init_l_Lean_Parser_Tactic_Conv_rewrite___closed__1(); @@ -8238,6 +12257,44 @@ l_Lean_Parser_Tactic_Conv_simp___closed__25 = _init_l_Lean_Parser_Tactic_Conv_si lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp___closed__25); l_Lean_Parser_Tactic_Conv_simp = _init_l_Lean_Parser_Tactic_Conv_simp(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simp); +l_Lean_Parser_Tactic_Conv_dsimp___closed__1 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__1); +l_Lean_Parser_Tactic_Conv_dsimp___closed__2 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__2); +l_Lean_Parser_Tactic_Conv_dsimp___closed__3 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__3); +l_Lean_Parser_Tactic_Conv_dsimp___closed__4 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__4); +l_Lean_Parser_Tactic_Conv_dsimp___closed__5 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__5); +l_Lean_Parser_Tactic_Conv_dsimp___closed__6 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__6); +l_Lean_Parser_Tactic_Conv_dsimp___closed__7 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__7); +l_Lean_Parser_Tactic_Conv_dsimp___closed__8 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__8); +l_Lean_Parser_Tactic_Conv_dsimp___closed__9 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__9); +l_Lean_Parser_Tactic_Conv_dsimp___closed__10 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__10); +l_Lean_Parser_Tactic_Conv_dsimp___closed__11 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__11); +l_Lean_Parser_Tactic_Conv_dsimp___closed__12 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__12); +l_Lean_Parser_Tactic_Conv_dsimp___closed__13 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__13); +l_Lean_Parser_Tactic_Conv_dsimp___closed__14 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__14); +l_Lean_Parser_Tactic_Conv_dsimp___closed__15 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__15); +l_Lean_Parser_Tactic_Conv_dsimp___closed__16 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__16(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__16); +l_Lean_Parser_Tactic_Conv_dsimp___closed__17 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__17(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__17); +l_Lean_Parser_Tactic_Conv_dsimp___closed__18 = _init_l_Lean_Parser_Tactic_Conv_dsimp___closed__18(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp___closed__18); +l_Lean_Parser_Tactic_Conv_dsimp = _init_l_Lean_Parser_Tactic_Conv_dsimp(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_dsimp); l_Lean_Parser_Tactic_Conv_simpMatch___closed__1 = _init_l_Lean_Parser_Tactic_Conv_simpMatch___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_simpMatch___closed__1); l_Lean_Parser_Tactic_Conv_simpMatch___closed__2 = _init_l_Lean_Parser_Tactic_Conv_simpMatch___closed__2(); @@ -8270,6 +12327,10 @@ l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__9 = _init_l_Lean_Parser_Tac lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__9); l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10 = _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__10); +l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__11 = _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__11); +l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__12 = _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTacticCore___closed__12); l_Lean_Parser_Tactic_Conv_nestedTacticCore = _init_l_Lean_Parser_Tactic_Conv_nestedTacticCore(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTacticCore); l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1 = _init_l_Lean_Parser_Tactic_Conv_nestedTactic___closed__1(); @@ -8288,6 +12349,22 @@ l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7 = _init_l_Lean_Parser_Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic___closed__7); l_Lean_Parser_Tactic_Conv_nestedTactic = _init_l_Lean_Parser_Tactic_Conv_nestedTactic(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedTactic); +l_Lean_Parser_Tactic_Conv_convTactic___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic___closed__1); +l_Lean_Parser_Tactic_Conv_convTactic___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic___closed__2); +l_Lean_Parser_Tactic_Conv_convTactic___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic___closed__3); +l_Lean_Parser_Tactic_Conv_convTactic___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic___closed__4); +l_Lean_Parser_Tactic_Conv_convTactic___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic___closed__5); +l_Lean_Parser_Tactic_Conv_convTactic___closed__6 = _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic___closed__6); +l_Lean_Parser_Tactic_Conv_convTactic___closed__7 = _init_l_Lean_Parser_Tactic_Conv_convTactic___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic___closed__7); +l_Lean_Parser_Tactic_Conv_convTactic = _init_l_Lean_Parser_Tactic_Conv_convTactic(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTactic); l_Lean_Parser_Tactic_Conv_nestedConv___closed__1 = _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_nestedConv___closed__1); l_Lean_Parser_Tactic_Conv_nestedConv___closed__2 = _init_l_Lean_Parser_Tactic_Conv_nestedConv___closed__2(); @@ -8312,6 +12389,212 @@ l_Lean_Parser_Tactic_Conv_paren___closed__7 = _init_l_Lean_Parser_Tactic_Conv_pa lean_mark_persistent(l_Lean_Parser_Tactic_Conv_paren___closed__7); l_Lean_Parser_Tactic_Conv_paren = _init_l_Lean_Parser_Tactic_Conv_paren(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_paren); +l_Lean_Parser_Tactic_Conv_convRfl___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__1); +l_Lean_Parser_Tactic_Conv_convRfl___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__2); +l_Lean_Parser_Tactic_Conv_convRfl___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__3); +l_Lean_Parser_Tactic_Conv_convRfl___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__4); +l_Lean_Parser_Tactic_Conv_convRfl___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__5); +l_Lean_Parser_Tactic_Conv_convRfl = _init_l_Lean_Parser_Tactic_Conv_convRfl(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__7 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__7); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__8 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__8); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__9); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__10); +l_Lean_Parser_Tactic_Conv_convDone___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__1); +l_Lean_Parser_Tactic_Conv_convDone___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__2); +l_Lean_Parser_Tactic_Conv_convDone___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__3); +l_Lean_Parser_Tactic_Conv_convDone___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__4); +l_Lean_Parser_Tactic_Conv_convDone___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__5); +l_Lean_Parser_Tactic_Conv_convDone = _init_l_Lean_Parser_Tactic_Conv_convDone(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1); +l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1); +l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2); +l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3); +l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4); +l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5); +l_Lean_Parser_Tactic_Conv_convTrace__state = _init_l_Lean_Parser_Tactic_Conv_convTrace__state(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2); +l_Lean_Parser_Tactic_Conv_allGoals___closed__1 = _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_allGoals___closed__1); +l_Lean_Parser_Tactic_Conv_allGoals___closed__2 = _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_allGoals___closed__2); +l_Lean_Parser_Tactic_Conv_allGoals___closed__3 = _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_allGoals___closed__3); +l_Lean_Parser_Tactic_Conv_allGoals___closed__4 = _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_allGoals___closed__4); +l_Lean_Parser_Tactic_Conv_allGoals___closed__5 = _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_allGoals___closed__5); +l_Lean_Parser_Tactic_Conv_allGoals___closed__6 = _init_l_Lean_Parser_Tactic_Conv_allGoals___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_allGoals___closed__6); +l_Lean_Parser_Tactic_Conv_allGoals = _init_l_Lean_Parser_Tactic_Conv_allGoals(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_allGoals); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__2); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__allGoals__1___closed__3); +l_Lean_Parser_Tactic_Conv_anyGoals___closed__1 = _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_anyGoals___closed__1); +l_Lean_Parser_Tactic_Conv_anyGoals___closed__2 = _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_anyGoals___closed__2); +l_Lean_Parser_Tactic_Conv_anyGoals___closed__3 = _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_anyGoals___closed__3); +l_Lean_Parser_Tactic_Conv_anyGoals___closed__4 = _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_anyGoals___closed__4); +l_Lean_Parser_Tactic_Conv_anyGoals___closed__5 = _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_anyGoals___closed__5); +l_Lean_Parser_Tactic_Conv_anyGoals___closed__6 = _init_l_Lean_Parser_Tactic_Conv_anyGoals___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_anyGoals___closed__6); +l_Lean_Parser_Tactic_Conv_anyGoals = _init_l_Lean_Parser_Tactic_Conv_anyGoals(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_anyGoals); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__anyGoals__1___closed__2); +l_Lean_Parser_Tactic_Conv_case___closed__1 = _init_l_Lean_Parser_Tactic_Conv_case___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__1); +l_Lean_Parser_Tactic_Conv_case___closed__2 = _init_l_Lean_Parser_Tactic_Conv_case___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__2); +l_Lean_Parser_Tactic_Conv_case___closed__3 = _init_l_Lean_Parser_Tactic_Conv_case___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__3); +l_Lean_Parser_Tactic_Conv_case___closed__4 = _init_l_Lean_Parser_Tactic_Conv_case___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__4); +l_Lean_Parser_Tactic_Conv_case___closed__5 = _init_l_Lean_Parser_Tactic_Conv_case___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__5); +l_Lean_Parser_Tactic_Conv_case___closed__6 = _init_l_Lean_Parser_Tactic_Conv_case___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__6); +l_Lean_Parser_Tactic_Conv_case___closed__7 = _init_l_Lean_Parser_Tactic_Conv_case___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__7); +l_Lean_Parser_Tactic_Conv_case___closed__8 = _init_l_Lean_Parser_Tactic_Conv_case___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__8); +l_Lean_Parser_Tactic_Conv_case___closed__9 = _init_l_Lean_Parser_Tactic_Conv_case___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__9); +l_Lean_Parser_Tactic_Conv_case___closed__10 = _init_l_Lean_Parser_Tactic_Conv_case___closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__10); +l_Lean_Parser_Tactic_Conv_case___closed__11 = _init_l_Lean_Parser_Tactic_Conv_case___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case___closed__11); +l_Lean_Parser_Tactic_Conv_case = _init_l_Lean_Parser_Tactic_Conv_case(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__2); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__3); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__4); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__5); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case__1___closed__6); +l_Lean_Parser_Tactic_Conv_case_x27___closed__1 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__1); +l_Lean_Parser_Tactic_Conv_case_x27___closed__2 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__2); +l_Lean_Parser_Tactic_Conv_case_x27___closed__3 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__3); +l_Lean_Parser_Tactic_Conv_case_x27___closed__4 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__4); +l_Lean_Parser_Tactic_Conv_case_x27___closed__5 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__5); +l_Lean_Parser_Tactic_Conv_case_x27___closed__6 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__6); +l_Lean_Parser_Tactic_Conv_case_x27___closed__7 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__7); +l_Lean_Parser_Tactic_Conv_case_x27___closed__8 = _init_l_Lean_Parser_Tactic_Conv_case_x27___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27___closed__8); +l_Lean_Parser_Tactic_Conv_case_x27 = _init_l_Lean_Parser_Tactic_Conv_case_x27(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_case_x27); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__case_x27__1___closed__1); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__1); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__2 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__2); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__3 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__3); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__4 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__4); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__5 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__5); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__6 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__6); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__7 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__7); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__8 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__8); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__9 = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e_____closed__9); +l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e__ = _init_l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e__(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convNext___x3d_x3e__); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__2); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__3); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__4 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__4); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__5 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__5); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__6 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__6); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__7 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convNext___x3d_x3e____1___closed__7); +l_Lean_Parser_Tactic_Conv_focus___closed__1 = _init_l_Lean_Parser_Tactic_Conv_focus___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_focus___closed__1); +l_Lean_Parser_Tactic_Conv_focus___closed__2 = _init_l_Lean_Parser_Tactic_Conv_focus___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_focus___closed__2); +l_Lean_Parser_Tactic_Conv_focus___closed__3 = _init_l_Lean_Parser_Tactic_Conv_focus___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_focus___closed__3); +l_Lean_Parser_Tactic_Conv_focus___closed__4 = _init_l_Lean_Parser_Tactic_Conv_focus___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_focus___closed__4); +l_Lean_Parser_Tactic_Conv_focus___closed__5 = _init_l_Lean_Parser_Tactic_Conv_focus___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_focus___closed__5); +l_Lean_Parser_Tactic_Conv_focus___closed__6 = _init_l_Lean_Parser_Tactic_Conv_focus___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_focus___closed__6); +l_Lean_Parser_Tactic_Conv_focus = _init_l_Lean_Parser_Tactic_Conv_focus(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_focus); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__focus__1___closed__1); l_Lean_Parser_Tactic_Conv_convConvSeq___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convConvSeq___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convConvSeq___closed__1); l_Lean_Parser_Tactic_Conv_convConvSeq___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convConvSeq___closed__2(); @@ -8346,14 +12629,24 @@ l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9 = _init_l_Lean_Parser_Tacti lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv_xb7_x2e_____closed__9); l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__ = _init_l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv_xb7_x2e__); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__1); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__2); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__3); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv_xb7_x2e____1___closed__4); +l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__1 = _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__1); +l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__2 = _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__2); +l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__3 = _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__3); +l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__4 = _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__4); +l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__5 = _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__5); +l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__6 = _init_l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_failIfSuccess___closed__6); +l_Lean_Parser_Tactic_Conv_failIfSuccess = _init_l_Lean_Parser_Tactic_Conv_failIfSuccess(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_failIfSuccess); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__failIfSuccess__1___closed__2); l_Lean_Parser_Tactic_Conv_convRw_______closed__1 = _init_l_Lean_Parser_Tactic_Conv_convRw_______closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw_______closed__1); l_Lean_Parser_Tactic_Conv_convRw_______closed__2 = _init_l_Lean_Parser_Tactic_Conv_convRw_______closed__2(); @@ -8372,8 +12665,6 @@ l_Lean_Parser_Tactic_Conv_convRw____ = _init_l_Lean_Parser_Tactic_Conv_convRw___ lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRw____); l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__1); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRw______1___closed__2); l_Lean_Parser_Tactic_Conv_convErw_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_convErw_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convErw_____closed__1); l_Lean_Parser_Tactic_Conv_convErw_____closed__2 = _init_l_Lean_Parser_Tactic_Conv_convErw_____closed__2(); @@ -8448,8 +12739,6 @@ l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tacti lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__29); l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__30); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__31 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__31(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convErw____1___closed__31); l_Lean_Parser_Tactic_Conv_convArgs___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convArgs___closed__1); l_Lean_Parser_Tactic_Conv_convArgs___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convArgs___closed__2(); @@ -8540,66 +12829,6 @@ l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__10 = _init_l_Lean_Pars lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d___closed__10); l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d = _init_l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convEnter_x5b_____x5d); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__1); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__2); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convEnter_x5b_____x5d__1___closed__3); -l_Lean_Parser_Tactic_Conv_convRfl___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__1); -l_Lean_Parser_Tactic_Conv_convRfl___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__2); -l_Lean_Parser_Tactic_Conv_convRfl___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__3); -l_Lean_Parser_Tactic_Conv_convRfl___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__4); -l_Lean_Parser_Tactic_Conv_convRfl___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convRfl___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl___closed__5); -l_Lean_Parser_Tactic_Conv_convRfl = _init_l_Lean_Parser_Tactic_Conv_convRfl(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRfl); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__1); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__2); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__3); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__4); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__5); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convRfl__1___closed__6); -l_Lean_Parser_Tactic_Conv_convDone___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__1); -l_Lean_Parser_Tactic_Conv_convDone___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__2); -l_Lean_Parser_Tactic_Conv_convDone___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__3); -l_Lean_Parser_Tactic_Conv_convDone___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__4); -l_Lean_Parser_Tactic_Conv_convDone___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convDone___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone___closed__5); -l_Lean_Parser_Tactic_Conv_convDone = _init_l_Lean_Parser_Tactic_Conv_convDone(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convDone); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convDone__1___closed__1); -l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__1); -l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__2); -l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__3); -l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__4); -l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5 = _init_l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state___closed__5); -l_Lean_Parser_Tactic_Conv_convTrace__state = _init_l_Lean_Parser_Tactic_Conv_convTrace__state(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTrace__state); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__1); -l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__convTrace__state__1___closed__2); l_Lean_Parser_Tactic_Conv_convApply_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_convApply_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convApply_____closed__1); l_Lean_Parser_Tactic_Conv_convApply_____closed__2 = _init_l_Lean_Parser_Tactic_Conv_convApply_____closed__2(); @@ -8652,10 +12881,44 @@ l_Lean_Parser_Tactic_Conv_first___closed__16 = _init_l_Lean_Parser_Tactic_Conv_f lean_mark_persistent(l_Lean_Parser_Tactic_Conv_first___closed__16); l_Lean_Parser_Tactic_Conv_first___closed__17 = _init_l_Lean_Parser_Tactic_Conv_first___closed__17(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_first___closed__17); -l_Lean_Parser_Tactic_Conv_first___closed__18 = _init_l_Lean_Parser_Tactic_Conv_first___closed__18(); -lean_mark_persistent(l_Lean_Parser_Tactic_Conv_first___closed__18); l_Lean_Parser_Tactic_Conv_first = _init_l_Lean_Parser_Tactic_Conv_first(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_first); +l_Lean_Parser_Tactic_Conv_convTry_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTry_____closed__1); +l_Lean_Parser_Tactic_Conv_convTry_____closed__2 = _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTry_____closed__2); +l_Lean_Parser_Tactic_Conv_convTry_____closed__3 = _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTry_____closed__3); +l_Lean_Parser_Tactic_Conv_convTry_____closed__4 = _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTry_____closed__4); +l_Lean_Parser_Tactic_Conv_convTry_____closed__5 = _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTry_____closed__5); +l_Lean_Parser_Tactic_Conv_convTry_____closed__6 = _init_l_Lean_Parser_Tactic_Conv_convTry_____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTry_____closed__6); +l_Lean_Parser_Tactic_Conv_convTry__ = _init_l_Lean_Parser_Tactic_Conv_convTry__(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convTry__); +l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__1); +l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__2 = _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__2); +l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__3 = _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__3); +l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__4 = _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__4); +l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__5 = _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__5); +l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__6 = _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e_____closed__6); +l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e__ = _init_l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e__(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___x3c_x3b_x3e__); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__1 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__1); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__2 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__2); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__3 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__3); +l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__4 = _init_l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv___aux__Init__Conv______macroRules__Lean__Parser__Tactic__Conv__conv___x3c_x3b_x3e____1___closed__4); l_Lean_Parser_Tactic_Conv_convRepeat_____closed__1 = _init_l_Lean_Parser_Tactic_Conv_convRepeat_____closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRepeat_____closed__1); l_Lean_Parser_Tactic_Conv_convRepeat_____closed__2 = _init_l_Lean_Parser_Tactic_Conv_convRepeat_____closed__2(); @@ -8670,6 +12933,42 @@ l_Lean_Parser_Tactic_Conv_convRepeat_____closed__6 = _init_l_Lean_Parser_Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRepeat_____closed__6); l_Lean_Parser_Tactic_Conv_convRepeat__ = _init_l_Lean_Parser_Tactic_Conv_convRepeat__(); lean_mark_persistent(l_Lean_Parser_Tactic_Conv_convRepeat__); +l_Lean_Parser_Tactic_Conv_conv___closed__1 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__1); +l_Lean_Parser_Tactic_Conv_conv___closed__2 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__2); +l_Lean_Parser_Tactic_Conv_conv___closed__3 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__3); +l_Lean_Parser_Tactic_Conv_conv___closed__4 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__4); +l_Lean_Parser_Tactic_Conv_conv___closed__5 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__5); +l_Lean_Parser_Tactic_Conv_conv___closed__6 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__6); +l_Lean_Parser_Tactic_Conv_conv___closed__7 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__7); +l_Lean_Parser_Tactic_Conv_conv___closed__8 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__8); +l_Lean_Parser_Tactic_Conv_conv___closed__9 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__9); +l_Lean_Parser_Tactic_Conv_conv___closed__10 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__10); +l_Lean_Parser_Tactic_Conv_conv___closed__11 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__11); +l_Lean_Parser_Tactic_Conv_conv___closed__12 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__12); +l_Lean_Parser_Tactic_Conv_conv___closed__13 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__13); +l_Lean_Parser_Tactic_Conv_conv___closed__14 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__14); +l_Lean_Parser_Tactic_Conv_conv___closed__15 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__15); +l_Lean_Parser_Tactic_Conv_conv___closed__16 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__16(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__16); +l_Lean_Parser_Tactic_Conv_conv___closed__17 = _init_l_Lean_Parser_Tactic_Conv_conv___closed__17(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv___closed__17); +l_Lean_Parser_Tactic_Conv_conv = _init_l_Lean_Parser_Tactic_Conv_conv(); +lean_mark_persistent(l_Lean_Parser_Tactic_Conv_conv); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Data/Format/Syntax.c b/stage0/stdlib/Init/Data/Format/Syntax.c index d39298ff0b..3348a76880 100644 --- a/stage0/stdlib/Init/Data/Format/Syntax.c +++ b/stage0/stdlib/Init/Data/Format/Syntax.c @@ -79,10 +79,12 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_instToStringSyntax___lambda__1(lean_objec static lean_object* l_Lean_Syntax_formatStxAux___closed__9; LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Syntax_formatStxAux___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_instToStringSyntax___closed__2; +static lean_object* l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__6; static lean_object* l_Lean_Syntax_formatStxAux___closed__20; static lean_object* l_Lean_Syntax_formatStxAux___closed__27; static lean_object* l_Lean_Syntax_formatStxAux___closed__11; static lean_object* l_Lean_Syntax_formatStxAux___closed__19; +static lean_object* l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__5; lean_object* lean_string_length(lean_object*); static lean_object* l_Lean_Syntax_formatStxAux___closed__4; static lean_object* l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__2; @@ -131,6 +133,24 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } +static lean_object* _init_l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("!:", 2); +return x_1; +} +} +static lean_object* _init_l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__5; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo(uint8_t x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -222,39 +242,81 @@ return x_33; } case 1: { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_34 = lean_ctor_get(x_2, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_2, 1); +uint8_t x_34; +x_34 = lean_ctor_get_uint8(x_2, sizeof(void*)*2); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_35 = lean_ctor_get(x_2, 0); lean_inc(x_35); +x_36 = lean_ctor_get(x_2, 1); +lean_inc(x_36); lean_dec(x_2); -x_36 = l_Nat_repr(x_34); -x_37 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__2; -x_39 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_37); -x_40 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__4; -x_41 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); +x_37 = l_Nat_repr(x_35); +x_38 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__2; +x_40 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_38); +x_41 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__4; x_42 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_3); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); x_43 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_43, 0, x_42); -lean_ctor_set(x_43, 1, x_40); -x_44 = l_Nat_repr(x_35); -x_45 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_45, 0, x_44); -x_46 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_43, 1, x_3); +x_44 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_41); +x_45 = l_Nat_repr(x_36); +x_46 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_46, 0, x_45); x_47 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_38); -return x_47; +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_46); +x_48 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_39); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_49 = lean_ctor_get(x_2, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_2, 1); +lean_inc(x_50); +lean_dec(x_2); +x_51 = l_Nat_repr(x_49); +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__2; +x_54 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_52); +x_55 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__6; +x_56 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_3); +x_58 = l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__4; +x_59 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Nat_repr(x_50); +x_61 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_62, 0, x_59); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_53); +return x_63; +} } default: { @@ -1457,6 +1519,10 @@ l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__3 = _ini lean_mark_persistent(l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__3); l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__4 = _init_l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__4(); lean_mark_persistent(l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__4); +l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__5 = _init_l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__5(); +lean_mark_persistent(l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__5); +l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__6 = _init_l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__6(); +lean_mark_persistent(l___private_Init_Data_Format_Syntax_0__Lean_Syntax_formatInfo___closed__6); l_Lean_Syntax_formatStxAux___closed__1 = _init_l_Lean_Syntax_formatStxAux___closed__1(); lean_mark_persistent(l_Lean_Syntax_formatStxAux___closed__1); l_Lean_Syntax_formatStxAux___closed__2 = _init_l_Lean_Syntax_formatStxAux___closed__2(); diff --git a/stage0/stdlib/Init/Data/Ord.c b/stage0/stdlib/Init/Data/Ord.c index 26726bec14..6b28b426cb 100644 --- a/stage0/stdlib/Init/Data/Ord.c +++ b/stage0/stdlib/Init/Data/Ord.c @@ -23,6 +23,7 @@ uint8_t lean_usize_dec_eq(size_t, size_t); LEAN_EXPORT lean_object* l_instDecidableRelLtLtOfOrd___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_instBEqOrdering___closed__1; LEAN_EXPORT lean_object* l_Ordering_noConfusion(lean_object*); +LEAN_EXPORT lean_object* l_lexOrd___elambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instOrdFin___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instOrdFin___boxed(lean_object*); LEAN_EXPORT lean_object* l_instOrdUInt64___boxed(lean_object*, lean_object*); @@ -37,6 +38,7 @@ LEAN_EXPORT lean_object* l_instDecidableRelLeLeOfOrd___rarg___boxed(lean_object* uint8_t lean_uint8_dec_lt(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_ltOfOrd___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_lexOrd___rarg(lean_object*, lean_object*); uint8_t lean_uint32_dec_lt(uint32_t, uint32_t); LEAN_EXPORT uint8_t l___private_Init_Data_Ord_0__beqOrdering____x40_Init_Data_Ord___hyg_14_(uint8_t, uint8_t); LEAN_EXPORT uint8_t l_instInhabitedOrdering; @@ -59,6 +61,7 @@ LEAN_EXPORT lean_object* l_instOrdString___boxed(lean_object*, lean_object*); uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); LEAN_EXPORT lean_object* l_instOrdBool___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_compareOfLessAndEq___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); +LEAN_EXPORT lean_object* l_lexOrd(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_instOrdUInt32(uint32_t, uint32_t); uint8_t lean_int_dec_lt(lean_object*, lean_object*); uint8_t lean_uint16_dec_lt(uint16_t, uint16_t); @@ -70,6 +73,7 @@ LEAN_EXPORT lean_object* l_instOrdInt___boxed(lean_object*, lean_object*); uint8_t lean_uint16_dec_eq(uint16_t, uint16_t); LEAN_EXPORT uint8_t l_instOrdString(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instOrdChar___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_lexOrd___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableRelLeLeOfOrd(lean_object*); LEAN_EXPORT lean_object* l_Ordering_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Ordering_noConfusion___rarg___closed__1; @@ -758,6 +762,68 @@ x_6 = lean_box(x_5); return x_6; } } +LEAN_EXPORT lean_object* l_lexOrd___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_apply_2(x_1, x_5, x_6); +x_8 = lean_unbox(x_7); +lean_dec(x_7); +x_9 = lean_box(x_8); +if (lean_obj_tag(x_9) == 1) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_3, 1); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_ctor_get(x_4, 1); +lean_inc(x_11); +lean_dec(x_4); +x_12 = lean_apply_2(x_2, x_10, x_11); +return x_12; +} +else +{ +lean_object* x_13; +lean_dec(x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_13 = lean_box(x_8); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_lexOrd___elambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_lexOrd___elambda__1___rarg), 4, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_lexOrd___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_lexOrd___elambda__1___rarg), 4, 2); +lean_closure_set(x_3, 0, x_1); +lean_closure_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_lexOrd(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_lexOrd___rarg), 2, 0); +return x_3; +} +} LEAN_EXPORT lean_object* l_ltOfOrd(lean_object* x_1, lean_object* x_2) { _start: { diff --git a/stage0/stdlib/Init/Data/Repr.c b/stage0/stdlib/Init/Data/Repr.c index 652110b1c1..f92fabcf03 100644 --- a/stage0/stdlib/Init/Data/Repr.c +++ b/stage0/stdlib/Init/Data/Repr.c @@ -3266,92 +3266,146 @@ return x_76; } case 1: { -lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +lean_object* x_77; lean_object* x_78; uint8_t x_79; lean_object* x_80; uint8_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; x_77 = lean_ctor_get(x_1, 0); lean_inc(x_77); x_78 = lean_ctor_get(x_1, 1); lean_inc(x_78); +x_79 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); lean_dec(x_1); -x_79 = lean_unsigned_to_nat(1024u); -x_80 = lean_nat_dec_le(x_79, x_2); -x_81 = l_Nat_repr(x_77); -x_82 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_82, 0, x_81); -x_83 = l_instReprPos___closed__2; -x_84 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_82); -x_85 = l_instReprPos___closed__4; -x_86 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -x_87 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__8; -x_88 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_86); -x_89 = lean_box(1); -x_90 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Nat_repr(x_78); -x_92 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_93 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_93, 0, x_83); -lean_ctor_set(x_93, 1, x_92); +x_80 = lean_unsigned_to_nat(1024u); +x_81 = lean_nat_dec_le(x_80, x_2); +x_82 = l_Nat_repr(x_77); +x_83 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = l_instReprPos___closed__2; +x_85 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_85, 0, x_84); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_instReprPos___closed__4; +x_87 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__8; +x_89 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_87); +x_90 = lean_box(1); +x_91 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Nat_repr(x_78); +x_93 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_93, 0, x_92); x_94 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_85); +lean_ctor_set(x_94, 0, x_84); +lean_ctor_set(x_94, 1, x_93); x_95 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_95, 0, x_90); -lean_ctor_set(x_95, 1, x_94); -if (x_80 == 0) -{ -lean_object* x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; -x_96 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__4; -x_97 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_86); +x_96 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_96, 0, x_91); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -x_98 = 0; -x_99 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_97, 1, x_90); +if (x_81 == 0) +{ +if (x_79 == 0) +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; uint8_t x_102; lean_object* x_103; lean_object* x_104; +x_98 = l_instReprBool___closed__2; +x_99 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_99, 0, x_97); -lean_ctor_set_uint8(x_99, sizeof(void*)*1, x_98); -x_100 = l_Repr_addAppParen(x_99, x_2); -return x_100; +lean_ctor_set(x_99, 1, x_98); +x_100 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__4; +x_101 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_99); +x_102 = 0; +x_103 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set_uint8(x_103, sizeof(void*)*1, x_102); +x_104 = l_Repr_addAppParen(x_103, x_2); +return x_104; } else { -lean_object* x_101; lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; -x_101 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__5; -x_102 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_95); -x_103 = 0; -x_104 = lean_alloc_ctor(5, 1, 1); -lean_ctor_set(x_104, 0, x_102); -lean_ctor_set_uint8(x_104, sizeof(void*)*1, x_103); -x_105 = l_Repr_addAppParen(x_104, x_2); -return x_105; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; uint8_t x_109; lean_object* x_110; lean_object* x_111; +x_105 = l_instReprBool___closed__4; +x_106 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_106, 0, x_97); +lean_ctor_set(x_106, 1, x_105); +x_107 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__4; +x_108 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_108, 0, x_107); +lean_ctor_set(x_108, 1, x_106); +x_109 = 0; +x_110 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_110, 0, x_108); +lean_ctor_set_uint8(x_110, sizeof(void*)*1, x_109); +x_111 = l_Repr_addAppParen(x_110, x_2); +return x_111; +} +} +else +{ +if (x_79 == 0) +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; lean_object* x_117; lean_object* x_118; +x_112 = l_instReprBool___closed__2; +x_113 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_113, 0, x_97); +lean_ctor_set(x_113, 1, x_112); +x_114 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__5; +x_115 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +x_116 = 0; +x_117 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set_uint8(x_117, sizeof(void*)*1, x_116); +x_118 = l_Repr_addAppParen(x_117, x_2); +return x_118; +} +else +{ +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; uint8_t x_123; lean_object* x_124; lean_object* x_125; +x_119 = l_instReprBool___closed__4; +x_120 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_120, 0, x_97); +lean_ctor_set(x_120, 1, x_119); +x_121 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__5; +x_122 = lean_alloc_ctor(3, 2, 0); +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_120); +x_123 = 0; +x_124 = lean_alloc_ctor(5, 1, 1); +lean_ctor_set(x_124, 0, x_122); +lean_ctor_set_uint8(x_124, sizeof(void*)*1, x_123); +x_125 = l_Repr_addAppParen(x_124, x_2); +return x_125; +} } } default: { -lean_object* x_106; uint8_t x_107; -x_106 = lean_unsigned_to_nat(1024u); -x_107 = lean_nat_dec_le(x_106, x_2); -if (x_107 == 0) +lean_object* x_126; uint8_t x_127; +x_126 = lean_unsigned_to_nat(1024u); +x_127 = lean_nat_dec_le(x_126, x_2); +if (x_127 == 0) { -lean_object* x_108; lean_object* x_109; -x_108 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__12; -x_109 = l_Repr_addAppParen(x_108, x_2); -return x_109; +lean_object* x_128; lean_object* x_129; +x_128 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__12; +x_129 = l_Repr_addAppParen(x_128, x_2); +return x_129; } else { -lean_object* x_110; lean_object* x_111; -x_110 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__14; -x_111 = l_Repr_addAppParen(x_110, x_2); -return x_111; +lean_object* x_130; lean_object* x_131; +x_130 = l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr___hyg_1907____closed__14; +x_131 = l_Repr_addAppParen(x_130, x_2); +return x_131; } } } diff --git a/stage0/stdlib/Init/Meta.c b/stage0/stdlib/Init/Meta.c index 083ca7d228..73d87a42bd 100644 --- a/stage0/stdlib/Init/Meta.c +++ b/stage0/stdlib/Init/Meta.c @@ -18,10 +18,11 @@ LEAN_EXPORT lean_object* l_Array_getSepElems___rarg___boxed(lean_object*); static uint8_t l_Lean_versionString___closed__2; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decode___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +LEAN_EXPORT lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__3; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__21; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__8; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getMajor___boxed(lean_object*); lean_object* lean_string_push(lean_object*, uint32_t); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeOctalLitAux___boxed(lean_object*, lean_object*, lean_object*); @@ -39,22 +40,26 @@ LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef(lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__2; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__15; size_t lean_usize_add(size_t, size_t); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isNatLit_x3f___boxed(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__10; static lean_object* l_Lean_Syntax_unsetTrailing___closed__1; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__6; static lean_object* l_Lean_Syntax_instReprPreresolved___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__19; LEAN_EXPORT lean_object* l_Lean_Syntax_setTailInfoAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTailSepArrayArraySyntax___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__16; static lean_object* l_Lean_Syntax_mkNumLit___closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__11; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__16; LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_decide___default; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_zeta___default; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__10; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__5; LEAN_EXPORT uint8_t lean_is_inaccessible_user_name(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__13; @@ -79,6 +84,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__59; LEAN_EXPORT lean_object* l_Lean_Syntax_getTrailingSize(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__6; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Name_reprPrec___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__49; static lean_object* l_Lean_instQuoteProdStrAnonymous___rarg___closed__2; @@ -86,23 +92,23 @@ LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_autoUnfold___default; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___at_Lean_Syntax_setHeadInfoAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeScientificLitTerm(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_getString___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__21; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__14; LEAN_EXPORT lean_object* l_Lean_Syntax_getSepArgs___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__38; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArith___closed__8; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__11; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__24; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKind___rarg___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__1; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__18; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__71; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__7; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__19; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__2; lean_object* l_Lean_Syntax_getOptional_x3f(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__22; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSepArray___boxed(lean_object*); @@ -110,14 +116,12 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__9; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__16; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__19; static lean_object* l_Lean_termEval__prio_____closed__9; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__22; LEAN_EXPORT lean_object* l_Lean_versionStringCore; static lean_object* l_Lean_versionString___closed__8; LEAN_EXPORT uint32_t l_Lean_idBeginEscape; LEAN_EXPORT lean_object* l_Lean_instQuote___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__105; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailSyntaxTSyntax(lean_object*); @@ -131,15 +135,17 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar(lean_object*, lean_objec static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__66; static lean_object* l_Lean_quoteNameMk___closed__3; static lean_object* l_Lean_mkSepArray___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAutoUnfold; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__33; static lean_object* l_Lean_versionString___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__77; static lean_object* l_Lean_instQuoteArrayStrAnonymous___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_mkSep(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__3; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__24; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllArith; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__9; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__34; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__11; static lean_object* l_Lean_quoteNameMk___closed__5; @@ -147,16 +153,15 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___cl LEAN_EXPORT lean_object* l_Array_filterSepElemsM___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__81; static lean_object* l_Lean_toolchain___closed__3; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); uint8_t l_String_anyAux_loop(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_capitalize(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__66; static lean_object* l_Lean_versionString___closed__9; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_isAtom___boxed(lean_object*); static lean_object* l_Lean_termEval__prec_____closed__6; static lean_object* l_Lean_version_specialDesc___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__6; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentTerm(lean_object*); LEAN_EXPORT lean_object* l_Lean_monadNameGeneratorLift(lean_object*, lean_object*); @@ -166,31 +171,32 @@ extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__106; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__13; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_toNat___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__22; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__19; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__6; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__10; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__4; LEAN_EXPORT uint8_t l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_memoize___default; static lean_object* l_Lean_toolchain___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__85; LEAN_EXPORT lean_object* l_Lean_TSyntax_getNat(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f(lean_object*); static lean_object* l_Lean_instQuoteProdStrAnonymous___rarg___closed__3; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__16; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__27; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__85; LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_eta___default; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__25; LEAN_EXPORT uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__77; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTailSepArrayArraySyntax(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__17; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar(lean_object*, lean_object*); static lean_object* l_Lean_githash___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__56; @@ -199,6 +205,7 @@ static lean_object* l_Lean_quoteNameMk___closed__8; static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__8; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__termEval__prio____1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__37; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__8; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentLevel___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__11; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__12; @@ -216,7 +223,6 @@ LEAN_EXPORT lean_object* l_Lean_instQuote(lean_object*, lean_object*, lean_objec static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__17; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__17; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__8; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__15; @@ -225,7 +231,6 @@ uint8_t l_Char_isDigit(uint32_t); LEAN_EXPORT lean_object* l_Lean_Name_reprPrec(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__22; LEAN_EXPORT lean_object* l_Lean_Name_escapePart(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__8; LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailSyntaxTSyntax___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeExp(lean_object*, lean_object*, lean_object*, lean_object*); @@ -235,7 +240,8 @@ LEAN_EXPORT lean_object* l_Lean_isGreek___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__16; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__1; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__9; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitTerm(lean_object*); LEAN_EXPORT uint32_t l_Lean_idEndEscape; LEAN_EXPORT lean_object* l_Lean_Name_escapePart___lambda__1___boxed(lean_object*); @@ -246,22 +252,21 @@ static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__9; LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__3___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isIdRest___boxed(lean_object*); static lean_object* l_Lean_instQuoteNameStrAnonymous___closed__2; -LEAN_EXPORT lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__7; +LEAN_EXPORT lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_quoteNameMk___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__1; LEAN_EXPORT uint8_t l_Lean_isIdBeginEscape(uint32_t); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__18; static lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__15; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_toCtorIdx(uint8_t); static lean_object* l_Lean_Syntax_mkNumLit___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; LEAN_EXPORT uint8_t l_Lean_Name_escapePart___lambda__1(uint32_t); LEAN_EXPORT lean_object* l_Lean_Syntax_mkScientificLit(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__20; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__74; extern lean_object* l_Lean_Parser_Tactic_config; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__4; static lean_object* l_Lean_termEval__prec_____closed__3; static lean_object* l_Lean_Option_hasQuote___rarg___closed__7; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__3; @@ -270,14 +275,12 @@ LEAN_EXPORT lean_object* l_Lean_instQuoteSubstringStrAnonymous___boxed(lean_obje static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__9; LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__11; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__6; LEAN_EXPORT lean_object* l_Lean_isIdFirst___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkHole___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_getName___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__18; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11765____boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__5; lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_toString___boxed(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -285,10 +288,9 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__27; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__28; static lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__108; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__22; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__7; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__14; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_instQuoteSubstringStrAnonymous___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionSepArray(lean_object*); @@ -300,15 +302,16 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeHexDigit___b lean_object* lean_get_githash(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_setTailInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__6; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__5; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__99; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__55; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayArraySyntax(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__1; static lean_object* l_Lean_quoteNameMk___closed__4; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_decide___default; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__15; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__2; lean_object* l_Lean_TSyntaxArray_rawImpl___rarg___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1; @@ -318,30 +321,32 @@ lean_object* l___private_Init_Data_Repr_0__reprSourceInfo____x40_Init_Data_Repr_ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__3; LEAN_EXPORT lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_quoteNameMk___closed__9; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__50; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_contextual___default; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_toCtorIdx(uint8_t); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__12; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__23; lean_object* lean_string_utf8_byte_size(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_instInhabitedTransparencyMode; LEAN_EXPORT lean_object* l_Lean_NameGenerator_namePrefix___default; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__16; LEAN_EXPORT lean_object* l_Array_filterSepElems___boxed(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(uint8_t, uint8_t); +LEAN_EXPORT lean_object* l_Lean_mkIdentFrom___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Syntax_setHeadInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__79; LEAN_EXPORT lean_object* l_List_repr___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__95; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__8; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKindNil(lean_object*, lean_object*); static lean_object* l_Lean_toolchain___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__42; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__26; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__7; static lean_object* l_Lean_Option_hasQuote___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_version_patch; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__5; @@ -354,11 +359,16 @@ static lean_object* l_Lean_Syntax_instBEqPreresolved___closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Name_instDecidableEqName(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__100; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__12; LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2771_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Syntax_instCoeTSyntaxArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__19; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__53; +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_version_specialDesc; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__76; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_mkSep___boxed(lean_object*, lean_object*); @@ -373,6 +383,7 @@ static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__5; static lean_object* l_Lean_versionStringCore___closed__2; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__2; LEAN_EXPORT lean_object* l_Lean_Name_instReprName; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__20; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Name_toStringWithSep(lean_object*, uint8_t, lean_object*); @@ -381,19 +392,15 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElems(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__19; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__10; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__28; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSepArrayTSyntaxArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Syntax_instCoeTSyntaxArray___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__8; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__7; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__15; static lean_object* l_Lean_termEval__prio_____closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__18; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__20; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__75; static lean_object* l_Lean_version_major___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_toCtorIdx___boxed(lean_object*); @@ -405,34 +412,30 @@ LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_etaStruct___default; lean_object* lean_string_utf8_next(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__58; static lean_object* l_Lean_Name_isInaccessibleUserName___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__10; static lean_object* l_Lean_Syntax_mkStrLit___closed__2; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__1; LEAN_EXPORT lean_object* l_Lean_Name_instDecidableEqName___boxed(lean_object*, lean_object*); static lean_object* l_Lean_versionStringCore___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; static lean_object* l_Lean_termEval__prio_____closed__2; LEAN_EXPORT lean_object* l_Lean_TSyntax_getId(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__90; LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStrChunks___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__54; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__24; LEAN_EXPORT lean_object* l_Lean_Name_toStringWithSep_maybeEscape(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isLit_x3f___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__3; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__19; LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_proj___default; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrio__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__62; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__12; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__16; LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionTSepArray___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_hasArgs___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__98; static lean_object* l_Lean_Name_reprPrec___closed__6; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__11; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__9; LEAN_EXPORT lean_object* l_Lean_Syntax_getSubstring_x3f(lean_object*, uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo_x3f___spec__1(lean_object*, lean_object*, lean_object*); @@ -441,6 +444,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__32; LEAN_EXPORT lean_object* l_Lean_Syntax_mkApp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapSepElems___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__102; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqTSyntax___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Config_maxSteps___default; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems___rarg___boxed(lean_object*); @@ -450,17 +454,15 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_evalPrio___closed__1; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__12; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__9; static uint8_t l_Lean_version_isRelease___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqTSyntax(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__39; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__10; static lean_object* l_Lean_termEval__prec_____closed__10; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__84; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__95; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeExp___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isLit_x3f(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__10; static lean_object* l_Lean_Name_reprPrec___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instInhabitedConfig; LEAN_EXPORT lean_object* l_Lean_Syntax_isScientificLit_x3f___boxed(lean_object*); @@ -472,11 +474,10 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_isNatLit_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSyntaxArray(lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__5; LEAN_EXPORT lean_object* l_Lean_version_major; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__27; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__52; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqSyntax; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_zeta___default; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; static lean_object* l_Lean_versionStringCore___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__81; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -496,31 +497,35 @@ static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_repr static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__73; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__10; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__12; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__32; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_mkStrLit___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__33; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__98; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__subPrec__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__4; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__20; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__3; static lean_object* l_Lean_termEval__prec_____closed__7; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__9; static lean_object* l_Lean_instQuoteSubstringStrAnonymous___closed__4; LEAN_EXPORT lean_object* l_Lean_instQuoteNatNumLitKind(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__13; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeScientificLitTerm___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__61; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__2; static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__9; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeDecimalLitAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__1; LEAN_EXPORT lean_object* l_Array_mapSepElemsM(lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__10; LEAN_EXPORT lean_object* l_Lean_mkGroupNode(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termEval__prio_____closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__46; static lean_object* l_Lean_mkGroupNode___closed__1; @@ -544,11 +549,13 @@ LEAN_EXPORT lean_object* l_Array_getSepElems(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__29; LEAN_EXPORT lean_object* l_Lean_monadNameGeneratorLift___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__5; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__23; LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_structEq___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__5; -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11765_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11791_(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__16; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_ConfigCtx_contextual___default; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isFieldIdx_x3f(lean_object*); @@ -572,30 +579,33 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_isScientificLit_x3f(lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__1; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__25; LEAN_EXPORT lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__7; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_toolchain___closed__8; LEAN_EXPORT lean_object* l_Lean_Meta_DSimp_instInhabitedConfig; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__49; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11261____boxed(lean_object*, lean_object*); lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instReprTransparencyMode; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__4; -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__12; LEAN_EXPORT lean_object* l_Lean_mkFreshId___rarg(lean_object*, lean_object*); lean_object* l_String_capitalize(lean_object*); LEAN_EXPORT lean_object* l_Lean_NameGenerator_next(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeCharLit___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeNatLitVal_x3f(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021_(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047_(uint8_t, lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__2; LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Syntax_getTailInfo_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailSyntaxTSyntax___boxed(lean_object*); static lean_object* l_Lean_mkNullNode___closed__2; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__10; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__55; static lean_object* l_Lean_Option_hasQuote___rarg___closed__6; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__2; extern lean_object* l_Lean_Parser_Tactic_simpStar; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Internal_isStage0(lean_object*); @@ -619,6 +629,7 @@ static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__6; static lean_object* l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__3; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__10; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__8; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__6; static lean_object* l_Lean_Syntax_unsetTrailing___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__43; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__10; @@ -631,18 +642,22 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__79; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__80; LEAN_EXPORT lean_object* l_Lean_Name_instToStringName(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__2; static lean_object* l_Lean_quoteNameMk___closed__2; LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____spec__4(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___closed__4; LEAN_EXPORT lean_object* l_Lean_Name_toStringWithSep_maybeEscape___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_modifyBase(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__101; static lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___closed__2; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__3; +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuote___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Rewrite_Config_transparency___default; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__10; lean_object* l_Nat_repr(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; LEAN_EXPORT lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__7; static lean_object* l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___closed__1; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__3(lean_object*, lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__2; @@ -660,9 +675,7 @@ static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__10; LEAN_EXPORT lean_object* l_Lean_instQuoteArrayStrAnonymous___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayTSepArray(lean_object*); lean_object* l_Lean_Syntax_getId(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__21; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__100; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__19; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_splitNameLitAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNameLitTerm(lean_object*); @@ -671,46 +684,40 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuo extern lean_object* l_Lean_Parser_Tactic_rwRuleSeq; static lean_object* l_Lean_instQuoteArrayStrAnonymous___rarg___closed__2; static lean_object* l_Lean_Syntax_instBEqSyntax___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__16; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__11; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKind___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_NameGenerator_idx___default; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__30; LEAN_EXPORT lean_object* l_Lean_Meta_EtaStructMode_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__1; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__6; static lean_object* l_Lean_Meta_instBEqTransparencyMode___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__21; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__5; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__6; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6; lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId(lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__7; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16; lean_object* l_Lean_Macro_throwErrorAt___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__8; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__7; extern lean_object* l_Lean_Parser_Tactic_location; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_toCtorIdx___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__7; LEAN_EXPORT lean_object* l_Lean_mkCIdent(lean_object*); LEAN_EXPORT lean_object* l_Lean_version_getIsRelease___boxed(lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_dsimp___default; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__24; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_beq_match__1_splitter___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__3; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__16; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__17; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__24; uint32_t lean_string_utf8_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteSubstringStrAnonymous(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__3; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_hasNum___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22; static lean_object* l_Lean_Syntax_instReprTSyntax___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__4; @@ -723,18 +730,14 @@ static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Synt LEAN_EXPORT lean_object* l_Lean_Syntax_instReprTSyntax___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterExp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__22; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__6; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKindNil___rarg___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__1; LEAN_EXPORT lean_object* l_Lean_mkOptionalNode(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getPatch___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__27; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__17; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__9; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__13; LEAN_EXPORT lean_object* l_Lean_Syntax_copyHeadTailInfoFrom(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__22; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArray(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_pred(lean_object*); @@ -743,10 +746,10 @@ LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux(lean_ static lean_object* l_Lean_Name_reprPrec___closed__4; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__1; lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__22; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_versionString___closed__10; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeCharLitTerm___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__107; LEAN_EXPORT lean_object* l_Lean_versionString; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__57; @@ -755,18 +758,21 @@ static lean_object* l_Lean_version_patch___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__21; uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTermTSyntaxConsSyntaxNodeKindStrAnonymousNil___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20734_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18694_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21695_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764_(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20806_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18766_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21767_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836_(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824_(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__4; +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Substring_beq(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__8; LEAN_EXPORT lean_object* l_Lean_Name_toStringWithSep___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__22; LEAN_EXPORT lean_object* l_Array_filterSepElemsM(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Name_reprPrec___closed__8; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__subPrio__1(lean_object*, lean_object*, lean_object*); @@ -781,19 +787,21 @@ static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Synt static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__6; static lean_object* l_Lean_version_minor___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__14; static lean_object* l_Lean_Name_reprPrec___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__17; -LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__4; +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_Simp_Config_maxDischargeDepth___default; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_getChar___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__18; LEAN_EXPORT lean_object* l_Lean_isNumericSubscript___boxed(lean_object*); lean_object* l_Substring_nextn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__68; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__15; LEAN_EXPORT lean_object* l_Lean_evalOptPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__83; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__10; @@ -801,14 +809,16 @@ static lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___clo LEAN_EXPORT lean_object* l_Lean_instQuoteProdStrAnonymous(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__14; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkApp___closed__2; LEAN_EXPORT lean_object* l_Lean_NameGenerator_mkChild(lean_object*); LEAN_EXPORT lean_object* l_Lean_getGithash___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instReprEtaStructMode; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20; static lean_object* l_Lean_Syntax_isCharLit_x3f___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__45; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__9; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__14; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___at_Lean_Syntax_setHeadInfoAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitTerm___boxed(lean_object*); static lean_object* l_Lean_Syntax_instReprSyntax___closed__1; @@ -816,47 +826,48 @@ lean_object* l_String_dropRight(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isCharLit_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_splitNameLit(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__6; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__103; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__10; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__31; size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__17; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__6; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__4; LEAN_EXPORT lean_object* l_Lean_version_minor; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLit___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Array_mapSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_NameGenerator_namePrefix___default___closed__2; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__3; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__44; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__14; LEAN_EXPORT lean_object* l_Lean_Syntax_instEmptyCollectionTSepArray(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_isIdEndEscape(uint32_t); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__10; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__4; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getMajor(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__4; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__17; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__14; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeCharLit(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__3; LEAN_EXPORT uint8_t l_Lean_version_isRelease; -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11235_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11261_(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_decodeNatLitVal_x3f___closed__1; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_arith___default; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__59; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__3; static lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___closed__1; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__19; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrio__1___closed__1; uint8_t l_Char_isAlpha(uint32_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__97; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__24; static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__8; LEAN_EXPORT lean_object* l_Lean_Option_hasQuote(lean_object*); LEAN_EXPORT uint8_t l_Lean_Syntax_isAtom(lean_object*); @@ -864,39 +875,41 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSepArray___rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__94; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeDepTermMkConsSyntaxNodeKindStrAnonymousNilIdentIdent(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__15; LEAN_EXPORT uint8_t l_Lean_isLetterLike(uint32_t); LEAN_EXPORT uint8_t l_Lean_Meta_DSimp_Config_beta___default; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__15; LEAN_EXPORT lean_object* l_Lean_evalPrec(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isStrLit_x3f___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__67; static lean_object* l_Lean_Syntax_getHead_x3f___closed__3; +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpArith; LEAN_EXPORT lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__8; extern lean_object* l_Lean_Parser_Tactic_simpLemma; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__40; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__18; -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_TSyntaxArray_mkImpl___rarg___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__4; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__18; static lean_object* l_Lean_termEval__prio_____closed__8; LEAN_EXPORT lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); static lean_object* l_Lean_instInhabitedNameGenerator___closed__1; static lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___closed__1; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__57; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_ofElemsUsingRef(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__15; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__5; static lean_object* l_Lean_versionString___closed__7; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_unsetTrailing(lean_object*); static lean_object* l_Lean_termEval__prio_____closed__7; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__5; @@ -906,20 +919,21 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f___boxed(lean_o LEAN_EXPORT lean_object* l_Lean_Syntax_isIdOrAtom_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArray___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrec___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Array_mapSepElems___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_beq_match__1_splitter___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__44; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__16; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__7; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__11; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__9; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__16; LEAN_EXPORT lean_object* l_Lean_Syntax_instReprSyntax; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__35; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__51; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__14; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__23; static lean_object* l_Lean_Syntax_mkApp___closed__1; uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__24; @@ -933,26 +947,29 @@ static lean_object* l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonym static lean_object* l_Lean_Syntax_instCoeTSepArrayTSyntaxArray___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSepArrayTSyntaxArray___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Syntax_mkNameLit___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_version_getIsRelease(lean_object*); LEAN_EXPORT lean_object* lean_name_append_after(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_version_getMinor(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getSepArgs(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__6; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__86; uint8_t l_String_isEmpty(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___rarg___closed__2; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__4; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__4; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__9; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__7; -LEAN_EXPORT lean_object* l_Lean_mkHole(lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkHole(lean_object*, uint8_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__83; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__18; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__19; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__16; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__28; LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Syntax_structEq___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__20; lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); @@ -972,6 +989,7 @@ static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__104; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__11; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__7; uint8_t l_String_isPrefixOf(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__45; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__8; @@ -982,7 +1000,6 @@ static lean_object* l_Lean_Syntax_isFieldIdx_x3f___closed__2; static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__6; LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly(lean_object*); lean_object* l_String_quote(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__14; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____spec__2(lean_object*, lean_object*); uint8_t l_Char_isAlphanum(uint32_t); LEAN_EXPORT lean_object* l_Lean_Syntax_copyHeadTailInfoFrom___boxed(lean_object*, lean_object*); @@ -991,11 +1008,9 @@ static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__22; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_instReprConfig; LEAN_EXPORT lean_object* l_Lean_instInhabitedNameGenerator; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__82; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__21; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__8; LEAN_EXPORT uint8_t l_Lean_Syntax_instBEqTSyntax___rarg(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__10; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSepArray___rarg(lean_object*, lean_object*); @@ -1003,8 +1018,8 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentLevel(lean_object*); LEAN_EXPORT uint8_t l_Lean_isGreek(uint32_t); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticErw____; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__8; lean_object* l_Lean_Syntax_getKind(lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__8; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__6; @@ -1012,23 +1027,23 @@ LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser_ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__11; lean_object* l_Lean_MacroScopesView_review(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__23; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__6; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__13; LEAN_EXPORT lean_object* l_Lean_quoteNameMk(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__7; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrQuotedChar___boxed__const__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__88; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrio___boxed(lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__2; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__11; static lean_object* l_Lean_toolchain___closed__2; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__4; LEAN_EXPORT lean_object* l_Array_filterSepElems(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__34; LEAN_EXPORT lean_object* l_Array_mapSepElemsM___at_Array_mapSepElems___spec__1(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078_(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__4; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104_(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Name_hasNum(lean_object*); static lean_object* l_Lean_Syntax_mkScientificLit___closed__1; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_instBEqEtaStructMode; static lean_object* l_Lean_Syntax_mkScientificLit___closed__2; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__9; @@ -1040,47 +1055,53 @@ LEAN_EXPORT lean_object* l_Lean_Name_replacePrefix___boxed(lean_object*, lean_ob LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__2(lean_object*); static lean_object* l_Lean_versionString___closed__5; LEAN_EXPORT lean_object* l_Lean_TSyntax_getScientific(lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__13; static lean_object* l_Lean_termEval__prec_____closed__11; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__41; LEAN_EXPORT lean_object* l_Lean_Syntax_getOptionalIdent_x3f(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__5; static lean_object* l_Lean_evalPrec___closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKindNil___boxed(lean_object*, lean_object*); static lean_object* l_Lean_instQuoteProdStrAnonymous___rarg___closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__70; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__28; static lean_object* l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__4; static lean_object* l_Lean_Name_toStringWithSep___closed__1; LEAN_EXPORT lean_object* l_Lean_NameGenerator_curr(lean_object*); static lean_object* l_Lean_Parser_Tactic_dsimpKind___closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_push___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_SepArray_getElems___rarg___boxed(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__14; static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_DSimp_instBEqConfig; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_push(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__15; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__3___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__7; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836_(uint8_t, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__6; +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isNameLit_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteBoolStrAnonymous___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteListStrAnonymous___rarg(lean_object*); static lean_object* l_Lean_mkHole___closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__18; LEAN_EXPORT lean_object* l_Lean_TSyntax_getNat___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__72; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__96; static lean_object* l_Lean_Syntax_mkApp___closed__3; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_versionStringCore___closed__6; LEAN_EXPORT lean_object* l_Lean_isIdBeginEscape___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__6; static lean_object* l_Lean_instQuoteNameStrAnonymous___closed__1; static lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__2; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5; LEAN_EXPORT lean_object* l_Lean_mkFreshId___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11791____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__3; static lean_object* l_Lean_instQuoteBoolStrAnonymous___closed__2; LEAN_EXPORT uint8_t l_Lean_Meta_Rewrite_Config_offsetCnstrs___default; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1091,24 +1112,26 @@ static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Synt static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__65; LEAN_EXPORT lean_object* l_List_beq___at_Lean_Syntax_structEq___spec__2___boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__6; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__2; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__23; lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__62; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__12; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__54; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__10; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__4; static lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__9; -LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__2; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__4; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__5; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__8; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__21; static lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__1; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__1; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__13; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__5; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayTSepArray___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Meta_instReprEtaStructMode___closed__1; @@ -1119,16 +1142,17 @@ static lean_object* l_Lean_termEval__prec_____closed__2; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__21; LEAN_EXPORT lean_object* l_Lean_Syntax_instBEqTSyntax___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_iota___default; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__16; LEAN_EXPORT lean_object* l_Lean_Syntax_setInfo(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__82; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__29; LEAN_EXPORT lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__3; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__18; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__69; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20; static lean_object* l_Lean_Meta_Simp_neutralConfig___closed__1; LEAN_EXPORT uint8_t l_Lean_Syntax_isNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_getId___boxed(lean_object*); @@ -1136,9 +1160,7 @@ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__25; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__28; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeScientificLitVal_x3f_decodeAfterDot___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__24; LEAN_EXPORT lean_object* l_Lean_Name_toString_maybePseudoSyntax___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__1; LEAN_EXPORT lean_object* l_Lean_expandMacros(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__61; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast(lean_object*); @@ -1155,10 +1177,8 @@ static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_ LEAN_EXPORT lean_object* l_Lean_Syntax_isNameLit_x3f(lean_object*); static lean_object* l_Lean_quoteNameMk___closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f___lambda__1___boxed(lean_object*); static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____boxed(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__3; lean_object* l_String_trim(lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__11; @@ -1169,15 +1189,17 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1 LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo(lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getOptionalIdent_x3f___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359_(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__64; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeStrLitTerm___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__18; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__89; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__80; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__14; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__6; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__1; LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_termEval__prec_____closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; @@ -1189,16 +1211,18 @@ LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__74; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLit(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__64; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__13; LEAN_EXPORT uint8_t l_Lean_isIdFirst(uint32_t); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_isNone___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_getString(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__10; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNameLitTerm___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__13; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__4; LEAN_EXPORT lean_object* l_List_repr___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____spec__3___boxed(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__13; LEAN_EXPORT lean_object* l_Lean_TSyntax_getName(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__7; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__1; static lean_object* l_Lean_TSyntax_getScientific___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_isToken___boxed(lean_object*, lean_object*); @@ -1206,19 +1230,20 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKind___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteBoolStrAnonymous(uint8_t); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__58; +LEAN_EXPORT lean_object* l_Lean_mkCIdentFrom___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_mkHole___closed__2; extern lean_object* l_Lean_Parser_Tactic_simpErase; static lean_object* l_Lean_mkCIdentFrom___closed__1; static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_TSepArray_getElems___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_getTailInfo___boxed(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__5; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeIdentTerm___boxed(lean_object*); static lean_object* l_Lean_termEval__prec_____closed__8; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeQuotedChar___boxed__const__3; LEAN_EXPORT lean_object* l_Lean_Syntax_instReprPreresolved; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__2; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97; static lean_object* l_Lean_toolchain___closed__7; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrec__1___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__60; @@ -1226,13 +1251,12 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean LEAN_EXPORT lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___boxed(lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__16; LEAN_EXPORT lean_object* l_Lean_origin; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__23; static lean_object* l_Lean_Syntax_isInterpolatedStrLit_x3f___closed__2; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__8; lean_object* lean_string_length(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__25; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__8; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Syntax_findAux___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__23; LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__10; LEAN_EXPORT uint8_t l_Lean_isSubScriptAlnum(uint32_t); @@ -1241,6 +1265,7 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__2; static lean_object* l_Lean_Name_reprPrec___closed__10; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_beta___default; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15; LEAN_EXPORT lean_object* l_Lean_Syntax_getHead_x3f___lambda__1(lean_object*); static lean_object* l_Lean_Option_hasQuote___rarg___closed__3; LEAN_EXPORT uint8_t l_List_beq___at_Lean_Syntax_structEq___spec__2(lean_object*, lean_object*); @@ -1248,12 +1273,11 @@ static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__1 LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__90; LEAN_EXPORT lean_object* lean_mk_syntax_ident(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__8; extern lean_object* l_Lean_Parser_Tactic_discharger; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___lambda__1(lean_object*); static lean_object* l_Lean_Syntax_getHead_x3f___closed__1; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateFirst___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__21; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__12; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__7; LEAN_EXPORT lean_object* l_Lean_Syntax_mkSynthetic(lean_object*); lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); @@ -1274,9 +1298,7 @@ static lean_object* l_Lean_mkCIdentFrom___closed__2; static lean_object* l_Lean_origin___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold; lean_object* lean_nat_mod(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__52; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_dsimpAutoUnfold; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__1; @@ -1286,7 +1308,6 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean lean_object* l_Lean_SourceInfo_getPos_x3f(lean_object*, uint8_t); static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__20; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_filterSepElemsMAux___at_Array_filterSepElems___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__8; static lean_object* l_Lean_Meta_Simp_instBEqConfig___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__23; LEAN_EXPORT lean_object* l_Lean_mkFreshId___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -1294,28 +1315,27 @@ static lean_object* l_Lean_termEval__prec_____closed__4; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_proj___default; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_instBEqTransparencyMode; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeArraySyntaxSepArray(lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__25; static lean_object* l_Lean_instQuoteTermStrAnonymous___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__11; static lean_object* l_Lean_Option_hasQuote___rarg___closed__5; LEAN_EXPORT lean_object* l_Lean_instQuoteStringStrLitKind___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__87; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__3; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__9; LEAN_EXPORT lean_object* l_Lean_Syntax_find_x3f(lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__10; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__41; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__8; static lean_object* l_Lean_Parser_Tactic_tacticErw_______closed__12; LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLitAux___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2771____spec__1___boxed(lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); lean_object* l_String_drop(lean_object*, lean_object*); static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__10; -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005_(uint8_t, uint8_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__13; +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeTSyntaxConsSyntaxNodeKindNil___rarg(lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; LEAN_EXPORT lean_object* l_Array_filterSepElemsM___at_Array_filterSepElems___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__9; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__17; @@ -1325,9 +1345,9 @@ static lean_object* l_Lean_Parser_Tactic_simpArith___closed__1; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__2; LEAN_EXPORT lean_object* l_Lean_instQuoteArrayStrAnonymous(lean_object*); lean_object* l_Nat_min(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__72; LEAN_EXPORT lean_object* l_repr___at___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____spec__1(lean_object*); +static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__96; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__4; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__4; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__33; @@ -1339,38 +1359,38 @@ static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__8; static lean_object* l_Lean_Parser_Tactic_simpArith___closed__3; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__88; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_TSyntax_expandInterpolatedStrChunks___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__6; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayArraySyntax___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110_(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__1; LEAN_EXPORT lean_object* l_Lean_Name_getRoot___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeBinLitAux___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_getRoot(lean_object*); uint8_t lean_uint32_dec_le(uint32_t, uint32_t); static lean_object* l_Lean_Name_reprPrec___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__22; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__15; LEAN_EXPORT lean_object* l_Lean_mkSepArray___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__70; -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__14; static lean_object* l_Lean_Syntax_instCoeTSyntaxArrayArraySyntax___closed__1; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__17; static lean_object* l_Lean_Name_reprPrec___closed__3; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__35; LEAN_EXPORT uint8_t l_Lean_Name_toString_maybePseudoSyntax(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__5; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__12; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__10; LEAN_EXPORT lean_object* l_Lean_Syntax_instReprTSyntax(lean_object*); LEAN_EXPORT lean_object* l_Lean_instQuoteProdStrAnonymous___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__2; static lean_object* l_Lean_termEval__prec_____closed__9; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__38; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__21; LEAN_EXPORT lean_object* l_Lean_Meta_TransparencyMode_noConfusion___rarg___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrec(lean_object*); static lean_object* l_Array_getSepElems___rarg___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Array_getSepElems___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__20; static lean_object* l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__7; static lean_object* l_Lean_Parser_Tactic_simpAllArith___closed__7; static lean_object* l_Lean_Parser_Tactic_declareSimpLikeTactic___closed__12; @@ -1378,26 +1398,24 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_findAux(lean_object*, lean_object*); static lean_object* l_Lean_Name_escapePart___closed__3; LEAN_EXPORT lean_object* l_Lean_Syntax_instCoeTSyntaxArrayTSepArray___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_decodeStrLitAux(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__15; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__8; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__17; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__40; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__2; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__67; LEAN_EXPORT lean_object* l_Lean_mkNode(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__14; static lean_object* l___private_Init_Meta_0__Lean_quoteList___rarg___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__3; static lean_object* l_Lean_instQuoteSubstringStrAnonymous___closed__3; lean_object* lean_uint32_to_nat(uint32_t); +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__17; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___closed__7; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__6; static lean_object* l_Array_forInUnsafe_loop___at_Lean_mkSepArray___spec__1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__51; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Name_replacePrefix(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_termEval__prio_____closed__5; +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__1; LEAN_EXPORT lean_object* l_Lean_TSyntax_instCoeNumLitPrio(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit_loop(lean_object*, lean_object*, lean_object*); @@ -1405,12 +1423,12 @@ static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Synt static lean_object* l_Lean_Parser_Tactic_simpArith___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpAllKind; LEAN_EXPORT lean_object* l_Lean_TSyntax_expandInterpolatedStr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; static lean_object* l_List_foldr___at_Lean_Syntax_decodeNameLit___spec__1___closed__4; lean_object* lean_nat_to_int(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__65; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__39; LEAN_EXPORT uint8_t l_Lean_Syntax_isToken(lean_object*, lean_object*); -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__109; LEAN_EXPORT lean_object* l_Lean_Syntax_isFieldIdx_x3f___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__36; @@ -1418,54 +1436,49 @@ static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__24; LEAN_EXPORT uint8_t l_Lean_Meta_Simp_Config_autoUnfold___default; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Name_beq_match__1_splitter(lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_decodeInterpStrLit___boxed(lean_object*); -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__4; LEAN_EXPORT lean_object* l_Lean_evalPrio(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__5; LEAN_EXPORT lean_object* l_Lean_Meta_Simp_defaultMaxSteps; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrec__1___closed__4; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSyntaxArray___boxed(lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__36; LEAN_EXPORT lean_object* l_Lean_Syntax_setHeadInfoAux(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArith___closed__9; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__19; +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__30; LEAN_EXPORT lean_object* l_Lean_Option_hasQuote___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__8; static lean_object* l_Lean_termEval__prio_____closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpArithAutoUnfold; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__9; static lean_object* l_Lean_TSyntax_Compat_instCoeTailArraySyntaxTSyntaxArray___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____boxed(lean_object*, lean_object*); +static lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__17; static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__4; static lean_object* l_Lean_Meta_Simp_instInhabitedConfig___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__48; static lean_object* l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__3; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__9; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__9; static lean_object* l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__2; static lean_object* l_Lean_Parser_Tactic_simpAllKind___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__3; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__4; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__4; static lean_object* l_Lean___aux__Init__Meta______macroRules__Lean__Parser__Syntax__addPrec__1___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__29; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_updateLast___at_Lean_Syntax_setTailInfoAux___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__11; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__13; static lean_object* l_Lean_Syntax_isFieldIdx_x3f___closed__1; -static lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__1; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__8; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2771____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_isIdRest(uint32_t); static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__20; +static lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__4; static lean_object* l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__3; LEAN_EXPORT lean_object* l_Lean_Meta_DSimp_instReprConfig; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__21; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpAutoUnfold___closed__9; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__8; uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_mkLit(lean_object*, lean_object*, lean_object*); lean_object* l_Char_ofNat(lean_object*); @@ -1473,9 +1486,8 @@ uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_versionStringCore___closed__7; static lean_object* l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__1; -static lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9; +static lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__13; static lean_object* l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__34; -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11235____boxed(lean_object*, lean_object*); lean_object* l_Repr_addAppParen(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic_simpArith___closed__2; LEAN_EXPORT lean_object* l___private_Init_Data_String_Basic_0__Substring_takeWhileAux___at___private_Init_Meta_0__Lean_Syntax_splitNameLitAux___spec__1(lean_object*, lean_object*, lean_object*); @@ -8193,11 +8205,12 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Syntax_mkSynthetic(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; +uint8_t x_2; lean_object* x_3; lean_object* x_4; +x_2 = 0; lean_inc(x_1); -x_2 = l_Lean_SourceInfo_fromRef(x_1); -x_3 = l_Lean_Syntax_setHeadInfo(x_1, x_2); -return x_3; +x_3 = l_Lean_SourceInfo_fromRef(x_1, x_2); +x_4 = l_Lean_Syntax_setHeadInfo(x_1, x_3); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_withHeadRefOnly___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -9176,68 +9189,100 @@ x_8 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1(x_6, x_7, x_3, x_4 return x_8; } } -LEAN_EXPORT lean_object* l_Lean_mkIdentFrom(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_mkIdentFrom(lean_object* x_1, lean_object* x_2, uint8_t x_3) { _start: { -lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_3 = l_Lean_SourceInfo_fromRef(x_1); -x_4 = 1; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_4 = l_Lean_SourceInfo_fromRef(x_1, x_3); +x_5 = 1; lean_inc(x_2); -x_5 = l_Lean_Name_toString(x_2, x_4); -x_6 = lean_string_utf8_byte_size(x_5); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_8, 0, x_5); -lean_ctor_set(x_8, 1, x_7); -lean_ctor_set(x_8, 2, x_6); -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_10, 0, x_3); -lean_ctor_set(x_10, 1, x_8); -lean_ctor_set(x_10, 2, x_2); -lean_ctor_set(x_10, 3, x_9); -return x_10; +x_6 = l_Lean_Name_toString(x_2, x_5); +x_7 = lean_string_utf8_byte_size(x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_9, 0, x_6); +lean_ctor_set(x_9, 1, x_8); +lean_ctor_set(x_9, 2, x_7); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_11, 0, x_4); +lean_ctor_set(x_11, 1, x_9); +lean_ctor_set(x_11, 2, x_2); +lean_ctor_set(x_11, 3, x_10); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_mkIdentFrom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_3); +lean_dec(x_3); +x_5 = l_Lean_mkIdentFrom(x_1, x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); lean_dec(x_1); -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -lean_dec(x_4); -x_6 = l_Lean_mkIdentFrom(x_3, x_2); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_mkIdentFrom(x_4, x_2, x_3); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 0); +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_1, 1); lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); lean_dec(x_2); -x_6 = lean_alloc_closure((void*)(l_Lean_mkIdentFromRef___rarg___lambda__1), 3, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_3); -x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); -return x_7; +x_7 = lean_box(x_4); +x_8 = lean_alloc_closure((void*)(l_Lean_mkIdentFromRef___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_3); +lean_closure_set(x_8, 2, x_7); +x_9 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_8); +return x_9; } } LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_mkIdentFromRef___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_mkIdentFromRef___rarg___boxed), 4, 0); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_3); +lean_dec(x_3); +x_6 = l_Lean_mkIdentFromRef___rarg___lambda__1(x_1, x_2, x_5, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___rarg___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_Lean_mkIdentFromRef___rarg(x_1, x_2, x_3, x_5); +return x_6; +} +} static lean_object* _init_l_Lean_mkCIdentFrom___closed__1() { _start: { @@ -9256,85 +9301,118 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_mkCIdentFrom(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_mkCIdentFrom(lean_object* x_1, lean_object* x_2, uint8_t x_3) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_3 = l_Lean_mkCIdentFrom___closed__2; -x_4 = l_Lean_reservedMacroScope; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_4 = l_Lean_mkCIdentFrom___closed__2; +x_5 = l_Lean_reservedMacroScope; lean_inc(x_2); -x_5 = l_Lean_addMacroScope(x_3, x_2, x_4); -x_6 = l_Lean_SourceInfo_fromRef(x_1); -x_7 = 1; -lean_inc(x_5); -x_8 = l_Lean_Name_toString(x_5, x_7); -x_9 = lean_string_utf8_byte_size(x_8); -x_10 = lean_unsigned_to_nat(0u); -x_11 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_11, 0, x_8); -lean_ctor_set(x_11, 1, x_10); -lean_ctor_set(x_11, 2, x_9); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_2); -lean_ctor_set(x_13, 1, x_12); +x_6 = l_Lean_addMacroScope(x_4, x_2, x_5); +x_7 = l_Lean_SourceInfo_fromRef(x_1, x_3); +x_8 = 1; +lean_inc(x_6); +x_9 = l_Lean_Name_toString(x_6, x_8); +x_10 = lean_string_utf8_byte_size(x_9); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_12, 0, x_9); +lean_ctor_set(x_12, 1, x_11); +lean_ctor_set(x_12, 2, x_10); +x_13 = lean_box(0); x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_12); -x_15 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_15, 0, x_6); -lean_ctor_set(x_15, 1, x_11); -lean_ctor_set(x_15, 2, x_5); -lean_ctor_set(x_15, 3, x_14); -return x_15; +lean_ctor_set(x_14, 0, x_2); +lean_ctor_set(x_14, 1, x_13); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +x_16 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_16, 0, x_7); +lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 2, x_6); +lean_ctor_set(x_16, 3, x_15); +return x_16; } } -LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_mkCIdentFrom___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); +uint8_t x_4; lean_object* x_5; +x_4 = lean_unbox(x_3); +lean_dec(x_3); +x_5 = l_Lean_mkCIdentFrom(x_1, x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); lean_dec(x_1); -x_5 = lean_ctor_get(x_4, 1); -lean_inc(x_5); -lean_dec(x_4); -x_6 = l_Lean_mkCIdentFrom(x_3, x_2); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_mkCIdentFrom(x_4, x_2, x_3); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); -x_5 = lean_ctor_get(x_2, 0); +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_1, 1); lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 0); +lean_inc(x_6); lean_dec(x_2); -x_6 = lean_alloc_closure((void*)(l_Lean_mkCIdentFromRef___rarg___lambda__1), 3, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_3); -x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); -return x_7; +x_7 = lean_box(x_4); +x_8 = lean_alloc_closure((void*)(l_Lean_mkCIdentFromRef___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_3); +lean_closure_set(x_8, 2, x_7); +x_9 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_8); +return x_9; } } LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_mkCIdentFromRef___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_mkCIdentFromRef___rarg___boxed), 4, 0); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_3); +lean_dec(x_3); +x_6 = l_Lean_mkCIdentFromRef___rarg___lambda__1(x_1, x_2, x_5, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_mkCIdentFromRef___rarg___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_Lean_mkCIdentFromRef___rarg(x_1, x_2, x_3, x_5); +return x_6; +} +} LEAN_EXPORT lean_object* l_Lean_mkCIdent(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; +lean_object* x_2; uint8_t x_3; lean_object* x_4; x_2 = lean_box(0); -x_3 = l_Lean_mkCIdentFrom(x_2, x_1); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_2, x_1, x_3); +return x_4; } } LEAN_EXPORT lean_object* lean_mk_syntax_ident(lean_object* x_1) { @@ -9664,21 +9742,31 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_mkHole(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_mkHole(lean_object* x_1, uint8_t x_2) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_2 = l_Lean_Name_appendIndexAfter___closed__1; -x_3 = l_Lean_mkAtomFrom(x_1, x_2); -x_4 = l_Lean_mkOptionalNode___closed__2; -x_5 = lean_array_push(x_4, x_3); -x_6 = lean_box(2); -x_7 = l_Lean_mkHole___closed__2; -x_8 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -lean_ctor_set(x_8, 2, x_5); -return x_8; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_3 = l_Lean_Name_appendIndexAfter___closed__1; +x_4 = l_Lean_mkAtomFrom(x_1, x_3, x_2); +x_5 = l_Lean_mkOptionalNode___closed__2; +x_6 = lean_array_push(x_5, x_4); +x_7 = lean_box(2); +x_8 = l_Lean_mkHole___closed__2; +x_9 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +lean_ctor_set(x_9, 2, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_mkHole___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Lean_mkHole(x_1, x_3); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_Syntax_mkSep(lean_object* x_1, lean_object* x_2) { @@ -9751,21 +9839,22 @@ lean_dec(x_5); x_7 = l_String_isEmpty(x_2); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = l_Lean_mkAtomFrom(x_4, x_2); -x_9 = l_Lean_mkSepArray(x_3, x_8); -x_10 = lean_apply_2(x_6, lean_box(0), x_9); -return x_10; +uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = 0; +x_9 = l_Lean_mkAtomFrom(x_4, x_2, x_8); +x_10 = l_Lean_mkSepArray(x_3, x_9); +x_11 = lean_apply_2(x_6, lean_box(0), x_10); +return x_11; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_4); lean_dec(x_2); -x_11 = l_Lean_mkOptionalNode___closed__1; -x_12 = l_Lean_mkSepArray(x_3, x_11); -x_13 = lean_apply_2(x_6, lean_box(0), x_12); -return x_13; +x_12 = l_Lean_mkOptionalNode___closed__1; +x_13 = l_Lean_mkSepArray(x_3, x_12); +x_14 = lean_apply_2(x_6, lean_box(0), x_13); +return x_14; } } } @@ -9914,11 +10003,12 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Syntax_mkCApp(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_box(0); -x_4 = l_Lean_mkCIdentFrom(x_3, x_1); -x_5 = l_Lean_Syntax_mkApp(x_4, x_2); -return x_5; +x_4 = 0; +x_5 = l_Lean_mkCIdentFrom(x_3, x_1, x_4); +x_6 = l_Lean_Syntax_mkApp(x_5, x_2); +return x_6; } } LEAN_EXPORT lean_object* l_Lean_Syntax_mkLit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -13915,11 +14005,12 @@ return x_3; static lean_object* _init_l_Lean_instQuoteBoolStrAnonymous___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_instQuoteBoolStrAnonymous___closed__4; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_instQuoteBoolStrAnonymous___closed__6() { @@ -13943,11 +14034,12 @@ return x_3; static lean_object* _init_l_Lean_instQuoteBoolStrAnonymous___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_instQuoteBoolStrAnonymous___closed__7; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_instQuoteBoolStrAnonymous(uint8_t x_1) { @@ -14172,11 +14264,12 @@ return x_3; static lean_object* _init_l_Lean_quoteNameMk___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_quoteNameMk___closed__4; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_quoteNameMk___closed__6() { @@ -14424,11 +14517,12 @@ return x_3; static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___rarg___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l___private_Init_Meta_0__Lean_quoteList___rarg___closed__4; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___rarg___closed__6() { @@ -18623,7 +18717,7 @@ x_1 = 0; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -18635,7 +18729,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -18643,7 +18737,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_3, x_4); +x_5 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -18652,7 +18746,7 @@ static lean_object* _init_l_Lean_Meta_instBEqTransparencyMode___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846____boxed), 2, 0); return x_1; } } @@ -18664,7 +18758,7 @@ x_1 = l_Lean_Meta_instBEqTransparencyMode___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__1() { _start: { lean_object* x_1; @@ -18672,33 +18766,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.TransparencyMode.all", 30); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__3; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18706,23 +18800,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18730,7 +18824,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__7() { _start: { lean_object* x_1; @@ -18738,33 +18832,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.TransparencyMode.default", 34); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__10() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__9; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18772,23 +18866,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18796,7 +18890,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__13() { _start: { lean_object* x_1; @@ -18804,33 +18898,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.TransparencyMode.reducible", 36); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__13; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__16() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18838,23 +18932,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18862,7 +18956,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__19() { _start: { lean_object* x_1; @@ -18870,33 +18964,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.TransparencyMode.instances", 36); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__19; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__20; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__22() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__21; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__21; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18904,23 +18998,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__20; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -18928,7 +19022,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -18940,14 +19034,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__4; +x_5 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__4; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__6; +x_7 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -18960,14 +19054,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__10; +x_11 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__10; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__12; +x_13 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -18980,14 +19074,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__16; +x_17 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__16; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__18; +x_19 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -19000,14 +19094,14 @@ x_22 = lean_nat_dec_le(x_21, x_2); if (x_22 == 0) { lean_object* x_23; lean_object* x_24; -x_23 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__22; +x_23 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__22; x_24 = l_Repr_addAppParen(x_23, x_2); return x_24; } else { lean_object* x_25; lean_object* x_26; -x_25 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__24; +x_25 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__24; x_26 = l_Repr_addAppParen(x_25, x_2); return x_26; } @@ -19015,13 +19109,13 @@ return x_26; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836_(x_3, x_2); +x_4 = l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -19030,7 +19124,7 @@ static lean_object* _init_l_Lean_Meta_instReprTransparencyMode___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____boxed), 2, 0); return x_1; } } @@ -19113,7 +19207,7 @@ x_1 = 0; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -19125,7 +19219,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -19133,7 +19227,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005_(x_3, x_4); +x_5 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -19142,7 +19236,7 @@ static lean_object* _init_l_Lean_Meta_instBEqEtaStructMode___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031____boxed), 2, 0); return x_1; } } @@ -19154,7 +19248,7 @@ x_1 = l_Lean_Meta_instBEqEtaStructMode___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__1() { _start: { lean_object* x_1; @@ -19162,33 +19256,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.EtaStructMode.all", 27); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__4() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__3; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__3; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19196,23 +19290,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__6() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__5; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__5; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19220,7 +19314,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__7() { _start: { lean_object* x_1; @@ -19228,33 +19322,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.EtaStructMode.notClasses", 34); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__7; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__7; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__10() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__9; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19262,23 +19356,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__8; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__8; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__12() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__11; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19286,7 +19380,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__13() { _start: { lean_object* x_1; @@ -19294,33 +19388,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.EtaStructMode.none", 28); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__13; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__4; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__16() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__15; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19328,23 +19422,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____closed__5; -x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__14; +x_2 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__14; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__18() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__17; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -19352,7 +19446,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -19364,14 +19458,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__4; +x_5 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__4; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__6; +x_7 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__6; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -19384,14 +19478,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__10; +x_11 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__10; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__12; +x_13 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__12; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -19404,14 +19498,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__16; +x_17 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__16; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__18; +x_19 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__18; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -19419,13 +19513,13 @@ return x_20; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021_(x_3, x_2); +x_4 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -19434,7 +19528,7 @@ static lean_object* _init_l_Lean_Meta_instReprEtaStructMode___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____boxed), 2, 0); return x_1; } } @@ -19536,7 +19630,7 @@ x_1 = l_Lean_Meta_DSimp_instInhabitedConfig___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11235_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11261_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_23; lean_object* x_29; lean_object* x_35; lean_object* x_43; uint8_t x_49; @@ -19689,7 +19783,7 @@ block_42: { uint8_t x_36; lean_dec(x_35); -x_36 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005_(x_6, x_14); +x_36 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031_(x_6, x_14); if (x_36 == 0) { uint8_t x_37; @@ -19814,11 +19908,11 @@ goto block_48; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11235____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11261____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11235_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11261_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -19829,7 +19923,7 @@ static lean_object* _init_l_Lean_Meta_DSimp_instBEqConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11235____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_DSimp_beqConfig____x40_Init_Meta___hyg_11261____boxed), 2, 0); return x_1; } } @@ -19841,7 +19935,7 @@ x_1 = l_Lean_Meta_DSimp_instBEqConfig___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__1() { _start: { lean_object* x_1; @@ -19849,33 +19943,33 @@ x_1 = lean_mk_string_from_bytes("zeta", 4); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____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_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__3; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__3; x_2 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19883,7 +19977,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -19892,7 +19986,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__6() { _start: { lean_object* x_1; @@ -19900,17 +19994,17 @@ x_1 = lean_mk_string_from_bytes("beta", 4); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__6; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__8() { _start: { lean_object* x_1; @@ -19918,17 +20012,17 @@ x_1 = lean_mk_string_from_bytes("eta", 3); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__8; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__8; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__10() { _start: { lean_object* x_1; @@ -19936,17 +20030,17 @@ x_1 = lean_mk_string_from_bytes("etaStruct", 9); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__11() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__10; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__10; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -19955,7 +20049,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__13() { _start: { lean_object* x_1; @@ -19963,17 +20057,17 @@ x_1 = lean_mk_string_from_bytes("iota", 4); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__14() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__13; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__13; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__15() { _start: { lean_object* x_1; @@ -19981,17 +20075,17 @@ x_1 = lean_mk_string_from_bytes("proj", 4); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__15; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__15; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__17() { _start: { lean_object* x_1; @@ -19999,17 +20093,17 @@ x_1 = lean_mk_string_from_bytes("decide", 6); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__18() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__17; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__17; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__19() { _start: { lean_object* x_1; lean_object* x_2; @@ -20018,7 +20112,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20() { _start: { lean_object* x_1; @@ -20026,17 +20120,17 @@ x_1 = lean_mk_string_from_bytes("autoUnfold", 10); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__21() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22() { _start: { lean_object* x_1; lean_object* x_2; @@ -20045,7 +20139,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23() { _start: { lean_object* x_1; lean_object* x_2; @@ -20055,23 +20149,23 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__24() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22; -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__25() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__25() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__24; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__24; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -20079,7 +20173,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26() { _start: { lean_object* x_1; lean_object* x_2; @@ -20089,23 +20183,23 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__27() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__27() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22; -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__28() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__28() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__27; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__27; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -20113,7 +20207,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448_(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; uint8_t 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; uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; @@ -20122,8 +20216,8 @@ x_4 = lean_ctor_get_uint8(x_1, 1); x_5 = lean_ctor_get_uint8(x_1, 2); x_6 = lean_ctor_get_uint8(x_1, 3); x_7 = lean_unsigned_to_nat(0u); -x_8 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021_(x_6, x_7); -x_9 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__12; +x_8 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047_(x_6, x_7); +x_9 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__12; x_10 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); @@ -20138,28 +20232,28 @@ x_16 = lean_ctor_get_uint8(x_1, 7); if (x_3 == 0) { lean_object* x_118; -x_118 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_118 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_17 = x_118; goto block_117; } else { lean_object* x_119; -x_119 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_119 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_17 = x_119; goto block_117; } block_117: { lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_18 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__5; +x_18 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__5; x_19 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_17); x_20 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_20, 0, x_19); lean_ctor_set_uint8(x_20, sizeof(void*)*1, x_11); -x_21 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__4; +x_21 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__4; x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); @@ -20171,7 +20265,7 @@ x_25 = lean_box(1); x_26 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_26, 0, x_24); lean_ctor_set(x_26, 1, x_25); -x_27 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__7; +x_27 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__7; x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_26); lean_ctor_set(x_28, 1, x_27); @@ -20182,14 +20276,14 @@ lean_ctor_set(x_30, 1, x_29); if (x_4 == 0) { lean_object* x_115; -x_115 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_115 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_31 = x_115; goto block_114; } else { lean_object* x_116; -x_116 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_116 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_31 = x_116; goto block_114; } @@ -20211,7 +20305,7 @@ lean_ctor_set(x_35, 1, x_23); x_36 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_36, 0, x_35); lean_ctor_set(x_36, 1, x_25); -x_37 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__9; +x_37 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__9; x_38 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_38, 0, x_36); lean_ctor_set(x_38, 1, x_37); @@ -20221,14 +20315,14 @@ lean_ctor_set(x_39, 1, x_29); if (x_5 == 0) { lean_object* x_112; -x_112 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_112 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_40 = x_112; goto block_111; } else { lean_object* x_113; -x_113 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_113 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_40 = x_113; goto block_111; } @@ -20251,7 +20345,7 @@ lean_ctor_set(x_45, 1, x_23); x_46 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_46, 0, x_45); lean_ctor_set(x_46, 1, x_25); -x_47 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__11; +x_47 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__11; x_48 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_48, 0, x_46); lean_ctor_set(x_48, 1, x_47); @@ -20267,7 +20361,7 @@ lean_ctor_set(x_51, 1, x_23); x_52 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_25); -x_53 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__14; +x_53 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__14; x_54 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_54, 0, x_52); lean_ctor_set(x_54, 1, x_53); @@ -20277,14 +20371,14 @@ lean_ctor_set(x_55, 1, x_29); if (x_13 == 0) { lean_object* x_109; -x_109 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_109 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_56 = x_109; goto block_108; } else { lean_object* x_110; -x_110 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_110 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_56 = x_110; goto block_108; } @@ -20306,7 +20400,7 @@ lean_ctor_set(x_60, 1, x_23); x_61 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_25); -x_62 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__16; +x_62 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__16; x_63 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_63, 0, x_61); lean_ctor_set(x_63, 1, x_62); @@ -20316,14 +20410,14 @@ lean_ctor_set(x_64, 1, x_29); if (x_14 == 0) { lean_object* x_106; -x_106 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_106 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_65 = x_106; goto block_105; } else { lean_object* x_107; -x_107 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_107 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_65 = x_107; goto block_105; } @@ -20345,7 +20439,7 @@ lean_ctor_set(x_69, 1, x_23); x_70 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_70, 0, x_69); lean_ctor_set(x_70, 1, x_25); -x_71 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__18; +x_71 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__18; x_72 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_72, 0, x_70); lean_ctor_set(x_72, 1, x_71); @@ -20355,21 +20449,21 @@ lean_ctor_set(x_73, 1, x_29); if (x_15 == 0) { lean_object* x_103; -x_103 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_103 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_74 = x_103; goto block_102; } else { lean_object* x_104; -x_104 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_104 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_74 = x_104; goto block_102; } block_102: { lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_75 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__19; +x_75 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__19; x_76 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_76, 0, x_75); lean_ctor_set(x_76, 1, x_74); @@ -20385,7 +20479,7 @@ lean_ctor_set(x_79, 1, x_23); x_80 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_80, 0, x_79); lean_ctor_set(x_80, 1, x_25); -x_81 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__21; +x_81 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__21; x_82 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_82, 0, x_80); lean_ctor_set(x_82, 1, x_81); @@ -20395,7 +20489,7 @@ lean_ctor_set(x_83, 1, x_29); if (x_16 == 0) { lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_84 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__25; +x_84 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__25; x_85 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); @@ -20419,7 +20513,7 @@ 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_object* x_99; lean_object* x_100; lean_object* x_101; -x_93 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__28; +x_93 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__28; x_94 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_94, 0, x_83); lean_ctor_set(x_94, 1, x_93); @@ -20448,11 +20542,11 @@ return x_101; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; @@ -20462,7 +20556,7 @@ static lean_object* _init_l_Lean_Meta_DSimp_instReprConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____boxed), 2, 0); return x_1; } } @@ -20636,7 +20730,7 @@ x_1 = l_Lean_Meta_Simp_instInhabitedConfig___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11765_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11791_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; uint8_t x_6; uint8_t x_7; uint8_t x_8; uint8_t x_9; uint8_t x_10; uint8_t x_11; uint8_t x_12; uint8_t x_13; uint8_t x_14; uint8_t x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; uint8_t x_22; uint8_t x_23; uint8_t x_24; uint8_t x_25; uint8_t x_26; uint8_t x_27; uint8_t x_28; uint8_t x_29; uint8_t x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; lean_object* x_37; lean_object* x_43; lean_object* x_49; lean_object* x_55; lean_object* x_61; lean_object* x_69; lean_object* x_75; lean_object* x_81; lean_object* x_87; lean_object* x_93; uint8_t x_99; @@ -20894,7 +20988,7 @@ block_68: { uint8_t x_62; lean_dec(x_61); -x_62 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11005_(x_11, x_26); +x_62 = l___private_Init_Meta_0__Lean_Meta_beqEtaStructMode____x40_Init_Meta___hyg_11031_(x_11, x_26); if (x_62 == 0) { uint8_t x_63; @@ -21119,11 +21213,11 @@ goto block_92; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11765____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11791____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11765_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11791_(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); @@ -21134,7 +21228,7 @@ static lean_object* _init_l_Lean_Meta_Simp_instBEqConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11765____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_beqConfig____x40_Init_Meta___hyg_11791____boxed), 2, 0); return x_1; } } @@ -21146,7 +21240,7 @@ x_1 = l_Lean_Meta_Simp_instBEqConfig___closed__1; return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__1() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__1() { _start: { lean_object* x_1; @@ -21154,33 +21248,33 @@ x_1 = lean_mk_string_from_bytes("maxSteps", 8); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__2() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__1; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__3() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____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_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__2; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__2; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__4() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__3; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__3; x_2 = l___private_Init_Meta_0__Lean_Syntax_reprTSyntax____x40_Init_Meta___hyg_2359____rarg___closed__5; x_3 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21188,7 +21282,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__5() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -21197,7 +21291,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__6() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__6() { _start: { lean_object* x_1; @@ -21205,17 +21299,17 @@ x_1 = lean_mk_string_from_bytes("maxDischargeDepth", 17); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__7() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__6; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__6; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__8() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__8() { _start: { lean_object* x_1; lean_object* x_2; @@ -21224,7 +21318,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__9() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__9() { _start: { lean_object* x_1; @@ -21232,17 +21326,17 @@ x_1 = lean_mk_string_from_bytes("contextual", 10); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__10() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__10() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__9; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__9; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__11() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__11() { _start: { lean_object* x_1; @@ -21250,17 +21344,17 @@ x_1 = lean_mk_string_from_bytes("memoize", 7); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__12() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__12() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__11; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__11; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__13() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -21269,7 +21363,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__14() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__14() { _start: { lean_object* x_1; @@ -21277,17 +21371,17 @@ x_1 = lean_mk_string_from_bytes("singlePass", 10); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__15() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__14; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__14; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16() { _start: { lean_object* x_1; @@ -21295,17 +21389,17 @@ x_1 = lean_mk_string_from_bytes("arith", 5); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__17() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__17() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18() { _start: { lean_object* x_1; lean_object* x_2; @@ -21314,7 +21408,7 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19() { _start: { lean_object* x_1; @@ -21322,33 +21416,33 @@ x_1 = lean_mk_string_from_bytes("dsimp", 5); return x_1; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__20() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__20() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__21() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__21() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18; -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__22() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__22() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__21; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__21; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -21356,23 +21450,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__23() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__23() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18; -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__24() { +static lean_object* _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__24() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__23; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__23; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -21380,7 +21474,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; uint8_t x_33; uint8_t x_34; uint8_t x_35; uint8_t x_36; uint8_t x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; uint8_t x_45; uint8_t x_46; uint8_t x_47; uint8_t x_48; uint8_t x_49; lean_object* x_50; @@ -21389,7 +21483,7 @@ lean_inc(x_3); x_4 = l_Nat_repr(x_3); x_5 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__5; +x_6 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__5; x_7 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -21397,7 +21491,7 @@ x_8 = 0; x_9 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_9, 0, x_7); lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_8); -x_10 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__4; +x_10 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__4; x_11 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -21409,7 +21503,7 @@ x_14 = lean_box(1); x_15 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_15, 0, x_13); lean_ctor_set(x_15, 1, x_14); -x_16 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__7; +x_16 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__7; x_17 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); @@ -21422,7 +21516,7 @@ lean_inc(x_20); x_21 = l_Nat_repr(x_20); x_22 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_22, 0, x_21); -x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__8; +x_23 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__8; x_24 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_22); @@ -21438,7 +21532,7 @@ lean_ctor_set(x_27, 1, x_12); x_28 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_14); -x_29 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__10; +x_29 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__10; x_30 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_30, 0, x_28); lean_ctor_set(x_30, 1, x_29); @@ -21453,8 +21547,8 @@ x_36 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 4); x_37 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 5); x_38 = lean_ctor_get_uint8(x_1, sizeof(void*)*2 + 6); x_39 = lean_unsigned_to_nat(0u); -x_40 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021_(x_38, x_39); -x_41 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__12; +x_40 = l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047_(x_38, x_39); +x_41 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__12; x_42 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); @@ -21471,21 +21565,21 @@ lean_dec(x_1); if (x_32 == 0) { lean_object* x_210; -x_210 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_210 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_50 = x_210; goto block_209; } else { lean_object* x_211; -x_211 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_211 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_50 = x_211; goto block_209; } block_209: { lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_51 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22; +x_51 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22; x_52 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); @@ -21501,7 +21595,7 @@ lean_ctor_set(x_55, 1, x_12); x_56 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_56, 0, x_55); lean_ctor_set(x_56, 1, x_14); -x_57 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__12; +x_57 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__12; x_58 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_58, 0, x_56); lean_ctor_set(x_58, 1, x_57); @@ -21511,21 +21605,21 @@ lean_ctor_set(x_59, 1, x_18); if (x_33 == 0) { lean_object* x_207; -x_207 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_207 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_60 = x_207; goto block_206; } else { lean_object* x_208; -x_208 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_208 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_60 = x_208; goto block_206; } block_206: { lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_61 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__13; +x_61 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__13; x_62 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_62, 0, x_61); lean_ctor_set(x_62, 1, x_60); @@ -21541,7 +21635,7 @@ lean_ctor_set(x_65, 1, x_12); x_66 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_66, 0, x_65); lean_ctor_set(x_66, 1, x_14); -x_67 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__15; +x_67 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__15; x_68 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_68, 0, x_66); lean_ctor_set(x_68, 1, x_67); @@ -21551,14 +21645,14 @@ lean_ctor_set(x_69, 1, x_18); if (x_34 == 0) { lean_object* x_204; -x_204 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_204 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_70 = x_204; goto block_203; } else { lean_object* x_205; -x_205 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_205 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_70 = x_205; goto block_203; } @@ -21580,7 +21674,7 @@ lean_ctor_set(x_74, 1, x_12); x_75 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_75, 0, x_74); lean_ctor_set(x_75, 1, x_14); -x_76 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__2; +x_76 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__2; x_77 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_77, 0, x_75); lean_ctor_set(x_77, 1, x_76); @@ -21590,21 +21684,21 @@ lean_ctor_set(x_78, 1, x_18); if (x_35 == 0) { lean_object* x_201; -x_201 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_201 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_79 = x_201; goto block_200; } else { lean_object* x_202; -x_202 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_202 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_79 = x_202; goto block_200; } block_200: { 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_80 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__5; +x_80 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__5; x_81 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_81, 0, x_80); lean_ctor_set(x_81, 1, x_79); @@ -21620,7 +21714,7 @@ lean_ctor_set(x_84, 1, x_12); x_85 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_85, 0, x_84); lean_ctor_set(x_85, 1, x_14); -x_86 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__7; +x_86 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__7; x_87 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_87, 0, x_85); lean_ctor_set(x_87, 1, x_86); @@ -21630,14 +21724,14 @@ lean_ctor_set(x_88, 1, x_18); if (x_36 == 0) { lean_object* x_198; -x_198 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_198 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_89 = x_198; goto block_197; } else { lean_object* x_199; -x_199 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_199 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_89 = x_199; goto block_197; } @@ -21659,7 +21753,7 @@ lean_ctor_set(x_93, 1, x_12); x_94 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_94, 0, x_93); lean_ctor_set(x_94, 1, x_14); -x_95 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__9; +x_95 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__9; x_96 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); @@ -21669,14 +21763,14 @@ lean_ctor_set(x_97, 1, x_18); if (x_37 == 0) { lean_object* x_195; -x_195 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_195 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_98 = x_195; goto block_194; } else { lean_object* x_196; -x_196 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_196 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_98 = x_196; goto block_194; } @@ -21699,7 +21793,7 @@ lean_ctor_set(x_103, 1, x_12); x_104 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_104, 0, x_103); lean_ctor_set(x_104, 1, x_14); -x_105 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__11; +x_105 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__11; x_106 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_106, 0, x_104); lean_ctor_set(x_106, 1, x_105); @@ -21715,7 +21809,7 @@ lean_ctor_set(x_109, 1, x_12); x_110 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_110, 0, x_109); lean_ctor_set(x_110, 1, x_14); -x_111 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__14; +x_111 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__14; x_112 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_112, 0, x_110); lean_ctor_set(x_112, 1, x_111); @@ -21725,14 +21819,14 @@ lean_ctor_set(x_113, 1, x_18); if (x_44 == 0) { lean_object* x_192; -x_192 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_192 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_114 = x_192; goto block_191; } else { lean_object* x_193; -x_193 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_193 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_114 = x_193; goto block_191; } @@ -21754,7 +21848,7 @@ lean_ctor_set(x_118, 1, x_12); x_119 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_119, 0, x_118); lean_ctor_set(x_119, 1, x_14); -x_120 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__16; +x_120 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__16; x_121 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_121, 0, x_119); lean_ctor_set(x_121, 1, x_120); @@ -21764,14 +21858,14 @@ lean_ctor_set(x_122, 1, x_18); if (x_45 == 0) { lean_object* x_189; -x_189 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_189 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_123 = x_189; goto block_188; } else { lean_object* x_190; -x_190 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_190 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_123 = x_190; goto block_188; } @@ -21793,7 +21887,7 @@ lean_ctor_set(x_127, 1, x_12); x_128 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_128, 0, x_127); lean_ctor_set(x_128, 1, x_14); -x_129 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__18; +x_129 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__18; x_130 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_130, 0, x_128); lean_ctor_set(x_130, 1, x_129); @@ -21803,21 +21897,21 @@ lean_ctor_set(x_131, 1, x_18); if (x_46 == 0) { lean_object* x_186; -x_186 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_186 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_132 = x_186; goto block_185; } else { lean_object* x_187; -x_187 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_187 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_132 = x_187; goto block_185; } block_185: { lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_133 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__19; +x_133 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__19; x_134 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_134, 0, x_133); lean_ctor_set(x_134, 1, x_132); @@ -21833,7 +21927,7 @@ lean_ctor_set(x_137, 1, x_12); x_138 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_138, 0, x_137); lean_ctor_set(x_138, 1, x_14); -x_139 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__17; +x_139 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__17; x_140 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_140, 0, x_138); lean_ctor_set(x_140, 1, x_139); @@ -21843,21 +21937,21 @@ lean_ctor_set(x_141, 1, x_18); if (x_47 == 0) { lean_object* x_183; -x_183 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_183 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_142 = x_183; goto block_182; } else { lean_object* x_184; -x_184 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_184 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_142 = x_184; goto block_182; } block_182: { 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_143 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18; +x_143 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18; x_144 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_144, 0, x_143); lean_ctor_set(x_144, 1, x_142); @@ -21873,7 +21967,7 @@ lean_ctor_set(x_147, 1, x_12); x_148 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_148, 0, x_147); lean_ctor_set(x_148, 1, x_14); -x_149 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__21; +x_149 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__21; x_150 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_150, 0, x_148); lean_ctor_set(x_150, 1, x_149); @@ -21883,14 +21977,14 @@ lean_ctor_set(x_151, 1, x_18); if (x_48 == 0) { lean_object* x_180; -x_180 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23; +x_180 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23; x_152 = x_180; goto block_179; } else { lean_object* x_181; -x_181 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26; +x_181 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26; x_152 = x_181; goto block_179; } @@ -21912,7 +22006,7 @@ lean_ctor_set(x_156, 1, x_12); x_157 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_157, 0, x_156); lean_ctor_set(x_157, 1, x_14); -x_158 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__20; +x_158 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__20; x_159 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_159, 0, x_157); lean_ctor_set(x_159, 1, x_158); @@ -21922,7 +22016,7 @@ lean_ctor_set(x_160, 1, x_18); if (x_49 == 0) { lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -x_161 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__22; +x_161 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__22; x_162 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_162, 0, x_160); lean_ctor_set(x_162, 1, x_161); @@ -21946,7 +22040,7 @@ return x_169; else { lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_170 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__24; +x_170 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__24; x_171 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_171, 0, x_160); lean_ctor_set(x_171, 1, x_170); @@ -21980,11 +22074,11 @@ return x_178; } } } -LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078_(x_1, x_2); +x_3 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104_(x_1, x_2); lean_dec(x_2); return x_3; } @@ -21993,7 +22087,7 @@ static lean_object* _init_l_Lean_Meta_Simp_instReprConfig___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____boxed), 2, 0); return x_1; } } @@ -23090,7 +23184,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_dsimpKind___closed__3() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; x_2 = 0; x_3 = lean_alloc_ctor(6, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -24182,26 +24276,34 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("r", 1); +x_1 = lean_mk_string_from_bytes("namedArgument", 13); return x_1; } } static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__81() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__80; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("canonical", 9); +return x_1; } } static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__82() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__81; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__83() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__80; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__81; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__81; +x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__82; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -24209,29 +24311,21 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__83() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__80; +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__81; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("mkNullNode", 10); -return x_1; -} -} static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__85() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; +x_1 = l_Lean_instQuoteBoolStrAnonymous___closed__6; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -24240,7 +24334,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; +x_1 = l_Lean_instQuoteBoolStrAnonymous___closed__6; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__85; x_4 = lean_alloc_ctor(0, 3, 0); @@ -24255,7 +24349,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; +x_2 = l_Lean_instQuoteBoolStrAnonymous___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -24263,9 +24357,13 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__88() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("term#[_,]", 9); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_instQuoteBoolStrAnonymous___closed__7; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89() { @@ -24274,7 +24372,9 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__88; -x_3 = l_Lean_Name_str___override(x_1, x_2); +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; } } @@ -24282,19 +24382,119 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("doReturn", 8); +x_1 = lean_mk_string_from_bytes("r", 1); return x_1; } } static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__91() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__90; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__90; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__91; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__90; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("mkNullNode", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__95() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__96() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__95; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__98() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term#[_,]", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__99() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__98; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__100() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("doReturn", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__101() { +_start: +{ lean_object* x_1; x_1 = lean_mk_string_from_bytes("return", 6); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__102() { _start: { lean_object* x_1; lean_object* x_2; @@ -24322,7 +24522,7 @@ x_14 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRul x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; x_16 = lean_ctor_get(x_14, 0); x_17 = lean_ctor_get(x_8, 2); lean_inc(x_17); @@ -24782,6 +24982,7 @@ lean_ctor_set(x_220, 0, x_16); lean_ctor_set(x_220, 1, x_219); lean_inc(x_205); x_221 = lean_array_push(x_160, x_205); +lean_inc(x_221); x_222 = lean_array_push(x_221, x_206); lean_inc(x_112); x_223 = lean_array_push(x_222, x_112); @@ -25226,1557 +25427,1634 @@ x_392 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_392, 0, x_16); lean_ctor_set(x_392, 1, x_166); lean_ctor_set(x_392, 2, x_391); -x_393 = lean_array_push(x_46, x_392); -x_394 = lean_array_push(x_393, x_12); +x_393 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__80; +lean_inc(x_29); +x_394 = l_Lean_Name_str___override(x_29, x_393); +x_395 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; +lean_inc(x_17); +lean_inc(x_18); +x_396 = l_Lean_addMacroScope(x_18, x_395, x_17); +x_397 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__83; lean_inc(x_16); -x_395 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_395, 0, x_16); -lean_ctor_set(x_395, 1, x_25); -lean_ctor_set(x_395, 2, x_394); -x_396 = lean_array_push(x_46, x_389); -x_397 = lean_array_push(x_396, x_395); -lean_inc(x_240); -lean_inc(x_16); -x_398 = lean_alloc_ctor(1, 3, 0); +x_398 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_398, 0, x_16); -lean_ctor_set(x_398, 1, x_240); -lean_ctor_set(x_398, 2, x_397); -x_399 = lean_array_push(x_46, x_398); -lean_inc(x_27); -x_400 = lean_array_push(x_399, x_27); +lean_ctor_set(x_398, 1, x_397); +lean_ctor_set(x_398, 2, x_396); +lean_ctor_set(x_398, 3, x_79); +x_399 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; +lean_inc(x_17); +lean_inc(x_18); +x_400 = l_Lean_addMacroScope(x_18, x_399, x_17); +x_401 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_402 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_16); -x_401 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_401, 0, x_16); -lean_ctor_set(x_401, 1, x_25); -lean_ctor_set(x_401, 2, x_400); -x_402 = lean_array_push(x_57, x_205); -lean_inc(x_402); -x_403 = lean_array_push(x_402, x_401); +x_403 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_403, 0, x_16); +lean_ctor_set(x_403, 1, x_401); +lean_ctor_set(x_403, 2, x_400); +lean_ctor_set(x_403, 3, x_402); +x_404 = lean_array_push(x_221, x_398); +lean_inc(x_112); +x_405 = lean_array_push(x_404, x_112); +x_406 = lean_array_push(x_405, x_403); lean_inc(x_220); -x_404 = lean_array_push(x_403, x_220); -lean_inc(x_379); -lean_inc(x_16); -x_405 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_405, 0, x_16); -lean_ctor_set(x_405, 1, x_379); -lean_ctor_set(x_405, 2, x_404); -x_406 = lean_array_push(x_46, x_171); -x_407 = lean_array_push(x_406, x_405); +x_407 = lean_array_push(x_406, x_220); lean_inc(x_16); x_408 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_408, 0, x_16); -lean_ctor_set(x_408, 1, x_25); +lean_ctor_set(x_408, 1, x_394); lean_ctor_set(x_408, 2, x_407); -x_409 = lean_array_push(x_46, x_377); -lean_inc(x_409); -x_410 = lean_array_push(x_409, x_408); +x_409 = lean_array_push(x_57, x_392); +x_410 = lean_array_push(x_409, x_12); +x_411 = lean_array_push(x_410, x_408); +lean_inc(x_16); +x_412 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_412, 0, x_16); +lean_ctor_set(x_412, 1, x_25); +lean_ctor_set(x_412, 2, x_411); +x_413 = lean_array_push(x_46, x_389); +x_414 = lean_array_push(x_413, x_412); lean_inc(x_240); lean_inc(x_16); -x_411 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_411, 0, x_16); -lean_ctor_set(x_411, 1, x_240); -lean_ctor_set(x_411, 2, x_410); -x_412 = lean_array_push(x_364, x_411); -lean_inc(x_352); -lean_inc(x_16); -x_413 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_413, 0, x_16); -lean_ctor_set(x_413, 1, x_352); -lean_ctor_set(x_413, 2, x_412); -x_414 = lean_array_push(x_38, x_413); -lean_inc(x_350); -lean_inc(x_16); x_415 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_415, 0, x_16); -lean_ctor_set(x_415, 1, x_350); +lean_ctor_set(x_415, 1, x_240); lean_ctor_set(x_415, 2, x_414); -lean_inc(x_341); -x_416 = lean_array_push(x_341, x_415); -lean_inc(x_348); -lean_inc(x_16); -x_417 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_417, 0, x_16); -lean_ctor_set(x_417, 1, x_348); -lean_ctor_set(x_417, 2, x_416); -x_418 = lean_array_push(x_46, x_417); +x_416 = lean_array_push(x_46, x_415); lean_inc(x_27); -x_419 = lean_array_push(x_418, x_27); -lean_inc(x_132); +x_417 = lean_array_push(x_416, x_27); lean_inc(x_16); -x_420 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_420, 0, x_16); -lean_ctor_set(x_420, 1, x_132); -lean_ctor_set(x_420, 2, x_419); -x_421 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__83; -lean_inc(x_17); -lean_inc(x_18); -x_422 = l_Lean_addMacroScope(x_18, x_421, x_17); -x_423 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__82; +x_418 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_418, 0, x_16); +lean_ctor_set(x_418, 1, x_25); +lean_ctor_set(x_418, 2, x_417); +x_419 = lean_array_push(x_57, x_205); +lean_inc(x_419); +x_420 = lean_array_push(x_419, x_418); +lean_inc(x_220); +x_421 = lean_array_push(x_420, x_220); +lean_inc(x_379); lean_inc(x_16); -x_424 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_424, 0, x_16); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set(x_424, 2, x_422); -lean_ctor_set(x_424, 3, x_79); -x_425 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; -x_426 = l_Lean_addMacroScope(x_18, x_425, x_17); -x_427 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; -x_428 = l_Lean_Name_str___override(x_3, x_427); -lean_inc(x_428); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_428); -lean_ctor_set(x_429, 1, x_79); -x_430 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_430, 0, x_428); -x_431 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_79); -x_432 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_432, 0, x_429); -lean_ctor_set(x_432, 1, x_431); -x_433 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_422 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_422, 0, x_16); +lean_ctor_set(x_422, 1, x_379); +lean_ctor_set(x_422, 2, x_421); +x_423 = lean_array_push(x_46, x_171); +x_424 = lean_array_push(x_423, x_422); lean_inc(x_16); -x_434 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_434, 0, x_16); -lean_ctor_set(x_434, 1, x_433); -lean_ctor_set(x_434, 2, x_426); -lean_ctor_set(x_434, 3, x_432); -x_435 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__10; -lean_inc(x_16); -x_436 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_436, 0, x_16); -lean_ctor_set(x_436, 1, x_435); -x_437 = lean_array_push(x_38, x_142); -lean_inc(x_16); -x_438 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_438, 0, x_16); -lean_ctor_set(x_438, 1, x_25); -lean_ctor_set(x_438, 2, x_437); -x_439 = lean_array_push(x_57, x_436); -x_440 = lean_array_push(x_439, x_438); -x_441 = lean_array_push(x_440, x_56); -x_442 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; -lean_inc(x_16); -x_443 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_443, 0, x_16); -lean_ctor_set(x_443, 1, x_442); -lean_ctor_set(x_443, 2, x_441); -x_444 = lean_array_push(x_38, x_443); -lean_inc(x_16); -x_445 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_445, 0, x_16); -lean_ctor_set(x_445, 1, x_25); -lean_ctor_set(x_445, 2, x_444); -x_446 = lean_array_push(x_46, x_434); -x_447 = lean_array_push(x_446, x_445); +x_425 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_425, 0, x_16); +lean_ctor_set(x_425, 1, x_25); +lean_ctor_set(x_425, 2, x_424); +x_426 = lean_array_push(x_46, x_377); +lean_inc(x_426); +x_427 = lean_array_push(x_426, x_425); lean_inc(x_240); lean_inc(x_16); -x_448 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_448, 0, x_16); -lean_ctor_set(x_448, 1, x_240); -lean_ctor_set(x_448, 2, x_447); -x_449 = lean_array_push(x_46, x_448); -lean_inc(x_27); -x_450 = lean_array_push(x_449, x_27); +x_428 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_428, 0, x_16); +lean_ctor_set(x_428, 1, x_240); +lean_ctor_set(x_428, 2, x_427); +x_429 = lean_array_push(x_364, x_428); +lean_inc(x_352); lean_inc(x_16); -x_451 = lean_alloc_ctor(1, 3, 0); +x_430 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_430, 0, x_16); +lean_ctor_set(x_430, 1, x_352); +lean_ctor_set(x_430, 2, x_429); +x_431 = lean_array_push(x_38, x_430); +lean_inc(x_350); +lean_inc(x_16); +x_432 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_432, 0, x_16); +lean_ctor_set(x_432, 1, x_350); +lean_ctor_set(x_432, 2, x_431); +lean_inc(x_341); +x_433 = lean_array_push(x_341, x_432); +lean_inc(x_348); +lean_inc(x_16); +x_434 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_434, 0, x_16); +lean_ctor_set(x_434, 1, x_348); +lean_ctor_set(x_434, 2, x_433); +x_435 = lean_array_push(x_46, x_434); +lean_inc(x_27); +x_436 = lean_array_push(x_435, x_27); +lean_inc(x_132); +lean_inc(x_16); +x_437 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_437, 0, x_16); +lean_ctor_set(x_437, 1, x_132); +lean_ctor_set(x_437, 2, x_436); +x_438 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93; +lean_inc(x_17); +lean_inc(x_18); +x_439 = l_Lean_addMacroScope(x_18, x_438, x_17); +x_440 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92; +lean_inc(x_16); +x_441 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_441, 0, x_16); +lean_ctor_set(x_441, 1, x_440); +lean_ctor_set(x_441, 2, x_439); +lean_ctor_set(x_441, 3, x_79); +x_442 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97; +x_443 = l_Lean_addMacroScope(x_18, x_442, x_17); +x_444 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94; +x_445 = l_Lean_Name_str___override(x_3, x_444); +lean_inc(x_445); +x_446 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_446, 0, x_445); +lean_ctor_set(x_446, 1, x_79); +x_447 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_447, 0, x_445); +x_448 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_448, 0, x_447); +lean_ctor_set(x_448, 1, x_79); +x_449 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_449, 0, x_446); +lean_ctor_set(x_449, 1, x_448); +x_450 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__96; +lean_inc(x_16); +x_451 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_451, 0, x_16); -lean_ctor_set(x_451, 1, x_25); -lean_ctor_set(x_451, 2, x_450); -x_452 = lean_array_push(x_402, x_451); -x_453 = lean_array_push(x_452, x_220); +lean_ctor_set(x_451, 1, x_450); +lean_ctor_set(x_451, 2, x_443); +lean_ctor_set(x_451, 3, x_449); +x_452 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__10; lean_inc(x_16); -x_454 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_454, 0, x_16); -lean_ctor_set(x_454, 1, x_379); -lean_ctor_set(x_454, 2, x_453); -x_455 = lean_array_push(x_46, x_159); -x_456 = lean_array_push(x_455, x_454); +x_453 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_453, 0, x_16); +lean_ctor_set(x_453, 1, x_452); +x_454 = lean_array_push(x_38, x_142); lean_inc(x_16); -x_457 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_457, 0, x_16); -lean_ctor_set(x_457, 1, x_25); -lean_ctor_set(x_457, 2, x_456); -x_458 = lean_array_push(x_409, x_457); +x_455 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_455, 0, x_16); +lean_ctor_set(x_455, 1, x_25); +lean_ctor_set(x_455, 2, x_454); +x_456 = lean_array_push(x_57, x_453); +x_457 = lean_array_push(x_456, x_455); +x_458 = lean_array_push(x_457, x_56); +x_459 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__99; lean_inc(x_16); -x_459 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_459, 0, x_16); -lean_ctor_set(x_459, 1, x_240); -lean_ctor_set(x_459, 2, x_458); -lean_inc(x_424); -x_460 = lean_array_push(x_160, x_424); -lean_inc(x_27); -x_461 = lean_array_push(x_460, x_27); -lean_inc(x_27); -x_462 = lean_array_push(x_461, x_27); -lean_inc(x_112); -x_463 = lean_array_push(x_462, x_112); -x_464 = lean_array_push(x_463, x_459); +x_460 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_460, 0, x_16); +lean_ctor_set(x_460, 1, x_459); +lean_ctor_set(x_460, 2, x_458); +x_461 = lean_array_push(x_38, x_460); +lean_inc(x_16); +x_462 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_462, 0, x_16); +lean_ctor_set(x_462, 1, x_25); +lean_ctor_set(x_462, 2, x_461); +x_463 = lean_array_push(x_46, x_451); +x_464 = lean_array_push(x_463, x_462); +lean_inc(x_240); lean_inc(x_16); x_465 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_465, 0, x_16); -lean_ctor_set(x_465, 1, x_352); +lean_ctor_set(x_465, 1, x_240); lean_ctor_set(x_465, 2, x_464); -x_466 = lean_array_push(x_38, x_465); -lean_inc(x_16); -x_467 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_467, 0, x_16); -lean_ctor_set(x_467, 1, x_350); -lean_ctor_set(x_467, 2, x_466); -x_468 = lean_array_push(x_341, x_467); -lean_inc(x_16); -x_469 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_469, 0, x_16); -lean_ctor_set(x_469, 1, x_348); -lean_ctor_set(x_469, 2, x_468); -x_470 = lean_array_push(x_46, x_469); +x_466 = lean_array_push(x_46, x_465); lean_inc(x_27); -x_471 = lean_array_push(x_470, x_27); -lean_inc(x_132); +x_467 = lean_array_push(x_466, x_27); lean_inc(x_16); -x_472 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_472, 0, x_16); -lean_ctor_set(x_472, 1, x_132); -lean_ctor_set(x_472, 2, x_471); -x_473 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__90; -x_474 = l_Lean_Name_str___override(x_29, x_473); -x_475 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__91; +x_468 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_468, 0, x_16); +lean_ctor_set(x_468, 1, x_25); +lean_ctor_set(x_468, 2, x_467); +x_469 = lean_array_push(x_419, x_468); +x_470 = lean_array_push(x_469, x_220); lean_inc(x_16); -x_476 = lean_alloc_ctor(2, 2, 0); +x_471 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_471, 0, x_16); +lean_ctor_set(x_471, 1, x_379); +lean_ctor_set(x_471, 2, x_470); +x_472 = lean_array_push(x_46, x_159); +x_473 = lean_array_push(x_472, x_471); +lean_inc(x_16); +x_474 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_474, 0, x_16); +lean_ctor_set(x_474, 1, x_25); +lean_ctor_set(x_474, 2, x_473); +x_475 = lean_array_push(x_426, x_474); +lean_inc(x_16); +x_476 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_476, 0, x_16); -lean_ctor_set(x_476, 1, x_475); -x_477 = lean_array_push(x_38, x_424); -lean_inc(x_16); -x_478 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_478, 0, x_16); -lean_ctor_set(x_478, 1, x_25); -lean_ctor_set(x_478, 2, x_477); -x_479 = lean_array_push(x_46, x_476); -x_480 = lean_array_push(x_479, x_478); -lean_inc(x_16); -x_481 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_481, 0, x_16); -lean_ctor_set(x_481, 1, x_474); -lean_ctor_set(x_481, 2, x_480); -x_482 = lean_array_push(x_46, x_481); +lean_ctor_set(x_476, 1, x_240); +lean_ctor_set(x_476, 2, x_475); +lean_inc(x_441); +x_477 = lean_array_push(x_160, x_441); lean_inc(x_27); -x_483 = lean_array_push(x_482, x_27); +x_478 = lean_array_push(x_477, x_27); +lean_inc(x_27); +x_479 = lean_array_push(x_478, x_27); +lean_inc(x_112); +x_480 = lean_array_push(x_479, x_112); +x_481 = lean_array_push(x_480, x_476); +lean_inc(x_16); +x_482 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_482, 0, x_16); +lean_ctor_set(x_482, 1, x_352); +lean_ctor_set(x_482, 2, x_481); +x_483 = lean_array_push(x_38, x_482); lean_inc(x_16); x_484 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_484, 0, x_16); -lean_ctor_set(x_484, 1, x_132); +lean_ctor_set(x_484, 1, x_350); lean_ctor_set(x_484, 2, x_483); -x_485 = lean_array_push(x_160, x_346); -x_486 = lean_array_push(x_485, x_373); -x_487 = lean_array_push(x_486, x_420); -x_488 = lean_array_push(x_487, x_472); -x_489 = lean_array_push(x_488, x_484); +x_485 = lean_array_push(x_341, x_484); lean_inc(x_16); -x_490 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_490, 0, x_16); -lean_ctor_set(x_490, 1, x_25); -lean_ctor_set(x_490, 2, x_489); -x_491 = lean_array_push(x_38, x_490); +x_486 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_486, 0, x_16); +lean_ctor_set(x_486, 1, x_348); +lean_ctor_set(x_486, 2, x_485); +x_487 = lean_array_push(x_46, x_486); +lean_inc(x_27); +x_488 = lean_array_push(x_487, x_27); +lean_inc(x_132); lean_inc(x_16); -x_492 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_492, 0, x_16); -lean_ctor_set(x_492, 1, x_130); -lean_ctor_set(x_492, 2, x_491); -x_493 = lean_array_push(x_46, x_128); -x_494 = lean_array_push(x_493, x_492); +x_489 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_489, 0, x_16); +lean_ctor_set(x_489, 1, x_132); +lean_ctor_set(x_489, 2, x_488); +x_490 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__100; +x_491 = l_Lean_Name_str___override(x_29, x_490); +x_492 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__101; +lean_inc(x_16); +x_493 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_493, 0, x_16); +lean_ctor_set(x_493, 1, x_492); +x_494 = lean_array_push(x_38, x_441); lean_inc(x_16); x_495 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_495, 0, x_16); -lean_ctor_set(x_495, 1, x_127); +lean_ctor_set(x_495, 1, x_25); lean_ctor_set(x_495, 2, x_494); -x_496 = lean_array_push(x_213, x_123); -lean_inc(x_27); -x_497 = lean_array_push(x_496, x_27); -x_498 = lean_array_push(x_497, x_125); -x_499 = lean_array_push(x_498, x_495); +x_496 = lean_array_push(x_46, x_493); +x_497 = lean_array_push(x_496, x_495); lean_inc(x_16); -x_500 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_500, 0, x_16); -lean_ctor_set(x_500, 1, x_117); -lean_ctor_set(x_500, 2, x_499); -x_501 = lean_array_push(x_46, x_115); -x_502 = lean_array_push(x_501, x_500); -lean_inc(x_16); -x_503 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_503, 0, x_16); -lean_ctor_set(x_503, 1, x_114); -lean_ctor_set(x_503, 2, x_502); -x_504 = lean_array_push(x_57, x_112); -x_505 = lean_array_push(x_504, x_503); +x_498 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_498, 0, x_16); +lean_ctor_set(x_498, 1, x_491); +lean_ctor_set(x_498, 2, x_497); +x_499 = lean_array_push(x_46, x_498); lean_inc(x_27); -x_506 = lean_array_push(x_505, x_27); +x_500 = lean_array_push(x_499, x_27); +lean_inc(x_16); +x_501 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_501, 0, x_16); +lean_ctor_set(x_501, 1, x_132); +lean_ctor_set(x_501, 2, x_500); +x_502 = lean_array_push(x_160, x_346); +x_503 = lean_array_push(x_502, x_373); +x_504 = lean_array_push(x_503, x_437); +x_505 = lean_array_push(x_504, x_489); +x_506 = lean_array_push(x_505, x_501); lean_inc(x_16); x_507 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_507, 0, x_16); -lean_ctor_set(x_507, 1, x_110); +lean_ctor_set(x_507, 1, x_25); lean_ctor_set(x_507, 2, x_506); -x_508 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92; -x_509 = lean_array_push(x_508, x_74); -x_510 = lean_array_push(x_509, x_84); -x_511 = lean_array_push(x_510, x_108); -x_512 = lean_array_push(x_511, x_507); -lean_inc(x_27); -x_513 = lean_array_push(x_512, x_27); +x_508 = lean_array_push(x_38, x_507); +lean_inc(x_16); +x_509 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_509, 0, x_16); +lean_ctor_set(x_509, 1, x_130); +lean_ctor_set(x_509, 2, x_508); +x_510 = lean_array_push(x_46, x_128); +x_511 = lean_array_push(x_510, x_509); +lean_inc(x_16); +x_512 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_512, 0, x_16); +lean_ctor_set(x_512, 1, x_127); +lean_ctor_set(x_512, 2, x_511); +x_513 = lean_array_push(x_213, x_123); lean_inc(x_27); x_514 = lean_array_push(x_513, x_27); -x_515 = lean_array_push(x_514, x_27); +x_515 = lean_array_push(x_514, x_125); +x_516 = lean_array_push(x_515, x_512); lean_inc(x_16); -x_516 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_516, 0, x_16); -lean_ctor_set(x_516, 1, x_73); -lean_ctor_set(x_516, 2, x_515); -x_517 = lean_array_push(x_46, x_71); -x_518 = lean_array_push(x_517, x_516); +x_517 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_517, 0, x_16); +lean_ctor_set(x_517, 1, x_117); +lean_ctor_set(x_517, 2, x_516); +x_518 = lean_array_push(x_46, x_115); +x_519 = lean_array_push(x_518, x_517); lean_inc(x_16); -x_519 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_519, 0, x_16); -lean_ctor_set(x_519, 1, x_22); -lean_ctor_set(x_519, 2, x_518); -x_520 = lean_array_push(x_46, x_13); -x_521 = lean_array_push(x_520, x_519); -x_522 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_522, 0, x_16); -lean_ctor_set(x_522, 1, x_25); -lean_ctor_set(x_522, 2, x_521); -lean_ctor_set(x_14, 0, x_522); +x_520 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_520, 0, x_16); +lean_ctor_set(x_520, 1, x_114); +lean_ctor_set(x_520, 2, x_519); +x_521 = lean_array_push(x_57, x_112); +x_522 = lean_array_push(x_521, x_520); +lean_inc(x_27); +x_523 = lean_array_push(x_522, x_27); +lean_inc(x_16); +x_524 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_524, 0, x_16); +lean_ctor_set(x_524, 1, x_110); +lean_ctor_set(x_524, 2, x_523); +x_525 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__102; +x_526 = lean_array_push(x_525, x_74); +x_527 = lean_array_push(x_526, x_84); +x_528 = lean_array_push(x_527, x_108); +x_529 = lean_array_push(x_528, x_524); +lean_inc(x_27); +x_530 = lean_array_push(x_529, x_27); +lean_inc(x_27); +x_531 = lean_array_push(x_530, x_27); +x_532 = lean_array_push(x_531, x_27); +lean_inc(x_16); +x_533 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_533, 0, x_16); +lean_ctor_set(x_533, 1, x_73); +lean_ctor_set(x_533, 2, x_532); +x_534 = lean_array_push(x_46, x_71); +x_535 = lean_array_push(x_534, x_533); +lean_inc(x_16); +x_536 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_536, 0, x_16); +lean_ctor_set(x_536, 1, x_22); +lean_ctor_set(x_536, 2, x_535); +x_537 = lean_array_push(x_46, x_13); +x_538 = lean_array_push(x_537, x_536); +x_539 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_539, 0, x_16); +lean_ctor_set(x_539, 1, x_25); +lean_ctor_set(x_539, 2, x_538); +lean_ctor_set(x_14, 0, x_539); return x_14; } else { -lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; -x_523 = lean_ctor_get(x_14, 0); -x_524 = lean_ctor_get(x_14, 1); -lean_inc(x_524); -lean_inc(x_523); +lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; +x_540 = lean_ctor_get(x_14, 0); +x_541 = lean_ctor_get(x_14, 1); +lean_inc(x_541); +lean_inc(x_540); lean_dec(x_14); -x_525 = lean_ctor_get(x_8, 2); -lean_inc(x_525); -x_526 = lean_ctor_get(x_8, 1); -lean_inc(x_526); +x_542 = lean_ctor_get(x_8, 2); +lean_inc(x_542); +x_543 = lean_ctor_get(x_8, 1); +lean_inc(x_543); lean_dec(x_8); -x_527 = l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__1; +x_544 = l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__1; lean_inc(x_1); -x_528 = l_Lean_Name_str___override(x_1, x_527); -x_529 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__1; -lean_inc(x_528); -x_530 = l_Lean_Name_str___override(x_528, x_529); -x_531 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__2; -lean_inc(x_528); -x_532 = l_Lean_Name_str___override(x_528, x_531); -x_533 = l_Lean_mkNullNode___closed__2; -x_534 = l_Lean_mkSepArray___closed__1; -lean_inc(x_523); -x_535 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_535, 0, x_523); -lean_ctor_set(x_535, 1, x_533); -lean_ctor_set(x_535, 2, x_534); -x_536 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__5; +x_545 = l_Lean_Name_str___override(x_1, x_544); +x_546 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__1; +lean_inc(x_545); +x_547 = l_Lean_Name_str___override(x_545, x_546); +x_548 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__2; +lean_inc(x_545); +x_549 = l_Lean_Name_str___override(x_545, x_548); +x_550 = l_Lean_mkNullNode___closed__2; +x_551 = l_Lean_mkSepArray___closed__1; +lean_inc(x_540); +x_552 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_552, 0, x_540); +lean_ctor_set(x_552, 1, x_550); +lean_ctor_set(x_552, 2, x_551); +x_553 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__5; lean_inc(x_1); -x_537 = l_Lean_Name_str___override(x_1, x_536); -x_538 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__3; -lean_inc(x_537); -x_539 = l_Lean_Name_str___override(x_537, x_538); -x_540 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__4; -lean_inc(x_523); -x_541 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_541, 0, x_523); -lean_ctor_set(x_541, 1, x_540); -x_542 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__5; -lean_inc(x_537); -x_543 = l_Lean_Name_str___override(x_537, x_542); -x_544 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__6; -lean_inc(x_537); -x_545 = l_Lean_Name_str___override(x_537, x_544); -x_546 = l_Lean_mkOptionalNode___closed__2; -lean_inc(x_535); -x_547 = lean_array_push(x_546, x_535); -lean_inc(x_547); -lean_inc(x_523); -x_548 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_548, 0, x_523); -lean_ctor_set(x_548, 1, x_545); -lean_ctor_set(x_548, 2, x_547); -x_549 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__7; -x_550 = l_Lean_Name_str___override(x_1, x_549); -x_551 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__8; -x_552 = l_Lean_Name_str___override(x_550, x_551); -lean_inc(x_523); -x_553 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_553, 0, x_523); -lean_ctor_set(x_553, 1, x_551); -x_554 = l_Lean_Syntax_mkApp___closed__3; -x_555 = lean_array_push(x_554, x_553); -x_556 = lean_array_push(x_555, x_2); -lean_inc(x_523); -x_557 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_557, 0, x_523); -lean_ctor_set(x_557, 1, x_552); -lean_ctor_set(x_557, 2, x_556); -x_558 = lean_array_push(x_554, x_548); -x_559 = lean_array_push(x_558, x_557); -lean_inc(x_523); -x_560 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_560, 0, x_523); -lean_ctor_set(x_560, 1, x_543); -lean_ctor_set(x_560, 2, x_559); -x_561 = lean_array_push(x_546, x_560); -lean_inc(x_523); -x_562 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_562, 0, x_523); -lean_ctor_set(x_562, 1, x_533); -lean_ctor_set(x_562, 2, x_561); -x_563 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__10; -lean_inc(x_523); -x_564 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_564, 0, x_523); -lean_ctor_set(x_564, 1, x_563); -x_565 = l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__4; -x_566 = lean_array_push(x_565, x_541); -x_567 = lean_array_push(x_566, x_562); +x_554 = l_Lean_Name_str___override(x_1, x_553); +x_555 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__3; +lean_inc(x_554); +x_556 = l_Lean_Name_str___override(x_554, x_555); +x_557 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__4; +lean_inc(x_540); +x_558 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_558, 0, x_540); +lean_ctor_set(x_558, 1, x_557); +x_559 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__5; +lean_inc(x_554); +x_560 = l_Lean_Name_str___override(x_554, x_559); +x_561 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__6; +lean_inc(x_554); +x_562 = l_Lean_Name_str___override(x_554, x_561); +x_563 = l_Lean_mkOptionalNode___closed__2; +lean_inc(x_552); +x_564 = lean_array_push(x_563, x_552); lean_inc(x_564); -x_568 = lean_array_push(x_567, x_564); -lean_inc(x_523); -x_569 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_569, 0, x_523); -lean_ctor_set(x_569, 1, x_539); -lean_ctor_set(x_569, 2, x_568); -x_570 = lean_array_push(x_546, x_569); -lean_inc(x_523); -x_571 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_571, 0, x_523); -lean_ctor_set(x_571, 1, x_533); -lean_ctor_set(x_571, 2, x_570); -x_572 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__36; -lean_inc(x_535); -x_573 = lean_array_push(x_572, x_535); -x_574 = lean_array_push(x_573, x_571); -lean_inc(x_535); -x_575 = lean_array_push(x_574, x_535); -lean_inc(x_535); -x_576 = lean_array_push(x_575, x_535); -lean_inc(x_535); -x_577 = lean_array_push(x_576, x_535); -lean_inc(x_535); -x_578 = lean_array_push(x_577, x_535); -lean_inc(x_523); +lean_inc(x_540); +x_565 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_565, 0, x_540); +lean_ctor_set(x_565, 1, x_562); +lean_ctor_set(x_565, 2, x_564); +x_566 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__7; +x_567 = l_Lean_Name_str___override(x_1, x_566); +x_568 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__8; +x_569 = l_Lean_Name_str___override(x_567, x_568); +lean_inc(x_540); +x_570 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_570, 0, x_540); +lean_ctor_set(x_570, 1, x_568); +x_571 = l_Lean_Syntax_mkApp___closed__3; +x_572 = lean_array_push(x_571, x_570); +x_573 = lean_array_push(x_572, x_2); +lean_inc(x_540); +x_574 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_574, 0, x_540); +lean_ctor_set(x_574, 1, x_569); +lean_ctor_set(x_574, 2, x_573); +x_575 = lean_array_push(x_571, x_565); +x_576 = lean_array_push(x_575, x_574); +lean_inc(x_540); +x_577 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_577, 0, x_540); +lean_ctor_set(x_577, 1, x_560); +lean_ctor_set(x_577, 2, x_576); +x_578 = lean_array_push(x_563, x_577); +lean_inc(x_540); x_579 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_579, 0, x_523); -lean_ctor_set(x_579, 1, x_532); +lean_ctor_set(x_579, 0, x_540); +lean_ctor_set(x_579, 1, x_550); lean_ctor_set(x_579, 2, x_578); -x_580 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__9; -lean_inc(x_528); -x_581 = l_Lean_Name_str___override(x_528, x_580); -lean_inc(x_523); -x_582 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_582, 0, x_523); -lean_ctor_set(x_582, 1, x_580); -x_583 = l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__3; -lean_inc(x_528); -x_584 = l_Lean_Name_str___override(x_528, x_583); -x_585 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__13; -lean_inc(x_525); -lean_inc(x_526); -x_586 = l_Lean_addMacroScope(x_526, x_585, x_525); -x_587 = lean_box(0); -x_588 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__12; -lean_inc(x_523); -x_589 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_589, 0, x_523); -lean_ctor_set(x_589, 1, x_588); -lean_ctor_set(x_589, 2, x_586); -lean_ctor_set(x_589, 3, x_587); -x_590 = lean_array_push(x_554, x_589); -lean_inc(x_535); -x_591 = lean_array_push(x_590, x_535); -lean_inc(x_523); -x_592 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_592, 0, x_523); -lean_ctor_set(x_592, 1, x_584); -lean_ctor_set(x_592, 2, x_591); -x_593 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__14; -lean_inc(x_528); -x_594 = l_Lean_Name_str___override(x_528, x_593); -x_595 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__15; -lean_inc(x_537); -x_596 = l_Lean_Name_str___override(x_537, x_595); -x_597 = l_Lean_toolchain___closed__1; -lean_inc(x_523); -x_598 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_598, 0, x_523); -lean_ctor_set(x_598, 1, x_597); -x_599 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__19; -lean_inc(x_525); -lean_inc(x_526); -x_600 = l_Lean_addMacroScope(x_526, x_599, x_525); -x_601 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__16; -lean_inc(x_3); -x_602 = l_Lean_Name_str___override(x_3, x_601); -lean_inc(x_602); -x_603 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_603, 0, x_602); -lean_ctor_set(x_603, 1, x_587); -x_604 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_604, 0, x_602); -x_605 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_605, 0, x_604); -lean_ctor_set(x_605, 1, x_587); -x_606 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_606, 0, x_603); +x_580 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__10; +lean_inc(x_540); +x_581 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_581, 0, x_540); +lean_ctor_set(x_581, 1, x_580); +x_582 = l_Lean_TSyntax_expandInterpolatedStr___lambda__1___closed__4; +x_583 = lean_array_push(x_582, x_558); +x_584 = lean_array_push(x_583, x_579); +lean_inc(x_581); +x_585 = lean_array_push(x_584, x_581); +lean_inc(x_540); +x_586 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_586, 0, x_540); +lean_ctor_set(x_586, 1, x_556); +lean_ctor_set(x_586, 2, x_585); +x_587 = lean_array_push(x_563, x_586); +lean_inc(x_540); +x_588 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_588, 0, x_540); +lean_ctor_set(x_588, 1, x_550); +lean_ctor_set(x_588, 2, x_587); +x_589 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__36; +lean_inc(x_552); +x_590 = lean_array_push(x_589, x_552); +x_591 = lean_array_push(x_590, x_588); +lean_inc(x_552); +x_592 = lean_array_push(x_591, x_552); +lean_inc(x_552); +x_593 = lean_array_push(x_592, x_552); +lean_inc(x_552); +x_594 = lean_array_push(x_593, x_552); +lean_inc(x_552); +x_595 = lean_array_push(x_594, x_552); +lean_inc(x_540); +x_596 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_596, 0, x_540); +lean_ctor_set(x_596, 1, x_549); +lean_ctor_set(x_596, 2, x_595); +x_597 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__9; +lean_inc(x_545); +x_598 = l_Lean_Name_str___override(x_545, x_597); +lean_inc(x_540); +x_599 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_599, 0, x_540); +lean_ctor_set(x_599, 1, x_597); +x_600 = l_Lean_Syntax_instCoeIdentTSyntaxConsSyntaxNodeKindStrAnonymousNil___closed__3; +lean_inc(x_545); +x_601 = l_Lean_Name_str___override(x_545, x_600); +x_602 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__13; +lean_inc(x_542); +lean_inc(x_543); +x_603 = l_Lean_addMacroScope(x_543, x_602, x_542); +x_604 = lean_box(0); +x_605 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__12; +lean_inc(x_540); +x_606 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_606, 0, x_540); lean_ctor_set(x_606, 1, x_605); -x_607 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__18; -lean_inc(x_523); -x_608 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_608, 0, x_523); -lean_ctor_set(x_608, 1, x_607); -lean_ctor_set(x_608, 2, x_600); -lean_ctor_set(x_608, 3, x_606); -x_609 = lean_array_push(x_554, x_598); -x_610 = lean_array_push(x_609, x_608); -lean_inc(x_523); -x_611 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_611, 0, x_523); -lean_ctor_set(x_611, 1, x_596); -lean_ctor_set(x_611, 2, x_610); -x_612 = lean_array_push(x_546, x_611); -lean_inc(x_523); -x_613 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_613, 0, x_523); -lean_ctor_set(x_613, 1, x_533); -lean_ctor_set(x_613, 2, x_612); -lean_inc(x_535); -x_614 = lean_array_push(x_554, x_535); -lean_inc(x_614); -x_615 = lean_array_push(x_614, x_613); -lean_inc(x_523); -x_616 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_616, 0, x_523); -lean_ctor_set(x_616, 1, x_594); -lean_ctor_set(x_616, 2, x_615); -x_617 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__20; -x_618 = l_Lean_Name_str___override(x_528, x_617); -x_619 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__8; -lean_inc(x_523); -x_620 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_620, 0, x_523); -lean_ctor_set(x_620, 1, x_619); -x_621 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__21; -lean_inc(x_537); -x_622 = l_Lean_Name_str___override(x_537, x_621); -lean_inc(x_523); -x_623 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_623, 0, x_523); -lean_ctor_set(x_623, 1, x_621); -x_624 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__22; -lean_inc(x_537); -x_625 = l_Lean_Name_str___override(x_537, x_624); -x_626 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__26; -lean_inc(x_525); -lean_inc(x_526); -x_627 = l_Lean_addMacroScope(x_526, x_626, x_525); -x_628 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__25; -lean_inc(x_523); -x_629 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_629, 0, x_523); -lean_ctor_set(x_629, 1, x_628); -lean_ctor_set(x_629, 2, x_627); -lean_ctor_set(x_629, 3, x_587); -lean_inc(x_629); -x_630 = lean_array_push(x_546, x_629); -lean_inc(x_523); -x_631 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_631, 0, x_523); -lean_ctor_set(x_631, 1, x_533); -lean_ctor_set(x_631, 2, x_630); -x_632 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__27; -lean_inc(x_523); -x_633 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_633, 0, x_523); -lean_ctor_set(x_633, 1, x_632); -x_634 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__28; -lean_inc(x_537); -x_635 = l_Lean_Name_str___override(x_537, x_634); -lean_inc(x_523); -x_636 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_636, 0, x_523); -lean_ctor_set(x_636, 1, x_634); -x_637 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__29; -lean_inc(x_537); -x_638 = l_Lean_Name_str___override(x_537, x_637); -x_639 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__30; -lean_inc(x_537); -x_640 = l_Lean_Name_str___override(x_537, x_639); -x_641 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__31; -lean_inc(x_537); -x_642 = l_Lean_Name_str___override(x_537, x_641); -x_643 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__32; -lean_inc(x_523); -x_644 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_644, 0, x_523); -lean_ctor_set(x_644, 1, x_643); -x_645 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__33; -lean_inc(x_537); -x_646 = l_Lean_Name_str___override(x_537, x_645); -x_647 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__37; -lean_inc(x_525); -lean_inc(x_526); -x_648 = l_Lean_addMacroScope(x_526, x_647, x_525); -x_649 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__36; -lean_inc(x_523); -x_650 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_650, 0, x_523); +lean_ctor_set(x_606, 2, x_603); +lean_ctor_set(x_606, 3, x_604); +x_607 = lean_array_push(x_571, x_606); +lean_inc(x_552); +x_608 = lean_array_push(x_607, x_552); +lean_inc(x_540); +x_609 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_609, 0, x_540); +lean_ctor_set(x_609, 1, x_601); +lean_ctor_set(x_609, 2, x_608); +x_610 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__14; +lean_inc(x_545); +x_611 = l_Lean_Name_str___override(x_545, x_610); +x_612 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__15; +lean_inc(x_554); +x_613 = l_Lean_Name_str___override(x_554, x_612); +x_614 = l_Lean_toolchain___closed__1; +lean_inc(x_540); +x_615 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_615, 0, x_540); +lean_ctor_set(x_615, 1, x_614); +x_616 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__19; +lean_inc(x_542); +lean_inc(x_543); +x_617 = l_Lean_addMacroScope(x_543, x_616, x_542); +x_618 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__16; +lean_inc(x_3); +x_619 = l_Lean_Name_str___override(x_3, x_618); +lean_inc(x_619); +x_620 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_620, 0, x_619); +lean_ctor_set(x_620, 1, x_604); +x_621 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_621, 0, x_619); +x_622 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_622, 0, x_621); +lean_ctor_set(x_622, 1, x_604); +x_623 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_623, 0, x_620); +lean_ctor_set(x_623, 1, x_622); +x_624 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__18; +lean_inc(x_540); +x_625 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_625, 0, x_540); +lean_ctor_set(x_625, 1, x_624); +lean_ctor_set(x_625, 2, x_617); +lean_ctor_set(x_625, 3, x_623); +x_626 = lean_array_push(x_571, x_615); +x_627 = lean_array_push(x_626, x_625); +lean_inc(x_540); +x_628 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_628, 0, x_540); +lean_ctor_set(x_628, 1, x_613); +lean_ctor_set(x_628, 2, x_627); +x_629 = lean_array_push(x_563, x_628); +lean_inc(x_540); +x_630 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_630, 0, x_540); +lean_ctor_set(x_630, 1, x_550); +lean_ctor_set(x_630, 2, x_629); +lean_inc(x_552); +x_631 = lean_array_push(x_571, x_552); +lean_inc(x_631); +x_632 = lean_array_push(x_631, x_630); +lean_inc(x_540); +x_633 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_633, 0, x_540); +lean_ctor_set(x_633, 1, x_611); +lean_ctor_set(x_633, 2, x_632); +x_634 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__20; +x_635 = l_Lean_Name_str___override(x_545, x_634); +x_636 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__8; +lean_inc(x_540); +x_637 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_637, 0, x_540); +lean_ctor_set(x_637, 1, x_636); +x_638 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__21; +lean_inc(x_554); +x_639 = l_Lean_Name_str___override(x_554, x_638); +lean_inc(x_540); +x_640 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_640, 0, x_540); +lean_ctor_set(x_640, 1, x_638); +x_641 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__22; +lean_inc(x_554); +x_642 = l_Lean_Name_str___override(x_554, x_641); +x_643 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__26; +lean_inc(x_542); +lean_inc(x_543); +x_644 = l_Lean_addMacroScope(x_543, x_643, x_542); +x_645 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__25; +lean_inc(x_540); +x_646 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_646, 0, x_540); +lean_ctor_set(x_646, 1, x_645); +lean_ctor_set(x_646, 2, x_644); +lean_ctor_set(x_646, 3, x_604); +lean_inc(x_646); +x_647 = lean_array_push(x_563, x_646); +lean_inc(x_540); +x_648 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_648, 0, x_540); +lean_ctor_set(x_648, 1, x_550); +lean_ctor_set(x_648, 2, x_647); +x_649 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__27; +lean_inc(x_540); +x_650 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_650, 0, x_540); lean_ctor_set(x_650, 1, x_649); -lean_ctor_set(x_650, 2, x_648); -lean_ctor_set(x_650, 3, x_587); -x_651 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__38; -lean_inc(x_523); -x_652 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_652, 0, x_523); -lean_ctor_set(x_652, 1, x_651); -x_653 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__39; -lean_inc(x_537); -x_654 = l_Lean_Name_str___override(x_537, x_653); -x_655 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__40; -lean_inc(x_523); -x_656 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_656, 0, x_523); -lean_ctor_set(x_656, 1, x_655); -x_657 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__41; -lean_inc(x_537); -x_658 = l_Lean_Name_str___override(x_537, x_657); -x_659 = l_Lean_mkGroupNode___closed__2; -lean_inc(x_523); -x_660 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_660, 0, x_523); -lean_ctor_set(x_660, 1, x_659); -lean_ctor_set(x_660, 2, x_534); -x_661 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__6; -lean_inc(x_523); -x_662 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_662, 0, x_523); -lean_ctor_set(x_662, 1, x_661); -x_663 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__44; -lean_inc(x_523); -x_664 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_664, 0, x_523); -lean_ctor_set(x_664, 1, x_663); -x_665 = lean_array_push(x_546, x_664); -x_666 = l_Lean_Syntax_mkNumLit___closed__2; -lean_inc(x_523); -x_667 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_667, 0, x_523); +x_651 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__28; +lean_inc(x_554); +x_652 = l_Lean_Name_str___override(x_554, x_651); +lean_inc(x_540); +x_653 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_653, 0, x_540); +lean_ctor_set(x_653, 1, x_651); +x_654 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__29; +lean_inc(x_554); +x_655 = l_Lean_Name_str___override(x_554, x_654); +x_656 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__30; +lean_inc(x_554); +x_657 = l_Lean_Name_str___override(x_554, x_656); +x_658 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__31; +lean_inc(x_554); +x_659 = l_Lean_Name_str___override(x_554, x_658); +x_660 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__32; +lean_inc(x_540); +x_661 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_661, 0, x_540); +lean_ctor_set(x_661, 1, x_660); +x_662 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__33; +lean_inc(x_554); +x_663 = l_Lean_Name_str___override(x_554, x_662); +x_664 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__37; +lean_inc(x_542); +lean_inc(x_543); +x_665 = l_Lean_addMacroScope(x_543, x_664, x_542); +x_666 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__36; +lean_inc(x_540); +x_667 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_667, 0, x_540); lean_ctor_set(x_667, 1, x_666); lean_ctor_set(x_667, 2, x_665); -x_668 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__37; -x_669 = lean_array_push(x_668, x_629); -lean_inc(x_660); -lean_inc(x_669); -x_670 = lean_array_push(x_669, x_660); -lean_inc(x_662); -x_671 = lean_array_push(x_670, x_662); -lean_inc(x_667); -lean_inc(x_671); -x_672 = lean_array_push(x_671, x_667); -lean_inc(x_564); -x_673 = lean_array_push(x_672, x_564); -x_674 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__43; -lean_inc(x_523); -x_675 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_675, 0, x_523); -lean_ctor_set(x_675, 1, x_674); -lean_ctor_set(x_675, 2, x_673); -x_676 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__45; -lean_inc(x_523); -x_677 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_677, 0, x_523); +lean_ctor_set(x_667, 3, x_604); +x_668 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__38; +lean_inc(x_540); +x_669 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_669, 0, x_540); +lean_ctor_set(x_669, 1, x_668); +x_670 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__39; +lean_inc(x_554); +x_671 = l_Lean_Name_str___override(x_554, x_670); +x_672 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__40; +lean_inc(x_540); +x_673 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_673, 0, x_540); +lean_ctor_set(x_673, 1, x_672); +x_674 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__41; +lean_inc(x_554); +x_675 = l_Lean_Name_str___override(x_554, x_674); +x_676 = l_Lean_mkGroupNode___closed__2; +lean_inc(x_540); +x_677 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_677, 0, x_540); lean_ctor_set(x_677, 1, x_676); -x_678 = lean_array_push(x_546, x_677); -lean_inc(x_523); -x_679 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_679, 0, x_523); -lean_ctor_set(x_679, 1, x_666); -lean_ctor_set(x_679, 2, x_678); -x_680 = lean_array_push(x_668, x_675); -x_681 = lean_array_push(x_680, x_660); -x_682 = lean_array_push(x_681, x_662); +lean_ctor_set(x_677, 2, x_551); +x_678 = l_List_repr_x27___at___private_Init_Meta_0__Lean_Syntax_reprPreresolved____x40_Init_Meta___hyg_1993____spec__1___closed__6; +lean_inc(x_540); +x_679 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_679, 0, x_540); +lean_ctor_set(x_679, 1, x_678); +x_680 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__44; +lean_inc(x_540); +x_681 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_681, 0, x_540); +lean_ctor_set(x_681, 1, x_680); +x_682 = lean_array_push(x_563, x_681); +x_683 = l_Lean_Syntax_mkNumLit___closed__2; +lean_inc(x_540); +x_684 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_684, 0, x_540); +lean_ctor_set(x_684, 1, x_683); +lean_ctor_set(x_684, 2, x_682); +x_685 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__37; +x_686 = lean_array_push(x_685, x_646); +lean_inc(x_677); +lean_inc(x_686); +x_687 = lean_array_push(x_686, x_677); lean_inc(x_679); -x_683 = lean_array_push(x_682, x_679); -lean_inc(x_564); -x_684 = lean_array_push(x_683, x_564); -lean_inc(x_523); -x_685 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_685, 0, x_523); -lean_ctor_set(x_685, 1, x_674); -lean_ctor_set(x_685, 2, x_684); -x_686 = lean_array_push(x_614, x_685); -lean_inc(x_523); -x_687 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_687, 0, x_523); -lean_ctor_set(x_687, 1, x_658); -lean_ctor_set(x_687, 2, x_686); -x_688 = lean_array_push(x_546, x_687); -lean_inc(x_523); -x_689 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_689, 0, x_523); -lean_ctor_set(x_689, 1, x_533); -lean_ctor_set(x_689, 2, x_688); -x_690 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__46; -lean_inc(x_523); -x_691 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_691, 0, x_523); -lean_ctor_set(x_691, 1, x_690); -x_692 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__47; -lean_inc(x_537); -x_693 = l_Lean_Name_str___override(x_537, x_692); -x_694 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__48; -lean_inc(x_537); -x_695 = l_Lean_Name_str___override(x_537, x_694); -x_696 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__49; -lean_inc(x_523); -x_697 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_697, 0, x_523); -lean_ctor_set(x_697, 1, x_696); -x_698 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__50; -lean_inc(x_537); -x_699 = l_Lean_Name_str___override(x_537, x_698); -x_700 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__51; -lean_inc(x_523); -x_701 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_701, 0, x_523); -lean_ctor_set(x_701, 1, x_700); -x_702 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__54; -lean_inc(x_525); -lean_inc(x_526); -x_703 = l_Lean_addMacroScope(x_526, x_702, x_525); -x_704 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__6; -x_705 = l_Lean_Name_str___override(x_4, x_704); -lean_inc(x_705); -x_706 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_706, 0, x_705); -lean_ctor_set(x_706, 1, x_587); -lean_inc(x_705); -x_707 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_707, 0, x_705); -x_708 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_708, 0, x_707); -lean_ctor_set(x_708, 1, x_587); -x_709 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_709, 0, x_706); -lean_ctor_set(x_709, 1, x_708); -x_710 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__53; -lean_inc(x_523); -x_711 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_711, 0, x_523); -lean_ctor_set(x_711, 1, x_710); -lean_ctor_set(x_711, 2, x_703); -lean_ctor_set(x_711, 3, x_709); -x_712 = l_Lean_TSyntax_expandInterpolatedStr___closed__4; -lean_inc(x_523); -x_713 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_713, 0, x_523); -lean_ctor_set(x_713, 1, x_712); -lean_inc(x_523); +x_688 = lean_array_push(x_687, x_679); +lean_inc(x_684); +lean_inc(x_688); +x_689 = lean_array_push(x_688, x_684); +lean_inc(x_581); +x_690 = lean_array_push(x_689, x_581); +x_691 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__43; +lean_inc(x_540); +x_692 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_692, 0, x_540); +lean_ctor_set(x_692, 1, x_691); +lean_ctor_set(x_692, 2, x_690); +x_693 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__45; +lean_inc(x_540); +x_694 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_694, 0, x_540); +lean_ctor_set(x_694, 1, x_693); +x_695 = lean_array_push(x_563, x_694); +lean_inc(x_540); +x_696 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_696, 0, x_540); +lean_ctor_set(x_696, 1, x_683); +lean_ctor_set(x_696, 2, x_695); +x_697 = lean_array_push(x_685, x_692); +x_698 = lean_array_push(x_697, x_677); +x_699 = lean_array_push(x_698, x_679); +lean_inc(x_696); +x_700 = lean_array_push(x_699, x_696); +lean_inc(x_581); +x_701 = lean_array_push(x_700, x_581); +lean_inc(x_540); +x_702 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_702, 0, x_540); +lean_ctor_set(x_702, 1, x_691); +lean_ctor_set(x_702, 2, x_701); +x_703 = lean_array_push(x_631, x_702); +lean_inc(x_540); +x_704 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_704, 0, x_540); +lean_ctor_set(x_704, 1, x_675); +lean_ctor_set(x_704, 2, x_703); +x_705 = lean_array_push(x_563, x_704); +lean_inc(x_540); +x_706 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_706, 0, x_540); +lean_ctor_set(x_706, 1, x_550); +lean_ctor_set(x_706, 2, x_705); +x_707 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__46; +lean_inc(x_540); +x_708 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_708, 0, x_540); +lean_ctor_set(x_708, 1, x_707); +x_709 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__47; +lean_inc(x_554); +x_710 = l_Lean_Name_str___override(x_554, x_709); +x_711 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__48; +lean_inc(x_554); +x_712 = l_Lean_Name_str___override(x_554, x_711); +x_713 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__49; +lean_inc(x_540); x_714 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_714, 0, x_523); -lean_ctor_set(x_714, 1, x_704); -x_715 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__55; -x_716 = l_Lean_Name_str___override(x_5, x_715); -x_717 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__56; -x_718 = l_Lean_Name_str___override(x_716, x_717); -x_719 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__57; -lean_inc(x_523); -x_720 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_720, 0, x_523); -lean_ctor_set(x_720, 1, x_719); -x_721 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__38; -x_722 = lean_array_push(x_721, x_720); -lean_inc(x_535); -x_723 = lean_array_push(x_722, x_535); -lean_inc(x_650); -x_724 = lean_array_push(x_723, x_650); -lean_inc(x_535); -x_725 = lean_array_push(x_724, x_535); -lean_inc(x_523); -x_726 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_726, 0, x_523); -lean_ctor_set(x_726, 1, x_718); -lean_ctor_set(x_726, 2, x_725); -x_727 = l_Lean_TSyntax_expandInterpolatedStr___closed__7; -lean_inc(x_523); -x_728 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_728, 0, x_523); +lean_ctor_set(x_714, 0, x_540); +lean_ctor_set(x_714, 1, x_713); +x_715 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__50; +lean_inc(x_554); +x_716 = l_Lean_Name_str___override(x_554, x_715); +x_717 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__51; +lean_inc(x_540); +x_718 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_718, 0, x_540); +lean_ctor_set(x_718, 1, x_717); +x_719 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__54; +lean_inc(x_542); +lean_inc(x_543); +x_720 = l_Lean_addMacroScope(x_543, x_719, x_542); +x_721 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__6; +x_722 = l_Lean_Name_str___override(x_4, x_721); +lean_inc(x_722); +x_723 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_723, 0, x_722); +lean_ctor_set(x_723, 1, x_604); +lean_inc(x_722); +x_724 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_724, 0, x_722); +x_725 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_725, 0, x_724); +lean_ctor_set(x_725, 1, x_604); +x_726 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_726, 0, x_723); +lean_ctor_set(x_726, 1, x_725); +x_727 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__53; +lean_inc(x_540); +x_728 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_728, 0, x_540); lean_ctor_set(x_728, 1, x_727); -lean_inc(x_713); -x_729 = lean_array_push(x_668, x_713); -x_730 = lean_array_push(x_729, x_714); -lean_inc(x_620); -x_731 = lean_array_push(x_730, x_620); -lean_inc(x_726); -lean_inc(x_731); -x_732 = lean_array_push(x_731, x_726); -lean_inc(x_728); -x_733 = lean_array_push(x_732, x_728); -lean_inc(x_705); -lean_inc(x_523); -x_734 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_734, 0, x_523); -lean_ctor_set(x_734, 1, x_705); -lean_ctor_set(x_734, 2, x_733); -x_735 = lean_array_push(x_668, x_701); -x_736 = lean_array_push(x_735, x_711); -lean_inc(x_697); -x_737 = lean_array_push(x_736, x_697); -lean_inc(x_737); -x_738 = lean_array_push(x_737, x_734); -lean_inc(x_728); -x_739 = lean_array_push(x_738, x_728); -lean_inc(x_699); -lean_inc(x_523); -x_740 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_740, 0, x_523); -lean_ctor_set(x_740, 1, x_699); -lean_ctor_set(x_740, 2, x_739); -x_741 = lean_array_push(x_546, x_740); -lean_inc(x_523); -x_742 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_742, 0, x_523); -lean_ctor_set(x_742, 1, x_533); -lean_ctor_set(x_742, 2, x_741); -x_743 = lean_array_push(x_546, x_742); -lean_inc(x_523); -x_744 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_744, 0, x_523); -lean_ctor_set(x_744, 1, x_533); -lean_ctor_set(x_744, 2, x_743); -x_745 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__58; -lean_inc(x_537); -x_746 = l_Lean_Name_str___override(x_537, x_745); -x_747 = l_Lean_Syntax_mkApp___closed__1; -lean_inc(x_537); -x_748 = l_Lean_Name_str___override(x_537, x_747); -x_749 = lean_array_push(x_546, x_726); -lean_inc(x_523); -x_750 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_750, 0, x_523); -lean_ctor_set(x_750, 1, x_533); -lean_ctor_set(x_750, 2, x_749); -x_751 = lean_array_push(x_554, x_6); -lean_inc(x_751); -x_752 = lean_array_push(x_751, x_750); -lean_inc(x_748); -lean_inc(x_523); -x_753 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_753, 0, x_523); -lean_ctor_set(x_753, 1, x_748); -lean_ctor_set(x_753, 2, x_752); -lean_inc(x_731); -x_754 = lean_array_push(x_731, x_753); -lean_inc(x_728); -x_755 = lean_array_push(x_754, x_728); -lean_inc(x_705); -lean_inc(x_523); -x_756 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_756, 0, x_523); -lean_ctor_set(x_756, 1, x_705); -lean_ctor_set(x_756, 2, x_755); -lean_inc(x_737); -x_757 = lean_array_push(x_737, x_756); -lean_inc(x_728); -x_758 = lean_array_push(x_757, x_728); -lean_inc(x_699); -lean_inc(x_523); -x_759 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_759, 0, x_523); -lean_ctor_set(x_759, 1, x_699); -lean_ctor_set(x_759, 2, x_758); -x_760 = lean_array_push(x_546, x_759); +lean_ctor_set(x_728, 2, x_720); +lean_ctor_set(x_728, 3, x_726); +x_729 = l_Lean_TSyntax_expandInterpolatedStr___closed__4; +lean_inc(x_540); +x_730 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_730, 0, x_540); +lean_ctor_set(x_730, 1, x_729); +lean_inc(x_540); +x_731 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_731, 0, x_540); +lean_ctor_set(x_731, 1, x_721); +x_732 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__55; +x_733 = l_Lean_Name_str___override(x_5, x_732); +x_734 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__56; +x_735 = l_Lean_Name_str___override(x_733, x_734); +x_736 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__57; +lean_inc(x_540); +x_737 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_737, 0, x_540); +lean_ctor_set(x_737, 1, x_736); +x_738 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__38; +x_739 = lean_array_push(x_738, x_737); +lean_inc(x_552); +x_740 = lean_array_push(x_739, x_552); +lean_inc(x_667); +x_741 = lean_array_push(x_740, x_667); +lean_inc(x_552); +x_742 = lean_array_push(x_741, x_552); +lean_inc(x_540); +x_743 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_743, 0, x_540); +lean_ctor_set(x_743, 1, x_735); +lean_ctor_set(x_743, 2, x_742); +x_744 = l_Lean_TSyntax_expandInterpolatedStr___closed__7; +lean_inc(x_540); +x_745 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_745, 0, x_540); +lean_ctor_set(x_745, 1, x_744); +lean_inc(x_730); +x_746 = lean_array_push(x_685, x_730); lean_inc(x_746); -lean_inc(x_523); +x_747 = lean_array_push(x_746, x_731); +lean_inc(x_637); +x_748 = lean_array_push(x_747, x_637); +lean_inc(x_743); +lean_inc(x_748); +x_749 = lean_array_push(x_748, x_743); +lean_inc(x_745); +x_750 = lean_array_push(x_749, x_745); +lean_inc(x_722); +lean_inc(x_540); +x_751 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_751, 0, x_540); +lean_ctor_set(x_751, 1, x_722); +lean_ctor_set(x_751, 2, x_750); +x_752 = lean_array_push(x_685, x_718); +x_753 = lean_array_push(x_752, x_728); +lean_inc(x_714); +x_754 = lean_array_push(x_753, x_714); +lean_inc(x_754); +x_755 = lean_array_push(x_754, x_751); +lean_inc(x_745); +x_756 = lean_array_push(x_755, x_745); +lean_inc(x_716); +lean_inc(x_540); +x_757 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_757, 0, x_540); +lean_ctor_set(x_757, 1, x_716); +lean_ctor_set(x_757, 2, x_756); +x_758 = lean_array_push(x_563, x_757); +lean_inc(x_540); +x_759 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_759, 0, x_540); +lean_ctor_set(x_759, 1, x_550); +lean_ctor_set(x_759, 2, x_758); +x_760 = lean_array_push(x_563, x_759); +lean_inc(x_540); x_761 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_761, 0, x_523); -lean_ctor_set(x_761, 1, x_746); +lean_ctor_set(x_761, 0, x_540); +lean_ctor_set(x_761, 1, x_550); lean_ctor_set(x_761, 2, x_760); -x_762 = lean_array_push(x_554, x_761); -lean_inc(x_535); -x_763 = lean_array_push(x_762, x_535); -lean_inc(x_640); -lean_inc(x_523); -x_764 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_764, 0, x_523); -lean_ctor_set(x_764, 1, x_640); -lean_ctor_set(x_764, 2, x_763); -x_765 = lean_array_push(x_546, x_764); -lean_inc(x_523); -x_766 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_766, 0, x_523); -lean_ctor_set(x_766, 1, x_533); -lean_ctor_set(x_766, 2, x_765); -x_767 = lean_array_push(x_546, x_766); -lean_inc(x_638); -lean_inc(x_523); -x_768 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_768, 0, x_523); -lean_ctor_set(x_768, 1, x_638); -lean_ctor_set(x_768, 2, x_767); -x_769 = lean_array_push(x_721, x_697); -lean_inc(x_769); -x_770 = lean_array_push(x_769, x_744); -lean_inc(x_633); -x_771 = lean_array_push(x_770, x_633); -x_772 = lean_array_push(x_771, x_768); -lean_inc(x_695); -lean_inc(x_523); +x_762 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__58; +lean_inc(x_554); +x_763 = l_Lean_Name_str___override(x_554, x_762); +x_764 = l_Lean_Syntax_mkApp___closed__1; +lean_inc(x_554); +x_765 = l_Lean_Name_str___override(x_554, x_764); +x_766 = lean_array_push(x_563, x_743); +lean_inc(x_540); +x_767 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_767, 0, x_540); +lean_ctor_set(x_767, 1, x_550); +lean_ctor_set(x_767, 2, x_766); +x_768 = lean_array_push(x_571, x_6); +lean_inc(x_768); +x_769 = lean_array_push(x_768, x_767); +lean_inc(x_765); +lean_inc(x_540); +x_770 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_770, 0, x_540); +lean_ctor_set(x_770, 1, x_765); +lean_ctor_set(x_770, 2, x_769); +lean_inc(x_748); +x_771 = lean_array_push(x_748, x_770); +lean_inc(x_745); +x_772 = lean_array_push(x_771, x_745); +lean_inc(x_722); +lean_inc(x_540); x_773 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_773, 0, x_523); -lean_ctor_set(x_773, 1, x_695); +lean_ctor_set(x_773, 0, x_540); +lean_ctor_set(x_773, 1, x_722); lean_ctor_set(x_773, 2, x_772); -x_774 = l_Lean_mkHole___closed__1; -lean_inc(x_537); -x_775 = l_Lean_Name_str___override(x_537, x_774); -x_776 = l_Lean_Name_appendIndexAfter___closed__1; -lean_inc(x_523); -x_777 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_777, 0, x_523); -lean_ctor_set(x_777, 1, x_776); -x_778 = lean_array_push(x_546, x_777); -lean_inc(x_523); -x_779 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_779, 0, x_523); -lean_ctor_set(x_779, 1, x_775); -lean_ctor_set(x_779, 2, x_778); -x_780 = lean_array_push(x_546, x_779); -lean_inc(x_523); +lean_inc(x_754); +x_774 = lean_array_push(x_754, x_773); +lean_inc(x_745); +x_775 = lean_array_push(x_774, x_745); +lean_inc(x_716); +lean_inc(x_540); +x_776 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_776, 0, x_540); +lean_ctor_set(x_776, 1, x_716); +lean_ctor_set(x_776, 2, x_775); +x_777 = lean_array_push(x_563, x_776); +lean_inc(x_763); +lean_inc(x_540); +x_778 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_778, 0, x_540); +lean_ctor_set(x_778, 1, x_763); +lean_ctor_set(x_778, 2, x_777); +x_779 = lean_array_push(x_571, x_778); +lean_inc(x_552); +x_780 = lean_array_push(x_779, x_552); +lean_inc(x_657); +lean_inc(x_540); x_781 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_781, 0, x_523); -lean_ctor_set(x_781, 1, x_533); +lean_ctor_set(x_781, 0, x_540); +lean_ctor_set(x_781, 1, x_657); lean_ctor_set(x_781, 2, x_780); -x_782 = lean_array_push(x_546, x_781); -lean_inc(x_523); +x_782 = lean_array_push(x_563, x_781); +lean_inc(x_540); x_783 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_783, 0, x_523); -lean_ctor_set(x_783, 1, x_533); +lean_ctor_set(x_783, 0, x_540); +lean_ctor_set(x_783, 1, x_550); lean_ctor_set(x_783, 2, x_782); -x_784 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__11; -lean_inc(x_523); -x_785 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_785, 0, x_523); -lean_ctor_set(x_785, 1, x_784); -x_786 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__35; -lean_inc(x_523); -x_787 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_787, 0, x_523); -lean_ctor_set(x_787, 1, x_786); -lean_inc(x_785); -x_788 = lean_array_push(x_554, x_785); -lean_inc(x_787); -x_789 = lean_array_push(x_788, x_787); -x_790 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__62; -lean_inc(x_523); -x_791 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_791, 0, x_523); -lean_ctor_set(x_791, 1, x_790); -lean_ctor_set(x_791, 2, x_789); -x_792 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__9; -lean_inc(x_537); -x_793 = l_Lean_Name_str___override(x_537, x_792); -x_794 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__33; -lean_inc(x_537); -x_795 = l_Lean_Name_str___override(x_537, x_794); -lean_inc(x_523); -x_796 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_796, 0, x_523); -lean_ctor_set(x_796, 1, x_795); -lean_ctor_set(x_796, 2, x_547); -x_797 = lean_array_push(x_572, x_785); -lean_inc(x_535); -x_798 = lean_array_push(x_797, x_535); -lean_inc(x_535); -x_799 = lean_array_push(x_798, x_535); -x_800 = lean_array_push(x_799, x_796); -lean_inc(x_535); -x_801 = lean_array_push(x_800, x_535); -x_802 = lean_array_push(x_801, x_787); -lean_inc(x_523); -x_803 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_803, 0, x_523); -lean_ctor_set(x_803, 1, x_793); -lean_ctor_set(x_803, 2, x_802); -x_804 = lean_array_push(x_554, x_791); -x_805 = lean_array_push(x_804, x_803); -x_806 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__60; -lean_inc(x_523); -x_807 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_807, 0, x_523); -lean_ctor_set(x_807, 1, x_806); -lean_ctor_set(x_807, 2, x_805); -x_808 = lean_array_push(x_546, x_807); -lean_inc(x_523); -x_809 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_809, 0, x_523); -lean_ctor_set(x_809, 1, x_533); -lean_ctor_set(x_809, 2, x_808); -x_810 = lean_array_push(x_751, x_809); -lean_inc(x_748); -lean_inc(x_523); -x_811 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_811, 0, x_523); -lean_ctor_set(x_811, 1, x_748); -lean_ctor_set(x_811, 2, x_810); -x_812 = lean_array_push(x_731, x_811); -lean_inc(x_728); -x_813 = lean_array_push(x_812, x_728); -lean_inc(x_523); -x_814 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_814, 0, x_523); -lean_ctor_set(x_814, 1, x_705); -lean_ctor_set(x_814, 2, x_813); -x_815 = lean_array_push(x_737, x_814); -lean_inc(x_728); -x_816 = lean_array_push(x_815, x_728); -lean_inc(x_523); -x_817 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_817, 0, x_523); -lean_ctor_set(x_817, 1, x_699); -lean_ctor_set(x_817, 2, x_816); -x_818 = lean_array_push(x_546, x_817); -lean_inc(x_523); -x_819 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_819, 0, x_523); -lean_ctor_set(x_819, 1, x_746); -lean_ctor_set(x_819, 2, x_818); -x_820 = lean_array_push(x_554, x_819); -lean_inc(x_535); -x_821 = lean_array_push(x_820, x_535); -lean_inc(x_640); -lean_inc(x_523); -x_822 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_822, 0, x_523); -lean_ctor_set(x_822, 1, x_640); -lean_ctor_set(x_822, 2, x_821); -x_823 = lean_array_push(x_546, x_822); -lean_inc(x_523); -x_824 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_824, 0, x_523); -lean_ctor_set(x_824, 1, x_533); -lean_ctor_set(x_824, 2, x_823); -x_825 = lean_array_push(x_546, x_824); -lean_inc(x_638); -lean_inc(x_523); -x_826 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_826, 0, x_523); -lean_ctor_set(x_826, 1, x_638); -lean_ctor_set(x_826, 2, x_825); -x_827 = lean_array_push(x_769, x_783); -lean_inc(x_633); -x_828 = lean_array_push(x_827, x_633); -x_829 = lean_array_push(x_828, x_826); -lean_inc(x_523); -x_830 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_830, 0, x_523); -lean_ctor_set(x_830, 1, x_695); -lean_ctor_set(x_830, 2, x_829); -x_831 = lean_array_push(x_554, x_773); -x_832 = lean_array_push(x_831, x_830); -lean_inc(x_523); -x_833 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_833, 0, x_523); -lean_ctor_set(x_833, 1, x_533); -lean_ctor_set(x_833, 2, x_832); -x_834 = lean_array_push(x_546, x_833); -lean_inc(x_523); -x_835 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_835, 0, x_523); -lean_ctor_set(x_835, 1, x_693); -lean_ctor_set(x_835, 2, x_834); -x_836 = lean_array_push(x_572, x_656); -lean_inc(x_535); -x_837 = lean_array_push(x_836, x_535); -lean_inc(x_535); -x_838 = lean_array_push(x_837, x_535); -x_839 = lean_array_push(x_838, x_689); -x_840 = lean_array_push(x_839, x_691); -x_841 = lean_array_push(x_840, x_835); -lean_inc(x_523); -x_842 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_842, 0, x_523); -lean_ctor_set(x_842, 1, x_654); -lean_ctor_set(x_842, 2, x_841); +x_784 = lean_array_push(x_563, x_783); +lean_inc(x_655); +lean_inc(x_540); +x_785 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_785, 0, x_540); +lean_ctor_set(x_785, 1, x_655); +lean_ctor_set(x_785, 2, x_784); +x_786 = lean_array_push(x_738, x_714); +lean_inc(x_786); +x_787 = lean_array_push(x_786, x_761); lean_inc(x_650); -x_843 = lean_array_push(x_721, x_650); -lean_inc(x_535); -x_844 = lean_array_push(x_843, x_535); -x_845 = lean_array_push(x_844, x_652); -x_846 = lean_array_push(x_845, x_842); -lean_inc(x_523); +x_788 = lean_array_push(x_787, x_650); +x_789 = lean_array_push(x_788, x_785); +lean_inc(x_712); +lean_inc(x_540); +x_790 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_790, 0, x_540); +lean_ctor_set(x_790, 1, x_712); +lean_ctor_set(x_790, 2, x_789); +x_791 = l_Lean_mkHole___closed__1; +lean_inc(x_554); +x_792 = l_Lean_Name_str___override(x_554, x_791); +x_793 = l_Lean_Name_appendIndexAfter___closed__1; +lean_inc(x_540); +x_794 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_794, 0, x_540); +lean_ctor_set(x_794, 1, x_793); +x_795 = lean_array_push(x_563, x_794); +lean_inc(x_540); +x_796 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_796, 0, x_540); +lean_ctor_set(x_796, 1, x_792); +lean_ctor_set(x_796, 2, x_795); +x_797 = lean_array_push(x_563, x_796); +lean_inc(x_540); +x_798 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_798, 0, x_540); +lean_ctor_set(x_798, 1, x_550); +lean_ctor_set(x_798, 2, x_797); +x_799 = lean_array_push(x_563, x_798); +lean_inc(x_540); +x_800 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_800, 0, x_540); +lean_ctor_set(x_800, 1, x_550); +lean_ctor_set(x_800, 2, x_799); +x_801 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__11; +lean_inc(x_540); +x_802 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_802, 0, x_540); +lean_ctor_set(x_802, 1, x_801); +x_803 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__35; +lean_inc(x_540); +x_804 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_804, 0, x_540); +lean_ctor_set(x_804, 1, x_803); +lean_inc(x_802); +x_805 = lean_array_push(x_571, x_802); +lean_inc(x_804); +x_806 = lean_array_push(x_805, x_804); +x_807 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__62; +lean_inc(x_540); +x_808 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_808, 0, x_540); +lean_ctor_set(x_808, 1, x_807); +lean_ctor_set(x_808, 2, x_806); +x_809 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__9; +lean_inc(x_554); +x_810 = l_Lean_Name_str___override(x_554, x_809); +x_811 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__tacticErw______1___closed__33; +lean_inc(x_554); +x_812 = l_Lean_Name_str___override(x_554, x_811); +lean_inc(x_540); +x_813 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_813, 0, x_540); +lean_ctor_set(x_813, 1, x_812); +lean_ctor_set(x_813, 2, x_564); +x_814 = lean_array_push(x_589, x_802); +lean_inc(x_552); +x_815 = lean_array_push(x_814, x_552); +lean_inc(x_552); +x_816 = lean_array_push(x_815, x_552); +x_817 = lean_array_push(x_816, x_813); +lean_inc(x_552); +x_818 = lean_array_push(x_817, x_552); +x_819 = lean_array_push(x_818, x_804); +lean_inc(x_540); +x_820 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_820, 0, x_540); +lean_ctor_set(x_820, 1, x_810); +lean_ctor_set(x_820, 2, x_819); +x_821 = lean_array_push(x_571, x_808); +x_822 = lean_array_push(x_821, x_820); +x_823 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__60; +lean_inc(x_540); +x_824 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_824, 0, x_540); +lean_ctor_set(x_824, 1, x_823); +lean_ctor_set(x_824, 2, x_822); +x_825 = lean_array_push(x_563, x_824); +lean_inc(x_540); +x_826 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_826, 0, x_540); +lean_ctor_set(x_826, 1, x_550); +lean_ctor_set(x_826, 2, x_825); +x_827 = lean_array_push(x_768, x_826); +lean_inc(x_765); +lean_inc(x_540); +x_828 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_828, 0, x_540); +lean_ctor_set(x_828, 1, x_765); +lean_ctor_set(x_828, 2, x_827); +x_829 = lean_array_push(x_748, x_828); +lean_inc(x_745); +x_830 = lean_array_push(x_829, x_745); +lean_inc(x_540); +x_831 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_831, 0, x_540); +lean_ctor_set(x_831, 1, x_722); +lean_ctor_set(x_831, 2, x_830); +x_832 = lean_array_push(x_754, x_831); +lean_inc(x_745); +x_833 = lean_array_push(x_832, x_745); +lean_inc(x_540); +x_834 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_834, 0, x_540); +lean_ctor_set(x_834, 1, x_716); +lean_ctor_set(x_834, 2, x_833); +x_835 = lean_array_push(x_563, x_834); +lean_inc(x_540); +x_836 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_836, 0, x_540); +lean_ctor_set(x_836, 1, x_763); +lean_ctor_set(x_836, 2, x_835); +x_837 = lean_array_push(x_571, x_836); +lean_inc(x_552); +x_838 = lean_array_push(x_837, x_552); +lean_inc(x_657); +lean_inc(x_540); +x_839 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_839, 0, x_540); +lean_ctor_set(x_839, 1, x_657); +lean_ctor_set(x_839, 2, x_838); +x_840 = lean_array_push(x_563, x_839); +lean_inc(x_540); +x_841 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_841, 0, x_540); +lean_ctor_set(x_841, 1, x_550); +lean_ctor_set(x_841, 2, x_840); +x_842 = lean_array_push(x_563, x_841); +lean_inc(x_655); +lean_inc(x_540); +x_843 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_843, 0, x_540); +lean_ctor_set(x_843, 1, x_655); +lean_ctor_set(x_843, 2, x_842); +x_844 = lean_array_push(x_786, x_800); +lean_inc(x_650); +x_845 = lean_array_push(x_844, x_650); +x_846 = lean_array_push(x_845, x_843); +lean_inc(x_540); x_847 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_847, 0, x_523); -lean_ctor_set(x_847, 1, x_646); +lean_ctor_set(x_847, 0, x_540); +lean_ctor_set(x_847, 1, x_712); lean_ctor_set(x_847, 2, x_846); -x_848 = lean_array_push(x_565, x_644); -lean_inc(x_535); -x_849 = lean_array_push(x_848, x_535); -lean_inc(x_849); -x_850 = lean_array_push(x_849, x_847); -lean_inc(x_523); -x_851 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_851, 0, x_523); -lean_ctor_set(x_851, 1, x_642); -lean_ctor_set(x_851, 2, x_850); -x_852 = lean_array_push(x_554, x_851); -lean_inc(x_535); -x_853 = lean_array_push(x_852, x_535); -lean_inc(x_640); -lean_inc(x_523); -x_854 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_854, 0, x_523); -lean_ctor_set(x_854, 1, x_640); -lean_ctor_set(x_854, 2, x_853); -x_855 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__63; -lean_inc(x_537); -x_856 = l_Lean_Name_str___override(x_537, x_855); -x_857 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__64; -lean_inc(x_537); -x_858 = l_Lean_Name_str___override(x_537, x_857); -x_859 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__65; -lean_inc(x_537); -x_860 = l_Lean_Name_str___override(x_537, x_859); -x_861 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__70; -lean_inc(x_525); -lean_inc(x_526); -x_862 = l_Lean_addMacroScope(x_526, x_861, x_525); -x_863 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__68; -lean_inc(x_523); -x_864 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_864, 0, x_523); -lean_ctor_set(x_864, 1, x_863); -lean_ctor_set(x_864, 2, x_862); -lean_ctor_set(x_864, 3, x_587); -x_865 = lean_array_push(x_546, x_11); -lean_inc(x_523); -x_866 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_866, 0, x_523); -lean_ctor_set(x_866, 1, x_533); -lean_ctor_set(x_866, 2, x_865); -x_867 = lean_array_push(x_554, x_864); -x_868 = lean_array_push(x_867, x_866); -lean_inc(x_748); -lean_inc(x_523); -x_869 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_869, 0, x_523); -lean_ctor_set(x_869, 1, x_748); -lean_ctor_set(x_869, 2, x_868); -lean_inc(x_535); -x_870 = lean_array_push(x_669, x_535); -lean_inc(x_535); -x_871 = lean_array_push(x_870, x_535); -lean_inc(x_620); -x_872 = lean_array_push(x_871, x_620); -lean_inc(x_872); -x_873 = lean_array_push(x_872, x_869); -lean_inc(x_860); -lean_inc(x_523); -x_874 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_874, 0, x_523); -lean_ctor_set(x_874, 1, x_860); -lean_ctor_set(x_874, 2, x_873); -x_875 = lean_array_push(x_546, x_874); -lean_inc(x_858); -lean_inc(x_523); -x_876 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_876, 0, x_523); -lean_ctor_set(x_876, 1, x_858); -lean_ctor_set(x_876, 2, x_875); -lean_inc(x_849); -x_877 = lean_array_push(x_849, x_876); -lean_inc(x_856); -lean_inc(x_523); -x_878 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_878, 0, x_523); -lean_ctor_set(x_878, 1, x_856); -lean_ctor_set(x_878, 2, x_877); -x_879 = lean_array_push(x_554, x_878); -lean_inc(x_535); -x_880 = lean_array_push(x_879, x_535); -lean_inc(x_640); -lean_inc(x_523); -x_881 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_881, 0, x_523); -lean_ctor_set(x_881, 1, x_640); -lean_ctor_set(x_881, 2, x_880); -x_882 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__75; -lean_inc(x_525); -lean_inc(x_526); -x_883 = l_Lean_addMacroScope(x_526, x_882, x_525); -x_884 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__73; -lean_inc(x_523); -x_885 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_885, 0, x_523); -lean_ctor_set(x_885, 1, x_884); -lean_ctor_set(x_885, 2, x_883); -lean_ctor_set(x_885, 3, x_587); -x_886 = l_Lean_TSyntax_expandInterpolatedStr___closed__2; -lean_inc(x_537); -x_887 = l_Lean_Name_str___override(x_537, x_886); -x_888 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__79; -lean_inc(x_525); -lean_inc(x_526); -x_889 = l_Lean_addMacroScope(x_526, x_888, x_525); -x_890 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__76; +x_848 = lean_array_push(x_571, x_790); +x_849 = lean_array_push(x_848, x_847); +lean_inc(x_540); +x_850 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_850, 0, x_540); +lean_ctor_set(x_850, 1, x_550); +lean_ctor_set(x_850, 2, x_849); +x_851 = lean_array_push(x_563, x_850); +lean_inc(x_540); +x_852 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_852, 0, x_540); +lean_ctor_set(x_852, 1, x_710); +lean_ctor_set(x_852, 2, x_851); +x_853 = lean_array_push(x_589, x_673); +lean_inc(x_552); +x_854 = lean_array_push(x_853, x_552); +lean_inc(x_552); +x_855 = lean_array_push(x_854, x_552); +x_856 = lean_array_push(x_855, x_706); +x_857 = lean_array_push(x_856, x_708); +x_858 = lean_array_push(x_857, x_852); +lean_inc(x_540); +x_859 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_859, 0, x_540); +lean_ctor_set(x_859, 1, x_671); +lean_ctor_set(x_859, 2, x_858); +lean_inc(x_667); +x_860 = lean_array_push(x_738, x_667); +lean_inc(x_552); +x_861 = lean_array_push(x_860, x_552); +x_862 = lean_array_push(x_861, x_669); +x_863 = lean_array_push(x_862, x_859); +lean_inc(x_540); +x_864 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_864, 0, x_540); +lean_ctor_set(x_864, 1, x_663); +lean_ctor_set(x_864, 2, x_863); +x_865 = lean_array_push(x_582, x_661); +lean_inc(x_552); +x_866 = lean_array_push(x_865, x_552); +lean_inc(x_866); +x_867 = lean_array_push(x_866, x_864); +lean_inc(x_540); +x_868 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_868, 0, x_540); +lean_ctor_set(x_868, 1, x_659); +lean_ctor_set(x_868, 2, x_867); +x_869 = lean_array_push(x_571, x_868); +lean_inc(x_552); +x_870 = lean_array_push(x_869, x_552); +lean_inc(x_657); +lean_inc(x_540); +x_871 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_871, 0, x_540); +lean_ctor_set(x_871, 1, x_657); +lean_ctor_set(x_871, 2, x_870); +x_872 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__63; +lean_inc(x_554); +x_873 = l_Lean_Name_str___override(x_554, x_872); +x_874 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__64; +lean_inc(x_554); +x_875 = l_Lean_Name_str___override(x_554, x_874); +x_876 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__65; +lean_inc(x_554); +x_877 = l_Lean_Name_str___override(x_554, x_876); +x_878 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__70; +lean_inc(x_542); +lean_inc(x_543); +x_879 = l_Lean_addMacroScope(x_543, x_878, x_542); +x_880 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__68; +lean_inc(x_540); +x_881 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_881, 0, x_540); +lean_ctor_set(x_881, 1, x_880); +lean_ctor_set(x_881, 2, x_879); +lean_ctor_set(x_881, 3, x_604); +x_882 = lean_array_push(x_563, x_11); +lean_inc(x_540); +x_883 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_883, 0, x_540); +lean_ctor_set(x_883, 1, x_550); +lean_ctor_set(x_883, 2, x_882); +x_884 = lean_array_push(x_571, x_881); +x_885 = lean_array_push(x_884, x_883); +lean_inc(x_765); +lean_inc(x_540); +x_886 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_886, 0, x_540); +lean_ctor_set(x_886, 1, x_765); +lean_ctor_set(x_886, 2, x_885); +lean_inc(x_552); +x_887 = lean_array_push(x_686, x_552); +lean_inc(x_552); +x_888 = lean_array_push(x_887, x_552); +lean_inc(x_637); +x_889 = lean_array_push(x_888, x_637); +lean_inc(x_889); +x_890 = lean_array_push(x_889, x_886); +lean_inc(x_877); +lean_inc(x_540); +x_891 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_891, 0, x_540); +lean_ctor_set(x_891, 1, x_877); +lean_ctor_set(x_891, 2, x_890); +x_892 = lean_array_push(x_563, x_891); +lean_inc(x_875); +lean_inc(x_540); +x_893 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_893, 0, x_540); +lean_ctor_set(x_893, 1, x_875); +lean_ctor_set(x_893, 2, x_892); +lean_inc(x_866); +x_894 = lean_array_push(x_866, x_893); +lean_inc(x_873); +lean_inc(x_540); +x_895 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_895, 0, x_540); +lean_ctor_set(x_895, 1, x_873); +lean_ctor_set(x_895, 2, x_894); +x_896 = lean_array_push(x_571, x_895); +lean_inc(x_552); +x_897 = lean_array_push(x_896, x_552); +lean_inc(x_657); +lean_inc(x_540); +x_898 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_898, 0, x_540); +lean_ctor_set(x_898, 1, x_657); +lean_ctor_set(x_898, 2, x_897); +x_899 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__75; +lean_inc(x_542); +lean_inc(x_543); +x_900 = l_Lean_addMacroScope(x_543, x_899, x_542); +x_901 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__73; +lean_inc(x_540); +x_902 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_902, 0, x_540); +lean_ctor_set(x_902, 1, x_901); +lean_ctor_set(x_902, 2, x_900); +lean_ctor_set(x_902, 3, x_604); +x_903 = l_Lean_TSyntax_expandInterpolatedStr___closed__2; +lean_inc(x_554); +x_904 = l_Lean_Name_str___override(x_554, x_903); +x_905 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__79; +lean_inc(x_542); +lean_inc(x_543); +x_906 = l_Lean_addMacroScope(x_543, x_905, x_542); +x_907 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__76; lean_inc(x_3); -x_891 = l_Lean_Name_str___override(x_3, x_890); -lean_inc(x_891); -x_892 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_892, 0, x_891); -lean_ctor_set(x_892, 1, x_587); -x_893 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_893, 0, x_891); -x_894 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_894, 0, x_893); -lean_ctor_set(x_894, 1, x_587); -x_895 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_895, 0, x_892); -lean_ctor_set(x_895, 1, x_894); -x_896 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__78; -lean_inc(x_523); -x_897 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_897, 0, x_523); -lean_ctor_set(x_897, 1, x_896); -lean_ctor_set(x_897, 2, x_889); -lean_ctor_set(x_897, 3, x_895); -lean_inc(x_679); -x_898 = lean_array_push(x_671, x_679); -lean_inc(x_564); -x_899 = lean_array_push(x_898, x_564); -lean_inc(x_523); -x_900 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_900, 0, x_523); -lean_ctor_set(x_900, 1, x_674); -lean_ctor_set(x_900, 2, x_899); -x_901 = lean_array_push(x_554, x_900); -x_902 = lean_array_push(x_901, x_12); -lean_inc(x_523); -x_903 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_903, 0, x_523); -lean_ctor_set(x_903, 1, x_533); -lean_ctor_set(x_903, 2, x_902); -x_904 = lean_array_push(x_554, x_897); -x_905 = lean_array_push(x_904, x_903); -lean_inc(x_748); -lean_inc(x_523); -x_906 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_906, 0, x_523); -lean_ctor_set(x_906, 1, x_748); -lean_ctor_set(x_906, 2, x_905); -x_907 = lean_array_push(x_554, x_906); -lean_inc(x_535); -x_908 = lean_array_push(x_907, x_535); -lean_inc(x_523); -x_909 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_909, 0, x_523); -lean_ctor_set(x_909, 1, x_533); -lean_ctor_set(x_909, 2, x_908); -x_910 = lean_array_push(x_565, x_713); -lean_inc(x_910); -x_911 = lean_array_push(x_910, x_909); -lean_inc(x_728); -x_912 = lean_array_push(x_911, x_728); -lean_inc(x_887); -lean_inc(x_523); -x_913 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_913, 0, x_523); -lean_ctor_set(x_913, 1, x_887); -lean_ctor_set(x_913, 2, x_912); -x_914 = lean_array_push(x_554, x_679); -x_915 = lean_array_push(x_914, x_913); -lean_inc(x_523); -x_916 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_916, 0, x_523); -lean_ctor_set(x_916, 1, x_533); -lean_ctor_set(x_916, 2, x_915); -x_917 = lean_array_push(x_554, x_885); -lean_inc(x_917); -x_918 = lean_array_push(x_917, x_916); -lean_inc(x_748); -lean_inc(x_523); -x_919 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_919, 0, x_523); -lean_ctor_set(x_919, 1, x_748); -lean_ctor_set(x_919, 2, x_918); -x_920 = lean_array_push(x_872, x_919); -lean_inc(x_860); -lean_inc(x_523); -x_921 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_921, 0, x_523); -lean_ctor_set(x_921, 1, x_860); -lean_ctor_set(x_921, 2, x_920); -x_922 = lean_array_push(x_546, x_921); -lean_inc(x_858); -lean_inc(x_523); -x_923 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_923, 0, x_523); -lean_ctor_set(x_923, 1, x_858); -lean_ctor_set(x_923, 2, x_922); -lean_inc(x_849); -x_924 = lean_array_push(x_849, x_923); -lean_inc(x_856); -lean_inc(x_523); -x_925 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_925, 0, x_523); -lean_ctor_set(x_925, 1, x_856); -lean_ctor_set(x_925, 2, x_924); -x_926 = lean_array_push(x_554, x_925); -lean_inc(x_535); -x_927 = lean_array_push(x_926, x_535); -lean_inc(x_640); -lean_inc(x_523); -x_928 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_928, 0, x_523); -lean_ctor_set(x_928, 1, x_640); -lean_ctor_set(x_928, 2, x_927); -x_929 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__83; -lean_inc(x_525); -lean_inc(x_526); -x_930 = l_Lean_addMacroScope(x_526, x_929, x_525); -x_931 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__82; -lean_inc(x_523); -x_932 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_932, 0, x_523); -lean_ctor_set(x_932, 1, x_931); -lean_ctor_set(x_932, 2, x_930); -lean_ctor_set(x_932, 3, x_587); -x_933 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; -x_934 = l_Lean_addMacroScope(x_526, x_933, x_525); -x_935 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; -x_936 = l_Lean_Name_str___override(x_3, x_935); -lean_inc(x_936); -x_937 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_937, 0, x_936); -lean_ctor_set(x_937, 1, x_587); -x_938 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_938, 0, x_936); -x_939 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_939, 0, x_938); -lean_ctor_set(x_939, 1, x_587); -x_940 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_940, 0, x_937); -lean_ctor_set(x_940, 1, x_939); -x_941 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; -lean_inc(x_523); -x_942 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_942, 0, x_523); -lean_ctor_set(x_942, 1, x_941); -lean_ctor_set(x_942, 2, x_934); -lean_ctor_set(x_942, 3, x_940); -x_943 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__10; -lean_inc(x_523); -x_944 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_944, 0, x_523); -lean_ctor_set(x_944, 1, x_943); -x_945 = lean_array_push(x_546, x_650); -lean_inc(x_523); -x_946 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_946, 0, x_523); -lean_ctor_set(x_946, 1, x_533); -lean_ctor_set(x_946, 2, x_945); -x_947 = lean_array_push(x_565, x_944); -x_948 = lean_array_push(x_947, x_946); -x_949 = lean_array_push(x_948, x_564); -x_950 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; -lean_inc(x_523); -x_951 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_951, 0, x_523); -lean_ctor_set(x_951, 1, x_950); -lean_ctor_set(x_951, 2, x_949); -x_952 = lean_array_push(x_546, x_951); -lean_inc(x_523); +x_908 = l_Lean_Name_str___override(x_3, x_907); +lean_inc(x_908); +x_909 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_909, 0, x_908); +lean_ctor_set(x_909, 1, x_604); +x_910 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_910, 0, x_908); +x_911 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_911, 0, x_910); +lean_ctor_set(x_911, 1, x_604); +x_912 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_912, 0, x_909); +lean_ctor_set(x_912, 1, x_911); +x_913 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__78; +lean_inc(x_540); +x_914 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_914, 0, x_540); +lean_ctor_set(x_914, 1, x_913); +lean_ctor_set(x_914, 2, x_906); +lean_ctor_set(x_914, 3, x_912); +lean_inc(x_696); +x_915 = lean_array_push(x_688, x_696); +lean_inc(x_581); +x_916 = lean_array_push(x_915, x_581); +lean_inc(x_540); +x_917 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_917, 0, x_540); +lean_ctor_set(x_917, 1, x_691); +lean_ctor_set(x_917, 2, x_916); +x_918 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__80; +lean_inc(x_554); +x_919 = l_Lean_Name_str___override(x_554, x_918); +x_920 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__84; +lean_inc(x_542); +lean_inc(x_543); +x_921 = l_Lean_addMacroScope(x_543, x_920, x_542); +x_922 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__83; +lean_inc(x_540); +x_923 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_923, 0, x_540); +lean_ctor_set(x_923, 1, x_922); +lean_ctor_set(x_923, 2, x_921); +lean_ctor_set(x_923, 3, x_604); +x_924 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; +lean_inc(x_542); +lean_inc(x_543); +x_925 = l_Lean_addMacroScope(x_543, x_924, x_542); +x_926 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_927 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; +lean_inc(x_540); +x_928 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_928, 0, x_540); +lean_ctor_set(x_928, 1, x_926); +lean_ctor_set(x_928, 2, x_925); +lean_ctor_set(x_928, 3, x_927); +x_929 = lean_array_push(x_746, x_923); +lean_inc(x_637); +x_930 = lean_array_push(x_929, x_637); +x_931 = lean_array_push(x_930, x_928); +lean_inc(x_745); +x_932 = lean_array_push(x_931, x_745); +lean_inc(x_540); +x_933 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_933, 0, x_540); +lean_ctor_set(x_933, 1, x_919); +lean_ctor_set(x_933, 2, x_932); +x_934 = lean_array_push(x_582, x_917); +x_935 = lean_array_push(x_934, x_12); +x_936 = lean_array_push(x_935, x_933); +lean_inc(x_540); +x_937 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_937, 0, x_540); +lean_ctor_set(x_937, 1, x_550); +lean_ctor_set(x_937, 2, x_936); +x_938 = lean_array_push(x_571, x_914); +x_939 = lean_array_push(x_938, x_937); +lean_inc(x_765); +lean_inc(x_540); +x_940 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_940, 0, x_540); +lean_ctor_set(x_940, 1, x_765); +lean_ctor_set(x_940, 2, x_939); +x_941 = lean_array_push(x_571, x_940); +lean_inc(x_552); +x_942 = lean_array_push(x_941, x_552); +lean_inc(x_540); +x_943 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_943, 0, x_540); +lean_ctor_set(x_943, 1, x_550); +lean_ctor_set(x_943, 2, x_942); +x_944 = lean_array_push(x_582, x_730); +lean_inc(x_944); +x_945 = lean_array_push(x_944, x_943); +lean_inc(x_745); +x_946 = lean_array_push(x_945, x_745); +lean_inc(x_904); +lean_inc(x_540); +x_947 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_947, 0, x_540); +lean_ctor_set(x_947, 1, x_904); +lean_ctor_set(x_947, 2, x_946); +x_948 = lean_array_push(x_571, x_696); +x_949 = lean_array_push(x_948, x_947); +lean_inc(x_540); +x_950 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_950, 0, x_540); +lean_ctor_set(x_950, 1, x_550); +lean_ctor_set(x_950, 2, x_949); +x_951 = lean_array_push(x_571, x_902); +lean_inc(x_951); +x_952 = lean_array_push(x_951, x_950); +lean_inc(x_765); +lean_inc(x_540); x_953 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_953, 0, x_523); -lean_ctor_set(x_953, 1, x_533); +lean_ctor_set(x_953, 0, x_540); +lean_ctor_set(x_953, 1, x_765); lean_ctor_set(x_953, 2, x_952); -x_954 = lean_array_push(x_554, x_942); -x_955 = lean_array_push(x_954, x_953); -lean_inc(x_748); -lean_inc(x_523); -x_956 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_956, 0, x_523); -lean_ctor_set(x_956, 1, x_748); -lean_ctor_set(x_956, 2, x_955); -x_957 = lean_array_push(x_554, x_956); -lean_inc(x_535); -x_958 = lean_array_push(x_957, x_535); -lean_inc(x_523); +x_954 = lean_array_push(x_889, x_953); +lean_inc(x_877); +lean_inc(x_540); +x_955 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_955, 0, x_540); +lean_ctor_set(x_955, 1, x_877); +lean_ctor_set(x_955, 2, x_954); +x_956 = lean_array_push(x_563, x_955); +lean_inc(x_875); +lean_inc(x_540); +x_957 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_957, 0, x_540); +lean_ctor_set(x_957, 1, x_875); +lean_ctor_set(x_957, 2, x_956); +lean_inc(x_866); +x_958 = lean_array_push(x_866, x_957); +lean_inc(x_873); +lean_inc(x_540); x_959 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_959, 0, x_523); -lean_ctor_set(x_959, 1, x_533); +lean_ctor_set(x_959, 0, x_540); +lean_ctor_set(x_959, 1, x_873); lean_ctor_set(x_959, 2, x_958); -x_960 = lean_array_push(x_910, x_959); -x_961 = lean_array_push(x_960, x_728); -lean_inc(x_523); +x_960 = lean_array_push(x_571, x_959); +lean_inc(x_552); +x_961 = lean_array_push(x_960, x_552); +lean_inc(x_657); +lean_inc(x_540); x_962 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_962, 0, x_523); -lean_ctor_set(x_962, 1, x_887); +lean_ctor_set(x_962, 0, x_540); +lean_ctor_set(x_962, 1, x_657); lean_ctor_set(x_962, 2, x_961); -x_963 = lean_array_push(x_554, x_667); -x_964 = lean_array_push(x_963, x_962); -lean_inc(x_523); -x_965 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_965, 0, x_523); -lean_ctor_set(x_965, 1, x_533); -lean_ctor_set(x_965, 2, x_964); -x_966 = lean_array_push(x_917, x_965); -lean_inc(x_523); -x_967 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_967, 0, x_523); -lean_ctor_set(x_967, 1, x_748); -lean_ctor_set(x_967, 2, x_966); -lean_inc(x_932); -x_968 = lean_array_push(x_668, x_932); -lean_inc(x_535); -x_969 = lean_array_push(x_968, x_535); -lean_inc(x_535); -x_970 = lean_array_push(x_969, x_535); -lean_inc(x_620); -x_971 = lean_array_push(x_970, x_620); -x_972 = lean_array_push(x_971, x_967); -lean_inc(x_523); -x_973 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_973, 0, x_523); -lean_ctor_set(x_973, 1, x_860); -lean_ctor_set(x_973, 2, x_972); -x_974 = lean_array_push(x_546, x_973); -lean_inc(x_523); -x_975 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_975, 0, x_523); -lean_ctor_set(x_975, 1, x_858); -lean_ctor_set(x_975, 2, x_974); -x_976 = lean_array_push(x_849, x_975); -lean_inc(x_523); -x_977 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_977, 0, x_523); -lean_ctor_set(x_977, 1, x_856); -lean_ctor_set(x_977, 2, x_976); -x_978 = lean_array_push(x_554, x_977); -lean_inc(x_535); -x_979 = lean_array_push(x_978, x_535); -lean_inc(x_640); -lean_inc(x_523); +x_963 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93; +lean_inc(x_542); +lean_inc(x_543); +x_964 = l_Lean_addMacroScope(x_543, x_963, x_542); +x_965 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92; +lean_inc(x_540); +x_966 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_966, 0, x_540); +lean_ctor_set(x_966, 1, x_965); +lean_ctor_set(x_966, 2, x_964); +lean_ctor_set(x_966, 3, x_604); +x_967 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97; +x_968 = l_Lean_addMacroScope(x_543, x_967, x_542); +x_969 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94; +x_970 = l_Lean_Name_str___override(x_3, x_969); +lean_inc(x_970); +x_971 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_971, 0, x_970); +lean_ctor_set(x_971, 1, x_604); +x_972 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_972, 0, x_970); +x_973 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_973, 0, x_972); +lean_ctor_set(x_973, 1, x_604); +x_974 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_974, 0, x_971); +lean_ctor_set(x_974, 1, x_973); +x_975 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__96; +lean_inc(x_540); +x_976 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_976, 0, x_540); +lean_ctor_set(x_976, 1, x_975); +lean_ctor_set(x_976, 2, x_968); +lean_ctor_set(x_976, 3, x_974); +x_977 = l___private_Init_Meta_0__Lean_Syntax_reprSyntax____x40_Init_Meta___hyg_2110____closed__10; +lean_inc(x_540); +x_978 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_978, 0, x_540); +lean_ctor_set(x_978, 1, x_977); +x_979 = lean_array_push(x_563, x_667); +lean_inc(x_540); x_980 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_980, 0, x_523); -lean_ctor_set(x_980, 1, x_640); +lean_ctor_set(x_980, 0, x_540); +lean_ctor_set(x_980, 1, x_550); lean_ctor_set(x_980, 2, x_979); -x_981 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__90; -x_982 = l_Lean_Name_str___override(x_537, x_981); -x_983 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__91; -lean_inc(x_523); -x_984 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_984, 0, x_523); -lean_ctor_set(x_984, 1, x_983); -x_985 = lean_array_push(x_546, x_932); -lean_inc(x_523); -x_986 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_986, 0, x_523); -lean_ctor_set(x_986, 1, x_533); -lean_ctor_set(x_986, 2, x_985); -x_987 = lean_array_push(x_554, x_984); -x_988 = lean_array_push(x_987, x_986); -lean_inc(x_523); -x_989 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_989, 0, x_523); -lean_ctor_set(x_989, 1, x_982); -lean_ctor_set(x_989, 2, x_988); -x_990 = lean_array_push(x_554, x_989); -lean_inc(x_535); -x_991 = lean_array_push(x_990, x_535); -lean_inc(x_523); -x_992 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_992, 0, x_523); -lean_ctor_set(x_992, 1, x_640); -lean_ctor_set(x_992, 2, x_991); -x_993 = lean_array_push(x_668, x_854); -x_994 = lean_array_push(x_993, x_881); -x_995 = lean_array_push(x_994, x_928); -x_996 = lean_array_push(x_995, x_980); -x_997 = lean_array_push(x_996, x_992); -lean_inc(x_523); -x_998 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_998, 0, x_523); -lean_ctor_set(x_998, 1, x_533); -lean_ctor_set(x_998, 2, x_997); -x_999 = lean_array_push(x_546, x_998); -lean_inc(x_523); -x_1000 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1000, 0, x_523); -lean_ctor_set(x_1000, 1, x_638); -lean_ctor_set(x_1000, 2, x_999); -x_1001 = lean_array_push(x_554, x_636); -x_1002 = lean_array_push(x_1001, x_1000); -lean_inc(x_523); -x_1003 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1003, 0, x_523); -lean_ctor_set(x_1003, 1, x_635); -lean_ctor_set(x_1003, 2, x_1002); -x_1004 = lean_array_push(x_721, x_631); -lean_inc(x_535); -x_1005 = lean_array_push(x_1004, x_535); -x_1006 = lean_array_push(x_1005, x_633); -x_1007 = lean_array_push(x_1006, x_1003); -lean_inc(x_523); -x_1008 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1008, 0, x_523); -lean_ctor_set(x_1008, 1, x_625); -lean_ctor_set(x_1008, 2, x_1007); -x_1009 = lean_array_push(x_554, x_623); -x_1010 = lean_array_push(x_1009, x_1008); -lean_inc(x_523); +x_981 = lean_array_push(x_582, x_978); +x_982 = lean_array_push(x_981, x_980); +x_983 = lean_array_push(x_982, x_581); +x_984 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__99; +lean_inc(x_540); +x_985 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_985, 0, x_540); +lean_ctor_set(x_985, 1, x_984); +lean_ctor_set(x_985, 2, x_983); +x_986 = lean_array_push(x_563, x_985); +lean_inc(x_540); +x_987 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_987, 0, x_540); +lean_ctor_set(x_987, 1, x_550); +lean_ctor_set(x_987, 2, x_986); +x_988 = lean_array_push(x_571, x_976); +x_989 = lean_array_push(x_988, x_987); +lean_inc(x_765); +lean_inc(x_540); +x_990 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_990, 0, x_540); +lean_ctor_set(x_990, 1, x_765); +lean_ctor_set(x_990, 2, x_989); +x_991 = lean_array_push(x_571, x_990); +lean_inc(x_552); +x_992 = lean_array_push(x_991, x_552); +lean_inc(x_540); +x_993 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_993, 0, x_540); +lean_ctor_set(x_993, 1, x_550); +lean_ctor_set(x_993, 2, x_992); +x_994 = lean_array_push(x_944, x_993); +x_995 = lean_array_push(x_994, x_745); +lean_inc(x_540); +x_996 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_996, 0, x_540); +lean_ctor_set(x_996, 1, x_904); +lean_ctor_set(x_996, 2, x_995); +x_997 = lean_array_push(x_571, x_684); +x_998 = lean_array_push(x_997, x_996); +lean_inc(x_540); +x_999 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_999, 0, x_540); +lean_ctor_set(x_999, 1, x_550); +lean_ctor_set(x_999, 2, x_998); +x_1000 = lean_array_push(x_951, x_999); +lean_inc(x_540); +x_1001 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1001, 0, x_540); +lean_ctor_set(x_1001, 1, x_765); +lean_ctor_set(x_1001, 2, x_1000); +lean_inc(x_966); +x_1002 = lean_array_push(x_685, x_966); +lean_inc(x_552); +x_1003 = lean_array_push(x_1002, x_552); +lean_inc(x_552); +x_1004 = lean_array_push(x_1003, x_552); +lean_inc(x_637); +x_1005 = lean_array_push(x_1004, x_637); +x_1006 = lean_array_push(x_1005, x_1001); +lean_inc(x_540); +x_1007 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1007, 0, x_540); +lean_ctor_set(x_1007, 1, x_877); +lean_ctor_set(x_1007, 2, x_1006); +x_1008 = lean_array_push(x_563, x_1007); +lean_inc(x_540); +x_1009 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1009, 0, x_540); +lean_ctor_set(x_1009, 1, x_875); +lean_ctor_set(x_1009, 2, x_1008); +x_1010 = lean_array_push(x_866, x_1009); +lean_inc(x_540); x_1011 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1011, 0, x_523); -lean_ctor_set(x_1011, 1, x_622); +lean_ctor_set(x_1011, 0, x_540); +lean_ctor_set(x_1011, 1, x_873); lean_ctor_set(x_1011, 2, x_1010); -x_1012 = lean_array_push(x_565, x_620); -x_1013 = lean_array_push(x_1012, x_1011); -lean_inc(x_535); -x_1014 = lean_array_push(x_1013, x_535); -lean_inc(x_523); -x_1015 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1015, 0, x_523); -lean_ctor_set(x_1015, 1, x_618); -lean_ctor_set(x_1015, 2, x_1014); -x_1016 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92; -x_1017 = lean_array_push(x_1016, x_582); -x_1018 = lean_array_push(x_1017, x_592); -x_1019 = lean_array_push(x_1018, x_616); -x_1020 = lean_array_push(x_1019, x_1015); -lean_inc(x_535); -x_1021 = lean_array_push(x_1020, x_535); -lean_inc(x_535); -x_1022 = lean_array_push(x_1021, x_535); -x_1023 = lean_array_push(x_1022, x_535); -lean_inc(x_523); -x_1024 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1024, 0, x_523); -lean_ctor_set(x_1024, 1, x_581); -lean_ctor_set(x_1024, 2, x_1023); -x_1025 = lean_array_push(x_554, x_579); -x_1026 = lean_array_push(x_1025, x_1024); -lean_inc(x_523); -x_1027 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1027, 0, x_523); -lean_ctor_set(x_1027, 1, x_530); -lean_ctor_set(x_1027, 2, x_1026); -x_1028 = lean_array_push(x_554, x_13); -x_1029 = lean_array_push(x_1028, x_1027); -x_1030 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1030, 0, x_523); -lean_ctor_set(x_1030, 1, x_533); -lean_ctor_set(x_1030, 2, x_1029); -x_1031 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1031, 0, x_1030); -lean_ctor_set(x_1031, 1, x_524); -return x_1031; +x_1012 = lean_array_push(x_571, x_1011); +lean_inc(x_552); +x_1013 = lean_array_push(x_1012, x_552); +lean_inc(x_657); +lean_inc(x_540); +x_1014 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1014, 0, x_540); +lean_ctor_set(x_1014, 1, x_657); +lean_ctor_set(x_1014, 2, x_1013); +x_1015 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__100; +x_1016 = l_Lean_Name_str___override(x_554, x_1015); +x_1017 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__101; +lean_inc(x_540); +x_1018 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1018, 0, x_540); +lean_ctor_set(x_1018, 1, x_1017); +x_1019 = lean_array_push(x_563, x_966); +lean_inc(x_540); +x_1020 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1020, 0, x_540); +lean_ctor_set(x_1020, 1, x_550); +lean_ctor_set(x_1020, 2, x_1019); +x_1021 = lean_array_push(x_571, x_1018); +x_1022 = lean_array_push(x_1021, x_1020); +lean_inc(x_540); +x_1023 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1023, 0, x_540); +lean_ctor_set(x_1023, 1, x_1016); +lean_ctor_set(x_1023, 2, x_1022); +x_1024 = lean_array_push(x_571, x_1023); +lean_inc(x_552); +x_1025 = lean_array_push(x_1024, x_552); +lean_inc(x_540); +x_1026 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1026, 0, x_540); +lean_ctor_set(x_1026, 1, x_657); +lean_ctor_set(x_1026, 2, x_1025); +x_1027 = lean_array_push(x_685, x_871); +x_1028 = lean_array_push(x_1027, x_898); +x_1029 = lean_array_push(x_1028, x_962); +x_1030 = lean_array_push(x_1029, x_1014); +x_1031 = lean_array_push(x_1030, x_1026); +lean_inc(x_540); +x_1032 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1032, 0, x_540); +lean_ctor_set(x_1032, 1, x_550); +lean_ctor_set(x_1032, 2, x_1031); +x_1033 = lean_array_push(x_563, x_1032); +lean_inc(x_540); +x_1034 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1034, 0, x_540); +lean_ctor_set(x_1034, 1, x_655); +lean_ctor_set(x_1034, 2, x_1033); +x_1035 = lean_array_push(x_571, x_653); +x_1036 = lean_array_push(x_1035, x_1034); +lean_inc(x_540); +x_1037 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1037, 0, x_540); +lean_ctor_set(x_1037, 1, x_652); +lean_ctor_set(x_1037, 2, x_1036); +x_1038 = lean_array_push(x_738, x_648); +lean_inc(x_552); +x_1039 = lean_array_push(x_1038, x_552); +x_1040 = lean_array_push(x_1039, x_650); +x_1041 = lean_array_push(x_1040, x_1037); +lean_inc(x_540); +x_1042 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1042, 0, x_540); +lean_ctor_set(x_1042, 1, x_642); +lean_ctor_set(x_1042, 2, x_1041); +x_1043 = lean_array_push(x_571, x_640); +x_1044 = lean_array_push(x_1043, x_1042); +lean_inc(x_540); +x_1045 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1045, 0, x_540); +lean_ctor_set(x_1045, 1, x_639); +lean_ctor_set(x_1045, 2, x_1044); +x_1046 = lean_array_push(x_582, x_637); +x_1047 = lean_array_push(x_1046, x_1045); +lean_inc(x_552); +x_1048 = lean_array_push(x_1047, x_552); +lean_inc(x_540); +x_1049 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1049, 0, x_540); +lean_ctor_set(x_1049, 1, x_635); +lean_ctor_set(x_1049, 2, x_1048); +x_1050 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__102; +x_1051 = lean_array_push(x_1050, x_599); +x_1052 = lean_array_push(x_1051, x_609); +x_1053 = lean_array_push(x_1052, x_633); +x_1054 = lean_array_push(x_1053, x_1049); +lean_inc(x_552); +x_1055 = lean_array_push(x_1054, x_552); +lean_inc(x_552); +x_1056 = lean_array_push(x_1055, x_552); +x_1057 = lean_array_push(x_1056, x_552); +lean_inc(x_540); +x_1058 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1058, 0, x_540); +lean_ctor_set(x_1058, 1, x_598); +lean_ctor_set(x_1058, 2, x_1057); +x_1059 = lean_array_push(x_571, x_596); +x_1060 = lean_array_push(x_1059, x_1058); +lean_inc(x_540); +x_1061 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1061, 0, x_540); +lean_ctor_set(x_1061, 1, x_547); +lean_ctor_set(x_1061, 2, x_1060); +x_1062 = lean_array_push(x_571, x_13); +x_1063 = lean_array_push(x_1062, x_1061); +x_1064 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1064, 0, x_540); +lean_ctor_set(x_1064, 1, x_550); +lean_ctor_set(x_1064, 2, x_1063); +x_1065 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1065, 0, x_1064); +lean_ctor_set(x_1065, 1, x_541); +return x_1065; } } } @@ -26802,7 +27080,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } @@ -26811,7 +27089,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; x_2 = lean_unsigned_to_nat(0u); x_3 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__3; x_4 = lean_alloc_ctor(0, 3, 0); @@ -26826,7 +27104,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -26836,7 +27114,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_Tactic_tacticErw_______closed__2; -x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } @@ -29991,34 +30269,35 @@ x_1 = l_Lean_Parser_Tactic_simpAutoUnfold___closed__26; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____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_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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__95; x_6 = l_Lean_Syntax_setKind(x_1, x_5); x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_6, x_7); x_9 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__91; -x_10 = l_Lean_mkAtomFrom(x_8, x_9); -x_11 = l_Lean_Syntax_setArg(x_6, x_7, x_10); -x_12 = l_Lean_mkOptionalNode___closed__2; -x_13 = lean_array_push(x_12, x_2); -x_14 = lean_box(2); -x_15 = l_Lean_mkNullNode___closed__2; -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_13); -x_17 = lean_unsigned_to_nat(1u); -x_18 = l_Lean_Syntax_setArg(x_11, x_17, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_4); -return x_19; +x_10 = 0; +x_11 = l_Lean_mkAtomFrom(x_8, x_9, x_10); +x_12 = l_Lean_Syntax_setArg(x_6, x_7, x_11); +x_13 = l_Lean_mkOptionalNode___closed__2; +x_14 = lean_array_push(x_13, x_2); +x_15 = lean_box(2); +x_16 = l_Lean_mkNullNode___closed__2; +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_14); +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_setArg(x_12, x_18, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +return x_20; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30028,7 +30307,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -30038,7 +30317,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__3() { _start: { lean_object* x_1; @@ -30046,22 +30325,22 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Simp.Config", 21); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__3; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__3; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__3; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__3; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__4; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__4; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -30069,7 +30348,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__6() { _start: { lean_object* x_1; @@ -30077,17 +30356,17 @@ x_1 = lean_mk_string_from_bytes("Meta", 4); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_mapMUnsafe_map___at_Lean_expandMacros___spec__1___lambda__1___closed__2; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__8() { _start: { lean_object* x_1; @@ -30095,17 +30374,17 @@ x_1 = lean_mk_string_from_bytes("Simp", 4); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__7; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__8; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__10() { _start: { lean_object* x_1; @@ -30113,78 +30392,78 @@ x_1 = lean_mk_string_from_bytes("Config", 6); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__9; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__10; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__9; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__13() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__13() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__14() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__14() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__13; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____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; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__12; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__14; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__12; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__14; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__16() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__16() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20; +x_1 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__16; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____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); @@ -30192,74 +30471,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20; +x_2 = l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__19() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_instQuoteBoolStrAnonymous___closed__6; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_instQuoteBoolStrAnonymous___closed__6; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__19; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_instQuoteBoolStrAnonymous___closed__6; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__22() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_instQuoteBoolStrAnonymous___closed__7; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__22; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824_(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; uint8_t x_9; @@ -30323,12 +30545,12 @@ lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -30417,11 +30639,11 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_11); lean_ctor_set(x_69, 1, x_42); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; lean_inc(x_13); lean_inc(x_14); x_71 = l_Lean_addMacroScope(x_14, x_70, x_13); -x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_11); x_73 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_73, 0, x_11); @@ -30437,10 +30659,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_11); lean_ctor_set(x_77, 1, x_76); lean_ctor_set(x_77, 2, x_75); -x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_78 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_80 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_81 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -30500,7 +30722,7 @@ lean_inc(x_58); x_106 = lean_array_push(x_105, x_58); x_107 = lean_array_push(x_106, x_60); x_108 = lean_array_push(x_107, x_103); -x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_11); x_110 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_110, 0, x_11); @@ -30508,7 +30730,7 @@ lean_ctor_set(x_110, 1, x_109); lean_ctor_set(x_110, 2, x_108); x_111 = lean_array_push(x_35, x_22); x_112 = lean_array_push(x_111, x_110); -x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_11); x_114 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_114, 0, x_11); @@ -30567,7 +30789,7 @@ x_141 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_141, 0, x_11); lean_ctor_set(x_141, 1, x_8); lean_ctor_set(x_141, 2, x_140); -x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(x_1, x_141, x_2, x_12); +x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(x_1, x_141, x_2, x_12); lean_dec(x_2); return x_142; } @@ -30625,12 +30847,12 @@ lean_inc(x_146); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_146); lean_ctor_set(x_164, 1, x_163); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; lean_inc(x_148); lean_inc(x_149); x_166 = l_Lean_addMacroScope(x_149, x_165, x_148); -x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5; -x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15; +x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5; +x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15; lean_inc(x_146); x_169 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_169, 0, x_146); @@ -30719,11 +30941,11 @@ x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_146); lean_ctor_set(x_204, 1, x_177); lean_ctor_set(x_204, 2, x_203); -x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; lean_inc(x_148); lean_inc(x_149); x_206 = l_Lean_addMacroScope(x_149, x_205, x_148); -x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_146); x_208 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_208, 0, x_146); @@ -30739,10 +30961,10 @@ x_212 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_212, 0, x_146); lean_ctor_set(x_212, 1, x_211); lean_ctor_set(x_212, 2, x_210); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_213 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_214 = l_Lean_addMacroScope(x_149, x_213, x_148); -x_215 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_216 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_215 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_216 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_146); x_217 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_217, 0, x_146); @@ -30797,7 +31019,7 @@ x_240 = lean_array_push(x_239, x_191); x_241 = lean_array_push(x_240, x_193); x_242 = lean_array_push(x_241, x_195); x_243 = lean_array_push(x_242, x_238); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_146); x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_146); @@ -30805,7 +31027,7 @@ lean_ctor_set(x_245, 1, x_244); lean_ctor_set(x_245, 2, x_243); x_246 = lean_array_push(x_170, x_157); x_247 = lean_array_push(x_246, x_245); -x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_146); x_249 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_249, 0, x_146); @@ -30835,17 +31057,17 @@ x_262 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_262, 0, x_146); lean_ctor_set(x_262, 1, x_8); lean_ctor_set(x_262, 2, x_261); -x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(x_1, x_262, x_2, x_147); +x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(x_1, x_262, x_2, x_147); lean_dec(x_2); return x_263; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -30980,22 +31202,22 @@ x_1 = l_Lean_Parser_Tactic_simpArith___closed__10; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16; +x_1 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__1; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____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); @@ -31003,17 +31225,17 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____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_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16; +x_2 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795_(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; uint8_t x_9; @@ -31077,12 +31299,12 @@ lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -31171,11 +31393,11 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_11); lean_ctor_set(x_69, 1, x_42); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_13); lean_inc(x_14); x_71 = l_Lean_addMacroScope(x_14, x_70, x_13); -x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_11); x_73 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_73, 0, x_11); @@ -31191,10 +31413,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_11); lean_ctor_set(x_77, 1, x_76); lean_ctor_set(x_77, 2, x_75); -x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_78 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_80 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_81 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -31254,7 +31476,7 @@ lean_inc(x_58); x_106 = lean_array_push(x_105, x_58); x_107 = lean_array_push(x_106, x_60); x_108 = lean_array_push(x_107, x_103); -x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_11); x_110 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_110, 0, x_11); @@ -31262,7 +31484,7 @@ lean_ctor_set(x_110, 1, x_109); lean_ctor_set(x_110, 2, x_108); x_111 = lean_array_push(x_35, x_22); x_112 = lean_array_push(x_111, x_110); -x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_11); x_114 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_114, 0, x_11); @@ -31321,7 +31543,7 @@ x_141 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_141, 0, x_11); lean_ctor_set(x_141, 1, x_8); lean_ctor_set(x_141, 2, x_140); -x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(x_1, x_141, x_2, x_12); +x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(x_1, x_141, x_2, x_12); lean_dec(x_2); return x_142; } @@ -31379,12 +31601,12 @@ lean_inc(x_146); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_146); lean_ctor_set(x_164, 1, x_163); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; lean_inc(x_148); lean_inc(x_149); x_166 = l_Lean_addMacroScope(x_149, x_165, x_148); -x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5; -x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15; +x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5; +x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15; lean_inc(x_146); x_169 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_169, 0, x_146); @@ -31473,11 +31695,11 @@ x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_146); lean_ctor_set(x_204, 1, x_177); lean_ctor_set(x_204, 2, x_203); -x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_148); lean_inc(x_149); x_206 = l_Lean_addMacroScope(x_149, x_205, x_148); -x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_146); x_208 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_208, 0, x_146); @@ -31493,10 +31715,10 @@ x_212 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_212, 0, x_146); lean_ctor_set(x_212, 1, x_211); lean_ctor_set(x_212, 2, x_210); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_213 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_214 = l_Lean_addMacroScope(x_149, x_213, x_148); -x_215 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_216 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_215 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_216 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_146); x_217 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_217, 0, x_146); @@ -31551,7 +31773,7 @@ x_240 = lean_array_push(x_239, x_191); x_241 = lean_array_push(x_240, x_193); x_242 = lean_array_push(x_241, x_195); x_243 = lean_array_push(x_242, x_238); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_146); x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_146); @@ -31559,7 +31781,7 @@ lean_ctor_set(x_245, 1, x_244); lean_ctor_set(x_245, 2, x_243); x_246 = lean_array_push(x_170, x_157); x_247 = lean_array_push(x_246, x_245); -x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_146); x_249 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_249, 0, x_146); @@ -31589,7 +31811,7 @@ x_262 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_262, 0, x_146); lean_ctor_set(x_262, 1, x_8); lean_ctor_set(x_262, 2, x_261); -x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(x_1, x_262, x_2, x_147); +x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(x_1, x_262, x_2, x_147); lean_dec(x_2); return x_263; } @@ -31725,7 +31947,7 @@ x_1 = l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__10; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18694_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_18766_(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; uint8_t x_9; @@ -31789,12 +32011,12 @@ lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -31883,11 +32105,11 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_11); lean_ctor_set(x_69, 1, x_42); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_13); lean_inc(x_14); x_71 = l_Lean_addMacroScope(x_14, x_70, x_13); -x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_11); x_73 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_73, 0, x_11); @@ -31903,12 +32125,12 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_11); lean_ctor_set(x_77, 1, x_76); lean_ctor_set(x_77, 2, x_75); -x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_78 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; lean_inc(x_13); lean_inc(x_14); x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_80 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_81 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -31931,9 +32153,9 @@ lean_inc(x_11); x_89 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_89, 0, x_11); lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_90 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; x_91 = l_Lean_addMacroScope(x_14, x_90, x_13); -x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_11); x_93 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_93, 0, x_11); @@ -32002,7 +32224,7 @@ lean_inc(x_58); x_121 = lean_array_push(x_120, x_58); x_122 = lean_array_push(x_121, x_60); x_123 = lean_array_push(x_122, x_118); -x_124 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_124 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_11); x_125 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_125, 0, x_11); @@ -32010,7 +32232,7 @@ lean_ctor_set(x_125, 1, x_124); lean_ctor_set(x_125, 2, x_123); x_126 = lean_array_push(x_35, x_22); x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_128 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_11); x_129 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_129, 0, x_11); @@ -32069,7 +32291,7 @@ x_156 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_156, 0, x_11); lean_ctor_set(x_156, 1, x_8); lean_ctor_set(x_156, 2, x_155); -x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(x_1, x_156, x_2, x_12); +x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(x_1, x_156, x_2, x_12); lean_dec(x_2); return x_157; } @@ -32127,12 +32349,12 @@ lean_inc(x_161); x_179 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_179, 0, x_161); lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11; +x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11; lean_inc(x_163); lean_inc(x_164); x_181 = l_Lean_addMacroScope(x_164, x_180, x_163); -x_182 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5; -x_183 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15; +x_182 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5; +x_183 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15; lean_inc(x_161); x_184 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_184, 0, x_161); @@ -32221,11 +32443,11 @@ x_219 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_219, 0, x_161); lean_ctor_set(x_219, 1, x_192); lean_ctor_set(x_219, 2, x_218); -x_220 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_220 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_163); lean_inc(x_164); x_221 = l_Lean_addMacroScope(x_164, x_220, x_163); -x_222 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_222 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_161); x_223 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_223, 0, x_161); @@ -32241,12 +32463,12 @@ x_227 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_227, 0, x_161); lean_ctor_set(x_227, 1, x_226); lean_ctor_set(x_227, 2, x_225); -x_228 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_228 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; lean_inc(x_163); lean_inc(x_164); x_229 = l_Lean_addMacroScope(x_164, x_228, x_163); -x_230 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_231 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_230 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_231 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_161); x_232 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_232, 0, x_161); @@ -32269,9 +32491,9 @@ lean_inc(x_161); x_239 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_239, 0, x_161); lean_ctor_set(x_239, 1, x_238); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; x_241 = l_Lean_addMacroScope(x_164, x_240, x_163); -x_242 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_242 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_161); x_243 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_243, 0, x_161); @@ -32335,7 +32557,7 @@ x_270 = lean_array_push(x_269, x_206); x_271 = lean_array_push(x_270, x_208); x_272 = lean_array_push(x_271, x_210); x_273 = lean_array_push(x_272, x_268); -x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_161); x_275 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_275, 0, x_161); @@ -32343,7 +32565,7 @@ lean_ctor_set(x_275, 1, x_274); lean_ctor_set(x_275, 2, x_273); x_276 = lean_array_push(x_185, x_172); x_277 = lean_array_push(x_276, x_275); -x_278 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_278 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_161); x_279 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_279, 0, x_161); @@ -32373,7 +32595,7 @@ x_292 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_292, 0, x_161); lean_ctor_set(x_292, 1, x_8); lean_ctor_set(x_292, 2, x_291); -x_293 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____lambda__1(x_1, x_292, x_2, x_162); +x_293 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____lambda__1(x_1, x_292, x_2, x_162); lean_dec(x_2); return x_293; } @@ -32551,7 +32773,7 @@ x_1 = l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -32559,34 +32781,35 @@ x_1 = lean_mk_string_from_bytes("simp_all", 8); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____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_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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__85; x_6 = l_Lean_Syntax_setKind(x_1, x_5); x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_6, x_7); -x_9 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___closed__1; -x_10 = l_Lean_mkAtomFrom(x_8, x_9); -x_11 = l_Lean_Syntax_setArg(x_6, x_7, x_10); -x_12 = l_Lean_mkOptionalNode___closed__2; -x_13 = lean_array_push(x_12, x_2); -x_14 = lean_box(2); -x_15 = l_Lean_mkNullNode___closed__2; -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_13); -x_17 = lean_unsigned_to_nat(1u); -x_18 = l_Lean_Syntax_setArg(x_11, x_17, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_4); -return x_19; +x_9 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___closed__1; +x_10 = 0; +x_11 = l_Lean_mkAtomFrom(x_8, x_9, x_10); +x_12 = l_Lean_Syntax_setArg(x_6, x_7, x_11); +x_13 = l_Lean_mkOptionalNode___closed__2; +x_14 = lean_array_push(x_13, x_2); +x_15 = lean_box(2); +x_16 = l_Lean_mkNullNode___closed__2; +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_14); +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_setArg(x_12, x_18, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +return x_20; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__1() { _start: { lean_object* x_1; @@ -32594,22 +32817,22 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.Simp.ConfigCtx", 24); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__2; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____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); @@ -32617,7 +32840,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__4() { _start: { lean_object* x_1; @@ -32625,63 +32848,63 @@ x_1 = lean_mk_string_from_bytes("ConfigCtx", 9); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__9; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__4; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__9; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__7; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__6; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__8; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845_(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; uint8_t x_9; @@ -32745,12 +32968,12 @@ lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -32839,11 +33062,11 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_11); lean_ctor_set(x_69, 1, x_42); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; lean_inc(x_13); lean_inc(x_14); x_71 = l_Lean_addMacroScope(x_14, x_70, x_13); -x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_11); x_73 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_73, 0, x_11); @@ -32859,10 +33082,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_11); lean_ctor_set(x_77, 1, x_76); lean_ctor_set(x_77, 2, x_75); -x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_78 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_80 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_81 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -32922,7 +33145,7 @@ lean_inc(x_58); x_106 = lean_array_push(x_105, x_58); x_107 = lean_array_push(x_106, x_60); x_108 = lean_array_push(x_107, x_103); -x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_11); x_110 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_110, 0, x_11); @@ -32930,7 +33153,7 @@ lean_ctor_set(x_110, 1, x_109); lean_ctor_set(x_110, 2, x_108); x_111 = lean_array_push(x_35, x_22); x_112 = lean_array_push(x_111, x_110); -x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_11); x_114 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_114, 0, x_11); @@ -32989,7 +33212,7 @@ x_141 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_141, 0, x_11); lean_ctor_set(x_141, 1, x_8); lean_ctor_set(x_141, 2, x_140); -x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(x_1, x_141, x_2, x_12); +x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(x_1, x_141, x_2, x_12); lean_dec(x_2); return x_142; } @@ -33047,12 +33270,12 @@ lean_inc(x_146); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_146); lean_ctor_set(x_164, 1, x_163); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; lean_inc(x_148); lean_inc(x_149); x_166 = l_Lean_addMacroScope(x_149, x_165, x_148); -x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3; -x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9; +x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3; +x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9; lean_inc(x_146); x_169 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_169, 0, x_146); @@ -33141,11 +33364,11 @@ x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_146); lean_ctor_set(x_204, 1, x_177); lean_ctor_set(x_204, 2, x_203); -x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; lean_inc(x_148); lean_inc(x_149); x_206 = l_Lean_addMacroScope(x_149, x_205, x_148); -x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_146); x_208 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_208, 0, x_146); @@ -33161,10 +33384,10 @@ x_212 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_212, 0, x_146); lean_ctor_set(x_212, 1, x_211); lean_ctor_set(x_212, 2, x_210); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_213 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_214 = l_Lean_addMacroScope(x_149, x_213, x_148); -x_215 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_216 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_215 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_216 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_146); x_217 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_217, 0, x_146); @@ -33219,7 +33442,7 @@ x_240 = lean_array_push(x_239, x_191); x_241 = lean_array_push(x_240, x_193); x_242 = lean_array_push(x_241, x_195); x_243 = lean_array_push(x_242, x_238); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_146); x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_146); @@ -33227,7 +33450,7 @@ lean_ctor_set(x_245, 1, x_244); lean_ctor_set(x_245, 2, x_243); x_246 = lean_array_push(x_170, x_157); x_247 = lean_array_push(x_246, x_245); -x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_146); x_249 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_249, 0, x_146); @@ -33257,17 +33480,17 @@ x_262 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_262, 0, x_146); lean_ctor_set(x_262, 1, x_8); lean_ctor_set(x_262, 2, x_261); -x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(x_1, x_262, x_2, x_147); +x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(x_1, x_262, x_2, x_147); lean_dec(x_2); return x_263; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -33388,7 +33611,7 @@ x_1 = l_Lean_Parser_Tactic_simpAllArith___closed__9; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20734_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_20806_(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; uint8_t x_9; @@ -33452,12 +33675,12 @@ lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -33546,11 +33769,11 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_11); lean_ctor_set(x_69, 1, x_42); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_13); lean_inc(x_14); x_71 = l_Lean_addMacroScope(x_14, x_70, x_13); -x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_11); x_73 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_73, 0, x_11); @@ -33566,10 +33789,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_11); lean_ctor_set(x_77, 1, x_76); lean_ctor_set(x_77, 2, x_75); -x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_78 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_80 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_81 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -33629,7 +33852,7 @@ lean_inc(x_58); x_106 = lean_array_push(x_105, x_58); x_107 = lean_array_push(x_106, x_60); x_108 = lean_array_push(x_107, x_103); -x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_11); x_110 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_110, 0, x_11); @@ -33637,7 +33860,7 @@ lean_ctor_set(x_110, 1, x_109); lean_ctor_set(x_110, 2, x_108); x_111 = lean_array_push(x_35, x_22); x_112 = lean_array_push(x_111, x_110); -x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_11); x_114 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_114, 0, x_11); @@ -33696,7 +33919,7 @@ x_141 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_141, 0, x_11); lean_ctor_set(x_141, 1, x_8); lean_ctor_set(x_141, 2, x_140); -x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(x_1, x_141, x_2, x_12); +x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(x_1, x_141, x_2, x_12); lean_dec(x_2); return x_142; } @@ -33754,12 +33977,12 @@ lean_inc(x_146); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_146); lean_ctor_set(x_164, 1, x_163); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; lean_inc(x_148); lean_inc(x_149); x_166 = l_Lean_addMacroScope(x_149, x_165, x_148); -x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3; -x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9; +x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3; +x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9; lean_inc(x_146); x_169 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_169, 0, x_146); @@ -33848,11 +34071,11 @@ x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_146); lean_ctor_set(x_204, 1, x_177); lean_ctor_set(x_204, 2, x_203); -x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_148); lean_inc(x_149); x_206 = l_Lean_addMacroScope(x_149, x_205, x_148); -x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_146); x_208 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_208, 0, x_146); @@ -33868,10 +34091,10 @@ x_212 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_212, 0, x_146); lean_ctor_set(x_212, 1, x_211); lean_ctor_set(x_212, 2, x_210); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_213 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_214 = l_Lean_addMacroScope(x_149, x_213, x_148); -x_215 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_216 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_215 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_216 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_146); x_217 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_217, 0, x_146); @@ -33926,7 +34149,7 @@ x_240 = lean_array_push(x_239, x_191); x_241 = lean_array_push(x_240, x_193); x_242 = lean_array_push(x_241, x_195); x_243 = lean_array_push(x_242, x_238); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_146); x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_146); @@ -33934,7 +34157,7 @@ lean_ctor_set(x_245, 1, x_244); lean_ctor_set(x_245, 2, x_243); x_246 = lean_array_push(x_170, x_157); x_247 = lean_array_push(x_246, x_245); -x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_146); x_249 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_249, 0, x_146); @@ -33964,7 +34187,7 @@ x_262 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_262, 0, x_146); lean_ctor_set(x_262, 1, x_8); lean_ctor_set(x_262, 2, x_261); -x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(x_1, x_262, x_2, x_147); +x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(x_1, x_262, x_2, x_147); lean_dec(x_2); return x_263; } @@ -34086,7 +34309,7 @@ x_1 = l_Lean_Parser_Tactic_simpAllArithAutoUnfold___closed__9; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21695_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_21767_(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; uint8_t x_9; @@ -34150,12 +34373,12 @@ lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -34244,11 +34467,11 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_11); lean_ctor_set(x_69, 1, x_42); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_13); lean_inc(x_14); x_71 = l_Lean_addMacroScope(x_14, x_70, x_13); -x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_11); x_73 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_73, 0, x_11); @@ -34264,12 +34487,12 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_11); lean_ctor_set(x_77, 1, x_76); lean_ctor_set(x_77, 2, x_75); -x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_78 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; lean_inc(x_13); lean_inc(x_14); x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_80 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_81 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -34292,9 +34515,9 @@ lean_inc(x_11); x_89 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_89, 0, x_11); lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_90 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; x_91 = l_Lean_addMacroScope(x_14, x_90, x_13); -x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_92 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_11); x_93 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_93, 0, x_11); @@ -34363,7 +34586,7 @@ lean_inc(x_58); x_121 = lean_array_push(x_120, x_58); x_122 = lean_array_push(x_121, x_60); x_123 = lean_array_push(x_122, x_118); -x_124 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_124 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_11); x_125 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_125, 0, x_11); @@ -34371,7 +34594,7 @@ lean_ctor_set(x_125, 1, x_124); lean_ctor_set(x_125, 2, x_123); x_126 = lean_array_push(x_35, x_22); x_127 = lean_array_push(x_126, x_125); -x_128 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_128 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_11); x_129 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_129, 0, x_11); @@ -34430,7 +34653,7 @@ x_156 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_156, 0, x_11); lean_ctor_set(x_156, 1, x_8); lean_ctor_set(x_156, 2, x_155); -x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(x_1, x_156, x_2, x_12); +x_157 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(x_1, x_156, x_2, x_12); lean_dec(x_2); return x_157; } @@ -34488,12 +34711,12 @@ lean_inc(x_161); x_179 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_179, 0, x_161); lean_ctor_set(x_179, 1, x_178); -x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5; +x_180 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5; lean_inc(x_163); lean_inc(x_164); x_181 = l_Lean_addMacroScope(x_164, x_180, x_163); -x_182 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3; -x_183 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9; +x_182 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3; +x_183 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9; lean_inc(x_161); x_184 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_184, 0, x_161); @@ -34582,11 +34805,11 @@ x_219 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_219, 0, x_161); lean_ctor_set(x_219, 1, x_192); lean_ctor_set(x_219, 2, x_218); -x_220 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3; +x_220 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3; lean_inc(x_163); lean_inc(x_164); x_221 = l_Lean_addMacroScope(x_164, x_220, x_163); -x_222 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2; +x_222 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2; lean_inc(x_161); x_223 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_223, 0, x_161); @@ -34602,12 +34825,12 @@ x_227 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_227, 0, x_161); lean_ctor_set(x_227, 1, x_226); lean_ctor_set(x_227, 2, x_225); -x_228 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_228 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; lean_inc(x_163); lean_inc(x_164); x_229 = l_Lean_addMacroScope(x_164, x_228, x_163); -x_230 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_231 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_230 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_231 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_161); x_232 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_232, 0, x_161); @@ -34630,9 +34853,9 @@ lean_inc(x_161); x_239 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_239, 0, x_161); lean_ctor_set(x_239, 1, x_238); -x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_240 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; x_241 = l_Lean_addMacroScope(x_164, x_240, x_163); -x_242 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_242 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_161); x_243 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_243, 0, x_161); @@ -34696,7 +34919,7 @@ x_270 = lean_array_push(x_269, x_206); x_271 = lean_array_push(x_270, x_208); x_272 = lean_array_push(x_271, x_210); x_273 = lean_array_push(x_272, x_268); -x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_274 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_161); x_275 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_275, 0, x_161); @@ -34704,7 +34927,7 @@ lean_ctor_set(x_275, 1, x_274); lean_ctor_set(x_275, 2, x_273); x_276 = lean_array_push(x_185, x_172); x_277 = lean_array_push(x_276, x_275); -x_278 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_278 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_161); x_279 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_279, 0, x_161); @@ -34734,7 +34957,7 @@ x_292 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_292, 0, x_161); lean_ctor_set(x_292, 1, x_8); lean_ctor_set(x_292, 2, x_291); -x_293 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1(x_1, x_292, x_2, x_162); +x_293 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1(x_1, x_292, x_2, x_162); lean_dec(x_2); return x_293; } @@ -34870,34 +35093,35 @@ x_1 = l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____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_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; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_5 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__6; x_6 = l_Lean_Syntax_setKind(x_1, x_5); x_7 = lean_unsigned_to_nat(0u); x_8 = l_Lean_Syntax_getArg(x_6, x_7); -x_9 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19; -x_10 = l_Lean_mkAtomFrom(x_8, x_9); -x_11 = l_Lean_Syntax_setArg(x_6, x_7, x_10); -x_12 = l_Lean_mkOptionalNode___closed__2; -x_13 = lean_array_push(x_12, x_2); -x_14 = lean_box(2); -x_15 = l_Lean_mkNullNode___closed__2; -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_13); -x_17 = lean_unsigned_to_nat(1u); -x_18 = l_Lean_Syntax_setArg(x_11, x_17, x_16); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_4); -return x_19; +x_9 = l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19; +x_10 = 0; +x_11 = l_Lean_mkAtomFrom(x_8, x_9, x_10); +x_12 = l_Lean_Syntax_setArg(x_6, x_7, x_11); +x_13 = l_Lean_mkOptionalNode___closed__2; +x_14 = lean_array_push(x_13, x_2); +x_15 = lean_box(2); +x_16 = l_Lean_mkNullNode___closed__2; +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_14); +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_setArg(x_12, x_18, x_17); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_4); +return x_20; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__1() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__1() { _start: { lean_object* x_1; @@ -34905,22 +35129,22 @@ x_1 = lean_mk_string_from_bytes("Lean.Meta.DSimp.Config", 22); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__2() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__1; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__3() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__1; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__2; +x_3 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____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); @@ -34928,7 +35152,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__4() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__4() { _start: { lean_object* x_1; @@ -34936,73 +35160,73 @@ x_1 = lean_mk_string_from_bytes("DSimp", 5); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__5() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__7; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__4; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__5; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__10; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__5; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__7() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__8() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__9() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__8; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__8; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__7; -x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__9; +x_1 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__7; +x_2 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764_(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836_(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; uint8_t x_9; @@ -35066,12 +35290,12 @@ lean_inc(x_11); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_11); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6; +x_30 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6; lean_inc(x_13); lean_inc(x_14); x_31 = l_Lean_addMacroScope(x_14, x_30, x_13); -x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__3; -x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__10; +x_32 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__3; +x_33 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__10; lean_inc(x_11); x_34 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_34, 0, x_11); @@ -35160,11 +35384,11 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_11); lean_ctor_set(x_69, 1, x_42); lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_70 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; lean_inc(x_13); lean_inc(x_14); x_71 = l_Lean_addMacroScope(x_14, x_70, x_13); -x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_72 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_11); x_73 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_73, 0, x_11); @@ -35180,10 +35404,10 @@ x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_11); lean_ctor_set(x_77, 1, x_76); lean_ctor_set(x_77, 2, x_75); -x_78 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_78 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_79 = l_Lean_addMacroScope(x_14, x_78, x_13); -x_80 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_81 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_80 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_81 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_11); x_82 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_82, 0, x_11); @@ -35243,7 +35467,7 @@ lean_inc(x_58); x_106 = lean_array_push(x_105, x_58); x_107 = lean_array_push(x_106, x_60); x_108 = lean_array_push(x_107, x_103); -x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_109 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_11); x_110 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_110, 0, x_11); @@ -35251,7 +35475,7 @@ lean_ctor_set(x_110, 1, x_109); lean_ctor_set(x_110, 2, x_108); x_111 = lean_array_push(x_35, x_22); x_112 = lean_array_push(x_111, x_110); -x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_113 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_11); x_114 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_114, 0, x_11); @@ -35310,7 +35534,7 @@ x_141 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_141, 0, x_11); lean_ctor_set(x_141, 1, x_8); lean_ctor_set(x_141, 2, x_140); -x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____lambda__1(x_1, x_141, x_2, x_12); +x_142 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____lambda__1(x_1, x_141, x_2, x_12); lean_dec(x_2); return x_142; } @@ -35368,12 +35592,12 @@ lean_inc(x_146); x_164 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_164, 0, x_146); lean_ctor_set(x_164, 1, x_163); -x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6; +x_165 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6; lean_inc(x_148); lean_inc(x_149); x_166 = l_Lean_addMacroScope(x_149, x_165, x_148); -x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__3; -x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__10; +x_167 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__3; +x_168 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__10; lean_inc(x_146); x_169 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_169, 0, x_146); @@ -35462,11 +35686,11 @@ x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_146); lean_ctor_set(x_204, 1, x_177); lean_ctor_set(x_204, 2, x_203); -x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18; +x_205 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18; lean_inc(x_148); lean_inc(x_149); x_206 = l_Lean_addMacroScope(x_149, x_205, x_148); -x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17; +x_207 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17; lean_inc(x_146); x_208 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_208, 0, x_146); @@ -35482,10 +35706,10 @@ x_212 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_212, 0, x_146); lean_ctor_set(x_212, 1, x_211); lean_ctor_set(x_212, 2, x_210); -x_213 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21; +x_213 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__87; x_214 = l_Lean_addMacroScope(x_149, x_213, x_148); -x_215 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20; -x_216 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23; +x_215 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__86; +x_216 = l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__89; lean_inc(x_146); x_217 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_217, 0, x_146); @@ -35540,7 +35764,7 @@ x_240 = lean_array_push(x_239, x_191); x_241 = lean_array_push(x_240, x_193); x_242 = lean_array_push(x_241, x_195); x_243 = lean_array_push(x_242, x_238); -x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2; +x_244 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2; lean_inc(x_146); x_245 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_245, 0, x_146); @@ -35548,7 +35772,7 @@ lean_ctor_set(x_245, 1, x_244); lean_ctor_set(x_245, 2, x_243); x_246 = lean_array_push(x_170, x_157); x_247 = lean_array_push(x_246, x_245); -x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1; +x_248 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1; lean_inc(x_146); x_249 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_249, 0, x_146); @@ -35578,17 +35802,17 @@ x_262 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_262, 0, x_146); lean_ctor_set(x_262, 1, x_8); lean_ctor_set(x_262, 2, x_261); -x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____lambda__1(x_1, x_262, x_2, x_147); +x_263 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____lambda__1(x_1, x_262, x_2, x_147); lean_dec(x_2); return x_263; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); return x_5; } @@ -36209,54 +36433,54 @@ l_Lean_Meta_instBEqTransparencyMode___closed__1 = _init_l_Lean_Meta_instBEqTrans lean_mark_persistent(l_Lean_Meta_instBEqTransparencyMode___closed__1); l_Lean_Meta_instBEqTransparencyMode = _init_l_Lean_Meta_instBEqTransparencyMode(); lean_mark_persistent(l_Lean_Meta_instBEqTransparencyMode); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__1); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__2); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__3); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__4); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__5); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__6); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__7); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__8); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__9); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__10); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__11); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__12); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__13); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__14); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__15); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__16); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__17); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__18); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__19); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__20); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__21); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__22); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__23); -l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10836____closed__24); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__1); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__2); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__3); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__4); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__5); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__6); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__7); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__8); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__9); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__10); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__11); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__12); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__13); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__14); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__15); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__16); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__17); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__18); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__19); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__20); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__21); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__22); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__23); +l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprTransparencyMode____x40_Init_Meta___hyg_10862____closed__24); l_Lean_Meta_instReprTransparencyMode___closed__1 = _init_l_Lean_Meta_instReprTransparencyMode___closed__1(); lean_mark_persistent(l_Lean_Meta_instReprTransparencyMode___closed__1); l_Lean_Meta_instReprTransparencyMode = _init_l_Lean_Meta_instReprTransparencyMode(); @@ -36266,42 +36490,42 @@ l_Lean_Meta_instBEqEtaStructMode___closed__1 = _init_l_Lean_Meta_instBEqEtaStruc lean_mark_persistent(l_Lean_Meta_instBEqEtaStructMode___closed__1); l_Lean_Meta_instBEqEtaStructMode = _init_l_Lean_Meta_instBEqEtaStructMode(); lean_mark_persistent(l_Lean_Meta_instBEqEtaStructMode); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__1); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__2); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__3); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__4); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__5); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__6); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__7); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__8); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__9); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__10); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__11); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__12); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__13); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__14); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__15); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__16); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__17); -l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11021____closed__18); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__1); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__2); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__3); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__4); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__5); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__6); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__7); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__8); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__9); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__10); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__11); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__12); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__13); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__14); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__15); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__16); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__17); +l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_reprEtaStructMode____x40_Init_Meta___hyg_11047____closed__18); l_Lean_Meta_instReprEtaStructMode___closed__1 = _init_l_Lean_Meta_instReprEtaStructMode___closed__1(); lean_mark_persistent(l_Lean_Meta_instReprEtaStructMode___closed__1); l_Lean_Meta_instReprEtaStructMode = _init_l_Lean_Meta_instReprEtaStructMode(); @@ -36322,62 +36546,62 @@ l_Lean_Meta_DSimp_instBEqConfig___closed__1 = _init_l_Lean_Meta_DSimp_instBEqCon lean_mark_persistent(l_Lean_Meta_DSimp_instBEqConfig___closed__1); l_Lean_Meta_DSimp_instBEqConfig = _init_l_Lean_Meta_DSimp_instBEqConfig(); lean_mark_persistent(l_Lean_Meta_DSimp_instBEqConfig); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__1); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__2); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__3); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__4); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__5); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__6); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__7); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__8); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__9); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__10); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__11); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__12); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__13); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__14); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__15); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__16); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__17); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__18); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__19); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__20); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__21); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__22); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__23); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__24); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__25(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__25); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__26); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__27(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__27); -l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__28(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11422____closed__28); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__1); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__2); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__3); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__4); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__5); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__6); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__7); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__8); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__9); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__10); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__11); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__12); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__13); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__14); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__15); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__16); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__17); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__18); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__19); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__20); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__21); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__22); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__23); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__24); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__25 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__25(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__25); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__26); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__27 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__27(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__27); +l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__28 = _init_l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__28(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_DSimp_reprConfig____x40_Init_Meta___hyg_11448____closed__28); l_Lean_Meta_DSimp_instReprConfig___closed__1 = _init_l_Lean_Meta_DSimp_instReprConfig___closed__1(); lean_mark_persistent(l_Lean_Meta_DSimp_instReprConfig___closed__1); l_Lean_Meta_DSimp_instReprConfig = _init_l_Lean_Meta_DSimp_instReprConfig(); @@ -36409,54 +36633,54 @@ l_Lean_Meta_Simp_instBEqConfig___closed__1 = _init_l_Lean_Meta_Simp_instBEqConfi lean_mark_persistent(l_Lean_Meta_Simp_instBEqConfig___closed__1); l_Lean_Meta_Simp_instBEqConfig = _init_l_Lean_Meta_Simp_instBEqConfig(); lean_mark_persistent(l_Lean_Meta_Simp_instBEqConfig); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__1(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__1); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__2(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__2); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__3(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__3); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__4(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__4); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__5(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__5); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__6(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__6); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__7(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__7); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__8(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__8); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__9(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__9); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__10(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__10); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__11(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__11); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__12(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__12); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__13(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__13); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__14(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__14); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__15(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__15); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__16); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__17(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__17); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__18); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__19); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__20(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__20); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__21(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__21); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__22(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__22); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__23(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__23); -l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__24(); -lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12078____closed__24); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__1 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__1(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__1); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__2 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__2(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__2); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__3 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__3(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__3); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__4 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__4(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__4); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__5 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__5(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__5); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__6 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__6(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__6); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__7 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__7(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__7); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__8 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__8(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__8); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__9 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__9(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__9); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__10 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__10(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__10); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__11 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__11(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__11); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__12 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__12(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__12); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__13 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__13(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__13); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__14 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__14(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__14); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__15 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__15(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__15); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__16); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__17 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__17(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__17); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__18); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__19); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__20 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__20(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__20); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__21 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__21(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__21); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__22 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__22(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__22); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__23 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__23(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__23); +l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__24 = _init_l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__24(); +lean_mark_persistent(l___private_Init_Meta_0__Lean_Meta_Simp_reprConfig____x40_Init_Meta___hyg_12104____closed__24); l_Lean_Meta_Simp_instReprConfig___closed__1 = _init_l_Lean_Meta_Simp_instReprConfig___closed__1(); lean_mark_persistent(l_Lean_Meta_Simp_instReprConfig___closed__1); l_Lean_Meta_Simp_instReprConfig = _init_l_Lean_Meta_Simp_instReprConfig(); @@ -36862,6 +37086,26 @@ l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__de lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__91); l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92(); lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__92); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__93); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__94); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__95 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__95(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__95); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__96 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__96(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__96); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__97); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__98 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__98(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__98); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__99 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__99(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__99); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__100 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__100(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__100); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__101 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__101(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__101); +l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__102 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__102(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___lambda__1___closed__102); l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__1); l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__2 = _init_l_Lean_Parser_Tactic___aux__Init__Meta______macroRules__Lean__Parser__Tactic__declareSimpLikeTactic__1___closed__2(); @@ -37134,52 +37378,42 @@ l_Lean_Parser_Tactic_simpAutoUnfold___closed__26 = _init_l_Lean_Parser_Tactic_si lean_mark_persistent(l_Lean_Parser_Tactic_simpAutoUnfold___closed__26); l_Lean_Parser_Tactic_simpAutoUnfold = _init_l_Lean_Parser_Tactic_simpAutoUnfold(); lean_mark_persistent(l_Lean_Parser_Tactic_simpAutoUnfold); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__8); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__9); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__10); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__11); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__12 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__12(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__12); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__13 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__13(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__13); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__14 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__14(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__14); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__15); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__16 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__16(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__16); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__17); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__18); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__19 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__19(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__19); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__20); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__21); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__22 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__22(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__22); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16752____closed__23); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__9); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__10); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__11); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__12 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__12(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__12); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__13 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__13(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__13); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__14 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__14); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__15); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__16 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__16(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__16); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__17); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_16824____closed__18); l_Lean_Parser_Tactic_simpArith___closed__1 = _init_l_Lean_Parser_Tactic_simpArith___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpArith___closed__1); l_Lean_Parser_Tactic_simpArith___closed__2 = _init_l_Lean_Parser_Tactic_simpArith___closed__2(); @@ -37202,12 +37436,12 @@ l_Lean_Parser_Tactic_simpArith___closed__10 = _init_l_Lean_Parser_Tactic_simpAri lean_mark_persistent(l_Lean_Parser_Tactic_simpArith___closed__10); l_Lean_Parser_Tactic_simpArith = _init_l_Lean_Parser_Tactic_simpArith(); lean_mark_persistent(l_Lean_Parser_Tactic_simpArith); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17723____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_17795____closed__3); l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1 = _init_l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__1); l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__2 = _init_l_Lean_Parser_Tactic_simpArithAutoUnfold___closed__2(); @@ -37258,26 +37492,26 @@ l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13 = _init_l_Lean_Parser_Tactic lean_mark_persistent(l_Lean_Parser_Tactic_simpAllAutoUnfold___closed__13); l_Lean_Parser_Tactic_simpAllAutoUnfold = _init_l_Lean_Parser_Tactic_simpAllAutoUnfold(); lean_mark_persistent(l_Lean_Parser_Tactic_simpAllAutoUnfold); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____lambda__1___closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__8); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19773____closed__9); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____lambda__1___closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_19845____closed__9); l_Lean_Parser_Tactic_simpAllArith___closed__1 = _init_l_Lean_Parser_Tactic_simpAllArith___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_simpAllArith___closed__1); l_Lean_Parser_Tactic_simpAllArith___closed__2 = _init_l_Lean_Parser_Tactic_simpAllArith___closed__2(); @@ -37340,26 +37574,26 @@ l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10 = _init_l_Lean_Parser_Tactic_d lean_mark_persistent(l_Lean_Parser_Tactic_dsimpAutoUnfold___closed__10); l_Lean_Parser_Tactic_dsimpAutoUnfold = _init_l_Lean_Parser_Tactic_dsimpAutoUnfold(); lean_mark_persistent(l_Lean_Parser_Tactic_dsimpAutoUnfold); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__1); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__2); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__3); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__4); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__5); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__6); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__7(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__7); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__8(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__8); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__9(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__9); -l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__10(); -lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22764____closed__10); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__1 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__1); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__2 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__2); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__3 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__3); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__4 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__4); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__5 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__5); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__6); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__7 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__7); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__8 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__8(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__8); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__9 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__9); +l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__10 = _init_l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__10(); +lean_mark_persistent(l_Lean_Parser_Tactic_expandSimp____x40_Init_Meta___hyg_22836____closed__10); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Init/Notation.c b/stage0/stdlib/Init/Notation.c index eb22703cfe..43f68530f9 100644 --- a/stage0/stdlib/Init/Notation.c +++ b/stage0/stdlib/Init/Notation.c @@ -88,6 +88,7 @@ static lean_object* l_term___xd7_____closed__5; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__Bind__bind__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_deprecated___closed__2; static lean_object* l_Lean_termThis___closed__3; +static lean_object* l_Lean_Parser_Tactic_caseArg___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x3e____1___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term___x2a____1___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Category_term; @@ -151,7 +152,7 @@ static lean_object* l_termDepIfThenElse___closed__31; static lean_object* l_stx___x3c_x7c_x3e_____closed__1; static lean_object* l___aux__Init__Notation______macroRules__termIfThenElse__1___closed__5; LEAN_EXPORT lean_object* l___aux__Init__Notation______unexpand__GE__ge__2(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_term___x3c_____closed__2; LEAN_EXPORT lean_object* l_Lean_instCoeSyntaxTSyntaxConsSyntaxNodeKindStrAnonymousNil(lean_object*); static lean_object* l___aux__Init__Notation______macroRules__term___x2a____1___closed__8; @@ -487,6 +488,7 @@ static lean_object* l_termDepIfThenElse___closed__32; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__2; static lean_object* l_termDepIfThenElse___closed__10; static lean_object* l_Lean___aux__Init__Notation______macroRules__term_x5b___x5d__1___closed__3; +static lean_object* l_Lean_Parser_Tactic_caseArg___closed__2; static lean_object* l___aux__Init__Notation______macroRules__termWithout__expected__type____1___closed__2; static lean_object* l_term___x3e_x3e_____closed__1; LEAN_EXPORT lean_object* l_term___x3c_x2a__; @@ -584,6 +586,7 @@ static lean_object* l_termIfLet___x3a_x3d__Then__Else_____closed__15; static lean_object* l___aux__Init__Notation______macroRules__term___x7c_x7c____1___closed__5; static lean_object* l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__4; static lean_object* l_stx___x2c_x2a_x2c_x3f___closed__1; +static lean_object* l_Lean_Parser_Tactic_caseArg___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term___x3e_x3d____1___closed__7; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x7c_x3e____1___closed__9; static lean_object* l_Lean_Parser_Syntax_addPrec___closed__5; @@ -704,6 +707,7 @@ static lean_object* l_term___xd7_____closed__3; static lean_object* l_prio_x28___x29___closed__3; static lean_object* l___aux__Init__Notation______macroRules__term_x7e_x7e_x7e____1___closed__6; static lean_object* l___aux__Init__Notation______macroRules__term___x26_x26_x26____1___closed__5; +LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_caseArg; static lean_object* l_prioLow___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___x3a_x3a____1___closed__4; static lean_object* l_term_x7e_x7e_x7e_____closed__5; @@ -785,6 +789,7 @@ static lean_object* l_term___x25_____closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; static lean_object* l_term___x3e_x3e_x3d_____closed__2; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___u2264____1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_Tactic_caseArg___closed__3; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__termIfThenElse__1(lean_object*, lean_object*, lean_object*); static lean_object* l_termWithout__expected__type_____closed__5; static lean_object* l___aux__Init__Notation______macroRules__term___x2a____1___closed__2; @@ -856,6 +861,7 @@ static lean_object* l_term___x5e_____closed__1; static lean_object* l___aux__Init__Notation______macroRules__boolIfThenElse__1___closed__5; static lean_object* l_termDepIfThenElse___closed__22; static lean_object* l_term___u2265_____closed__3; +static lean_object* l_Lean_Parser_Tactic_caseArg___closed__5; static lean_object* l___aux__Init__Notation______macroRules__term___x3c____1___closed__1; static lean_object* l___aux__Init__Notation______macroRules__term___x3c_x2a____1___closed__6; static lean_object* l_term_xac_____closed__6; @@ -1016,6 +1022,7 @@ LEAN_EXPORT lean_object* l_Lean_termThis; static lean_object* l___aux__Init__Notation______macroRules__term___x26_x26____1___closed__4; static lean_object* l___aux__Init__Notation______macroRules__term___xd7____1___closed__1; static lean_object* l_term___x7c_x3e_____closed__5; +static lean_object* l_Lean_Parser_Tactic_caseArg___closed__6; static lean_object* l_term___x3c_x2a_x3e_____closed__5; static lean_object* l_termIfThenElse___closed__5; static lean_object* l___aux__Init__Notation______macroRules__termIfLet___x3a_x3d__Then__Else____1___closed__8; @@ -1373,6 +1380,7 @@ LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x3c____ static lean_object* l_precArg___closed__4; static lean_object* l_termWithout__expected__type_____closed__3; static lean_object* l___aux__Init__Notation______macroRules__term___x3e____1___closed__7; +static lean_object* l_Lean_Parser_Tactic_caseArg___closed__7; static lean_object* l_stx___x2c_x2b___closed__5; static lean_object* l_term___u2209_____closed__1; LEAN_EXPORT lean_object* l___aux__Init__Notation______macroRules__term___x25____1(lean_object*, lean_object*, lean_object*); @@ -2006,15 +2014,16 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_ctor_get(x_1, 5); lean_inc(x_3); lean_dec(x_1); -x_4 = l_Lean_SourceInfo_fromRef(x_3); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -return x_5; +x_4 = 0; +x_5 = l_Lean_SourceInfo_fromRef(x_3, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; } } static lean_object* _init_l___aux__Init__Notation______macroRules__precMax__1___closed__1() { @@ -6711,12 +6720,13 @@ return x_49; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______unexpand__Function__comp__1___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_SourceInfo_fromRef(x_1); -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -return x_4; +uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_3 = 0; +x_4 = l_Lean_SourceInfo_fromRef(x_1, x_3); +x_5 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; } } static lean_object* _init_l___aux__Init__Notation______unexpand__Function__comp__1___closed__1() { @@ -32203,6 +32213,90 @@ x_1 = l_Lean_binderIdent___closed__7; return x_1; } } +static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Tactic", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__4; +x_2 = l_Lean_Parser_Tactic_caseArg___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("caseArg", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_caseArg___closed__2; +x_2 = l_Lean_Parser_Tactic_caseArg___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___aux__Init__Notation______macroRules__stx___x2a__1___closed__4; +x_2 = l_Lean_binderIdent; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Syntax_addPrec___closed__10; +x_2 = l_Lean_binderIdent; +x_3 = l_Lean_Parser_Tactic_caseArg___closed__5; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_caseArg___closed__3; +x_2 = l_Lean_Parser_Tactic_caseArg___closed__4; +x_3 = l_Lean_Parser_Tactic_caseArg___closed__6; +x_4 = lean_alloc_ctor(9, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_caseArg() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Parser_Tactic_caseArg___closed__7; +return x_1; +} +} static lean_object* _init_l_termDepIfThenElse___closed__1() { _start: { @@ -32972,7 +33066,7 @@ x_52 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRul x_53 = !lean_is_exclusive(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_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_object* x_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; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; x_54 = lean_ctor_get(x_52, 0); x_55 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__9; lean_inc(x_54); @@ -33024,826 +33118,828 @@ lean_inc(x_54); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_54); lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_SourceInfo_fromRef(x_22); -x_75 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__16; -x_76 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; -x_78 = lean_array_push(x_77, x_76); +x_74 = 0; +x_75 = l_Lean_SourceInfo_fromRef(x_22, x_74); +x_76 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__16; +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +x_78 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; +x_79 = lean_array_push(x_78, x_77); lean_inc(x_54); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_54); -lean_ctor_set(x_79, 1, x_18); -lean_ctor_set(x_79, 2, x_78); -x_80 = lean_array_push(x_77, x_79); -x_81 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_54); +lean_ctor_set(x_80, 1, x_18); +lean_ctor_set(x_80, 2, x_79); +x_81 = lean_array_push(x_78, x_80); +x_82 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; lean_inc(x_54); -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_54); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_80); -x_83 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_54); +lean_ctor_set(x_83, 1, x_82); +lean_ctor_set(x_83, 2, x_81); +x_84 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; lean_inc(x_54); -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_54); -lean_ctor_set(x_84, 1, x_81); -lean_ctor_set(x_84, 2, x_83); -x_85 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_54); +lean_ctor_set(x_85, 1, x_82); +lean_ctor_set(x_85, 2, x_84); +x_86 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; lean_inc(x_54); -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_54); -lean_ctor_set(x_86, 1, x_85); -x_87 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; -x_88 = lean_array_push(x_87, x_82); -lean_inc(x_84); -x_89 = lean_array_push(x_88, x_84); -x_90 = lean_array_push(x_89, x_86); -lean_inc(x_90); -x_91 = lean_array_push(x_90, x_26); -x_92 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_54); +lean_ctor_set(x_87, 1, x_86); +x_88 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; +x_89 = lean_array_push(x_88, x_83); +lean_inc(x_85); +x_90 = lean_array_push(x_89, x_85); +x_91 = lean_array_push(x_90, x_87); +lean_inc(x_91); +x_92 = lean_array_push(x_91, x_26); +x_93 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; lean_inc(x_54); -x_93 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_93, 0, x_54); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_93, 2, x_91); -x_94 = lean_array_push(x_47, x_73); -lean_inc(x_94); -x_95 = lean_array_push(x_94, x_93); -x_96 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_54); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_92); +x_95 = lean_array_push(x_47, x_73); +lean_inc(x_95); +x_96 = lean_array_push(x_95, x_94); +x_97 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; lean_inc(x_54); -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_54); -lean_ctor_set(x_97, 1, x_96); -lean_ctor_set(x_97, 2, x_95); -x_98 = lean_array_push(x_47, x_97); -lean_inc(x_84); -x_99 = lean_array_push(x_98, x_84); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_54); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +x_99 = lean_array_push(x_47, x_98); +lean_inc(x_85); +x_100 = lean_array_push(x_99, x_85); lean_inc(x_54); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_54); -lean_ctor_set(x_100, 1, x_81); -lean_ctor_set(x_100, 2, x_99); -x_101 = l_prec_x28___x29___closed__7; +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_54); +lean_ctor_set(x_101, 1, x_82); +lean_ctor_set(x_101, 2, x_100); +x_102 = l_prec_x28___x29___closed__7; lean_inc(x_54); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_54); -lean_ctor_set(x_102, 1, x_101); -x_103 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; -x_104 = lean_array_push(x_103, x_71); -lean_inc(x_104); -x_105 = lean_array_push(x_104, x_100); -lean_inc(x_102); -x_106 = lean_array_push(x_105, x_102); -x_107 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_54); +lean_ctor_set(x_103, 1, x_102); +x_104 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; +x_105 = lean_array_push(x_104, x_71); +lean_inc(x_105); +x_106 = lean_array_push(x_105, x_101); +lean_inc(x_103); +x_107 = lean_array_push(x_106, x_103); +x_108 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; lean_inc(x_54); -x_108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_108, 0, x_54); -lean_ctor_set(x_108, 1, x_107); -lean_ctor_set(x_108, 2, x_106); -x_109 = lean_array_push(x_90, x_28); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_54); +lean_ctor_set(x_109, 1, x_108); +lean_ctor_set(x_109, 2, x_107); +x_110 = lean_array_push(x_91, x_28); lean_inc(x_54); -x_110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_110, 0, x_54); -lean_ctor_set(x_110, 1, x_92); -lean_ctor_set(x_110, 2, x_109); -x_111 = lean_array_push(x_94, x_110); +x_111 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_111, 0, x_54); +lean_ctor_set(x_111, 1, x_93); +lean_ctor_set(x_111, 2, x_110); +x_112 = lean_array_push(x_95, x_111); lean_inc(x_54); -x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_54); -lean_ctor_set(x_112, 1, x_96); -lean_ctor_set(x_112, 2, x_111); -x_113 = lean_array_push(x_47, x_112); -x_114 = lean_array_push(x_113, x_84); +x_113 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_113, 0, x_54); +lean_ctor_set(x_113, 1, x_97); +lean_ctor_set(x_113, 2, x_112); +x_114 = lean_array_push(x_47, x_113); +x_115 = lean_array_push(x_114, x_85); lean_inc(x_54); -x_115 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_115, 0, x_54); -lean_ctor_set(x_115, 1, x_81); -lean_ctor_set(x_115, 2, x_114); -x_116 = lean_array_push(x_104, x_115); -x_117 = lean_array_push(x_116, x_102); +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_54); +lean_ctor_set(x_116, 1, x_82); +lean_ctor_set(x_116, 2, x_115); +x_117 = lean_array_push(x_105, x_116); +x_118 = lean_array_push(x_117, x_103); lean_inc(x_54); -x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_54); -lean_ctor_set(x_118, 1, x_107); -lean_ctor_set(x_118, 2, x_117); -x_119 = lean_array_push(x_103, x_51); -x_120 = lean_array_push(x_119, x_108); -x_121 = lean_array_push(x_120, x_118); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_54); +lean_ctor_set(x_119, 1, x_108); +lean_ctor_set(x_119, 2, x_118); +x_120 = lean_array_push(x_104, x_51); +x_121 = lean_array_push(x_120, x_109); +x_122 = lean_array_push(x_121, x_119); lean_inc(x_54); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_54); -lean_ctor_set(x_122, 1, x_81); -lean_ctor_set(x_122, 2, x_121); -x_123 = lean_array_push(x_47, x_69); -x_124 = lean_array_push(x_123, x_122); -x_125 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_54); +lean_ctor_set(x_123, 1, x_82); +lean_ctor_set(x_123, 2, x_122); +x_124 = lean_array_push(x_47, x_69); +x_125 = lean_array_push(x_124, x_123); +x_126 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; lean_inc(x_54); -x_126 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_126, 0, x_54); -lean_ctor_set(x_126, 1, x_125); -lean_ctor_set(x_126, 2, x_124); -x_127 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; -x_128 = lean_array_push(x_127, x_64); +x_127 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_127, 0, x_54); +lean_ctor_set(x_127, 1, x_126); +lean_ctor_set(x_127, 2, x_125); +x_128 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; +x_129 = lean_array_push(x_128, x_64); lean_inc(x_57); -x_129 = lean_array_push(x_128, x_57); +x_130 = lean_array_push(x_129, x_57); lean_inc(x_58); -x_130 = lean_array_push(x_129, x_58); +x_131 = lean_array_push(x_130, x_58); lean_inc(x_62); -x_131 = lean_array_push(x_130, x_62); -x_132 = lean_array_push(x_131, x_126); -x_133 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; +x_132 = lean_array_push(x_131, x_62); +x_133 = lean_array_push(x_132, x_127); +x_134 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; lean_inc(x_54); -x_134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_134, 0, x_54); -lean_ctor_set(x_134, 1, x_133); -lean_ctor_set(x_134, 2, x_132); -x_135 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; -x_136 = lean_array_push(x_135, x_56); -x_137 = lean_array_push(x_136, x_57); -x_138 = lean_array_push(x_137, x_58); -x_139 = lean_array_push(x_138, x_60); -x_140 = lean_array_push(x_139, x_24); -x_141 = lean_array_push(x_140, x_62); -x_142 = lean_array_push(x_141, x_134); -x_143 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; -x_144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_144, 0, x_54); -lean_ctor_set(x_144, 1, x_143); -lean_ctor_set(x_144, 2, x_142); -lean_ctor_set(x_52, 0, x_144); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_54); +lean_ctor_set(x_135, 1, x_134); +lean_ctor_set(x_135, 2, x_133); +x_136 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; +x_137 = lean_array_push(x_136, x_56); +x_138 = lean_array_push(x_137, x_57); +x_139 = lean_array_push(x_138, x_58); +x_140 = lean_array_push(x_139, x_60); +x_141 = lean_array_push(x_140, x_24); +x_142 = lean_array_push(x_141, x_62); +x_143 = lean_array_push(x_142, x_135); +x_144 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_54); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 2, x_143); +lean_ctor_set(x_52, 0, x_145); return x_52; } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_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; -x_145 = lean_ctor_get(x_52, 0); -x_146 = lean_ctor_get(x_52, 1); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t 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; +x_146 = lean_ctor_get(x_52, 0); +x_147 = lean_ctor_get(x_52, 1); +lean_inc(x_147); lean_inc(x_146); -lean_inc(x_145); lean_dec(x_52); -x_147 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__9; -lean_inc(x_145); -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_145); -lean_ctor_set(x_148, 1, x_147); -lean_inc(x_145); +x_148 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__9; +lean_inc(x_146); x_149 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_149, 0, x_145); -lean_ctor_set(x_149, 1, x_40); -lean_inc(x_145); -x_150 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_150, 0, x_145); -lean_ctor_set(x_150, 1, x_45); -lean_ctor_set(x_150, 2, x_43); -lean_ctor_set(x_150, 3, x_44); -x_151 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__10; -lean_inc(x_145); -x_152 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_152, 0, x_145); -lean_ctor_set(x_152, 1, x_151); -x_153 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__11; -lean_inc(x_145); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_145); -lean_ctor_set(x_154, 1, x_153); -x_155 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__14; -lean_inc(x_145); -x_156 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_156, 0, x_145); -lean_ctor_set(x_156, 1, x_155); -x_157 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__18; -x_158 = l_Lean_addMacroScope(x_30, x_157, x_31); -x_159 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__17; -x_160 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__22; -lean_inc(x_145); -x_161 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_161, 0, x_145); -lean_ctor_set(x_161, 1, x_159); -lean_ctor_set(x_161, 2, x_158); -lean_ctor_set(x_161, 3, x_160); -x_162 = l_prec_x28___x29___closed__3; -lean_inc(x_145); -x_163 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_163, 0, x_145); -lean_ctor_set(x_163, 1, x_162); -x_164 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__10; -lean_inc(x_145); -x_165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_165, 0, x_145); -lean_ctor_set(x_165, 1, x_164); -x_166 = l_Lean_SourceInfo_fromRef(x_22); -x_167 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__16; -x_168 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_168, 0, x_166); -lean_ctor_set(x_168, 1, x_167); -x_169 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; -x_170 = lean_array_push(x_169, x_168); -lean_inc(x_145); -x_171 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_171, 0, x_145); -lean_ctor_set(x_171, 1, x_18); -lean_ctor_set(x_171, 2, x_170); -x_172 = lean_array_push(x_169, x_171); -x_173 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; -lean_inc(x_145); -x_174 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_174, 0, x_145); -lean_ctor_set(x_174, 1, x_173); -lean_ctor_set(x_174, 2, x_172); -x_175 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; -lean_inc(x_145); +lean_ctor_set(x_149, 0, x_146); +lean_ctor_set(x_149, 1, x_148); +lean_inc(x_146); +x_150 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_150, 0, x_146); +lean_ctor_set(x_150, 1, x_40); +lean_inc(x_146); +x_151 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_151, 0, x_146); +lean_ctor_set(x_151, 1, x_45); +lean_ctor_set(x_151, 2, x_43); +lean_ctor_set(x_151, 3, x_44); +x_152 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__10; +lean_inc(x_146); +x_153 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_153, 0, x_146); +lean_ctor_set(x_153, 1, x_152); +x_154 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__11; +lean_inc(x_146); +x_155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_155, 0, x_146); +lean_ctor_set(x_155, 1, x_154); +x_156 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__14; +lean_inc(x_146); +x_157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_157, 0, x_146); +lean_ctor_set(x_157, 1, x_156); +x_158 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__18; +x_159 = l_Lean_addMacroScope(x_30, x_158, x_31); +x_160 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__17; +x_161 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__22; +lean_inc(x_146); +x_162 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_162, 0, x_146); +lean_ctor_set(x_162, 1, x_160); +lean_ctor_set(x_162, 2, x_159); +lean_ctor_set(x_162, 3, x_161); +x_163 = l_prec_x28___x29___closed__3; +lean_inc(x_146); +x_164 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_164, 0, x_146); +lean_ctor_set(x_164, 1, x_163); +x_165 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__10; +lean_inc(x_146); +x_166 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_166, 0, x_146); +lean_ctor_set(x_166, 1, x_165); +x_167 = 0; +x_168 = l_Lean_SourceInfo_fromRef(x_22, x_167); +x_169 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__16; +x_170 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +x_171 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; +x_172 = lean_array_push(x_171, x_170); +lean_inc(x_146); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_146); +lean_ctor_set(x_173, 1, x_18); +lean_ctor_set(x_173, 2, x_172); +x_174 = lean_array_push(x_171, x_173); +x_175 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; +lean_inc(x_146); x_176 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_176, 0, x_145); -lean_ctor_set(x_176, 1, x_173); -lean_ctor_set(x_176, 2, x_175); -x_177 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; -lean_inc(x_145); -x_178 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_178, 0, x_145); -lean_ctor_set(x_178, 1, x_177); -x_179 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; -x_180 = lean_array_push(x_179, x_174); -lean_inc(x_176); -x_181 = lean_array_push(x_180, x_176); -x_182 = lean_array_push(x_181, x_178); -lean_inc(x_182); -x_183 = lean_array_push(x_182, x_26); -x_184 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; -lean_inc(x_145); -x_185 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_185, 0, x_145); -lean_ctor_set(x_185, 1, x_184); -lean_ctor_set(x_185, 2, x_183); -x_186 = lean_array_push(x_47, x_165); -lean_inc(x_186); -x_187 = lean_array_push(x_186, x_185); -x_188 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; -lean_inc(x_145); -x_189 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_189, 0, x_145); -lean_ctor_set(x_189, 1, x_188); -lean_ctor_set(x_189, 2, x_187); -x_190 = lean_array_push(x_47, x_189); -lean_inc(x_176); -x_191 = lean_array_push(x_190, x_176); -lean_inc(x_145); -x_192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_192, 0, x_145); -lean_ctor_set(x_192, 1, x_173); -lean_ctor_set(x_192, 2, x_191); -x_193 = l_prec_x28___x29___closed__7; -lean_inc(x_145); -x_194 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_194, 0, x_145); -lean_ctor_set(x_194, 1, x_193); -x_195 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; -x_196 = lean_array_push(x_195, x_163); +lean_ctor_set(x_176, 0, x_146); +lean_ctor_set(x_176, 1, x_175); +lean_ctor_set(x_176, 2, x_174); +x_177 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; +lean_inc(x_146); +x_178 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_178, 0, x_146); +lean_ctor_set(x_178, 1, x_175); +lean_ctor_set(x_178, 2, x_177); +x_179 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; +lean_inc(x_146); +x_180 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_180, 0, x_146); +lean_ctor_set(x_180, 1, x_179); +x_181 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; +x_182 = lean_array_push(x_181, x_176); +lean_inc(x_178); +x_183 = lean_array_push(x_182, x_178); +x_184 = lean_array_push(x_183, x_180); +lean_inc(x_184); +x_185 = lean_array_push(x_184, x_26); +x_186 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; +lean_inc(x_146); +x_187 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_187, 0, x_146); +lean_ctor_set(x_187, 1, x_186); +lean_ctor_set(x_187, 2, x_185); +x_188 = lean_array_push(x_47, x_166); +lean_inc(x_188); +x_189 = lean_array_push(x_188, x_187); +x_190 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; +lean_inc(x_146); +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_146); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_191, 2, x_189); +x_192 = lean_array_push(x_47, x_191); +lean_inc(x_178); +x_193 = lean_array_push(x_192, x_178); +lean_inc(x_146); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_146); +lean_ctor_set(x_194, 1, x_175); +lean_ctor_set(x_194, 2, x_193); +x_195 = l_prec_x28___x29___closed__7; +lean_inc(x_146); +x_196 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_196, 0, x_146); +lean_ctor_set(x_196, 1, x_195); +x_197 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; +x_198 = lean_array_push(x_197, x_164); +lean_inc(x_198); +x_199 = lean_array_push(x_198, x_194); lean_inc(x_196); -x_197 = lean_array_push(x_196, x_192); -lean_inc(x_194); -x_198 = lean_array_push(x_197, x_194); -x_199 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; -lean_inc(x_145); -x_200 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_200, 0, x_145); -lean_ctor_set(x_200, 1, x_199); -lean_ctor_set(x_200, 2, x_198); -x_201 = lean_array_push(x_182, x_28); -lean_inc(x_145); +x_200 = lean_array_push(x_199, x_196); +x_201 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; +lean_inc(x_146); x_202 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_202, 0, x_145); -lean_ctor_set(x_202, 1, x_184); -lean_ctor_set(x_202, 2, x_201); -x_203 = lean_array_push(x_186, x_202); -lean_inc(x_145); +lean_ctor_set(x_202, 0, x_146); +lean_ctor_set(x_202, 1, x_201); +lean_ctor_set(x_202, 2, x_200); +x_203 = lean_array_push(x_184, x_28); +lean_inc(x_146); x_204 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_204, 0, x_145); -lean_ctor_set(x_204, 1, x_188); +lean_ctor_set(x_204, 0, x_146); +lean_ctor_set(x_204, 1, x_186); lean_ctor_set(x_204, 2, x_203); -x_205 = lean_array_push(x_47, x_204); -x_206 = lean_array_push(x_205, x_176); -lean_inc(x_145); -x_207 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_207, 0, x_145); -lean_ctor_set(x_207, 1, x_173); -lean_ctor_set(x_207, 2, x_206); -x_208 = lean_array_push(x_196, x_207); -x_209 = lean_array_push(x_208, x_194); -lean_inc(x_145); -x_210 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_210, 0, x_145); -lean_ctor_set(x_210, 1, x_199); -lean_ctor_set(x_210, 2, x_209); -x_211 = lean_array_push(x_195, x_51); -x_212 = lean_array_push(x_211, x_200); -x_213 = lean_array_push(x_212, x_210); -lean_inc(x_145); -x_214 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_214, 0, x_145); -lean_ctor_set(x_214, 1, x_173); -lean_ctor_set(x_214, 2, x_213); -x_215 = lean_array_push(x_47, x_161); -x_216 = lean_array_push(x_215, x_214); -x_217 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; -lean_inc(x_145); -x_218 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_218, 0, x_145); -lean_ctor_set(x_218, 1, x_217); -lean_ctor_set(x_218, 2, x_216); -x_219 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; -x_220 = lean_array_push(x_219, x_156); -lean_inc(x_149); -x_221 = lean_array_push(x_220, x_149); +x_205 = lean_array_push(x_188, x_204); +lean_inc(x_146); +x_206 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_206, 0, x_146); +lean_ctor_set(x_206, 1, x_190); +lean_ctor_set(x_206, 2, x_205); +x_207 = lean_array_push(x_47, x_206); +x_208 = lean_array_push(x_207, x_178); +lean_inc(x_146); +x_209 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_209, 0, x_146); +lean_ctor_set(x_209, 1, x_175); +lean_ctor_set(x_209, 2, x_208); +x_210 = lean_array_push(x_198, x_209); +x_211 = lean_array_push(x_210, x_196); +lean_inc(x_146); +x_212 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_212, 0, x_146); +lean_ctor_set(x_212, 1, x_201); +lean_ctor_set(x_212, 2, x_211); +x_213 = lean_array_push(x_197, x_51); +x_214 = lean_array_push(x_213, x_202); +x_215 = lean_array_push(x_214, x_212); +lean_inc(x_146); +x_216 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_216, 0, x_146); +lean_ctor_set(x_216, 1, x_175); +lean_ctor_set(x_216, 2, x_215); +x_217 = lean_array_push(x_47, x_162); +x_218 = lean_array_push(x_217, x_216); +x_219 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; +lean_inc(x_146); +x_220 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_220, 0, x_146); +lean_ctor_set(x_220, 1, x_219); +lean_ctor_set(x_220, 2, x_218); +x_221 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; +x_222 = lean_array_push(x_221, x_157); lean_inc(x_150); -x_222 = lean_array_push(x_221, x_150); -lean_inc(x_154); -x_223 = lean_array_push(x_222, x_154); -x_224 = lean_array_push(x_223, x_218); -x_225 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; -lean_inc(x_145); -x_226 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_226, 0, x_145); -lean_ctor_set(x_226, 1, x_225); -lean_ctor_set(x_226, 2, x_224); -x_227 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; -x_228 = lean_array_push(x_227, x_148); -x_229 = lean_array_push(x_228, x_149); -x_230 = lean_array_push(x_229, x_150); -x_231 = lean_array_push(x_230, x_152); -x_232 = lean_array_push(x_231, x_24); -x_233 = lean_array_push(x_232, x_154); -x_234 = lean_array_push(x_233, x_226); -x_235 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; -x_236 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_236, 0, x_145); -lean_ctor_set(x_236, 1, x_235); -lean_ctor_set(x_236, 2, x_234); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_236); -lean_ctor_set(x_237, 1, x_146); -return x_237; +x_223 = lean_array_push(x_222, x_150); +lean_inc(x_151); +x_224 = lean_array_push(x_223, x_151); +lean_inc(x_155); +x_225 = lean_array_push(x_224, x_155); +x_226 = lean_array_push(x_225, x_220); +x_227 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; +lean_inc(x_146); +x_228 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_228, 0, x_146); +lean_ctor_set(x_228, 1, x_227); +lean_ctor_set(x_228, 2, x_226); +x_229 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; +x_230 = lean_array_push(x_229, x_149); +x_231 = lean_array_push(x_230, x_150); +x_232 = lean_array_push(x_231, x_151); +x_233 = lean_array_push(x_232, x_153); +x_234 = lean_array_push(x_233, x_24); +x_235 = lean_array_push(x_234, x_155); +x_236 = lean_array_push(x_235, x_228); +x_237 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; +x_238 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_238, 0, x_146); +lean_ctor_set(x_238, 1, x_237); +lean_ctor_set(x_238, 2, x_236); +x_239 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_147); +return x_239; } } } else { -lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; -x_238 = lean_unsigned_to_nat(3u); -x_239 = l_Lean_Syntax_getArg(x_1, x_238); -x_240 = lean_unsigned_to_nat(5u); +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; uint8_t x_270; +x_240 = lean_unsigned_to_nat(3u); x_241 = l_Lean_Syntax_getArg(x_1, x_240); -x_242 = lean_unsigned_to_nat(7u); +x_242 = lean_unsigned_to_nat(5u); x_243 = l_Lean_Syntax_getArg(x_1, x_242); +x_244 = lean_unsigned_to_nat(7u); +x_245 = l_Lean_Syntax_getArg(x_1, x_244); lean_dec(x_1); -x_244 = lean_ctor_get(x_2, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_2, 1); -lean_inc(x_245); -x_246 = lean_ctor_get(x_2, 2); +x_246 = lean_ctor_get(x_2, 0); lean_inc(x_246); -x_247 = lean_ctor_get(x_2, 3); +x_247 = lean_ctor_get(x_2, 1); lean_inc(x_247); -x_248 = lean_ctor_get(x_2, 4); +x_248 = lean_ctor_get(x_2, 2); lean_inc(x_248); -x_249 = lean_ctor_get(x_2, 5); +x_249 = lean_ctor_get(x_2, 3); lean_inc(x_249); -x_250 = l_Lean_replaceRef(x_239, x_249); -lean_dec(x_249); -lean_inc(x_246); -lean_inc(x_245); -x_251 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_251, 0, x_244); -lean_ctor_set(x_251, 1, x_245); -lean_ctor_set(x_251, 2, x_246); -lean_ctor_set(x_251, 3, x_247); -lean_ctor_set(x_251, 4, x_248); -lean_ctor_set(x_251, 5, x_250); -x_252 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_251, x_3); -x_253 = lean_ctor_get(x_252, 0); -lean_inc(x_253); -x_254 = lean_ctor_get(x_252, 1); -lean_inc(x_254); -lean_dec(x_252); -x_255 = l_stx___x3f___closed__3; -lean_inc(x_253); -x_256 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_256, 0, x_253); -lean_ctor_set(x_256, 1, x_255); -x_257 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__6; -lean_inc(x_246); -lean_inc(x_245); -x_258 = l_Lean_addMacroScope(x_245, x_257, x_246); -x_259 = lean_box(0); -x_260 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__5; -lean_inc(x_258); -lean_inc(x_253); -x_261 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_261, 0, x_253); -lean_ctor_set(x_261, 1, x_260); -lean_ctor_set(x_261, 2, x_258); -lean_ctor_set(x_261, 3, x_259); -x_262 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__10; -x_263 = lean_array_push(x_262, x_256); -x_264 = lean_array_push(x_263, x_261); -x_265 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__2; -x_266 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_266, 0, x_253); -lean_ctor_set(x_266, 1, x_265); -lean_ctor_set(x_266, 2, x_264); -x_267 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_254); -x_268 = !lean_is_exclusive(x_267); -if (x_268 == 0) +x_250 = lean_ctor_get(x_2, 4); +lean_inc(x_250); +x_251 = lean_ctor_get(x_2, 5); +lean_inc(x_251); +x_252 = l_Lean_replaceRef(x_241, x_251); +lean_dec(x_251); +lean_inc(x_248); +lean_inc(x_247); +x_253 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_253, 0, x_246); +lean_ctor_set(x_253, 1, x_247); +lean_ctor_set(x_253, 2, x_248); +lean_ctor_set(x_253, 3, x_249); +lean_ctor_set(x_253, 4, x_250); +lean_ctor_set(x_253, 5, x_252); +x_254 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_253, x_3); +x_255 = lean_ctor_get(x_254, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_254, 1); +lean_inc(x_256); +lean_dec(x_254); +x_257 = l_stx___x3f___closed__3; +lean_inc(x_255); +x_258 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_258, 0, x_255); +lean_ctor_set(x_258, 1, x_257); +x_259 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__6; +lean_inc(x_248); +lean_inc(x_247); +x_260 = l_Lean_addMacroScope(x_247, x_259, x_248); +x_261 = lean_box(0); +x_262 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__5; +lean_inc(x_260); +lean_inc(x_255); +x_263 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_263, 0, x_255); +lean_ctor_set(x_263, 1, x_262); +lean_ctor_set(x_263, 2, x_260); +lean_ctor_set(x_263, 3, x_261); +x_264 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__10; +x_265 = lean_array_push(x_264, x_258); +x_266 = lean_array_push(x_265, x_263); +x_267 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__2; +x_268 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_268, 0, x_255); +lean_ctor_set(x_268, 1, x_267); +lean_ctor_set(x_268, 2, x_266); +x_269 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_256); +x_270 = !lean_is_exclusive(x_269); +if (x_270 == 0) { -lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_269 = lean_ctor_get(x_267, 0); -x_270 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__9; -lean_inc(x_269); -x_271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_271, 0, x_269); -lean_ctor_set(x_271, 1, x_270); -lean_inc(x_269); -x_272 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_272, 0, x_269); -lean_ctor_set(x_272, 1, x_255); -lean_inc(x_269); -x_273 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_273, 0, x_269); -lean_ctor_set(x_273, 1, x_260); -lean_ctor_set(x_273, 2, x_258); -lean_ctor_set(x_273, 3, x_259); -x_274 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__10; -lean_inc(x_269); -x_275 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_275, 0, x_269); -lean_ctor_set(x_275, 1, x_274); -x_276 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__11; -lean_inc(x_269); +lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_271 = lean_ctor_get(x_269, 0); +x_272 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__9; +lean_inc(x_271); +x_273 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_273, 0, x_271); +lean_ctor_set(x_273, 1, x_272); +lean_inc(x_271); +x_274 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_274, 0, x_271); +lean_ctor_set(x_274, 1, x_257); +lean_inc(x_271); +x_275 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_275, 0, x_271); +lean_ctor_set(x_275, 1, x_262); +lean_ctor_set(x_275, 2, x_260); +lean_ctor_set(x_275, 3, x_261); +x_276 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__10; +lean_inc(x_271); x_277 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_277, 0, x_269); +lean_ctor_set(x_277, 0, x_271); lean_ctor_set(x_277, 1, x_276); -x_278 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__14; -lean_inc(x_269); +x_278 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__11; +lean_inc(x_271); x_279 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_279, 0, x_269); +lean_ctor_set(x_279, 0, x_271); lean_ctor_set(x_279, 1, x_278); -x_280 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__18; -x_281 = l_Lean_addMacroScope(x_245, x_280, x_246); -x_282 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__17; -x_283 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__22; -lean_inc(x_269); -x_284 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_284, 0, x_269); -lean_ctor_set(x_284, 1, x_282); -lean_ctor_set(x_284, 2, x_281); -lean_ctor_set(x_284, 3, x_283); -x_285 = l_prec_x28___x29___closed__3; -lean_inc(x_269); -x_286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_286, 0, x_269); -lean_ctor_set(x_286, 1, x_285); -x_287 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__10; -lean_inc(x_269); +x_280 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__14; +lean_inc(x_271); +x_281 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_281, 0, x_271); +lean_ctor_set(x_281, 1, x_280); +x_282 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__18; +x_283 = l_Lean_addMacroScope(x_247, x_282, x_248); +x_284 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__17; +x_285 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__22; +lean_inc(x_271); +x_286 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_286, 0, x_271); +lean_ctor_set(x_286, 1, x_284); +lean_ctor_set(x_286, 2, x_283); +lean_ctor_set(x_286, 3, x_285); +x_287 = l_prec_x28___x29___closed__3; +lean_inc(x_271); x_288 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_288, 0, x_269); +lean_ctor_set(x_288, 0, x_271); lean_ctor_set(x_288, 1, x_287); -x_289 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; -x_290 = lean_array_push(x_289, x_15); -x_291 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; -lean_inc(x_269); -x_292 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_292, 0, x_269); -lean_ctor_set(x_292, 1, x_291); -lean_ctor_set(x_292, 2, x_290); -x_293 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; -lean_inc(x_269); +x_289 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__10; +lean_inc(x_271); +x_290 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_290, 0, x_271); +lean_ctor_set(x_290, 1, x_289); +x_291 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; +x_292 = lean_array_push(x_291, x_15); +x_293 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; +lean_inc(x_271); x_294 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_294, 0, x_269); -lean_ctor_set(x_294, 1, x_291); -lean_ctor_set(x_294, 2, x_293); -x_295 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; -lean_inc(x_269); -x_296 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_296, 0, x_269); -lean_ctor_set(x_296, 1, x_295); -x_297 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; -x_298 = lean_array_push(x_297, x_292); -lean_inc(x_294); -x_299 = lean_array_push(x_298, x_294); -x_300 = lean_array_push(x_299, x_296); -lean_inc(x_300); -x_301 = lean_array_push(x_300, x_241); -x_302 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; -lean_inc(x_269); -x_303 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_303, 0, x_269); -lean_ctor_set(x_303, 1, x_302); -lean_ctor_set(x_303, 2, x_301); -x_304 = lean_array_push(x_262, x_288); -lean_inc(x_304); -x_305 = lean_array_push(x_304, x_303); -x_306 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; -lean_inc(x_269); -x_307 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_307, 0, x_269); -lean_ctor_set(x_307, 1, x_306); -lean_ctor_set(x_307, 2, x_305); -x_308 = lean_array_push(x_262, x_307); -lean_inc(x_294); -x_309 = lean_array_push(x_308, x_294); -lean_inc(x_269); -x_310 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_310, 0, x_269); -lean_ctor_set(x_310, 1, x_291); -lean_ctor_set(x_310, 2, x_309); -x_311 = l_prec_x28___x29___closed__7; -lean_inc(x_269); -x_312 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_312, 0, x_269); -lean_ctor_set(x_312, 1, x_311); -x_313 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; -x_314 = lean_array_push(x_313, x_286); +lean_ctor_set(x_294, 0, x_271); +lean_ctor_set(x_294, 1, x_293); +lean_ctor_set(x_294, 2, x_292); +x_295 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; +lean_inc(x_271); +x_296 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_296, 0, x_271); +lean_ctor_set(x_296, 1, x_293); +lean_ctor_set(x_296, 2, x_295); +x_297 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; +lean_inc(x_271); +x_298 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_298, 0, x_271); +lean_ctor_set(x_298, 1, x_297); +x_299 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; +x_300 = lean_array_push(x_299, x_294); +lean_inc(x_296); +x_301 = lean_array_push(x_300, x_296); +x_302 = lean_array_push(x_301, x_298); +lean_inc(x_302); +x_303 = lean_array_push(x_302, x_243); +x_304 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; +lean_inc(x_271); +x_305 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_305, 0, x_271); +lean_ctor_set(x_305, 1, x_304); +lean_ctor_set(x_305, 2, x_303); +x_306 = lean_array_push(x_264, x_290); +lean_inc(x_306); +x_307 = lean_array_push(x_306, x_305); +x_308 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; +lean_inc(x_271); +x_309 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_309, 0, x_271); +lean_ctor_set(x_309, 1, x_308); +lean_ctor_set(x_309, 2, x_307); +x_310 = lean_array_push(x_264, x_309); +lean_inc(x_296); +x_311 = lean_array_push(x_310, x_296); +lean_inc(x_271); +x_312 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_312, 0, x_271); +lean_ctor_set(x_312, 1, x_293); +lean_ctor_set(x_312, 2, x_311); +x_313 = l_prec_x28___x29___closed__7; +lean_inc(x_271); +x_314 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_314, 0, x_271); +lean_ctor_set(x_314, 1, x_313); +x_315 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; +x_316 = lean_array_push(x_315, x_288); +lean_inc(x_316); +x_317 = lean_array_push(x_316, x_312); lean_inc(x_314); -x_315 = lean_array_push(x_314, x_310); -lean_inc(x_312); -x_316 = lean_array_push(x_315, x_312); -x_317 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; -lean_inc(x_269); -x_318 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_318, 0, x_269); -lean_ctor_set(x_318, 1, x_317); -lean_ctor_set(x_318, 2, x_316); -x_319 = lean_array_push(x_300, x_243); -lean_inc(x_269); +x_318 = lean_array_push(x_317, x_314); +x_319 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; +lean_inc(x_271); x_320 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_320, 0, x_269); -lean_ctor_set(x_320, 1, x_302); -lean_ctor_set(x_320, 2, x_319); -x_321 = lean_array_push(x_304, x_320); -lean_inc(x_269); +lean_ctor_set(x_320, 0, x_271); +lean_ctor_set(x_320, 1, x_319); +lean_ctor_set(x_320, 2, x_318); +x_321 = lean_array_push(x_302, x_245); +lean_inc(x_271); x_322 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_322, 0, x_269); -lean_ctor_set(x_322, 1, x_306); +lean_ctor_set(x_322, 0, x_271); +lean_ctor_set(x_322, 1, x_304); lean_ctor_set(x_322, 2, x_321); -x_323 = lean_array_push(x_262, x_322); -x_324 = lean_array_push(x_323, x_294); -lean_inc(x_269); -x_325 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_325, 0, x_269); -lean_ctor_set(x_325, 1, x_291); -lean_ctor_set(x_325, 2, x_324); -x_326 = lean_array_push(x_314, x_325); -x_327 = lean_array_push(x_326, x_312); -lean_inc(x_269); -x_328 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_328, 0, x_269); -lean_ctor_set(x_328, 1, x_317); -lean_ctor_set(x_328, 2, x_327); -x_329 = lean_array_push(x_313, x_266); -x_330 = lean_array_push(x_329, x_318); -x_331 = lean_array_push(x_330, x_328); -lean_inc(x_269); -x_332 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_332, 0, x_269); -lean_ctor_set(x_332, 1, x_291); -lean_ctor_set(x_332, 2, x_331); -x_333 = lean_array_push(x_262, x_284); -x_334 = lean_array_push(x_333, x_332); -x_335 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; -lean_inc(x_269); -x_336 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_336, 0, x_269); -lean_ctor_set(x_336, 1, x_335); -lean_ctor_set(x_336, 2, x_334); -x_337 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; -x_338 = lean_array_push(x_337, x_279); -lean_inc(x_272); -x_339 = lean_array_push(x_338, x_272); -lean_inc(x_273); -x_340 = lean_array_push(x_339, x_273); -lean_inc(x_277); -x_341 = lean_array_push(x_340, x_277); -x_342 = lean_array_push(x_341, x_336); -x_343 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; -lean_inc(x_269); -x_344 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_344, 0, x_269); -lean_ctor_set(x_344, 1, x_343); -lean_ctor_set(x_344, 2, x_342); -x_345 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; -x_346 = lean_array_push(x_345, x_271); -x_347 = lean_array_push(x_346, x_272); +x_323 = lean_array_push(x_306, x_322); +lean_inc(x_271); +x_324 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_324, 0, x_271); +lean_ctor_set(x_324, 1, x_308); +lean_ctor_set(x_324, 2, x_323); +x_325 = lean_array_push(x_264, x_324); +x_326 = lean_array_push(x_325, x_296); +lean_inc(x_271); +x_327 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_327, 0, x_271); +lean_ctor_set(x_327, 1, x_293); +lean_ctor_set(x_327, 2, x_326); +x_328 = lean_array_push(x_316, x_327); +x_329 = lean_array_push(x_328, x_314); +lean_inc(x_271); +x_330 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_330, 0, x_271); +lean_ctor_set(x_330, 1, x_319); +lean_ctor_set(x_330, 2, x_329); +x_331 = lean_array_push(x_315, x_268); +x_332 = lean_array_push(x_331, x_320); +x_333 = lean_array_push(x_332, x_330); +lean_inc(x_271); +x_334 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_334, 0, x_271); +lean_ctor_set(x_334, 1, x_293); +lean_ctor_set(x_334, 2, x_333); +x_335 = lean_array_push(x_264, x_286); +x_336 = lean_array_push(x_335, x_334); +x_337 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; +lean_inc(x_271); +x_338 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_338, 0, x_271); +lean_ctor_set(x_338, 1, x_337); +lean_ctor_set(x_338, 2, x_336); +x_339 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; +x_340 = lean_array_push(x_339, x_281); +lean_inc(x_274); +x_341 = lean_array_push(x_340, x_274); +lean_inc(x_275); +x_342 = lean_array_push(x_341, x_275); +lean_inc(x_279); +x_343 = lean_array_push(x_342, x_279); +x_344 = lean_array_push(x_343, x_338); +x_345 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; +lean_inc(x_271); +x_346 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_346, 0, x_271); +lean_ctor_set(x_346, 1, x_345); +lean_ctor_set(x_346, 2, x_344); +x_347 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; x_348 = lean_array_push(x_347, x_273); -x_349 = lean_array_push(x_348, x_275); -x_350 = lean_array_push(x_349, x_239); +x_349 = lean_array_push(x_348, x_274); +x_350 = lean_array_push(x_349, x_275); x_351 = lean_array_push(x_350, x_277); -x_352 = lean_array_push(x_351, x_344); -x_353 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; -x_354 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_354, 0, x_269); -lean_ctor_set(x_354, 1, x_353); -lean_ctor_set(x_354, 2, x_352); -lean_ctor_set(x_267, 0, x_354); -return x_267; +x_352 = lean_array_push(x_351, x_241); +x_353 = lean_array_push(x_352, x_279); +x_354 = lean_array_push(x_353, x_346); +x_355 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; +x_356 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_356, 0, x_271); +lean_ctor_set(x_356, 1, x_355); +lean_ctor_set(x_356, 2, x_354); +lean_ctor_set(x_269, 0, x_356); +return x_269; } else { -lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; -x_355 = lean_ctor_get(x_267, 0); -x_356 = lean_ctor_get(x_267, 1); -lean_inc(x_356); -lean_inc(x_355); -lean_dec(x_267); -x_357 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__9; -lean_inc(x_355); -x_358 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_358, 0, x_355); -lean_ctor_set(x_358, 1, x_357); -lean_inc(x_355); -x_359 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_359, 0, x_355); -lean_ctor_set(x_359, 1, x_255); -lean_inc(x_355); -x_360 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_360, 0, x_355); -lean_ctor_set(x_360, 1, x_260); -lean_ctor_set(x_360, 2, x_258); -lean_ctor_set(x_360, 3, x_259); -x_361 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__10; -lean_inc(x_355); -x_362 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_362, 0, x_355); -lean_ctor_set(x_362, 1, x_361); -x_363 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__11; -lean_inc(x_355); +lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; +x_357 = lean_ctor_get(x_269, 0); +x_358 = lean_ctor_get(x_269, 1); +lean_inc(x_358); +lean_inc(x_357); +lean_dec(x_269); +x_359 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__9; +lean_inc(x_357); +x_360 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_360, 0, x_357); +lean_ctor_set(x_360, 1, x_359); +lean_inc(x_357); +x_361 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_361, 0, x_357); +lean_ctor_set(x_361, 1, x_257); +lean_inc(x_357); +x_362 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_362, 0, x_357); +lean_ctor_set(x_362, 1, x_262); +lean_ctor_set(x_362, 2, x_260); +lean_ctor_set(x_362, 3, x_261); +x_363 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__10; +lean_inc(x_357); x_364 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_364, 0, x_355); +lean_ctor_set(x_364, 0, x_357); lean_ctor_set(x_364, 1, x_363); -x_365 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__14; -lean_inc(x_355); +x_365 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__11; +lean_inc(x_357); x_366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_366, 0, x_355); +lean_ctor_set(x_366, 0, x_357); lean_ctor_set(x_366, 1, x_365); -x_367 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__18; -x_368 = l_Lean_addMacroScope(x_245, x_367, x_246); -x_369 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__17; -x_370 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__22; -lean_inc(x_355); -x_371 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_371, 0, x_355); -lean_ctor_set(x_371, 1, x_369); -lean_ctor_set(x_371, 2, x_368); -lean_ctor_set(x_371, 3, x_370); -x_372 = l_prec_x28___x29___closed__3; -lean_inc(x_355); -x_373 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_373, 0, x_355); -lean_ctor_set(x_373, 1, x_372); -x_374 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__10; -lean_inc(x_355); +x_367 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__14; +lean_inc(x_357); +x_368 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_368, 0, x_357); +lean_ctor_set(x_368, 1, x_367); +x_369 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__18; +x_370 = l_Lean_addMacroScope(x_247, x_369, x_248); +x_371 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__17; +x_372 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__22; +lean_inc(x_357); +x_373 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_373, 0, x_357); +lean_ctor_set(x_373, 1, x_371); +lean_ctor_set(x_373, 2, x_370); +lean_ctor_set(x_373, 3, x_372); +x_374 = l_prec_x28___x29___closed__3; +lean_inc(x_357); x_375 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_375, 0, x_355); +lean_ctor_set(x_375, 0, x_357); lean_ctor_set(x_375, 1, x_374); -x_376 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; -x_377 = lean_array_push(x_376, x_15); -x_378 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; -lean_inc(x_355); -x_379 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_379, 0, x_355); -lean_ctor_set(x_379, 1, x_378); -lean_ctor_set(x_379, 2, x_377); -x_380 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; -lean_inc(x_355); +x_376 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__10; +lean_inc(x_357); +x_377 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_377, 0, x_357); +lean_ctor_set(x_377, 1, x_376); +x_378 = l___aux__Init__Notation______macroRules__precMax__1___closed__4; +x_379 = lean_array_push(x_378, x_15); +x_380 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__8; +lean_inc(x_357); x_381 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_381, 0, x_355); -lean_ctor_set(x_381, 1, x_378); -lean_ctor_set(x_381, 2, x_380); -x_382 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; -lean_inc(x_355); -x_383 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_383, 0, x_355); -lean_ctor_set(x_383, 1, x_382); -x_384 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; -x_385 = lean_array_push(x_384, x_379); -lean_inc(x_381); -x_386 = lean_array_push(x_385, x_381); -x_387 = lean_array_push(x_386, x_383); -lean_inc(x_387); -x_388 = lean_array_push(x_387, x_241); -x_389 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; -lean_inc(x_355); -x_390 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_390, 0, x_355); -lean_ctor_set(x_390, 1, x_389); -lean_ctor_set(x_390, 2, x_388); -x_391 = lean_array_push(x_262, x_375); -lean_inc(x_391); -x_392 = lean_array_push(x_391, x_390); -x_393 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; -lean_inc(x_355); -x_394 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_394, 0, x_355); -lean_ctor_set(x_394, 1, x_393); -lean_ctor_set(x_394, 2, x_392); -x_395 = lean_array_push(x_262, x_394); -lean_inc(x_381); -x_396 = lean_array_push(x_395, x_381); -lean_inc(x_355); -x_397 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_397, 0, x_355); -lean_ctor_set(x_397, 1, x_378); -lean_ctor_set(x_397, 2, x_396); -x_398 = l_prec_x28___x29___closed__7; -lean_inc(x_355); -x_399 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_399, 0, x_355); -lean_ctor_set(x_399, 1, x_398); -x_400 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; -x_401 = lean_array_push(x_400, x_373); +lean_ctor_set(x_381, 0, x_357); +lean_ctor_set(x_381, 1, x_380); +lean_ctor_set(x_381, 2, x_379); +x_382 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__11; +lean_inc(x_357); +x_383 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_383, 0, x_357); +lean_ctor_set(x_383, 1, x_380); +lean_ctor_set(x_383, 2, x_382); +x_384 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__28; +lean_inc(x_357); +x_385 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_385, 0, x_357); +lean_ctor_set(x_385, 1, x_384); +x_386 = l___aux__Init__Notation______macroRules__stx___x2b__1___closed__9; +x_387 = lean_array_push(x_386, x_381); +lean_inc(x_383); +x_388 = lean_array_push(x_387, x_383); +x_389 = lean_array_push(x_388, x_385); +lean_inc(x_389); +x_390 = lean_array_push(x_389, x_243); +x_391 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__13; +lean_inc(x_357); +x_392 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_392, 0, x_357); +lean_ctor_set(x_392, 1, x_391); +lean_ctor_set(x_392, 2, x_390); +x_393 = lean_array_push(x_264, x_377); +lean_inc(x_393); +x_394 = lean_array_push(x_393, x_392); +x_395 = l___aux__Init__Notation______macroRules__term___x3c_x2a_x3e____1___closed__11; +lean_inc(x_357); +x_396 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_396, 0, x_357); +lean_ctor_set(x_396, 1, x_395); +lean_ctor_set(x_396, 2, x_394); +x_397 = lean_array_push(x_264, x_396); +lean_inc(x_383); +x_398 = lean_array_push(x_397, x_383); +lean_inc(x_357); +x_399 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_399, 0, x_357); +lean_ctor_set(x_399, 1, x_380); +lean_ctor_set(x_399, 2, x_398); +x_400 = l_prec_x28___x29___closed__7; +lean_inc(x_357); +x_401 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_401, 0, x_357); +lean_ctor_set(x_401, 1, x_400); +x_402 = l___aux__Init__Notation______unexpand__Function__comp__1___closed__3; +x_403 = lean_array_push(x_402, x_375); +lean_inc(x_403); +x_404 = lean_array_push(x_403, x_399); lean_inc(x_401); -x_402 = lean_array_push(x_401, x_397); -lean_inc(x_399); -x_403 = lean_array_push(x_402, x_399); -x_404 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; -lean_inc(x_355); -x_405 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_405, 0, x_355); -lean_ctor_set(x_405, 1, x_404); -lean_ctor_set(x_405, 2, x_403); -x_406 = lean_array_push(x_387, x_243); -lean_inc(x_355); +x_405 = lean_array_push(x_404, x_401); +x_406 = l___aux__Init__Notation______macroRules__term___u2209____1___closed__2; +lean_inc(x_357); x_407 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_407, 0, x_355); -lean_ctor_set(x_407, 1, x_389); -lean_ctor_set(x_407, 2, x_406); -x_408 = lean_array_push(x_391, x_407); -lean_inc(x_355); +lean_ctor_set(x_407, 0, x_357); +lean_ctor_set(x_407, 1, x_406); +lean_ctor_set(x_407, 2, x_405); +x_408 = lean_array_push(x_389, x_245); +lean_inc(x_357); x_409 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_409, 0, x_355); -lean_ctor_set(x_409, 1, x_393); +lean_ctor_set(x_409, 0, x_357); +lean_ctor_set(x_409, 1, x_391); lean_ctor_set(x_409, 2, x_408); -x_410 = lean_array_push(x_262, x_409); -x_411 = lean_array_push(x_410, x_381); -lean_inc(x_355); -x_412 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_412, 0, x_355); -lean_ctor_set(x_412, 1, x_378); -lean_ctor_set(x_412, 2, x_411); -x_413 = lean_array_push(x_401, x_412); -x_414 = lean_array_push(x_413, x_399); -lean_inc(x_355); -x_415 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_415, 0, x_355); -lean_ctor_set(x_415, 1, x_404); -lean_ctor_set(x_415, 2, x_414); -x_416 = lean_array_push(x_400, x_266); -x_417 = lean_array_push(x_416, x_405); -x_418 = lean_array_push(x_417, x_415); -lean_inc(x_355); -x_419 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_419, 0, x_355); -lean_ctor_set(x_419, 1, x_378); -lean_ctor_set(x_419, 2, x_418); -x_420 = lean_array_push(x_262, x_371); -x_421 = lean_array_push(x_420, x_419); -x_422 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; -lean_inc(x_355); -x_423 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_423, 0, x_355); -lean_ctor_set(x_423, 1, x_422); -lean_ctor_set(x_423, 2, x_421); -x_424 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; -x_425 = lean_array_push(x_424, x_366); -lean_inc(x_359); -x_426 = lean_array_push(x_425, x_359); -lean_inc(x_360); -x_427 = lean_array_push(x_426, x_360); -lean_inc(x_364); -x_428 = lean_array_push(x_427, x_364); -x_429 = lean_array_push(x_428, x_423); -x_430 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; -lean_inc(x_355); -x_431 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_431, 0, x_355); -lean_ctor_set(x_431, 1, x_430); -lean_ctor_set(x_431, 2, x_429); -x_432 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; -x_433 = lean_array_push(x_432, x_358); -x_434 = lean_array_push(x_433, x_359); +x_410 = lean_array_push(x_393, x_409); +lean_inc(x_357); +x_411 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_411, 0, x_357); +lean_ctor_set(x_411, 1, x_395); +lean_ctor_set(x_411, 2, x_410); +x_412 = lean_array_push(x_264, x_411); +x_413 = lean_array_push(x_412, x_383); +lean_inc(x_357); +x_414 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_414, 0, x_357); +lean_ctor_set(x_414, 1, x_380); +lean_ctor_set(x_414, 2, x_413); +x_415 = lean_array_push(x_403, x_414); +x_416 = lean_array_push(x_415, x_401); +lean_inc(x_357); +x_417 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_417, 0, x_357); +lean_ctor_set(x_417, 1, x_406); +lean_ctor_set(x_417, 2, x_416); +x_418 = lean_array_push(x_402, x_268); +x_419 = lean_array_push(x_418, x_407); +x_420 = lean_array_push(x_419, x_417); +lean_inc(x_357); +x_421 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_421, 0, x_357); +lean_ctor_set(x_421, 1, x_380); +lean_ctor_set(x_421, 2, x_420); +x_422 = lean_array_push(x_264, x_373); +x_423 = lean_array_push(x_422, x_421); +x_424 = l___aux__Init__Notation______macroRules__term___u2218____1___closed__4; +lean_inc(x_357); +x_425 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_425, 0, x_357); +lean_ctor_set(x_425, 1, x_424); +lean_ctor_set(x_425, 2, x_423); +x_426 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__23; +x_427 = lean_array_push(x_426, x_368); +lean_inc(x_361); +x_428 = lean_array_push(x_427, x_361); +lean_inc(x_362); +x_429 = lean_array_push(x_428, x_362); +lean_inc(x_366); +x_430 = lean_array_push(x_429, x_366); +x_431 = lean_array_push(x_430, x_425); +x_432 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__13; +lean_inc(x_357); +x_433 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_433, 0, x_357); +lean_ctor_set(x_433, 1, x_432); +lean_ctor_set(x_433, 2, x_431); +x_434 = l___aux__Init__Notation______macroRules__stx___x2c_x2a__1___closed__12; x_435 = lean_array_push(x_434, x_360); -x_436 = lean_array_push(x_435, x_362); -x_437 = lean_array_push(x_436, x_239); +x_436 = lean_array_push(x_435, x_361); +x_437 = lean_array_push(x_436, x_362); x_438 = lean_array_push(x_437, x_364); -x_439 = lean_array_push(x_438, x_431); -x_440 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; -x_441 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_441, 0, x_355); -lean_ctor_set(x_441, 1, x_440); -lean_ctor_set(x_441, 2, x_439); -x_442 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_356); -return x_442; +x_439 = lean_array_push(x_438, x_241); +x_440 = lean_array_push(x_439, x_366); +x_441 = lean_array_push(x_440, x_433); +x_442 = l___aux__Init__Notation______macroRules__termDepIfThenElse__1___closed__8; +x_443 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_443, 0, x_357); +lean_ctor_set(x_443, 1, x_442); +lean_ctor_set(x_443, 2, x_441); +x_444 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_444, 0, x_443); +lean_ctor_set(x_444, 1, x_358); +return x_444; } } } @@ -40548,6 +40644,22 @@ l_Lean_binderIdent___closed__7 = _init_l_Lean_binderIdent___closed__7(); lean_mark_persistent(l_Lean_binderIdent___closed__7); l_Lean_binderIdent = _init_l_Lean_binderIdent(); lean_mark_persistent(l_Lean_binderIdent); +l_Lean_Parser_Tactic_caseArg___closed__1 = _init_l_Lean_Parser_Tactic_caseArg___closed__1(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__1); +l_Lean_Parser_Tactic_caseArg___closed__2 = _init_l_Lean_Parser_Tactic_caseArg___closed__2(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__2); +l_Lean_Parser_Tactic_caseArg___closed__3 = _init_l_Lean_Parser_Tactic_caseArg___closed__3(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__3); +l_Lean_Parser_Tactic_caseArg___closed__4 = _init_l_Lean_Parser_Tactic_caseArg___closed__4(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__4); +l_Lean_Parser_Tactic_caseArg___closed__5 = _init_l_Lean_Parser_Tactic_caseArg___closed__5(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__5); +l_Lean_Parser_Tactic_caseArg___closed__6 = _init_l_Lean_Parser_Tactic_caseArg___closed__6(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__6); +l_Lean_Parser_Tactic_caseArg___closed__7 = _init_l_Lean_Parser_Tactic_caseArg___closed__7(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__7); +l_Lean_Parser_Tactic_caseArg = _init_l_Lean_Parser_Tactic_caseArg(); +lean_mark_persistent(l_Lean_Parser_Tactic_caseArg); l_termDepIfThenElse___closed__1 = _init_l_termDepIfThenElse___closed__1(); lean_mark_persistent(l_termDepIfThenElse___closed__1); l_termDepIfThenElse___closed__2 = _init_l_termDepIfThenElse___closed__2(); diff --git a/stage0/stdlib/Init/NotationExtra.c b/stage0/stdlib/Init/NotationExtra.c index 79a3784e58..0f79f982b9 100644 --- a/stage0/stdlib/Init/NotationExtra.c +++ b/stage0/stdlib/Init/NotationExtra.c @@ -111,7 +111,7 @@ static lean_object* l_unexpandGetElem_x21___closed__2; static lean_object* l_Lean_termMacro_x2etrace_x5b___x5d_____closed__7; static lean_object* l_tactic_xb7_x2e_____x3b_____closed__3; static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__7; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___aux__Init__NotationExtra______macroRules__tacticFunext______1___closed__6; static lean_object* l_Lean_command____Unif__hint____Where___x7c_x2d_u22a2_____closed__35; static lean_object* l_unexpandGetElem_x21___closed__1; @@ -173,7 +173,7 @@ LEAN_EXPORT lean_object* l___aux__Init__NotationExtra______macroRules__Lean__Par static lean_object* l_Lean_command____Unif__hint____Where___x7c_x2d_u22a2_____closed__1; LEAN_EXPORT lean_object* l_tactic_xb7_x2e_____x3b__; static lean_object* l___aux__Init__NotationExtra______macroRules__term_u2203___x2c____1___closed__1; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean___aux__Init__NotationExtra______macroRules__Lean__doElemRepeat____1___closed__10; static lean_object* l_Lean_command____Unif__hint____Where___x7c_x2d_u22a2_____closed__28; LEAN_EXPORT lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__tactic_xb7_x2e_____x3b____1___spec__1___boxed(lean_object*, lean_object*); @@ -2788,102 +2788,103 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_expandExplicitBinders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_6 = lean_ctor_get(x_4, 5); lean_inc(x_6); -x_7 = l_Lean_mkIdentFrom(x_6, x_1); -x_8 = lean_unsigned_to_nat(0u); -x_9 = l_Lean_Syntax_getArg(x_2, x_8); -lean_inc(x_9); -x_10 = l_Lean_Syntax_getKind(x_9); -x_11 = l_Lean_unbracketedExplicitBinders___closed__2; -x_12 = lean_name_eq(x_10, x_11); +x_7 = 0; +x_8 = l_Lean_mkIdentFrom(x_6, x_1, x_7); +x_9 = lean_unsigned_to_nat(0u); +x_10 = l_Lean_Syntax_getArg(x_2, x_9); +lean_inc(x_10); +x_11 = l_Lean_Syntax_getKind(x_10); +x_12 = l_Lean_unbracketedExplicitBinders___closed__2; +x_13 = lean_name_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = l_Lean_Syntax_getArgs(x_10); lean_dec(x_10); -if (x_12 == 0) +x_15 = lean_array_get_size(x_14); +x_16 = lean_nat_dec_lt(x_9, x_15); +if (x_16 == 0) { -lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_13 = l_Lean_Syntax_getArgs(x_9); -lean_dec(x_9); -x_14 = lean_array_get_size(x_13); -x_15 = lean_nat_dec_lt(x_8, x_14); -if (x_15 == 0) -{ -lean_object* x_16; +lean_object* x_17; +lean_dec(x_15); +x_17 = l_Lean_expandBrackedBindersAux(x_8, x_14, x_3, x_4, x_5); lean_dec(x_14); -x_16 = l_Lean_expandBrackedBindersAux(x_7, x_13, x_3, x_4, x_5); -lean_dec(x_13); -return x_16; +return x_17; } else { -uint8_t x_17; -x_17 = lean_nat_dec_le(x_14, x_14); -if (x_17 == 0) +uint8_t x_18; +x_18 = lean_nat_dec_le(x_15, x_15); +if (x_18 == 0) { -lean_object* x_18; +lean_object* x_19; +lean_dec(x_15); +x_19 = l_Lean_expandBrackedBindersAux(x_8, x_14, x_3, x_4, x_5); lean_dec(x_14); -x_18 = l_Lean_expandBrackedBindersAux(x_7, x_13, x_3, x_4, x_5); -lean_dec(x_13); -return x_18; +return x_19; } else { -size_t x_19; size_t x_20; lean_object* x_21; uint8_t x_22; -x_19 = 0; -x_20 = lean_usize_of_nat(x_14); -lean_dec(x_14); -x_21 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__2; -x_22 = l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1(x_21, x_13, x_19, x_20); -if (x_22 == 0) +size_t x_20; size_t x_21; lean_object* x_22; uint8_t x_23; +x_20 = 0; +x_21 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_22 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__2; +x_23 = l_Array_anyMUnsafe_any___at_Lean_expandExplicitBinders___spec__1(x_22, x_14, x_20, x_21); +if (x_23 == 0) { -lean_object* x_23; -x_23 = l_Lean_expandBrackedBindersAux(x_7, x_13, x_3, x_4, x_5); -lean_dec(x_13); -return x_23; +lean_object* x_24; +x_24 = l_Lean_expandBrackedBindersAux(x_8, x_14, x_3, x_4, x_5); +lean_dec(x_14); +return x_24; } else { -lean_object* x_24; lean_object* x_25; -lean_dec(x_13); -lean_dec(x_7); +lean_object* x_25; lean_object* x_26; +lean_dec(x_14); +lean_dec(x_8); lean_dec(x_3); -x_24 = l_Lean_expandExplicitBinders___closed__1; -x_25 = l_Lean_Macro_throwError___rarg(x_24, x_4, x_5); +x_25 = l_Lean_expandExplicitBinders___closed__1; +x_26 = l_Lean_Macro_throwError___rarg(x_25, x_4, x_5); lean_dec(x_4); -return x_25; +return x_26; } } } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_26 = l_Lean_Syntax_getArg(x_9, x_8); -x_27 = l_Lean_Syntax_getArgs(x_26); -lean_dec(x_26); -x_28 = lean_unsigned_to_nat(1u); -x_29 = l_Lean_Syntax_getArg(x_9, x_28); -lean_dec(x_9); -x_30 = l_Lean_Syntax_isNone(x_29); -if (x_30 == 0) -{ -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = l_Lean_Syntax_getArg(x_29, x_28); -lean_dec(x_29); -x_32 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_32, 0, x_31); -x_33 = l_Lean_expandExplicitBindersAux(x_7, x_27, x_32, x_3, x_4, x_5); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_27 = l_Lean_Syntax_getArg(x_10, x_9); +x_28 = l_Lean_Syntax_getArgs(x_27); lean_dec(x_27); -return x_33; +x_29 = lean_unsigned_to_nat(1u); +x_30 = l_Lean_Syntax_getArg(x_10, x_29); +lean_dec(x_10); +x_31 = l_Lean_Syntax_isNone(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = l_Lean_Syntax_getArg(x_30, x_29); +lean_dec(x_30); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = l_Lean_expandExplicitBindersAux(x_8, x_28, x_33, x_3, x_4, x_5); +lean_dec(x_28); +return x_34; } else { -lean_object* x_34; lean_object* x_35; -lean_dec(x_29); -x_34 = lean_box(0); -x_35 = l_Lean_expandExplicitBindersAux(x_7, x_27, x_34, x_3, x_4, x_5); -lean_dec(x_27); -return x_35; +lean_object* x_35; lean_object* x_36; +lean_dec(x_30); +x_35 = lean_box(0); +x_36 = l_Lean_expandExplicitBindersAux(x_8, x_28, x_35, x_3, x_4, x_5); +lean_dec(x_28); +return x_36; } } } @@ -2914,15 +2915,16 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_expandBrackedBinders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; x_6 = lean_ctor_get(x_4, 5); lean_inc(x_6); -x_7 = l_Lean_mkIdentFrom(x_6, x_1); -x_8 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__36; -x_9 = lean_array_push(x_8, x_2); -x_10 = l_Lean_expandBrackedBindersAux(x_7, x_9, x_3, x_4, x_5); -lean_dec(x_9); -return x_10; +x_7 = 0; +x_8 = l_Lean_mkIdentFrom(x_6, x_1, x_7); +x_9 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__36; +x_10 = lean_array_push(x_9, x_2); +x_11 = l_Lean_expandBrackedBindersAux(x_8, x_10, x_3, x_4, x_5); +lean_dec(x_10); +return x_11; } } static lean_object* _init_l_Lean_unifConstraint___closed__1() { @@ -12511,15 +12513,16 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__4(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_ctor_get(x_1, 5); lean_inc(x_3); lean_dec(x_1); -x_4 = l_Lean_SourceInfo_fromRef(x_3); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -return x_5; +x_4 = 0; +x_5 = l_Lean_SourceInfo_fromRef(x_3, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; } } static lean_object* _init_l_Array_foldrMUnsafe_fold___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__5___closed__1() { @@ -14021,552 +14024,553 @@ lean_dec(x_23); x_25 = l_Lean_Name_hasMacroScopes(x_24); if (x_25 == 0) { -lean_object* x_244; lean_object* x_245; -x_244 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__11; -x_245 = l_Lean_Name_append(x_24, x_244); +lean_object* x_245; lean_object* x_246; +x_245 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__11; +x_246 = l_Lean_Name_append(x_24, x_245); lean_dec(x_24); -x_26 = x_245; -goto block_243; +x_26 = x_246; +goto block_244; } else { -lean_object* x_246; uint8_t x_247; -x_246 = l_Lean_extractMacroScopes(x_24); -x_247 = !lean_is_exclusive(x_246); -if (x_247 == 0) +lean_object* x_247; uint8_t x_248; +x_247 = l_Lean_extractMacroScopes(x_24); +x_248 = !lean_is_exclusive(x_247); +if (x_248 == 0) { -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_248 = lean_ctor_get(x_246, 0); -x_249 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__11; -x_250 = l_Lean_Name_append(x_248, x_249); -lean_dec(x_248); -lean_ctor_set(x_246, 0, x_250); -x_251 = l_Lean_MacroScopesView_review(x_246); -x_26 = x_251; -goto block_243; +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +x_249 = lean_ctor_get(x_247, 0); +x_250 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__11; +x_251 = l_Lean_Name_append(x_249, x_250); +lean_dec(x_249); +lean_ctor_set(x_247, 0, x_251); +x_252 = l_Lean_MacroScopesView_review(x_247); +x_26 = x_252; +goto block_244; } else { -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_252 = lean_ctor_get(x_246, 0); -x_253 = lean_ctor_get(x_246, 1); -x_254 = lean_ctor_get(x_246, 2); -x_255 = lean_ctor_get(x_246, 3); +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_253 = lean_ctor_get(x_247, 0); +x_254 = lean_ctor_get(x_247, 1); +x_255 = lean_ctor_get(x_247, 2); +x_256 = lean_ctor_get(x_247, 3); +lean_inc(x_256); lean_inc(x_255); lean_inc(x_254); lean_inc(x_253); -lean_inc(x_252); -lean_dec(x_246); -x_256 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__11; -x_257 = l_Lean_Name_append(x_252, x_256); -lean_dec(x_252); -x_258 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_253); -lean_ctor_set(x_258, 2, x_254); -lean_ctor_set(x_258, 3, x_255); -x_259 = l_Lean_MacroScopesView_review(x_258); -x_26 = x_259; -goto block_243; +lean_dec(x_247); +x_257 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__11; +x_258 = l_Lean_Name_append(x_253, x_257); +lean_dec(x_253); +x_259 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_259, 0, x_258); +lean_ctor_set(x_259, 1, x_254); +lean_ctor_set(x_259, 2, x_255); +lean_ctor_set(x_259, 3, x_256); +x_260 = l_Lean_MacroScopesView_review(x_259); +x_26 = x_260; +goto block_244; } } -block_243: +block_244: { -lean_object* x_27; lean_object* x_28; uint8_t x_29; +uint8_t x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_27 = 0; lean_inc(x_4); -x_27 = l_Lean_mkIdentFrom(x_4, x_26); -x_28 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_9, x_10); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_28 = l_Lean_mkIdentFrom(x_4, x_26, x_27); +x_29 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_9, x_10); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_30 = lean_ctor_get(x_28, 0); -x_31 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__9; +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; +x_31 = lean_ctor_get(x_29, 0); +x_32 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__9; lean_inc(x_5); -x_32 = l_Lean_Name_str___override(x_5, x_31); -x_33 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__2; +x_33 = l_Lean_Name_str___override(x_5, x_32); +x_34 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__2; lean_inc(x_5); -x_34 = l_Lean_Name_str___override(x_5, x_33); -x_35 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__3; +x_35 = l_Lean_Name_str___override(x_5, x_34); +x_36 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__3; lean_inc(x_5); -x_36 = l_Lean_Name_str___override(x_5, x_35); -x_37 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__4; -lean_inc(x_30); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_30); -lean_ctor_set(x_38, 1, x_37); -x_39 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__36; -x_40 = lean_array_push(x_39, x_38); -lean_inc(x_30); -x_41 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_41, 0, x_30); -lean_ctor_set(x_41, 1, x_36); -lean_ctor_set(x_41, 2, x_40); -x_42 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__29; -x_43 = l_Array_append___rarg(x_42, x_21); -x_44 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__21; -lean_inc(x_30); -x_45 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_45, 0, x_30); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_43); -x_46 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__5; +x_37 = l_Lean_Name_str___override(x_5, x_36); +x_38 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__4; +lean_inc(x_31); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_31); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__36; +x_41 = lean_array_push(x_40, x_39); +lean_inc(x_31); +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_31); +lean_ctor_set(x_42, 1, x_37); +lean_ctor_set(x_42, 2, x_41); +x_43 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__29; +x_44 = l_Array_append___rarg(x_43, x_21); +x_45 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__21; +lean_inc(x_31); +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_31); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_46, 2, x_44); +x_47 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__5; lean_inc(x_5); -x_47 = l_Lean_Name_str___override(x_5, x_46); -lean_inc(x_30); -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_30); -lean_ctor_set(x_48, 1, x_46); -x_49 = l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__16; -x_50 = l_Lean_mkSepArray(x_18, x_49); +x_48 = l_Lean_Name_str___override(x_5, x_47); +lean_inc(x_31); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_31); +lean_ctor_set(x_49, 1, x_47); +x_50 = l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__16; +x_51 = l_Lean_mkSepArray(x_18, x_50); lean_dec(x_18); -x_51 = l_Array_append___rarg(x_42, x_50); -lean_inc(x_30); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_30); -lean_ctor_set(x_52, 1, x_44); -lean_ctor_set(x_52, 2, x_51); -x_53 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__28; -x_54 = lean_array_push(x_53, x_48); -x_55 = lean_array_push(x_54, x_52); -lean_inc(x_30); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_30); -lean_ctor_set(x_56, 1, x_47); -lean_ctor_set(x_56, 2, x_55); -x_57 = lean_array_push(x_39, x_56); -lean_inc(x_30); -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_30); -lean_ctor_set(x_58, 1, x_44); -lean_ctor_set(x_58, 2, x_57); -lean_inc(x_30); +x_52 = l_Array_append___rarg(x_43, x_51); +lean_inc(x_31); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_31); +lean_ctor_set(x_53, 1, x_45); +lean_ctor_set(x_53, 2, x_52); +x_54 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__28; +x_55 = lean_array_push(x_54, x_49); +x_56 = lean_array_push(x_55, x_53); +lean_inc(x_31); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_31); +lean_ctor_set(x_57, 1, x_48); +lean_ctor_set(x_57, 2, x_56); +x_58 = lean_array_push(x_40, x_57); +lean_inc(x_31); x_59 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_59, 0, x_30); -lean_ctor_set(x_59, 1, x_44); -lean_ctor_set(x_59, 2, x_42); -x_60 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__6; +lean_ctor_set(x_59, 0, x_31); +lean_ctor_set(x_59, 1, x_45); +lean_ctor_set(x_59, 2, x_58); +lean_inc(x_31); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_31); +lean_ctor_set(x_60, 1, x_45); +lean_ctor_set(x_60, 2, x_43); +x_61 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__6; lean_inc(x_5); -x_61 = l_Lean_Name_str___override(x_5, x_60); -lean_inc(x_59); -x_62 = lean_array_push(x_39, x_59); -lean_inc(x_62); -lean_inc(x_30); -x_63 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_63, 0, x_30); -lean_ctor_set(x_63, 1, x_61); -lean_ctor_set(x_63, 2, x_62); -x_64 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__30; -x_65 = lean_array_push(x_64, x_41); -x_66 = lean_array_push(x_65, x_4); -x_67 = lean_array_push(x_66, x_45); -x_68 = lean_array_push(x_67, x_58); -x_69 = lean_array_push(x_53, x_6); -x_70 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__7; -x_71 = l_Lean_Name_str___override(x_5, x_70); -lean_inc(x_30); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_30); -lean_ctor_set(x_72, 1, x_70); -x_73 = l_unexpandListNil___rarg___closed__3; -lean_inc(x_30); -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_30); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__13; +x_62 = l_Lean_Name_str___override(x_5, x_61); +lean_inc(x_60); +x_63 = lean_array_push(x_40, x_60); +lean_inc(x_63); +lean_inc(x_31); +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_31); +lean_ctor_set(x_64, 1, x_62); +lean_ctor_set(x_64, 2, x_63); +x_65 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__30; +x_66 = lean_array_push(x_65, x_42); +x_67 = lean_array_push(x_66, x_4); +x_68 = lean_array_push(x_67, x_46); +x_69 = lean_array_push(x_68, x_59); +x_70 = lean_array_push(x_54, x_6); +x_71 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__7; +x_72 = l_Lean_Name_str___override(x_5, x_71); +lean_inc(x_31); +x_73 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_73, 0, x_31); +lean_ctor_set(x_73, 1, x_71); +x_74 = l_unexpandListNil___rarg___closed__3; +lean_inc(x_31); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_31); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__13; lean_inc(x_20); -x_76 = l_Lean_Name_str___override(x_20, x_75); -x_77 = l_Lean_command____Unif__hint____Where___x7c_x2d_u22a2_____closed__7; +x_77 = l_Lean_Name_str___override(x_20, x_76); +x_78 = l_Lean_command____Unif__hint____Where___x7c_x2d_u22a2_____closed__7; lean_inc(x_20); -x_78 = l_Lean_Name_str___override(x_20, x_77); -lean_inc(x_30); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_30); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_79, 2, x_62); -x_80 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__14; -x_81 = l_Lean_Name_str___override(x_2, x_80); -x_82 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__8; -x_83 = l_Lean_Name_str___override(x_81, x_82); -lean_inc(x_30); -x_84 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_84, 0, x_30); -lean_ctor_set(x_84, 1, x_82); -x_85 = lean_array_push(x_53, x_84); -lean_inc(x_59); -x_86 = lean_array_push(x_85, x_59); -lean_inc(x_30); -x_87 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_87, 0, x_30); -lean_ctor_set(x_87, 1, x_83); -lean_ctor_set(x_87, 2, x_86); -x_88 = lean_array_push(x_53, x_79); -x_89 = lean_array_push(x_88, x_87); -lean_inc(x_30); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_30); -lean_ctor_set(x_90, 1, x_76); -lean_ctor_set(x_90, 2, x_89); -x_91 = lean_array_push(x_39, x_90); -lean_inc(x_30); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_30); -lean_ctor_set(x_92, 1, x_44); -lean_ctor_set(x_92, 2, x_91); -x_93 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__13; -lean_inc(x_30); -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_30); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_array_push(x_39, x_27); -lean_inc(x_30); -x_96 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_96, 0, x_30); -lean_ctor_set(x_96, 1, x_44); -lean_ctor_set(x_96, 2, x_95); -x_97 = l_unexpandExists___closed__6; -x_98 = lean_array_push(x_97, x_72); -x_99 = lean_array_push(x_98, x_74); -x_100 = lean_array_push(x_99, x_92); -x_101 = lean_array_push(x_100, x_94); -x_102 = lean_array_push(x_101, x_96); -lean_inc(x_30); -x_103 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_103, 0, x_30); -lean_ctor_set(x_103, 1, x_71); -lean_ctor_set(x_103, 2, x_102); +x_79 = l_Lean_Name_str___override(x_20, x_78); +lean_inc(x_31); +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_31); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_63); +x_81 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__14; +x_82 = l_Lean_Name_str___override(x_2, x_81); +x_83 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__8; +x_84 = l_Lean_Name_str___override(x_82, x_83); +lean_inc(x_31); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_31); +lean_ctor_set(x_85, 1, x_83); +x_86 = lean_array_push(x_54, x_85); +lean_inc(x_60); +x_87 = lean_array_push(x_86, x_60); +lean_inc(x_31); +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_31); +lean_ctor_set(x_88, 1, x_84); +lean_ctor_set(x_88, 2, x_87); +x_89 = lean_array_push(x_54, x_80); +x_90 = lean_array_push(x_89, x_88); +lean_inc(x_31); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_31); +lean_ctor_set(x_91, 1, x_77); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_array_push(x_40, x_91); +lean_inc(x_31); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_31); +lean_ctor_set(x_93, 1, x_45); +lean_ctor_set(x_93, 2, x_92); +x_94 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__13; +lean_inc(x_31); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_31); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_40, x_28); +lean_inc(x_31); +x_97 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_97, 0, x_31); +lean_ctor_set(x_97, 1, x_45); +lean_ctor_set(x_97, 2, x_96); +x_98 = l_unexpandExists___closed__6; +x_99 = lean_array_push(x_98, x_73); +x_100 = lean_array_push(x_99, x_75); +x_101 = lean_array_push(x_100, x_93); +x_102 = lean_array_push(x_101, x_95); +x_103 = lean_array_push(x_102, x_97); +lean_inc(x_31); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_31); +lean_ctor_set(x_104, 1, x_72); +lean_ctor_set(x_104, 2, x_103); if (lean_obj_tag(x_8) == 0) { -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; +lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_dec(x_20); -x_104 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__9; -lean_inc(x_30); -x_105 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_105, 0, x_30); -lean_ctor_set(x_105, 1, x_44); -lean_ctor_set(x_105, 2, x_104); -x_106 = lean_array_push(x_68, x_105); -x_107 = lean_array_push(x_106, x_59); -x_108 = lean_array_push(x_107, x_63); -lean_inc(x_30); -x_109 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_109, 0, x_30); -lean_ctor_set(x_109, 1, x_34); -lean_ctor_set(x_109, 2, x_108); -x_110 = lean_array_push(x_69, x_109); -lean_inc(x_30); -x_111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_111, 0, x_30); -lean_ctor_set(x_111, 1, x_32); -lean_ctor_set(x_111, 2, x_110); -x_112 = lean_array_push(x_53, x_111); -x_113 = lean_array_push(x_112, x_103); -x_114 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_114, 0, x_30); -lean_ctor_set(x_114, 1, x_44); -lean_ctor_set(x_114, 2, x_113); -lean_ctor_set(x_28, 0, x_114); -return x_28; +x_105 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__9; +lean_inc(x_31); +x_106 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_106, 0, x_31); +lean_ctor_set(x_106, 1, x_45); +lean_ctor_set(x_106, 2, x_105); +x_107 = lean_array_push(x_69, x_106); +x_108 = lean_array_push(x_107, x_60); +x_109 = lean_array_push(x_108, x_64); +lean_inc(x_31); +x_110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_110, 0, x_31); +lean_ctor_set(x_110, 1, x_35); +lean_ctor_set(x_110, 2, x_109); +x_111 = lean_array_push(x_70, x_110); +lean_inc(x_31); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_31); +lean_ctor_set(x_112, 1, x_33); +lean_ctor_set(x_112, 2, x_111); +x_113 = lean_array_push(x_54, x_112); +x_114 = lean_array_push(x_113, x_104); +x_115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_115, 0, x_31); +lean_ctor_set(x_115, 1, x_45); +lean_ctor_set(x_115, 2, x_114); +lean_ctor_set(x_29, 0, x_115); +return x_29; } else { -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_115 = lean_ctor_get(x_8, 0); -lean_inc(x_115); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +x_116 = lean_ctor_get(x_8, 0); +lean_inc(x_116); lean_dec(x_8); -x_116 = l_Lean_expandExplicitBindersAux_loop___closed__10; -x_117 = l_Lean_Name_str___override(x_20, x_116); -x_118 = l_Lean_expandExplicitBindersAux_loop___closed__12; -lean_inc(x_30); -x_119 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_119, 0, x_30); -lean_ctor_set(x_119, 1, x_118); -x_120 = lean_array_push(x_53, x_119); -x_121 = lean_array_push(x_120, x_115); -lean_inc(x_30); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_30); -lean_ctor_set(x_122, 1, x_117); -lean_ctor_set(x_122, 2, x_121); -x_123 = lean_array_push(x_39, x_122); -x_124 = l_Array_append___rarg(x_42, x_123); -lean_inc(x_30); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_30); -lean_ctor_set(x_125, 1, x_44); -lean_ctor_set(x_125, 2, x_124); -x_126 = lean_array_push(x_68, x_125); -x_127 = lean_array_push(x_126, x_59); -x_128 = lean_array_push(x_127, x_63); -lean_inc(x_30); -x_129 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_129, 0, x_30); -lean_ctor_set(x_129, 1, x_34); -lean_ctor_set(x_129, 2, x_128); -x_130 = lean_array_push(x_69, x_129); -lean_inc(x_30); -x_131 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_131, 0, x_30); -lean_ctor_set(x_131, 1, x_32); -lean_ctor_set(x_131, 2, x_130); -x_132 = lean_array_push(x_53, x_131); -x_133 = lean_array_push(x_132, x_103); -x_134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_134, 0, x_30); -lean_ctor_set(x_134, 1, x_44); -lean_ctor_set(x_134, 2, x_133); -lean_ctor_set(x_28, 0, x_134); -return x_28; +x_117 = l_Lean_expandExplicitBindersAux_loop___closed__10; +x_118 = l_Lean_Name_str___override(x_20, x_117); +x_119 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_31); +x_120 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_120, 0, x_31); +lean_ctor_set(x_120, 1, x_119); +x_121 = lean_array_push(x_54, x_120); +x_122 = lean_array_push(x_121, x_116); +lean_inc(x_31); +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_31); +lean_ctor_set(x_123, 1, x_118); +lean_ctor_set(x_123, 2, x_122); +x_124 = lean_array_push(x_40, x_123); +x_125 = l_Array_append___rarg(x_43, x_124); +lean_inc(x_31); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_31); +lean_ctor_set(x_126, 1, x_45); +lean_ctor_set(x_126, 2, x_125); +x_127 = lean_array_push(x_69, x_126); +x_128 = lean_array_push(x_127, x_60); +x_129 = lean_array_push(x_128, x_64); +lean_inc(x_31); +x_130 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_130, 0, x_31); +lean_ctor_set(x_130, 1, x_35); +lean_ctor_set(x_130, 2, x_129); +x_131 = lean_array_push(x_70, x_130); +lean_inc(x_31); +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_31); +lean_ctor_set(x_132, 1, x_33); +lean_ctor_set(x_132, 2, x_131); +x_133 = lean_array_push(x_54, x_132); +x_134 = lean_array_push(x_133, x_104); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_31); +lean_ctor_set(x_135, 1, x_45); +lean_ctor_set(x_135, 2, x_134); +lean_ctor_set(x_29, 0, x_135); +return x_29; } } 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; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_135 = lean_ctor_get(x_28, 0); -x_136 = lean_ctor_get(x_28, 1); +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +x_136 = lean_ctor_get(x_29, 0); +x_137 = lean_ctor_get(x_29, 1); +lean_inc(x_137); lean_inc(x_136); -lean_inc(x_135); -lean_dec(x_28); -x_137 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__9; +lean_dec(x_29); +x_138 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__9; lean_inc(x_5); -x_138 = l_Lean_Name_str___override(x_5, x_137); -x_139 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__2; +x_139 = l_Lean_Name_str___override(x_5, x_138); +x_140 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__2; lean_inc(x_5); -x_140 = l_Lean_Name_str___override(x_5, x_139); -x_141 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__3; +x_141 = l_Lean_Name_str___override(x_5, x_140); +x_142 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__3; lean_inc(x_5); -x_142 = l_Lean_Name_str___override(x_5, x_141); -x_143 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__4; -lean_inc(x_135); -x_144 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_144, 0, x_135); -lean_ctor_set(x_144, 1, x_143); -x_145 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__36; -x_146 = lean_array_push(x_145, x_144); -lean_inc(x_135); -x_147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_147, 0, x_135); -lean_ctor_set(x_147, 1, x_142); -lean_ctor_set(x_147, 2, x_146); -x_148 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__29; -x_149 = l_Array_append___rarg(x_148, x_21); -x_150 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__21; -lean_inc(x_135); -x_151 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_151, 0, x_135); -lean_ctor_set(x_151, 1, x_150); -lean_ctor_set(x_151, 2, x_149); -x_152 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__5; +x_143 = l_Lean_Name_str___override(x_5, x_142); +x_144 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__4; +lean_inc(x_136); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_136); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__36; +x_147 = lean_array_push(x_146, x_145); +lean_inc(x_136); +x_148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_148, 0, x_136); +lean_ctor_set(x_148, 1, x_143); +lean_ctor_set(x_148, 2, x_147); +x_149 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__29; +x_150 = l_Array_append___rarg(x_149, x_21); +x_151 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__21; +lean_inc(x_136); +x_152 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_152, 0, x_136); +lean_ctor_set(x_152, 1, x_151); +lean_ctor_set(x_152, 2, x_150); +x_153 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__5; lean_inc(x_5); -x_153 = l_Lean_Name_str___override(x_5, x_152); -lean_inc(x_135); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_135); -lean_ctor_set(x_154, 1, x_152); -x_155 = l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__16; -x_156 = l_Lean_mkSepArray(x_18, x_155); +x_154 = l_Lean_Name_str___override(x_5, x_153); +lean_inc(x_136); +x_155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_155, 0, x_136); +lean_ctor_set(x_155, 1, x_153); +x_156 = l___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___closed__16; +x_157 = l_Lean_mkSepArray(x_18, x_156); lean_dec(x_18); -x_157 = l_Array_append___rarg(x_148, x_156); -lean_inc(x_135); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_135); -lean_ctor_set(x_158, 1, x_150); -lean_ctor_set(x_158, 2, x_157); -x_159 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__28; -x_160 = lean_array_push(x_159, x_154); -x_161 = lean_array_push(x_160, x_158); -lean_inc(x_135); -x_162 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_162, 0, x_135); -lean_ctor_set(x_162, 1, x_153); -lean_ctor_set(x_162, 2, x_161); -x_163 = lean_array_push(x_145, x_162); -lean_inc(x_135); -x_164 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_164, 0, x_135); -lean_ctor_set(x_164, 1, x_150); -lean_ctor_set(x_164, 2, x_163); -lean_inc(x_135); +x_158 = l_Array_append___rarg(x_149, x_157); +lean_inc(x_136); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_136); +lean_ctor_set(x_159, 1, x_151); +lean_ctor_set(x_159, 2, x_158); +x_160 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__termMacro_x2etrace_x5b___x5d____1___closed__28; +x_161 = lean_array_push(x_160, x_155); +x_162 = lean_array_push(x_161, x_159); +lean_inc(x_136); +x_163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_163, 0, x_136); +lean_ctor_set(x_163, 1, x_154); +lean_ctor_set(x_163, 2, x_162); +x_164 = lean_array_push(x_146, x_163); +lean_inc(x_136); x_165 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_165, 0, x_135); -lean_ctor_set(x_165, 1, x_150); -lean_ctor_set(x_165, 2, x_148); -x_166 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__6; +lean_ctor_set(x_165, 0, x_136); +lean_ctor_set(x_165, 1, x_151); +lean_ctor_set(x_165, 2, x_164); +lean_inc(x_136); +x_166 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_166, 0, x_136); +lean_ctor_set(x_166, 1, x_151); +lean_ctor_set(x_166, 2, x_149); +x_167 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__6; lean_inc(x_5); -x_167 = l_Lean_Name_str___override(x_5, x_166); -lean_inc(x_165); -x_168 = lean_array_push(x_145, x_165); -lean_inc(x_168); -lean_inc(x_135); -x_169 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_169, 0, x_135); -lean_ctor_set(x_169, 1, x_167); -lean_ctor_set(x_169, 2, x_168); -x_170 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__30; -x_171 = lean_array_push(x_170, x_147); -x_172 = lean_array_push(x_171, x_4); -x_173 = lean_array_push(x_172, x_151); -x_174 = lean_array_push(x_173, x_164); -x_175 = lean_array_push(x_159, x_6); -x_176 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__7; -x_177 = l_Lean_Name_str___override(x_5, x_176); -lean_inc(x_135); -x_178 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_178, 0, x_135); -lean_ctor_set(x_178, 1, x_176); -x_179 = l_unexpandListNil___rarg___closed__3; -lean_inc(x_135); -x_180 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_180, 0, x_135); -lean_ctor_set(x_180, 1, x_179); -x_181 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__13; +x_168 = l_Lean_Name_str___override(x_5, x_167); +lean_inc(x_166); +x_169 = lean_array_push(x_146, x_166); +lean_inc(x_169); +lean_inc(x_136); +x_170 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_170, 0, x_136); +lean_ctor_set(x_170, 1, x_168); +lean_ctor_set(x_170, 2, x_169); +x_171 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__30; +x_172 = lean_array_push(x_171, x_148); +x_173 = lean_array_push(x_172, x_4); +x_174 = lean_array_push(x_173, x_152); +x_175 = lean_array_push(x_174, x_165); +x_176 = lean_array_push(x_160, x_6); +x_177 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__7; +x_178 = l_Lean_Name_str___override(x_5, x_177); +lean_inc(x_136); +x_179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_179, 0, x_136); +lean_ctor_set(x_179, 1, x_177); +x_180 = l_unexpandListNil___rarg___closed__3; +lean_inc(x_136); +x_181 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_181, 0, x_136); +lean_ctor_set(x_181, 1, x_180); +x_182 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__13; lean_inc(x_20); -x_182 = l_Lean_Name_str___override(x_20, x_181); -x_183 = l_Lean_command____Unif__hint____Where___x7c_x2d_u22a2_____closed__7; +x_183 = l_Lean_Name_str___override(x_20, x_182); +x_184 = l_Lean_command____Unif__hint____Where___x7c_x2d_u22a2_____closed__7; lean_inc(x_20); -x_184 = l_Lean_Name_str___override(x_20, x_183); -lean_inc(x_135); -x_185 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_185, 0, x_135); -lean_ctor_set(x_185, 1, x_184); -lean_ctor_set(x_185, 2, x_168); -x_186 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__14; -x_187 = l_Lean_Name_str___override(x_2, x_186); -x_188 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__8; -x_189 = l_Lean_Name_str___override(x_187, x_188); -lean_inc(x_135); -x_190 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_190, 0, x_135); -lean_ctor_set(x_190, 1, x_188); -x_191 = lean_array_push(x_159, x_190); -lean_inc(x_165); -x_192 = lean_array_push(x_191, x_165); -lean_inc(x_135); -x_193 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_193, 0, x_135); -lean_ctor_set(x_193, 1, x_189); -lean_ctor_set(x_193, 2, x_192); -x_194 = lean_array_push(x_159, x_185); -x_195 = lean_array_push(x_194, x_193); -lean_inc(x_135); -x_196 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_196, 0, x_135); -lean_ctor_set(x_196, 1, x_182); -lean_ctor_set(x_196, 2, x_195); -x_197 = lean_array_push(x_145, x_196); -lean_inc(x_135); -x_198 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_198, 0, x_135); -lean_ctor_set(x_198, 1, x_150); -lean_ctor_set(x_198, 2, x_197); -x_199 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__13; -lean_inc(x_135); -x_200 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_200, 0, x_135); -lean_ctor_set(x_200, 1, x_199); -x_201 = lean_array_push(x_145, x_27); -lean_inc(x_135); -x_202 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_202, 0, x_135); -lean_ctor_set(x_202, 1, x_150); -lean_ctor_set(x_202, 2, x_201); -x_203 = l_unexpandExists___closed__6; -x_204 = lean_array_push(x_203, x_178); -x_205 = lean_array_push(x_204, x_180); -x_206 = lean_array_push(x_205, x_198); -x_207 = lean_array_push(x_206, x_200); -x_208 = lean_array_push(x_207, x_202); -lean_inc(x_135); -x_209 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_209, 0, x_135); -lean_ctor_set(x_209, 1, x_177); -lean_ctor_set(x_209, 2, x_208); +x_185 = l_Lean_Name_str___override(x_20, x_184); +lean_inc(x_136); +x_186 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_186, 0, x_136); +lean_ctor_set(x_186, 1, x_185); +lean_ctor_set(x_186, 2, x_169); +x_187 = l_Lean___aux__Init__NotationExtra______macroRules__Lean__command____Unif__hint____Where___x7c_x2d_u22a2____1___lambda__2___closed__14; +x_188 = l_Lean_Name_str___override(x_2, x_187); +x_189 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__8; +x_190 = l_Lean_Name_str___override(x_188, x_189); +lean_inc(x_136); +x_191 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_191, 0, x_136); +lean_ctor_set(x_191, 1, x_189); +x_192 = lean_array_push(x_160, x_191); +lean_inc(x_166); +x_193 = lean_array_push(x_192, x_166); +lean_inc(x_136); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_136); +lean_ctor_set(x_194, 1, x_190); +lean_ctor_set(x_194, 2, x_193); +x_195 = lean_array_push(x_160, x_186); +x_196 = lean_array_push(x_195, x_194); +lean_inc(x_136); +x_197 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_197, 0, x_136); +lean_ctor_set(x_197, 1, x_183); +lean_ctor_set(x_197, 2, x_196); +x_198 = lean_array_push(x_146, x_197); +lean_inc(x_136); +x_199 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_199, 0, x_136); +lean_ctor_set(x_199, 1, x_151); +lean_ctor_set(x_199, 2, x_198); +x_200 = l_Lean_termMacro_x2etrace_x5b___x5d_____closed__13; +lean_inc(x_136); +x_201 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_201, 0, x_136); +lean_ctor_set(x_201, 1, x_200); +x_202 = lean_array_push(x_146, x_28); +lean_inc(x_136); +x_203 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_203, 0, x_136); +lean_ctor_set(x_203, 1, x_151); +lean_ctor_set(x_203, 2, x_202); +x_204 = l_unexpandExists___closed__6; +x_205 = lean_array_push(x_204, x_179); +x_206 = lean_array_push(x_205, x_181); +x_207 = lean_array_push(x_206, x_199); +x_208 = lean_array_push(x_207, x_201); +x_209 = lean_array_push(x_208, x_203); +lean_inc(x_136); +x_210 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_210, 0, x_136); +lean_ctor_set(x_210, 1, x_178); +lean_ctor_set(x_210, 2, x_209); if (lean_obj_tag(x_8) == 0) { -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_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_dec(x_20); -x_210 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__9; -lean_inc(x_135); -x_211 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_211, 0, x_135); -lean_ctor_set(x_211, 1, x_150); -lean_ctor_set(x_211, 2, x_210); -x_212 = lean_array_push(x_174, x_211); -x_213 = lean_array_push(x_212, x_165); -x_214 = lean_array_push(x_213, x_169); -lean_inc(x_135); -x_215 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_215, 0, x_135); -lean_ctor_set(x_215, 1, x_140); -lean_ctor_set(x_215, 2, x_214); -x_216 = lean_array_push(x_175, x_215); -lean_inc(x_135); -x_217 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_217, 0, x_135); -lean_ctor_set(x_217, 1, x_138); -lean_ctor_set(x_217, 2, x_216); -x_218 = lean_array_push(x_159, x_217); -x_219 = lean_array_push(x_218, x_209); -x_220 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_220, 0, x_135); -lean_ctor_set(x_220, 1, x_150); -lean_ctor_set(x_220, 2, x_219); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_136); -return x_221; +x_211 = l___aux__Init__NotationExtra______macroRules__Lean__Parser__Command__classAbbrev__1___lambda__3___closed__9; +lean_inc(x_136); +x_212 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_212, 0, x_136); +lean_ctor_set(x_212, 1, x_151); +lean_ctor_set(x_212, 2, x_211); +x_213 = lean_array_push(x_175, x_212); +x_214 = lean_array_push(x_213, x_166); +x_215 = lean_array_push(x_214, x_170); +lean_inc(x_136); +x_216 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_216, 0, x_136); +lean_ctor_set(x_216, 1, x_141); +lean_ctor_set(x_216, 2, x_215); +x_217 = lean_array_push(x_176, x_216); +lean_inc(x_136); +x_218 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_218, 0, x_136); +lean_ctor_set(x_218, 1, x_139); +lean_ctor_set(x_218, 2, x_217); +x_219 = lean_array_push(x_160, x_218); +x_220 = lean_array_push(x_219, x_210); +x_221 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_221, 0, x_136); +lean_ctor_set(x_221, 1, x_151); +lean_ctor_set(x_221, 2, x_220); +x_222 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_222, 0, x_221); +lean_ctor_set(x_222, 1, x_137); +return x_222; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -x_222 = lean_ctor_get(x_8, 0); -lean_inc(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_223 = lean_ctor_get(x_8, 0); +lean_inc(x_223); lean_dec(x_8); -x_223 = l_Lean_expandExplicitBindersAux_loop___closed__10; -x_224 = l_Lean_Name_str___override(x_20, x_223); -x_225 = l_Lean_expandExplicitBindersAux_loop___closed__12; -lean_inc(x_135); -x_226 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_226, 0, x_135); -lean_ctor_set(x_226, 1, x_225); -x_227 = lean_array_push(x_159, x_226); -x_228 = lean_array_push(x_227, x_222); -lean_inc(x_135); -x_229 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_229, 0, x_135); -lean_ctor_set(x_229, 1, x_224); -lean_ctor_set(x_229, 2, x_228); -x_230 = lean_array_push(x_145, x_229); -x_231 = l_Array_append___rarg(x_148, x_230); -lean_inc(x_135); -x_232 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_232, 0, x_135); -lean_ctor_set(x_232, 1, x_150); -lean_ctor_set(x_232, 2, x_231); -x_233 = lean_array_push(x_174, x_232); -x_234 = lean_array_push(x_233, x_165); -x_235 = lean_array_push(x_234, x_169); -lean_inc(x_135); -x_236 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_236, 0, x_135); -lean_ctor_set(x_236, 1, x_140); -lean_ctor_set(x_236, 2, x_235); -x_237 = lean_array_push(x_175, x_236); -lean_inc(x_135); -x_238 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_238, 0, x_135); -lean_ctor_set(x_238, 1, x_138); -lean_ctor_set(x_238, 2, x_237); -x_239 = lean_array_push(x_159, x_238); -x_240 = lean_array_push(x_239, x_209); -x_241 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_241, 0, x_135); -lean_ctor_set(x_241, 1, x_150); -lean_ctor_set(x_241, 2, x_240); -x_242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_242, 0, x_241); -lean_ctor_set(x_242, 1, x_136); -return x_242; +x_224 = l_Lean_expandExplicitBindersAux_loop___closed__10; +x_225 = l_Lean_Name_str___override(x_20, x_224); +x_226 = l_Lean_expandExplicitBindersAux_loop___closed__12; +lean_inc(x_136); +x_227 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_227, 0, x_136); +lean_ctor_set(x_227, 1, x_226); +x_228 = lean_array_push(x_160, x_227); +x_229 = lean_array_push(x_228, x_223); +lean_inc(x_136); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_136); +lean_ctor_set(x_230, 1, x_225); +lean_ctor_set(x_230, 2, x_229); +x_231 = lean_array_push(x_146, x_230); +x_232 = l_Array_append___rarg(x_149, x_231); +lean_inc(x_136); +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_136); +lean_ctor_set(x_233, 1, x_151); +lean_ctor_set(x_233, 2, x_232); +x_234 = lean_array_push(x_175, x_233); +x_235 = lean_array_push(x_234, x_166); +x_236 = lean_array_push(x_235, x_170); +lean_inc(x_136); +x_237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_237, 0, x_136); +lean_ctor_set(x_237, 1, x_141); +lean_ctor_set(x_237, 2, x_236); +x_238 = lean_array_push(x_176, x_237); +lean_inc(x_136); +x_239 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_239, 0, x_136); +lean_ctor_set(x_239, 1, x_139); +lean_ctor_set(x_239, 2, x_238); +x_240 = lean_array_push(x_160, x_239); +x_241 = lean_array_push(x_240, x_210); +x_242 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_242, 0, x_136); +lean_ctor_set(x_242, 1, x_151); +lean_ctor_set(x_242, 2, x_241); +x_243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_137); +return x_243; } } } diff --git a/stage0/stdlib/Init/Prelude.c b/stage0/stdlib/Init/Prelude.c index 1a829f76c1..049502ce2b 100644 --- a/stage0/stdlib/Init/Prelude.c +++ b/stage0/stdlib/Init/Prelude.c @@ -92,7 +92,7 @@ LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___rarg___lambda__1(lean_object LEAN_EXPORT lean_object* l_List_redLength___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_unsafeCast___rarg___boxed(lean_object*); static lean_object* l_UInt64_size___closed__1; -LEAN_EXPORT lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +LEAN_EXPORT lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Macro_trace___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instTransEq__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instDecidableEqUInt8___boxed(lean_object*, lean_object*); @@ -506,6 +506,7 @@ LEAN_EXPORT lean_object* l_instDecidableEqFin___rarg___boxed(lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_appendCore_loop(lean_object*); LEAN_EXPORT lean_object* l_instMonadLiftT__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_instMonadExceptOfReaderT(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_SourceInfo_fromRef___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instTransEq___rarg(lean_object*); LEAN_EXPORT lean_object* l_instLEUInt32; LEAN_EXPORT lean_object* l_instDecidableEqChar___boxed(lean_object*, lean_object*); @@ -524,7 +525,7 @@ static lean_object* l_Lean_PrettyPrinter_instMonadQuotationUnexpandM___closed__6 LEAN_EXPORT lean_object* l_ReaderT_read(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_instHShiftRight(lean_object*); LEAN_EXPORT lean_object* l_Eq_ndrec___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_TSyntaxArray_mkImpl___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_and___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Syntax_isNodeOf(lean_object*, lean_object*, lean_object*); @@ -769,6 +770,7 @@ LEAN_EXPORT lean_object* l_dite___rarg(uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_unsafeCast(lean_object*, lean_object*); lean_object* lean_system_platform_nbits(lean_object*); LEAN_EXPORT lean_object* l_instMonadState___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkAtomFrom___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_EStateM_throw(lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_instDecidableNot___rarg___boxed(lean_object*); @@ -7348,29 +7350,43 @@ return x_4; } case 1: { +uint8_t x_5; +x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_5 == 0) +{ if (x_2 == 0) { -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_1, 0); -lean_inc(x_5); -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_5); -return x_6; -} -else -{ -lean_object* x_7; -x_7 = lean_box(0); +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_7, 0, x_6); return x_7; } -} -default: +else { lean_object* x_8; x_8 = lean_box(0); return x_8; } } +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +default: +{ +lean_object* x_11; +x_11 = lean_box(0); +return x_11; +} +} } } LEAN_EXPORT lean_object* l_Lean_SourceInfo_getPos_x3f___boxed(lean_object* x_1, lean_object* x_2) { @@ -8487,85 +8503,116 @@ return x_6; } case 1: { +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_4, sizeof(void*)*2); +if (x_7 == 0) +{ if (x_2 == 0) { -lean_object* x_7; lean_object* x_8; +lean_object* x_8; lean_object* x_9; lean_dec(x_1); -x_7 = lean_ctor_get(x_4, 1); -lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 1); +lean_inc(x_8); lean_dec(x_4); -x_8 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_8, 0, x_7); -return x_8; +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_dec(x_4); -x_9 = lean_ctor_get(x_1, 2); -lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 2); +lean_inc(x_10); lean_dec(x_1); -x_10 = lean_unsigned_to_nat(0u); -x_11 = l_Lean_Syntax_getTailPos_x3f_loop(x_2, x_9, x_10); -lean_dec(x_9); -return x_11; +x_11 = lean_unsigned_to_nat(0u); +x_12 = l_Lean_Syntax_getTailPos_x3f_loop(x_2, x_10, x_11); +lean_dec(x_10); +return x_12; } } -default: +else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_1, 2); -lean_inc(x_12); +lean_object* x_13; lean_object* x_14; lean_dec(x_1); -x_13 = lean_unsigned_to_nat(0u); -x_14 = l_Lean_Syntax_getTailPos_x3f_loop(x_2, x_12, x_13); -lean_dec(x_12); +x_13 = lean_ctor_get(x_4, 1); +lean_inc(x_13); +lean_dec(x_4); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); return x_14; } } +default: +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +lean_dec(x_1); +x_16 = lean_unsigned_to_nat(0u); +x_17 = l_Lean_Syntax_getTailPos_x3f_loop(x_2, x_15, x_16); +lean_dec(x_15); +return x_17; +} +} } default: { -lean_object* x_15; -x_15 = lean_ctor_get(x_1, 0); -lean_inc(x_15); +lean_object* x_18; +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); lean_dec(x_1); -switch (lean_obj_tag(x_15)) { +switch (lean_obj_tag(x_18)) { case 0: { -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_15, 3); -lean_inc(x_16); -lean_dec(x_15); -x_17 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_17, 0, x_16); -return x_17; +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; } case 1: { +uint8_t x_21; +x_21 = lean_ctor_get_uint8(x_18, sizeof(void*)*2); +if (x_21 == 0) +{ if (x_2 == 0) { -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -lean_dec(x_15); -x_19 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_19, 0, x_18); -return x_19; +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_18, 1); +lean_inc(x_22); +lean_dec(x_18); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +return x_23; } else { -lean_object* x_20; -lean_dec(x_15); -x_20 = lean_box(0); -return x_20; +lean_object* x_24; +lean_dec(x_18); +x_24 = lean_box(0); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; +x_25 = lean_ctor_get(x_18, 1); +lean_inc(x_25); +lean_dec(x_18); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_25); +return x_26; } } default: { -lean_object* x_21; -x_21 = lean_box(0); -return x_21; +lean_object* x_27; +x_27 = lean_box(0); +return x_27; } } } @@ -8659,46 +8706,169 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_SourceInfo_fromRef(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_SourceInfo_fromRef(lean_object* x_1, uint8_t x_2) { _start: { -uint8_t x_2; lean_object* x_3; -x_2 = 0; -x_3 = l_Lean_Syntax_getPos_x3f(x_1, x_2); -if (lean_obj_tag(x_3) == 0) +if (x_2 == 0) { -lean_object* x_4; +uint8_t x_3; lean_object* x_4; +x_3 = 0; +x_4 = l_Lean_Syntax_getPos_x3f(x_1, x_3); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; lean_dec(x_1); -x_4 = lean_box(2); -return x_4; +x_5 = lean_box(2); +return x_5; } else { -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -lean_dec(x_3); -x_6 = l_Lean_Syntax_getTailPos_x3f(x_1, x_2); -if (lean_obj_tag(x_6) == 0) +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_Syntax_getTailPos_x3f(x_1, x_3); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_7; -lean_dec(x_5); -x_7 = lean_box(2); -return x_7; -} -else -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_6, 0); -lean_inc(x_8); +lean_object* x_8; lean_dec(x_6); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_5); -lean_ctor_set(x_9, 1, x_8); -return x_9; +x_8 = lean_box(2); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_10, 0, x_6); +lean_ctor_set(x_10, 1, x_9); +lean_ctor_set_uint8(x_10, sizeof(void*)*2, x_3); +return x_10; } } } +else +{ +uint8_t x_11; lean_object* x_12; +x_11 = 1; +x_12 = l_Lean_Syntax_getPos_x3f(x_1, x_11); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; lean_object* x_14; +x_13 = 0; +x_14 = l_Lean_Syntax_getPos_x3f(x_1, x_13); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; +lean_dec(x_1); +x_15 = lean_box(2); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Syntax_getTailPos_x3f(x_1, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +lean_dec(x_16); +x_18 = lean_box(2); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_20, 0, x_16); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set_uint8(x_20, sizeof(void*)*2, x_13); +return x_20; +} +} +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_12, 0); +lean_inc(x_21); +lean_dec(x_12); +lean_inc(x_1); +x_22 = l_Lean_Syntax_getTailPos_x3f(x_1, x_11); +if (lean_obj_tag(x_22) == 0) +{ +uint8_t x_23; lean_object* x_24; +lean_dec(x_21); +x_23 = 0; +x_24 = l_Lean_Syntax_getPos_x3f(x_1, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; +lean_dec(x_1); +x_25 = lean_box(2); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Syntax_getTailPos_x3f(x_1, x_23); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; +lean_dec(x_26); +x_28 = lean_box(2); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_30, 0, x_26); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*2, x_23); +return x_30; +} +} +} +else +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_1); +x_31 = lean_ctor_get(x_22, 0); +lean_inc(x_31); +lean_dec(x_22); +x_32 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_32, 0, x_21); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set_uint8(x_32, sizeof(void*)*2, x_11); +return x_32; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_SourceInfo_fromRef___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = lean_unbox(x_2); +lean_dec(x_2); +x_4 = l_Lean_SourceInfo_fromRef(x_1, x_3); +return x_4; +} } LEAN_EXPORT lean_object* l_Lean_mkAtom(lean_object* x_1) { _start: @@ -8711,15 +8881,25 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_mkAtomFrom(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_mkAtomFrom(lean_object* x_1, lean_object* x_2, uint8_t x_3) { _start: { -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_SourceInfo_fromRef(x_1); -x_4 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -return x_4; +lean_object* x_4; lean_object* x_5; +x_4 = l_Lean_SourceInfo_fromRef(x_1, x_3); +x_5 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_mkAtomFrom___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_3); +lean_dec(x_3); +x_5 = l_Lean_mkAtomFrom(x_1, x_2, x_4); +return x_5; } } static lean_object* _init_l_Lean_instInhabitedParserDescr___closed__1() { @@ -8891,16 +9071,17 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg___lambda__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); lean_dec(x_1); x_4 = lean_ctor_get(x_3, 1); lean_inc(x_4); lean_dec(x_3); -x_5 = l_Lean_SourceInfo_fromRef(x_2); -x_6 = lean_apply_2(x_4, lean_box(0), x_5); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_2, x_5); +x_7 = lean_apply_2(x_4, lean_box(0), x_6); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___rarg(lean_object* x_1, lean_object* x_2) { diff --git a/stage0/stdlib/Init/Tactics.c b/stage0/stdlib/Init/Tactics.c index d8fdfaaa42..38693f186b 100644 --- a/stage0/stdlib/Init/Tactics.c +++ b/stage0/stdlib/Init/Tactics.c @@ -73,7 +73,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticRfl; static lean_object* l_Lean_Parser_Tactic_generalize___closed__2; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tactic___x3c_x3b_x3e____1___closed__4; -static lean_object* l_Lean_Parser_Tactic_caseArg___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_rwSeq; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_traceMessage; static lean_object* l_Lean_Parser_Tactic_config___closed__8; @@ -425,7 +424,6 @@ static lean_object* l_Lean_Parser_Tactic_withAnnotateState___closed__16; static lean_object* l_Lean_Parser_Tactic_allGoals___closed__3; static lean_object* l_Lean_Parser_Tactic_subst___closed__6; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tactic___x3c_x3b_x3e____1___closed__2; -static lean_object* l_Lean_Parser_Tactic_caseArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticRefine__lift__; static lean_object* l_Lean_Parser_Attr_simp___closed__5; static lean_object* l_Lean_Parser_Tactic_assumption___closed__1; @@ -491,17 +489,18 @@ static lean_object* l_Lean_Parser_Tactic_locationHyp___closed__10; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_rotateLeft; static lean_object* l_Lean_Parser_Tactic_focus___closed__6; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; static lean_object* l_Lean_Parser_Tactic_changeWith___closed__1; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__3; static lean_object* l_Lean_Parser_Tactic_split___closed__2; static lean_object* l_Lean_Parser_Tactic_cases___closed__2; static lean_object* l_term_____x5b___x5d___closed__7; -static lean_object* l_Lean_Parser_Tactic_caseArg___closed__1; static lean_object* l_tacticGet__elem__tactic__trivial___closed__1; static lean_object* l_Lean_Parser_Tactic_tacticAdmit___closed__1; static lean_object* l_Lean_Parser_Tactic_constructor___closed__3; static lean_object* l_Lean_Parser_Tactic_induction___closed__7; static lean_object* l_Lean_Parser_Tactic_renameI___closed__4; +static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_simpStar; static lean_object* l_Lean_Parser_Tactic_revert___closed__5; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticShow____1___closed__4; @@ -588,7 +587,7 @@ static lean_object* l___aux__Init__Tactics______macroRules__tacticGet__elem__tac LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__save__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__10; static lean_object* l_Lean_Parser_Tactic_discharger___closed__4; -LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_caseArg; +extern lean_object* l_Lean_Parser_Tactic_caseArg; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__4; static lean_object* l_Lean_Parser_Tactic_assumption___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_location; @@ -646,7 +645,6 @@ static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__L static lean_object* l_Lean_Parser_Tactic_allGoals___closed__2; static lean_object* l_Lean_Parser_Tactic_injection___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__5; -static lean_object* l_Lean_Parser_Tactic_caseArg___closed__3; static lean_object* l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__8; static lean_object* l_Lean_Parser_Tactic_case_x27___closed__1; static lean_object* l_Lean_Parser_Tactic_withReducibleAndInstances___closed__4; @@ -669,6 +667,7 @@ static lean_object* l_Lean_Parser_Tactic_case_x27___closed__4; static lean_object* l_Lean_Parser_Tactic_rwRuleSeq___closed__10; static lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__11; static lean_object* l_Lean_Parser_Tactic_dsimp___closed__6; +static lean_object* l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__9; static lean_object* l_Lean_Parser_Tactic_letrec___closed__6; static lean_object* l_Lean_Parser_Tactic_done___closed__2; static lean_object* l_Lean_Parser_Tactic_change___closed__3; @@ -712,7 +711,6 @@ static lean_object* l_Lean_Parser_Tactic_congr___closed__2; static lean_object* l___aux__Init__Tactics______macroRules__term_____x5b___x5d__1___closed__8; static lean_object* l_Lean_Parser_Tactic_case___closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic_tacticExists___x2c_x2c; -static lean_object* l_Lean_Parser_Tactic_caseArg___closed__5; static lean_object* l_Lean_Parser_Tactic_tacticLet_x27_____closed__1; static lean_object* l_Lean_Parser_Tactic_tacticShow_____closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1(lean_object*, lean_object*, lean_object*); @@ -2746,72 +2744,6 @@ x_1 = l_Lean_Parser_Tactic_constructor___closed__4; return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("caseArg", 7); -return x_1; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__6; -x_2 = l_Lean_Parser_Tactic_caseArg___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_intro___closed__12; -x_2 = l_Lean_binderIdent; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__10; -x_2 = l_Lean_binderIdent; -x_3 = l_Lean_Parser_Tactic_caseArg___closed__3; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_caseArg___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_caseArg___closed__1; -x_2 = l_Lean_Parser_Tactic_caseArg___closed__2; -x_3 = l_Lean_Parser_Tactic_caseArg___closed__4; -x_4 = lean_alloc_ctor(9, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l_Lean_Parser_Tactic_caseArg() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_caseArg___closed__5; -return x_1; -} -} static lean_object* _init_l_Lean_Parser_Tactic_case___closed__1() { _start: { @@ -3119,15 +3051,13 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__10; -x_2 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__4; -x_3 = l_Lean_Parser_Tactic_caseArg___closed__3; -x_4 = lean_alloc_ctor(2, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic_intro___closed__12; +x_2 = l_Lean_binderIdent; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__6() { @@ -3135,8 +3065,8 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__10; -x_2 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__5; -x_3 = l_Lean_Parser_Tactic_rename___closed__8; +x_2 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__4; +x_3 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__5; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3150,7 +3080,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__10; x_2 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__6; -x_3 = l_Lean_Parser_Tactic_case___closed__12; +x_3 = l_Lean_Parser_Tactic_rename___closed__8; x_4 = lean_alloc_ctor(2, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3162,9 +3092,23 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__10; +x_2 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__7; +x_3 = l_Lean_Parser_Tactic_case___closed__12; +x_4 = lean_alloc_ctor(2, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__2; x_2 = lean_unsigned_to_nat(1022u); -x_3 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__7; +x_3 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__8; x_4 = lean_alloc_ctor(3, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -3176,7 +3120,7 @@ static lean_object* _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e__() { _start: { lean_object* x_1; -x_1 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__8; +x_1 = l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__9; return x_1; } } @@ -3220,7 +3164,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Term", 4); +x_1 = lean_mk_string_from_bytes("caseArg", 7); return x_1; } } @@ -3228,7 +3172,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__4; +x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__6; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -3237,14 +3181,32 @@ return x_3; static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7() { _start: { +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Term", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8() { +_start: +{ lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic_withAnnotateState___closed__4; +x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic_intros___closed__10; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10() { _start: { lean_object* x_1; @@ -3252,7 +3214,7 @@ x_1 = lean_mk_string_from_bytes("_", 1); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11() { _start: { lean_object* x_1; lean_object* x_2; @@ -3261,7 +3223,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12() { _start: { lean_object* x_1; lean_object* x_2; @@ -3270,7 +3232,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13() { _start: { lean_object* x_1; lean_object* x_2; @@ -3279,7 +3241,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__14() { _start: { lean_object* x_1; @@ -3287,7 +3249,7 @@ x_1 = lean_mk_string_from_bytes("=>", 2); return x_1; } } -static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13() { +static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15() { _start: { lean_object* x_1; lean_object* x_2; @@ -3335,14 +3297,14 @@ lean_inc(x_15); x_17 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_17, 0, x_15); lean_ctor_set(x_17, 1, x_16); -x_18 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_18 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_15); x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_15); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_21 = lean_array_push(x_20, x_19); -x_22 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_22 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_15); x_23 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_23, 0, x_15); @@ -3355,7 +3317,7 @@ x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_15); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; x_28 = l_Array_appendCore___rarg(x_27, x_12); lean_dec(x_12); x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; @@ -3364,10 +3326,10 @@ x_30 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_30, 0, x_15); lean_ctor_set(x_30, 1, x_29); lean_ctor_set(x_30, 2, x_28); -x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_32 = lean_array_push(x_31, x_26); x_33 = lean_array_push(x_32, x_30); -x_34 = l_Lean_Parser_Tactic_caseArg___closed__2; +x_34 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; lean_inc(x_15); x_35 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_35, 0, x_15); @@ -3379,12 +3341,12 @@ x_37 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_37, 0, x_15); lean_ctor_set(x_37, 1, x_29); lean_ctor_set(x_37, 2, x_36); -x_38 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; +x_38 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__14; lean_inc(x_15); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_15); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_40 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_41 = lean_array_push(x_40, x_17); x_42 = lean_array_push(x_41, x_37); x_43 = lean_array_push(x_42, x_39); @@ -3410,14 +3372,14 @@ lean_inc(x_47); x_50 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_50, 0, x_47); lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_51 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_47); x_52 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_52, 0, x_47); lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_53 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_54 = lean_array_push(x_53, x_52); -x_55 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_55 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_47); x_56 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_56, 0, x_47); @@ -3430,7 +3392,7 @@ x_59 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_59, 0, x_47); lean_ctor_set(x_59, 1, x_58); lean_ctor_set(x_59, 2, x_57); -x_60 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_60 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; x_61 = l_Array_appendCore___rarg(x_60, x_12); lean_dec(x_12); x_62 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; @@ -3439,10 +3401,10 @@ x_63 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_63, 0, x_47); lean_ctor_set(x_63, 1, x_62); lean_ctor_set(x_63, 2, x_61); -x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_65 = lean_array_push(x_64, x_59); x_66 = lean_array_push(x_65, x_63); -x_67 = l_Lean_Parser_Tactic_caseArg___closed__2; +x_67 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; lean_inc(x_47); x_68 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_68, 0, x_47); @@ -3454,12 +3416,12 @@ x_70 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_70, 0, x_47); lean_ctor_set(x_70, 1, x_62); lean_ctor_set(x_70, 2, x_69); -x_71 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; +x_71 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__14; lean_inc(x_47); x_72 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_72, 0, x_47); lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_73 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_74 = lean_array_push(x_73, x_50); x_75 = lean_array_push(x_74, x_70); x_76 = lean_array_push(x_75, x_72); @@ -4935,7 +4897,7 @@ lean_inc(x_12); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_12); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_18 = lean_array_push(x_17, x_16); lean_inc(x_18); x_19 = lean_array_push(x_18, x_9); @@ -4950,7 +4912,7 @@ lean_inc(x_12); x_23 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_23, 0, x_12); lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_25 = lean_array_push(x_24, x_23); x_26 = l_Lean_Parser_Tactic_skip___closed__2; lean_inc(x_12); @@ -5033,7 +4995,7 @@ lean_inc(x_51); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_51); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_57 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_58 = lean_array_push(x_57, x_56); lean_inc(x_58); x_59 = lean_array_push(x_58, x_9); @@ -5048,7 +5010,7 @@ lean_inc(x_51); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_51); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_65 = lean_array_push(x_64, x_63); x_66 = l_Lean_Parser_Tactic_skip___closed__2; lean_inc(x_51); @@ -5266,7 +5228,7 @@ x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_16); lean_ctor_set(x_18, 1, x_17); x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_16); x_21 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_21, 0, x_16); @@ -5282,7 +5244,7 @@ lean_inc(x_16); x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_16); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_26 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_27 = lean_array_push(x_26, x_25); x_28 = l_Lean_Parser_Tactic_skip___closed__2; lean_inc(x_16); @@ -5325,7 +5287,7 @@ x_45 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_45, 0, x_16); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); -x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_47 = lean_array_push(x_46, x_37); x_48 = lean_array_push(x_47, x_45); x_49 = l_Lean_Parser_Tactic_allGoals___closed__2; @@ -5382,7 +5344,7 @@ x_69 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_69, 0, x_66); lean_ctor_set(x_69, 1, x_68); x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_71 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_71 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_66); x_72 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_72, 0, x_66); @@ -5398,7 +5360,7 @@ lean_inc(x_66); x_76 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_76, 0, x_66); lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_78 = lean_array_push(x_77, x_76); x_79 = l_Lean_Parser_Tactic_skip___closed__2; lean_inc(x_66); @@ -5441,7 +5403,7 @@ x_96 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_96, 0, x_66); lean_ctor_set(x_96, 1, x_95); lean_ctor_set(x_96, 2, x_94); -x_97 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_97 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_98 = lean_array_push(x_97, x_88); x_99 = lean_array_push(x_98, x_96); x_100 = l_Lean_Parser_Tactic_allGoals___closed__2; @@ -5639,7 +5601,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_refl___closed__2; lean_inc(x_10); @@ -5676,7 +5638,7 @@ lean_inc(x_23); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_23); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_28 = lean_array_push(x_27, x_26); x_29 = l_Lean_Parser_Tactic_refl___closed__2; lean_inc(x_23); @@ -5914,7 +5876,7 @@ lean_inc(x_10); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_10); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_29 = lean_array_push(x_28, x_27); x_30 = l_Lean_Parser_Tactic_tacticRfl___closed__2; lean_inc(x_10); @@ -5943,7 +5905,7 @@ x_40 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_40, 0, x_10); lean_ctor_set(x_40, 1, x_39); lean_ctor_set(x_40, 2, x_38); -x_41 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_41 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_42 = lean_array_push(x_41, x_25); x_43 = lean_array_push(x_42, x_40); x_44 = l_Lean_Parser_Tactic_withUnfoldingAll___closed__2; @@ -6045,7 +6007,7 @@ lean_inc(x_65); x_83 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_83, 0, x_65); lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_84 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_85 = lean_array_push(x_84, x_83); x_86 = l_Lean_Parser_Tactic_tacticRfl___closed__2; lean_inc(x_65); @@ -6074,7 +6036,7 @@ x_96 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_96, 0, x_65); lean_ctor_set(x_96, 1, x_95); lean_ctor_set(x_96, 2, x_94); -x_97 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_97 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_98 = lean_array_push(x_97, x_81); x_99 = lean_array_push(x_98, x_96); x_100 = l_Lean_Parser_Tactic_withUnfoldingAll___closed__2; @@ -6265,7 +6227,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -6283,7 +6245,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -6500,7 +6462,7 @@ lean_ctor_set(x_21, 0, x_10); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_22 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_23 = lean_array_push(x_22, x_16); x_24 = lean_array_push(x_23, x_21); x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__4; @@ -6509,14 +6471,14 @@ x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_10); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_10); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_10); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_10); x_32 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_32, 0, x_10); @@ -6606,7 +6568,7 @@ lean_ctor_set(x_67, 0, x_55); 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_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_69 = lean_array_push(x_68, x_62); x_70 = lean_array_push(x_69, x_67); x_71 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__4; @@ -6615,14 +6577,14 @@ x_72 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_72, 0, x_55); lean_ctor_set(x_72, 1, x_71); lean_ctor_set(x_72, 2, x_70); -x_73 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_73 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_55); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_55); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_75 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_76 = lean_array_push(x_75, x_74); -x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_55); x_78 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_78, 0, x_55); @@ -6795,7 +6757,7 @@ lean_ctor_set(x_21, 0, x_10); lean_ctor_set(x_21, 1, x_19); lean_ctor_set(x_21, 2, x_18); lean_ctor_set(x_21, 3, x_20); -x_22 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_22 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_23 = lean_array_push(x_22, x_16); x_24 = lean_array_push(x_23, x_21); x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__4; @@ -6804,14 +6766,14 @@ x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_10); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_10); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_10); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_10); x_32 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_32, 0, x_10); @@ -6901,7 +6863,7 @@ lean_ctor_set(x_67, 0, x_55); 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_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_69 = lean_array_push(x_68, x_62); x_70 = lean_array_push(x_69, x_67); x_71 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__4; @@ -6910,14 +6872,14 @@ x_72 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_72, 0, x_55); lean_ctor_set(x_72, 1, x_71); lean_ctor_set(x_72, 2, x_70); -x_73 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_73 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_55); x_74 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_74, 0, x_55); lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_75 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_76 = lean_array_push(x_75, x_74); -x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_55); x_78 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_78, 0, x_55); @@ -7170,7 +7132,7 @@ lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_21 = lean_array_push(x_20, x_14); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_exact___closed__2; @@ -7179,7 +7141,7 @@ x_24 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_24, 0, x_10); lean_ctor_set(x_24, 1, x_23); lean_ctor_set(x_24, 2, x_22); -x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_26 = lean_array_push(x_25, x_24); x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; lean_inc(x_10); @@ -7224,7 +7186,7 @@ lean_ctor_set(x_42, 0, x_32); lean_ctor_set(x_42, 1, x_40); lean_ctor_set(x_42, 2, x_39); lean_ctor_set(x_42, 3, x_41); -x_43 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_43 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_44 = lean_array_push(x_43, x_37); x_45 = lean_array_push(x_44, x_42); x_46 = l_Lean_Parser_Tactic_exact___closed__2; @@ -7233,7 +7195,7 @@ x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_32); lean_ctor_set(x_47, 1, x_46); lean_ctor_set(x_47, 2, x_45); -x_48 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_48 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_49 = lean_array_push(x_48, x_47); x_50 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; lean_inc(x_32); @@ -8415,7 +8377,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; x_2 = l_Array_appendCore___rarg(x_1, x_1); return x_2; } @@ -8560,7 +8522,7 @@ lean_inc(x_26); x_32 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_32, 0, x_26); lean_ctor_set(x_32, 1, x_31); -x_33 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_33 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; x_34 = l_Array_appendCore___rarg(x_33, x_24); lean_dec(x_24); x_35 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; @@ -8583,7 +8545,7 @@ x_43 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_43, 0, x_26); lean_ctor_set(x_43, 1, x_16); lean_ctor_set(x_43, 2, x_42); -x_44 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_44 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_45 = lean_array_push(x_44, x_30); x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__rwSeq__1___closed__2; lean_inc(x_26); @@ -8615,7 +8577,7 @@ lean_inc(x_26); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_26); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_58 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_59 = lean_array_push(x_58, x_57); x_60 = l_Lean_Parser_Tactic_tacticRfl___closed__2; lean_inc(x_26); @@ -8643,7 +8605,7 @@ x_69 = lean_alloc_ctor(1, 3, 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); -x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_71 = lean_array_push(x_70, x_55); x_72 = lean_array_push(x_71, x_69); x_73 = l_Lean_Parser_Tactic_withReducible___closed__2; @@ -10363,7 +10325,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -10427,7 +10389,7 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1___closed__2; @@ -10455,7 +10417,7 @@ x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_12); lean_ctor_set(x_33, 1, x_32); x_34 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_35 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_35 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_12); x_36 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_36, 0, x_12); @@ -10478,7 +10440,7 @@ x_45 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_45, 0, x_12); lean_ctor_set(x_45, 1, x_34); lean_ctor_set(x_45, 2, x_44); -x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_47 = lean_array_push(x_46, x_45); x_48 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__5; lean_inc(x_12); @@ -10576,7 +10538,7 @@ lean_inc(x_75); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_75); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_85 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_86 = lean_array_push(x_85, x_84); x_87 = lean_array_push(x_86, x_9); x_88 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1___closed__2; @@ -10604,7 +10566,7 @@ x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_75); lean_ctor_set(x_97, 1, x_96); x_98 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_99 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_99 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_75); x_100 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_100, 0, x_75); @@ -10627,7 +10589,7 @@ x_109 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_109, 0, x_75); lean_ctor_set(x_109, 1, x_98); lean_ctor_set(x_109, 2, x_108); -x_110 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_110 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_111 = lean_array_push(x_110, x_109); x_112 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__5; lean_inc(x_75); @@ -10824,7 +10786,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -10842,7 +10804,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -10906,20 +10868,20 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_12); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -10928,7 +10890,7 @@ x_31 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_33 = lean_array_push(x_32, x_16); x_34 = lean_array_push(x_33, x_9); x_35 = lean_array_push(x_34, x_18); @@ -10991,20 +10953,20 @@ lean_inc(x_49); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_49); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_49); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_49); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_49); x_64 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_64, 0, x_49); lean_ctor_set(x_64, 1, x_63); lean_ctor_set(x_64, 2, x_62); -x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_66 = lean_array_push(x_65, x_58); x_67 = lean_array_push(x_66, x_64); x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -11013,7 +10975,7 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_49); lean_ctor_set(x_69, 1, x_68); lean_ctor_set(x_69, 2, x_67); -x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_9); x_73 = lean_array_push(x_72, x_56); @@ -11167,7 +11129,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSuffices____1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -11223,20 +11185,20 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_12); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -11245,7 +11207,7 @@ x_31 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_33 = lean_array_push(x_32, x_16); x_34 = lean_array_push(x_33, x_9); x_35 = lean_array_push(x_34, x_18); @@ -11308,20 +11270,20 @@ lean_inc(x_49); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_49); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_49); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_49); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_49); x_64 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_64, 0, x_49); lean_ctor_set(x_64, 1, x_63); lean_ctor_set(x_64, 2, x_62); -x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_66 = lean_array_push(x_65, x_58); x_67 = lean_array_push(x_66, x_64); x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -11330,7 +11292,7 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_49); lean_ctor_set(x_69, 1, x_68); lean_ctor_set(x_69, 2, x_67); -x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_9); x_73 = lean_array_push(x_72, x_56); @@ -11484,7 +11446,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticLet____1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -11540,20 +11502,20 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_12); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -11562,7 +11524,7 @@ x_31 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_33 = lean_array_push(x_32, x_16); x_34 = lean_array_push(x_33, x_9); x_35 = lean_array_push(x_34, x_18); @@ -11625,20 +11587,20 @@ lean_inc(x_49); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_49); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_49); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_49); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_49); x_64 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_64, 0, x_49); lean_ctor_set(x_64, 1, x_63); lean_ctor_set(x_64, 2, x_62); -x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_66 = lean_array_push(x_65, x_58); x_67 = lean_array_push(x_66, x_64); x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -11647,7 +11609,7 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_49); lean_ctor_set(x_69, 1, x_68); lean_ctor_set(x_69, 2, x_67); -x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_9); x_73 = lean_array_push(x_72, x_56); @@ -11773,7 +11735,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticShow____1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -11791,7 +11753,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticShow____1___closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -11855,20 +11817,20 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_12); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -11947,20 +11909,20 @@ lean_inc(x_52); x_61 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_61, 0, x_52); lean_ctor_set(x_61, 1, x_60); -x_62 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_62 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_52); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_52); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_65 = lean_array_push(x_64, x_63); -x_66 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_66 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_52); x_67 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_67, 0, x_52); lean_ctor_set(x_67, 1, x_66); lean_ctor_set(x_67, 2, x_65); -x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_69 = lean_array_push(x_68, x_61); x_70 = lean_array_push(x_69, x_67); x_71 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -12170,7 +12132,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic_letrec___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -12229,7 +12191,7 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_20 = lean_array_push(x_19, x_16); x_21 = lean_array_push(x_20, x_18); x_22 = l_Lean_Parser_Tactic_first___closed__8; @@ -12248,14 +12210,14 @@ lean_inc(x_12); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_12); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_12); x_29 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_29, 0, x_12); lean_ctor_set(x_29, 1, x_28); -x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_31 = lean_array_push(x_30, x_29); -x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_12); x_33 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_33, 0, x_12); @@ -12269,7 +12231,7 @@ x_37 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_37, 0, x_12); lean_ctor_set(x_37, 1, x_36); lean_ctor_set(x_37, 2, x_35); -x_38 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_38 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_39 = lean_array_push(x_38, x_23); x_40 = lean_array_push(x_39, x_9); x_41 = lean_array_push(x_40, x_25); @@ -12313,7 +12275,7 @@ lean_inc(x_49); x_56 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_56, 0, x_49); lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_57 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_58 = lean_array_push(x_57, x_54); x_59 = lean_array_push(x_58, x_56); x_60 = l_Lean_Parser_Tactic_first___closed__8; @@ -12332,14 +12294,14 @@ lean_inc(x_49); x_65 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_65, 0, x_49); lean_ctor_set(x_65, 1, x_64); -x_66 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_66 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_49); x_67 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_67, 0, x_49); lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_69 = lean_array_push(x_68, x_67); -x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_49); x_71 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_71, 0, x_49); @@ -12353,7 +12315,7 @@ x_75 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_75, 0, x_49); lean_ctor_set(x_75, 1, x_74); lean_ctor_set(x_75, 2, x_73); -x_76 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_76 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_77 = lean_array_push(x_76, x_61); x_78 = lean_array_push(x_77, x_9); x_79 = lean_array_push(x_78, x_63); @@ -12503,7 +12465,7 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_22 = lean_array_push(x_21, x_20); x_23 = lean_array_push(x_22, x_9); x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1___closed__2; @@ -12531,7 +12493,7 @@ x_33 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_33, 0, x_12); lean_ctor_set(x_33, 1, x_32); x_34 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_35 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_35 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_12); x_36 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_36, 0, x_12); @@ -12554,7 +12516,7 @@ x_45 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_45, 0, x_12); lean_ctor_set(x_45, 1, x_34); lean_ctor_set(x_45, 2, x_44); -x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_47 = lean_array_push(x_46, x_45); x_48 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__5; lean_inc(x_12); @@ -12652,7 +12614,7 @@ lean_inc(x_75); x_84 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_84, 0, x_75); lean_ctor_set(x_84, 1, x_83); -x_85 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_85 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_86 = lean_array_push(x_85, x_84); x_87 = lean_array_push(x_86, x_9); x_88 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticRefine__lift____1___closed__2; @@ -12680,7 +12642,7 @@ x_97 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_97, 0, x_75); lean_ctor_set(x_97, 1, x_96); x_98 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_99 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_99 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_75); x_100 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_100, 0, x_75); @@ -12703,7 +12665,7 @@ x_109 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_109, 0, x_75); lean_ctor_set(x_109, 1, x_98); lean_ctor_set(x_109, 2, x_108); -x_110 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_110 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_111 = lean_array_push(x_110, x_109); x_112 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__5; lean_inc(x_75); @@ -12910,20 +12872,20 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_12); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -12932,7 +12894,7 @@ x_31 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_33 = lean_array_push(x_32, x_16); x_34 = lean_array_push(x_33, x_9); x_35 = lean_array_push(x_34, x_18); @@ -12995,20 +12957,20 @@ lean_inc(x_49); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_49); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_49); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_49); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_49); x_64 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_64, 0, x_49); lean_ctor_set(x_64, 1, x_63); lean_ctor_set(x_64, 2, x_62); -x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_66 = lean_array_push(x_65, x_58); x_67 = lean_array_push(x_66, x_64); x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -13017,7 +12979,7 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_49); lean_ctor_set(x_69, 1, x_68); lean_ctor_set(x_69, 2, x_67); -x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_9); x_73 = lean_array_push(x_72, x_56); @@ -13163,7 +13125,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic_tacticHave_____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -13181,7 +13143,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -13199,7 +13161,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave_x27___x3a_x3d____1___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -13259,13 +13221,13 @@ x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_18 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_18 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_14); x_19 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_19, 0, x_14); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_18); -x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_21 = lean_array_push(x_20, x_9); x_22 = lean_array_push(x_21, x_19); lean_inc(x_14); @@ -13278,14 +13240,14 @@ lean_inc(x_14); x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_14); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_26 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_14); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_14); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_29 = lean_array_push(x_28, x_27); -x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_14); x_31 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_31, 0, x_14); @@ -13310,7 +13272,7 @@ lean_inc(x_14); x_39 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_39, 0, x_14); lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_40 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_41 = lean_array_push(x_40, x_23); x_42 = lean_array_push(x_41, x_37); x_43 = lean_array_push(x_42, x_39); @@ -13365,13 +13327,13 @@ x_62 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_62, 0, x_59); lean_ctor_set(x_62, 1, x_61); x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_59); x_65 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_65, 0, x_59); lean_ctor_set(x_65, 1, x_63); lean_ctor_set(x_65, 2, x_64); -x_66 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_66 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_67 = lean_array_push(x_66, x_9); x_68 = lean_array_push(x_67, x_65); lean_inc(x_59); @@ -13384,14 +13346,14 @@ lean_inc(x_59); x_71 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_71, 0, x_59); lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_72 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_59); x_73 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_73, 0, x_59); lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_74 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_75 = lean_array_push(x_74, x_73); -x_76 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_76 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_59); x_77 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_77, 0, x_59); @@ -13416,7 +13378,7 @@ lean_inc(x_59); x_85 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_85, 0, x_59); lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_86 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_87 = lean_array_push(x_86, x_69); x_88 = lean_array_push(x_87, x_83); x_89 = lean_array_push(x_88, x_85); @@ -13586,20 +13548,20 @@ lean_inc(x_12); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_12); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_12); x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_12); lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_24 = lean_array_push(x_23, x_22); -x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_25 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_12); x_26 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_26, 0, x_12); lean_ctor_set(x_26, 1, x_25); lean_ctor_set(x_26, 2, x_24); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_28 = lean_array_push(x_27, x_20); x_29 = lean_array_push(x_28, x_26); x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -13608,7 +13570,7 @@ x_31 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_33 = lean_array_push(x_32, x_16); x_34 = lean_array_push(x_33, x_9); x_35 = lean_array_push(x_34, x_18); @@ -13671,20 +13633,20 @@ lean_inc(x_49); x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_49); lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_59 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_49); x_60 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_60, 0, x_49); lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_61 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_62 = lean_array_push(x_61, x_60); -x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_63 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_49); x_64 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_64, 0, x_49); lean_ctor_set(x_64, 1, x_63); lean_ctor_set(x_64, 2, x_62); -x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_65 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_66 = lean_array_push(x_65, x_58); x_67 = lean_array_push(x_66, x_64); x_68 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -13693,7 +13655,7 @@ x_69 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_69, 0, x_49); lean_ctor_set(x_69, 1, x_68); lean_ctor_set(x_69, 2, x_67); -x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; +x_70 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15; x_71 = lean_array_push(x_70, x_54); x_72 = lean_array_push(x_71, x_9); x_73 = lean_array_push(x_72, x_56); @@ -15158,7 +15120,7 @@ lean_inc(x_12); x_30 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_30, 0, x_12); lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_32 = lean_array_push(x_31, x_30); x_33 = lean_array_push(x_32, x_9); lean_inc(x_12); @@ -15175,7 +15137,7 @@ x_39 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_39, 0, x_12); lean_ctor_set(x_39, 1, x_38); lean_ctor_set(x_39, 2, x_37); -x_40 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_40 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_41 = lean_array_push(x_40, x_39); x_42 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__5; lean_inc(x_12); @@ -15301,7 +15263,7 @@ lean_inc(x_71); x_90 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_90, 0, x_71); lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_91 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_92 = lean_array_push(x_91, x_90); x_93 = lean_array_push(x_92, x_9); lean_inc(x_71); @@ -15318,7 +15280,7 @@ x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_71); lean_ctor_set(x_99, 1, x_98); lean_ctor_set(x_99, 2, x_97); -x_100 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_100 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_101 = lean_array_push(x_100, x_99); x_102 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTry____1___closed__5; lean_inc(x_71); @@ -15769,7 +15731,7 @@ lean_inc(x_10); x_14 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_14, 0, x_10); lean_ctor_set(x_14, 1, x_13); -x_15 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_15 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_16 = lean_array_push(x_15, x_14); x_17 = l_Lean_Parser_Tactic_tacticSorry___closed__2; lean_inc(x_10); @@ -15798,7 +15760,7 @@ x_27 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_27, 0, x_10); lean_ctor_set(x_27, 1, x_26); lean_ctor_set(x_27, 2, x_25); -x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_29 = lean_array_push(x_28, x_12); x_30 = lean_array_push(x_29, x_27); x_31 = l_Lean_Parser_Tactic_tacticRepeat_____closed__2; @@ -15840,7 +15802,7 @@ lean_inc(x_38); x_43 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_43, 0, x_38); lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_44 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_45 = lean_array_push(x_44, x_43); x_46 = l_Lean_Parser_Tactic_tacticSorry___closed__2; lean_inc(x_38); @@ -15869,7 +15831,7 @@ x_56 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_56, 0, x_38); lean_ctor_set(x_56, 1, x_55); lean_ctor_set(x_56, 2, x_54); -x_57 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_57 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_58 = lean_array_push(x_57, x_41); x_59 = lean_array_push(x_58, x_56); x_60 = l_Lean_Parser_Tactic_tacticRepeat_____closed__2; @@ -16002,7 +15964,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_assumption___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -16025,7 +15987,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_assumption___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -16070,7 +16032,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_tacticRfl___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -16093,7 +16055,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_tacticRfl___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -16138,7 +16100,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_contradiction___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -16161,7 +16123,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_contradiction___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -16224,7 +16186,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__4___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -16247,7 +16209,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticTrivial__4___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -16391,7 +16353,7 @@ lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_21 = lean_array_push(x_20, x_14); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_apply___closed__2; @@ -16430,7 +16392,7 @@ lean_ctor_set(x_35, 0, x_25); lean_ctor_set(x_35, 1, x_33); lean_ctor_set(x_35, 2, x_32); lean_ctor_set(x_35, 3, x_34); -x_36 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_36 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_37 = lean_array_push(x_36, x_30); x_38 = lean_array_push(x_37, x_35); x_39 = l_Lean_Parser_Tactic_apply___closed__2; @@ -16583,7 +16545,7 @@ lean_ctor_set(x_19, 0, x_10); lean_ctor_set(x_19, 1, x_17); lean_ctor_set(x_19, 2, x_16); lean_ctor_set(x_19, 3, x_18); -x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_21 = lean_array_push(x_20, x_14); x_22 = lean_array_push(x_21, x_19); x_23 = l_Lean_Parser_Tactic_apply___closed__2; @@ -16602,7 +16564,7 @@ lean_inc(x_10); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_10); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_30 = lean_array_push(x_29, x_28); lean_inc(x_10); x_31 = lean_alloc_ctor(1, 3, 0); @@ -16649,7 +16611,7 @@ lean_ctor_set(x_48, 0, x_38); 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_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_49 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_50 = lean_array_push(x_49, x_43); x_51 = lean_array_push(x_50, x_48); x_52 = l_Lean_Parser_Tactic_apply___closed__2; @@ -16668,7 +16630,7 @@ lean_inc(x_38); x_57 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_57, 0, x_38); lean_ctor_set(x_57, 1, x_56); -x_58 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_58 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_59 = lean_array_push(x_58, x_57); lean_inc(x_38); x_60 = lean_alloc_ctor(1, 3, 0); @@ -16888,7 +16850,7 @@ x_33 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_33, 0, x_12); lean_ctor_set(x_33, 1, x_32); lean_ctor_set(x_33, 2, x_31); -x_34 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_34 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_35 = lean_array_push(x_34, x_33); x_36 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; lean_inc(x_12); @@ -16955,7 +16917,7 @@ x_63 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_63, 0, x_41); lean_ctor_set(x_63, 1, x_62); lean_ctor_set(x_63, 2, x_61); -x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_65 = lean_array_push(x_64, x_63); x_66 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; lean_inc(x_41); @@ -17219,7 +17181,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_skip___closed__2; lean_inc(x_10); @@ -17256,7 +17218,7 @@ lean_inc(x_23); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_23); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_28 = lean_array_push(x_27, x_26); x_29 = l_Lean_Parser_Tactic_skip___closed__2; lean_inc(x_23); @@ -17437,7 +17399,7 @@ static lean_object* _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRu _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticExists___x2c_x2c__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -17506,7 +17468,7 @@ lean_inc(x_13); x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_13); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_20 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; x_21 = l_Array_appendCore___rarg(x_20, x_10); lean_dec(x_10); x_22 = l_Lean_Parser_Tactic_rwRuleSeq___closed__7; @@ -17520,20 +17482,20 @@ lean_inc(x_13); x_26 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_26, 0, x_13); lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_27 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_13); x_28 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_28, 0, x_13); lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_29 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_30 = lean_array_push(x_29, x_28); -x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_13); x_32 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_32, 0, x_13); lean_ctor_set(x_32, 1, x_31); lean_ctor_set(x_32, 2, x_30); -x_33 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_33 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_34 = lean_array_push(x_33, x_26); x_35 = lean_array_push(x_34, x_32); x_36 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -17681,7 +17643,7 @@ lean_inc(x_89); x_96 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_96, 0, x_89); lean_ctor_set(x_96, 1, x_95); -x_97 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_97 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; x_98 = l_Array_appendCore___rarg(x_97, x_10); lean_dec(x_10); x_99 = l_Lean_Parser_Tactic_rwRuleSeq___closed__7; @@ -17695,20 +17657,20 @@ lean_inc(x_89); x_103 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_103, 0, x_89); lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; +x_104 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; lean_inc(x_89); x_105 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_105, 0, x_89); lean_ctor_set(x_105, 1, x_104); -x_106 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_106 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_107 = lean_array_push(x_106, x_105); -x_108 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__7; +x_108 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; lean_inc(x_89); x_109 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_109, 0, x_89); lean_ctor_set(x_109, 1, x_108); lean_ctor_set(x_109, 2, x_107); -x_110 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_110 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_111 = lean_array_push(x_110, x_103); x_112 = lean_array_push(x_111, x_109); x_113 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticHave____1___closed__5; @@ -18140,7 +18102,7 @@ static lean_object* _init_l___aux__Init__Tactics______macroRules__term_u2039___u _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l_Lean_Parser_Tactic_paren___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -18158,7 +18120,7 @@ static lean_object* _init_l___aux__Init__Tactics______macroRules__term_u2039___u _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l___aux__Init__Tactics______macroRules__term_u2039___u203a__1___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -18184,7 +18146,7 @@ static lean_object* _init_l___aux__Init__Tactics______macroRules__term_u2039___u _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l___aux__Init__Tactics______macroRules__term_u2039___u203a__1___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -18235,7 +18197,7 @@ lean_inc(x_12); x_18 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_18, 0, x_12); lean_ctor_set(x_18, 1, x_17); -x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_19 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_20 = lean_array_push(x_19, x_18); x_21 = l_Lean_Parser_Tactic_assumption___closed__2; lean_inc(x_12); @@ -18264,7 +18226,7 @@ x_31 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_31, 0, x_12); lean_ctor_set(x_31, 1, x_30); lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_32 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_33 = lean_array_push(x_32, x_16); x_34 = lean_array_push(x_33, x_31); x_35 = l___aux__Init__Tactics______macroRules__term_u2039___u203a__1___closed__3; @@ -18339,7 +18301,7 @@ lean_inc(x_56); x_63 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_63, 0, x_56); lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_64 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_65 = lean_array_push(x_64, x_63); x_66 = l_Lean_Parser_Tactic_assumption___closed__2; lean_inc(x_56); @@ -18368,7 +18330,7 @@ x_76 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_76, 0, x_56); lean_ctor_set(x_76, 1, x_75); lean_ctor_set(x_76, 2, x_74); -x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_77 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_78 = lean_array_push(x_77, x_61); x_79 = lean_array_push(x_78, x_76); x_80 = l___aux__Init__Tactics______macroRules__term_u2039___u203a__1___closed__3; @@ -18515,7 +18477,7 @@ lean_inc(x_10); x_12 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); -x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_13 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_14 = lean_array_push(x_13, x_12); x_15 = l_Lean_Parser_Tactic_tacticTrivial___closed__2; x_16 = lean_alloc_ctor(1, 3, 0); @@ -18538,7 +18500,7 @@ lean_inc(x_17); x_20 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_20, 0, x_17); lean_ctor_set(x_20, 1, x_19); -x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_21 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_22 = lean_array_push(x_21, x_20); x_23 = l_Lean_Parser_Tactic_tacticTrivial___closed__2; x_24 = lean_alloc_ctor(1, 3, 0); @@ -18565,7 +18527,7 @@ static lean_object* _init_l___aux__Init__Tactics______macroRules__tacticGet__ele _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -18591,7 +18553,7 @@ static lean_object* _init_l___aux__Init__Tactics______macroRules__tacticGet__ele _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -18609,7 +18571,7 @@ static lean_object* _init_l___aux__Init__Tactics______macroRules__tacticGet__ele _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__6; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -18743,7 +18705,7 @@ static lean_object* _init_l___aux__Init__Tactics______macroRules__tacticGet__ele _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__6; +x_1 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__8; x_2 = l___aux__Init__Tactics______macroRules__tacticGet__elem__tactic__trivial__2___closed__19; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -18823,7 +18785,7 @@ x_22 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_22, 0, x_10); lean_ctor_set(x_22, 1, x_21); x_23 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_24 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_10); x_25 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_25, 0, x_10); @@ -18841,7 +18803,7 @@ lean_ctor_set(x_30, 0, x_10); lean_ctor_set(x_30, 1, x_29); lean_ctor_set(x_30, 2, x_27); lean_ctor_set(x_30, 3, x_28); -x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_31 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_32 = lean_array_push(x_31, x_30); lean_inc(x_25); x_33 = lean_array_push(x_32, x_25); @@ -18872,7 +18834,7 @@ x_46 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_46, 0, x_10); lean_ctor_set(x_46, 1, x_45); lean_ctor_set(x_46, 2, x_44); -x_47 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_47 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_48 = lean_array_push(x_47, x_46); lean_inc(x_10); x_49 = lean_alloc_ctor(1, 3, 0); @@ -19018,7 +18980,7 @@ x_111 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_111, 0, x_98); lean_ctor_set(x_111, 1, x_110); x_112 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__4; -x_113 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_113 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_98); x_114 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_114, 0, x_98); @@ -19036,7 +18998,7 @@ lean_ctor_set(x_119, 0, x_98); lean_ctor_set(x_119, 1, x_118); lean_ctor_set(x_119, 2, x_116); lean_ctor_set(x_119, 3, x_117); -x_120 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_120 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_121 = lean_array_push(x_120, x_119); lean_inc(x_114); x_122 = lean_array_push(x_121, x_114); @@ -19067,7 +19029,7 @@ x_135 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_135, 0, x_98); lean_ctor_set(x_135, 1, x_134); lean_ctor_set(x_135, 2, x_133); -x_136 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_136 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_137 = lean_array_push(x_136, x_135); lean_inc(x_98); x_138 = lean_alloc_ctor(1, 3, 0); @@ -19287,7 +19249,7 @@ lean_inc(x_10); x_16 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_16, 0, x_10); lean_ctor_set(x_16, 1, x_15); -x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_17 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_18 = lean_array_push(x_17, x_16); x_19 = l_tacticGet__elem__tactic__trivial___closed__2; lean_inc(x_10); @@ -19316,7 +19278,7 @@ x_29 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_29, 0, x_10); lean_ctor_set(x_29, 1, x_28); lean_ctor_set(x_29, 2, x_27); -x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_31 = lean_array_push(x_30, x_14); lean_inc(x_31); x_32 = lean_array_push(x_31, x_29); @@ -19434,7 +19396,7 @@ lean_inc(x_68); x_75 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_75, 0, x_68); lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_76 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_77 = lean_array_push(x_76, x_75); x_78 = l_tacticGet__elem__tactic__trivial___closed__2; lean_inc(x_68); @@ -19463,7 +19425,7 @@ x_88 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_88, 0, x_68); lean_ctor_set(x_88, 1, x_87); lean_ctor_set(x_88, 2, x_86); -x_89 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_89 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_90 = lean_array_push(x_89, x_73); lean_inc(x_90); x_91 = lean_array_push(x_90, x_88); @@ -19853,7 +19815,7 @@ lean_inc(x_14); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_14); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_28 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_29 = lean_array_push(x_28, x_27); x_30 = l_tacticGet__elem__tactic___closed__2; lean_inc(x_14); @@ -19882,7 +19844,7 @@ x_40 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_40, 0, x_14); lean_ctor_set(x_40, 1, x_39); lean_ctor_set(x_40, 2, x_38); -x_41 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_41 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_42 = lean_array_push(x_41, x_25); x_43 = lean_array_push(x_42, x_40); x_44 = l___aux__Init__Tactics______macroRules__term_u2039___u203a__1___closed__3; @@ -19891,7 +19853,7 @@ x_45 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_45, 0, x_14); lean_ctor_set(x_45, 1, x_44); lean_ctor_set(x_45, 2, x_43); -x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_46 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_14); x_47 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_47, 0, x_14); @@ -19975,7 +19937,7 @@ lean_inc(x_67); x_81 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_81, 0, x_67); lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__9; +x_82 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; x_83 = lean_array_push(x_82, x_81); x_84 = l_tacticGet__elem__tactic___closed__2; lean_inc(x_67); @@ -20004,7 +19966,7 @@ x_94 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_94, 0, x_67); lean_ctor_set(x_94, 1, x_93); lean_ctor_set(x_94, 2, x_92); -x_95 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_95 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_96 = lean_array_push(x_95, x_79); x_97 = lean_array_push(x_96, x_94); x_98 = l___aux__Init__Tactics______macroRules__term_u2039___u203a__1___closed__3; @@ -20013,7 +19975,7 @@ x_99 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_99, 0, x_67); lean_ctor_set(x_99, 1, x_98); lean_ctor_set(x_99, 2, x_97); -x_100 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__10; +x_100 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12; lean_inc(x_67); x_101 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_101, 0, x_67); @@ -20212,7 +20174,7 @@ x_29 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_29, 0, x_16); lean_ctor_set(x_29, 1, x_28); lean_ctor_set(x_29, 2, x_27); -x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_30 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_31 = lean_array_push(x_30, x_23); x_32 = lean_array_push(x_31, x_29); x_33 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__2; @@ -20256,7 +20218,7 @@ x_49 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_49, 0, x_35); lean_ctor_set(x_49, 1, x_48); lean_ctor_set(x_49, 2, x_47); -x_50 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__11; +x_50 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13; x_51 = lean_array_push(x_50, x_43); x_52 = lean_array_push(x_51, x_49); x_53 = l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticSorry__1___closed__2; @@ -20585,18 +20547,6 @@ l_Lean_Parser_Tactic_constructor___closed__4 = _init_l_Lean_Parser_Tactic_constr lean_mark_persistent(l_Lean_Parser_Tactic_constructor___closed__4); l_Lean_Parser_Tactic_constructor = _init_l_Lean_Parser_Tactic_constructor(); lean_mark_persistent(l_Lean_Parser_Tactic_constructor); -l_Lean_Parser_Tactic_caseArg___closed__1 = _init_l_Lean_Parser_Tactic_caseArg___closed__1(); -lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__1); -l_Lean_Parser_Tactic_caseArg___closed__2 = _init_l_Lean_Parser_Tactic_caseArg___closed__2(); -lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__2); -l_Lean_Parser_Tactic_caseArg___closed__3 = _init_l_Lean_Parser_Tactic_caseArg___closed__3(); -lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__3); -l_Lean_Parser_Tactic_caseArg___closed__4 = _init_l_Lean_Parser_Tactic_caseArg___closed__4(); -lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__4); -l_Lean_Parser_Tactic_caseArg___closed__5 = _init_l_Lean_Parser_Tactic_caseArg___closed__5(); -lean_mark_persistent(l_Lean_Parser_Tactic_caseArg___closed__5); -l_Lean_Parser_Tactic_caseArg = _init_l_Lean_Parser_Tactic_caseArg(); -lean_mark_persistent(l_Lean_Parser_Tactic_caseArg); l_Lean_Parser_Tactic_case___closed__1 = _init_l_Lean_Parser_Tactic_case___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_case___closed__1); l_Lean_Parser_Tactic_case___closed__2 = _init_l_Lean_Parser_Tactic_case___closed__2(); @@ -20661,6 +20611,8 @@ l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__7 = _init_l_Lean_Parser_Ta lean_mark_persistent(l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__7); l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__8 = _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__8(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__8); +l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__9 = _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__9(); +lean_mark_persistent(l_Lean_Parser_Tactic_tacticNext___x3d_x3e_____closed__9); l_Lean_Parser_Tactic_tacticNext___x3d_x3e__ = _init_l_Lean_Parser_Tactic_tacticNext___x3d_x3e__(); lean_mark_persistent(l_Lean_Parser_Tactic_tacticNext___x3d_x3e__); l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__1 = _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__1(); @@ -20689,6 +20641,10 @@ l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic_ lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__12); l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13 = _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13(); lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__13); +l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__14 = _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__14(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__14); +l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15 = _init_l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15(); +lean_mark_persistent(l_Lean_Parser_Tactic___aux__Init__Tactics______macroRules__Lean__Parser__Tactic__tacticNext___x3d_x3e____1___closed__15); l_Lean_Parser_Tactic_allGoals___closed__1 = _init_l_Lean_Parser_Tactic_allGoals___closed__1(); lean_mark_persistent(l_Lean_Parser_Tactic_allGoals___closed__1); l_Lean_Parser_Tactic_allGoals___closed__2 = _init_l_Lean_Parser_Tactic_allGoals___closed__2(); diff --git a/stage0/stdlib/Lean/Compiler/LCNF.c b/stage0/stdlib/Lean/Compiler/LCNF.c index 8e273ba8bb..941b31d4b5 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF.c +++ b/stage0/stdlib/Lean/Compiler/LCNF.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Compiler.LCNF -// Imports: Init Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.Basic Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Check Lean.Compiler.LCNF.CompilerM Lean.Compiler.LCNF.CSE Lean.Compiler.LCNF.DependsOn Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.FixedArgs Lean.Compiler.LCNF.InferType Lean.Compiler.LCNF.JoinPoints Lean.Compiler.LCNF.LCtx Lean.Compiler.LCNF.Level Lean.Compiler.LCNF.Main Lean.Compiler.LCNF.Passes Lean.Compiler.LCNF.PassManager Lean.Compiler.LCNF.PhaseExt Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.PullFunDecls Lean.Compiler.LCNF.PullLetDecls Lean.Compiler.LCNF.ReduceJpArity Lean.Compiler.LCNF.Simp Lean.Compiler.LCNF.Specialize Lean.Compiler.LCNF.SpecInfo Lean.Compiler.LCNF.Testing Lean.Compiler.LCNF.ToDecl Lean.Compiler.LCNF.ToExpr Lean.Compiler.LCNF.ToLCNF Lean.Compiler.LCNF.Types Lean.Compiler.LCNF.Util +// Imports: Init Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.Basic Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Check Lean.Compiler.LCNF.CompilerM Lean.Compiler.LCNF.CSE Lean.Compiler.LCNF.DependsOn Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.FixedArgs Lean.Compiler.LCNF.InferType Lean.Compiler.LCNF.JoinPoints Lean.Compiler.LCNF.LCtx Lean.Compiler.LCNF.Level Lean.Compiler.LCNF.Main Lean.Compiler.LCNF.Passes Lean.Compiler.LCNF.PassManager Lean.Compiler.LCNF.PhaseExt Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.PullFunDecls Lean.Compiler.LCNF.PullLetDecls Lean.Compiler.LCNF.ReduceJpArity Lean.Compiler.LCNF.Simp Lean.Compiler.LCNF.Specialize Lean.Compiler.LCNF.SpecInfo Lean.Compiler.LCNF.Testing Lean.Compiler.LCNF.ToDecl Lean.Compiler.LCNF.ToExpr Lean.Compiler.LCNF.ToLCNF Lean.Compiler.LCNF.Types Lean.Compiler.LCNF.Util Lean.Compiler.LCNF.ConfigOptions #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -44,6 +44,7 @@ lean_object* initialize_Lean_Compiler_LCNF_ToExpr(uint8_t builtin, lean_object*) lean_object* initialize_Lean_Compiler_LCNF_ToLCNF(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Types(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Util(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_ConfigOptions(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF(uint8_t builtin, lean_object* w) { lean_object * res; @@ -142,6 +143,9 @@ lean_dec_ref(res); res = initialize_Lean_Compiler_LCNF_Util(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_ConfigOptions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Basic.c b/stage0/stdlib/Lean/Compiler/LCNF/Basic.c index ca8d03721f..d2f116408f 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Basic.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Basic.c @@ -17,6 +17,7 @@ LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedCode; static lean_object* l_Lean_Compiler_LCNF_attachCodeDecls_go___closed__2; static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateContImp___closed__2; +LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Decl_recursive___default; size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___closed__1; static lean_object* l_Lean_Compiler_LCNF_instInhabitedParam___closed__2; @@ -42,15 +43,18 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM___rarg(lean_objec static lean_object* l_Lean_Compiler_LCNF_instInhabitedLetDecl___closed__1; static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateFunImp___closed__2; static lean_object* l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__1; +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqAlt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateLetImp(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_isCasesOnParam_x3f(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateFunImp___closed__1; LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqCases___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectParams___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_go___boxed(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM___rarg(lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_go(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqParam____x40_Lean_Compiler_LCNF_Basic___hyg_51_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_CasesCore_getCtorNames___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedCasesCore(lean_object*); @@ -61,7 +65,7 @@ lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_collectUsed___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqLetDecl____x40_Lean_Compiler_LCNF_Basic___hyg_282_(lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__3___closed__1; -LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626_(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_size(lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqAlt___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams(lean_object*, lean_object*); @@ -74,6 +78,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExprs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqFunDecl(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instInhabitedAltCore___rarg___closed__1; +uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instBEqLetDecl; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_isFun(lean_object*); @@ -82,17 +87,20 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_ lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_attachCodeDecls_go___closed__4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedAltCore(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___closed__2; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_go___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltsImp___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instBEqFunDecl; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqCases___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateParamCoreImp(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instInhabitedCode___closed__1; +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqParam____x40_Lean_Compiler_LCNF_Basic___hyg_51____boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_isReturnOf(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_attachCodeDecls(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedParam; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_sizeLe_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -117,8 +125,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_isFun___boxed(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateJmpImp___closed__2; static lean_object* l_Lean_Compiler_LCNF_instBEqLetDecl___closed__1; static lean_object* l_Lean_Compiler_LCNF_attachCodeDecls_go___closed__3; +LEAN_EXPORT uint8_t l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedLetDecl; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_sizeLe_go___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instExpr(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__3; @@ -128,12 +139,12 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___lambda_ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExprs___spec__1(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqImp___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqImp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_getArity(lean_object*); -LEAN_EXPORT uint8_t l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instLetDecl___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instBEqCode___closed__1; static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateReturnImp___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateJmpImp___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instBEqParam; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CodeDecl_fvarId___boxed(lean_object*); @@ -144,6 +155,7 @@ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_forM_go___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instBEqCode; lean_object* l_Lean_Expr_bvar___override(lean_object*); +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instParams___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(lean_object*, lean_object*, lean_object*); @@ -152,23 +164,30 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Cases lean_object* l_Array_mapMono(lean_object*); size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__1(lean_object*, lean_object*, size_t, size_t); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_getCode___boxed(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___closed__4; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltsImp___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateParamsLevelParams(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqLetDecl____x40_Lean_Compiler_LCNF_Basic___hyg_282____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_size_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_sizeLe_go___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExprs___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__3___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqImp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_attachCodeDecls_go(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_sizeLe_go(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Decl_isCasesOnParam_x3f_go___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_isDecl___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecDecls___spec__1(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CasesCore_getCtorNames(lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_attachCodeDecls_go___spec__1(lean_object*); @@ -209,11 +228,13 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_L LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateFunDeclCoreImp(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateJmpImp(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_getArity___rarg___boxed(lean_object*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instLetDecl(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams_instParams(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM(lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__3(lean_object*, lean_object*); +lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateUnreachImp(lean_object*, lean_object*); lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__1(lean_object*); @@ -244,7 +265,6 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_isCasesOnParam_x3f_go___boxed LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Code_forM_go___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExprs(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___closed__3; -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___spec__1___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedFunDeclCore(lean_object*); @@ -4835,22 +4855,32 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Code_forM___rarg), 3, 0); return x_2; } } +static uint8_t _init_l_Lean_Compiler_LCNF_Decl_recursive___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} static lean_object* _init_l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; x_1 = lean_box(0); x_2 = lean_box(0); x_3 = l_Lean_Compiler_LCNF_instInhabitedParam___closed__1; x_4 = l_Lean_Compiler_LCNF_instInhabitedAltCore___rarg___closed__1; x_5 = l_Lean_Compiler_LCNF_instInhabitedCode___closed__1; -x_6 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_6, 0, x_2); -lean_ctor_set(x_6, 1, x_1); -lean_ctor_set(x_6, 2, x_3); -lean_ctor_set(x_6, 3, x_4); -lean_ctor_set(x_6, 4, x_5); -return x_6; +x_6 = 0; +x_7 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_7, 0, x_2); +lean_ctor_set(x_7, 1, x_1); +lean_ctor_set(x_7, 2, x_3); +lean_ctor_set(x_7, 3, x_4); +lean_ctor_set(x_7, 4, x_5); +lean_ctor_set_uint8(x_7, sizeof(void*)*5, x_6); +return x_7; } } static lean_object* _init_l_Lean_Compiler_LCNF_instInhabitedDecl() { @@ -4861,7 +4891,7 @@ x_1 = l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1; return x_1; } } -LEAN_EXPORT uint8_t l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -4911,7 +4941,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -4953,10 +4983,10 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636_(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); @@ -4967,85 +4997,112 @@ x_6 = lean_ctor_get(x_1, 3); lean_inc(x_6); x_7 = lean_ctor_get(x_1, 4); lean_inc(x_7); +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_dec(x_1); -x_8 = lean_ctor_get(x_2, 0); -x_9 = lean_ctor_get(x_2, 1); -x_10 = lean_ctor_get(x_2, 2); -x_11 = lean_ctor_get(x_2, 3); -x_12 = lean_ctor_get(x_2, 4); -x_13 = lean_name_eq(x_3, x_8); +x_9 = lean_ctor_get(x_2, 0); +x_10 = lean_ctor_get(x_2, 1); +x_11 = lean_ctor_get(x_2, 2); +x_12 = lean_ctor_get(x_2, 3); +x_13 = lean_ctor_get(x_2, 4); +x_14 = lean_ctor_get_uint8(x_2, sizeof(void*)*5); +x_15 = lean_name_eq(x_3, x_9); lean_dec(x_3); -if (x_13 == 0) -{ -uint8_t x_14; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_14 = 0; -return x_14; -} -else -{ -uint8_t x_15; -x_15 = l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__1(x_4, x_9); -lean_dec(x_4); if (x_15 == 0) { uint8_t x_16; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_16 = 0; return x_16; } else { uint8_t x_17; -x_17 = lean_expr_eqv(x_5, x_10); -lean_dec(x_5); +x_17 = l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__1(x_4, x_10); +lean_dec(x_4); if (x_17 == 0) { uint8_t x_18; lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_18 = 0; return x_18; } else { -lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_19 = lean_array_get_size(x_6); -x_20 = lean_array_get_size(x_11); -x_21 = lean_nat_dec_eq(x_19, x_20); -lean_dec(x_20); -lean_dec(x_19); -if (x_21 == 0) +uint8_t x_19; +x_19 = lean_expr_eqv(x_5, x_11); +lean_dec(x_5); +if (x_19 == 0) { -uint8_t x_22; +uint8_t x_20; lean_dec(x_7); lean_dec(x_6); -x_22 = 0; -return x_22; +x_20 = 0; +return x_20; } else { -lean_object* x_23; uint8_t x_24; -x_23 = lean_unsigned_to_nat(0u); -x_24 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__2(x_6, x_11, lean_box(0), x_6, x_11, x_23); -lean_dec(x_6); -if (x_24 == 0) +lean_object* x_21; lean_object* x_22; uint8_t x_23; +x_21 = lean_array_get_size(x_6); +x_22 = lean_array_get_size(x_12); +x_23 = lean_nat_dec_eq(x_21, x_22); +lean_dec(x_22); +lean_dec(x_21); +if (x_23 == 0) { -uint8_t x_25; +uint8_t x_24; lean_dec(x_7); -x_25 = 0; -return x_25; +lean_dec(x_6); +x_24 = 0; +return x_24; } else { -uint8_t x_26; -x_26 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqImp(x_7, x_12); -return x_26; +lean_object* x_25; uint8_t x_26; +x_25 = lean_unsigned_to_nat(0u); +x_26 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__2(x_6, x_12, lean_box(0), x_6, x_12, x_25); +lean_dec(x_6); +if (x_26 == 0) +{ +uint8_t x_27; +lean_dec(x_7); +x_27 = 0; +return x_27; +} +else +{ +uint8_t x_28; +x_28 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqImp(x_7, x_13); +if (x_28 == 0) +{ +uint8_t x_29; +x_29 = 0; +return x_29; +} +else +{ +if (x_8 == 0) +{ +if (x_14 == 0) +{ +uint8_t x_30; +x_30 = 1; +return x_30; +} +else +{ +uint8_t x_31; +x_31 = 0; +return x_31; +} +} +else +{ +return x_14; } } } @@ -5053,22 +5110,24 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +} +} +LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__1(x_1, x_2); +x_3 = l_List_beq___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____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_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____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 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____spec__2(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -5077,11 +5136,11 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626_(x_1, x_2); +x_3 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636_(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; @@ -5091,7 +5150,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_instBEqDecl___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636____boxed), 2, 0); return x_1; } } @@ -8481,7 +8540,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___closed__1; x_2 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___closed__1; -x_3 = lean_unsigned_to_nat(438u); +x_3 = lean_unsigned_to_nat(448u); x_4 = lean_unsigned_to_nat(24u); x_5 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -8943,6 +9002,532 @@ x_3 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr(x_2 return x_3; } } +LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_eq(x_3, x_4); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_array_uget(x_2, x_3); +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +x_8 = lean_name_eq(x_7, x_1); +lean_dec(x_7); +if (x_8 == 0) +{ +size_t x_9; size_t x_10; +x_9 = 1; +x_10 = lean_usize_add(x_3, x_9); +x_3 = x_10; +goto _start; +} +else +{ +uint8_t x_12; +x_12 = 1; +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = 0; +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_eq(x_3, x_4); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; +lean_dec(x_5); +x_8 = lean_array_uget(x_2, x_3); +x_9 = l_Lean_Compiler_LCNF_AltCore_getCode(x_8); +lean_dec(x_8); +x_10 = l_Lean_Compiler_LCNF_markRecDecls_visit(x_1, x_9, x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +x_5 = x_11; +x_6 = x_12; +goto _start; +} +else +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_6); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +lean_dec(x_3); +x_5 = l_Lean_Compiler_LCNF_markRecDecls_visit(x_1, x_2, x_4); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 0: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +lean_dec(x_2); +x_6 = lean_ctor_get(x_4, 3); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_Expr_getAppFn(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_7) == 4) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_array_get_size(x_1); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_nat_dec_lt(x_10, x_9); +if (x_11 == 0) +{ +lean_dec(x_9); +lean_dec(x_8); +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_13; +x_13 = lean_nat_dec_le(x_9, x_9); +if (x_13 == 0) +{ +lean_dec(x_9); +lean_dec(x_8); +x_2 = x_5; +goto _start; +} +else +{ +size_t x_15; size_t x_16; uint8_t x_17; +x_15 = 0; +x_16 = lean_usize_of_nat(x_9); +lean_dec(x_9); +x_17 = l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__1(x_8, x_1, x_15, x_16); +if (x_17 == 0) +{ +lean_dec(x_8); +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_box(0); +x_20 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_3, x_8, x_19); +x_2 = x_5; +x_3 = x_20; +goto _start; +} +} +} +} +else +{ +lean_dec(x_7); +x_2 = x_5; +goto _start; +} +} +case 1: +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_23 = lean_ctor_get(x_2, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_2, 1); +lean_inc(x_24); +lean_dec(x_2); +x_25 = lean_ctor_get(x_23, 4); +lean_inc(x_25); +lean_dec(x_23); +x_26 = l_Lean_Compiler_LCNF_markRecDecls_visit(x_1, x_25, x_3); +x_27 = lean_ctor_get(x_26, 1); +lean_inc(x_27); +lean_dec(x_26); +x_2 = x_24; +x_3 = x_27; +goto _start; +} +case 2: +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_2, 1); +lean_inc(x_30); +lean_dec(x_2); +x_31 = lean_ctor_get(x_29, 4); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Compiler_LCNF_markRecDecls_visit(x_1, x_31, x_3); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_2 = x_30; +x_3 = x_33; +goto _start; +} +case 4: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_2, 0); +lean_inc(x_35); +lean_dec(x_2); +x_36 = lean_ctor_get(x_35, 3); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_array_get_size(x_36); +x_38 = lean_unsigned_to_nat(0u); +x_39 = lean_nat_dec_lt(x_38, x_37); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_37); +lean_dec(x_36); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_3); +return x_41; +} +else +{ +uint8_t x_42; +x_42 = lean_nat_dec_le(x_37, x_37); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_37); +lean_dec(x_36); +x_43 = lean_box(0); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_3); +return x_44; +} +else +{ +size_t x_45; size_t x_46; lean_object* x_47; lean_object* x_48; +x_45 = 0; +x_46 = lean_usize_of_nat(x_37); +lean_dec(x_37); +x_47 = lean_box(0); +x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__2(x_1, x_36, x_45, x_46, x_47, x_3); +lean_dec(x_36); +return x_48; +} +} +} +default: +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_2); +x_49 = lean_box(0); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_3); +return x_50; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_6 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_7 = l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__1(x_1, x_2, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +x_8 = lean_box(x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___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: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_visit___spec__2(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Compiler_LCNF_markRecDecls_visit___lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_1); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_visit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Compiler_LCNF_markRecDecls_visit(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_go___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +uint8_t x_7; +x_7 = lean_usize_dec_eq(x_3, x_4); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; +lean_dec(x_5); +x_8 = lean_array_uget(x_2, x_3); +x_9 = lean_ctor_get(x_8, 4); +lean_inc(x_9); +lean_dec(x_8); +x_10 = l_Lean_Compiler_LCNF_markRecDecls_visit(x_1, x_9, x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = 1; +x_14 = lean_usize_add(x_3, x_13); +x_3 = x_14; +x_5 = x_11; +x_6 = x_12; +goto _start; +} +else +{ +lean_object* x_16; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_5); +lean_ctor_set(x_16, 1, x_6); +return x_16; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_go(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint8_t x_5; +x_3 = lean_array_get_size(x_1); +x_4 = lean_unsigned_to_nat(0u); +x_5 = lean_nat_dec_lt(x_4, x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_2); +return x_7; +} +else +{ +uint8_t x_8; +x_8 = lean_nat_dec_le(x_3, x_3); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_3); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_2); +return x_10; +} +else +{ +size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = 0; +x_12 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_13 = lean_box(0); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_go___spec__1(x_1, x_1, x_11, x_12, x_13, x_2); +return x_14; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; size_t x_8; lean_object* x_9; +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_9 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_markRecDecls_go___spec__1(x_1, x_2, x_7, x_8, x_5, x_6); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls_go___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Compiler_LCNF_markRecDecls_go(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecDecls___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_3, x_2); +if (x_5 == 0) +{ +return x_4; +} +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; uint8_t x_14; size_t x_15; size_t x_16; +x_6 = lean_array_uget(x_4, x_3); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_6, 1); +lean_inc(x_10); +x_11 = lean_ctor_get(x_6, 2); +lean_inc(x_11); +x_12 = lean_ctor_get(x_6, 3); +lean_inc(x_12); +x_13 = lean_ctor_get(x_6, 4); +lean_inc(x_13); +x_14 = l_Lean_NameSet_contains(x_1, x_9); +x_15 = 1; +x_16 = lean_usize_add(x_3, x_15); +if (x_14 == 0) +{ +lean_object* x_17; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_17 = lean_array_uset(x_8, x_3, x_6); +x_3 = x_16; +x_4 = x_17; +goto _start; +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_6); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_20 = lean_ctor_get(x_6, 4); +lean_dec(x_20); +x_21 = lean_ctor_get(x_6, 3); +lean_dec(x_21); +x_22 = lean_ctor_get(x_6, 2); +lean_dec(x_22); +x_23 = lean_ctor_get(x_6, 1); +lean_dec(x_23); +x_24 = lean_ctor_get(x_6, 0); +lean_dec(x_24); +x_25 = 1; +lean_ctor_set_uint8(x_6, sizeof(void*)*5, x_25); +x_26 = lean_array_uset(x_8, x_3, x_6); +x_3 = x_16; +x_4 = x_26; +goto _start; +} +else +{ +uint8_t x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_6); +x_28 = 1; +x_29 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_29, 0, x_9); +lean_ctor_set(x_29, 1, x_10); +lean_ctor_set(x_29, 2, x_11); +lean_ctor_set(x_29, 3, x_12); +lean_ctor_set(x_29, 4, x_13); +lean_ctor_set_uint8(x_29, sizeof(void*)*5, x_28); +x_30 = lean_array_uset(x_8, x_3, x_29); +x_3 = x_16; +x_4 = x_30; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_markRecDecls(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_2 = l_Lean_NameSet_empty; +x_3 = l_Lean_Compiler_LCNF_markRecDecls_go(x_1, x_2); +x_4 = lean_ctor_get(x_3, 1); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_1); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecDecls___spec__1(x_4, x_6, x_7, x_1); +lean_dec(x_4); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecDecls___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +size_t x_5; size_t x_6; lean_object* x_7; +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_markRecDecls___spec__1(x_1, x_5, x_6, x_4); +lean_dec(x_1); +return x_7; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Expr(uint8_t builtin, lean_object*); static bool _G_initialized = false; @@ -9054,6 +9639,7 @@ l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__2 = _init_l_Lean_Compile lean_mark_persistent(l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__2); l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__3 = _init_l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__3(); lean_mark_persistent(l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___closed__3); +l_Lean_Compiler_LCNF_Decl_recursive___default = _init_l_Lean_Compiler_LCNF_Decl_recursive___default(); l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1 = _init_l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1(); lean_mark_persistent(l_Lean_Compiler_LCNF_instInhabitedDecl___closed__1); l_Lean_Compiler_LCNF_instInhabitedDecl = _init_l_Lean_Compiler_LCNF_instInhabitedDecl(); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Bind.c b/stage0/stdlib/Lean/Compiler/LCNF/Bind.c index b3f6e9f2f7..10f1413fef 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Bind.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Bind.c @@ -14,14 +14,14 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindStateRefT_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -29,76 +29,69 @@ static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_FunDeclCore_isEtaExpandCandidate(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindStateRefT_x27(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2___closed__5; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindCompilerM; static lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1___closed__2; -lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindReaderT___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isEtaExpandCandidateCore___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___closed__1; -lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindReaderT___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindCompilerM___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); lean_object* l_Lean_Compiler_LCNF_instantiateForall_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_getArrowArity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_isEtaExpandCandidate___boxed(lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__1(lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_isEtaExpandCandidateCore(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_bind(lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_bind___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindReaderT(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_mkNewParams_go___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadCodeBindStateRefT_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -236,7 +229,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -313,7 +306,7 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -324,6 +317,7 @@ lean_object* x_12; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_12 = lean_alloc_ctor(0, 2, 0); @@ -350,6 +344,7 @@ x_19 = lean_ctor_get(x_13, 2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_20 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_1, x_19, x_5, x_6, x_7, x_8, x_9, x_10); @@ -380,6 +375,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_27 = !lean_is_exclusive(x_20); @@ -415,6 +411,7 @@ lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_34 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_1, x_33, x_5, x_6, x_7, x_8, x_9, x_10); @@ -447,6 +444,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_42 = lean_ctor_get(x_34, 0); @@ -483,6 +481,7 @@ x_47 = lean_ctor_get(x_13, 0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_48 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_1, x_47, x_5, x_6, x_7, x_8, x_9, x_10); @@ -511,6 +510,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_55 = !lean_is_exclusive(x_48); @@ -542,6 +542,7 @@ lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_60 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_1, x_59, x_5, x_6, x_7, x_8, x_9, x_10); @@ -570,6 +571,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_68 = lean_ctor_get(x_60, 0); @@ -598,7 +600,7 @@ return x_71; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -608,7 +610,7 @@ lean_ctor_set(x_9, 1, x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -714,7 +716,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_2)) { @@ -982,6 +984,7 @@ lean_inc(x_62); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_63 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_1, x_62, x_3, x_4, x_5, x_6, x_7, x_8); @@ -998,6 +1001,7 @@ lean_inc(x_66); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_64); lean_inc(x_66); x_67 = l_Lean_Compiler_LCNF_Code_inferParamType(x_66, x_64, x_4, x_5, x_6, x_7, x_65); @@ -1085,6 +1089,7 @@ lean_dec(x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_86 = !lean_is_exclusive(x_67); @@ -1116,6 +1121,7 @@ lean_dec(x_60); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_90 = !lean_is_exclusive(x_63); @@ -1151,6 +1157,7 @@ lean_inc(x_96); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_97 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_1, x_96, x_3, x_4, x_5, x_6, x_7, x_8); @@ -1167,6 +1174,7 @@ lean_inc(x_100); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_98); lean_inc(x_100); x_101 = l_Lean_Compiler_LCNF_Code_inferParamType(x_100, x_98, x_4, x_5, x_6, x_7, x_99); @@ -1252,6 +1260,7 @@ lean_dec(x_94); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_120 = lean_ctor_get(x_101, 0); @@ -1284,6 +1293,7 @@ lean_dec(x_94); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_124 = lean_ctor_get(x_97, 0); @@ -1326,6 +1336,7 @@ x_131 = l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_132 = !lean_is_exclusive(x_131); if (x_132 == 0) @@ -1353,6 +1364,7 @@ lean_dec(x_129); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_136 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_136, 0, x_2); @@ -1380,6 +1392,7 @@ x_143 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_144 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3(x_1, x_142, x_143, x_140, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_144) == 0) @@ -1410,6 +1423,7 @@ x_151 = l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_152 = !lean_is_exclusive(x_151); if (x_152 == 0) @@ -1439,6 +1453,7 @@ lean_dec(x_138); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_156 = !lean_is_exclusive(x_144); if (x_156 == 0) @@ -1462,276 +1477,283 @@ return x_159; } case 5: { -lean_object* x_160; lean_object* x_161; lean_object* x_162; +lean_object* x_160; lean_object* x_161; lean_dec(x_3); x_160 = lean_ctor_get(x_2, 0); lean_inc(x_160); lean_dec(x_2); -x_161 = lean_box(x_4); -x_162 = lean_apply_6(x_1, x_160, x_161, x_5, x_6, x_7, x_8); -return x_162; +x_161 = lean_apply_6(x_1, x_160, x_4, x_5, x_6, x_7, x_8); +return x_161; } default: { -uint8_t x_163; +uint8_t x_162; lean_dec(x_3); -x_163 = !lean_is_exclusive(x_2); -if (x_163 == 0) +x_162 = !lean_is_exclusive(x_2); +if (x_162 == 0) { -lean_object* x_164; uint8_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_164 = lean_ctor_get(x_2, 0); -x_165 = 0; -x_166 = l_Lean_Compiler_LCNF_mkAuxParam(x_164, x_165, x_4, x_5, x_6, x_7, x_8); -x_167 = lean_ctor_get(x_166, 0); +lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; +x_163 = lean_ctor_get(x_2, 0); +x_164 = 0; +x_165 = l_Lean_Compiler_LCNF_mkAuxParam(x_163, x_164, x_4, x_5, x_6, x_7, x_8); +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); lean_inc(x_167); -x_168 = lean_ctor_get(x_166, 1); +lean_dec(x_165); +x_168 = lean_ctor_get(x_166, 0); lean_inc(x_168); -lean_dec(x_166); -x_169 = lean_ctor_get(x_167, 0); -lean_inc(x_169); -x_170 = lean_box(x_4); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_171 = lean_apply_6(x_1, x_169, x_170, x_5, x_6, x_7, x_168); -if (lean_obj_tag(x_171) == 0) +lean_inc(x_4); +x_169 = lean_apply_6(x_1, x_168, x_4, x_5, x_6, x_7, x_167); +if (lean_obj_tag(x_169) == 0) { -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_169, 0); +lean_inc(x_170); +x_171 = lean_ctor_get(x_169, 1); +lean_inc(x_171); +lean_dec(x_169); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_170); +x_172 = l_Lean_Compiler_LCNF_Code_inferType(x_170, x_4, x_5, x_6, x_7, x_171); +if (lean_obj_tag(x_172) == 0) +{ +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; uint8_t x_178; +x_173 = lean_ctor_get(x_172, 0); lean_inc(x_173); -lean_dec(x_171); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_172); -x_174 = l_Lean_Compiler_LCNF_Code_inferType(x_172, x_4, x_5, x_6, x_7, x_173); -if (lean_obj_tag(x_174) == 0) -{ -lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; -x_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = l_Lean_Compiler_LCNF_eraseCode(x_172, x_4, x_5, x_6, x_7, x_176); -x_178 = lean_ctor_get(x_177, 1); -lean_inc(x_178); -lean_dec(x_177); -x_179 = l_Lean_Compiler_LCNF_eraseParam(x_167, x_4, x_5, x_6, x_7, x_178); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_167); -x_180 = !lean_is_exclusive(x_179); -if (x_180 == 0) -{ -lean_object* x_181; -x_181 = lean_ctor_get(x_179, 0); -lean_dec(x_181); -lean_ctor_set(x_2, 0, x_175); -lean_ctor_set(x_179, 0, x_2); -return x_179; -} -else -{ -lean_object* x_182; lean_object* x_183; -x_182 = lean_ctor_get(x_179, 1); -lean_inc(x_182); -lean_dec(x_179); -lean_ctor_set(x_2, 0, x_175); -x_183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_183, 0, x_2); -lean_ctor_set(x_183, 1, x_182); -return x_183; -} -} -else -{ -uint8_t x_184; +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); lean_dec(x_172); -lean_dec(x_167); +x_175 = l_Lean_Compiler_LCNF_eraseCode(x_170, x_4, x_5, x_6, x_7, x_174); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +lean_dec(x_175); +x_177 = l_Lean_Compiler_LCNF_eraseParam(x_166, x_4, x_5, x_6, x_7, x_176); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_166); +x_178 = !lean_is_exclusive(x_177); +if (x_178 == 0) +{ +lean_object* x_179; +x_179 = lean_ctor_get(x_177, 0); +lean_dec(x_179); +lean_ctor_set(x_2, 0, x_173); +lean_ctor_set(x_177, 0, x_2); +return x_177; +} +else +{ +lean_object* x_180; lean_object* x_181; +x_180 = lean_ctor_get(x_177, 1); +lean_inc(x_180); +lean_dec(x_177); +lean_ctor_set(x_2, 0, x_173); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_2); +lean_ctor_set(x_181, 1, x_180); +return x_181; +} +} +else +{ +uint8_t x_182; +lean_dec(x_170); +lean_dec(x_166); lean_free_object(x_2); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_184 = !lean_is_exclusive(x_174); -if (x_184 == 0) +lean_dec(x_4); +x_182 = !lean_is_exclusive(x_172); +if (x_182 == 0) { -return x_174; +return x_172; } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_185 = lean_ctor_get(x_174, 0); -x_186 = lean_ctor_get(x_174, 1); -lean_inc(x_186); -lean_inc(x_185); -lean_dec(x_174); -x_187 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_187, 0, x_185); -lean_ctor_set(x_187, 1, x_186); -return x_187; +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_172, 0); +x_184 = lean_ctor_get(x_172, 1); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_172); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +return x_185; } } } else { -uint8_t x_188; -lean_dec(x_167); +uint8_t x_186; +lean_dec(x_166); lean_free_object(x_2); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_188 = !lean_is_exclusive(x_171); -if (x_188 == 0) +lean_dec(x_4); +x_186 = !lean_is_exclusive(x_169); +if (x_186 == 0) { -return x_171; +return x_169; } else { -lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_189 = lean_ctor_get(x_171, 0); -x_190 = lean_ctor_get(x_171, 1); +lean_object* x_187; lean_object* x_188; lean_object* x_189; +x_187 = lean_ctor_get(x_169, 0); +x_188 = lean_ctor_get(x_169, 1); +lean_inc(x_188); +lean_inc(x_187); +lean_dec(x_169); +x_189 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_189, 0, x_187); +lean_ctor_set(x_189, 1, x_188); +return x_189; +} +} +} +else +{ +lean_object* x_190; uint8_t x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_190 = lean_ctor_get(x_2, 0); lean_inc(x_190); -lean_inc(x_189); -lean_dec(x_171); -x_191 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -return x_191; -} -} -} -else -{ -lean_object* x_192; uint8_t 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; -x_192 = lean_ctor_get(x_2, 0); -lean_inc(x_192); lean_dec(x_2); -x_193 = 0; -x_194 = l_Lean_Compiler_LCNF_mkAuxParam(x_192, x_193, x_4, x_5, x_6, x_7, x_8); -x_195 = lean_ctor_get(x_194, 0); +x_191 = 0; +x_192 = l_Lean_Compiler_LCNF_mkAuxParam(x_190, x_191, x_4, x_5, x_6, x_7, x_8); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +lean_dec(x_192); +x_195 = lean_ctor_get(x_193, 0); lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); -lean_inc(x_196); -lean_dec(x_194); -x_197 = lean_ctor_get(x_195, 0); -lean_inc(x_197); -x_198 = lean_box(x_4); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_199 = lean_apply_6(x_1, x_197, x_198, x_5, x_6, x_7, x_196); +lean_inc(x_4); +x_196 = lean_apply_6(x_1, x_195, x_4, x_5, x_6, x_7, x_194); +if (lean_obj_tag(x_196) == 0) +{ +lean_object* x_197; lean_object* x_198; lean_object* x_199; +x_197 = lean_ctor_get(x_196, 0); +lean_inc(x_197); +x_198 = lean_ctor_get(x_196, 1); +lean_inc(x_198); +lean_dec(x_196); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_197); +x_199 = l_Lean_Compiler_LCNF_Code_inferType(x_197, x_4, x_5, x_6, x_7, x_198); if (lean_obj_tag(x_199) == 0) { -lean_object* x_200; lean_object* x_201; lean_object* x_202; +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; x_200 = lean_ctor_get(x_199, 0); lean_inc(x_200); x_201 = lean_ctor_get(x_199, 1); lean_inc(x_201); lean_dec(x_199); -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_200); -x_202 = l_Lean_Compiler_LCNF_Code_inferType(x_200, x_4, x_5, x_6, x_7, x_201); -if (lean_obj_tag(x_202) == 0) -{ -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_203 = lean_ctor_get(x_202, 0); +x_202 = l_Lean_Compiler_LCNF_eraseCode(x_197, x_4, x_5, x_6, x_7, x_201); +x_203 = lean_ctor_get(x_202, 1); lean_inc(x_203); -x_204 = lean_ctor_get(x_202, 1); -lean_inc(x_204); lean_dec(x_202); -x_205 = l_Lean_Compiler_LCNF_eraseCode(x_200, x_4, x_5, x_6, x_7, x_204); -x_206 = lean_ctor_get(x_205, 1); -lean_inc(x_206); -lean_dec(x_205); -x_207 = l_Lean_Compiler_LCNF_eraseParam(x_195, x_4, x_5, x_6, x_7, x_206); +x_204 = l_Lean_Compiler_LCNF_eraseParam(x_193, x_4, x_5, x_6, x_7, x_203); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_195); -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_209 = x_207; +lean_dec(x_4); +lean_dec(x_193); +x_205 = lean_ctor_get(x_204, 1); +lean_inc(x_205); +if (lean_is_exclusive(x_204)) { + lean_ctor_release(x_204, 0); + lean_ctor_release(x_204, 1); + x_206 = x_204; } else { - lean_dec_ref(x_207); - x_209 = lean_box(0); + lean_dec_ref(x_204); + x_206 = lean_box(0); } -x_210 = lean_alloc_ctor(6, 1, 0); -lean_ctor_set(x_210, 0, x_203); -if (lean_is_scalar(x_209)) { - x_211 = lean_alloc_ctor(0, 2, 0); +x_207 = lean_alloc_ctor(6, 1, 0); +lean_ctor_set(x_207, 0, x_200); +if (lean_is_scalar(x_206)) { + x_208 = lean_alloc_ctor(0, 2, 0); } else { - x_211 = x_209; + x_208 = x_206; } -lean_ctor_set(x_211, 0, x_210); -lean_ctor_set(x_211, 1, x_208); -return x_211; +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_205); +return x_208; } else { -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; -lean_dec(x_200); -lean_dec(x_195); +lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; +lean_dec(x_197); +lean_dec(x_193); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_212 = lean_ctor_get(x_202, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_202, 1); -lean_inc(x_213); -if (lean_is_exclusive(x_202)) { - lean_ctor_release(x_202, 0); - lean_ctor_release(x_202, 1); - x_214 = x_202; -} else { - lean_dec_ref(x_202); - x_214 = lean_box(0); -} -if (lean_is_scalar(x_214)) { - x_215 = lean_alloc_ctor(1, 2, 0); -} else { - x_215 = x_214; -} -lean_ctor_set(x_215, 0, x_212); -lean_ctor_set(x_215, 1, x_213); -return x_215; -} -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -lean_dec(x_195); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -x_216 = lean_ctor_get(x_199, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_199, 1); -lean_inc(x_217); +lean_dec(x_4); +x_209 = lean_ctor_get(x_199, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_199, 1); +lean_inc(x_210); if (lean_is_exclusive(x_199)) { lean_ctor_release(x_199, 0); lean_ctor_release(x_199, 1); - x_218 = x_199; + x_211 = x_199; } else { lean_dec_ref(x_199); - x_218 = lean_box(0); + x_211 = lean_box(0); } -if (lean_is_scalar(x_218)) { - x_219 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_211)) { + x_212 = lean_alloc_ctor(1, 2, 0); } else { - x_219 = x_218; + x_212 = x_211; } -lean_ctor_set(x_219, 0, x_216); -lean_ctor_set(x_219, 1, x_217); -return x_219; +lean_ctor_set(x_212, 0, x_209); +lean_ctor_set(x_212, 1, x_210); +return x_212; +} +} +else +{ +lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; +lean_dec(x_193); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_213 = lean_ctor_get(x_196, 0); +lean_inc(x_213); +x_214 = lean_ctor_get(x_196, 1); +lean_inc(x_214); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + x_215 = x_196; +} else { + lean_dec_ref(x_196); + x_215 = lean_box(0); +} +if (lean_is_scalar(x_215)) { + x_216 = lean_alloc_ctor(1, 2, 0); +} else { + x_216 = x_215; +} +lean_ctor_set(x_216, 0, x_213); +lean_ctor_set(x_216, 1, x_214); +return x_216; } } } @@ -1751,69 +1773,53 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); -return x_14; +x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__3(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); -return x_12; +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind(lean_object* x_1, 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; @@ -1822,21 +1828,11 @@ x_9 = l_Lean_Compiler_LCNF_CompilerM_codeBind_go(x_2, x_1, x_8, x_3, x_4, x_5, x return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_instMonadCodeBindCompilerM___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_CompilerM_codeBind___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_CompilerM_codeBind), 7, 0); return x_1; } } @@ -1912,7 +1908,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams_go(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 7) @@ -1976,17 +1972,16 @@ return x_26; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_mkNewParams_go(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_mkNewParams_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_10; +lean_dec(x_4); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -1998,14 +1993,13 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkNewParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_mkNewParams(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_mkNewParams(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_isEtaExpandCandidateCore(lean_object* x_1, lean_object* x_2) { @@ -2071,7 +2065,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -2142,7 +2136,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -2171,7 +2165,7 @@ x_18 = lean_usize_of_nat(x_17); lean_dec(x_17); x_19 = 0; x_20 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(x_18, x_19, x_14); -x_21 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_etaExpandCore___lambda__1___boxed), 7, 1); +x_21 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_etaExpandCore___lambda__1), 7, 1); lean_closure_set(x_21, 0, x_20); x_22 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_3, x_21, x_4, x_5, x_6, x_7, x_15); if (lean_obj_tag(x_22) == 0) @@ -2235,6 +2229,7 @@ uint8_t x_34; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_34 = !lean_is_exclusive(x_10); @@ -2258,27 +2253,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_etaExpandCore___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_etaExpandCore(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -2290,6 +2265,7 @@ lean_object* x_10; lean_object* x_11; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -2357,17 +2333,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_etaExpandCore_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_etaExpandCore_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -2380,6 +2346,7 @@ lean_inc(x_9); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); lean_inc(x_7); x_10 = l_Lean_Compiler_LCNF_etaExpandCore_x3f(x_7, x_8, x_9, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_10) == 0) @@ -2394,6 +2361,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_12 = !lean_is_exclusive(x_10); if (x_12 == 0) { @@ -2433,6 +2401,7 @@ x_20 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_20; } } @@ -2443,6 +2412,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); x_21 = !lean_is_exclusive(x_10); if (x_21 == 0) @@ -2465,20 +2435,10 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; x_7 = lean_ctor_get(x_1, 0); lean_inc(x_7); x_8 = lean_ctor_get(x_1, 1); @@ -2489,172 +2449,164 @@ x_10 = lean_ctor_get(x_1, 3); lean_inc(x_10); x_11 = lean_ctor_get(x_1, 4); lean_inc(x_11); +x_12 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_9); -x_12 = l_Lean_Compiler_LCNF_etaExpandCore_x3f(x_9, x_10, x_11, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_13; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); +x_13 = l_Lean_Compiler_LCNF_etaExpandCore_x3f(x_9, x_10, x_11, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_13) == 0) { -uint8_t x_14; +lean_object* x_14; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -x_14 = !lean_is_exclusive(x_12); -if (x_14 == 0) +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) { -lean_object* x_15; -x_15 = lean_ctor_get(x_12, 0); -lean_dec(x_15); -lean_ctor_set(x_12, 0, x_1); -return x_12; +lean_object* x_16; +x_16 = lean_ctor_get(x_13, 0); +lean_dec(x_16); +lean_ctor_set(x_13, 0, x_1); +return x_13; } else { -lean_object* x_16; lean_object* x_17; -x_16 = lean_ctor_get(x_12, 1); -lean_inc(x_16); -lean_dec(x_12); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_16); -return x_17; +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 1); +lean_inc(x_17); +lean_dec(x_13); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_17); +return x_18; } } else { -uint8_t x_18; -x_18 = !lean_is_exclusive(x_1); -if (x_18 == 0) +uint8_t x_19; +x_19 = !lean_is_exclusive(x_1); +if (x_19 == 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; uint8_t x_25; -x_19 = lean_ctor_get(x_1, 4); -lean_dec(x_19); -x_20 = lean_ctor_get(x_1, 3); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_20 = lean_ctor_get(x_1, 4); lean_dec(x_20); -x_21 = lean_ctor_get(x_1, 2); +x_21 = lean_ctor_get(x_1, 3); lean_dec(x_21); -x_22 = lean_ctor_get(x_1, 1); +x_22 = lean_ctor_get(x_1, 2); lean_dec(x_22); -x_23 = lean_ctor_get(x_1, 0); +x_23 = lean_ctor_get(x_1, 1); lean_dec(x_23); -x_24 = lean_ctor_get(x_13, 0); -lean_inc(x_24); -lean_dec(x_13); -x_25 = !lean_is_exclusive(x_12); -if (x_25 == 0) +x_24 = lean_ctor_get(x_1, 0); +lean_dec(x_24); +x_25 = lean_ctor_get(x_14, 0); +lean_inc(x_25); +lean_dec(x_14); +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_12, 0); -lean_dec(x_26); -x_27 = lean_ctor_get(x_24, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_24, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_25, 0); lean_inc(x_28); -lean_dec(x_24); -lean_ctor_set(x_1, 4, x_28); -lean_ctor_set(x_1, 3, x_27); -lean_ctor_set(x_12, 0, x_1); -return x_12; -} -else -{ -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_29 = lean_ctor_get(x_12, 1); +x_29 = lean_ctor_get(x_25, 1); lean_inc(x_29); -lean_dec(x_12); -x_30 = lean_ctor_get(x_24, 0); +lean_dec(x_25); +lean_ctor_set(x_1, 4, x_29); +lean_ctor_set(x_1, 3, x_28); +lean_ctor_set(x_13, 0, x_1); +return x_13; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_30 = lean_ctor_get(x_13, 1); lean_inc(x_30); -x_31 = lean_ctor_get(x_24, 1); -lean_inc(x_31); -lean_dec(x_24); -lean_ctor_set(x_1, 4, x_31); -lean_ctor_set(x_1, 3, x_30); -x_32 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_32, 0, x_1); -lean_ctor_set(x_32, 1, x_29); -return x_32; -} -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -lean_dec(x_1); -x_33 = lean_ctor_get(x_13, 0); -lean_inc(x_33); lean_dec(x_13); -x_34 = lean_ctor_get(x_12, 1); +x_31 = lean_ctor_get(x_25, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_25, 1); +lean_inc(x_32); +lean_dec(x_25); +lean_ctor_set(x_1, 4, x_32); +lean_ctor_set(x_1, 3, x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_30); +return x_33; +} +} +else +{ +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_dec(x_1); +x_34 = lean_ctor_get(x_14, 0); lean_inc(x_34); -if (lean_is_exclusive(x_12)) { - lean_ctor_release(x_12, 0); - lean_ctor_release(x_12, 1); - x_35 = x_12; +lean_dec(x_14); +x_35 = lean_ctor_get(x_13, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_13)) { + lean_ctor_release(x_13, 0); + lean_ctor_release(x_13, 1); + x_36 = x_13; } else { - lean_dec_ref(x_12); - x_35 = lean_box(0); + lean_dec_ref(x_13); + x_36 = lean_box(0); } -x_36 = lean_ctor_get(x_33, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_33, 1); +x_37 = lean_ctor_get(x_34, 0); lean_inc(x_37); -lean_dec(x_33); -x_38 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_38, 0, x_7); -lean_ctor_set(x_38, 1, x_8); -lean_ctor_set(x_38, 2, x_9); -lean_ctor_set(x_38, 3, x_36); -lean_ctor_set(x_38, 4, x_37); -if (lean_is_scalar(x_35)) { - x_39 = lean_alloc_ctor(0, 2, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_dec(x_34); +x_39 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_39, 0, x_7); +lean_ctor_set(x_39, 1, x_8); +lean_ctor_set(x_39, 2, x_9); +lean_ctor_set(x_39, 3, x_37); +lean_ctor_set(x_39, 4, x_38); +lean_ctor_set_uint8(x_39, sizeof(void*)*5, x_12); +if (lean_is_scalar(x_36)) { + x_40 = lean_alloc_ctor(0, 2, 0); } else { - x_39 = x_35; + x_40 = x_36; } -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_34); -return x_39; +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_35); +return x_40; } } } else { -uint8_t x_40; +uint8_t x_41; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); -x_40 = !lean_is_exclusive(x_12); -if (x_40 == 0) +x_41 = !lean_is_exclusive(x_13); +if (x_41 == 0) { -return x_12; +return x_13; } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_41 = lean_ctor_get(x_12, 0); -x_42 = lean_ctor_get(x_12, 1); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_13, 0); +x_43 = lean_ctor_get(x_13, 1); +lean_inc(x_43); lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_12); -x_43 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -return x_43; +lean_dec(x_13); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_etaExpand(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_InferType(uint8_t builtin, lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/CSE.c b/stage0/stdlib/Lean/Compiler/LCNF/CSE.c index 1a1382606f..0d5cd209c6 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/CSE.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/CSE.c @@ -14,45 +14,43 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__9(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_goFunDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_goFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_goFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CSE_State_map___default___closed__3; uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___closed__1; static lean_object* l_Lean_Compiler_LCNF_Code_cse_go___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceLet(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__7(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Compiler_LCNF_cse___closed__4; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_Code_cse_go___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_cse___closed__2; size_t lean_usize_shift_right(size_t, size_t); -lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_FunDeclCore_toExpr(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_getSubst(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_getSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CSE_State_map___default___closed__2; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,33 +58,30 @@ lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__ static lean_object* l_Lean_Compiler_LCNF_cse___closed__1; size_t lean_uint64_to_usize(uint64_t); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Code_cse_go___spec__6(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Code_cse_go___spec__6(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_CSE_addEntry___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceLet___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_CSE_addEntry___spec__2___closed__3; lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l_Lean_Expr_hash(lean_object*); size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration(lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CSE_State_subst___default___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_CSE_addEntry___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_cse(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_cse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Code_cse_go___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_CSE_addEntry___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_CSE_addEntry___spec__2___closed__1; @@ -95,56 +90,48 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_C lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarImp(lean_object*, lean_object*, uint8_t); size_t lean_usize_mul(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_CSE_State_map___default___closed__1; -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceFun___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_Code_cse_go___closed__1; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_CSE_addEntry___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_cse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_cse___closed__3; LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Code_cse_go___spec__3___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceFun(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceFun(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_getSubst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_addEntry___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_CSE_addEntry___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_addEntry(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_addEntry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cse; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Code_cse_go___spec__3(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Code_cse___closed__1; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_State_subst___default; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Code_cse_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_CSE_addEntry___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_State_map___default; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__2(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Lean_Compiler_LCNF_CSE_State_map___default___closed__1() { _start: @@ -201,7 +188,7 @@ x_1 = l_Lean_Compiler_LCNF_CSE_State_subst___default___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___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; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -230,53 +217,53 @@ return x_13; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(x_4); +lean_object* x_9; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -x_10 = lean_apply_6(x_1, x_3, x_9, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_10) == 0) +x_9 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_box(x_4); -x_14 = lean_apply_7(x_2, x_11, x_3, x_13, x_5, x_6, x_7, x_12); -return x_14; +lean_dec(x_9); +x_12 = lean_apply_7(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_11); +return x_12; } else { -uint8_t x_15; +uint8_t x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) { -return x_10; +return x_9; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 0); -x_17 = lean_ctor_get(x_10, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_10); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +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(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; } } } @@ -285,11 +272,11 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVa _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg___boxed), 8, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg), 8, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -323,7 +310,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___closed__1; x_2 = l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg___boxed), 8, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg), 8, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -332,43 +319,31 @@ return x_3; LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_StateRefT_x27_get___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_ReaderT_bind___at_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___spec__2___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstMFalse___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -451,18 +426,17 @@ return x_31; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_CSE_instMonadFVarSubstStateM(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_getSubst(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_getSubst(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -503,15 +477,14 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_getSubst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_CSE_getSubst(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_CSE_getSubst(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_CSE_addEntry___spec__3(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -1076,7 +1049,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_addEntry(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_addEntry(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -1183,21 +1156,20 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_addEntry___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_CSE_addEntry(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_CSE_addEntry(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_8 = lean_st_ref_get(x_6, x_7); x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); @@ -1211,170 +1183,169 @@ lean_dec(x_10); x_13 = lean_ctor_get(x_11, 0); lean_inc(x_13); lean_dec(x_11); -x_14 = lean_box(x_3); lean_inc(x_6); lean_inc(x_2); -x_15 = lean_apply_6(x_1, x_2, x_14, x_4, x_5, x_6, x_12); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_st_ref_get(x_6, x_17); +lean_dec(x_14); +x_17 = lean_st_ref_get(x_6, x_16); lean_dec(x_6); -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); -x_20 = lean_st_ref_take(x_2, x_19); -x_21 = lean_ctor_get(x_20, 0); +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); +x_19 = lean_st_ref_take(x_2, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = !lean_is_exclusive(x_21); -if (x_23 == 0) +lean_dec(x_19); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_24 = lean_ctor_get(x_21, 0); +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_20, 0); +lean_dec(x_23); +lean_ctor_set(x_20, 0, x_13); +x_24 = lean_st_ref_set(x_2, x_20, x_21); +lean_dec(x_2); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_15); +return x_24; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); lean_dec(x_24); -lean_ctor_set(x_21, 0, x_13); -x_25 = lean_st_ref_set(x_2, x_21, x_22); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_15); +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_object* x_32; lean_object* x_33; lean_object* x_34; +x_29 = lean_ctor_get(x_20, 1); +lean_inc(x_29); +lean_dec(x_20); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_13); +lean_ctor_set(x_30, 1, x_29); +x_31 = lean_st_ref_set(x_2, x_30, x_21); lean_dec(x_2); -x_26 = !lean_is_exclusive(x_25); -if (x_26 == 0) -{ -lean_object* x_27; -x_27 = lean_ctor_get(x_25, 0); -lean_dec(x_27); -lean_ctor_set(x_25, 0, x_16); -return x_25; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_25, 1); -lean_inc(x_28); -lean_dec(x_25); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_16); -lean_ctor_set(x_29, 1, x_28); -return x_29; -} -} -else -{ -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_21, 1); -lean_inc(x_30); -lean_dec(x_21); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_13); -lean_ctor_set(x_31, 1, x_30); -x_32 = lean_st_ref_set(x_2, x_31, x_22); -lean_dec(x_2); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -if (lean_is_exclusive(x_32)) { - lean_ctor_release(x_32, 0); - lean_ctor_release(x_32, 1); - x_34 = x_32; +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_33 = x_31; } else { - lean_dec_ref(x_32); - x_34 = lean_box(0); + lean_dec_ref(x_31); + x_33 = lean_box(0); } -if (lean_is_scalar(x_34)) { - x_35 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_33)) { + x_34 = lean_alloc_ctor(0, 2, 0); } else { - x_35 = x_34; + x_34 = x_33; } -lean_ctor_set(x_35, 0, x_16); -lean_ctor_set(x_35, 1, x_33); -return x_35; +lean_ctor_set(x_34, 0, x_15); +lean_ctor_set(x_34, 1, x_32); +return x_34; } } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -x_36 = lean_ctor_get(x_15, 0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_35 = lean_ctor_get(x_14, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_14, 1); lean_inc(x_36); -x_37 = lean_ctor_get(x_15, 1); -lean_inc(x_37); -lean_dec(x_15); -x_38 = lean_st_ref_get(x_6, x_37); +lean_dec(x_14); +x_37 = lean_st_ref_get(x_6, x_36); lean_dec(x_6); -x_39 = lean_ctor_get(x_38, 1); -lean_inc(x_39); -lean_dec(x_38); -x_40 = lean_st_ref_take(x_2, x_39); -x_41 = lean_ctor_get(x_40, 0); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = lean_st_ref_take(x_2, x_38); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = !lean_is_exclusive(x_41); -if (x_43 == 0) +lean_dec(x_39); +x_42 = !lean_is_exclusive(x_40); +if (x_42 == 0) { -lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_44 = lean_ctor_get(x_41, 0); +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_40, 0); +lean_dec(x_43); +lean_ctor_set(x_40, 0, x_13); +x_44 = lean_st_ref_set(x_2, x_40, x_41); +lean_dec(x_2); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +lean_ctor_set_tag(x_44, 1); +lean_ctor_set(x_44, 0, x_35); +return x_44; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); lean_dec(x_44); -lean_ctor_set(x_41, 0, x_13); -x_45 = lean_st_ref_set(x_2, x_41, x_42); -lean_dec(x_2); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -lean_ctor_set_tag(x_45, 1); -lean_ctor_set(x_45, 0, x_36); -return x_45; -} -else -{ -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_dec(x_45); -x_49 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_49, 0, x_36); -lean_ctor_set(x_49, 1, x_48); -return x_49; +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_35); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_50 = lean_ctor_get(x_41, 1); -lean_inc(x_50); -lean_dec(x_41); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_13); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_st_ref_set(x_2, x_51, x_42); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_49 = lean_ctor_get(x_40, 1); +lean_inc(x_49); +lean_dec(x_40); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_13); +lean_ctor_set(x_50, 1, x_49); +x_51 = lean_st_ref_set(x_2, x_50, x_41); lean_dec(x_2); -x_53 = lean_ctor_get(x_52, 1); -lean_inc(x_53); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_54 = x_52; +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_53 = x_51; } else { - lean_dec_ref(x_52); - x_54 = lean_box(0); + lean_dec_ref(x_51); + x_53 = lean_box(0); } -if (lean_is_scalar(x_54)) { - x_55 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_53)) { + x_54 = lean_alloc_ctor(1, 2, 0); } else { - x_55 = x_54; - lean_ctor_set_tag(x_55, 1); + x_54 = x_53; + lean_ctor_set_tag(x_54, 1); } -lean_ctor_set(x_55, 0, x_36); -lean_ctor_set(x_55, 1, x_53); -return x_55; +lean_ctor_set(x_54, 0, x_35); +lean_ctor_set(x_54, 1, x_52); +return x_54; } } } @@ -1383,21 +1354,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope(lean_object* x_1) _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_CSE_withNewScope___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_CSE_withNewScope___rarg), 7, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_withNewScope___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_CSE_withNewScope___rarg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceLet(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceLet(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -1489,18 +1450,17 @@ return x_37; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceLet___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_CSE_replaceLet(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_CSE_replaceLet(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceFun(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceFun(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -1594,18 +1554,17 @@ return x_38; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CSE_replaceFun___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_CSE_replaceFun(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_CSE_replaceFun(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___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* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -1629,7 +1588,7 @@ x_17 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updatePara return x_17; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -1642,6 +1601,7 @@ lean_object* x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -1652,86 +1612,87 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; x_13 = lean_array_fget(x_3, x_2); -x_14 = lean_box(x_5); lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_13); -x_15 = lean_apply_7(x_1, x_13, x_4, x_14, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_7(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ptr_addr(x_13); +lean_dec(x_14); +x_17 = lean_ptr_addr(x_13); lean_dec(x_13); -x_19 = lean_ptr_addr(x_16); -x_20 = lean_usize_dec_eq(x_18, x_19); -if (x_20 == 0) +x_18 = lean_ptr_addr(x_15); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_2, x_21); -x_23 = lean_array_fset(x_3, x_2, x_16); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = lean_array_fset(x_3, x_2, x_15); lean_dec(x_2); -x_2 = x_22; -x_3 = x_23; -x_9 = x_17; +x_2 = x_21; +x_3 = x_22; +x_9 = x_16; goto _start; } else { -lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_2, x_25); +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_2, x_24); lean_dec(x_2); -x_2 = x_26; -x_9 = x_17; +x_2 = x_25; +x_9 = x_16; goto _start; } } else { -uint8_t x_28; +uint8_t x_27; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) { -return x_15; +return x_14; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); -lean_dec(x_15); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_inc(x_28); +lean_dec(x_14); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__3(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -1740,7 +1701,7 @@ x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -1751,7 +1712,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LC return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_goFunDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_goFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -1777,6 +1738,7 @@ lean_inc(x_17); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_18 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(x_15, x_17, x_2, x_3, x_4, x_5, x_6, x_13); if (lean_obj_tag(x_18) == 0) @@ -1805,6 +1767,7 @@ lean_dec(x_34); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_37 = l_Lean_Compiler_LCNF_Code_cse_go(x_21, x_2, x_3, x_4, x_5, x_6, x_35); if (lean_obj_tag(x_37) == 0) @@ -1987,6 +1950,7 @@ x_25 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); return x_25; } else @@ -1997,6 +1961,7 @@ lean_dec(x_16); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_26 = !lean_is_exclusive(x_22); if (x_26 == 0) @@ -2026,6 +1991,7 @@ lean_dec(x_16); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_78 = !lean_is_exclusive(x_18); @@ -2049,7 +2015,7 @@ return x_81; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; @@ -2223,7 +2189,7 @@ lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Code_cse_go___spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Code_cse_go___spec__6(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -2263,7 +2229,7 @@ return x_20; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -2276,6 +2242,7 @@ lean_object* x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -2286,86 +2253,87 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; x_13 = lean_array_fget(x_3, x_2); -x_14 = lean_box(x_5); lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_13); -x_15 = lean_apply_7(x_1, x_13, x_4, x_14, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_7(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ptr_addr(x_13); +lean_dec(x_14); +x_17 = lean_ptr_addr(x_13); lean_dec(x_13); -x_19 = lean_ptr_addr(x_16); -x_20 = lean_usize_dec_eq(x_18, x_19); -if (x_20 == 0) +x_18 = lean_ptr_addr(x_15); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_2, x_21); -x_23 = lean_array_fset(x_3, x_2, x_16); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = lean_array_fset(x_3, x_2, x_15); lean_dec(x_2); -x_2 = x_22; -x_3 = x_23; -x_9 = x_17; +x_2 = x_21; +x_3 = x_22; +x_9 = x_16; goto _start; } else { -lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_2, x_25); +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_2, x_24); lean_dec(x_2); -x_2 = x_26; -x_9 = x_17; +x_2 = x_25; +x_9 = x_16; goto _start; } } else { -uint8_t x_28; +uint8_t x_27; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) { -return x_15; +return x_14; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); -lean_dec(x_15); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_inc(x_28); +lean_dec(x_14); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__7(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -2374,7 +2342,7 @@ x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -2385,7 +2353,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LC return x_11; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -2398,6 +2366,7 @@ lean_object* x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -2408,86 +2377,87 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; x_13 = lean_array_fget(x_3, x_2); -x_14 = lean_box(x_5); lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_13); -x_15 = lean_apply_7(x_1, x_13, x_4, x_14, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_7(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ptr_addr(x_13); +lean_dec(x_14); +x_17 = lean_ptr_addr(x_13); lean_dec(x_13); -x_19 = lean_ptr_addr(x_16); -x_20 = lean_usize_dec_eq(x_18, x_19); -if (x_20 == 0) +x_18 = lean_ptr_addr(x_15); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_2, x_21); -x_23 = lean_array_fset(x_3, x_2, x_16); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = lean_array_fset(x_3, x_2, x_15); lean_dec(x_2); -x_2 = x_22; -x_3 = x_23; -x_9 = x_17; +x_2 = x_21; +x_3 = x_22; +x_9 = x_16; goto _start; } else { -lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_2, x_25); +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_2, x_24); lean_dec(x_2); -x_2 = x_26; -x_9 = x_17; +x_2 = x_25; +x_9 = x_16; goto _start; } } else { -uint8_t x_28; +uint8_t x_27; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) { -return x_15; +return x_14; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); -lean_dec(x_15); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_inc(x_28); +lean_dec(x_14); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__9(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -2496,7 +2466,7 @@ x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_1) == 0) @@ -2523,6 +2493,7 @@ x_37 = 0; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_38 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(x_37, x_8, x_2, x_3, x_4, x_5, x_6, x_14); if (lean_obj_tag(x_38) == 0) @@ -2638,6 +2609,7 @@ lean_object* x_65; lean_object* x_66; lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_65 = lean_ctor_get(x_38, 0); lean_inc(x_65); @@ -2927,11 +2899,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_Code_cse_go___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Code_cse_go___lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Code_cse_go___lambda__1), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -3357,6 +3329,7 @@ lean_inc(x_101); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); lean_inc(x_100); x_102 = l_Lean_Compiler_LCNF_Code_cse_goFunDecl(x_100, x_2, x_3, x_4, x_5, x_6, x_7); @@ -3774,6 +3747,7 @@ lean_dec(x_100); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_192 = !lean_is_exclusive(x_102); @@ -3806,6 +3780,7 @@ lean_inc(x_197); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); lean_inc(x_196); x_198 = l_Lean_Compiler_LCNF_Code_cse_goFunDecl(x_196, x_2, x_3, x_4, x_5, x_6, x_7); @@ -4016,6 +3991,7 @@ lean_dec(x_196); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_237 = !lean_is_exclusive(x_198); @@ -4793,6 +4769,7 @@ case 5: lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; uint8_t x_399; lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_395 = lean_ctor_get(x_1, 0); lean_inc(x_395); x_396 = lean_st_ref_get(x_6, x_7); @@ -4899,6 +4876,7 @@ lean_object* x_418; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_418 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_418, 0, x_1); @@ -4911,75 +4889,41 @@ return x_418; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__2(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__2(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__4(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); lean_dec(x_4); -x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__3(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_dec(x_3); return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_goFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Code_cse_goFunDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +x_10 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Code_cse_goFunDecl___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Code_cse_go___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Code_cse_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -5007,91 +4951,28 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Code_cse_go___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Code_cse_go___spec__6(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Code_cse_go___spec__6(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__8(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); lean_dec(x_4); -x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__7(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_dec(x_3); return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_cse_go___spec__10(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_cse_go___spec__9(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Code_cse_go___spec__5(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Code_cse_go___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Code_cse_go(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_Code_cse___closed__1() { _start: { @@ -5104,7 +4985,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -5184,17 +5065,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_cse___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Code_cse(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_cse(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_cse(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; @@ -5265,90 +5136,82 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; x_23 = lean_ctor_get(x_1, 0); x_24 = lean_ctor_get(x_1, 1); x_25 = lean_ctor_get(x_1, 2); x_26 = lean_ctor_get(x_1, 3); x_27 = lean_ctor_get(x_1, 4); +x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_dec(x_1); -x_28 = l_Lean_Compiler_LCNF_Code_cse(x_27, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_28) == 0) +x_29 = l_Lean_Compiler_LCNF_Code_cse(x_27, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; } else { - lean_dec_ref(x_28); - x_31 = lean_box(0); + lean_dec_ref(x_29); + x_32 = lean_box(0); } -x_32 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_24); -lean_ctor_set(x_32, 2, x_25); -lean_ctor_set(x_32, 3, x_26); -lean_ctor_set(x_32, 4, x_29); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); +x_33 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_25); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*5, x_28); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); } else { - x_33 = x_31; + x_34 = x_32; } -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_dec(x_26); lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); -x_34 = lean_ctor_get(x_28, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_28, 1); +x_35 = lean_ctor_get(x_29, 0); lean_inc(x_35); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_36 = x_28; +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_37 = x_29; } else { - lean_dec_ref(x_28); - x_36 = lean_box(0); + lean_dec_ref(x_29); + x_37 = lean_box(0); } -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(1, 2, 0); } else { - x_37 = x_36; + x_38 = x_37; } -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +return x_38; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_cse___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_cse(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_cse___closed__1() { _start: { @@ -5371,7 +5234,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_cse___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_cse___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_cse), 6, 0); return x_1; } } @@ -5395,7 +5258,7 @@ x_1 = l_Lean_Compiler_LCNF_cse___closed__4; return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__1() { _start: { lean_object* x_1; @@ -5403,31 +5266,31 @@ x_1 = lean_mk_string_from_bytes("Compiler", 8); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__2; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__2; x_2 = l_Lean_Compiler_LCNF_cse___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__3; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__3; x_3 = 1; x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); return x_4; @@ -5492,13 +5355,13 @@ l_Lean_Compiler_LCNF_cse___closed__4 = _init_l_Lean_Compiler_LCNF_cse___closed__ lean_mark_persistent(l_Lean_Compiler_LCNF_cse___closed__4); l_Lean_Compiler_LCNF_cse = _init_l_Lean_Compiler_LCNF_cse(); lean_mark_persistent(l_Lean_Compiler_LCNF_cse); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992____closed__3); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_992_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993____closed__3); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_CSE___hyg_993_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Check.c b/stage0/stdlib/Lean/Compiler/LCNF/Check.c index 04f6f2f3c1..5f451f5f2d 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Check.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Check.c @@ -16,9 +16,9 @@ extern "C" { static lean_object* l_Lean_Compiler_LCNF_Check_check___closed__4; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__6; size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFVar___closed__1; LEAN_EXPORT lean_object* l_Lean_HashSetImp_contains___at_Lean_Compiler_LCNF_Check_addFVarId___spec__7___boxed(lean_object*, lean_object*); @@ -30,7 +30,6 @@ LEAN_EXPORT lean_object* l_List_replace___at_Lean_Compiler_LCNF_Check_addFVarId_ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_State_all___default; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__5; uint8_t lean_usize_dec_eq(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Compiler_LCNF_Check_check___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1___closed__1; @@ -41,8 +40,8 @@ static lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1___closed static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___closed__6; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkExpr(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_check___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5___closed__1; @@ -51,8 +50,8 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_ch static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__1; lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_Context_vars___default; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParams(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5___closed__2; uint8_t lean_name_eq(lean_object*, lean_object*); @@ -62,24 +61,22 @@ static lean_object* l_Lean_Compiler_LCNF_Check_checkCases___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__5; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5___closed__4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___closed__2; lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkCases___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at_Lean_Compiler_LCNF_Check_addFVarId___spec__2___boxed(lean_object*, lean_object*); uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqLetDecl____x40_Lean_Compiler_LCNF_Basic___hyg_282_(lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___closed__2; static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__4; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls_visitCode___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_elem___at_Lean_Compiler_LCNF_Check_addFVarId___spec__2(lean_object*, lean_object*); @@ -87,10 +84,9 @@ uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_eqFunDecl(lea static lean_object* l_Lean_Compiler_LCNF_Check_check___closed__6; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_Check_checkCases___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkAppArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); lean_object* l_Lean_RBNode_findCore___at_Lean_Meta_ToHide_isMarked___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; static lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___closed__2; static lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1___closed__3; @@ -99,27 +95,26 @@ static lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___closed__1; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__8; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__4; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___closed__8; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___closed__4; static lean_object* l_Lean_Compiler_LCNF_Check_checkCases___closed__5; lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls_visitCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); @@ -127,7 +122,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_check lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_FunDeclCore_getArity___rarg(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkCases___closed__3; -LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_replace___at_Lean_Compiler_LCNF_Check_addFVarId___spec__6___boxed(lean_object*, lean_object*, lean_object*); @@ -137,49 +132,44 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___lambda__1___box static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___closed__5; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___closed__2; LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitDecls(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkApp___closed__2; -lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1___closed__2; lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDeclCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDeclCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkApp___closed__1; static lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkParam___closed__4; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2___closed__4; static lean_object* l_Lean_Compiler_LCNF_Check_checkFVar___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___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_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDeclCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_moveEntries___at_Lean_Compiler_LCNF_Check_addFVarId___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___closed__1; @@ -190,54 +180,51 @@ LEAN_EXPORT lean_object* l_Lean_HashSetImp_insert___at_Lean_Compiler_LCNF_Check_ lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__6; -lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___closed__5; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__2; static lean_object* l_Lean_Compiler_LCNF_Check_checkFVar___closed__2; size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; uint8_t l_Lean_Compiler_LCNF_maybeTypeFormerType(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Lean_HashSetImp_expand___at_Lean_Compiler_LCNF_Check_addFVarId___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitDecls___boxed(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkParam___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkParam___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_check___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkExpr___closed__2; -LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_check(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_check___closed__5; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitFVar(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls_visitParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___closed__7; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___closed__4; @@ -245,26 +232,24 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_check uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_compatibleTypes(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___closed__6; static lean_object* l_Lean_Compiler_LCNF_Check_checkExpr___closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4___closed__4; static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2___closed__2; -lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(lean_object*, size_t, size_t, lean_object*); uint8_t l_Lean_Expr_isAnyType(lean_object*); @@ -276,41 +261,40 @@ uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1___closed__4; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_Context_jps___default; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withFVarId___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withFVarId___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withFVarId___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitParams(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitCode(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__9; static lean_object* l_Lean_Compiler_LCNF_Check_checkParam___closed__3; lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___closed__4; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___closed__8; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkAppArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkAppArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope___closed__4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls_visitParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitParam(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls_visitDecls___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkFVar___closed__3; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___closed__1; LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Compiler_LCNF_Check_addFVarId___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitDecl(lean_object*, lean_object*); @@ -321,8 +305,8 @@ static lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___closed__6; lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_check___closed__3; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParam(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withParams___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___closed__3; LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -330,7 +314,7 @@ static lean_object* l_Lean_Compiler_LCNF_Check_run___rarg___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___closed__7; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___closed__7; static lean_object* l_Lean_Compiler_LCNF_Check_checkCases___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFVar(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope___closed__3; static lean_object* l_Lean_Compiler_LCNF_Check_checkExpr___closed__3; LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Compiler_LCNF_Check_State_all___default___spec__1(lean_object*); @@ -443,7 +427,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -554,7 +538,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -624,36 +608,34 @@ return x_26; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkFVar(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Check_checkFVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -730,7 +712,7 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -807,7 +789,7 @@ return x_34; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -825,7 +807,7 @@ lean_ctor_set(x_17, 1, x_13); return x_17; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; @@ -833,44 +815,44 @@ x_13 = l_Lean_Expr_fvarId_x21(x_1); x_14 = l_Lean_Compiler_LCNF_Check_checkFVar(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); lean_dec(x_14); -x_17 = lean_box(x_8); -x_18 = lean_apply_10(x_2, x_3, x_15, x_5, x_6, x_7, x_17, x_9, x_10, x_11, x_16); -return x_18; +x_17 = lean_apply_10(x_2, x_3, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_16); +return x_17; } else { -uint8_t x_19; +uint8_t x_18; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) +x_18 = !lean_is_exclusive(x_14); +if (x_18 == 0) { return x_14; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); -lean_inc(x_21); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); lean_inc(x_20); +lean_inc(x_19); lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -952,7 +934,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { uint8_t x_18; uint8_t x_19; lean_object* x_20; @@ -966,6 +948,7 @@ x_47 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec_ lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); +lean_inc(x_13); lean_inc(x_1); x_48 = l_Lean_Compiler_LCNF_isErasedCompatible_go(x_1, x_47, x_13, x_14, x_15, x_16, x_17); if (lean_obj_tag(x_48) == 0) @@ -988,6 +971,7 @@ uint8_t x_52; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1070,6 +1054,7 @@ x_37 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1115,6 +1100,7 @@ x_45 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec_ lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1192,7 +1178,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -1204,6 +1190,7 @@ lean_dec(x_8); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); +lean_inc(x_12); lean_inc(x_1); x_19 = l_Lean_Compiler_LCNF_inferType(x_1, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_19) == 0) @@ -1266,6 +1253,7 @@ x_42 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1305,6 +1293,7 @@ lean_dec(x_17); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1370,7 +1359,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; @@ -1423,7 +1412,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; @@ -1434,7 +1423,7 @@ lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); -x_18 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___boxed), 16, 5); +x_18 = lean_alloc_closure((void*)(l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4), 16, 5); lean_closure_set(x_18, 0, x_1); lean_closure_set(x_18, 1, x_2); lean_closure_set(x_18, 2, x_3); @@ -1491,6 +1480,7 @@ x_31 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec_ lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1505,6 +1495,7 @@ lean_dec(x_18); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -1565,7 +1556,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, uint8_t x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { uint8_t x_18; @@ -1623,6 +1614,7 @@ x_30 = lean_box(0); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -1643,6 +1635,7 @@ lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1702,6 +1695,7 @@ lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1737,6 +1731,7 @@ lean_dec(x_22); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1768,6 +1763,7 @@ lean_object* x_55; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1788,6 +1784,7 @@ lean_object* x_56; lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -1803,13 +1800,14 @@ return x_56; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkAppArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkAppArgs(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); x_11 = l_Lean_Compiler_LCNF_inferType(x_1, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) @@ -1927,6 +1925,7 @@ uint8_t x_39; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1956,62 +1955,57 @@ return x_42; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); +lean_object* x_14; +x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_4); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3___boxed(lean_object** _args) { @@ -2034,50 +2028,27 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_13); -lean_dec(x_13); -x_19 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18, x_14, x_15, x_16, x_17); -return x_19; -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_12); -lean_dec(x_12); -x_18 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17, x_13, x_14, x_15, x_16); +lean_object* x_18; +x_18 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); return x_18; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_10); -lean_dec(x_10); -x_16 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_11, x_12, x_13, x_14); +lean_object* x_15; +x_15 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { -_start: -{ -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_12); -lean_dec(x_12); -x_18 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_17, x_13, x_14, x_15, x_16); -return x_18; +return x_15; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3___boxed(lean_object** _args) { @@ -2100,27 +2071,15 @@ lean_object* x_16 = _args[15]; lean_object* x_17 = _args[16]; _start: { -uint8_t x_18; lean_object* x_19; -x_18 = lean_unbox(x_13); -lean_dec(x_13); -x_19 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_18, x_14, x_15, x_16, x_17); +lean_object* x_18; +x_18 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); lean_dec(x_8); lean_dec(x_7); lean_dec(x_3); -return x_19; +return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkAppArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Check_checkAppArgs(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -2128,7 +2087,7 @@ x_12 = l_Lean_Compiler_LCNF_Check_checkAppArgs(x_1, x_2, x_4, x_5, x_6, x_7, x_8 return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -2160,6 +2119,7 @@ uint8_t x_18; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); @@ -2204,7 +2164,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -2230,6 +2190,7 @@ x_19 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2272,32 +2233,18 @@ return x_27; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_Check_checkApp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Check_checkApp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_Check_checkApp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Check_checkApp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Check_checkApp(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); return x_12; } } @@ -2327,7 +2274,7 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (lean_obj_tag(x_1)) { @@ -2341,6 +2288,7 @@ x_11 = l_Lean_Compiler_LCNF_Check_checkFVar(x_10, x_2, x_3, x_4, x_5, x_6, x_7, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2352,6 +2300,7 @@ lean_object* x_12; lean_object* x_13; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2384,6 +2333,7 @@ lean_object* x_23; lean_object* x_24; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2410,6 +2360,7 @@ x_27 = l_Lean_Compiler_LCNF_Check_checkFVar(x_26, x_2, x_3, x_4, x_5, x_6, x_7, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2432,6 +2383,7 @@ x_33 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(x_32, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2454,6 +2406,7 @@ x_36 = l_Lean_Compiler_LCNF_Check_checkFVar(x_35, x_2, x_3, x_4, x_5, x_6, x_7, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2476,6 +2429,7 @@ x_42 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(x_41, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2498,6 +2452,7 @@ x_48 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(x_47, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2506,16 +2461,6 @@ return x_48; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkExpr(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_Check_checkJpInScope___closed__1() { _start: { @@ -2550,7 +2495,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -2589,17 +2534,16 @@ return x_20; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkJpInScope___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkJpInScope(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Check_checkJpInScope(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } static lean_object* _init_l_Lean_Compiler_LCNF_Check_checkParam___closed__1() { @@ -2636,7 +2580,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -2752,20 +2696,19 @@ return x_39; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParam___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkParam(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Check_checkParam(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -2824,7 +2767,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -2838,6 +2781,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2858,6 +2802,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2878,6 +2823,7 @@ x_21 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spe lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2889,33 +2835,30 @@ return x_21; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_3); lean_dec(x_3); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_checkParams___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkParams(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Check_checkParams(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_11; +return x_10; } } static lean_object* _init_l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1___closed__1() { @@ -2952,7 +2895,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; @@ -3099,7 +3042,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -3108,6 +3051,7 @@ lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -3122,6 +3066,7 @@ lean_dec(x_11); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_13 = l_Lean_Compiler_LCNF_inferType(x_10, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_13) == 0) { @@ -3172,6 +3117,7 @@ x_32 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3204,6 +3150,7 @@ x_38 = l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1(x_1, x_37, x_2, x_3, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3216,6 +3163,7 @@ uint8_t x_39; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3247,6 +3195,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3275,27 +3224,16 @@ return x_46; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Check_checkLetDecl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkLetDecl(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } @@ -3625,7 +3563,7 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -3682,7 +3620,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -3706,6 +3644,7 @@ x_17 = l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1(x_1, x_16, x_2, x_3, x_4 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3728,6 +3667,7 @@ x_23 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3784,37 +3724,27 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Check_addFVarId___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_addFVarId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_addFVarId(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withFVarId___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withFVarId___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); @@ -3829,61 +3759,60 @@ lean_dec(x_11); x_13 = !lean_is_exclusive(x_3); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_3, 1); x_15 = lean_box(0); x_16 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_14, x_1, x_15); lean_ctor_set(x_3, 1, x_16); -x_17 = lean_box(x_6); -x_18 = lean_apply_8(x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_12); -return x_18; +x_17 = lean_apply_8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +return x_17; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_3, 0); -x_20 = lean_ctor_get(x_3, 1); -lean_inc(x_20); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_ctor_get(x_3, 0); +x_19 = lean_ctor_get(x_3, 1); lean_inc(x_19); +lean_inc(x_18); lean_dec(x_3); -x_21 = lean_box(0); -x_22 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_20, x_1, x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_19); -lean_ctor_set(x_23, 1, x_22); -x_24 = lean_box(x_6); -x_25 = lean_apply_8(x_2, x_23, x_4, x_5, x_24, x_7, x_8, x_9, x_12); -return x_25; +x_20 = lean_box(0); +x_21 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_19, x_1, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_18); +lean_ctor_set(x_22, 1, x_21); +x_23 = lean_apply_8(x_2, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +return x_23; } } else { -uint8_t x_26; +uint8_t x_24; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_11); -if (x_26 == 0) +x_24 = !lean_is_exclusive(x_11); +if (x_24 == 0) { return x_11; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_11, 0); -x_28 = lean_ctor_get(x_11, 1); -lean_inc(x_28); -lean_inc(x_27); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); +lean_inc(x_25); lean_dec(x_11); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -3892,27 +3821,18 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withFVarId(lean_object* x_1) _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_withFVarId___rarg___boxed), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_withFVarId___rarg), 10, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withFVarId___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Check_withFVarId___rarg(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); @@ -3927,61 +3847,60 @@ lean_dec(x_11); x_13 = !lean_is_exclusive(x_3); if (x_13 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; x_14 = lean_ctor_get(x_3, 0); x_15 = lean_box(0); x_16 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_14, x_1, x_15); lean_ctor_set(x_3, 0, x_16); -x_17 = lean_box(x_6); -x_18 = lean_apply_8(x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_12); -return x_18; +x_17 = lean_apply_8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +return x_17; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_19 = lean_ctor_get(x_3, 0); -x_20 = lean_ctor_get(x_3, 1); -lean_inc(x_20); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_18 = lean_ctor_get(x_3, 0); +x_19 = lean_ctor_get(x_3, 1); lean_inc(x_19); +lean_inc(x_18); lean_dec(x_3); -x_21 = lean_box(0); -x_22 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_19, x_1, x_21); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_20); -x_24 = lean_box(x_6); -x_25 = lean_apply_8(x_2, x_23, x_4, x_5, x_24, x_7, x_8, x_9, x_12); -return x_25; +x_20 = lean_box(0); +x_21 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_18, x_1, x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_19); +x_23 = lean_apply_8(x_2, x_22, x_4, x_5, x_6, x_7, x_8, x_9, x_12); +return x_23; } } else { -uint8_t x_26; +uint8_t x_24; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_26 = !lean_is_exclusive(x_11); -if (x_26 == 0) +x_24 = !lean_is_exclusive(x_11); +if (x_24 == 0) { return x_11; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_11, 0); -x_28 = lean_ctor_get(x_11, 1); -lean_inc(x_28); -lean_inc(x_27); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_11, 0); +x_26 = lean_ctor_get(x_11, 1); +lean_inc(x_26); +lean_inc(x_25); lean_dec(x_11); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -3990,20 +3909,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_withJp___rarg___boxed), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_withJp___rarg), 10, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withJp___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Check_withJp___rarg(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { @@ -4030,7 +3939,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -4046,6 +3955,7 @@ lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -4071,6 +3981,7 @@ uint8_t x_22; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4100,6 +4011,7 @@ lean_object* x_26; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4110,7 +4022,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; @@ -4120,72 +4032,74 @@ x_13 = lean_nat_dec_lt(x_12, x_11); if (x_13 == 0) { x_14 = x_10; -goto block_45; +goto block_39; +} +else +{ +uint8_t x_40; +x_40 = lean_nat_dec_le(x_11, x_11); +if (x_40 == 0) +{ +x_14 = x_10; +goto block_39; +} +else +{ +size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; +x_41 = 0; +x_42 = lean_usize_of_nat(x_11); +x_43 = lean_box(0); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_44 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(x_1, x_41, x_42, x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_44) == 0) +{ +lean_object* x_45; +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_14 = x_45; +goto block_39; } else { uint8_t x_46; -x_46 = lean_nat_dec_le(x_11, x_11); -if (x_46 == 0) -{ -x_14 = x_10; -goto block_45; -} -else -{ -size_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; -x_47 = 0; -x_48 = lean_usize_of_nat(x_11); -x_49 = lean_box(0); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_50 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(x_1, x_47, x_48, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_50) == 0) -{ -lean_object* x_51; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_14 = x_51; -goto block_45; -} -else -{ -uint8_t x_52; lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_52 = !lean_is_exclusive(x_50); -if (x_52 == 0) +x_46 = !lean_is_exclusive(x_44); +if (x_46 == 0) { -return x_50; +return x_44; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_50, 0); -x_54 = lean_ctor_get(x_50, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_50); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_44, 0); +x_48 = lean_ctor_get(x_44, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_44); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } } -block_45: +block_39: { if (x_13 == 0) { @@ -4194,90 +4108,84 @@ lean_dec(x_11); x_15 = !lean_is_exclusive(x_3); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; -x_16 = lean_box(x_6); -x_17 = lean_apply_8(x_2, x_3, x_4, x_5, x_16, x_7, x_8, x_9, x_14); -return x_17; +lean_object* x_16; +x_16 = lean_apply_8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_16; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_3, 0); -x_19 = lean_ctor_get(x_3, 1); -lean_inc(x_19); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_3, 0); +x_18 = lean_ctor_get(x_3, 1); lean_inc(x_18); +lean_inc(x_17); lean_dec(x_3); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_box(x_6); -x_22 = lean_apply_8(x_2, x_20, x_4, x_5, x_21, x_7, x_8, x_9, x_14); -return x_22; +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_apply_8(x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_20; } } else { -uint8_t x_23; -x_23 = !lean_is_exclusive(x_3); +uint8_t x_21; +x_21 = !lean_is_exclusive(x_3); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_3, 1); +x_23 = lean_nat_dec_le(x_11, x_11); if (x_23 == 0) { -lean_object* x_24; uint8_t x_25; -x_24 = lean_ctor_get(x_3, 1); -x_25 = lean_nat_dec_le(x_11, x_11); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; +lean_object* x_24; lean_dec(x_11); -x_26 = lean_box(x_6); -x_27 = lean_apply_8(x_2, x_3, x_4, x_5, x_26, x_7, x_8, x_9, x_14); -return x_27; +x_24 = lean_apply_8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_24; } else { -size_t x_28; size_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_28 = 0; -x_29 = lean_usize_of_nat(x_11); +size_t x_25; size_t x_26; lean_object* x_27; lean_object* x_28; +x_25 = 0; +x_26 = lean_usize_of_nat(x_11); lean_dec(x_11); -x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(x_1, x_28, x_29, x_24); -lean_ctor_set(x_3, 1, x_30); -x_31 = lean_box(x_6); -x_32 = lean_apply_8(x_2, x_3, x_4, x_5, x_31, x_7, x_8, x_9, x_14); -return x_32; +x_27 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(x_1, x_25, x_26, x_22); +lean_ctor_set(x_3, 1, x_27); +x_28 = lean_apply_8(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_28; } } else { -lean_object* x_33; lean_object* x_34; uint8_t x_35; -x_33 = lean_ctor_get(x_3, 0); -x_34 = lean_ctor_get(x_3, 1); -lean_inc(x_34); -lean_inc(x_33); +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_3, 0); +x_30 = lean_ctor_get(x_3, 1); +lean_inc(x_30); +lean_inc(x_29); lean_dec(x_3); -x_35 = lean_nat_dec_le(x_11, x_11); -if (x_35 == 0) +x_31 = lean_nat_dec_le(x_11, x_11); +if (x_31 == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_32; lean_object* x_33; lean_dec(x_11); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_33); -lean_ctor_set(x_36, 1, x_34); -x_37 = lean_box(x_6); -x_38 = lean_apply_8(x_2, x_36, x_4, x_5, x_37, x_7, x_8, x_9, x_14); -return x_38; +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_29); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_apply_8(x_2, x_32, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_33; } else { -size_t x_39; size_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_39 = 0; -x_40 = lean_usize_of_nat(x_11); +size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = 0; +x_35 = lean_usize_of_nat(x_11); lean_dec(x_11); -x_41 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(x_1, x_39, x_40, x_34); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_33); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_box(x_6); -x_44 = lean_apply_8(x_2, x_42, x_4, x_5, x_43, x_7, x_8, x_9, x_14); -return x_44; +x_36 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(x_1, x_34, x_35, x_30); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_29); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_apply_8(x_2, x_37, x_4, x_5, x_6, x_7, x_8, x_9, x_14); +return x_38; } } } @@ -4308,36 +4216,33 @@ return x_7; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_3); lean_dec(x_3); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_withParams___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Check_withParams___rarg(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Check_withParams___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); -return x_12; +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDeclCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDeclCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -4381,6 +4286,7 @@ x_97 = lean_box(0); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -4402,6 +4308,7 @@ lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4470,6 +4377,7 @@ x_32 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkFVar___spec__1(x_31, lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4482,6 +4390,7 @@ lean_dec(x_16); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4514,6 +4423,7 @@ lean_ctor_set(x_42, 1, x_41); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); x_43 = l_Lean_Compiler_LCNF_Check_check(x_4, x_42, x_6, x_7, x_8, x_9, x_10, x_11, x_39); @@ -4528,6 +4438,7 @@ lean_dec(x_43); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); x_46 = l_Lean_Compiler_LCNF_mkForallParams(x_3, x_44, x_8, x_9, x_10, x_11, x_45); if (lean_obj_tag(x_46) == 0) { @@ -4548,6 +4459,7 @@ lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4580,6 +4492,7 @@ lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4624,6 +4537,7 @@ lean_ctor_set(x_60, 1, x_58); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); x_61 = l_Lean_Compiler_LCNF_Check_check(x_4, x_60, x_6, x_7, x_8, x_9, x_10, x_11, x_39); @@ -4638,6 +4552,7 @@ lean_dec(x_61); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); x_64 = l_Lean_Compiler_LCNF_mkForallParams(x_3, x_62, x_8, x_9, x_10, x_11, x_63); if (lean_obj_tag(x_64) == 0) { @@ -4658,6 +4573,7 @@ lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4690,6 +4606,7 @@ lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4729,6 +4646,7 @@ lean_ctor_set(x_78, 1, x_77); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); x_79 = l_Lean_Compiler_LCNF_Check_check(x_4, x_78, x_6, x_7, x_8, x_9, x_10, x_11, x_39); @@ -4743,6 +4661,7 @@ lean_dec(x_79); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); x_82 = l_Lean_Compiler_LCNF_mkForallParams(x_3, x_80, x_8, x_9, x_10, x_11, x_81); if (lean_obj_tag(x_82) == 0) { @@ -4763,6 +4682,7 @@ lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4795,6 +4715,7 @@ lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4830,6 +4751,7 @@ uint8_t x_104; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -4858,7 +4780,7 @@ return x_107; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; @@ -4866,6 +4788,7 @@ x_13 = l_Lean_Expr_fvar___override(x_1); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); x_14 = l_Lean_Compiler_LCNF_Check_checkAppArgs(x_13, x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) { @@ -4882,6 +4805,7 @@ uint8_t x_17; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_3); x_17 = !lean_is_exclusive(x_14); if (x_17 == 0) @@ -4955,7 +4879,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (lean_obj_tag(x_1)) { @@ -4970,6 +4894,7 @@ lean_dec(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -4987,6 +4912,7 @@ lean_dec(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5037,6 +4963,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5068,6 +4995,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5111,6 +5039,7 @@ lean_ctor_set(x_41, 1, x_40); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_36); @@ -5127,6 +5056,7 @@ lean_dec(x_36); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5164,6 +5094,7 @@ lean_dec(x_37); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_53 = !lean_is_exclusive(x_45); @@ -5215,6 +5146,7 @@ lean_dec(x_37); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_62 = lean_ctor_get(x_45, 0); @@ -5250,6 +5182,7 @@ lean_dec(x_36); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5284,6 +5217,7 @@ lean_dec(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5301,6 +5235,7 @@ lean_dec(x_70); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5351,6 +5286,7 @@ lean_dec(x_71); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5382,6 +5318,7 @@ lean_dec(x_70); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5469,6 +5406,7 @@ x_119 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5509,6 +5447,7 @@ lean_dec(x_96); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5541,6 +5480,7 @@ lean_dec(x_96); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5598,6 +5538,7 @@ uint8_t x_140; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); x_140 = !lean_is_exclusive(x_137); if (x_140 == 0) @@ -5631,7 +5572,7 @@ return x_144; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -5742,7 +5683,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -5834,7 +5775,7 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -5928,7 +5869,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; uint8_t x_14; @@ -5997,7 +5938,7 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t 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, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; @@ -6007,74 +5948,76 @@ x_17 = lean_nat_dec_lt(x_16, x_15); if (x_17 == 0) { x_18 = x_14; -goto block_60; +goto block_57; } else { -uint8_t x_61; -x_61 = lean_nat_dec_le(x_15, x_15); -if (x_61 == 0) +uint8_t x_58; +x_58 = lean_nat_dec_le(x_15, x_15); +if (x_58 == 0) { x_18 = x_14; -goto block_60; +goto block_57; } else { -size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; -x_62 = 0; -x_63 = lean_usize_of_nat(x_15); -x_64 = lean_box(0); +size_t x_59; size_t x_60; lean_object* x_61; lean_object* x_62; +x_59 = 0; +x_60 = lean_usize_of_nat(x_15); +x_61 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(x_1, x_62, x_63, x_64, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -if (lean_obj_tag(x_65) == 0) +x_62 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__2(x_1, x_59, x_60, x_61, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_62) == 0) { -lean_object* x_66; -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_18 = x_66; -goto block_60; +lean_object* x_63; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_18 = x_63; +goto block_57; } else { -uint8_t x_67; +uint8_t x_64; lean_dec(x_15); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_67 = !lean_is_exclusive(x_65); -if (x_67 == 0) +x_64 = !lean_is_exclusive(x_62); +if (x_64 == 0) { -return x_65; +return x_62; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_65, 0); -x_69 = lean_ctor_get(x_65, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_65); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_62, 0); +x_66 = lean_ctor_get(x_62, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_62); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } } -block_60: +block_57: { if (x_17 == 0) { @@ -6090,175 +6033,178 @@ lean_ctor_set(x_21, 1, x_20); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); x_22 = l_Lean_Compiler_LCNF_Check_check(x_2, x_21, x_8, x_9, x_10, x_11, x_12, x_13, x_18); if (lean_obj_tag(x_22) == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); x_25 = lean_box(x_5); -x_26 = lean_box(x_10); -x_27 = lean_apply_11(x_3, x_4, x_25, x_23, x_7, x_8, x_9, x_26, x_11, x_12, x_13, x_24); -return x_27; +x_26 = lean_apply_11(x_3, x_4, x_25, x_23, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_24); +return x_26; } else { -uint8_t x_28; +uint8_t x_27; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_28 = !lean_is_exclusive(x_22); -if (x_28 == 0) +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) { return x_22; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_22, 0); -x_30 = lean_ctor_get(x_22, 1); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_22, 0); +x_29 = lean_ctor_get(x_22, 1); lean_inc(x_29); +lean_inc(x_28); lean_dec(x_22); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } else { -lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_32 = lean_ctor_get(x_7, 0); +lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_31 = lean_ctor_get(x_7, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_7, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_7, 1); -lean_inc(x_33); -x_34 = lean_nat_dec_le(x_15, x_15); -if (x_34 == 0) +x_33 = lean_nat_dec_le(x_15, x_15); +if (x_33 == 0) { -lean_object* x_35; lean_object* x_36; +lean_object* x_34; lean_object* x_35; lean_dec(x_15); -x_35 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_35, 0, x_32); -lean_ctor_set(x_35, 1, x_33); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_31); +lean_ctor_set(x_34, 1, x_32); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_36 = l_Lean_Compiler_LCNF_Check_check(x_2, x_35, x_8, x_9, x_10, x_11, x_12, x_13, x_18); -if (lean_obj_tag(x_36) == 0) +x_35 = l_Lean_Compiler_LCNF_Check_check(x_2, x_34, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_37 = lean_ctor_get(x_36, 0); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_35, 0); +lean_inc(x_36); +x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_36, 1); -lean_inc(x_38); -lean_dec(x_36); -x_39 = lean_box(x_5); -x_40 = lean_box(x_10); -x_41 = lean_apply_11(x_3, x_4, x_39, x_37, x_7, x_8, x_9, x_40, x_11, x_12, x_13, x_38); -return x_41; +lean_dec(x_35); +x_38 = lean_box(x_5); +x_39 = lean_apply_11(x_3, x_4, x_38, x_36, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_37); +return x_39; } else { -uint8_t x_42; +uint8_t x_40; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_42 = !lean_is_exclusive(x_36); -if (x_42 == 0) +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) { -return x_36; +return x_35; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_36, 0); -x_44 = lean_ctor_get(x_36, 1); -lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_36); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } else { -size_t x_46; size_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_46 = 0; -x_47 = lean_usize_of_nat(x_15); +size_t x_44; size_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = 0; +x_45 = lean_usize_of_nat(x_15); lean_dec(x_15); -x_48 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(x_1, x_46, x_47, x_33); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_32); -lean_ctor_set(x_49, 1, x_48); +x_46 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Check_withParams___spec__1(x_1, x_44, x_45, x_32); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_31); +lean_ctor_set(x_47, 1, x_46); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_50 = l_Lean_Compiler_LCNF_Check_check(x_2, x_49, x_8, x_9, x_10, x_11, x_12, x_13, x_18); -if (lean_obj_tag(x_50) == 0) +x_48 = l_Lean_Compiler_LCNF_Check_check(x_2, x_47, x_8, x_9, x_10, x_11, x_12, x_13, x_18); +if (lean_obj_tag(x_48) == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); -lean_inc(x_52); -lean_dec(x_50); -x_53 = lean_box(x_5); -x_54 = lean_box(x_10); -x_55 = lean_apply_11(x_3, x_4, x_53, x_51, x_7, x_8, x_9, x_54, x_11, x_12, x_13, x_52); -return x_55; +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_48, 1); +lean_inc(x_50); +lean_dec(x_48); +x_51 = lean_box(x_5); +x_52 = lean_apply_11(x_3, x_4, x_51, x_49, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_50); +return x_52; } else { -uint8_t x_56; +uint8_t x_53; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); lean_dec(x_3); -x_56 = !lean_is_exclusive(x_50); -if (x_56 == 0) +x_53 = !lean_is_exclusive(x_48); +if (x_53 == 0) { -return x_50; +return x_48; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_57 = lean_ctor_get(x_50, 0); -x_58 = lean_ctor_get(x_50, 1); -lean_inc(x_58); -lean_inc(x_57); -lean_dec(x_50); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_57); -lean_ctor_set(x_59, 1, x_58); -return x_59; +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_48, 0); +x_55 = lean_ctor_get(x_48, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_48); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -6334,7 +6280,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -6388,6 +6334,7 @@ x_37 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -6456,7 +6403,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -6518,6 +6465,7 @@ x_35 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -6575,6 +6523,7 @@ x_47 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3(x_46 lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -6605,6 +6554,7 @@ lean_dec(x_18); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -6668,7 +6618,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -6679,6 +6629,7 @@ lean_object* x_15; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6713,6 +6664,7 @@ lean_closure_set(x_31, 0, x_1); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -6733,6 +6685,7 @@ lean_dec(x_30); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -6756,6 +6709,7 @@ uint8_t x_40; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6803,6 +6757,7 @@ x_49 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6838,6 +6793,7 @@ lean_dec(x_26); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6874,6 +6830,7 @@ lean_dec(x_16); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); @@ -6907,6 +6864,7 @@ uint8_t x_67; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6938,6 +6896,7 @@ lean_dec(x_58); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6970,6 +6929,7 @@ lean_object* x_19; lean_object* x_20; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -6999,7 +6959,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; @@ -7122,7 +7082,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -7189,6 +7149,7 @@ x_31 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -7242,6 +7203,7 @@ x_45 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -7282,6 +7244,7 @@ uint8_t x_54; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -7313,6 +7276,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -7372,7 +7336,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -7509,7 +7473,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; uint8_t x_16; @@ -7550,6 +7514,7 @@ lean_ctor_set(x_29, 0, x_27); lean_ctor_set(x_29, 1, x_28); x_30 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_29, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_12); +lean_dec(x_10); lean_dec(x_8); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -7578,6 +7543,7 @@ lean_dec(x_5); x_35 = lean_box(0); x_36 = l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1(x_1, x_2, x_3, x_35, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_12); +lean_dec(x_10); lean_dec(x_8); return x_36; } @@ -7600,7 +7566,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -7615,6 +7581,7 @@ lean_inc(x_13); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -7672,6 +7639,7 @@ x_31 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkAppArgs___spec__1(x_ lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -7717,6 +7685,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -7749,6 +7718,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -7774,221 +7744,162 @@ return x_45; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDeclCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Check_checkFunDeclCore(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); -return x_14; -} -} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Check_check___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Lean_Compiler_LCNF_Check_check___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_4); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_check___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_check(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Check_checkCases___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Check_checkCases___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; +uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_8); -lean_dec(x_8); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_14, x_9, x_10, x_11, x_12); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; uint8_t x_16; lean_object* x_17; +uint8_t x_15; lean_object* x_16; x_15 = lean_unbox(x_5); lean_dec(x_5); -x_16 = lean_unbox(x_10); -lean_dec(x_10); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_16, x_11, x_12, x_13, x_14); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__2(x_1, x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_6); lean_dec(x_1); -return x_17; +return x_16; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_17; uint8_t x_18; lean_object* x_19; +uint8_t x_17; lean_object* x_18; x_17 = lean_unbox(x_5); lean_dec(x_5); -x_18 = lean_unbox(x_12); -lean_dec(x_12); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3(x_1, x_2, x_3, x_4, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_18, x_13, x_14, x_15, x_16); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__3(x_1, x_2, x_3, x_4, x_17, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_1); -return x_19; +return x_18; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -uint8_t x_17; uint8_t x_18; lean_object* x_19; +uint8_t x_17; lean_object* x_18; x_17 = lean_unbox(x_3); lean_dec(x_3); -x_18 = lean_unbox(x_12); -lean_dec(x_12); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18, x_13, x_14, x_15, x_16); -return x_19; +x_18 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___lambda__4(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_18; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -size_t x_14; size_t x_15; uint8_t x_16; lean_object* x_17; +size_t x_14; size_t x_15; lean_object* x_16; x_14 = lean_unbox_usize(x_3); lean_dec(x_3); x_15 = lean_unbox_usize(x_4); lean_dec(x_4); -x_16 = lean_unbox(x_9); -lean_dec(x_9); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_16, x_10, x_11, x_12, x_13); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Check_checkCases___spec__4(x_1, x_2, x_14, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_2); -return x_17; +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; +uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_8); -lean_dec(x_8); -x_15 = l_Lean_Compiler_LCNF_Check_checkCases___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_14, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Compiler_LCNF_Check_checkCases___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_4); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkCases___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkCases(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_10); -lean_dec(x_10); -x_16 = l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_11, x_12, x_13, x_14); +lean_object* x_15; +x_15 = l_Lean_Compiler_LCNF_Check_checkFunDecl___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_11); lean_dec(x_9); lean_dec(x_7); lean_dec(x_2); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_checkFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Check_checkFunDecl(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_15; } } static lean_object* _init_l_Lean_Compiler_LCNF_Check_run___rarg___closed__1() { @@ -8071,10 +7982,10 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); @@ -8088,68 +7999,67 @@ lean_inc(x_12); lean_dec(x_10); x_13 = l_Lean_Compiler_LCNF_Check_run___rarg___closed__1; x_14 = l_Lean_Compiler_LCNF_Check_run___rarg___closed__7; -x_15 = lean_box(x_2); lean_inc(x_5); lean_inc(x_11); -x_16 = lean_apply_8(x_1, x_13, x_11, x_14, x_15, x_3, x_4, x_5, x_12); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_8(x_1, x_13, x_11, x_14, x_2, x_3, x_4, x_5, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_st_ref_get(x_5, x_18); +lean_dec(x_15); +x_18 = lean_st_ref_get(x_5, x_17); lean_dec(x_5); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_get(x_11, x_20); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_get(x_11, x_19); lean_dec(x_11); -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) { -lean_object* x_23; -x_23 = lean_ctor_get(x_21, 0); -lean_dec(x_23); -lean_ctor_set(x_21, 0, x_17); -return x_21; +lean_object* x_22; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +lean_ctor_set(x_20, 0, x_16); +return x_20; } else { -lean_object* x_24; lean_object* x_25; -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_17); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_16); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } else { -uint8_t x_26; +uint8_t x_25; lean_dec(x_11); lean_dec(x_5); -x_26 = !lean_is_exclusive(x_16); -if (x_26 == 0) +x_25 = !lean_is_exclusive(x_15); +if (x_25 == 0) { -return x_16; +return x_15; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_16, 0); -x_28 = lean_ctor_get(x_16, 1); -lean_inc(x_28); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); lean_inc(x_27); -lean_dec(x_16); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_inc(x_26); +lean_dec(x_15); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } @@ -8158,21 +8068,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_run___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_run___rarg), 6, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Check_run___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; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Check_run___rarg(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_check(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_check(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -8185,7 +8085,7 @@ lean_inc(x_9); x_10 = lean_ctor_get(x_1, 4); lean_inc(x_10); lean_dec(x_1); -x_11 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_checkFunDeclCore___boxed), 12, 4); +x_11 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Check_checkFunDeclCore), 12, 4); lean_closure_set(x_11, 0, x_7); lean_closure_set(x_11, 1, x_8); lean_closure_set(x_11, 2, x_9); @@ -8194,16 +8094,6 @@ x_12 = l_Lean_Compiler_LCNF_Check_run___rarg(x_11, x_2, x_3, x_4, x_5, x_6); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_check___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_check(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls_visitFVar(lean_object* x_1, lean_object* x_2) { _start: { @@ -8690,7 +8580,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_2) == 0) @@ -8762,7 +8652,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -8824,7 +8714,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_2) == 0) @@ -8896,7 +8786,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -8958,7 +8848,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_2) == 0) @@ -9030,7 +8920,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -9092,7 +8982,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; @@ -9176,6 +9066,7 @@ lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_61 = !lean_is_exclusive(x_59); if (x_61 == 0) { @@ -9254,6 +9145,7 @@ lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_46 = !lean_is_exclusive(x_44); if (x_46 == 0) { @@ -9296,6 +9188,7 @@ lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_26 = lean_box(0); if (lean_is_scalar(x_15)) { x_27 = lean_alloc_ctor(0, 2, 0); @@ -9319,6 +9212,7 @@ lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_29 = lean_box(0); if (lean_is_scalar(x_15)) { x_30 = lean_alloc_ctor(0, 2, 0); @@ -9341,6 +9235,7 @@ x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___s lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_22); return x_34; } @@ -9352,104 +9247,88 @@ return x_34; LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_3); lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2(x_1, x_2, x_11, x_12, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__2(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_2); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_3); lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4(x_1, x_2, x_11, x_12, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__4(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_2); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_AssocList_forM___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_3); lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6(x_1, x_2, x_11, x_12, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_checkDeadLocalDecls___spec__6(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_2); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_checkDeadLocalDecls(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; +return x_13; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/CompilerM.c b/stage0/stdlib/Lean/Compiler/LCNF/CompilerM.c index 498310a129..61f91813ce 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/CompilerM.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/CompilerM.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Compiler.LCNF.CompilerM -// Imports: Init Lean.CoreM Lean.Compiler.LCNF.Basic Lean.Compiler.LCNF.LCtx +// Imports: Init Lean.CoreM Lean.Compiler.LCNF.Basic Lean.Compiler.LCNF.LCtx Lean.Compiler.LCNF.ConfigOptions #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,13 +15,14 @@ extern "C" { #endif LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp(lean_object*, lean_object*, uint8_t); -LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_update_x27(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_update_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___rarg___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___lambda__1(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCode___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); @@ -30,37 +31,37 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_instInhabitedState; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___rarg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findParam_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___rarg(uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1727_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getPhase___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase___rarg(uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7(uint8_t); LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkParam(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___rarg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cleanup(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cleanup(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCode___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFVar___rarg(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -71,39 +72,40 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadFVarSubstState(lean_objec LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_addFVarSubst___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_addLetDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_modifyLCtx___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_modifyLCtx(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_modifyLCtx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6(uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_goApp___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDecl(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___rarg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___rarg(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_getType___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_addFVarSubst___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceFVars(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normParams___spec__1(lean_object*); static lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -111,25 +113,24 @@ lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_addFVarSubst___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFVar___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(lean_object*, lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); static lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__2; static lean_object* l_Lean_Compiler_LCNF_CompilerM_instInhabitedState___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findParam_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findParam_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_noConfusion___rarg___lambda__1___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normExprs___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_run(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceExprFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_cleanup___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getFunDecl___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getFunDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cleanup___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM(uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___boxed(lean_object*, lean_object*, lean_object*); @@ -139,21 +140,22 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls___boxed(lean_object LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___rarg___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___closed__4; static lean_object* l_Lean_Compiler_LCNF_getParam___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_getType___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___rarg___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_toConfigOptions(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2___rarg___boxed(lean_object*, lean_object*); @@ -167,7 +169,7 @@ LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_ LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_mkFreshJpName___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDecl___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -176,44 +178,44 @@ static lean_object* l_Lean_Compiler_LCNF_getParam___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_updateValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshJpName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_Compiler_LCNF_addFVarSubst___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCode___rarg___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_getType___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_getType___spec__5(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadFVarSubst___rarg(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_eraseLetDecl(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_toCtorIdx(uint8_t); static lean_object* l_Lean_Compiler_LCNF_Phase_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1(uint8_t); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normParams___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_dbg_to_string(lean_object*); size_t lean_usize_modn(size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_update_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_instInhabitedPhase; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarImp(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__5; static lean_object* l_Lean_Compiler_LCNF_getFunDecl___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_State_lctx___default; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_addFVarSubst___spec__6(lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_updateValue(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_updateValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___rarg(uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -222,26 +224,26 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_CompilerM_State_lctx___default___closed__1; static lean_object* l_Lean_Compiler_LCNF_CompilerM_State_lctx___default___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2(uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_addSubst___rarg___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDeclImp(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDeclImp(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_getType___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFVar___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_getType___spec__4(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); size_t lean_ptr_addr(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_addFVarSubst(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___boxed(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarImp___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_getType___spec__6___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_State_nextIdx___default; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -251,67 +253,68 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFVar___rarg___lambda__1(lean_o lean_object* l_Lean_Compiler_LCNF_LCtx_addParam(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_noConfusion___rarg___lambda__1(lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_eraseFunDecl(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarImp___closed__2; LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normExprs___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_addSubst___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_run___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarImp___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadFVarSubst(uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_addFVarSubst___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_cleanup___spec__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2(uint8_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadFVarSubstState___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_addFVarSubst___spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_getLetDecl___closed__1; -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2(uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_goApp(lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2(size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___rarg(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_getType___spec__6(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1(uint8_t, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3(uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshJpName(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshJpName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_getType___spec__2___boxed(lean_object*, lean_object*); @@ -320,7 +323,7 @@ static lean_object* l_Lean_Compiler_LCNF_mkAuxParam___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_internalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_eraseParam(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_getType___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDecl___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -333,20 +336,21 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParams___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCode___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCode(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDeclImp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_addFunDecl(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getPhase(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getPhase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Compiler_LCNF_addFVarSubst___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_addSubst(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getConfig___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___closed__1; LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -364,11 +368,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam___box LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_cleanup___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_getLetDecl___closed__2; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getParam___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getParam___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_eraseCode(lean_object*, lean_object*); @@ -528,22 +532,63 @@ x_1 = l_Lean_Compiler_LCNF_CompilerM_instInhabitedState___closed__1; return x_1; } } -static uint8_t _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext() { +static lean_object* _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__1() { _start: { -uint8_t x_1; +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__2() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; x_1 = 0; +x_2 = l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__1; +x_3 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__2; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase___rarg(uint8_t x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase___rarg(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; -x_8 = lean_box(x_1); -x_9 = lean_apply_5(x_2, x_8, x_4, x_5, x_6, x_7); +uint8_t x_8; +x_8 = !lean_is_exclusive(x_3); +if (x_8 == 0) +{ +lean_object* x_9; +lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_1); +x_9 = lean_apply_5(x_2, x_3, x_4, x_5, x_6, x_7); return x_9; } +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set_uint8(x_11, sizeof(void*)*1, x_1); +x_12 = lean_apply_5(x_2, x_11, x_4, x_5, x_6, x_7); +return x_12; +} +} } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase(lean_object* x_1) { _start: @@ -556,37 +601,35 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_withPhase___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; uint8_t x_9; lean_object* x_10; +uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_1); lean_dec(x_1); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l_Lean_Compiler_LCNF_withPhase___rarg(x_8, x_2, x_9, x_4, x_5, x_6, x_7); -return x_10; +x_9 = l_Lean_Compiler_LCNF_withPhase___rarg(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getPhase(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getPhase(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; -x_6 = lean_box(x_1); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_5); -return x_7; +uint8_t x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +x_7 = lean_box(x_6); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getPhase___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_1); -lean_dec(x_1); -x_7 = l_Lean_Compiler_LCNF_getPhase(x_6, x_2, x_3, x_4, x_5); +lean_object* x_6; +x_6 = l_Lean_Compiler_LCNF_getPhase(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_7; +lean_dec(x_1); +return x_6; } } static lean_object* _init_l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__1() { @@ -663,7 +706,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -733,14 +776,13 @@ return x_28; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_instAddMessageContextCompilerM(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_instAddMessageContextCompilerM(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_getType___spec__2(lean_object* x_1, lean_object* x_2) { @@ -899,7 +941,7 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1010,7 +1052,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getType(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getType(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; @@ -1235,30 +1277,28 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_getType___spec__7(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_getType(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_getType(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1335,7 +1375,7 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBinderName(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; @@ -1530,30 +1570,28 @@ return x_53; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_getBinderName___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBinderName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_getBinderName(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_getBinderName(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findParam_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findParam_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -1598,17 +1636,16 @@ return x_18; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findParam_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_findParam_x3f(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_findParam_x3f(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -1653,17 +1690,16 @@ return x_18; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_findLetDecl_x3f(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_findLetDecl_x3f(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -1708,17 +1744,16 @@ return x_18; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_findFunDecl_x3f(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_findFunDecl_x3f(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getParam___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getParam___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1812,7 +1847,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getParam(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getParam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -1875,30 +1910,28 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getParam___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_getParam___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_getParam___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getParam___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_getParam(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_getParam(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1992,7 +2025,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLetDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -2055,30 +2088,28 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_getLetDecl___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_getLetDecl(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_getLetDecl(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getFunDecl___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getFunDecl___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2172,7 +2203,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -2235,30 +2266,28 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getFunDecl___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_getFunDecl___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_getFunDecl___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_getFunDecl(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_getFunDecl(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_modifyLCtx(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_modifyLCtx(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -2337,17 +2366,16 @@ return x_28; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_modifyLCtx___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_modifyLCtx(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_modifyLCtx(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -2426,18 +2454,17 @@ return x_28; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_eraseLetDecl(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -2516,19 +2543,18 @@ return x_29; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseFunDecl___boxed(lean_object* x_1, 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; uint8_t x_9; lean_object* x_10; +uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l_Lean_Compiler_LCNF_eraseFunDecl(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Compiler_LCNF_eraseFunDecl(x_1, x_8, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_10; +lean_dec(x_3); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -2607,17 +2633,16 @@ return x_28; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_eraseCode(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_eraseCode(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -2696,18 +2721,17 @@ return x_28; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParam___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_eraseParam(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_eraseParam(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -2786,18 +2810,17 @@ return x_28; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_eraseParams(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_eraseParams(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl(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_1) == 0) @@ -2825,17 +2848,16 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_eraseCodeDecl(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_eraseCodeDecl(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2868,7 +2890,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -2882,6 +2904,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_10 = lean_box(0); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); @@ -2899,6 +2922,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_13 = lean_box(0); x_14 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_14, 0, x_13); @@ -2916,6 +2940,7 @@ x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_18; } } @@ -2924,33 +2949,30 @@ return x_18; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_eraseCodeDecls___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_eraseCodeDecls(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_eraseCodeDecls(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -2971,14 +2993,13 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_eraseDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_eraseDecl(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_eraseDecl(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_goApp(lean_object* x_1, uint8_t x_2, lean_object* x_3) { @@ -3120,7 +3141,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___closed__1; x_2 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___closed__2; -x_3 = lean_unsigned_to_nat(178u); +x_3 = lean_unsigned_to_nat(180u); x_4 = lean_unsigned_to_nat(20u); x_5 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -3551,7 +3572,7 @@ x_12 = l_Lean_Compiler_LCNF_getType___closed__3; x_13 = lean_string_append(x_11, x_12); x_14 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go___closed__1; x_15 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarImp___closed__2; -x_16 = lean_unsigned_to_nat(197u); +x_16 = lean_unsigned_to_nat(199u); x_17 = lean_unsigned_to_nat(14u); x_18 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_14, x_15, x_16, x_17, x_13); lean_dec(x_13); @@ -4167,7 +4188,7 @@ x_6 = l_Lean_Compiler_LCNF_normExprs___rarg(x_5, x_2, x_3, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -4257,17 +4278,16 @@ return x_32; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_mkFreshBinderName(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_mkFreshBinderName(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName(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_1) == 2) @@ -4338,17 +4358,16 @@ return x_26; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_refreshBinderName(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___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; @@ -4392,18 +4411,17 @@ return x_1; LEAN_EXPORT lean_object* l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_StateRefT_x27_get___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstInternalizeMTrue___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -4458,15 +4476,14 @@ return x_1; LEAN_EXPORT lean_object* l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_modify___at_Lean_Compiler_LCNF_Internalize_instMonadFVarSubstStateInternalizeM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2___rarg(lean_object* x_1, lean_object* x_2) { @@ -4657,7 +4674,7 @@ return x_54; } } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -4665,7 +4682,7 @@ x_5 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at___private_Lean_Compiler_L return x_5; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___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; @@ -4690,7 +4707,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -4744,45 +4761,42 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2___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_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2(x_1, x_5, x_3, x_4); +lean_object* x_5; +x_5 = l_Lean_mkFreshId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_6; +return x_5; } } LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_mkFreshFVarId___at___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_Internalize_mkNewFVarId(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object* x_1, 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; @@ -4960,18 +4974,17 @@ return x_62; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Internalize_internalizeParam(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Internalize_internalizeParam(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; @@ -5090,18 +5103,17 @@ return x_46; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Internalize_internalizeLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -5136,7 +5148,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t 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; size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; @@ -5264,7 +5276,7 @@ return x_52; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -5294,7 +5306,7 @@ return x_16; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -5330,7 +5342,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -5472,7 +5484,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -6162,102 +6174,96 @@ return x_222; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_1); lean_dec(x_1); x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Internalize_internalizeFunDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_1); lean_dec(x_1); x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__2(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_1); lean_dec(x_1); x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeCode___spec__3(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Internalize_internalizeCode(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Internalize_internalizeCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -6459,18 +6465,17 @@ return x_52; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -6513,17 +6518,16 @@ return x_18; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_internalize___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Code_internalize(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Code_internalize(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize_go(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize_go(lean_object* x_1, 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; @@ -6583,81 +6587,82 @@ return x_28; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; lean_object* x_43; 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_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; x_29 = lean_ctor_get(x_1, 0); x_30 = lean_ctor_get(x_1, 1); x_31 = lean_ctor_get(x_1, 2); x_32 = lean_ctor_get(x_1, 3); x_33 = lean_ctor_get(x_1, 4); +x_34 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); lean_dec(x_1); -x_34 = lean_st_ref_get(x_2, x_7); -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); +x_35 = lean_st_ref_get(x_2, x_7); +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_34); -x_37 = 1; -x_38 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go(x_35, x_37, x_31); -x_39 = lean_array_get_size(x_32); -x_40 = lean_usize_of_nat(x_39); -lean_dec(x_39); -x_41 = 0; -x_42 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(x_40, x_41, x_32, x_2, x_3, x_4, x_5, x_6, x_36); -x_43 = lean_ctor_get(x_42, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_42, 1); +x_37 = lean_ctor_get(x_35, 1); +lean_inc(x_37); +lean_dec(x_35); +x_38 = 1; +x_39 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go(x_36, x_38, x_31); +x_40 = lean_array_get_size(x_32); +x_41 = lean_usize_of_nat(x_40); +lean_dec(x_40); +x_42 = 0; +x_43 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(x_41, x_42, x_32, x_2, x_3, x_4, x_5, x_6, x_37); +x_44 = lean_ctor_get(x_43, 0); lean_inc(x_44); -lean_dec(x_42); -x_45 = l_Lean_Compiler_LCNF_Internalize_internalizeCode(x_33, x_2, x_3, x_4, x_5, x_6, x_44); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +lean_dec(x_43); +x_46 = l_Lean_Compiler_LCNF_Internalize_internalizeCode(x_33, x_2, x_3, x_4, x_5, x_6, x_45); +x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); -if (lean_is_exclusive(x_45)) { - lean_ctor_release(x_45, 0); - lean_ctor_release(x_45, 1); - x_48 = x_45; +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_49 = x_46; } else { - lean_dec_ref(x_45); - x_48 = lean_box(0); + lean_dec_ref(x_46); + x_49 = lean_box(0); } -x_49 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_49, 0, x_29); -lean_ctor_set(x_49, 1, x_30); -lean_ctor_set(x_49, 2, x_38); -lean_ctor_set(x_49, 3, x_43); -lean_ctor_set(x_49, 4, x_46); -if (lean_is_scalar(x_48)) { - x_50 = lean_alloc_ctor(0, 2, 0); +x_50 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_50, 0, x_29); +lean_ctor_set(x_50, 1, x_30); +lean_ctor_set(x_50, 2, x_39); +lean_ctor_set(x_50, 3, x_44); +lean_ctor_set(x_50, 4, x_47); +lean_ctor_set_uint8(x_50, sizeof(void*)*5, x_34); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); } else { - x_50 = x_48; + x_51 = x_49; } -lean_ctor_set(x_50, 0, x_49); -lean_ctor_set(x_50, 1, x_47); -return x_50; +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Decl_internalize_go(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Decl_internalize_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -6700,14 +6705,13 @@ return x_18; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_internalize___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Decl_internalize(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Decl_internalize(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2___rarg(lean_object* x_1, lean_object* x_2) { @@ -6898,7 +6902,7 @@ return x_54; } } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -6906,7 +6910,7 @@ x_4 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkPara return x_4; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { lean_object* x_6; uint8_t x_7; @@ -6931,7 +6935,7 @@ return x_10; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkParam(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkParam(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -7029,44 +7033,41 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2___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_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2(x_4, x_2, x_3); +lean_object* x_4; +x_4 = l_Lean_mkFreshId___at_Lean_Compiler_LCNF_mkParam___spec__2(x_1, x_2, x_3); lean_dec(x_3); lean_dec(x_2); -return x_5; +lean_dec(x_1); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_6; lean_object* x_7; -x_6 = lean_unbox(x_1); -lean_dec(x_1); -x_7 = l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1(x_6, x_2, x_3, x_4, x_5); +lean_object* x_6; +x_6 = l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_mkParam___spec__1(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_7; +lean_dec(x_1); +return x_6; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkParam___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_3); lean_dec(x_3); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_mkParam(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_mkParam(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_11; +lean_dec(x_4); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLetDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -7155,17 +7156,16 @@ return x_31; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_mkLetDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_mkLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_10; +lean_dec(x_4); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; @@ -7255,17 +7255,16 @@ return x_32; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_mkFunDecl(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_mkFunDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_11; +lean_dec(x_5); +return x_10; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; size_t x_12; size_t x_13; uint8_t x_14; @@ -7437,17 +7436,16 @@ return x_51; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; uint8_t x_15; @@ -7777,17 +7775,16 @@ return x_93; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_10; +lean_dec(x_4); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object* x_1, 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; @@ -7800,17 +7797,16 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_LetDecl_updateValue(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_LetDecl_updateValue(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; uint8_t x_17; @@ -8309,17 +8305,16 @@ return x_138; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_11; +lean_dec(x_5); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_update_x27(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_update_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -8332,17 +8327,16 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_update_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_FunDeclCore_update_x27(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_FunDeclCore_update_x27(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_10; +lean_dec(x_4); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_updateValue(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_updateValue(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -8357,14 +8351,13 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_updateValue___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_FunDeclCore_updateValue(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_FunDeclCore_updateValue(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -8561,7 +8554,7 @@ x_7 = l_Lean_Compiler_LCNF_normLetDecl___rarg(x_6, x_2, x_3, x_4, x_5); return x_7; } } -LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___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; @@ -8590,14 +8583,13 @@ return x_2; LEAN_EXPORT lean_object* l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_ReaderT_read___at_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM___boxed(lean_object* x_1) { @@ -8610,7 +8602,7 @@ x_3 = l_Lean_Compiler_LCNF_instMonadFVarSubstNormalizerM(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -8629,7 +8621,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_normParam___at_Lean_Compil return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -8642,6 +8634,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -8652,86 +8645,87 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_4, x_3); -x_15 = lean_box(x_6); lean_inc(x_2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_14); -x_16 = lean_apply_7(x_2, x_14, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_7(x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_3, x_22); -x_24 = lean_array_fset(x_4, x_3, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_3, x_21); +x_23 = lean_array_fset(x_4, x_3, x_16); lean_dec(x_3); -x_3 = x_23; -x_4 = x_24; -x_10 = x_18; +x_3 = x_22; +x_4 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_3, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_3, x_25); lean_dec(x_3); -x_3 = x_27; -x_10 = x_18; +x_3 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -8740,7 +8734,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -8751,7 +8745,7 @@ x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LC return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDeclImp(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDeclImp(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -8764,6 +8758,7 @@ lean_inc(x_11); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_12 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1(x_1, x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_12) == 0) @@ -8779,6 +8774,7 @@ lean_inc(x_15); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_16 = l_Lean_Compiler_LCNF_normCodeImp(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_14); if (lean_obj_tag(x_16) == 0) { @@ -8792,6 +8788,7 @@ x_19 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_19; } else @@ -8802,6 +8799,7 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); x_20 = !lean_is_exclusive(x_16); if (x_20 == 0) @@ -8830,6 +8828,7 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_24 = !lean_is_exclusive(x_12); @@ -8853,7 +8852,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -8876,7 +8875,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Comp return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -8895,7 +8894,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_normExpr___at_Lean_Compile return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -8908,6 +8907,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -8918,86 +8918,87 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_4, x_3); -x_15 = lean_box(x_6); lean_inc(x_2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_14); -x_16 = lean_apply_7(x_2, x_14, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_7(x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_3, x_22); -x_24 = lean_array_fset(x_4, x_3, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_3, x_21); +x_23 = lean_array_fset(x_4, x_3, x_16); lean_dec(x_3); -x_3 = x_23; -x_4 = x_24; -x_10 = x_18; +x_3 = x_22; +x_4 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_3, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_3, x_25); lean_dec(x_3); -x_3 = x_27; -x_10 = x_18; +x_3 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -9006,7 +9007,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -9017,7 +9018,7 @@ x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LC return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___rarg(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -9036,7 +9037,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_normParam___at_Lean_Compil return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -9049,6 +9050,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -9059,86 +9061,87 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_4, x_3); -x_15 = lean_box(x_6); lean_inc(x_2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_14); -x_16 = lean_apply_7(x_2, x_14, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_7(x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_3, x_22); -x_24 = lean_array_fset(x_4, x_3, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_3, x_21); +x_23 = lean_array_fset(x_4, x_3, x_16); lean_dec(x_3); -x_3 = x_23; -x_4 = x_24; -x_10 = x_18; +x_3 = x_22; +x_4 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_3, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_3, x_25); lean_dec(x_3); -x_3 = x_27; -x_10 = x_18; +x_3 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -9147,7 +9150,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -9158,7 +9161,7 @@ x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LC return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -9171,6 +9174,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -9181,86 +9185,87 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_4, x_3); -x_15 = lean_box(x_6); lean_inc(x_2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_14); -x_16 = lean_apply_7(x_2, x_14, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_7(x_2, x_14, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_3, x_22); -x_24 = lean_array_fset(x_4, x_3, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_3, x_21); +x_23 = lean_array_fset(x_4, x_3, x_16); lean_dec(x_3); -x_3 = x_23; -x_4 = x_24; -x_10 = x_18; +x_3 = x_22; +x_4 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_3, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_3, x_25); lean_dec(x_3); -x_3 = x_27; -x_10 = x_18; +x_3 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -9269,7 +9274,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_2) == 0) @@ -9282,6 +9287,7 @@ lean_inc(x_10); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_11 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6(x_1, x_1, x_9, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_11) == 0) @@ -9352,6 +9358,7 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_26 = !lean_is_exclusive(x_11); @@ -9433,7 +9440,7 @@ return x_42; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { switch (lean_obj_tag(x_2)) { @@ -9653,6 +9660,7 @@ lean_inc(x_51); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_50); x_52 = l_Lean_Compiler_LCNF_normFunDeclImp(x_1, x_50, x_3, x_4, x_5, x_6, x_7, x_8); @@ -9863,6 +9871,7 @@ lean_dec(x_50); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_91 = !lean_is_exclusive(x_52); @@ -9895,6 +9904,7 @@ lean_inc(x_96); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_95); x_97 = l_Lean_Compiler_LCNF_normFunDeclImp(x_1, x_95, x_3, x_4, x_5, x_6, x_7, x_8); @@ -10105,6 +10115,7 @@ lean_dec(x_95); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_136 = !lean_is_exclusive(x_97); @@ -10777,6 +10788,7 @@ lean_object* x_259; lean_object* x_260; uint8_t x_261; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_259 = lean_ctor_get(x_2, 0); lean_inc(x_259); lean_inc(x_259); @@ -10826,6 +10838,7 @@ lean_object* x_268; lean_object* x_269; size_t x_270; size_t x_271; uint8_t x_27 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_268 = lean_ctor_get(x_2, 0); lean_inc(x_268); lean_inc(x_268); @@ -10877,16 +10890,15 @@ return x_278; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___rarg(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_11; +lean_dec(x_4); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normFunDeclImp___spec__2___boxed(lean_object* x_1) { @@ -10902,66 +10914,57 @@ return x_3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_1); lean_dec(x_1); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4(x_11, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10); -return x_13; +x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normFunDeclImp___spec__4(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -return x_12; +x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normFunDeclImp___spec__3(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_10; uint8_t x_11; lean_object* x_12; x_10 = lean_unbox(x_1); lean_dec(x_1); x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; +x_12 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normFunDeclImp___spec__1(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDeclImp___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normFunDeclImp(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = l_Lean_Compiler_LCNF_normFunDeclImp(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___rarg(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_11; +lean_dec(x_4); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_normCodeImp___spec__1___boxed(lean_object* x_1) { @@ -10977,16 +10980,15 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___rarg(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_11; +lean_dec(x_4); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_normCodeImp___spec__3___boxed(lean_object* x_1) { @@ -11002,54 +11004,47 @@ return x_3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_1); lean_dec(x_1); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5(x_11, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10); -return x_13; +x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__5(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -return x_12; +x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__4(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_10; uint8_t x_11; lean_object* x_12; x_10 = lean_unbox(x_1); lean_dec(x_1); x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; +x_12 = l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_normCodeImp___spec__2(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___rarg(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_11; +lean_dec(x_4); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_normCodeImp___spec__7___boxed(lean_object* x_1) { @@ -11065,87 +11060,73 @@ return x_3; LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_1); lean_dec(x_1); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9(x_11, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10); -return x_13; +x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__9(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__8(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -return x_12; +x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__8(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_10; uint8_t x_11; lean_object* x_12; x_10 = lean_unbox(x_1); lean_dec(x_1); x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; +x_12 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_normCodeImp___spec__6(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_1); lean_dec(x_1); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11(x_11, x_2, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10); -return x_13; +x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_normCodeImp___spec__11(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -return x_12; +x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_normCodeImp___spec__10(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; uint8_t x_10; lean_object* x_11; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normCodeImp___lambda__1(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = l_Lean_Compiler_LCNF_normCodeImp___lambda__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normCodeImp___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_normCodeImp(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = l_Lean_Compiler_LCNF_normCodeImp(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normFunDecl___rarg___lambda__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -11262,7 +11243,7 @@ x_7 = l_Lean_Compiler_LCNF_normCode___rarg(x_6, x_2, x_3, x_4, x_5); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -11276,19 +11257,18 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceExprFVars___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_3); lean_dec(x_3); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_replaceExprFVars(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_replaceExprFVars(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_11; +lean_dec(x_4); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceFVars(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceFVars(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -11299,13 +11279,11 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_replaceFVars___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_3); lean_dec(x_3); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_replaceFVars(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = l_Lean_Compiler_LCNF_replaceFVars(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; } } static lean_object* _init_l_Lean_Compiler_LCNF_mkFreshJpName___closed__1() { @@ -11326,7 +11304,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshJpName(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshJpName(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; @@ -11338,14 +11316,13 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkFreshJpName___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_1); -lean_dec(x_1); -x_7 = l_Lean_Compiler_LCNF_mkFreshJpName(x_6, x_2, x_3, x_4, x_5); +lean_object* x_6; +x_6 = l_Lean_Compiler_LCNF_mkFreshJpName(x_1, x_2, x_3, x_4, x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_7; +lean_dec(x_1); +return x_6; } } static lean_object* _init_l_Lean_Compiler_LCNF_mkAuxParam___closed__1() { @@ -11366,7 +11343,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -11384,16 +11361,15 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxParam___boxed(lean_object* x_1, 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; uint8_t x_9; lean_object* x_10; +uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l_Lean_Compiler_LCNF_mkAuxParam(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Compiler_LCNF_mkAuxParam(x_1, x_8, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_10; +lean_dec(x_3); +return x_9; } } LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_cleanup___spec__1(lean_object* x_1) { @@ -11404,7 +11380,7 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2(size_t x_1, size_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -11500,7 +11476,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cleanup(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cleanup(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; size_t x_13; size_t x_14; lean_object* x_15; @@ -11521,6 +11497,7 @@ x_15 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2(x_13, x_ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_15; } } @@ -11536,95 +11513,114 @@ return x_2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_9; size_t x_10; uint8_t x_11; lean_object* x_12; +size_t x_9; size_t x_10; lean_object* x_11; x_9 = lean_unbox_usize(x_1); lean_dec(x_1); x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -x_11 = lean_unbox(x_4); -lean_dec(x_4); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2(x_9, x_10, x_3, x_11, x_5, x_6, x_7, x_8); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_cleanup___spec__2(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_12; +lean_dec(x_4); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_cleanup___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getConfig(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getConfig___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_Compiler_LCNF_getConfig(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_cleanup(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; +lean_dec(x_1); +return x_6; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_CompilerM_run___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_st_mk_ref(x_2, x_6); -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_7 = lean_ctor_get(x_4, 2); +lean_inc(x_7); +x_8 = l_Lean_Compiler_LCNF_toConfigOptions(x_7); lean_dec(x_7); -x_10 = lean_box(x_3); -lean_inc(x_8); -x_11 = lean_apply_5(x_1, x_10, x_8, x_4, x_5, x_9); -if (lean_obj_tag(x_11) == 0) -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_12 = lean_ctor_get(x_11, 0); +x_9 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set_uint8(x_9, sizeof(void*)*1, x_3); +x_10 = lean_st_mk_ref(x_2, x_6); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_st_ref_get(x_8, x_13); -lean_dec(x_8); -x_15 = !lean_is_exclusive(x_14); -if (x_15 == 0) +lean_dec(x_10); +lean_inc(x_11); +x_13 = lean_apply_5(x_1, x_9, x_11, x_4, x_5, x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_16; -x_16 = lean_ctor_get(x_14, 0); +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_st_ref_get(x_11, x_15); +lean_dec(x_11); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +lean_ctor_set(x_16, 0, x_14); +return x_16; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); lean_dec(x_16); -lean_ctor_set(x_14, 0, x_12); -return x_14; -} -else -{ -lean_object* x_17; lean_object* x_18; -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); -lean_dec(x_14); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_12); -lean_ctor_set(x_18, 1, x_17); -return x_18; +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_14); +lean_ctor_set(x_20, 1, x_19); +return x_20; } } else { -uint8_t x_19; -lean_dec(x_8); -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) -{ -return x_11; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); -lean_inc(x_20); +uint8_t x_21; lean_dec(x_11); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +x_21 = !lean_is_exclusive(x_13); +if (x_21 == 0) +{ +return x_13; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_13, 0); +x_23 = lean_ctor_get(x_13, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_13); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } @@ -11651,6 +11647,7 @@ lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_CoreM(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_LCtx(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_ConfigOptions(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF_CompilerM(uint8_t builtin, lean_object* w) { lean_object * res; @@ -11668,6 +11665,9 @@ lean_dec_ref(res); res = initialize_Lean_Compiler_LCNF_LCtx(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_ConfigOptions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Compiler_LCNF_Phase_noConfusion___rarg___closed__1 = _init_l_Lean_Compiler_LCNF_Phase_noConfusion___rarg___closed__1(); lean_mark_persistent(l_Lean_Compiler_LCNF_Phase_noConfusion___rarg___closed__1); l_Lean_Compiler_LCNF_instInhabitedPhase = _init_l_Lean_Compiler_LCNF_instInhabitedPhase(); @@ -11683,7 +11683,12 @@ l_Lean_Compiler_LCNF_CompilerM_instInhabitedState___closed__1 = _init_l_Lean_Com lean_mark_persistent(l_Lean_Compiler_LCNF_CompilerM_instInhabitedState___closed__1); l_Lean_Compiler_LCNF_CompilerM_instInhabitedState = _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedState(); lean_mark_persistent(l_Lean_Compiler_LCNF_CompilerM_instInhabitedState); +l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__1 = _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__1); +l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__2 = _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext___closed__2); l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext = _init_l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext(); +lean_mark_persistent(l_Lean_Compiler_LCNF_CompilerM_instInhabitedContext); l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__1 = _init_l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__1(); lean_mark_persistent(l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__1); l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__2 = _init_l_Lean_Compiler_LCNF_instAddMessageContextCompilerM___closed__2(); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ConfigOptions.c b/stage0/stdlib/Lean/Compiler/LCNF/ConfigOptions.c new file mode 100644 index 0000000000..3b17e273dd --- /dev/null +++ b/stage0/stdlib/Lean/Compiler/LCNF/ConfigOptions.c @@ -0,0 +1,520 @@ +// Lean compiler output +// Module: Lean.Compiler.LCNF.ConfigOptions +// Imports: Init Lean.Data.Options +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_toConfigOptions___closed__3; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toConfigOptions___boxed(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__4; +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_toConfigOptions___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ConfigOptions_maxRecInline___default; +static lean_object* l_Lean_Compiler_LCNF_toConfigOptions___closed__1; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__5; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__3; +LEAN_EXPORT lean_object* l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__1___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toConfigOptions(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__2; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__1; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_compiler_maxRecInline; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__3; +LEAN_EXPORT lean_object* l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__6; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__3; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__4; +lean_object* lean_register_option(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_instInhabitedConfigOptions___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_compiler_maxRecInlineIfReduce; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2; +LEAN_EXPORT lean_object* l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1(lean_object*, lean_object*); +lean_object* l_Lean_KVMap_findCore(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ConfigOptions_maxRecInlineIfReduce___default; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__4; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_compiler_small; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedConfigOptions; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ConfigOptions_smallThreshold___default; +static lean_object* _init_l_Lean_Compiler_LCNF_ConfigOptions_smallThreshold___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_unsigned_to_nat(1u); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_ConfigOptions_maxRecInline___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_unsigned_to_nat(1u); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_ConfigOptions_maxRecInlineIfReduce___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_unsigned_to_nat(16u); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_instInhabitedConfigOptions___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +lean_ctor_set(x_2, 2, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_instInhabitedConfigOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_instInhabitedConfigOptions___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__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; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_4); +x_7 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_7, 0, x_4); +lean_inc(x_6); +lean_inc(x_5); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_6); +lean_inc(x_1); +x_9 = lean_register_option(x_1, x_8, x_3); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_dec(x_11); +lean_inc(x_4); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_4); +lean_ctor_set(x_9, 0, x_12); +return x_9; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +lean_dec(x_9); +lean_inc(x_4); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_1); +lean_ctor_set(x_14, 1, x_4); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +uint8_t x_16; +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_9); +if (x_16 == 0) +{ +return x_9; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_9, 0); +x_18 = lean_ctor_get(x_9, 1); +lean_inc(x_18); +lean_inc(x_17); +lean_dec(x_9); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; +} +} +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("compiler", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("small", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(compiler) function declarations with size `≤ small` is inlined even if there are multiple occurrences.", 105); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1; +x_3 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__5; +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_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__4; +x_3 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__6; +x_4 = l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__1(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__1(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("maxRecInline", 12); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(compiler) maximum number of times a recursive definition tagged with `[inline]` can be recursively inlined before generating an error during compilation.", 154); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1; +x_3 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__3; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__2; +x_3 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__4; +x_4 = l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__1(x_2, x_3, x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("maxRecInlineIfReduce", 20); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("(compiler) maximum number of times a recursive definition tagged with `[inlineIfReduce]` can be recursively inlined before generating an error during compilation.", 162); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = lean_unsigned_to_nat(16u); +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1; +x_3 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__3; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__2; +x_3 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__4; +x_4 = l_Lean_Option_register___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____spec__1(x_2, x_3, x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_2, 0); +x_4 = lean_ctor_get(x_2, 1); +x_5 = l_Lean_KVMap_findCore(x_1, x_3); +if (lean_obj_tag(x_5) == 0) +{ +lean_inc(x_4); +return x_4; +} +else +{ +lean_object* x_6; +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +if (lean_obj_tag(x_6) == 3) +{ +lean_object* x_7; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +lean_dec(x_6); +return x_7; +} +else +{ +lean_dec(x_6); +lean_inc(x_4); +return x_4; +} +} +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_toConfigOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_compiler_small; +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_toConfigOptions___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_compiler_maxRecInline; +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_toConfigOptions___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_compiler_maxRecInlineIfReduce; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toConfigOptions(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_2 = l_Lean_Compiler_LCNF_toConfigOptions___closed__1; +x_3 = l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1(x_1, x_2); +x_4 = l_Lean_Compiler_LCNF_toConfigOptions___closed__2; +x_5 = l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1(x_1, x_4); +x_6 = l_Lean_Compiler_LCNF_toConfigOptions___closed__3; +x_7 = l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1(x_1, x_6); +x_8 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_8, 0, x_3); +lean_ctor_set(x_8, 1, x_5); +lean_ctor_set(x_8, 2, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Option_get___at_Lean_Compiler_LCNF_toConfigOptions___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toConfigOptions___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Compiler_LCNF_toConfigOptions(x_1); +lean_dec(x_1); +return x_2; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Options(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF_ConfigOptions(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Options(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Compiler_LCNF_ConfigOptions_smallThreshold___default = _init_l_Lean_Compiler_LCNF_ConfigOptions_smallThreshold___default(); +lean_mark_persistent(l_Lean_Compiler_LCNF_ConfigOptions_smallThreshold___default); +l_Lean_Compiler_LCNF_ConfigOptions_maxRecInline___default = _init_l_Lean_Compiler_LCNF_ConfigOptions_maxRecInline___default(); +lean_mark_persistent(l_Lean_Compiler_LCNF_ConfigOptions_maxRecInline___default); +l_Lean_Compiler_LCNF_ConfigOptions_maxRecInlineIfReduce___default = _init_l_Lean_Compiler_LCNF_ConfigOptions_maxRecInlineIfReduce___default(); +lean_mark_persistent(l_Lean_Compiler_LCNF_ConfigOptions_maxRecInlineIfReduce___default); +l_Lean_Compiler_LCNF_instInhabitedConfigOptions___closed__1 = _init_l_Lean_Compiler_LCNF_instInhabitedConfigOptions___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_instInhabitedConfigOptions___closed__1); +l_Lean_Compiler_LCNF_instInhabitedConfigOptions = _init_l_Lean_Compiler_LCNF_instInhabitedConfigOptions(); +lean_mark_persistent(l_Lean_Compiler_LCNF_instInhabitedConfigOptions); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__3); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__4); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__5); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47____closed__6); +if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_47_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Compiler_LCNF_compiler_small = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Compiler_LCNF_compiler_small); +lean_dec_ref(res); +}l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__3); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80____closed__4); +if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_80_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Compiler_LCNF_compiler_maxRecInline = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Compiler_LCNF_compiler_maxRecInline); +lean_dec_ref(res); +}l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__3); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113____closed__4); +if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ConfigOptions___hyg_113_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Compiler_LCNF_compiler_maxRecInlineIfReduce = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Compiler_LCNF_compiler_maxRecInlineIfReduce); +lean_dec_ref(res); +}l_Lean_Compiler_LCNF_toConfigOptions___closed__1 = _init_l_Lean_Compiler_LCNF_toConfigOptions___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_toConfigOptions___closed__1); +l_Lean_Compiler_LCNF_toConfigOptions___closed__2 = _init_l_Lean_Compiler_LCNF_toConfigOptions___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_toConfigOptions___closed__2); +l_Lean_Compiler_LCNF_toConfigOptions___closed__3 = _init_l_Lean_Compiler_LCNF_toConfigOptions___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_toConfigOptions___closed__3); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ElimDead.c b/stage0/stdlib/Lean/Compiler/LCNF/ElimDead.c index 140b46e28d..6b27e14892 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ElimDead.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ElimDead.c @@ -22,67 +22,60 @@ LEAN_EXPORT lean_object* l_List_elem___at_Lean_Compiler_LCNF_collectLocalDecls_g lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_moveEntries___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_contains___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__1___boxed(lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); static lean_object* l_Lean_Compiler_LCNF_collectLocalDecls_go___closed__3; -lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___closed__1; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_visitFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_collectLocalDecls_go___closed__2; LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__7(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_elimDead(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_elimDead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_collectLocalDecls_go___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_elimDead___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_collectLocalDecls_go___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_elimDead___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Compiler_LCNF_Code_elimDead___spec__1(lean_object*); size_t lean_usize_modn(size_t, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_replace___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_expand___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); LEAN_EXPORT uint8_t l_List_elem___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__5(lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_HashSetImp_contains___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_collectLocalDecls_go(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instFVarIdHashSetInhabited; LEAN_EXPORT lean_object* l_List_replace___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_insert___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_collectLocalDecls(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_elimDead(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_elimDead(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_visitFunDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_visitFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_elem___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__2(lean_object* x_1, lean_object* x_2) { _start: { @@ -533,7 +526,7 @@ x_3 = l_Lean_Compiler_LCNF_collectLocalDecls_go(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -572,18 +565,17 @@ return x_18; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectExprM(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -622,18 +614,17 @@ return x_18; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l___private_Lean_Compiler_LCNF_ElimDead_0__Lean_Compiler_LCNF_ElimDead_collectFVarM(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_visitFunDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_visitFunDecl(lean_object* x_1, 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; @@ -642,6 +633,7 @@ lean_inc(x_8); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_9 = l_Lean_Compiler_LCNF_ElimDead_elimDead(x_8, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_9) == 0) { @@ -659,6 +651,7 @@ x_14 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); return x_14; } else @@ -667,6 +660,7 @@ uint8_t x_15; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_15 = !lean_is_exclusive(x_9); if (x_15 == 0) @@ -705,7 +699,7 @@ lean_dec(x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -744,7 +738,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -757,6 +751,7 @@ lean_object* x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -767,86 +762,87 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; x_13 = lean_array_fget(x_3, x_2); -x_14 = lean_box(x_5); lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_13); -x_15 = lean_apply_7(x_1, x_13, x_4, x_14, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_7(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ptr_addr(x_13); +lean_dec(x_14); +x_17 = lean_ptr_addr(x_13); lean_dec(x_13); -x_19 = lean_ptr_addr(x_16); -x_20 = lean_usize_dec_eq(x_18, x_19); -if (x_20 == 0) +x_18 = lean_ptr_addr(x_15); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_2, x_21); -x_23 = lean_array_fset(x_3, x_2, x_16); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = lean_array_fset(x_3, x_2, x_15); lean_dec(x_2); -x_2 = x_22; -x_3 = x_23; -x_9 = x_17; +x_2 = x_21; +x_3 = x_22; +x_9 = x_16; goto _start; } else { -lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_2, x_25); +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_2, x_24); lean_dec(x_2); -x_2 = x_26; -x_9 = x_17; +x_2 = x_25; +x_9 = x_16; goto _start; } } else { -uint8_t x_28; +uint8_t x_27; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) { -return x_15; +return x_14; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); -lean_dec(x_15); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_inc(x_28); +lean_dec(x_14); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__3(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -855,7 +851,7 @@ x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -917,11 +913,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_ElimDead_elimDead___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -935,6 +931,7 @@ lean_inc(x_9); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); lean_inc(x_9); x_10 = l_Lean_Compiler_LCNF_ElimDead_elimDead(x_9, x_2, x_3, x_4, x_5, x_6, x_7); @@ -967,6 +964,7 @@ x_18 = l_Lean_Compiler_LCNF_eraseLetDecl(x_8, x_3, x_4, x_5, x_6, x_15); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_8); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) @@ -995,6 +993,7 @@ lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_23 = lean_ctor_get(x_8, 3); lean_inc(x_23); x_24 = lean_st_ref_take(x_2, x_15); @@ -1104,6 +1103,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_46 = !lean_is_exclusive(x_10); @@ -1136,6 +1136,7 @@ lean_inc(x_51); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); lean_inc(x_51); x_52 = l_Lean_Compiler_LCNF_ElimDead_elimDead(x_51, x_2, x_3, x_4, x_5, x_6, x_7); @@ -1169,6 +1170,7 @@ x_61 = l_Lean_Compiler_LCNF_eraseFunDecl(x_50, x_60, x_3, x_4, x_5, x_6, x_57); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_62 = !lean_is_exclusive(x_61); if (x_62 == 0) { @@ -1393,6 +1395,7 @@ lean_dec(x_50); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_102 = !lean_is_exclusive(x_52); @@ -1425,6 +1428,7 @@ lean_inc(x_107); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); lean_inc(x_107); x_108 = l_Lean_Compiler_LCNF_ElimDead_elimDead(x_107, x_2, x_3, x_4, x_5, x_6, x_7); @@ -1458,6 +1462,7 @@ x_117 = l_Lean_Compiler_LCNF_eraseFunDecl(x_106, x_116, x_3, x_4, x_5, x_6, x_11 lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_118 = !lean_is_exclusive(x_117); if (x_118 == 0) { @@ -1682,6 +1687,7 @@ lean_dec(x_106); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_158 = !lean_is_exclusive(x_108); @@ -1736,6 +1742,7 @@ lean_dec(x_163); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_ctor_set(x_168, 0, x_1); return x_168; @@ -1751,6 +1758,7 @@ lean_dec(x_163); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_ctor_set(x_168, 0, x_1); return x_168; @@ -1767,6 +1775,7 @@ x_179 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___sp lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_163); x_180 = !lean_is_exclusive(x_179); @@ -1809,6 +1818,7 @@ lean_dec(x_163); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_188 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_188, 0, x_1); @@ -1827,6 +1837,7 @@ lean_dec(x_163); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_190 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_190, 0, x_1); @@ -1844,6 +1855,7 @@ x_194 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___sp lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_163); x_195 = lean_ctor_get(x_194, 1); @@ -2158,6 +2170,7 @@ lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_260 = lean_ctor_get(x_1, 0); lean_inc(x_260); x_261 = lean_st_ref_take(x_2, x_7); @@ -2196,6 +2209,7 @@ lean_object* x_270; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_270 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_270, 0, x_1); @@ -2205,16 +2219,6 @@ return x_270; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_visitFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ElimDead_visitFunDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_HashSetImp_contains___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -2229,60 +2233,19 @@ return x_4; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__2(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__4(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__3(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ElimDead_elimDead___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ElimDead_elimDead___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ElimDead_elimDead(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Compiler_LCNF_Code_elimDead___spec__1(lean_object* x_1) { @@ -2293,7 +2256,7 @@ x_2 = l_Lean_mkHashSetImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_elimDead(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_elimDead(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -2363,17 +2326,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_elimDead___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Code_elimDead(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_elimDead(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_elimDead(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; @@ -2444,90 +2397,82 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; x_23 = lean_ctor_get(x_1, 0); x_24 = lean_ctor_get(x_1, 1); x_25 = lean_ctor_get(x_1, 2); x_26 = lean_ctor_get(x_1, 3); x_27 = lean_ctor_get(x_1, 4); +x_28 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_dec(x_1); -x_28 = l_Lean_Compiler_LCNF_Code_elimDead(x_27, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_28) == 0) +x_29 = l_Lean_Compiler_LCNF_Code_elimDead(x_27, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_31 = x_28; +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_32 = x_29; } else { - lean_dec_ref(x_28); - x_31 = lean_box(0); + lean_dec_ref(x_29); + x_32 = lean_box(0); } -x_32 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_24); -lean_ctor_set(x_32, 2, x_25); -lean_ctor_set(x_32, 3, x_26); -lean_ctor_set(x_32, 4, x_29); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); +x_33 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_25); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*5, x_28); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); } else { - x_33 = x_31; + x_34 = x_32; } -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_dec(x_26); lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); -x_34 = lean_ctor_get(x_28, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_28, 1); +x_35 = lean_ctor_get(x_29, 0); lean_inc(x_35); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - lean_ctor_release(x_28, 1); - x_36 = x_28; +x_36 = lean_ctor_get(x_29, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_29)) { + lean_ctor_release(x_29, 0); + lean_ctor_release(x_29, 1); + x_37 = x_29; } else { - lean_dec_ref(x_28); - x_36 = lean_box(0); + lean_dec_ref(x_29); + x_37 = lean_box(0); } -if (lean_is_scalar(x_36)) { - x_37 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_37)) { + x_38 = lean_alloc_ctor(1, 2, 0); } else { - x_37 = x_36; + x_38 = x_37; } -lean_ctor_set(x_37, 0, x_34); -lean_ctor_set(x_37, 1, x_35); -return x_37; +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +return x_38; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_elimDead___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_elimDead(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_CompilerM(uint8_t builtin, lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/InferType.c b/stage0/stdlib/Lean/Compiler/LCNF/InferType.c index 45380596a5..2aee3917bf 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/InferType.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/InferType.c @@ -24,20 +24,19 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Compiler_LCNF_instantiateLCNFTypeLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* l_Lean_Expr_forallE___override(lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_userName(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1___closed__5; static lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getBinderName(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType_go(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLcCast(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLcCast(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferType___closed__5; -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2(lean_object*, uint8_t, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_succ___override(lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f___closed__2; static lean_object* l_Lean_Compiler_LCNF_InferType_inferAppType___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -47,207 +46,189 @@ static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferP uint8_t l_Lean_Expr_isErased(lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___spec__1(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); uint8_t l_Lean_Level_isEquiv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_instantiateForall_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__8; LEAN_EXPORT lean_object* l_List_isEqv___at_Lean_Compiler_LCNF_compatibleTypes___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f___closed__1; static lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams___closed__2; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams___closed__4; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Literal_type(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev_range(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams___closed__6; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1___closed__1; lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallFVars___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__1(lean_object*); lean_object* l_Lean_Expr_headBeta(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateForall_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__3; lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l_Lean_mkLevelIMax_x27(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateForall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_compatibleTypes___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLevel___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateForall_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferParamType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instantiateForall_go___closed__1; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType___closed__1; lean_object* l_Lean_Expr_sort___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams___closed__5; -lean_object* l_Lean_Compiler_LCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2___closed__1; uint8_t l_Lean_Compiler_LCNF_isPredicateType(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1___closed__4; static lean_object* l_Lean_Compiler_LCNF_instantiateForall_go___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkForallParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_isEqv___at_Lean_Compiler_LCNF_compatibleTypes___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___closed__1; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___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_Compiler_LCNF_getDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams___closed__7; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLcCast___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__5; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_mkLcCast___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_mkLcCast___closed__2; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1___closed__1; static lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2___closed__3; extern uint8_t l_instInhabitedBool; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_expr_eqv(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLevel(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLevel(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams___closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_joinTypes(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2___rarg(lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType___closed__1; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_compatibleTypes(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferType___closed__6; -lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Level_normalize(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallFVars(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallFVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__7; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); -lean_object* l_Lean_Compiler_LCNF_getType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferType___closed__2; static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__2; uint8_t l_Lean_Expr_isAnyType(lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_instantiateTypeLevelParams(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferType___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__1; lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___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*, lean_object*); @@ -258,20 +239,17 @@ lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_InferType_inferType___closed__4; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_instantiateForall_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_find(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___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_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1(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_levelOne; static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1___closed__6; lean_object* l_Lean_indentExpr(lean_object*); @@ -280,18 +258,16 @@ lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LC static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1___closed__4; static lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1___closed__2; static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1___closed__1; static lean_object* l_Lean_Compiler_LCNF_InferType_inferType___closed__3; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__1(lean_object* x_1) { _start: { @@ -332,15 +308,14 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2___closed__3; x_8 = lean_panic_fn(x_7, x_1); -x_9 = lean_box(x_2); -x_10 = lean_apply_5(x_8, x_9, x_3, x_4, x_5, x_6); -return x_10; +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; } } static lean_object* _init_l_Lean_Compiler_LCNF_isErasedCompatible_go___closed__1() { @@ -417,7 +392,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go(lean_object* x_1, 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; @@ -429,6 +404,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); lean_dec(x_8); @@ -481,6 +457,7 @@ x_25 = l_Lean_Compiler_LCNF_getType(x_24, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); if (lean_obj_tag(x_25) == 0) { uint8_t x_26; @@ -540,6 +517,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_39 = 0; x_40 = lean_box(x_39); @@ -554,6 +532,7 @@ uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_42 = l_Lean_Expr_isErased(x_8); lean_dec(x_8); @@ -623,27 +602,7 @@ return x_62; } } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___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_2); -lean_dec(x_2); -x_8 = l_panic___at_Lean_Compiler_LCNF_isErasedCompatible_go___spec__2(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_isErasedCompatible_go(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible(lean_object* x_1, 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; @@ -651,16 +610,6 @@ x_8 = l_Lean_Compiler_LCNF_isErasedCompatible_go(x_1, x_2, x_3, x_4, x_5, x_6, x return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isErasedCompatible___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_isErasedCompatible(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} LEAN_EXPORT uint8_t l_List_isEqv___at_Lean_Compiler_LCNF_compatibleTypes___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -724,92 +673,88 @@ goto _start; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_compatibleTypes(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; uint8_t x_4; -x_3 = l_Lean_Expr_getAppFn(x_1); -x_4 = l_Lean_Expr_isAnyType(x_3); +uint8_t x_3; +x_3 = l_Lean_Expr_isAnyType(x_1); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = l_Lean_Expr_isAnyType(x_2); if (x_4 == 0) { -lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_Expr_getAppFn(x_2); -x_6 = l_Lean_Expr_isAnyType(x_5); +uint8_t x_5; +x_5 = l_Lean_Expr_isErased(x_1); +if (x_5 == 0) +{ +uint8_t x_6; +x_6 = l_Lean_Expr_isErased(x_2); if (x_6 == 0) { -uint8_t x_7; -x_7 = l_Lean_Expr_isErased(x_3); -lean_dec(x_3); -if (x_7 == 0) -{ -uint8_t x_8; -x_8 = l_Lean_Expr_isErased(x_5); -lean_dec(x_5); -if (x_8 == 0) -{ -lean_object* x_9; lean_object* x_10; uint8_t x_11; +lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_inc(x_1); -x_9 = l_Lean_Expr_headBeta(x_1); +x_7 = l_Lean_Expr_headBeta(x_1); lean_inc(x_2); -x_10 = l_Lean_Expr_headBeta(x_2); -x_11 = lean_expr_eqv(x_1, x_9); +x_8 = l_Lean_Expr_headBeta(x_2); +x_9 = lean_expr_eqv(x_1, x_7); +if (x_9 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +x_1 = x_7; +x_2 = x_8; +goto _start; +} +else +{ +uint8_t x_11; +x_11 = lean_expr_eqv(x_2, x_8); if (x_11 == 0) { lean_dec(x_2); lean_dec(x_1); -x_1 = x_9; -x_2 = x_10; +x_1 = x_7; +x_2 = x_8; goto _start; } else { uint8_t x_13; -x_13 = lean_expr_eqv(x_2, x_10); +lean_dec(x_8); +lean_dec(x_7); +x_13 = lean_expr_eqv(x_1, x_2); if (x_13 == 0) { -lean_dec(x_2); -lean_dec(x_1); -x_1 = x_9; -x_2 = x_10; -goto _start; -} -else -{ -uint8_t x_15; -lean_dec(x_10); -lean_dec(x_9); -x_15 = lean_expr_eqv(x_1, x_2); -if (x_15 == 0) -{ switch (lean_obj_tag(x_1)) { case 3: { switch (lean_obj_tag(x_2)) { case 3: { -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = lean_ctor_get(x_1, 0); -lean_inc(x_16); +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_1, 0); +lean_inc(x_14); lean_dec(x_1); -x_17 = lean_ctor_get(x_2, 0); +x_15 = lean_ctor_get(x_2, 0); +lean_inc(x_15); +lean_dec(x_2); +x_16 = l_Lean_Level_isEquiv(x_14, x_15); +return x_16; +} +case 10: +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_2, 1); lean_inc(x_17); lean_dec(x_2); -x_18 = l_Lean_Level_isEquiv(x_16, x_17); -return x_18; -} -case 10: -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_2, 1); -lean_inc(x_19); -lean_dec(x_2); -x_2 = x_19; +x_2 = x_17; goto _start; } default: { -uint8_t x_21; +uint8_t x_19; lean_dec(x_2); lean_dec(x_1); -x_21 = 0; -return x_21; +x_19 = 0; +return x_19; } } } @@ -818,51 +763,51 @@ case 4: switch (lean_obj_tag(x_2)) { case 4: { -lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_22 = lean_ctor_get(x_1, 0); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_dec(x_1); +x_22 = lean_ctor_get(x_2, 0); lean_inc(x_22); -x_23 = lean_ctor_get(x_1, 1); +x_23 = lean_ctor_get(x_2, 1); lean_inc(x_23); -lean_dec(x_1); -x_24 = lean_ctor_get(x_2, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_2, 1); -lean_inc(x_25); lean_dec(x_2); -x_26 = lean_name_eq(x_22, x_24); -lean_dec(x_24); +x_24 = lean_name_eq(x_20, x_22); lean_dec(x_22); -if (x_26 == 0) +lean_dec(x_20); +if (x_24 == 0) { -uint8_t x_27; -lean_dec(x_25); +uint8_t x_25; lean_dec(x_23); -x_27 = 0; -return x_27; +lean_dec(x_21); +x_25 = 0; +return x_25; } else { -uint8_t x_28; -x_28 = l_List_isEqv___at_Lean_Compiler_LCNF_compatibleTypes___spec__1(x_23, x_25); -return x_28; +uint8_t x_26; +x_26 = l_List_isEqv___at_Lean_Compiler_LCNF_compatibleTypes___spec__1(x_21, x_23); +return x_26; } } case 10: { -lean_object* x_29; -x_29 = lean_ctor_get(x_2, 1); -lean_inc(x_29); +lean_object* x_27; +x_27 = lean_ctor_get(x_2, 1); +lean_inc(x_27); lean_dec(x_2); -x_2 = x_29; +x_2 = x_27; goto _start; } default: { -uint8_t x_31; +uint8_t x_29; lean_dec(x_2); lean_dec(x_1); -x_31 = 0; -return x_31; +x_29 = 0; +return x_29; } } } @@ -871,49 +816,49 @@ case 5: switch (lean_obj_tag(x_2)) { case 5: { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; -x_32 = lean_ctor_get(x_1, 0); +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; +x_30 = lean_ctor_get(x_1, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_1, 1); +lean_inc(x_31); +lean_dec(x_1); +x_32 = lean_ctor_get(x_2, 0); lean_inc(x_32); -x_33 = lean_ctor_get(x_1, 1); +x_33 = lean_ctor_get(x_2, 1); lean_inc(x_33); -lean_dec(x_1); -x_34 = lean_ctor_get(x_2, 0); -lean_inc(x_34); -x_35 = lean_ctor_get(x_2, 1); -lean_inc(x_35); lean_dec(x_2); -x_36 = l_Lean_Compiler_LCNF_compatibleTypes(x_32, x_34); -if (x_36 == 0) +x_34 = l_Lean_Compiler_LCNF_compatibleTypes(x_30, x_32); +if (x_34 == 0) { -uint8_t x_37; -lean_dec(x_35); +uint8_t x_35; lean_dec(x_33); -x_37 = 0; -return x_37; +lean_dec(x_31); +x_35 = 0; +return x_35; } else { -x_1 = x_33; -x_2 = x_35; +x_1 = x_31; +x_2 = x_33; goto _start; } } case 10: { -lean_object* x_39; -x_39 = lean_ctor_get(x_2, 1); -lean_inc(x_39); +lean_object* x_37; +x_37 = lean_ctor_get(x_2, 1); +lean_inc(x_37); lean_dec(x_2); -x_2 = x_39; +x_2 = x_37; goto _start; } default: { -uint8_t x_41; +uint8_t x_39; lean_dec(x_2); lean_dec(x_1); -x_41 = 0; -return x_41; +x_39 = 0; +return x_39; } } } @@ -922,49 +867,49 @@ case 6: switch (lean_obj_tag(x_2)) { case 6: { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_42 = lean_ctor_get(x_1, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_40 = lean_ctor_get(x_1, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_1, 2); +lean_inc(x_41); +lean_dec(x_1); +x_42 = lean_ctor_get(x_2, 1); lean_inc(x_42); -x_43 = lean_ctor_get(x_1, 2); +x_43 = lean_ctor_get(x_2, 2); lean_inc(x_43); -lean_dec(x_1); -x_44 = lean_ctor_get(x_2, 1); -lean_inc(x_44); -x_45 = lean_ctor_get(x_2, 2); -lean_inc(x_45); lean_dec(x_2); -x_46 = l_Lean_Compiler_LCNF_compatibleTypes(x_42, x_44); -if (x_46 == 0) +x_44 = l_Lean_Compiler_LCNF_compatibleTypes(x_40, x_42); +if (x_44 == 0) { -uint8_t x_47; -lean_dec(x_45); +uint8_t x_45; lean_dec(x_43); -x_47 = 0; -return x_47; +lean_dec(x_41); +x_45 = 0; +return x_45; } else { -x_1 = x_43; -x_2 = x_45; +x_1 = x_41; +x_2 = x_43; goto _start; } } case 10: { -lean_object* x_49; -x_49 = lean_ctor_get(x_2, 1); -lean_inc(x_49); +lean_object* x_47; +x_47 = lean_ctor_get(x_2, 1); +lean_inc(x_47); lean_dec(x_2); -x_2 = x_49; +x_2 = x_47; goto _start; } default: { -uint8_t x_51; +uint8_t x_49; lean_dec(x_2); lean_dec(x_1); -x_51 = 0; -return x_51; +x_49 = 0; +return x_49; } } } @@ -973,83 +918,103 @@ case 7: switch (lean_obj_tag(x_2)) { case 7: { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; -x_52 = lean_ctor_get(x_1, 1); -lean_inc(x_52); -x_53 = lean_ctor_get(x_1, 2); -lean_inc(x_53); +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_50 = lean_ctor_get(x_1, 1); +lean_inc(x_50); +x_51 = lean_ctor_get(x_1, 2); +lean_inc(x_51); lean_dec(x_1); -x_54 = lean_ctor_get(x_2, 1); -lean_inc(x_54); -x_55 = lean_ctor_get(x_2, 2); -lean_inc(x_55); +x_52 = lean_ctor_get(x_2, 1); +lean_inc(x_52); +x_53 = lean_ctor_get(x_2, 2); +lean_inc(x_53); lean_dec(x_2); -x_56 = l_Lean_Compiler_LCNF_compatibleTypes(x_52, x_54); -if (x_56 == 0) +x_54 = l_Lean_Compiler_LCNF_compatibleTypes(x_50, x_52); +if (x_54 == 0) { -uint8_t x_57; -lean_dec(x_55); +uint8_t x_55; lean_dec(x_53); -x_57 = 0; -return x_57; +lean_dec(x_51); +x_55 = 0; +return x_55; } else { -x_1 = x_53; -x_2 = x_55; +x_1 = x_51; +x_2 = x_53; goto _start; } } case 10: { -lean_object* x_59; -x_59 = lean_ctor_get(x_2, 1); -lean_inc(x_59); +lean_object* x_57; +x_57 = lean_ctor_get(x_2, 1); +lean_inc(x_57); lean_dec(x_2); -x_2 = x_59; +x_2 = x_57; goto _start; } default: { -uint8_t x_61; +uint8_t x_59; lean_dec(x_2); lean_dec(x_1); -x_61 = 0; -return x_61; +x_59 = 0; +return x_59; } } } case 10: { -lean_object* x_62; -x_62 = lean_ctor_get(x_1, 1); -lean_inc(x_62); +lean_object* x_60; +x_60 = lean_ctor_get(x_1, 1); +lean_inc(x_60); lean_dec(x_1); -x_1 = x_62; +x_1 = x_60; goto _start; } default: { if (lean_obj_tag(x_2) == 10) { -lean_object* x_64; -x_64 = lean_ctor_get(x_2, 1); -lean_inc(x_64); +lean_object* x_62; +x_62 = lean_ctor_get(x_2, 1); +lean_inc(x_62); lean_dec(x_2); -x_2 = x_64; +x_2 = x_62; goto _start; } else { +uint8_t x_64; +lean_dec(x_2); +lean_dec(x_1); +x_64 = 0; +return x_64; +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_2); +lean_dec(x_1); +x_65 = 1; +return x_65; +} +} +} +} +else +{ uint8_t x_66; lean_dec(x_2); lean_dec(x_1); -x_66 = 0; +x_66 = 1; return x_66; } } -} -} else { uint8_t x_67; @@ -1059,8 +1024,6 @@ x_67 = 1; return x_67; } } -} -} else { uint8_t x_68; @@ -1073,34 +1036,12 @@ return x_68; else { uint8_t x_69; -lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); x_69 = 1; return x_69; } } -else -{ -uint8_t x_70; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_70 = 1; -return x_70; -} -} -else -{ -uint8_t x_71; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_71 = 1; -return x_71; -} -} } LEAN_EXPORT lean_object* l_List_isEqv___at_Lean_Compiler_LCNF_compatibleTypes___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: @@ -1120,7 +1061,7 @@ x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getBinderName(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getBinderName(lean_object* x_1, 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; @@ -1151,17 +1092,16 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getBinderName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_getBinderName(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_InferType_getBinderName(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getType(lean_object* x_1, 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; @@ -1192,17 +1132,16 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_getType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_InferType_getType(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } -LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -1409,7 +1348,7 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallFVars(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallFVars(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -1420,32 +1359,30 @@ x_11 = l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spe lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_11; } } LEAN_EXPORT lean_object* l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Nat_foldRevM_loop___at_Lean_Compiler_LCNF_InferType_mkForallFVars___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallFVars___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_InferType_mkForallFVars(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_InferType_mkForallFVars(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { @@ -1554,7 +1491,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -1584,12 +1521,10 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_mkForallParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_InferType_mkForallParams(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_InferType_mkForallParams(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2___rarg(lean_object* x_1, lean_object* x_2) { @@ -1780,7 +1715,7 @@ return x_54; } } } -LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -1788,7 +1723,7 @@ x_5 = lean_alloc_closure((void*)(l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferT return x_5; } } -LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___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; @@ -1813,10 +1748,10 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_11 = l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__1(x_5, x_6, x_7, x_8, x_9, x_10); x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); @@ -1826,9 +1761,8 @@ lean_dec(x_11); lean_inc(x_12); x_14 = l_Lean_Expr_fvar___override(x_12); x_15 = lean_local_ctx_mk_local_decl(x_5, x_12, x_1, x_2, x_3); -x_16 = lean_box(x_6); -x_17 = lean_apply_7(x_4, x_14, x_15, x_16, x_7, x_8, x_9, x_13); -return x_17; +x_16 = lean_apply_7(x_4, x_14, x_15, x_6, x_7, x_8, x_9, x_13); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl(lean_object* x_1) { @@ -1851,40 +1785,36 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2___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_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2(x_1, x_5, x_3, x_4); +lean_object* x_5; +x_5 = l_Lean_mkFreshId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__2(x_1, x_2, x_3, x_4); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_6; +return x_5; } } LEAN_EXPORT lean_object* l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_mkFreshFVarId___at_Lean_Compiler_LCNF_InferType_withLocalDecl___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg(x_1, x_2, x_11, x_4, x_5, x_12, x_7, x_8, x_9, x_10); -return x_13; +x_12 = l_Lean_Compiler_LCNF_InferType_withLocalDecl___rarg(x_1, x_2, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } static lean_object* _init_l_Lean_Compiler_LCNF_InferType_inferConstType___closed__1() { @@ -1923,7 +1853,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType(lean_object* x_1, 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; uint8_t x_9; @@ -1938,7 +1868,7 @@ if (x_11 == 0) { lean_object* x_12; lean_object* x_13; lean_inc(x_1); -x_12 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_1, x_3, x_5, x_6, x_7); +x_12 = l_Lean_Compiler_LCNF_getDecl_x3f(x_1, x_3, x_4, x_5, x_6, x_7); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); if (lean_obj_tag(x_13) == 0) @@ -2020,15 +1950,14 @@ return x_27; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferConstType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_inferConstType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_InferType_inferConstType(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (lean_obj_tag(x_1)) { @@ -2102,6 +2031,7 @@ lean_dec(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_36 = l_Lean_Compiler_LCNF_InferType_inferType(x_35, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_36) == 0) @@ -2122,6 +2052,7 @@ uint8_t x_40; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_40 = !lean_is_exclusive(x_36); @@ -2203,7 +2134,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -2331,7 +2262,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferType(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -2352,6 +2283,7 @@ x_13 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_13; } @@ -2365,6 +2297,7 @@ x_15 = l_Lean_Compiler_LCNF_InferType_getType(x_14, x_2, x_3, x_4, x_5, x_6, x_7 lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); return x_15; } case 2: @@ -2384,6 +2317,7 @@ x_21 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_21; } @@ -2393,6 +2327,7 @@ lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_22 = lean_ctor_get(x_1, 0); lean_inc(x_22); @@ -2415,6 +2350,7 @@ lean_inc(x_27); lean_dec(x_1); x_28 = l_Lean_Compiler_LCNF_InferType_inferConstType(x_26, x_27, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); +lean_dec(x_3); return x_28; } case 5: @@ -2435,6 +2371,7 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_31 = lean_ctor_get(x_1, 0); lean_inc(x_31); @@ -2486,7 +2423,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType(lean_object* x_1, 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; @@ -2495,7 +2432,7 @@ x_9 = l_Lean_Compiler_LCNF_InferType_inferLambdaType_go(x_1, x_8, x_8, x_2, x_3, return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType(lean_object* x_1, 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; @@ -2514,7 +2451,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -2525,6 +2462,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -2546,6 +2484,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -2559,6 +2498,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -2572,6 +2512,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -2627,6 +2568,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -2657,6 +2599,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -2688,6 +2631,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -2701,6 +2645,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -2714,6 +2659,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -2768,6 +2714,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -2799,6 +2746,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -2826,7 +2774,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -2837,6 +2785,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -2858,6 +2807,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -2871,6 +2821,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -2884,6 +2835,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -2939,6 +2891,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -2969,6 +2922,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -3000,6 +2954,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -3013,6 +2968,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -3026,6 +2982,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -3080,6 +3037,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -3111,6 +3069,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -3138,7 +3097,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -3149,6 +3108,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -3170,6 +3130,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -3183,6 +3144,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -3196,6 +3158,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -3251,6 +3214,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -3281,6 +3245,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -3312,6 +3277,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -3325,6 +3291,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -3338,6 +3305,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -3392,6 +3360,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -3423,6 +3392,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -3450,7 +3420,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -3461,6 +3431,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -3482,6 +3453,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -3495,6 +3467,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -3508,6 +3481,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -3563,6 +3537,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -3593,6 +3568,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -3624,6 +3600,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -3637,6 +3614,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -3650,6 +3628,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -3704,6 +3683,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -3735,6 +3715,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -3762,7 +3743,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -3773,6 +3754,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -3794,6 +3776,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -3807,6 +3790,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -3820,6 +3804,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -3875,6 +3860,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -3905,6 +3891,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -3936,6 +3923,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -3949,6 +3937,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -3962,6 +3951,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -4016,6 +4006,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -4047,6 +4038,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -4074,7 +4066,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4085,6 +4077,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -4106,6 +4099,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -4119,6 +4113,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -4132,6 +4127,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -4187,6 +4183,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -4217,6 +4214,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -4248,6 +4246,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -4261,6 +4260,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -4274,6 +4274,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -4328,6 +4329,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -4359,6 +4361,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -4386,7 +4389,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4397,6 +4400,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -4418,6 +4422,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -4431,6 +4436,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -4444,6 +4450,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -4499,6 +4506,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -4529,6 +4537,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -4560,6 +4569,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -4573,6 +4583,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -4586,6 +4597,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -4640,6 +4652,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -4671,6 +4684,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -4698,7 +4712,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4709,6 +4723,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -4730,6 +4745,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -4743,6 +4759,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -4756,6 +4773,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -4811,6 +4829,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -4841,6 +4860,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -4872,6 +4892,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -4885,6 +4906,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -4898,6 +4920,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -4952,6 +4975,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -4983,6 +5007,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -5010,7 +5035,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -5021,6 +5046,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -5042,6 +5068,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -5055,6 +5082,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -5068,6 +5096,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -5123,6 +5152,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -5153,6 +5183,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -5184,6 +5215,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -5197,6 +5229,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -5210,6 +5243,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -5264,6 +5298,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -5295,6 +5330,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -5322,7 +5358,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -5333,6 +5369,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -5354,6 +5391,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -5367,6 +5405,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -5380,6 +5419,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -5435,6 +5475,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -5465,6 +5506,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -5496,6 +5538,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -5509,6 +5552,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -5522,6 +5566,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -5576,6 +5621,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -5607,6 +5653,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -5634,7 +5681,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -5645,6 +5692,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -5666,6 +5714,7 @@ lean_dec(x_17); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_18 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_18) == 0) @@ -5679,6 +5728,7 @@ lean_dec(x_18); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_21 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_20); if (lean_obj_tag(x_21) == 0) @@ -5692,6 +5742,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); @@ -5747,6 +5798,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_21); @@ -5777,6 +5829,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_39 = !lean_is_exclusive(x_18); @@ -5808,6 +5861,7 @@ lean_dec(x_5); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_44 = l_Lean_Compiler_LCNF_InferType_inferType(x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) @@ -5821,6 +5875,7 @@ lean_dec(x_44); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_47 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_45, x_6, x_7, x_8, x_9, x_10, x_46); if (lean_obj_tag(x_47) == 0) @@ -5834,6 +5889,7 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_49 = lean_ctor_get(x_47, 1); @@ -5888,6 +5944,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_61 = lean_ctor_get(x_47, 0); @@ -5919,6 +5976,7 @@ lean_dec(x_43); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_65 = lean_ctor_get(x_44, 0); @@ -5946,7 +6004,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -5958,7 +6016,7 @@ lean_ctor_set(x_11, 1, x_8); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_1)) { @@ -5970,6 +6028,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_10 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_9, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_10) == 0) @@ -5983,6 +6042,7 @@ uint8_t x_12; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_12 = !lean_is_exclusive(x_10); @@ -6029,6 +6089,7 @@ x_25 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_26 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1(x_21, x_20, x_24, x_25, x_22, x_3, x_4, x_5, x_6, x_7, x_18); lean_dec(x_20); @@ -6053,6 +6114,7 @@ x_32 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_30, x_31, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_32; } @@ -6063,6 +6125,7 @@ lean_dec(x_27); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_33 = !lean_is_exclusive(x_26); if (x_33 == 0) @@ -6098,6 +6161,7 @@ uint8_t x_39; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_39 = !lean_is_exclusive(x_26); if (x_39 == 0) @@ -6126,6 +6190,7 @@ uint8_t x_43; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_43 = !lean_is_exclusive(x_10); @@ -6156,6 +6221,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_48 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_47, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_48) == 0) @@ -6169,6 +6235,7 @@ uint8_t x_50; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_50 = !lean_is_exclusive(x_48); @@ -6215,6 +6282,7 @@ x_63 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_64 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2(x_59, x_58, x_62, x_63, x_60, x_3, x_4, x_5, x_6, x_7, x_56); lean_dec(x_58); @@ -6239,6 +6307,7 @@ x_70 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_68, x_69, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_70; } @@ -6249,6 +6318,7 @@ lean_dec(x_65); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_71 = !lean_is_exclusive(x_64); if (x_71 == 0) @@ -6284,6 +6354,7 @@ uint8_t x_77; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_77 = !lean_is_exclusive(x_64); if (x_77 == 0) @@ -6312,6 +6383,7 @@ uint8_t x_81; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_81 = !lean_is_exclusive(x_48); @@ -6342,6 +6414,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_86 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_85, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_86) == 0) @@ -6355,6 +6428,7 @@ uint8_t x_88; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_88 = !lean_is_exclusive(x_86); @@ -6401,6 +6475,7 @@ x_101 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_102 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3(x_97, x_96, x_100, x_101, x_98, x_3, x_4, x_5, x_6, x_7, x_94); lean_dec(x_96); @@ -6425,6 +6500,7 @@ x_108 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_106, x_1 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_108; } @@ -6435,6 +6511,7 @@ lean_dec(x_103); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_109 = !lean_is_exclusive(x_102); if (x_109 == 0) @@ -6470,6 +6547,7 @@ uint8_t x_115; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_115 = !lean_is_exclusive(x_102); if (x_115 == 0) @@ -6498,6 +6576,7 @@ uint8_t x_119; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_119 = !lean_is_exclusive(x_86); @@ -6528,6 +6607,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_124 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_123, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_124) == 0) @@ -6541,6 +6621,7 @@ uint8_t x_126; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_126 = !lean_is_exclusive(x_124); @@ -6587,6 +6668,7 @@ x_139 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_140 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4(x_135, x_134, x_138, x_139, x_136, x_3, x_4, x_5, x_6, x_7, x_132); lean_dec(x_134); @@ -6611,6 +6693,7 @@ x_146 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_144, x_1 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_146; } @@ -6621,6 +6704,7 @@ lean_dec(x_141); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_147 = !lean_is_exclusive(x_140); if (x_147 == 0) @@ -6656,6 +6740,7 @@ uint8_t x_153; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_153 = !lean_is_exclusive(x_140); if (x_153 == 0) @@ -6684,6 +6769,7 @@ uint8_t x_157; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_157 = !lean_is_exclusive(x_124); @@ -6714,6 +6800,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_162 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_161, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_162) == 0) @@ -6727,6 +6814,7 @@ uint8_t x_164; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_164 = !lean_is_exclusive(x_162); @@ -6773,6 +6861,7 @@ x_177 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_178 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5(x_173, x_172, x_176, x_177, x_174, x_3, x_4, x_5, x_6, x_7, x_170); lean_dec(x_172); @@ -6797,6 +6886,7 @@ x_184 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_182, x_1 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_184; } @@ -6807,6 +6897,7 @@ lean_dec(x_179); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_185 = !lean_is_exclusive(x_178); if (x_185 == 0) @@ -6842,6 +6933,7 @@ uint8_t x_191; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_191 = !lean_is_exclusive(x_178); if (x_191 == 0) @@ -6870,6 +6962,7 @@ uint8_t x_195; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_195 = !lean_is_exclusive(x_162); @@ -6900,6 +6993,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_200 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_199, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_200) == 0) @@ -6913,6 +7007,7 @@ uint8_t x_202; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_202 = !lean_is_exclusive(x_200); @@ -6959,6 +7054,7 @@ x_215 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_216 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6(x_211, x_210, x_214, x_215, x_212, x_3, x_4, x_5, x_6, x_7, x_208); lean_dec(x_210); @@ -6983,6 +7079,7 @@ x_222 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_220, x_2 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_222; } @@ -6993,6 +7090,7 @@ lean_dec(x_217); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_223 = !lean_is_exclusive(x_216); if (x_223 == 0) @@ -7028,6 +7126,7 @@ uint8_t x_229; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_229 = !lean_is_exclusive(x_216); if (x_229 == 0) @@ -7056,6 +7155,7 @@ uint8_t x_233; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_233 = !lean_is_exclusive(x_200); @@ -7086,6 +7186,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_238 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_237, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_238) == 0) @@ -7099,6 +7200,7 @@ uint8_t x_240; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_240 = !lean_is_exclusive(x_238); @@ -7145,6 +7247,7 @@ x_253 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_254 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7(x_249, x_248, x_252, x_253, x_250, x_3, x_4, x_5, x_6, x_7, x_246); lean_dec(x_248); @@ -7169,6 +7272,7 @@ x_260 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_258, x_2 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_260; } @@ -7179,6 +7283,7 @@ lean_dec(x_255); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_261 = !lean_is_exclusive(x_254); if (x_261 == 0) @@ -7214,6 +7319,7 @@ uint8_t x_267; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_267 = !lean_is_exclusive(x_254); if (x_267 == 0) @@ -7242,6 +7348,7 @@ uint8_t x_271; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_271 = !lean_is_exclusive(x_238); @@ -7301,6 +7408,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_288 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_287, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_288) == 0) @@ -7314,6 +7422,7 @@ uint8_t x_290; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_290 = !lean_is_exclusive(x_288); @@ -7360,6 +7469,7 @@ x_303 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_304 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8(x_299, x_298, x_302, x_303, x_300, x_3, x_4, x_5, x_6, x_7, x_296); lean_dec(x_298); @@ -7384,6 +7494,7 @@ x_310 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_308, x_3 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_310; } @@ -7394,6 +7505,7 @@ lean_dec(x_305); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_311 = !lean_is_exclusive(x_304); if (x_311 == 0) @@ -7429,6 +7541,7 @@ uint8_t x_317; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_317 = !lean_is_exclusive(x_304); if (x_317 == 0) @@ -7457,6 +7570,7 @@ uint8_t x_321; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_321 = !lean_is_exclusive(x_288); @@ -7487,6 +7601,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_326 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_325, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_326) == 0) @@ -7500,6 +7615,7 @@ uint8_t x_328; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_328 = !lean_is_exclusive(x_326); @@ -7546,6 +7662,7 @@ x_341 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_342 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9(x_337, x_336, x_340, x_341, x_338, x_3, x_4, x_5, x_6, x_7, x_334); lean_dec(x_336); @@ -7570,6 +7687,7 @@ x_348 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_346, x_3 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_348; } @@ -7580,6 +7698,7 @@ lean_dec(x_343); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_349 = !lean_is_exclusive(x_342); if (x_349 == 0) @@ -7615,6 +7734,7 @@ uint8_t x_355; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_355 = !lean_is_exclusive(x_342); if (x_355 == 0) @@ -7643,6 +7763,7 @@ uint8_t x_359; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_359 = !lean_is_exclusive(x_326); @@ -7673,6 +7794,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_364 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_363, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_364) == 0) @@ -7686,6 +7808,7 @@ uint8_t x_366; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_366 = !lean_is_exclusive(x_364); @@ -7732,6 +7855,7 @@ x_379 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_380 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10(x_375, x_374, x_378, x_379, x_376, x_3, x_4, x_5, x_6, x_7, x_372); lean_dec(x_374); @@ -7756,6 +7880,7 @@ x_386 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_384, x_3 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_386; } @@ -7766,6 +7891,7 @@ lean_dec(x_381); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_387 = !lean_is_exclusive(x_380); if (x_387 == 0) @@ -7801,6 +7927,7 @@ uint8_t x_393; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_393 = !lean_is_exclusive(x_380); if (x_393 == 0) @@ -7829,6 +7956,7 @@ uint8_t x_397; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_397 = !lean_is_exclusive(x_364); @@ -7859,6 +7987,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_402 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_401, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_402) == 0) @@ -7872,6 +8001,7 @@ uint8_t x_404; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_404 = !lean_is_exclusive(x_402); @@ -7918,6 +8048,7 @@ x_417 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_418 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11(x_413, x_412, x_416, x_417, x_414, x_3, x_4, x_5, x_6, x_7, x_410); lean_dec(x_412); @@ -7942,6 +8073,7 @@ x_424 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_422, x_4 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_424; } @@ -7952,6 +8084,7 @@ lean_dec(x_419); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_425 = !lean_is_exclusive(x_418); if (x_425 == 0) @@ -7987,6 +8120,7 @@ uint8_t x_431; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_431 = !lean_is_exclusive(x_418); if (x_431 == 0) @@ -8015,6 +8149,7 @@ uint8_t x_435; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_435 = !lean_is_exclusive(x_402); @@ -8040,7 +8175,7 @@ return x_438; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -8134,13 +8269,14 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); lean_inc(x_1); x_8 = l_Lean_Compiler_LCNF_InferType_inferType(x_1, x_2, x_3, x_4, x_5, x_6, x_7); @@ -8155,6 +8291,7 @@ uint8_t x_10; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_10 = !lean_is_exclusive(x_8); @@ -8217,6 +8354,7 @@ x_27 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_27; } @@ -8226,6 +8364,7 @@ lean_object* x_28; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_28 = lean_box(0); @@ -8257,6 +8396,7 @@ x_36 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_36; } @@ -8266,6 +8406,7 @@ lean_object* x_37; lean_object* x_38; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_37 = lean_box(0); @@ -8283,6 +8424,7 @@ uint8_t x_39; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_39 = !lean_is_exclusive(x_8); @@ -8315,7 +8457,7 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -8333,7 +8475,7 @@ x_16 = l_Lean_Compiler_LCNF_InferType_inferAppTypeCore(x_8, x_15, x_2, x_3, x_4, return x_16; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -8461,13 +8603,14 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_1); x_14 = l_Lean_Compiler_LCNF_InferType_inferType(x_1, x_8, x_9, x_10, x_11, x_12, x_13); @@ -8513,6 +8656,7 @@ x_34 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___sp lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) @@ -8539,6 +8683,7 @@ uint8_t x_39; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); @@ -8565,7 +8710,7 @@ return x_42; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -8651,6 +8796,7 @@ x_54 = lean_box(0); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_5); lean_inc(x_2); @@ -8694,6 +8840,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -8751,6 +8898,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -8783,6 +8931,7 @@ lean_object* x_61; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); @@ -8801,6 +8950,7 @@ lean_object* x_62; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); @@ -8814,7 +8964,7 @@ return x_62; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -8826,13 +8976,14 @@ lean_ctor_set(x_14, 1, x_11); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_9 = l_Lean_Compiler_LCNF_InferType_inferType(x_1, x_3, x_4, x_5, x_6, x_7, x_8); @@ -8857,6 +9008,7 @@ x_17 = lean_unsigned_to_nat(1u); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_12); lean_inc(x_2); @@ -8887,6 +9039,7 @@ x_26 = l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1(x_23, x_24, x lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_12); @@ -8902,6 +9055,7 @@ lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_27 = !lean_is_exclusive(x_18); @@ -8939,6 +9093,7 @@ lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_33 = !lean_is_exclusive(x_18); @@ -8967,6 +9122,7 @@ uint8_t x_37; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -8991,7 +9147,7 @@ return x_40; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -9102,7 +9258,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -9211,7 +9367,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -9246,7 +9402,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; @@ -9460,7 +9616,7 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -9480,7 +9636,7 @@ lean_dec(x_7); return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_dec(x_5); @@ -9490,6 +9646,7 @@ lean_object* x_12; lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); @@ -9514,6 +9671,7 @@ x_15 = lean_box(0); x_16 = l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1(x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_7); lean_dec(x_6); return x_16; } @@ -9523,6 +9681,7 @@ lean_object* x_17; lean_object* x_18; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); @@ -9536,13 +9695,14 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); x_10 = l_Lean_Compiler_LCNF_InferType_inferType(x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -9599,6 +9759,7 @@ x_30 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_30; } @@ -9643,6 +9804,7 @@ x_43 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_43; } @@ -9671,6 +9833,7 @@ x_51 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_51; } @@ -9735,6 +9898,7 @@ x_73 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_73; } @@ -9752,6 +9916,7 @@ x_77 = l_Lean_mkAppN(x_76, x_64); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_78 = l_Lean_Compiler_LCNF_InferType_inferAppType(x_77, x_4, x_5, x_6, x_7, x_8, x_56); if (lean_obj_tag(x_78) == 0) @@ -9797,6 +9962,7 @@ lean_dec(x_84); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -9835,6 +10001,7 @@ uint8_t x_96; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -9865,6 +10032,7 @@ uint8_t x_100; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -9914,6 +10082,7 @@ x_111 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_111; } @@ -9927,6 +10096,7 @@ lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -9973,6 +10143,7 @@ x_122 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_122; } @@ -9999,6 +10170,7 @@ x_129 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_129; } @@ -10023,6 +10195,7 @@ x_136 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_136; } @@ -10047,6 +10220,7 @@ x_143 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_143; } @@ -10058,6 +10232,7 @@ lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10118,6 +10293,7 @@ x_163 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_163; } @@ -10162,6 +10338,7 @@ x_176 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_176; } @@ -10190,6 +10367,7 @@ x_184 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_184; } @@ -10254,6 +10432,7 @@ x_206 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_206; } @@ -10271,6 +10450,7 @@ x_210 = l_Lean_mkAppN(x_209, x_197); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_211 = l_Lean_Compiler_LCNF_InferType_inferAppType(x_210, x_4, x_5, x_6, x_7, x_8, x_189); if (lean_obj_tag(x_211) == 0) @@ -10316,6 +10496,7 @@ lean_dec(x_217); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10349,6 +10530,7 @@ lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10381,6 +10563,7 @@ lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10432,6 +10615,7 @@ x_242 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_242; } @@ -10445,6 +10629,7 @@ lean_dec(x_147); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10493,6 +10678,7 @@ x_253 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_253; } @@ -10519,6 +10705,7 @@ x_260 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_260; } @@ -10543,6 +10730,7 @@ x_267 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_267; } @@ -10567,6 +10755,7 @@ x_274 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1( lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_274; } @@ -10578,6 +10767,7 @@ lean_dec(x_147); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10596,6 +10786,7 @@ uint8_t x_277; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10621,447 +10812,311 @@ return x_280; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_InferType_inferLambdaType_go(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferType___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_inferType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferLambdaType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_inferLambdaType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_inferForallType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__1(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__2(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__3(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__4(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__5(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__6(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__7(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__8(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__9(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__10(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_InferType_inferForallType_go___spec__11(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_InferType_inferForallType_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferForallType_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_InferType_inferForallType_go(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_getLevel_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_getLevel_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_getLevel_x3f(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_InferType_inferAppType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); +lean_object* x_14; +x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_10); -lean_dec(x_10); -x_16 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_11, x_12, x_13, x_14); +lean_object* x_15; +x_15 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferAppTypeCore___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); lean_dec(x_6); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferAppTypeCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_InferType_inferAppTypeCore(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_11); -lean_dec(x_11); -x_17 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_12, x_13, x_14, x_15); +lean_object* x_16; +x_16 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_InferType_inferProjType___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); -return x_17; +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_6); lean_dec(x_5); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_InferType_inferProjType___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_InferType_inferProjType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_InferType_inferProjType(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferType(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -11070,17 +11125,7 @@ x_8 = l_Lean_Compiler_LCNF_InferType_inferType(x_1, x_7, x_2, x_3, x_4, x_5, x_6 return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inferType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_inferType(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -11157,13 +11202,14 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLevel(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLevel(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); x_7 = l_Lean_Compiler_LCNF_inferType(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_7) == 0) @@ -11177,6 +11223,7 @@ uint8_t x_9; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); x_9 = !lean_is_exclusive(x_7); if (x_9 == 0) @@ -11234,6 +11281,7 @@ x_24 = l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1(x_23, x_2, x lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_24; } else @@ -11242,6 +11290,7 @@ lean_object* x_25; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); x_25 = l_Lean_levelOne; lean_ctor_set(x_7, 0, x_25); @@ -11272,6 +11321,7 @@ x_33 = l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1(x_32, x_2, x lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_33; } else @@ -11280,6 +11330,7 @@ lean_object* x_34; lean_object* x_35; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); x_34 = l_Lean_levelOne; x_35 = lean_alloc_ctor(0, 2, 0); @@ -11296,6 +11347,7 @@ uint8_t x_36; 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) @@ -11321,24 +11373,13 @@ return x_39; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_getLevel___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getLevel___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_getLevel(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; +return x_7; } } static lean_object* _init_l_Lean_Compiler_LCNF_mkLcCast___closed__1() { @@ -11359,13 +11400,14 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLcCast(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLcCast(lean_object* x_1, 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_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_1); x_8 = l_Lean_Compiler_LCNF_inferType(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) @@ -11379,6 +11421,7 @@ lean_dec(x_8); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_9); x_11 = l_Lean_Compiler_LCNF_getLevel(x_9, x_3, x_4, x_5, x_6, x_10); if (lean_obj_tag(x_11) == 0) @@ -11470,6 +11513,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_36 = !lean_is_exclusive(x_11); @@ -11498,6 +11542,7 @@ uint8_t x_40; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_40 = !lean_is_exclusive(x_8); @@ -11521,17 +11566,7 @@ return x_43; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkLcCast___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_mkLcCast(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { switch (lean_obj_tag(x_1)) { @@ -11554,6 +11589,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_12 = lean_ctor_get(x_1, 0); lean_inc(x_12); lean_dec(x_1); @@ -11575,6 +11611,7 @@ x_16 = l_Lean_Compiler_LCNF_getType(x_15, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_16; } case 6: @@ -11583,6 +11620,7 @@ lean_object* x_17; lean_object* x_18; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_17 = lean_ctor_get(x_1, 0); lean_inc(x_17); lean_dec(x_1); @@ -11603,23 +11641,14 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Code_inferType(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object* x_1, 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_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_8 = l_Lean_Compiler_LCNF_Code_inferType(x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { @@ -11645,6 +11674,7 @@ uint8_t x_17; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_17 = !lean_is_exclusive(x_8); if (x_17 == 0) @@ -11667,17 +11697,7 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_inferParamType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Code_inferParamType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_inferType(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_inferType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -11689,15 +11709,13 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_inferType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_AltCore_inferType(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_AltCore_inferType(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -11710,6 +11728,7 @@ lean_dec(x_8); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_1); x_11 = l_Lean_Compiler_LCNF_inferType(x_1, x_3, x_4, x_5, x_6, x_10); if (lean_obj_tag(x_11) == 0) @@ -11724,6 +11743,7 @@ x_14 = l_Lean_Compiler_LCNF_mkLetDecl(x_9, x_12, x_1, x_3, x_4, x_5, x_6, x_13); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); return x_14; } else @@ -11733,6 +11753,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_15 = !lean_is_exclusive(x_11); if (x_15 == 0) @@ -11755,17 +11776,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object* x_1, 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; @@ -11774,23 +11785,14 @@ x_9 = l_Lean_Compiler_LCNF_InferType_mkForallParams(x_1, x_2, x_8, x_3, x_4, x_5 return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkForallParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_mkForallParams(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_2); x_9 = l_Lean_Compiler_LCNF_Code_inferType(x_2, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_9) == 0) @@ -11804,6 +11806,7 @@ lean_dec(x_9); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_1); x_12 = l_Lean_Compiler_LCNF_mkForallParams(x_1, x_10, x_4, x_5, x_6, x_7, x_11); if (lean_obj_tag(x_12) == 0) @@ -11824,6 +11827,7 @@ x_18 = l_Lean_Compiler_LCNF_mkFunDecl(x_16, x_13, x_1, x_2, x_4, x_5, x_6, x_7, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_18; } else @@ -11832,6 +11836,7 @@ uint8_t x_19; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -11861,6 +11866,7 @@ uint8_t x_23; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -11885,17 +11891,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -11903,16 +11899,6 @@ x_9 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_mkAuxJpDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_mkAuxJpDecl_x27___closed__1() { _start: { @@ -11922,7 +11908,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -11932,16 +11918,6 @@ x_11 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8 return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_instantiateForall_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -12092,7 +12068,7 @@ lean_dec(x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -12103,6 +12079,7 @@ lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_4); lean_ctor_set(x_11, 1, x_9); @@ -12116,6 +12093,7 @@ x_13 = lean_array_uget(x_12, x_3); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_14 = l_Lean_Compiler_LCNF_AltCore_inferType(x_13, x_5, x_6, x_7, x_8, x_9); lean_dec(x_13); if (lean_obj_tag(x_14) == 0) @@ -12140,6 +12118,7 @@ uint8_t x_21; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_21 = !lean_is_exclusive(x_14); if (x_21 == 0) @@ -12163,7 +12142,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -12240,7 +12219,7 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_33; lean_object* x_34; uint8_t x_35; @@ -12269,6 +12248,7 @@ lean_object* x_9; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_9 = l_Lean_Compiler_LCNF_AltCore_inferType(x_8, x_3, x_4, x_5, x_6, x_7); lean_dec(x_8); if (lean_obj_tag(x_9) == 0) @@ -12343,6 +12323,7 @@ uint8_t x_28; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_28 = !lean_is_exclusive(x_9); if (x_28 == 0) @@ -12383,7 +12364,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(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; @@ -12404,6 +12385,7 @@ x_11 = l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(x_1 lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { @@ -12428,49 +12410,34 @@ return x_15; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___spec__1(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_mkCasesResultType___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___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_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_mkCasesResultType___spec__2(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_mkCasesResultType___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_mkCasesResultType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_mkCasesResultType(x_1, x_7, x_3, x_4, x_5, x_6); return x_8; } } diff --git a/stage0/stdlib/Lean/Compiler/LCNF/JoinPoints.c b/stage0/stdlib/Lean/Compiler/LCNF/JoinPoints.c index ad416da0f0..d9945094d1 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/JoinPoints.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/JoinPoints.c @@ -14,7 +14,6 @@ extern "C" { #endif size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1___closed__1; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); @@ -25,63 +24,58 @@ LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_JoinPointFinde uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1___closed__4; lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint64_t l___private_Lean_Expr_0__Lean_hashFVarId____x40_Lean_Expr___hyg_1727_(lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___closed__6; -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___lambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_FindState_candidates___default; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___closed__4; LEAN_EXPORT lean_object* l_List_replace___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___spec__2(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___closed__2; lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___closed__5; lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_erase___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__3(lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_insert___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___spec__5(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_contains___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___closed__6; size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_findJoinPoints___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_findJoinPoints; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_instInhabitedCandidateInfo; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_inheritedTraceOptions; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__4(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope(lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___spec__1(lean_object*, lean_object*, lean_object*); @@ -89,8 +83,8 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_FunDeclCore_getArity___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_erase___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__3___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___closed__5; static lean_object* l_Lean_Compiler_LCNF_findJoinPoints___closed__2; static lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___closed__1; @@ -98,11 +92,10 @@ LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at___private_Lean_Compiler_LCNF_ static lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_elem___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__2___boxed(lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___closed__3; @@ -116,7 +109,7 @@ size_t lean_usize_modn(size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_HashMapImp_contains___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__1(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -127,24 +120,22 @@ LEAN_EXPORT lean_object* l_Lean_HashSetImp_expand___at___private_Lean_Compiler_L lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_elem___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3___closed__1; size_t lean_ptr_addr(lean_object*); lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___closed__4; LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_FindState_scope___default; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_JoinPoints___hyg_2047_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_JoinPoints___hyg_2048_(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Compiler_LCNF_JoinPointFinder_instInhabitedCandidateInfo___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); @@ -152,35 +143,32 @@ extern lean_object* l_Lean_Core_instMonadCoreM; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); LEAN_EXPORT lean_object* l_Lean_HashSetImp_moveEntries___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__4(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_replace___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__6(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_FindState_scope___default___closed__1; LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_findJoinPoints___closed__1; lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__6(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find_go___closed__1; LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_HashMapImp_erase___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__1(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkFreshJpName(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkFreshJpName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -188,7 +176,7 @@ LEAN_EXPORT lean_object* l_Lean_HashMapImp_contains___at_Lean_Compiler_LCNF_Join static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___closed__3; lean_object* l_Lean_Compiler_LCNF_LCtx_addFunDecl(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___closed__7; @@ -199,13 +187,13 @@ static lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean LEAN_EXPORT uint8_t l_Lean_HashSetImp_contains___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1___closed__1; extern lean_object* l_instInhabitedPUnit; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__4___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashSet___at_Lean_Compiler_LCNF_JoinPointFinder_instInhabitedCandidateInfo___spec__1(lean_object* x_1) { _start: { @@ -322,7 +310,7 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -375,16 +363,15 @@ return x_3; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_findCandidate_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__2(lean_object* x_1, lean_object* x_2) { @@ -541,7 +528,7 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 0) @@ -550,6 +537,7 @@ lean_object* x_9; lean_object* x_10; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_9 = lean_box(0); @@ -569,6 +557,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_13 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -581,7 +570,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -594,6 +583,7 @@ x_13 = lean_array_uget(x_1, x_2); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); x_14 = l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); @@ -615,6 +605,7 @@ lean_object* x_20; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_20 = lean_alloc_ctor(0, 2, 0); @@ -624,7 +615,7 @@ return x_20; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -638,6 +629,7 @@ uint8_t x_11; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -716,6 +708,7 @@ lean_dec(x_32); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_36 = lean_box(0); @@ -734,6 +727,7 @@ lean_dec(x_32); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_38 = lean_box(0); @@ -777,6 +771,7 @@ lean_dec(x_45); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_49 = lean_box(0); @@ -797,6 +792,7 @@ lean_dec(x_45); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_52 = lean_box(0); @@ -860,6 +856,7 @@ lean_dec(x_66); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_70 = lean_box(0); @@ -884,6 +881,7 @@ lean_dec(x_66); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_73 = lean_box(0); @@ -942,42 +940,20 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_List_forM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__4(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___spec__5(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_15; +return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -1060,16 +1036,15 @@ return x_32; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_modifyCandidates(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } static lean_object* _init_l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1___closed__1() { @@ -1119,15 +1094,14 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1___closed__5; x_10 = lean_panic_fn(x_9, x_1); -x_11 = lean_box(x_4); -x_12 = lean_apply_7(x_10, x_2, x_3, x_11, x_5, x_6, x_7, x_8); -return x_12; +x_11 = lean_apply_7(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___closed__1() { @@ -1167,7 +1141,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_1)) { @@ -1199,6 +1173,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_15 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -1219,6 +1194,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_18 = !lean_is_exclusive(x_15); @@ -1256,6 +1232,7 @@ lean_object* x_24; lean_object* x_25; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -1268,26 +1245,6 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_panic___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___spec__4(lean_object* x_1, lean_object* x_2) { _start: { @@ -1587,7 +1544,7 @@ x_4 = l_Lean_HashMap_insert___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -1605,16 +1562,15 @@ return x_13; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addCandidate(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_11; +return x_10; } } LEAN_EXPORT uint8_t l_List_elem___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___spec__2(lean_object* x_1, lean_object* x_2) { @@ -1954,7 +1910,7 @@ return x_13; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -1989,6 +1945,7 @@ x_17 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPoint lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_17; @@ -2015,17 +1972,7 @@ lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addDependency(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -2055,7 +2002,7 @@ lean_dec(x_17); x_20 = !lean_is_exclusive(x_18); 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_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_21 = lean_ctor_get(x_18, 1); lean_dec(x_21); x_22 = l_Lean_Compiler_LCNF_JoinPointFinder_FindState_scope___default___closed__1; @@ -2064,305 +2011,303 @@ x_23 = lean_st_ref_set(x_3, x_18, x_19); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); lean_dec(x_23); -x_25 = lean_box(x_4); lean_inc(x_7); lean_inc(x_3); -x_26 = lean_apply_7(x_1, x_2, x_3, x_25, x_5, x_6, x_7, x_24); -if (lean_obj_tag(x_26) == 0) +x_25 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_27 = lean_ctor_get(x_26, 0); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = lean_st_ref_get(x_7, x_28); +lean_dec(x_25); +x_28 = lean_st_ref_get(x_7, x_27); lean_dec(x_7); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = lean_st_ref_take(x_3, x_30); -x_32 = lean_ctor_get(x_31, 0); +x_29 = lean_ctor_get(x_28, 1); +lean_inc(x_29); +lean_dec(x_28); +x_30 = lean_st_ref_take(x_3, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); -lean_inc(x_33); -lean_dec(x_31); -x_34 = !lean_is_exclusive(x_32); -if (x_34 == 0) +lean_dec(x_30); +x_33 = !lean_is_exclusive(x_31); +if (x_33 == 0) { -lean_object* x_35; lean_object* x_36; uint8_t x_37; -x_35 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_34 = lean_ctor_get(x_31, 1); +lean_dec(x_34); +lean_ctor_set(x_31, 1, x_14); +x_35 = lean_st_ref_set(x_3, x_31, x_32); +lean_dec(x_3); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_26); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); lean_dec(x_35); -lean_ctor_set(x_32, 1, x_14); -x_36 = lean_st_ref_set(x_3, x_32, x_33); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_26); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_31, 0); +lean_inc(x_40); +lean_dec(x_31); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_14); +x_42 = lean_st_ref_set(x_3, x_41, x_32); lean_dec(x_3); -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) -{ -lean_object* x_38; -x_38 = lean_ctor_get(x_36, 0); -lean_dec(x_38); -lean_ctor_set(x_36, 0, x_27); -return x_36; -} -else -{ -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -lean_dec(x_36); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_27); -lean_ctor_set(x_40, 1, x_39); -return x_40; -} -} -else -{ -lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_41 = lean_ctor_get(x_32, 0); -lean_inc(x_41); -lean_dec(x_32); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_42, 1, x_14); -x_43 = lean_st_ref_set(x_3, x_42, x_33); -lean_dec(x_3); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -if (lean_is_exclusive(x_43)) { - lean_ctor_release(x_43, 0); - lean_ctor_release(x_43, 1); - x_45 = x_43; +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_42)) { + lean_ctor_release(x_42, 0); + lean_ctor_release(x_42, 1); + x_44 = x_42; } else { - lean_dec_ref(x_43); - x_45 = lean_box(0); + lean_dec_ref(x_42); + x_44 = lean_box(0); } -if (lean_is_scalar(x_45)) { - x_46 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(0, 2, 0); } else { - x_46 = x_45; + x_45 = x_44; } -lean_ctor_set(x_46, 0, x_27); -lean_ctor_set(x_46, 1, x_44); -return x_46; +lean_ctor_set(x_45, 0, x_26); +lean_ctor_set(x_45, 1, x_43); +return x_45; } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; -x_47 = lean_ctor_get(x_26, 0); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_46 = lean_ctor_get(x_25, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_25, 1); lean_inc(x_47); -x_48 = lean_ctor_get(x_26, 1); -lean_inc(x_48); -lean_dec(x_26); -x_49 = lean_st_ref_get(x_7, x_48); +lean_dec(x_25); +x_48 = lean_st_ref_get(x_7, x_47); lean_dec(x_7); -x_50 = lean_ctor_get(x_49, 1); -lean_inc(x_50); -lean_dec(x_49); -x_51 = lean_st_ref_take(x_3, x_50); -x_52 = lean_ctor_get(x_51, 0); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +x_50 = lean_st_ref_take(x_3, x_49); +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); -lean_inc(x_53); -lean_dec(x_51); -x_54 = !lean_is_exclusive(x_52); -if (x_54 == 0) +lean_dec(x_50); +x_53 = !lean_is_exclusive(x_51); +if (x_53 == 0) { -lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_55 = lean_ctor_get(x_52, 1); +lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_54 = lean_ctor_get(x_51, 1); +lean_dec(x_54); +lean_ctor_set(x_51, 1, x_14); +x_55 = lean_st_ref_set(x_3, x_51, x_52); +lean_dec(x_3); +x_56 = !lean_is_exclusive(x_55); +if (x_56 == 0) +{ +lean_object* x_57; +x_57 = lean_ctor_get(x_55, 0); +lean_dec(x_57); +lean_ctor_set_tag(x_55, 1); +lean_ctor_set(x_55, 0, x_46); +return x_55; +} +else +{ +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_55, 1); +lean_inc(x_58); lean_dec(x_55); -lean_ctor_set(x_52, 1, x_14); -x_56 = lean_st_ref_set(x_3, x_52, x_53); +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_46); +lean_ctor_set(x_59, 1, x_58); +return x_59; +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_60 = lean_ctor_get(x_51, 0); +lean_inc(x_60); +lean_dec(x_51); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_14); +x_62 = lean_st_ref_set(x_3, x_61, x_52); lean_dec(x_3); -x_57 = !lean_is_exclusive(x_56); -if (x_57 == 0) -{ -lean_object* x_58; -x_58 = lean_ctor_get(x_56, 0); -lean_dec(x_58); -lean_ctor_set_tag(x_56, 1); -lean_ctor_set(x_56, 0, x_47); -return x_56; -} -else -{ -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_56, 1); -lean_inc(x_59); -lean_dec(x_56); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_47); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_61 = lean_ctor_get(x_52, 0); -lean_inc(x_61); -lean_dec(x_52); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_14); -x_63 = lean_st_ref_set(x_3, x_62, x_53); -lean_dec(x_3); -x_64 = lean_ctor_get(x_63, 1); -lean_inc(x_64); -if (lean_is_exclusive(x_63)) { - lean_ctor_release(x_63, 0); - lean_ctor_release(x_63, 1); - x_65 = x_63; +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +if (lean_is_exclusive(x_62)) { + lean_ctor_release(x_62, 0); + lean_ctor_release(x_62, 1); + x_64 = x_62; } else { - lean_dec_ref(x_63); - x_65 = lean_box(0); + lean_dec_ref(x_62); + x_64 = lean_box(0); } -if (lean_is_scalar(x_65)) { - x_66 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_64)) { + x_65 = lean_alloc_ctor(1, 2, 0); } else { - x_66 = x_65; - lean_ctor_set_tag(x_66, 1); + x_65 = x_64; + lean_ctor_set_tag(x_65, 1); } -lean_ctor_set(x_66, 0, x_47); -lean_ctor_set(x_66, 1, x_64); -return x_66; +lean_ctor_set(x_65, 0, x_46); +lean_ctor_set(x_65, 1, x_63); +return x_65; } } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; -x_67 = lean_ctor_get(x_18, 0); -lean_inc(x_67); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_66 = lean_ctor_get(x_18, 0); +lean_inc(x_66); lean_dec(x_18); -x_68 = l_Lean_Compiler_LCNF_JoinPointFinder_FindState_scope___default___closed__1; -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 = lean_st_ref_set(x_3, x_69, x_19); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_box(x_4); +x_67 = l_Lean_Compiler_LCNF_JoinPointFinder_FindState_scope___default___closed__1; +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_st_ref_set(x_3, x_68, x_19); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); lean_inc(x_7); lean_inc(x_3); -x_73 = lean_apply_7(x_1, x_2, x_3, x_72, x_5, x_6, x_7, x_71); -if (lean_obj_tag(x_73) == 0) +x_71 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_70); +if (lean_obj_tag(x_71) == 0) { -lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); -lean_inc(x_75); -lean_dec(x_73); -x_76 = lean_st_ref_get(x_7, x_75); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +x_74 = lean_st_ref_get(x_7, x_73); lean_dec(x_7); -x_77 = lean_ctor_get(x_76, 1); +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); +x_76 = lean_st_ref_take(x_3, x_75); +x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); lean_dec(x_76); -x_78 = lean_st_ref_take(x_3, x_77); -x_79 = lean_ctor_get(x_78, 0); +x_79 = lean_ctor_get(x_77, 0); lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_ctor_get(x_79, 0); -lean_inc(x_81); -if (lean_is_exclusive(x_79)) { - lean_ctor_release(x_79, 0); - lean_ctor_release(x_79, 1); - x_82 = x_79; +if (lean_is_exclusive(x_77)) { + lean_ctor_release(x_77, 0); + lean_ctor_release(x_77, 1); + x_80 = x_77; } else { - lean_dec_ref(x_79); - x_82 = lean_box(0); + lean_dec_ref(x_77); + x_80 = lean_box(0); } -if (lean_is_scalar(x_82)) { - x_83 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_80)) { + x_81 = lean_alloc_ctor(0, 2, 0); } else { - x_83 = x_82; + x_81 = x_80; } -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_14); -x_84 = lean_st_ref_set(x_3, x_83, x_80); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_14); +x_82 = lean_st_ref_set(x_3, x_81, x_78); lean_dec(x_3); -x_85 = lean_ctor_get(x_84, 1); -lean_inc(x_85); -if (lean_is_exclusive(x_84)) { - lean_ctor_release(x_84, 0); - lean_ctor_release(x_84, 1); - x_86 = x_84; +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_82)) { + lean_ctor_release(x_82, 0); + lean_ctor_release(x_82, 1); + x_84 = x_82; } else { - lean_dec_ref(x_84); - x_86 = lean_box(0); + lean_dec_ref(x_82); + x_84 = lean_box(0); } -if (lean_is_scalar(x_86)) { - x_87 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_84)) { + x_85 = lean_alloc_ctor(0, 2, 0); } else { - x_87 = x_86; + x_85 = x_84; } -lean_ctor_set(x_87, 0, x_74); -lean_ctor_set(x_87, 1, x_85); -return x_87; +lean_ctor_set(x_85, 0, x_72); +lean_ctor_set(x_85, 1, x_83); +return x_85; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_88 = lean_ctor_get(x_73, 0); -lean_inc(x_88); -x_89 = lean_ctor_get(x_73, 1); -lean_inc(x_89); -lean_dec(x_73); -x_90 = lean_st_ref_get(x_7, x_89); +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; +x_86 = lean_ctor_get(x_71, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_71, 1); +lean_inc(x_87); +lean_dec(x_71); +x_88 = lean_st_ref_get(x_7, x_87); lean_dec(x_7); -x_91 = lean_ctor_get(x_90, 1); +x_89 = lean_ctor_get(x_88, 1); +lean_inc(x_89); +lean_dec(x_88); +x_90 = lean_st_ref_take(x_3, x_89); +x_91 = lean_ctor_get(x_90, 0); lean_inc(x_91); +x_92 = lean_ctor_get(x_90, 1); +lean_inc(x_92); lean_dec(x_90); -x_92 = lean_st_ref_take(x_3, x_91); -x_93 = lean_ctor_get(x_92, 0); +x_93 = lean_ctor_get(x_91, 0); lean_inc(x_93); -x_94 = lean_ctor_get(x_92, 1); -lean_inc(x_94); -lean_dec(x_92); -x_95 = lean_ctor_get(x_93, 0); -lean_inc(x_95); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_96 = x_93; +if (lean_is_exclusive(x_91)) { + lean_ctor_release(x_91, 0); + lean_ctor_release(x_91, 1); + x_94 = x_91; } else { - lean_dec_ref(x_93); - x_96 = lean_box(0); + lean_dec_ref(x_91); + x_94 = lean_box(0); } -if (lean_is_scalar(x_96)) { - x_97 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(0, 2, 0); } else { - x_97 = x_96; + x_95 = x_94; } -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_14); -x_98 = lean_st_ref_set(x_3, x_97, x_94); +lean_ctor_set(x_95, 0, x_93); +lean_ctor_set(x_95, 1, x_14); +x_96 = lean_st_ref_set(x_3, x_95, x_92); lean_dec(x_3); -x_99 = lean_ctor_get(x_98, 1); -lean_inc(x_99); -if (lean_is_exclusive(x_98)) { - lean_ctor_release(x_98, 0); - lean_ctor_release(x_98, 1); - x_100 = x_98; +x_97 = lean_ctor_get(x_96, 1); +lean_inc(x_97); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_98 = x_96; } else { - lean_dec_ref(x_98); - x_100 = lean_box(0); + lean_dec_ref(x_96); + x_98 = lean_box(0); } -if (lean_is_scalar(x_100)) { - x_101 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_98)) { + x_99 = lean_alloc_ctor(1, 2, 0); } else { - x_101 = x_100; - lean_ctor_set_tag(x_101, 1); + x_99 = x_98; + lean_ctor_set_tag(x_99, 1); } -lean_ctor_set(x_101, 0, x_88); -lean_ctor_set(x_101, 1, x_99); -return x_101; +lean_ctor_set(x_99, 0, x_86); +lean_ctor_set(x_99, 1, x_97); +return x_99; } } } @@ -2371,20 +2316,10 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compi _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT uint8_t l_Lean_HashSetImp_contains___at___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -2401,7 +2336,7 @@ lean_dec(x_8); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -2459,20 +2394,19 @@ return x_4; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_isInScope(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -2555,19 +2489,18 @@ return x_32; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_addToScope(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -2580,6 +2513,7 @@ x_13 = lean_array_uget(x_1, x_2); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); x_14 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); @@ -2604,6 +2538,7 @@ uint8_t x_20; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_20 = !lean_is_exclusive(x_14); @@ -2632,6 +2567,7 @@ lean_object* x_24; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_24 = lean_alloc_ctor(0, 2, 0); @@ -2641,28 +2577,26 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_10; lean_object* x_11; x_10 = lean_ctor_get(x_1, 2); lean_inc(x_10); lean_dec(x_1); -x_11 = lean_box(x_5); -x_12 = lean_apply_8(x_2, x_10, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -return x_12; +x_11 = lean_apply_8(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_13 = lean_ctor_get(x_1, 0); -lean_inc(x_13); +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); lean_dec(x_1); -x_14 = lean_box(x_5); -x_15 = lean_apply_8(x_2, x_13, x_3, x_4, x_14, x_6, x_7, x_8, x_9); -return x_15; +x_13 = lean_apply_8(x_2, x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; } } } @@ -2670,11 +2604,11 @@ static lean_object* _init_l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Join _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_JoinPointFinder_find_go___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_JoinPointFinder_find_go), 8, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -2688,6 +2622,7 @@ x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); x_15 = l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2(x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); @@ -2712,6 +2647,7 @@ uint8_t x_21; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_21 = !lean_is_exclusive(x_15); @@ -2740,6 +2676,7 @@ lean_object* x_25; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_25 = lean_alloc_ctor(0, 2, 0); @@ -2758,7 +2695,7 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find_go(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find_go(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_1)) { @@ -2872,6 +2809,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_38 = lean_box(0); lean_ctor_set(x_24, 0, x_38); @@ -2905,6 +2843,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_45 = !lean_is_exclusive(x_40); @@ -2981,6 +2920,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_59 = lean_box(0); x_60 = lean_alloc_ctor(0, 2, 0); @@ -3015,6 +2955,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_67 = lean_ctor_get(x_62, 1); @@ -3121,6 +3062,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_86 = lean_box(0); lean_ctor_set(x_72, 0, x_86); @@ -3154,6 +3096,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_93 = !lean_is_exclusive(x_88); @@ -3230,6 +3173,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_107 = lean_box(0); x_108 = lean_alloc_ctor(0, 2, 0); @@ -3264,6 +3208,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_115 = lean_ctor_get(x_110, 1); @@ -3302,6 +3247,7 @@ x_121 = lean_box(0); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_122 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1(x_21, x_119, x_120, x_121, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3380,6 +3326,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_ctor_set(x_124, 0, x_121); return x_124; @@ -3412,6 +3359,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_144 = !lean_is_exclusive(x_139); @@ -3486,6 +3434,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_156 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_156, 0, x_121); @@ -3519,6 +3468,7 @@ lean_dec(x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_163 = lean_ctor_get(x_158, 1); @@ -3556,6 +3506,7 @@ lean_dec(x_10); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_166 = !lean_is_exclusive(x_122); @@ -3589,6 +3540,7 @@ lean_dec(x_10); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_170 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3609,6 +3561,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_173 = !lean_is_exclusive(x_170); @@ -3639,6 +3592,7 @@ lean_dec(x_10); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_177 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3659,6 +3613,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_180 = !lean_is_exclusive(x_177); @@ -3694,6 +3649,7 @@ lean_dec(x_184); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_186 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_removeCandidatesContainedIn(x_185, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3714,6 +3670,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_189 = !lean_is_exclusive(x_186); @@ -3749,7 +3706,7 @@ x_195 = lean_ctor_get(x_193, 0); lean_inc(x_195); x_196 = lean_ctor_get(x_193, 4); lean_inc(x_196); -x_197 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_JoinPointFinder_find_go___boxed), 8, 1); +x_197 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_JoinPointFinder_find_go), 8, 1); lean_closure_set(x_197, 0, x_196); lean_inc(x_195); x_198 = lean_alloc_ctor(1, 1, 0); @@ -3757,6 +3714,7 @@ lean_ctor_set(x_198, 0, x_195); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_199 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_withNewScope___rarg(x_197, x_198, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_199) == 0) @@ -3789,6 +3747,7 @@ lean_dec(x_193); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_207 = !lean_is_exclusive(x_199); @@ -3825,6 +3784,7 @@ lean_dec(x_211); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_214 = l_Lean_Compiler_LCNF_JoinPointFinder_find_go(x_213, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3845,6 +3805,7 @@ lean_dec(x_212); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_217 = !lean_is_exclusive(x_214); @@ -3884,6 +3845,7 @@ lean_dec(x_221); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_225 = lean_box(0); @@ -3904,6 +3866,7 @@ lean_dec(x_221); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_228 = lean_box(0); @@ -3936,6 +3899,7 @@ lean_inc(x_235); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_236 = l___private_Lean_Compiler_LCNF_JoinPoints_0__Lean_Compiler_LCNF_JoinPointFinder_eraseCandidate(x_235, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3960,6 +3924,7 @@ lean_dec(x_240); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_244 = lean_box(0); @@ -3978,6 +3943,7 @@ lean_dec(x_240); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_246 = lean_box(0); @@ -4018,6 +3984,7 @@ lean_dec(x_252); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_256 = lean_box(0); @@ -4038,6 +4005,7 @@ lean_dec(x_252); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_259 = lean_box(0); @@ -4075,6 +4043,7 @@ lean_object* x_267; lean_object* x_268; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -4090,51 +4059,27 @@ return x_268; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_AltCore_forCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_14; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_find_go___spec__3(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_JoinPointFinder_find_go(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_14; } } static lean_object* _init_l_Lean_Compiler_LCNF_JoinPointFinder_find___closed__1() { @@ -4158,7 +4103,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -4238,16 +4183,6 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_find___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_JoinPointFinder_find(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__2(lean_object* x_1, lean_object* x_2) { _start: { @@ -4349,61 +4284,60 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_9; lean_object* x_10; x_9 = l_Lean_Compiler_LCNF_AltCore_getCode(x_1); -x_10 = lean_box(x_4); -x_11 = lean_apply_7(x_2, x_9, x_3, x_10, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_11) == 0) +x_10 = lean_apply_7(x_2, x_9, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -x_14 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(x_1, x_13); -lean_ctor_set(x_11, 0, x_14); -return x_11; +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(x_1, x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -x_16 = lean_ctor_get(x_11, 1); -lean_inc(x_16); +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); -lean_dec(x_11); -x_17 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(x_1, x_15); -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -return x_18; +lean_inc(x_14); +lean_dec(x_10); +x_16 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(x_1, x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } else { -uint8_t x_19; +uint8_t x_18; lean_dec(x_1); -x_19 = !lean_is_exclusive(x_11); -if (x_19 == 0) +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) { -return x_11; +return x_10; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_11, 0); -x_21 = lean_ctor_get(x_11, 1); -lean_inc(x_21); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); lean_inc(x_20); -lean_dec(x_11); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -4412,11 +4346,11 @@ static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPoi _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_JoinPointFinder_replace_go___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_JoinPointFinder_replace_go), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -4427,6 +4361,7 @@ lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_3); @@ -4443,6 +4378,7 @@ x_15 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_16 = l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5(x_12, x_15, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_16) == 0) @@ -4468,6 +4404,7 @@ lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_23 = !lean_is_exclusive(x_16); if (x_23 == 0) @@ -4491,7 +4428,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -4916,6 +4853,7 @@ lean_dec(x_79); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_86 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_86, 0, x_1); @@ -4936,6 +4874,7 @@ lean_dec(x_79); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_88 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_88, 0, x_1); lean_ctor_set(x_88, 1, x_7); @@ -4956,6 +4895,7 @@ x_92 = l_Lean_Compiler_LCNF_eraseLetDecl(x_79, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_79); x_93 = !lean_is_exclusive(x_92); if (x_93 == 0) @@ -5010,6 +4950,7 @@ x_111 = l_Lean_Compiler_LCNF_eraseLetDecl(x_79, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_79); x_112 = lean_ctor_get(x_111, 1); lean_inc(x_112); @@ -5833,6 +5774,7 @@ lean_dec(x_263); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_268 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_266, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_268) == 0) @@ -6051,6 +5993,7 @@ lean_dec(x_261); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_310 = !lean_is_exclusive(x_268); @@ -6104,6 +6047,7 @@ lean_dec(x_267); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_324 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_266, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_324) == 0) @@ -6274,6 +6218,7 @@ lean_dec(x_262); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_360 = !lean_is_exclusive(x_324); if (x_360 == 0) @@ -6305,6 +6250,7 @@ lean_dec(x_267); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_365 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_266, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_365) == 0) @@ -6419,6 +6365,7 @@ lean_dec(x_262); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_388 = lean_ctor_get(x_365, 0); lean_inc(x_388); @@ -6464,6 +6411,7 @@ lean_dec(x_267); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_394 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_266, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_394) == 0) @@ -6581,6 +6529,7 @@ lean_dec(x_262); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_418 = lean_ctor_get(x_394, 0); lean_inc(x_418); @@ -6618,6 +6567,7 @@ lean_inc(x_424); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_425 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_424, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_425) == 0) @@ -6838,6 +6788,7 @@ lean_dec(x_422); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_469 = !lean_is_exclusive(x_425); @@ -7310,6 +7261,7 @@ lean_object* x_556; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_556 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_556, 0, x_1); @@ -7349,38 +7301,16 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_AltCore_mapCodeM___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__5(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_1); lean_dec(x_1); x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_JoinPointFinder_replace_go___spec__6(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__4(lean_object* x_1, lean_object* x_2) { @@ -7682,7 +7612,7 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_2) == 0) @@ -7715,7 +7645,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -7747,100 +7677,135 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_46; lean_object* x_47; uint8_t x_48; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_mkHashMapImp___rarg(x_8); x_10 = lean_ctor_get(x_2, 0); -x_11 = lean_ctor_get(x_10, 1); -x_12 = lean_array_get_size(x_11); -x_13 = lean_nat_dec_lt(x_8, x_12); +x_46 = lean_ctor_get(x_10, 1); +x_47 = lean_array_get_size(x_46); +x_48 = lean_nat_dec_lt(x_8, x_47); +if (x_48 == 0) +{ +lean_dec(x_47); +x_11 = x_9; +x_12 = x_7; +goto block_45; +} +else +{ +uint8_t x_49; +x_49 = lean_nat_dec_le(x_47, x_47); +if (x_49 == 0) +{ +lean_dec(x_47); +x_11 = x_9; +x_12 = x_7; +goto block_45; +} +else +{ +size_t x_50; size_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_50 = 0; +x_51 = lean_usize_of_nat(x_47); +lean_dec(x_47); +x_52 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(x_46, x_50, x_51, x_9, x_3, x_4, x_5, x_6, x_7); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_11 = x_53; +x_12 = x_54; +goto block_45; +} +} +block_45: +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_1); if (x_13 == 0) { -uint8_t x_14; -lean_dec(x_12); -x_14 = !lean_is_exclusive(x_1); -if (x_14 == 0) +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_14 = lean_ctor_get(x_1, 0); +x_15 = lean_ctor_get(x_1, 1); +x_16 = lean_ctor_get(x_1, 2); +x_17 = lean_ctor_get(x_1, 3); +x_18 = lean_ctor_get(x_1, 4); +x_19 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_18, x_11, x_3, x_4, x_5, x_6, x_12); +if (lean_obj_tag(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_1, 0); -x_16 = lean_ctor_get(x_1, 1); -x_17 = lean_ctor_get(x_1, 2); -x_18 = lean_ctor_get(x_1, 3); -x_19 = lean_ctor_get(x_1, 4); -x_20 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_19, x_9, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_20) == 0) +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) { -uint8_t x_21; -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) -{ -lean_object* x_22; -x_22 = lean_ctor_get(x_20, 0); -lean_ctor_set(x_1, 4, x_22); -lean_ctor_set(x_20, 0, x_1); -return x_20; +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_1, 4, x_21); +lean_ctor_set(x_19, 0, x_1); +return x_19; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_20, 0); -x_24 = lean_ctor_get(x_20, 1); -lean_inc(x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); lean_inc(x_23); -lean_dec(x_20); -lean_ctor_set(x_1, 4, x_23); -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_1); -lean_ctor_set(x_25, 1, x_24); -return x_25; +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_1, 4, x_22); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } else { -uint8_t x_26; +uint8_t x_25; lean_free_object(x_1); -lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); -x_26 = !lean_is_exclusive(x_20); -if (x_26 == 0) +lean_dec(x_14); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) { -return x_20; +return x_19; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_20, 0); -x_28 = lean_ctor_get(x_20, 1); -lean_inc(x_28); +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); lean_inc(x_27); -lean_dec(x_20); -x_29 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_30 = lean_ctor_get(x_1, 0); -x_31 = lean_ctor_get(x_1, 1); -x_32 = lean_ctor_get(x_1, 2); -x_33 = lean_ctor_get(x_1, 3); -x_34 = lean_ctor_get(x_1, 4); -lean_inc(x_34); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; +x_29 = lean_ctor_get(x_1, 0); +x_30 = lean_ctor_get(x_1, 1); +x_31 = lean_ctor_get(x_1, 2); +x_32 = lean_ctor_get(x_1, 3); +x_33 = lean_ctor_get(x_1, 4); +x_34 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_33); lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); +lean_inc(x_29); lean_dec(x_1); -x_35 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_34, x_9, x_3, x_4, x_5, x_6, x_7); +x_35 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_33, x_11, x_3, x_4, x_5, x_6, x_12); if (lean_obj_tag(x_35) == 0) { lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; @@ -7856,12 +7821,13 @@ if (lean_is_exclusive(x_35)) { lean_dec_ref(x_35); x_38 = lean_box(0); } -x_39 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_39, 0, x_30); -lean_ctor_set(x_39, 1, x_31); -lean_ctor_set(x_39, 2, x_32); -lean_ctor_set(x_39, 3, x_33); +x_39 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_39, 0, x_29); +lean_ctor_set(x_39, 1, x_30); +lean_ctor_set(x_39, 2, x_31); +lean_ctor_set(x_39, 3, x_32); lean_ctor_set(x_39, 4, x_36); +lean_ctor_set_uint8(x_39, sizeof(void*)*5, x_34); if (lean_is_scalar(x_38)) { x_40 = lean_alloc_ctor(0, 2, 0); } else { @@ -7874,10 +7840,10 @@ return x_40; else { lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_33); lean_dec(x_32); lean_dec(x_31); lean_dec(x_30); +lean_dec(x_29); x_41 = lean_ctor_get(x_35, 0); lean_inc(x_41); x_42 = lean_ctor_get(x_35, 1); @@ -7901,307 +7867,6 @@ return x_44; } } } -else -{ -uint8_t x_45; -x_45 = lean_nat_dec_le(x_12, x_12); -if (x_45 == 0) -{ -uint8_t x_46; -lean_dec(x_12); -x_46 = !lean_is_exclusive(x_1); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_47 = lean_ctor_get(x_1, 0); -x_48 = lean_ctor_get(x_1, 1); -x_49 = lean_ctor_get(x_1, 2); -x_50 = lean_ctor_get(x_1, 3); -x_51 = lean_ctor_get(x_1, 4); -x_52 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_51, x_9, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_52) == 0) -{ -uint8_t x_53; -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -lean_object* x_54; -x_54 = lean_ctor_get(x_52, 0); -lean_ctor_set(x_1, 4, x_54); -lean_ctor_set(x_52, 0, x_1); -return x_52; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_52, 0); -x_56 = lean_ctor_get(x_52, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_52); -lean_ctor_set(x_1, 4, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_57, 0, x_1); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -else -{ -uint8_t x_58; -lean_free_object(x_1); -lean_dec(x_50); -lean_dec(x_49); -lean_dec(x_48); -lean_dec(x_47); -x_58 = !lean_is_exclusive(x_52); -if (x_58 == 0) -{ -return x_52; -} -else -{ -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_52, 0); -x_60 = lean_ctor_get(x_52, 1); -lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_52); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; -} -} -} -else -{ -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_62 = lean_ctor_get(x_1, 0); -x_63 = lean_ctor_get(x_1, 1); -x_64 = lean_ctor_get(x_1, 2); -x_65 = lean_ctor_get(x_1, 3); -x_66 = lean_ctor_get(x_1, 4); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -lean_dec(x_1); -x_67 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_66, x_9, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_67) == 0) -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_68 = lean_ctor_get(x_67, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_70 = x_67; -} else { - lean_dec_ref(x_67); - x_70 = lean_box(0); -} -x_71 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_71, 0, x_62); -lean_ctor_set(x_71, 1, x_63); -lean_ctor_set(x_71, 2, x_64); -lean_ctor_set(x_71, 3, x_65); -lean_ctor_set(x_71, 4, x_68); -if (lean_is_scalar(x_70)) { - x_72 = lean_alloc_ctor(0, 2, 0); -} else { - x_72 = x_70; -} -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_69); -return x_72; -} -else -{ -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; -lean_dec(x_65); -lean_dec(x_64); -lean_dec(x_63); -lean_dec(x_62); -x_73 = lean_ctor_get(x_67, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_67, 1); -lean_inc(x_74); -if (lean_is_exclusive(x_67)) { - lean_ctor_release(x_67, 0); - lean_ctor_release(x_67, 1); - x_75 = x_67; -} else { - lean_dec_ref(x_67); - x_75 = lean_box(0); -} -if (lean_is_scalar(x_75)) { - x_76 = lean_alloc_ctor(1, 2, 0); -} else { - x_76 = x_75; -} -lean_ctor_set(x_76, 0, x_73); -lean_ctor_set(x_76, 1, x_74); -return x_76; -} -} -} -else -{ -size_t x_77; size_t x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; -x_77 = 0; -x_78 = lean_usize_of_nat(x_12); -lean_dec(x_12); -x_79 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(x_11, x_77, x_78, x_9, x_3, x_4, x_5, x_6, x_7); -x_80 = lean_ctor_get(x_79, 0); -lean_inc(x_80); -x_81 = lean_ctor_get(x_79, 1); -lean_inc(x_81); -lean_dec(x_79); -x_82 = !lean_is_exclusive(x_1); -if (x_82 == 0) -{ -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; -x_83 = lean_ctor_get(x_1, 0); -x_84 = lean_ctor_get(x_1, 1); -x_85 = lean_ctor_get(x_1, 2); -x_86 = lean_ctor_get(x_1, 3); -x_87 = lean_ctor_get(x_1, 4); -x_88 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_87, x_80, x_3, x_4, x_5, x_6, x_81); -if (lean_obj_tag(x_88) == 0) -{ -uint8_t x_89; -x_89 = !lean_is_exclusive(x_88); -if (x_89 == 0) -{ -lean_object* x_90; -x_90 = lean_ctor_get(x_88, 0); -lean_ctor_set(x_1, 4, x_90); -lean_ctor_set(x_88, 0, x_1); -return x_88; -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_88, 0); -x_92 = lean_ctor_get(x_88, 1); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_88); -lean_ctor_set(x_1, 4, x_91); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_1); -lean_ctor_set(x_93, 1, x_92); -return x_93; -} -} -else -{ -uint8_t x_94; -lean_free_object(x_1); -lean_dec(x_86); -lean_dec(x_85); -lean_dec(x_84); -lean_dec(x_83); -x_94 = !lean_is_exclusive(x_88); -if (x_94 == 0) -{ -return x_88; -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_88, 0); -x_96 = lean_ctor_get(x_88, 1); -lean_inc(x_96); -lean_inc(x_95); -lean_dec(x_88); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; -} -} -} -else -{ -lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_98 = lean_ctor_get(x_1, 0); -x_99 = lean_ctor_get(x_1, 1); -x_100 = lean_ctor_get(x_1, 2); -x_101 = lean_ctor_get(x_1, 3); -x_102 = lean_ctor_get(x_1, 4); -lean_inc(x_102); -lean_inc(x_101); -lean_inc(x_100); -lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_1); -x_103 = l_Lean_Compiler_LCNF_JoinPointFinder_replace_go(x_102, x_80, x_3, x_4, x_5, x_6, x_81); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_104 = lean_ctor_get(x_103, 0); -lean_inc(x_104); -x_105 = lean_ctor_get(x_103, 1); -lean_inc(x_105); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_106 = x_103; -} else { - lean_dec_ref(x_103); - x_106 = lean_box(0); -} -x_107 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_107, 0, x_98); -lean_ctor_set(x_107, 1, x_99); -lean_ctor_set(x_107, 2, x_100); -lean_ctor_set(x_107, 3, x_101); -lean_ctor_set(x_107, 4, x_104); -if (lean_is_scalar(x_106)) { - x_108 = lean_alloc_ctor(0, 2, 0); -} else { - x_108 = x_106; -} -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_105); -return x_108; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_101); -lean_dec(x_100); -lean_dec(x_99); -lean_dec(x_98); -x_109 = lean_ctor_get(x_103, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_103, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_103)) { - lean_ctor_release(x_103, 0); - lean_ctor_release(x_103, 1); - x_111 = x_103; -} else { - lean_dec_ref(x_103); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_111; -} -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_110); -return x_112; -} -} -} -} } } LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__6___boxed(lean_object* x_1) { @@ -8216,43 +7881,39 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_JoinPointFinder_replace___spec__8(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_JoinPointFinder_replace___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_JoinPointFinder_replace(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_JoinPointFinder_replace(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); -return x_9; +return x_8; } } static lean_object* _init_l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1___closed__1() { @@ -8263,7 +7924,7 @@ x_1 = l_Lean_inheritedTraceOptions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -8387,7 +8048,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -8531,7 +8192,7 @@ return x_56; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -8591,13 +8252,14 @@ x_1 = lean_mk_string_from_bytes(" jp candidates", 14); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); x_7 = l_Lean_Compiler_LCNF_JoinPointFinder_find(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_7) == 0) @@ -8660,6 +8322,7 @@ uint8_t x_29; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); x_29 = !lean_is_exclusive(x_7); if (x_29 == 0) @@ -8685,49 +8348,35 @@ return x_32; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Decl_findJoinPoints___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Decl_findJoinPoints___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_findJoinPoints___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_findJoinPoints(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; +return x_9; } } static lean_object* _init_l_Lean_Compiler_LCNF_findJoinPoints___closed__1() { @@ -8744,7 +8393,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_findJoinPoints___closed__2() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_findJoinPoints___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_findJoinPoints), 6, 0); return x_1; } } @@ -8768,7 +8417,7 @@ x_1 = l_Lean_Compiler_LCNF_findJoinPoints___closed__3; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_JoinPoints___hyg_2047_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_JoinPoints___hyg_2048_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -8867,7 +8516,7 @@ l_Lean_Compiler_LCNF_findJoinPoints___closed__3 = _init_l_Lean_Compiler_LCNF_fin lean_mark_persistent(l_Lean_Compiler_LCNF_findJoinPoints___closed__3); l_Lean_Compiler_LCNF_findJoinPoints = _init_l_Lean_Compiler_LCNF_findJoinPoints(); lean_mark_persistent(l_Lean_Compiler_LCNF_findJoinPoints); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_JoinPoints___hyg_2047_(lean_io_mk_world()); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_JoinPoints___hyg_2048_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Level.c b/stage0/stdlib/Lean/Compiler/LCNF/Level.c index 18c65f8481..85088a2420 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Level.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Level.c @@ -2498,33 +2498,35 @@ return x_1; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_13 = lean_ctor_get(x_1, 0); x_14 = lean_ctor_get(x_1, 2); x_15 = lean_ctor_get(x_1, 3); x_16 = lean_ctor_get(x_1, 4); +x_17 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_dec(x_1); -x_17 = l_Lean_Compiler_LCNF_Decl_setLevelParams___closed__2; +x_18 = l_Lean_Compiler_LCNF_Decl_setLevelParams___closed__2; lean_inc(x_14); -x_18 = l_Lean_CollectLevelParams_visitExpr(x_14, x_17); -x_19 = l_Lean_Compiler_LCNF_CollectLevelParams_visitParams(x_15, x_18); +x_19 = l_Lean_CollectLevelParams_visitExpr(x_14, x_18); +x_20 = l_Lean_Compiler_LCNF_CollectLevelParams_visitParams(x_15, x_19); lean_inc(x_16); -x_20 = l_Lean_Compiler_LCNF_CollectLevelParams_visitCode(x_16, x_19); -x_21 = lean_ctor_get(x_20, 2); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_array_to_list(lean_box(0), x_21); -x_23 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_23, 0, x_13); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_14); -lean_ctor_set(x_23, 3, x_15); -lean_ctor_set(x_23, 4, x_16); -return x_23; +x_21 = l_Lean_Compiler_LCNF_CollectLevelParams_visitCode(x_16, x_20); +x_22 = lean_ctor_get(x_21, 2); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_array_to_list(lean_box(0), x_22); +x_24 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_24, 0, x_13); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_24, 2, x_14); +lean_ctor_set(x_24, 3, x_15); +lean_ctor_set(x_24, 4, x_16); +lean_ctor_set_uint8(x_24, sizeof(void*)*5, x_17); +return x_24; } } } diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Main.c b/stage0/stdlib/Lean/Compiler/LCNF/Main.c index 7a137b121e..7ada3d1238 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Main.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Main.c @@ -14,13 +14,12 @@ extern "C" { #endif static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__13; -lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__23; lean_object* l_Lean_KVMap_setBool(lean_object*, lean_object*, uint8_t); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__3; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__21; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__1; @@ -31,7 +30,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_isMatcher___at_Lean_Compiler_LCNF_shouldGenerateCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__6; lean_object* l_Lean_Compiler_LCNF_getPassManager___rarg(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -41,37 +40,31 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint_ lean_object* l_Lean_getConstInfo___at_Lean_Meta_mkConstWithFreshMVarLevels___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_showDecl___closed__1; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_showDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__4; static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__8; lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__2; static lean_object* l_Lean_Compiler_LCNF_showDecl___closed__2; lean_object* l_Nat_max(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__5; static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__9; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__5; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__2; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__19; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_main___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrCore(lean_object*, uint8_t, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___closed__1; -lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__6; +lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__7; static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__11; @@ -81,41 +74,41 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__1___boxe static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__10; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__12; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__5; +lean_object* l_Lean_Compiler_LCNF_markRecDecls(lean_object*); lean_object* l_Nat_repr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkpoint(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkpoint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_is_matcher(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_ConstantInfo_hasValue(lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); lean_object* l_Lean_Compiler_LCNF_ppDecl_x27(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_main___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_main___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_checkDeadLocalDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__3; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_compile___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__12; -lean_object* l_Lean_Compiler_LCNF_Decl_check(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Decl_check(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_compiler_check; lean_object* l_List_redLength___rarg(lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__16; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1(size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_lcnf_compile_decls(lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,6 +116,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_compile(lean_object*, lean_object* lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__20; static lean_object* l_Lean_Compiler_LCNF_compile___closed__1; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__6; lean_object* l_Lean_Compiler_LCNF_CompilerM_run___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__6; @@ -131,35 +125,39 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint_ static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__7; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_compile___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280_(lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkpoint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__15; static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__18; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__4; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__3; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__4; lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instBEqExpr; lean_object* l_Lean_Compiler_LCNF_getDeclInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__5; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode_isCompIrrelevant(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_showDecl(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__1; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__2; static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__14; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__9; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__1; @@ -169,8 +167,8 @@ lean_object* l_Lean_Compiler_LCNF_Decl_size(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__2___closed__1; static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__22; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___closed__13; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_toDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_toDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode___closed__6; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_shouldGenerateCode_isCompIrrelevant(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -1069,7 +1067,7 @@ x_1 = l_Lean_Compiler_compiler_check; return x_1; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; uint8_t x_10; @@ -1084,6 +1082,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_11 = lean_box(0); x_12 = lean_alloc_ctor(0, 2, 0); @@ -1214,7 +1213,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -1301,6 +1300,7 @@ lean_dec(x_16); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_3); x_33 = l_Lean_Compiler_LCNF_ppDecl(x_3, x_5, x_6, x_7, x_8, x_32); if (lean_obj_tag(x_33) == 0) @@ -1399,6 +1399,7 @@ lean_dec(x_7); lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); x_62 = !lean_is_exclusive(x_33); if (x_62 == 0) @@ -1534,6 +1535,7 @@ lean_dec(x_81); lean_inc(x_8); lean_inc(x_80); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_3); x_96 = l_Lean_Compiler_LCNF_ppDecl(x_3, x_5, x_6, x_80, x_8, x_95); if (lean_obj_tag(x_96) == 0) @@ -1631,6 +1633,7 @@ lean_dec(x_80); lean_dec(x_10); lean_dec(x_8); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); x_123 = lean_ctor_get(x_96, 0); lean_inc(x_123); @@ -1710,7 +1713,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -1721,6 +1724,7 @@ lean_object* x_12; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_5); @@ -1749,6 +1753,7 @@ x_20 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); x_21 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(x_19, x_1, x_13, x_20, x_6, x_7, x_8, x_9, x_18); if (lean_obj_tag(x_21) == 0) @@ -1762,6 +1767,7 @@ uint8_t x_23; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_23 = !lean_is_exclusive(x_21); if (x_23 == 0) @@ -1813,6 +1819,7 @@ uint8_t x_34; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_34 = !lean_is_exclusive(x_21); if (x_34 == 0) @@ -1875,6 +1882,7 @@ x_54 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___c lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_1); x_55 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(x_54, x_1, x_13, x_52, x_6, x_7, x_8, x_9, x_53); lean_dec(x_52); @@ -1889,6 +1897,7 @@ uint8_t x_57; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_57 = !lean_is_exclusive(x_55); if (x_57 == 0) @@ -1940,6 +1949,7 @@ uint8_t x_68; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_68 = !lean_is_exclusive(x_55); if (x_68 == 0) @@ -1964,7 +1974,7 @@ return x_71; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkpoint(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkpoint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; @@ -1976,6 +1986,7 @@ x_11 = lean_box(0); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_12 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1(x_1, x_2, x_9, x_10, x_11, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_12) == 0) { @@ -1997,6 +2008,7 @@ if (x_18 == 0) lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_ctor_set(x_12, 0, x_11); return x_12; @@ -2026,6 +2038,7 @@ lean_object* x_24; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_24 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_24, 0, x_11); @@ -2046,6 +2059,7 @@ uint8_t x_26; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_26 = !lean_is_exclusive(x_12); if (x_26 == 0) @@ -2071,52 +2085,36 @@ return x_29; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___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, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_1); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_3); lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1(x_1, x_2, x_11, x_12, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); -return x_14; +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_checkpoint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_checkpoint(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1(size_t x_1, size_t x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -2127,6 +2125,7 @@ lean_object* x_10; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_3); lean_ctor_set(x_10, 1, x_8); @@ -2141,6 +2140,7 @@ x_13 = lean_array_uset(x_3, x_2, x_12); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_14 = l_Lean_Compiler_LCNF_toDecl(x_11, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_14) == 0) { @@ -2165,6 +2165,7 @@ lean_dec(x_13); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_21 = !lean_is_exclusive(x_14); if (x_21 == 0) { @@ -2187,18 +2188,23 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +uint8_t x_9; lean_object* x_10; uint8_t x_11; x_9 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); x_10 = lean_ctor_get(x_1, 2); lean_inc(x_10); -x_11 = lean_box(x_9); +x_11 = !lean_is_exclusive(x_4); +if (x_11 == 0) +{ +lean_object* x_12; +lean_ctor_set_uint8(x_4, sizeof(void*)*1, x_9); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_12 = lean_apply_6(x_10, x_2, x_11, x_5, x_6, x_7, x_8); +lean_inc(x_4); +x_12 = lean_apply_6(x_10, x_2, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -2211,7 +2217,7 @@ x_15 = lean_ctor_get(x_1, 1); lean_inc(x_15); lean_dec(x_1); lean_inc(x_13); -x_16 = l_Lean_Compiler_LCNF_checkpoint(x_15, x_13, x_9, x_5, x_6, x_7, x_14); +x_16 = l_Lean_Compiler_LCNF_checkpoint(x_15, x_13, x_4, x_5, x_6, x_7, x_14); if (lean_obj_tag(x_16) == 0) { uint8_t x_17; @@ -2267,6 +2273,7 @@ return x_26; else { uint8_t x_27; +lean_dec(x_4); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -2291,6 +2298,114 @@ return x_30; } } } +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_4, 0); +lean_inc(x_31); +lean_dec(x_4); +x_32 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set_uint8(x_32, sizeof(void*)*1, x_9); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_32); +x_33 = lean_apply_6(x_10, x_2, x_32, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_ctor_get(x_1, 1); +lean_inc(x_36); +lean_dec(x_1); +lean_inc(x_34); +x_37 = l_Lean_Compiler_LCNF_checkpoint(x_36, x_34, x_32, x_5, x_6, x_7, x_35); +if (lean_obj_tag(x_37) == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_39 = x_37; +} else { + lean_dec_ref(x_37); + x_39 = lean_box(0); +} +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_34); +if (lean_is_scalar(x_39)) { + x_41 = lean_alloc_ctor(0, 2, 0); +} else { + x_41 = x_39; +} +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_38); +return x_41; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +lean_dec(x_34); +x_42 = lean_ctor_get(x_37, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_37)) { + lean_ctor_release(x_37, 0); + lean_ctor_release(x_37, 1); + x_44 = x_37; +} else { + lean_dec_ref(x_37); + x_44 = lean_box(0); +} +if (lean_is_scalar(x_44)) { + x_45 = lean_alloc_ctor(1, 2, 0); +} else { + x_45 = x_44; +} +lean_ctor_set(x_45, 0, x_42); +lean_ctor_set(x_45, 1, x_43); +return x_45; +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_32); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +x_46 = lean_ctor_get(x_33, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_33, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_48 = x_33; +} else { + lean_dec_ref(x_33); + x_48 = lean_box(0); +} +if (lean_is_scalar(x_48)) { + x_49 = lean_alloc_ctor(1, 2, 0); +} else { + x_49 = x_48; +} +lean_ctor_set(x_49, 0, x_46); +lean_ctor_set(x_49, 1, x_47); +return x_49; +} +} +} } static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___closed__1() { _start: @@ -2300,7 +2415,7 @@ x_1 = lean_mk_string_from_bytes("Running pass: ", 14); return x_1; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2311,6 +2426,7 @@ lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_4); lean_ctor_set(x_11, 1, x_9); @@ -2336,6 +2452,7 @@ x_18 = lean_box(0); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(x_12, x_4, x_18, x_5, x_6, x_7, x_8, x_17); if (lean_obj_tag(x_19) == 0) { @@ -2348,6 +2465,7 @@ uint8_t x_21; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_21 = !lean_is_exclusive(x_19); if (x_21 == 0) { @@ -2398,6 +2516,7 @@ uint8_t x_32; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_32 = !lean_is_exclusive(x_19); if (x_32 == 0) { @@ -2446,6 +2565,7 @@ lean_dec(x_46); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_49 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(x_12, x_4, x_47, x_5, x_6, x_7, x_8, x_48); lean_dec(x_47); if (lean_obj_tag(x_49) == 0) @@ -2459,6 +2579,7 @@ uint8_t x_51; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_51 = !lean_is_exclusive(x_49); if (x_51 == 0) { @@ -2509,6 +2630,7 @@ uint8_t x_62; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_62 = !lean_is_exclusive(x_49); if (x_62 == 0) { @@ -2532,7 +2654,7 @@ return x_65; } } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -2676,7 +2798,7 @@ return x_56; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -2687,6 +2809,7 @@ lean_object* x_12; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_5); @@ -2701,6 +2824,7 @@ x_13 = lean_array_uget(x_2, x_4); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_13); x_14 = l_Lean_Compiler_LCNF_ppDecl(x_13, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_14) == 0) @@ -2754,6 +2878,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_35 = !lean_is_exclusive(x_14); if (x_35 == 0) @@ -2777,7 +2902,7 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2864,7 +2989,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -2892,7 +3017,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; @@ -2903,184 +3028,190 @@ x_10 = 0; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_11 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1(x_9, x_10, x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; lean_object* x_19; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; lean_object* x_20; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_14 = l_Lean_Compiler_LCNF_getPassManager___rarg(x_6, x_13); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +x_14 = l_Lean_Compiler_LCNF_markRecDecls(x_12); +x_15 = l_Lean_Compiler_LCNF_getPassManager___rarg(x_6, x_13); +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_array_get_size(x_15); -x_18 = lean_usize_of_nat(x_17); -lean_dec(x_17); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_array_get_size(x_16); +x_19 = lean_usize_of_nat(x_18); +lean_dec(x_18); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(x_15, x_18, x_10, x_12, x_3, x_4, x_5, x_6, x_16); -lean_dec(x_15); -if (lean_obj_tag(x_19) == 0) +lean_inc(x_3); +x_20 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(x_16, x_19, x_10, x_14, x_3, x_4, x_5, x_6, x_17); +lean_dec(x_16); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Compiler_LCNF_PassManager_run___lambda__2___closed__2; -x_23 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(x_22, x_3, x_4, x_5, x_6, x_21); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_unbox(x_24); -lean_dec(x_24); -if (x_25 == 0) -{ -uint8_t x_26; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_26 = !lean_is_exclusive(x_23); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = l_Lean_Compiler_LCNF_PassManager_run___lambda__2___closed__2; +x_24 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(x_23, x_3, x_4, x_5, x_6, x_22); +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unbox(x_25); +lean_dec(x_25); if (x_26 == 0) { -lean_object* x_27; -x_27 = lean_ctor_get(x_23, 0); -lean_dec(x_27); -lean_ctor_set(x_23, 0, x_20); -return x_23; +uint8_t x_27; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_27 = !lean_is_exclusive(x_24); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_24, 0); +lean_dec(x_28); +lean_ctor_set(x_24, 0, x_21); +return x_24; } else { -lean_object* x_28; lean_object* x_29; -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_dec(x_23); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_20); -lean_ctor_set(x_29, 1, x_28); -return x_29; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_24, 1); +lean_inc(x_29); +lean_dec(x_24); +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_21); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } else { -lean_object* x_30; lean_object* x_31; size_t x_32; lean_object* x_33; lean_object* x_34; -x_30 = lean_ctor_get(x_23, 1); -lean_inc(x_30); -lean_dec(x_23); -x_31 = lean_array_get_size(x_20); -x_32 = lean_usize_of_nat(x_31); -lean_dec(x_31); -x_33 = lean_box(0); -x_34 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(x_22, x_20, x_32, x_10, x_33, x_3, x_4, x_5, x_6, x_30); -if (lean_obj_tag(x_34) == 0) +lean_object* x_31; lean_object* x_32; size_t x_33; lean_object* x_34; lean_object* x_35; +x_31 = lean_ctor_get(x_24, 1); +lean_inc(x_31); +lean_dec(x_24); +x_32 = lean_array_get_size(x_21); +x_33 = lean_usize_of_nat(x_32); +lean_dec(x_32); +x_34 = lean_box(0); +x_35 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(x_23, x_21, x_33, x_10, x_34, x_3, x_4, x_5, x_6, x_31); +if (lean_obj_tag(x_35) == 0) { -uint8_t x_35; -x_35 = !lean_is_exclusive(x_34); -if (x_35 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_36; -x_36 = lean_ctor_get(x_34, 0); -lean_dec(x_36); -lean_ctor_set(x_34, 0, x_20); -return x_34; +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_21); +return x_35; } else { -lean_object* x_37; lean_object* x_38; -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_dec(x_34); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_20); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } else { -uint8_t x_39; -lean_dec(x_20); -x_39 = !lean_is_exclusive(x_34); -if (x_39 == 0) +uint8_t x_40; +lean_dec(x_21); +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) { -return x_34; +return x_35; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_34, 0); -x_41 = lean_ctor_get(x_34, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +x_42 = lean_ctor_get(x_35, 1); +lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_34); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } } else { -uint8_t x_43; +uint8_t x_44; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_19); -if (x_43 == 0) +lean_dec(x_3); +x_44 = !lean_is_exclusive(x_20); +if (x_44 == 0) { -return x_19; +return x_20; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_19, 0); -x_45 = lean_ctor_get(x_19, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_20, 0); +x_46 = lean_ctor_get(x_20, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_19); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_dec(x_20); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_47; +uint8_t x_48; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_47 = !lean_is_exclusive(x_11); -if (x_47 == 0) +lean_dec(x_3); +x_48 = !lean_is_exclusive(x_11); +if (x_48 == 0) { return x_11; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_11, 0); -x_49 = lean_ctor_get(x_11, 1); +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_11, 0); +x_50 = lean_ctor_get(x_11, 1); +lean_inc(x_50); lean_inc(x_49); -lean_inc(x_48); lean_dec(x_11); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; uint8_t x_10; @@ -3149,6 +3280,7 @@ uint8_t x_31; lean_dec(x_4); lean_dec(x_5); lean_dec(x_3); +lean_dec(x_2); x_31 = !lean_is_exclusive(x_28); if (x_31 == 0) { @@ -3188,6 +3320,7 @@ lean_dec(x_14); lean_dec(x_4); lean_dec(x_5); lean_dec(x_3); +lean_dec(x_2); x_19 = l_Lean_Compiler_LCNF_shouldGenerateCode___closed__9; x_20 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_20, 0, x_19); @@ -3290,6 +3423,7 @@ lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_dec(x_48); lean_dec(x_5); lean_dec(x_3); +lean_dec(x_2); x_66 = lean_ctor_get(x_63, 0); lean_inc(x_66); x_67 = lean_ctor_get(x_63, 1); @@ -3331,6 +3465,7 @@ lean_dec(x_49); lean_dec(x_48); lean_dec(x_5); lean_dec(x_3); +lean_dec(x_2); x_54 = l_Lean_Compiler_LCNF_shouldGenerateCode___closed__9; x_55 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_55, 0, x_54); @@ -3344,119 +3479,96 @@ return x_55; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -size_t x_9; size_t x_10; uint8_t x_11; lean_object* x_12; +size_t x_9; size_t x_10; lean_object* x_11; x_9 = lean_unbox_usize(x_1); lean_dec(x_1); x_10 = lean_unbox_usize(x_2); lean_dec(x_2); -x_11 = lean_unbox(x_4); -lean_dec(x_4); -x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1(x_9, x_10, x_3, x_11, x_5, x_6, x_7, x_8); -return x_12; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PassManager_run___spec__1(x_9, x_10, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_addTrace___at_Lean_Compiler_LCNF_PassManager_run___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_3); lean_dec(x_3); x_12 = lean_unbox_usize(x_4); lean_dec(x_4); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(x_1, x_2, x_11, x_12, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager_run___spec__4(x_1, x_2, x_11, x_12, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_2); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PassManager_run___spec__5(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PassManager_run___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PassManager_run___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PassManager_run___lambda__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PassManager_run___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_run___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_PassManager_run(x_1, x_7, x_3, x_4, x_5, x_6); return x_8; } } @@ -3497,7 +3609,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_compile(lean_object* x_1, lean_obj _start: { lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; -x_5 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PassManager_run___boxed), 6, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PassManager_run), 6, 1); lean_closure_set(x_5, 0, x_1); x_6 = l_Lean_Compiler_LCNF_compile___closed__3; x_7 = 0; @@ -3582,7 +3694,7 @@ x_7 = l_Lean_Compiler_LCNF_showDecl(x_6, x_2, x_3, x_4, x_5); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_main___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_main___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; @@ -3645,7 +3757,7 @@ x_5 = l_List_redLength___rarg(x_1); x_6 = lean_mk_empty_array_with_capacity(x_5); lean_dec(x_5); x_7 = l_List_toArrayAux___rarg(x_1, x_6); -x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_main___lambda__1___boxed), 6, 1); +x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_main___lambda__1), 6, 1); lean_closure_set(x_8, 0, x_7); x_9 = l_Lean_Compiler_LCNF_compile___closed__3; x_10 = 0; @@ -3653,17 +3765,7 @@ x_11 = l_Lean_Compiler_LCNF_CompilerM_run___rarg(x_8, x_9, x_10, x_2, x_3, x_4); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_main___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_main___lambda__1(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__1() { _start: { lean_object* x_1; @@ -3671,17 +3773,17 @@ x_1 = lean_mk_string_from_bytes("init", 4); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__2; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__3() { _start: { lean_object* x_1; @@ -3689,17 +3791,17 @@ x_1 = lean_mk_string_from_bytes("test", 4); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__4() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__2; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__3; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__3; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__5() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__5() { _start: { lean_object* x_1; @@ -3707,21 +3809,21 @@ x_1 = lean_mk_string_from_bytes("jp", 2); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__6() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_checkpoint___spec__1___closed__2; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__5; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__2; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__2; x_3 = 1; x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) @@ -3730,7 +3832,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__4; +x_6 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__4; x_7 = l_Lean_registerTraceClass(x_6, x_3, x_5); if (lean_obj_tag(x_7) == 0) { @@ -3746,7 +3848,7 @@ lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; x_11 = lean_ctor_get(x_10, 1); lean_inc(x_11); lean_dec(x_10); -x_12 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__6; +x_12 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__6; x_13 = 0; x_14 = l_Lean_registerTraceClass(x_12, x_13, x_11); return x_14; @@ -3970,19 +4072,19 @@ l_Lean_Compiler_LCNF_showDecl___closed__1 = _init_l_Lean_Compiler_LCNF_showDecl_ lean_mark_persistent(l_Lean_Compiler_LCNF_showDecl___closed__1); l_Lean_Compiler_LCNF_showDecl___closed__2 = _init_l_Lean_Compiler_LCNF_showDecl___closed__2(); lean_mark_persistent(l_Lean_Compiler_LCNF_showDecl___closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__3); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__4(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__4); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__5(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__5); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__6(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272____closed__6); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1272_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__3); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__4); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__5); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280____closed__6); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Main___hyg_1280_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/PassManager.c b/stage0/stdlib/Lean/Compiler/LCNF/PassManager.c index 91a919f5f0..7c2ebaab2f 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/PassManager.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/PassManager.c @@ -58,7 +58,7 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassMa static lean_object* l_Lean_Compiler_LCNF_Phase_instToStringPhase___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_toNat___boxed(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassManager_validate___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_PassInstaller_installAfter___elambda__1___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -133,7 +133,7 @@ static lean_object* l_Lean_Compiler_LCNF_PassInstaller_replacePass___elambda__1_ LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Phase_instDecidableLePhaseInstLEPhase(uint8_t, uint8_t); static lean_object* l_Lean_Compiler_LCNF_instInhabitedPass___closed__2; lean_object* l_Array_findIdx_x3f_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___spec__1(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassInstaller_installAfter___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_PassManager_findHighestOccurrence___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -141,8 +141,7 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PassManager LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_instLEPhase; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Phase_instLTPhase; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PassInstaller_installBeforeEachOccurrence(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedPass___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedPass___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Lean_Compiler_LCNF_Pass_occurrence___default() { _start: @@ -161,7 +160,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedPass___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedPass___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -207,15 +206,14 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedPass___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_instInhabitedPass___lambda__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_instInhabitedPass___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } static lean_object* _init_l_Lean_Compiler_LCNF_instInhabitedPassInstaller___rarg___closed__1() { @@ -438,7 +436,7 @@ x_3 = l_Lean_Compiler_LCNF_Phase_instToStringPhase(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -449,6 +447,7 @@ lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_4); @@ -457,63 +456,64 @@ return x_11; } else { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_array_uget(x_4, x_3); x_13 = lean_unsigned_to_nat(0u); x_14 = lean_array_uset(x_4, x_3, x_13); -x_15 = lean_box(x_5); lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_16 = lean_apply_6(x_1, x_12, x_15, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_16) == 0) +lean_inc(x_5); +x_15 = lean_apply_6(x_1, x_12, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = 1; -x_20 = lean_usize_add(x_3, x_19); -x_21 = lean_array_uset(x_14, x_3, x_17); -x_3 = x_20; -x_4 = x_21; -x_9 = x_18; +lean_dec(x_15); +x_18 = 1; +x_19 = lean_usize_add(x_3, x_18); +x_20 = lean_array_uset(x_14, x_3, x_16); +x_3 = x_19; +x_4 = x_20; +x_9 = x_17; goto _start; } else { -uint8_t x_23; +uint8_t x_22; lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) +x_22 = !lean_is_exclusive(x_15); +if (x_22 == 0) { -return x_16; +return x_15; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_16, 0); -x_25 = lean_ctor_get(x_16, 1); -lean_inc(x_25); +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_15, 0); +x_24 = lean_ctor_get(x_15, 1); lean_inc(x_24); -lean_dec(x_16); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_inc(x_23); +lean_dec(x_15); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_23); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; @@ -529,7 +529,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration(lean_object* _start: { lean_object* x_5; lean_object* x_6; -x_5 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___boxed), 7, 1); +x_5 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1), 7, 1); lean_closure_set(x_5, 0, x_2); x_6 = lean_alloc_ctor(0, 3, 1); lean_ctor_set(x_6, 0, x_4); @@ -542,25 +542,13 @@ return x_6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___spec__1(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Pass_mkPerDeclaration___elambda__1___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Passes.c b/stage0/stdlib/Lean/Compiler/LCNF/Passes.c index 2a9b2e2e8e..747f615f9c 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Passes.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Passes.c @@ -107,7 +107,7 @@ static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Passes static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Passes___hyg_586____lambda__3___closed__2; extern lean_object* l_Lean_Compiler_LCNF_pullInstances; static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Passes___hyg_586____lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_init___elambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_init___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_simp(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Passes___hyg_586____lambda__2___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); @@ -120,7 +120,7 @@ static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Passes static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__12; static lean_object* l_Lean_Compiler_LCNF_addPass___closed__12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getPassManager___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_init___elambda__1___spec__1(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_init___elambda__1___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ImportM_runCoreM___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__11; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); @@ -157,7 +157,7 @@ static lean_object* l_Lean_Compiler_LCNF_builtinPassManager___closed__9; static lean_object* l_Lean_Compiler_LCNF_init___closed__2; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_init___elambda__1___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_init___elambda__1___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -190,7 +190,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_init___elambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_init___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -304,46 +304,42 @@ return x_1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_init___elambda__1___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_init___elambda__1___spec__1(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_init___elambda__1___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_init___elambda__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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_init___elambda__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_init___elambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__1() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1u); -x_2 = 0; -x_3 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 2, x_2); -return x_3; +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_2, 0, x_1); +lean_ctor_set_uint8(x_2, 1, x_1); +lean_ctor_set_uint8(x_2, 2, x_1); +return x_2; } } static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__2() { @@ -359,15 +355,13 @@ return x_3; static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__3() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1u); -x_2 = 1; -x_3 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 2, x_2); -return x_3; +uint8_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_2, 0, x_1); +lean_ctor_set_uint8(x_2, 1, x_1); +lean_ctor_set_uint8(x_2, 2, x_1); +return x_2; } } static lean_object* _init_l_Lean_Compiler_LCNF_builtinPassManager___closed__4() { diff --git a/stage0/stdlib/Lean/Compiler/LCNF/PhaseExt.c b/stage0/stdlib/Lean/Compiler/LCNF/PhaseExt.c index f053ac5b49..6eebb9650b 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/PhaseExt.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/PhaseExt.c @@ -13,10 +13,10 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__3___boxed(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_baseExt; -static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); @@ -24,27 +24,26 @@ lean_object* l_Lean_PersistentEnvExtension_getModuleEntries___rarg(lean_object*, LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forM___at_Lean_Compiler_LCNF_forEachDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__3___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5; uint8_t l_Lean_Name_quickLt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBaseDeclCore_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBaseDecl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_forEachDecl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_sortDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__7; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Compiler_LCNF_forEachDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux_traverse___at_Lean_Compiler_LCNF_forEachDecl___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_binSearchAux___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at_Lean_Compiler_LCNF_forEachDecl___spec__5(lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instHashableName; uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forM___at_Lean_Compiler_LCNF_forEachDecl___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__7; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__3; static lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_sortDecls___spec__1___closed__1; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__3; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Array_qpartition_loop___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -57,39 +56,39 @@ uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_forM___at_Lean_Compiler_LCNF_forEachDecl___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_sortDecls(lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__4; -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_forEachDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__5(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_declLt___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__8; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__8; size_t lean_uint64_to_usize(uint64_t); static lean_object* l_Lean_Compiler_LCNF_Decl_saveBase___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_forEachDecl___spec__6(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); uint64_t l_Lean_Name_hash___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__3(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__1(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_forEachDecl___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_declLt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__3(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_swap(lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__2; lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49_(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__5___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__4(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__4(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_getBaseDeclCore_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_getBaseDeclCore_x3f___spec__2(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_qsort_sort___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_sortDecls___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__1; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__4; size_t lean_usize_shift_left(size_t, size_t); lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration(lean_object*, lean_object*, uint8_t, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__5(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDecl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_saveBase(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__3___rarg(lean_object*, lean_object*, lean_object*); @@ -98,34 +97,36 @@ LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux___at_Lean_Compiler_L size_t lean_usize_mul(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_getBaseDeclCore_x3f___closed__2; lean_object* l_Lean_Expr_bvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBase___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__3; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBase___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_forEachDecl(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__5___boxed(lean_object*); lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__2; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_forEachDecl___spec__6___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_forEachDecl___spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_getBaseDeclCore_x3f___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_getBaseDeclCore_x3f___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_saveBase___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_forEachDecl___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__9; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlMAux_traverse___at_Lean_Compiler_LCNF_forEachDecl___spec__7___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Environment_addExtraName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_binSearchAux___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__9; static lean_object* l_Lean_Compiler_LCNF_saveBase___closed__1; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4(lean_object*); lean_object* l_Lean_Environment_getModuleIdxFor_x3f(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBase; @@ -133,24 +134,24 @@ static lean_object* l_Lean_Compiler_LCNF_saveBase___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBase___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_instInhabitedDecl; lean_object* l_Lean_Environment_allImportedModuleNames(lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBaseDeclCore(lean_object*, lean_object*); -static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f(lean_object*, lean_object*); -static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_getBaseDeclCore_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__6; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__6; static lean_object* l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getBaseDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_usize_to_nat(size_t); +lean_object* l_Lean_Compiler_LCNF_getPhase(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_saveBase___closed__4; lean_object* l_Lean_PersistentHashMap_instInhabitedPersistentHashMap___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4___closed__1; +static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); extern lean_object* l_Lean_Name_instBEqName; LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_declLt(lean_object* x_1, lean_object* x_2) { @@ -496,41 +497,43 @@ return x_3; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; x_3 = lean_box(0); x_4 = l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__1; x_5 = l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__2; x_6 = l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__3; -x_7 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_7, 0, x_2); -lean_ctor_set(x_7, 1, x_3); -lean_ctor_set(x_7, 2, x_4); -lean_ctor_set(x_7, 3, x_5); -lean_ctor_set(x_7, 4, x_6); -x_8 = lean_array_get_size(x_1); -x_9 = lean_unsigned_to_nat(1u); -x_10 = lean_nat_sub(x_8, x_9); -x_11 = lean_unsigned_to_nat(0u); -x_12 = lean_nat_dec_lt(x_11, x_8); -lean_dec(x_8); -if (x_12 == 0) +x_7 = 0; +x_8 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_8, 0, x_2); +lean_ctor_set(x_8, 1, x_3); +lean_ctor_set(x_8, 2, x_4); +lean_ctor_set(x_8, 3, x_5); +lean_ctor_set(x_8, 4, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*5, x_7); +x_9 = lean_array_get_size(x_1); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_sub(x_9, x_10); +x_12 = lean_unsigned_to_nat(0u); +x_13 = lean_nat_dec_lt(x_12, x_9); +lean_dec(x_9); +if (x_13 == 0) { -lean_object* x_13; -lean_dec(x_10); -lean_dec(x_7); +lean_object* x_14; +lean_dec(x_11); +lean_dec(x_8); lean_dec(x_1); -x_13 = lean_box(0); -return x_13; +x_14 = lean_box(0); +return x_14; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_box(0); -x_15 = l_Lean_Compiler_LCNF_instInhabitedDecl; -x_16 = l_Array_binSearchAux___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___spec__1(x_15, x_14, x_1, x_7, x_11, x_10); -lean_dec(x_7); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_box(0); +x_16 = l_Lean_Compiler_LCNF_instInhabitedDecl; +x_17 = l_Array_binSearchAux___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___spec__1(x_16, x_15, x_1, x_8, x_12, x_11); +lean_dec(x_8); lean_dec(x_1); -return x_16; +return x_17; } } } @@ -545,7 +548,7 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__3(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__3(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -572,7 +575,7 @@ x_17 = lean_usize_shift_right(x_12, x_16); x_18 = lean_unsigned_to_nat(1u); x_19 = lean_nat_add(x_5, x_18); lean_dec(x_5); -x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(x_6, x_17, x_1, x_9, x_10); +x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(x_6, x_17, x_1, x_9, x_10); x_4 = lean_box(0); x_5 = x_19; x_6 = x_20; @@ -580,7 +583,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; @@ -672,7 +675,7 @@ return x_29; } } } -static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__1() { +static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__1() { _start: { size_t x_1; size_t x_2; size_t x_3; @@ -682,17 +685,17 @@ x_3 = lean_usize_shift_left(x_1, x_2); return x_3; } } -static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__2() { +static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__2() { _start: { size_t x_1; size_t x_2; size_t x_3; x_1 = 1; -x_2 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__1; +x_2 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__1; x_3 = lean_usize_sub(x_2, x_1); return x_3; } } -static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__3() { +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__3() { _start: { lean_object* x_1; @@ -700,7 +703,7 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { _start: { if (lean_obj_tag(x_1) == 0) @@ -713,7 +716,7 @@ lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_7 = lean_ctor_get(x_1, 0); x_8 = 1; x_9 = 5; -x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__2; +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__2; x_11 = lean_usize_land(x_2, x_10); x_12 = lean_usize_to_nat(x_11); x_13 = lean_array_get_size(x_7); @@ -813,7 +816,7 @@ lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_3 x_35 = lean_ctor_get(x_15, 0); x_36 = lean_usize_shift_right(x_2, x_9); x_37 = lean_usize_add(x_3, x_8); -x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(x_35, x_36, x_37, x_4, x_5); +x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(x_35, x_36, x_37, x_4, x_5); lean_ctor_set(x_15, 0, x_38); x_39 = lean_array_fset(x_17, x_12, x_15); lean_dec(x_12); @@ -828,7 +831,7 @@ lean_inc(x_40); lean_dec(x_15); x_41 = lean_usize_shift_right(x_2, x_9); x_42 = lean_usize_add(x_3, x_8); -x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(x_40, x_41, x_42, x_4, x_5); +x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(x_40, x_41, x_42, x_4, x_5); x_44 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_44, 0, x_43); x_45 = lean_array_fset(x_17, x_12, x_44); @@ -859,7 +862,7 @@ lean_inc(x_48); lean_dec(x_1); x_49 = 1; x_50 = 5; -x_51 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__2; +x_51 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__2; x_52 = lean_usize_land(x_2, x_51); x_53 = lean_usize_to_nat(x_52); x_54 = lean_array_get_size(x_48); @@ -944,7 +947,7 @@ if (lean_is_exclusive(x_57)) { } x_73 = lean_usize_shift_right(x_2, x_50); x_74 = lean_usize_add(x_3, x_49); -x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(x_71, x_73, x_74, x_4, x_5); +x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(x_71, x_73, x_74, x_4, x_5); if (lean_is_scalar(x_72)) { x_76 = lean_alloc_ctor(1, 1, 0); } else { @@ -981,7 +984,7 @@ if (x_82 == 0) { lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; x_83 = lean_unsigned_to_nat(0u); -x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__4(x_1, x_83, x_4, x_5); +x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__4(x_1, x_83, x_4, x_5); x_85 = 7; x_86 = lean_usize_dec_le(x_85, x_3); if (x_86 == 0) @@ -999,8 +1002,8 @@ lean_inc(x_90); x_91 = lean_ctor_get(x_84, 1); lean_inc(x_91); lean_dec(x_84); -x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__3; -x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__3(x_3, x_90, x_91, lean_box(0), x_83, x_92); +x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__3; +x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__3(x_3, x_90, x_91, lean_box(0), x_83, x_92); lean_dec(x_91); lean_dec(x_90); return x_93; @@ -1027,7 +1030,7 @@ x_96 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_96, 0, x_94); lean_ctor_set(x_96, 1, x_95); x_97 = lean_unsigned_to_nat(0u); -x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__4(x_96, x_97, x_4, x_5); +x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__4(x_96, x_97, x_4, x_5); x_99 = 7; x_100 = lean_usize_dec_le(x_99, x_3); if (x_100 == 0) @@ -1045,8 +1048,8 @@ lean_inc(x_104); x_105 = lean_ctor_get(x_98, 1); lean_inc(x_105); lean_dec(x_98); -x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__3; -x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__3(x_3, x_104, x_105, lean_box(0), x_97, x_106); +x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__3; +x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__3(x_3, x_104, x_105, lean_box(0), x_97, x_106); lean_dec(x_105); lean_dec(x_104); return x_107; @@ -1064,7 +1067,7 @@ return x_98; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -1077,7 +1080,7 @@ x_6 = lean_ctor_get(x_1, 1); x_7 = l_Lean_Name_hash___override(x_2); x_8 = lean_uint64_to_usize(x_7); x_9 = 1; -x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(x_5, x_8, x_9, x_2, x_3); +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(x_5, x_8, x_9, x_2, x_3); x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_add(x_6, x_11); lean_dec(x_6); @@ -1096,7 +1099,7 @@ lean_dec(x_1); x_15 = l_Lean_Name_hash___override(x_2); x_16 = lean_uint64_to_usize(x_15); x_17 = 1; -x_18 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(x_13, x_16, x_17, x_2, x_3); +x_18 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(x_13, x_16, x_17, x_2, x_3); x_19 = lean_unsigned_to_nat(1u); x_20 = lean_nat_add(x_14, x_19); lean_dec(x_14); @@ -1107,7 +1110,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_foldlM___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; lean_object* x_5; @@ -1118,7 +1121,7 @@ x_5 = l_Lean_PersistentHashMap_foldlMAux___at_Lean_mkModuleData___spec__3___rarg return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; @@ -1128,17 +1131,17 @@ lean_ctor_set(x_5, 1, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_4 = l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__1(x_1, x_3, x_2); +x_4 = l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__1(x_1, x_3, x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -1146,21 +1149,21 @@ x_4 = lean_array_push(x_1, x_3); return x_4; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4___closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__3___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__3___boxed), 3, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4(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; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4___closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4___closed__1; x_3 = l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__2; -x_4 = l_Lean_PersistentHashMap_foldlM___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__5(x_1, x_2, x_3); +x_4 = l_Lean_PersistentHashMap_foldlM___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__5(x_1, x_2, x_3); x_5 = lean_array_get_size(x_4); x_6 = lean_unsigned_to_nat(1u); x_7 = lean_nat_sub(x_5, x_6); @@ -1172,7 +1175,7 @@ lean_dec(x_7); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__5(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__5(lean_object* x_1) { _start: { lean_object* x_2; @@ -1180,7 +1183,7 @@ x_2 = lean_box(0); return x_2; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__1() { _start: { lean_object* x_1; @@ -1188,17 +1191,17 @@ x_1 = lean_mk_string_from_bytes("compBaseDecls", 13); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__3() { _start: { lean_object* x_1; @@ -1206,21 +1209,21 @@ x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__4() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__3; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__3; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__4; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__4; x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -1228,52 +1231,52 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__6() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5; x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__7() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__2), 2, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__2), 2, 0); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__8() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__8() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__9() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__9() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__5___boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__5___boxed), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49_(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; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5; -x_3 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__1___boxed), 4, 1); +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5; +x_3 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__1___boxed), 4, 1); lean_closure_set(x_3, 0, x_2); -x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__2; -x_5 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__6; -x_6 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__7; -x_7 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__8; -x_8 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__9; +x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__2; +x_5 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__6; +x_6 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__7; +x_7 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__8; +x_8 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__9; x_9 = lean_alloc_ctor(0, 6, 0); lean_ctor_set(x_9, 0, x_4); lean_ctor_set(x_9, 1, x_5); @@ -1285,19 +1288,19 @@ x_10 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_9, x_1); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____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_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____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: { size_t x_7; lean_object* x_8; x_7 = lean_unbox_usize(x_1); lean_dec(x_1); -x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__3(x_7, x_2, x_3, x_4, x_5, x_6); +x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__3(x_7, x_2, x_3, x_4, x_5, x_6); lean_dec(x_3); lean_dec(x_2); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { size_t x_6; size_t x_7; lean_object* x_8; @@ -1305,34 +1308,34 @@ x_6 = lean_unbox_usize(x_2); lean_dec(x_2); x_7 = lean_unbox_usize(x_3); lean_dec(x_3); -x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2(x_1, x_6, x_7, x_4, x_5); +x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2(x_1, x_6, x_7, x_4, x_5); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { lean_object* x_5; -x_5 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__1(x_1, x_2, x_3, x_4); +x_5 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__1(x_1, x_2, x_3, x_4); lean_dec(x_3); lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__3(x_1, x_2, x_3); +x_4 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__3(x_1, x_2, x_3); lean_dec(x_2); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__5___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__5___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__5(x_1); +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__5(x_1); lean_dec(x_1); return x_2; } @@ -1389,7 +1392,7 @@ x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); lean_dec(x_1); x_5 = 5; -x_6 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__2; +x_6 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__2; x_7 = lean_usize_land(x_2, x_6); x_8 = lean_usize_to_nat(x_7); x_9 = lean_box(2); @@ -1508,7 +1511,7 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_8 = lean_ctor_get(x_3, 0); lean_inc(x_8); lean_dec(x_3); @@ -1521,36 +1524,38 @@ x_12 = lean_box(0); x_13 = l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__1; x_14 = l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__2; x_15 = l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__3; -x_16 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_16, 0, x_2); -lean_ctor_set(x_16, 1, x_12); -lean_ctor_set(x_16, 2, x_13); -lean_ctor_set(x_16, 3, x_14); -lean_ctor_set(x_16, 4, x_15); -x_17 = lean_array_get_size(x_11); -x_18 = lean_unsigned_to_nat(1u); -x_19 = lean_nat_sub(x_17, x_18); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_nat_dec_lt(x_20, x_17); -lean_dec(x_17); -if (x_21 == 0) +x_16 = 0; +x_17 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_17, 0, x_2); +lean_ctor_set(x_17, 1, x_12); +lean_ctor_set(x_17, 2, x_13); +lean_ctor_set(x_17, 3, x_14); +lean_ctor_set(x_17, 4, x_15); +lean_ctor_set_uint8(x_17, sizeof(void*)*5, x_16); +x_18 = lean_array_get_size(x_11); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_sub(x_18, x_19); +x_21 = lean_unsigned_to_nat(0u); +x_22 = lean_nat_dec_lt(x_21, x_18); +lean_dec(x_18); +if (x_22 == 0) { -lean_object* x_22; -lean_dec(x_19); -lean_dec(x_16); +lean_object* x_23; +lean_dec(x_20); +lean_dec(x_17); lean_dec(x_11); -x_22 = lean_box(0); -return x_22; +x_23 = lean_box(0); +return x_23; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_box(0); -x_24 = l_Lean_Compiler_LCNF_instInhabitedDecl; -x_25 = l_Array_binSearchAux___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___spec__1(x_24, x_23, x_11, x_16, x_20, x_19); -lean_dec(x_16); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_box(0); +x_25 = l_Lean_Compiler_LCNF_instInhabitedDecl; +x_26 = l_Array_binSearchAux___at___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___spec__1(x_25, x_24, x_11, x_17, x_21, x_20); +lean_dec(x_17); lean_dec(x_11); -return x_25; +return x_26; } } } @@ -1639,7 +1644,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_Decl_saveBase___closed__1() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -1786,28 +1791,35 @@ lean_dec(x_3); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; -x_7 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_1, x_2, x_4, x_5, x_6); -return x_7; +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_11; +x_7 = l_Lean_Compiler_LCNF_getPhase(x_2, x_3, x_4, x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = lean_unbox(x_8); +lean_dec(x_8); +x_11 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_1, x_10, x_4, x_5, x_9); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getDecl_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_getDecl_x3f(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_getDecl_x3f(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBase___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBase___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -1884,14 +1896,13 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveBase___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_saveBase___lambda__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_saveBase___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_forEachDecl___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -2559,31 +2570,31 @@ l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f__ lean_mark_persistent(l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__2); l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__3 = _init_l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__3(); lean_mark_persistent(l___private_Lean_Compiler_LCNF_PhaseExt_0__Lean_Compiler_LCNF_findAtSorted_x3f___closed__3); -l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__1(); -l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__2(); -l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__3 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__3(); -lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____spec__2___closed__3); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4___closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4___closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____lambda__4___closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__3); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__4(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__4); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__5); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__6(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__6); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__7 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__7(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__7); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__8 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__8(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__8); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__9 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__9(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48____closed__9); -if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_48_(lean_io_mk_world()); +l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__1(); +l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__2(); +l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__3 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__3(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____spec__2___closed__3); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4___closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____lambda__4___closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__3); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__4 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__4); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__5); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__6 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__6); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__7 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__7); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__8 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__8(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__8); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__9 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__9(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49____closed__9); +if (builtin) {res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PhaseExt___hyg_49_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Compiler_LCNF_baseExt = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Compiler_LCNF_baseExt); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/PrettyPrinter.c b/stage0/stdlib/Lean/Compiler/LCNF/PrettyPrinter.c index cd1cf8a44d..781b458826 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/PrettyPrinter.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/PrettyPrinter.c @@ -14,13 +14,12 @@ extern "C" { #endif uint8_t l_Lean_Expr_isType0(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl_x27_go(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl_x27_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_letVarTypes; static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__13; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppApp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1___closed__1; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__7; @@ -31,46 +30,42 @@ lean_object* lean_array_uget(lean_object*, size_t); uint8_t l_Lean_Expr_isProp(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl___closed__5; static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppFunDecl___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_indentD(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl___closed__3; lean_object* l_Lean_Meta_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__5; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppValue(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run(lean_object*); -lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ppDecl_x27_go___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl_x27_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFVar(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__3; uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__12; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppCode(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__19; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppAlt(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArgs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFunDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__11; static lean_object* l_Lean_Compiler_LCNF_PP_ppParams___closed__1; static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__4; @@ -80,7 +75,6 @@ static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__1; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArgs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__5; static lean_object* l_Lean_Compiler_LCNF_PP_ppParam___closed__3; static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__10; @@ -90,21 +84,21 @@ lean_object* l_Nat_repr(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__8; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppExpr(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__16; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParams(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__3; uint8_t l_Lean_Expr_isConst(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl_x27(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__20; size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_pp_explicit; @@ -112,46 +106,40 @@ static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__10; lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppArg___closed__9; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_funBinderTypes; static lean_object* l_Lean_Compiler_LCNF_ppDecl_x27___closed__2; static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppAlt___closed__5; static lean_object* l_Lean_Compiler_LCNF_ppDecl_x27___closed__1; static lean_object* l_Lean_Compiler_LCNF_PP_ppAlt___closed__3; static lean_object* l_Lean_Compiler_LCNF_PP_ppAlt___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); lean_object* l_Lean_Compiler_LCNF_CompilerM_run___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppAlt___closed__2; static lean_object* l_Lean_Compiler_LCNF_PP_ppParam___closed__2; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__3; static lean_object* l_Lean_Compiler_LCNF_PP_ppAlt___closed__4; static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__11; static lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__15; static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppParam___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_run___rarg___closed__1; static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instHashableProd___rarg___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1___closed__2; static lean_object* l_Lean_Compiler_LCNF_PP_ppParam___closed__4; extern lean_object* l_Lean_Expr_instBEqExpr; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_string_length(lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__1; @@ -162,20 +150,18 @@ static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__18; lean_object* l_Lean_Expr_getAppFn(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__4; static lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__2; static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__17; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__8; static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl___closed__2; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__1; static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__2; static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__8; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppValue___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_pp_sanitizeNames; static lean_object* l_Lean_Compiler_LCNF_PP_ppValue___closed__1; lean_object* lean_nat_to_int(lean_object*); @@ -183,11 +169,9 @@ lean_object* l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec_ static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__4; static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__7; static lean_object* l_Lean_Compiler_LCNF_PP_ppValue___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___closed__9; static lean_object* l_Lean_Compiler_LCNF_PP_ppCode___closed__1; static lean_object* l_Lean_Compiler_LCNF_PP_ppApp___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_indentD(lean_object* x_1) { _start: @@ -233,7 +217,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -244,6 +228,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); x_13 = lean_alloc_ctor(0, 2, 0); @@ -253,71 +238,72 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_ctor_get(x_2, 0); x_15 = lean_array_uget(x_14, x_4); -x_16 = lean_box(x_7); lean_inc(x_1); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); -x_17 = lean_apply_7(x_1, x_15, x_6, x_16, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_17) == 0) +x_16 = lean_apply_7(x_1, x_15, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; -x_18 = lean_ctor_get(x_17, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; size_t x_25; size_t x_26; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__2; -x_21 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_5); -x_22 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__4; +lean_dec(x_16); +x_19 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__2; +x_20 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_5); +x_21 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__4; +x_22 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); x_23 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_17); x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_18); -x_25 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_20); -x_26 = 1; -x_27 = lean_usize_add(x_4, x_26); -x_4 = x_27; -x_5 = x_25; -x_11 = x_19; +lean_ctor_set(x_24, 1, x_19); +x_25 = 1; +x_26 = lean_usize_add(x_4, x_25); +x_4 = x_26; +x_5 = x_24; +x_11 = x_18; goto _start; } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_17); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_16); +if (x_28 == 0) { -return x_17; +return x_16; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_17, 0); -x_31 = lean_ctor_get(x_17, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_16, 0); +x_30 = lean_ctor_get(x_16, 1); lean_inc(x_30); -lean_dec(x_17); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_16); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } @@ -331,7 +317,7 @@ x_2 = lean_alloc_closure((void*)(l_Subarray_forInUnsafe_loop___at___private_Lean return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -345,6 +331,7 @@ lean_object* x_12; lean_object* x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -356,107 +343,108 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_1, x_10); -x_15 = lean_box(x_4); lean_inc(x_2); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -x_16 = lean_apply_7(x_2, x_14, x_3, x_15, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_7(x_2, x_14, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; size_t x_23; lean_object* x_24; size_t x_25; lean_object* x_26; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; lean_object* x_23; size_t x_24; lean_object* x_25; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_array_get_size(x_1); -x_20 = lean_unsigned_to_nat(1u); -x_21 = l_Array_toSubarray___rarg(x_1, x_20, x_19); -x_22 = lean_ctor_get(x_21, 2); -lean_inc(x_22); -x_23 = lean_usize_of_nat(x_22); -lean_dec(x_22); -x_24 = lean_ctor_get(x_21, 1); -lean_inc(x_24); -x_25 = lean_usize_of_nat(x_24); -lean_dec(x_24); -x_26 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(x_2, x_21, x_23, x_25, x_17, x_3, x_4, x_5, x_6, x_7, x_18); +lean_dec(x_15); +x_18 = lean_array_get_size(x_1); +x_19 = lean_unsigned_to_nat(1u); +x_20 = l_Array_toSubarray___rarg(x_1, x_19, x_18); +x_21 = lean_ctor_get(x_20, 2); +lean_inc(x_21); +x_22 = lean_usize_of_nat(x_21); lean_dec(x_21); -if (lean_obj_tag(x_26) == 0) +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +x_24 = lean_usize_of_nat(x_23); +lean_dec(x_23); +x_25 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(x_2, x_20, x_22, x_24, x_16, x_3, x_4, x_5, x_6, x_7, x_17); +lean_dec(x_20); +if (lean_obj_tag(x_25) == 0) { -uint8_t x_27; -x_27 = !lean_is_exclusive(x_26); -if (x_27 == 0) +uint8_t x_26; +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) { -return x_26; +return x_25; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_26, 0); -x_29 = lean_ctor_get(x_26, 1); -lean_inc(x_29); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_25, 0); +x_28 = lean_ctor_get(x_25, 1); lean_inc(x_28); -lean_dec(x_26); -x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_inc(x_27); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } else { -uint8_t x_31; -x_31 = !lean_is_exclusive(x_26); -if (x_31 == 0) +uint8_t x_30; +x_30 = !lean_is_exclusive(x_25); +if (x_30 == 0) { -return x_26; +return x_25; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_26, 0); -x_33 = lean_ctor_get(x_26, 1); -lean_inc(x_33); +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_25, 0); +x_32 = lean_ctor_get(x_25, 1); lean_inc(x_32); -lean_dec(x_26); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_inc(x_31); +lean_dec(x_25); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; } } } else { -uint8_t x_35; +uint8_t x_34; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_35 = !lean_is_exclusive(x_16); -if (x_35 == 0) +x_34 = !lean_is_exclusive(x_15); +if (x_34 == 0) { -return x_16; +return x_15; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_16, 0); -x_37 = lean_ctor_get(x_16, 1); -lean_inc(x_37); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_ctor_get(x_15, 1); lean_inc(x_36); -lean_dec(x_16); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_inc(x_35); +lean_dec(x_15); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; } } } @@ -466,36 +454,24 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Co _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg), 8, 0); return x_2; } } LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_15; +return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -506,6 +482,7 @@ lean_object* x_14; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); @@ -516,77 +493,78 @@ return x_14; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_15; lean_object* x_16; x_15 = lean_array_uget(x_3, x_5); -x_16 = lean_box(x_8); lean_inc(x_2); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); -x_17 = lean_apply_7(x_2, x_15, x_7, x_16, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_17) == 0) +x_16 = lean_apply_7(x_2, x_15, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; -x_18 = lean_ctor_get(x_17, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; size_t x_26; size_t x_27; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__2; +lean_dec(x_16); +x_19 = l_Subarray_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join___spec__1___rarg___closed__2; +x_20 = lean_alloc_ctor(4, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_6); x_21 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_6); +lean_ctor_set(x_21, 1, x_19); +lean_inc(x_1); x_22 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -lean_inc(x_1); +lean_ctor_set(x_22, 1, x_1); x_23 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_1); +lean_ctor_set(x_23, 1, x_19); x_24 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_20); +lean_ctor_set(x_24, 1, x_17); x_25 = lean_alloc_ctor(4, 2, 0); lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_18); -x_26 = lean_alloc_ctor(4, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_20); -x_27 = 1; -x_28 = lean_usize_add(x_5, x_27); -x_5 = x_28; -x_6 = x_26; -x_12 = x_19; +lean_ctor_set(x_25, 1, x_19); +x_26 = 1; +x_27 = lean_usize_add(x_5, x_26); +x_5 = x_27; +x_6 = x_25; +x_12 = x_18; goto _start; } else { -uint8_t x_30; +uint8_t x_29; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -x_30 = !lean_is_exclusive(x_17); -if (x_30 == 0) +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) { -return x_17; +return x_16; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_17, 0); -x_32 = lean_ctor_get(x_17, 1); -lean_inc(x_32); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); lean_inc(x_31); -lean_dec(x_17); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -return x_33; +lean_inc(x_30); +lean_dec(x_16); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } @@ -600,7 +578,7 @@ x_2 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at___private_Lean_Co return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; @@ -667,30 +645,26 @@ return x_2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_4); lean_dec(x_4); x_14 = lean_unbox_usize(x_5); lean_dec(x_5); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___spec__1___rarg(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_3); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_prefixJoin___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_2); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFVar(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFVar(lean_object* x_1, 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; @@ -768,15 +742,14 @@ return x_29; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppFVar(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PP_ppFVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppExpr___closed__1() { @@ -1036,7 +1009,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppExpr(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -1127,14 +1100,13 @@ return x_32; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppExpr(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PP_ppExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppArg___closed__1() { @@ -1217,7 +1189,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArg(lean_object* x_1, 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; @@ -1370,14 +1342,13 @@ return x_47; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppArg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PP_ppArg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppArgs___closed__1() { @@ -1388,7 +1359,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppArg___boxed), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArgs(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArgs(lean_object* x_1, 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; @@ -1397,16 +1368,6 @@ x_9 = l___private_Lean_Compiler_LCNF_PrettyPrinter_0__Lean_Compiler_LCNF_PP_join return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppArgs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppArgs(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppApp___closed__1() { _start: { @@ -1416,7 +1377,7 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppApp(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppApp(lean_object* x_1, 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; @@ -1525,6 +1486,7 @@ uint8_t x_42; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_42 = !lean_is_exclusive(x_9); @@ -1548,16 +1510,6 @@ return x_45; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppApp(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppValue___closed__1() { _start: { @@ -1576,7 +1528,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppValue(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppValue(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -1590,6 +1542,7 @@ x_9 = l_Lean_Compiler_LCNF_PP_ppFVar(x_8, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_9; } @@ -1611,6 +1564,7 @@ x_13 = l_Lean_Compiler_LCNF_PP_ppArg(x_12, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); if (lean_obj_tag(x_13) == 0) { uint8_t x_14; @@ -1701,21 +1655,12 @@ x_39 = l_Lean_Compiler_LCNF_PP_ppExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); return x_39; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppValue___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppValue(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppParam___closed__1() { _start: { @@ -1750,7 +1695,7 @@ x_1 = lean_mk_string_from_bytes("@&", 2); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParam(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParam(lean_object* x_1, 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; lean_object* x_10; uint8_t x_11; lean_object* x_12; @@ -1949,14 +1894,13 @@ return x_75; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParam___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppParam(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PP_ppParam(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppParams___closed__1() { @@ -1967,7 +1911,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppParam___boxed), 7, 0) return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParams(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -1980,12 +1924,10 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppParams(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PP_ppParams(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); -return x_9; +return x_8; } } static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppLetDecl___closed__1() { @@ -2032,7 +1974,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl(lean_object* x_1, 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; uint8_t x_10; @@ -2272,6 +2214,7 @@ uint8_t x_87; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_87 = !lean_is_exclusive(x_45); @@ -2296,16 +2239,6 @@ return x_90; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppLetDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppFunDecl___closed__1() { _start: { @@ -2324,7 +2257,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFunDecl(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFunDecl(lean_object* x_1, 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; @@ -2333,6 +2266,7 @@ lean_inc(x_8); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_9 = l_Lean_Compiler_LCNF_PP_ppParams(x_8, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_8); @@ -2459,6 +2393,7 @@ uint8_t x_49; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_49 = !lean_is_exclusive(x_9); @@ -2540,7 +2475,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_PP_ppCode___closed__7() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppAlt___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppAlt), 7, 0); return x_1; } } @@ -2580,7 +2515,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppCode(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppCode(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -2595,6 +2530,7 @@ lean_dec(x_1); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_10 = l_Lean_Compiler_LCNF_PP_ppLetDecl(x_8, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_10) == 0) @@ -2676,6 +2612,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_29 = !lean_is_exclusive(x_10); if (x_29 == 0) @@ -2708,6 +2645,7 @@ lean_dec(x_1); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_35 = l_Lean_Compiler_LCNF_PP_ppFunDecl(x_33, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_35) == 0) @@ -2797,6 +2735,7 @@ lean_dec(x_34); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_58 = !lean_is_exclusive(x_35); if (x_58 == 0) @@ -2829,6 +2768,7 @@ lean_dec(x_1); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_64 = l_Lean_Compiler_LCNF_PP_ppFunDecl(x_62, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_64) == 0) @@ -2918,6 +2858,7 @@ lean_dec(x_63); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_87 = !lean_is_exclusive(x_64); if (x_87 == 0) @@ -3142,6 +3083,7 @@ x_152 = l_Lean_Compiler_LCNF_PP_ppFVar(x_151, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_152; } @@ -3151,6 +3093,7 @@ lean_object* x_153; lean_object* x_154; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_153 = l_Lean_Compiler_LCNF_PP_ppCode___closed__11; @@ -3216,7 +3159,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppAlt(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3232,6 +3175,7 @@ lean_dec(x_1); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_11 = l_Lean_Compiler_LCNF_PP_ppParams(x_9, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_9); @@ -3354,6 +3298,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_50 = !lean_is_exclusive(x_11); if (x_50 == 0) @@ -3450,36 +3395,6 @@ return x_74; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppFunDecl(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppCode(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_ppAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PP_ppAlt(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_PP_run___rarg___closed__1() { _start: { @@ -3488,14 +3403,14 @@ x_1 = l_Lean_pp_sanitizeNames; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; x_7 = !lean_is_exclusive(x_4); if (x_7 == 0) { -lean_object* x_8; lean_object* x_9; uint8_t x_10; lean_object* x_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_8; lean_object* 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; x_8 = lean_ctor_get(x_4, 2); x_9 = l_Lean_Compiler_LCNF_PP_run___rarg___closed__1; x_10 = 0; @@ -3515,25 +3430,23 @@ x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); x_18 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_17); -x_19 = lean_box(x_2); -x_20 = lean_apply_6(x_1, x_18, x_19, x_3, x_4, x_5, x_16); -return x_20; +x_19 = lean_apply_6(x_1, x_18, x_2, x_3, x_4, x_5, x_16); +return x_19; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_21 = lean_ctor_get(x_4, 0); -x_22 = lean_ctor_get(x_4, 1); -x_23 = lean_ctor_get(x_4, 2); -x_24 = lean_ctor_get(x_4, 3); -x_25 = lean_ctor_get(x_4, 4); -x_26 = lean_ctor_get(x_4, 5); -x_27 = lean_ctor_get(x_4, 6); -x_28 = lean_ctor_get(x_4, 7); -x_29 = lean_ctor_get(x_4, 8); -x_30 = lean_ctor_get(x_4, 9); -x_31 = lean_ctor_get(x_4, 10); -lean_inc(x_31); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_20 = lean_ctor_get(x_4, 0); +x_21 = lean_ctor_get(x_4, 1); +x_22 = lean_ctor_get(x_4, 2); +x_23 = lean_ctor_get(x_4, 3); +x_24 = lean_ctor_get(x_4, 4); +x_25 = lean_ctor_get(x_4, 5); +x_26 = lean_ctor_get(x_4, 6); +x_27 = lean_ctor_get(x_4, 7); +x_28 = lean_ctor_get(x_4, 8); +x_29 = lean_ctor_get(x_4, 9); +x_30 = lean_ctor_get(x_4, 10); lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); @@ -3544,39 +3457,39 @@ lean_inc(x_24); lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); +lean_inc(x_20); lean_dec(x_4); -x_32 = l_Lean_Compiler_LCNF_PP_run___rarg___closed__1; -x_33 = 0; -x_34 = l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(x_23, x_32, x_33); -x_35 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_35, 0, x_21); -lean_ctor_set(x_35, 1, x_22); -lean_ctor_set(x_35, 2, x_34); -lean_ctor_set(x_35, 3, x_24); -lean_ctor_set(x_35, 4, x_25); -lean_ctor_set(x_35, 5, x_26); -lean_ctor_set(x_35, 6, x_27); -lean_ctor_set(x_35, 7, x_28); -lean_ctor_set(x_35, 8, x_29); -lean_ctor_set(x_35, 9, x_30); -lean_ctor_set(x_35, 10, x_31); -x_36 = lean_st_ref_get(x_5, x_6); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_st_ref_get(x_3, x_37); -x_39 = lean_ctor_get(x_38, 0); +x_31 = l_Lean_Compiler_LCNF_PP_run___rarg___closed__1; +x_32 = 0; +x_33 = l_Lean_Option_set___at_Lean_Meta_withPPInaccessibleNamesImp___spec__2(x_22, x_31, x_32); +x_34 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_34, 0, x_20); +lean_ctor_set(x_34, 1, x_21); +lean_ctor_set(x_34, 2, x_33); +lean_ctor_set(x_34, 3, x_23); +lean_ctor_set(x_34, 4, x_24); +lean_ctor_set(x_34, 5, x_25); +lean_ctor_set(x_34, 6, x_26); +lean_ctor_set(x_34, 7, x_27); +lean_ctor_set(x_34, 8, x_28); +lean_ctor_set(x_34, 9, x_29); +lean_ctor_set(x_34, 10, x_30); +x_35 = lean_st_ref_get(x_5, x_6); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_get(x_3, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_dec(x_37); +x_40 = lean_ctor_get(x_38, 0); lean_inc(x_40); lean_dec(x_38); -x_41 = lean_ctor_get(x_39, 0); -lean_inc(x_41); -lean_dec(x_39); -x_42 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_41); -x_43 = lean_box(x_2); -x_44 = lean_apply_6(x_1, x_42, x_43, x_3, x_35, x_5, x_40); -return x_44; +x_41 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_40); +x_42 = lean_apply_6(x_1, x_41, x_2, x_3, x_34, x_5, x_39); +return x_42; } } } @@ -3584,87 +3497,67 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_run___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_run___rarg), 6, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PP_run___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; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_PP_run___rarg(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppCode(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; -x_7 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppCode___boxed), 7, 1); +x_7 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppCode), 7, 1); lean_closure_set(x_7, 0, x_1); x_8 = l_Lean_Compiler_LCNF_PP_run___rarg(x_7, x_2, x_3, x_4, x_5, x_6); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ppCode(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg(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* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(x_4); +lean_object* x_9; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -x_10 = lean_apply_6(x_1, x_3, x_9, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_10) == 0) +x_9 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_box(x_4); -x_14 = lean_apply_7(x_2, x_11, x_3, x_13, x_5, x_6, x_7, x_12); -return x_14; +lean_dec(x_9); +x_12 = lean_apply_7(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_11); +return x_12; } else { -uint8_t x_15; +uint8_t x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) { -return x_10; +return x_9; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 0); -x_17 = lean_ctor_get(x_10, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_10); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +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(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; } } } @@ -3673,7 +3566,7 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1 _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg___boxed), 8, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg), 8, 0); return x_3; } } @@ -3695,7 +3588,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -3811,7 +3704,7 @@ return x_47; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -3819,46 +3712,16 @@ x_7 = lean_ctor_get(x_1, 3); lean_inc(x_7); x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppParams___boxed), 7, 1); lean_closure_set(x_8, 0, x_7); -x_9 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ppDecl___lambda__1___boxed), 8, 1); +x_9 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ppDecl___lambda__1), 8, 1); lean_closure_set(x_9, 0, x_1); -x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg___boxed), 8, 2); +x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg), 8, 2); lean_closure_set(x_10, 0, x_8); lean_closure_set(x_10, 1, x_9); x_11 = l_Lean_Compiler_LCNF_PP_run___rarg(x_10, x_2, x_3, x_4, x_5, x_6); return x_11; } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ppDecl___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ppDecl(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -3974,7 +3837,7 @@ return x_47; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -3982,35 +3845,15 @@ x_7 = lean_ctor_get(x_1, 2); lean_inc(x_7); x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PP_ppParams___boxed), 7, 1); lean_closure_set(x_8, 0, x_7); -x_9 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ppFunDecl___lambda__1___boxed), 8, 1); +x_9 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ppFunDecl___lambda__1), 8, 1); lean_closure_set(x_9, 0, x_1); -x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg___boxed), 8, 2); +x_10 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ppDecl___spec__1___rarg), 8, 2); lean_closure_set(x_10, 0, x_8); lean_closure_set(x_10, 1, x_9); x_11 = l_Lean_Compiler_LCNF_PP_run___rarg(x_10, x_2, x_3, x_4, x_5, x_6); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ppFunDecl___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ppFunDecl(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_ppDecl_x27_go___closed__1() { _start: { @@ -4020,7 +3863,7 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl_x27_go(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl_x27_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -4035,16 +3878,6 @@ x_11 = l_Lean_Compiler_LCNF_ppDecl(x_9, x_2, x_3, x_4, x_5, x_10); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ppDecl_x27_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ppDecl_x27_go(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_ppDecl_x27___closed__1() { _start: { @@ -4079,7 +3912,7 @@ lean_inc(x_6); x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); -x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ppDecl_x27_go___boxed), 6, 1); +x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ppDecl_x27_go), 6, 1); lean_closure_set(x_8, 0, x_1); x_9 = l_Lean_Compiler_LCNF_ppDecl_x27___closed__2; x_10 = 0; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/PullFunDecls.c b/stage0/stdlib/Lean/Compiler/LCNF/PullFunDecls.c index 09c4db67d9..beecac3b31 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/PullFunDecls.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/PullFunDecls.c @@ -25,29 +25,26 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_ToPull_attach(lean_ob uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_pullFunDecls___closed__1; lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_List_foldr___at_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___spec__1(lean_object*, uint8_t, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Compiler_LCNF_pullFunDecls___closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachJps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachJps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullFunDecls_instInhabitedToPull___closed__5; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_PullFunDecls_attach_visit___spec__1(lean_object*); static lean_object* l_Lean_Compiler_LCNF_pullFunDecls___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullFunDecls_instInhabitedToPull___closed__3; uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_PullFunDecls_attach_visit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_filterTRAux___at_Lean_Compiler_LCNF_PullFunDecls_attachJps___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullFunDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_PullFunDecls_attach_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -59,44 +56,41 @@ LEAN_EXPORT lean_object* l_List_foldr___at_Lean_Compiler_LCNF_PullFunDecls_findF lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach_visit(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__1; LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_PullFunDecls_attach_visited___spec__1(lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_FunDeclCore_collectUsed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741_(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742_(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration(lean_object*, lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDepsFixpoint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_pullFunDecls; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullFunDecls_instInhabitedToPull___closed__4; lean_object* l_Lean_Expr_bvar___override(lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach_visited___closed__4; -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDepsFixpoint(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDepsFixpoint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach_go___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach_visited(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); lean_object* l_List_redLength___rarg(lean_object*); extern uint8_t l_instInhabitedBool; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachJps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__3; lean_object* l_Lean_RBNode_findCore___at___private_Lean_Compiler_LCNF_DependsOn_0__Lean_Compiler_LCNF_fvarDepOn___spec__1(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullFunDecls(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullFunDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_PullFunDecls_attach_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PullFunDecls_attach___spec__1(size_t, size_t, lean_object*); @@ -104,12 +98,12 @@ static lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach_visited___closed__1 LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach_visited___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -120,7 +114,6 @@ static lean_object* l_Lean_Compiler_LCNF_PullFunDecls_instInhabitedToPull___clos LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attach_visit___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_pullFunDecls___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___closed__1; lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_instInhabitedToPull; @@ -323,7 +316,7 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -366,7 +359,7 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -390,6 +383,7 @@ lean_dec(x_12); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_16 = lean_box(0); lean_ctor_set(x_10, 0, x_16); @@ -404,6 +398,7 @@ x_18 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(x_1, x_1 lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_18; } @@ -425,6 +420,7 @@ lean_dec(x_19); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_23 = lean_box(0); x_24 = lean_alloc_ctor(0, 2, 0); @@ -440,6 +436,7 @@ x_26 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(x_1, x_1 lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_26; } @@ -462,31 +459,28 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDepsFixpoint(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDepsFixpoint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 0) @@ -495,6 +489,7 @@ lean_object* x_9; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_2); @@ -517,6 +512,7 @@ lean_dec(x_12); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_14 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(x_13, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_13); @@ -534,23 +530,14 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDepsFixpoint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDepsFixpoint(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_8 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDirectDeps(x_1, x_2, x_3, x_4, x_5, x_6, x_7); x_9 = lean_ctor_get(x_8, 0); @@ -566,15 +553,13 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -585,6 +570,7 @@ lean_object* x_12; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_4); @@ -601,6 +587,7 @@ lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_15 = l_Lean_Compiler_LCNF_PullFunDecls_findFVarDeps(x_14, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_14); @@ -619,7 +606,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -652,27 +639,23 @@ return x_16; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___spec__1(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___spec__1(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_PullFunDecls_findParamsDeps(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_1); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_ToPull_attach(lean_object* x_1, lean_object* x_2) { @@ -1386,7 +1369,7 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_PullFunDecls_attach___spec_ return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -1419,15 +1402,13 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_PullFunDecls_attachFVarDeps(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -1460,12 +1441,10 @@ return x_16; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_List_filterTRAux___at_Lean_Compiler_LCNF_PullFunDecls_attachJps___spec__1(lean_object* x_1, lean_object* x_2) { @@ -1590,7 +1569,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachJps(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachJps(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -1648,17 +1627,7 @@ return x_31; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_attachJps___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PullFunDecls_attachJps(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; @@ -1716,7 +1685,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; @@ -1748,6 +1717,7 @@ lean_inc(x_21); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_22 = l_Lean_Compiler_LCNF_PullFunDecls_pull(x_21, x_3, x_4, x_5, x_6, x_7, x_20); if (lean_obj_tag(x_22) == 0) @@ -1763,6 +1733,7 @@ lean_inc(x_25); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_26 = l_Lean_Compiler_LCNF_PullFunDecls_attachParamsDeps(x_25, x_23, x_3, x_4, x_5, x_6, x_7, x_24); if (x_1 == 0) @@ -1778,6 +1749,7 @@ x_30 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(x_2, x_25, x_1, x lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_30; } @@ -1792,6 +1764,7 @@ lean_dec(x_26); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_33 = l_Lean_Compiler_LCNF_PullFunDecls_attachJps(x_31, x_3, x_4, x_5, x_6, x_7, x_32); x_34 = lean_ctor_get(x_33, 0); @@ -1804,6 +1777,7 @@ x_37 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(x_2, x_25, x_1, x lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_37; } @@ -1815,6 +1789,7 @@ lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_38 = !lean_is_exclusive(x_22); @@ -1838,7 +1813,7 @@ return x_41; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -1851,6 +1826,7 @@ lean_object* x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -1861,86 +1837,87 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; x_13 = lean_array_fget(x_3, x_2); -x_14 = lean_box(x_5); lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_13); -x_15 = lean_apply_7(x_1, x_13, x_4, x_14, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_7(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ptr_addr(x_13); +lean_dec(x_14); +x_17 = lean_ptr_addr(x_13); lean_dec(x_13); -x_19 = lean_ptr_addr(x_16); -x_20 = lean_usize_dec_eq(x_18, x_19); -if (x_20 == 0) +x_18 = lean_ptr_addr(x_15); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_2, x_21); -x_23 = lean_array_fset(x_3, x_2, x_16); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = lean_array_fset(x_3, x_2, x_15); lean_dec(x_2); -x_2 = x_22; -x_3 = x_23; -x_9 = x_17; +x_2 = x_21; +x_3 = x_22; +x_9 = x_16; goto _start; } else { -lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_2, x_25); +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_2, x_24); lean_dec(x_2); -x_2 = x_26; -x_9 = x_17; +x_2 = x_25; +x_9 = x_16; goto _start; } } else { -uint8_t x_28; +uint8_t x_27; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) { -return x_15; +return x_14; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); -lean_dec(x_15); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_inc(x_28); +lean_dec(x_14); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -1949,7 +1926,7 @@ x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1962,6 +1939,7 @@ lean_inc(x_9); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_10 = l_Lean_Compiler_LCNF_PullFunDecls_pull(x_9, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_10) == 0) @@ -2005,6 +1983,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_21 = !lean_is_exclusive(x_10); @@ -2090,11 +2069,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_PullFunDecls_pull___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -2108,6 +2087,7 @@ lean_inc(x_9); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); lean_inc(x_9); x_10 = l_Lean_Compiler_LCNF_PullFunDecls_pull(x_9, x_2, x_3, x_4, x_5, x_6, x_7); @@ -2282,6 +2262,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_44 = !lean_is_exclusive(x_10); @@ -2316,6 +2297,7 @@ x_50 = 1; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_51 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull(x_50, x_48, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_51) == 0) @@ -2335,6 +2317,7 @@ lean_dec(x_49); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_54 = !lean_is_exclusive(x_51); if (x_54 == 0) @@ -2368,6 +2351,7 @@ x_60 = 0; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_61 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull(x_60, x_58, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_61) == 0) @@ -2387,6 +2371,7 @@ lean_dec(x_59); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_64 = !lean_is_exclusive(x_61); if (x_64 == 0) @@ -2630,6 +2615,7 @@ lean_object* x_115; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_115 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_115, 0, x_1); @@ -2642,73 +2628,30 @@ return x_115; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; uint8_t x_14; lean_object* x_15; +uint8_t x_13; lean_object* x_14; x_13 = lean_unbox(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_8); -lean_dec(x_8); -x_15 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_14, x_9, x_10, x_11, x_12); +x_14 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull___lambda__1(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_addToPull___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullFunDecls_pull___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +x_10 = l_Lean_Compiler_LCNF_PullFunDecls_addToPull(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PullFunDecls_pull___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullFunDecls_pull___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PullFunDecls_pull(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullFunDecls(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullFunDecls(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; @@ -2816,122 +2759,114 @@ return x_41; } else { -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_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; x_42 = lean_ctor_get(x_1, 0); x_43 = lean_ctor_get(x_1, 1); x_44 = lean_ctor_get(x_1, 2); x_45 = lean_ctor_get(x_1, 3); x_46 = lean_ctor_get(x_1, 4); +x_47 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_46); lean_inc(x_45); lean_inc(x_44); lean_inc(x_43); lean_inc(x_42); lean_dec(x_1); -x_47 = lean_box(0); -x_48 = lean_st_ref_get(x_5, x_6); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_st_mk_ref(x_47, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +x_48 = lean_box(0); +x_49 = lean_st_ref_get(x_5, x_6); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); +x_51 = lean_st_mk_ref(x_48, x_50); +x_52 = lean_ctor_get(x_51, 0); lean_inc(x_52); -lean_dec(x_50); -lean_inc(x_5); -lean_inc(x_51); -x_53 = l_Lean_Compiler_LCNF_PullFunDecls_pull(x_46, x_51, x_2, x_3, x_4, x_5, x_52); -if (lean_obj_tag(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_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_54 = lean_ctor_get(x_53, 0); -lean_inc(x_54); -x_55 = lean_ctor_get(x_53, 1); -lean_inc(x_55); -lean_dec(x_53); -x_56 = lean_st_ref_get(x_5, x_55); -lean_dec(x_5); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = lean_st_ref_get(x_51, x_57); +x_53 = lean_ctor_get(x_51, 1); +lean_inc(x_53); lean_dec(x_51); -x_59 = lean_ctor_get(x_58, 0); -lean_inc(x_59); -x_60 = lean_ctor_get(x_58, 1); +lean_inc(x_5); +lean_inc(x_52); +x_54 = l_Lean_Compiler_LCNF_PullFunDecls_pull(x_46, x_52, x_2, x_3, x_4, x_5, x_53); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +lean_dec(x_54); +x_57 = lean_st_ref_get(x_5, x_56); +lean_dec(x_5); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_59 = lean_st_ref_get(x_52, x_58); +lean_dec(x_52); +x_60 = lean_ctor_get(x_59, 0); lean_inc(x_60); -if (lean_is_exclusive(x_58)) { - lean_ctor_release(x_58, 0); - lean_ctor_release(x_58, 1); - x_61 = x_58; +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_59)) { + lean_ctor_release(x_59, 0); + lean_ctor_release(x_59, 1); + x_62 = x_59; } else { - lean_dec_ref(x_58); - x_61 = lean_box(0); + lean_dec_ref(x_59); + x_62 = lean_box(0); } -x_62 = l_List_redLength___rarg(x_59); -x_63 = lean_mk_empty_array_with_capacity(x_62); -lean_dec(x_62); -x_64 = l_List_toArrayAux___rarg(x_59, x_63); -x_65 = l_Lean_Compiler_LCNF_PullFunDecls_attach(x_64, x_54); -x_66 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_66, 0, x_42); -lean_ctor_set(x_66, 1, x_43); -lean_ctor_set(x_66, 2, x_44); -lean_ctor_set(x_66, 3, x_45); -lean_ctor_set(x_66, 4, x_65); -if (lean_is_scalar(x_61)) { - x_67 = lean_alloc_ctor(0, 2, 0); +x_63 = l_List_redLength___rarg(x_60); +x_64 = lean_mk_empty_array_with_capacity(x_63); +lean_dec(x_63); +x_65 = l_List_toArrayAux___rarg(x_60, x_64); +x_66 = l_Lean_Compiler_LCNF_PullFunDecls_attach(x_65, x_55); +x_67 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_67, 0, x_42); +lean_ctor_set(x_67, 1, x_43); +lean_ctor_set(x_67, 2, x_44); +lean_ctor_set(x_67, 3, x_45); +lean_ctor_set(x_67, 4, x_66); +lean_ctor_set_uint8(x_67, sizeof(void*)*5, x_47); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); } else { - x_67 = x_61; + x_68 = x_62; } -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_60); -return x_67; +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_61); +return x_68; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -lean_dec(x_51); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +lean_dec(x_52); lean_dec(x_45); lean_dec(x_44); lean_dec(x_43); lean_dec(x_42); lean_dec(x_5); -x_68 = lean_ctor_get(x_53, 0); -lean_inc(x_68); -x_69 = lean_ctor_get(x_53, 1); +x_69 = lean_ctor_get(x_54, 0); lean_inc(x_69); -if (lean_is_exclusive(x_53)) { - lean_ctor_release(x_53, 0); - lean_ctor_release(x_53, 1); - x_70 = x_53; +x_70 = lean_ctor_get(x_54, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_71 = x_54; } else { - lean_dec_ref(x_53); - x_70 = lean_box(0); + lean_dec_ref(x_54); + x_71 = lean_box(0); } -if (lean_is_scalar(x_70)) { - x_71 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(1, 2, 0); } else { - x_71 = x_70; + x_72 = x_71; } -lean_ctor_set(x_71, 0, x_68); -lean_ctor_set(x_71, 1, x_69); -return x_71; +lean_ctor_set(x_72, 0, x_69); +lean_ctor_set(x_72, 1, x_70); +return x_72; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullFunDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_pullFunDecls(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_pullFunDecls___closed__1() { _start: { @@ -2954,7 +2889,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_pullFunDecls___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_pullFunDecls___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_pullFunDecls), 6, 0); return x_1; } } @@ -2978,7 +2913,7 @@ x_1 = l_Lean_Compiler_LCNF_pullFunDecls___closed__4; return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__1() { _start: { lean_object* x_1; @@ -2986,31 +2921,31 @@ x_1 = lean_mk_string_from_bytes("Compiler", 8); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__2; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__2; x_2 = l_Lean_Compiler_LCNF_pullFunDecls___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__3; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__3; x_3 = 1; x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); return x_4; @@ -3069,13 +3004,13 @@ l_Lean_Compiler_LCNF_pullFunDecls___closed__4 = _init_l_Lean_Compiler_LCNF_pullF lean_mark_persistent(l_Lean_Compiler_LCNF_pullFunDecls___closed__4); l_Lean_Compiler_LCNF_pullFunDecls = _init_l_Lean_Compiler_LCNF_pullFunDecls(); lean_mark_persistent(l_Lean_Compiler_LCNF_pullFunDecls); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741____closed__3); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1741_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742____closed__3); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullFunDecls___hyg_1742_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/PullLetDecls.c b/stage0/stdlib/Lean/Compiler/LCNF/PullLetDecls.c index 43df2fcf84..4edcedf8b8 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/PullLetDecls.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/PullLetDecls.c @@ -16,36 +16,34 @@ extern "C" { size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___closed__2; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_attachToPull(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_attachToPull(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_State_toPull___default___closed__1; static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___closed__4; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullAlt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__2; size_t lean_usize_sub(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___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_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__1; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__1; +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_shrink___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_attachToPull___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___closed__3; @@ -59,9 +57,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_Context_included___default; uint8_t l___private_Lean_Compiler_LCNF_DependsOn_0__Lean_Compiler_LCNF_LetDecl_depOn(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_pullAlt___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_State_toPull___default; @@ -70,51 +66,42 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg___b static lean_object* l_Lean_Compiler_LCNF_pullInstances___closed__4; lean_object* l_Lean_Compiler_LCNF_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_pullAlt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltsImp___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357_(lean_object*); size_t lean_ptr_addr(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_pullInstances; lean_object* l_Lean_RBNode_findCore___at___private_Lean_Compiler_LCNF_DependsOn_0__Lean_Compiler_LCNF_fvarDepOn___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_withParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__3; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_pullInstances___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__3; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_pullAlt___spec__1___at_Lean_Compiler_LCNF_PullLetDecls_pullAlt___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_pullAlt___spec__1___at_Lean_Compiler_LCNF_PullLetDecls_pullAlt___spec__2(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_withParams___spec__1(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withParams(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_attachToPull___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -143,38 +130,36 @@ x_1 = l_Lean_Compiler_LCNF_PullLetDecls_State_toPull___default___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; x_10 = !lean_is_exclusive(x_3); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_3, 1); x_12 = lean_box(0); x_13 = l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(x_11, x_1, x_12); lean_ctor_set(x_3, 1, x_13); -x_14 = lean_box(x_5); -x_15 = lean_apply_7(x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9); -return x_15; +x_14 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_16 = lean_ctor_get(x_3, 0); -x_17 = lean_ctor_get(x_3, 1); -lean_inc(x_17); +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_3, 0); +x_16 = lean_ctor_get(x_3, 1); lean_inc(x_16); +lean_inc(x_15); lean_dec(x_3); -x_18 = lean_box(0); -x_19 = l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(x_17, x_1, x_18); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_16); -lean_ctor_set(x_20, 1, x_19); -x_21 = lean_box(x_5); -x_22 = lean_apply_7(x_2, x_20, x_4, x_21, x_6, x_7, x_8, x_9); -return x_22; +x_17 = lean_box(0); +x_18 = l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(x_16, x_1, x_17); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_15); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_apply_7(x_2, x_19, x_4, x_5, x_6, x_7, x_8, x_9); +return x_20; } } } @@ -182,20 +167,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_PullLetDecls_withFVar___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_withParams___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { @@ -222,7 +197,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -236,89 +211,83 @@ x_13 = lean_unsigned_to_nat(0u); x_14 = lean_nat_dec_lt(x_13, x_12); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; +lean_object* x_15; lean_dec(x_12); -x_15 = lean_box(x_5); -x_16 = lean_apply_7(x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9); -return x_16; +x_15 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; } else { -uint8_t x_17; -x_17 = lean_nat_dec_le(x_12, x_12); -if (x_17 == 0) +uint8_t x_16; +x_16 = lean_nat_dec_le(x_12, x_12); +if (x_16 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_17; lean_dec(x_12); -x_18 = lean_box(x_5); -x_19 = lean_apply_7(x_2, x_3, x_4, x_18, x_6, x_7, x_8, x_9); -return x_19; +x_17 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_17; } else { -size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = 0; -x_21 = lean_usize_of_nat(x_12); +size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +x_18 = 0; +x_19 = lean_usize_of_nat(x_12); lean_dec(x_12); -x_22 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_withParams___spec__1(x_1, x_20, x_21, x_11); -lean_ctor_set(x_3, 1, x_22); -x_23 = lean_box(x_5); -x_24 = lean_apply_7(x_2, x_3, x_4, x_23, x_6, x_7, x_8, x_9); -return x_24; +x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_withParams___spec__1(x_1, x_18, x_19, x_11); +lean_ctor_set(x_3, 1, x_20); +x_21 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_21; } } } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_25 = lean_ctor_get(x_3, 0); -x_26 = lean_ctor_get(x_3, 1); -lean_inc(x_26); -lean_inc(x_25); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_22 = lean_ctor_get(x_3, 0); +x_23 = lean_ctor_get(x_3, 1); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_3); -x_27 = lean_array_get_size(x_1); -x_28 = lean_unsigned_to_nat(0u); -x_29 = lean_nat_dec_lt(x_28, x_27); +x_24 = lean_array_get_size(x_1); +x_25 = lean_unsigned_to_nat(0u); +x_26 = lean_nat_dec_lt(x_25, x_24); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_24); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_22); +lean_ctor_set(x_27, 1, x_23); +x_28 = lean_apply_7(x_2, x_27, x_4, x_5, x_6, x_7, x_8, x_9); +return x_28; +} +else +{ +uint8_t x_29; +x_29 = lean_nat_dec_le(x_24, x_24); if (x_29 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -lean_dec(x_27); +lean_object* x_30; lean_object* x_31; +lean_dec(x_24); x_30 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_30, 0, x_25); -lean_ctor_set(x_30, 1, x_26); -x_31 = lean_box(x_5); -x_32 = lean_apply_7(x_2, x_30, x_4, x_31, x_6, x_7, x_8, x_9); -return x_32; +lean_ctor_set(x_30, 0, x_22); +lean_ctor_set(x_30, 1, x_23); +x_31 = lean_apply_7(x_2, x_30, x_4, x_5, x_6, x_7, x_8, x_9); +return x_31; } else { -uint8_t x_33; -x_33 = lean_nat_dec_le(x_27, x_27); -if (x_33 == 0) -{ -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_27); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_26); -x_35 = lean_box(x_5); -x_36 = lean_apply_7(x_2, x_34, x_4, x_35, x_6, x_7, x_8, x_9); +size_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = 0; +x_33 = lean_usize_of_nat(x_24); +lean_dec(x_24); +x_34 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_withParams___spec__1(x_1, x_32, x_33, x_23); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_22); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_apply_7(x_2, x_35, x_4, x_5, x_6, x_7, x_8, x_9); return x_36; } -else -{ -size_t x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_37 = 0; -x_38 = lean_usize_of_nat(x_27); -lean_dec(x_27); -x_39 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_withParams___spec__1(x_1, x_37, x_38, x_26); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_25); -lean_ctor_set(x_40, 1, x_39); -x_41 = lean_box(x_5); -x_42 = lean_apply_7(x_2, x_40, x_4, x_41, x_6, x_7, x_8, x_9); -return x_42; -} } } } @@ -347,43 +316,39 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; x_9 = !lean_is_exclusive(x_2); if (x_9 == 0) { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = lean_ctor_get(x_2, 1); lean_dec(x_10); x_11 = lean_box(0); lean_ctor_set(x_2, 1, x_11); -x_12 = lean_box(x_4); -x_13 = lean_apply_7(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8); -return x_13; +x_12 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_12; } else { -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_2, 0); -lean_inc(x_14); +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); lean_dec(x_2); -x_15 = lean_box(0); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -x_17 = lean_box(x_4); -x_18 = lean_apply_7(x_1, x_16, x_3, x_17, x_5, x_6, x_7, x_8); -return x_18; +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_apply_7(x_1, x_15, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; } } } @@ -391,20 +356,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope(lean_obj _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullLetDecls_withNewScope___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { @@ -489,7 +444,7 @@ lean_dec(x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -508,224 +463,212 @@ lean_dec(x_12); x_15 = !lean_is_exclusive(x_2); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_2, 1); x_17 = lean_box(0); lean_ctor_set(x_2, 1, x_17); -x_18 = lean_box(x_4); lean_inc(x_7); lean_inc(x_3); -x_19 = lean_apply_7(x_1, x_2, x_3, x_18, x_5, x_6, x_7, x_13); -if (lean_obj_tag(x_19) == 0) +x_18 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_20 = lean_ctor_get(x_19, 0); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_st_ref_get(x_7, x_21); -x_23 = lean_ctor_get(x_22, 1); -lean_inc(x_23); -lean_dec(x_22); -x_24 = lean_st_ref_get(x_3, x_23); -x_25 = lean_ctor_get(x_24, 0); +lean_dec(x_18); +x_21 = lean_st_ref_get(x_7, x_20); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_st_ref_get(x_3, x_22); +x_24 = lean_ctor_get(x_23, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_Compiler_LCNF_PullLetDecls_State_toPull___default___closed__1; +lean_dec(x_23); +x_26 = l_Lean_Compiler_LCNF_PullLetDecls_State_toPull___default___closed__1; lean_inc(x_14); -x_28 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint_go(x_20, x_25, x_14, x_16, x_27); -lean_dec(x_25); -x_29 = lean_ctor_get(x_28, 0); +x_27 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint_go(x_19, x_24, x_14, x_16, x_26); +lean_dec(x_24); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_st_ref_get(x_7, x_26); +lean_dec(x_27); +x_30 = lean_st_ref_get(x_7, x_25); lean_dec(x_7); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_st_ref_take(x_3, x_32); -x_34 = lean_ctor_get(x_33, 0); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_st_ref_take(x_3, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = l_Array_shrink___rarg(x_34, x_14); +lean_dec(x_32); +x_35 = l_Array_shrink___rarg(x_33, x_14); lean_dec(x_14); -x_37 = l_Array_append___rarg(x_36, x_30); -x_38 = lean_st_ref_set(x_3, x_37, x_35); +x_36 = l_Array_append___rarg(x_35, x_29); +x_37 = lean_st_ref_set(x_3, x_36, x_34); lean_dec(x_3); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_40; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -lean_ctor_set(x_38, 0, x_29); -return x_38; +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +lean_ctor_set(x_37, 0, x_28); +return x_37; } else { -lean_object* x_41; lean_object* x_42; -x_41 = lean_ctor_get(x_38, 1); -lean_inc(x_41); -lean_dec(x_38); -x_42 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_42, 0, x_29); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_28); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } else { -uint8_t x_43; +uint8_t x_42; lean_dec(x_16); lean_dec(x_14); lean_dec(x_7); lean_dec(x_3); -x_43 = !lean_is_exclusive(x_19); -if (x_43 == 0) +x_42 = !lean_is_exclusive(x_18); +if (x_42 == 0) { -return x_19; +return x_18; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_19, 0); -x_45 = lean_ctor_get(x_19, 1); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_18, 0); +x_44 = lean_ctor_get(x_18, 1); lean_inc(x_44); -lean_dec(x_19); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_inc(x_43); +lean_dec(x_18); +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_47 = lean_ctor_get(x_2, 0); -x_48 = lean_ctor_get(x_2, 1); -lean_inc(x_48); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_46 = lean_ctor_get(x_2, 0); +x_47 = lean_ctor_get(x_2, 1); lean_inc(x_47); +lean_inc(x_46); lean_dec(x_2); -x_49 = lean_box(0); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_47); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_box(x_4); +x_48 = lean_box(0); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_46); +lean_ctor_set(x_49, 1, x_48); lean_inc(x_7); lean_inc(x_3); -x_52 = lean_apply_7(x_1, x_50, x_3, x_51, x_5, x_6, x_7, x_13); -if (lean_obj_tag(x_52) == 0) +x_50 = lean_apply_7(x_1, x_49, x_3, x_4, x_5, x_6, x_7, x_13); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_st_ref_get(x_7, x_52); +x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_st_ref_get(x_7, x_54); -x_56 = lean_ctor_get(x_55, 1); +lean_dec(x_53); +x_55 = lean_st_ref_get(x_3, x_54); +x_56 = lean_ctor_get(x_55, 0); lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); lean_dec(x_55); -x_57 = lean_st_ref_get(x_3, x_56); -x_58 = lean_ctor_get(x_57, 0); -lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); -lean_dec(x_57); -x_60 = l_Lean_Compiler_LCNF_PullLetDecls_State_toPull___default___closed__1; +x_58 = l_Lean_Compiler_LCNF_PullLetDecls_State_toPull___default___closed__1; lean_inc(x_14); -x_61 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint_go(x_53, x_58, x_14, x_48, x_60); -lean_dec(x_58); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = lean_st_ref_get(x_7, x_59); +x_59 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint_go(x_51, x_56, x_14, x_47, x_58); +lean_dec(x_56); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_st_ref_get(x_7, x_57); lean_dec(x_7); -x_65 = lean_ctor_get(x_64, 1); +x_63 = lean_ctor_get(x_62, 1); +lean_inc(x_63); +lean_dec(x_62); +x_64 = lean_st_ref_take(x_3, x_63); +x_65 = lean_ctor_get(x_64, 0); lean_inc(x_65); +x_66 = lean_ctor_get(x_64, 1); +lean_inc(x_66); lean_dec(x_64); -x_66 = lean_st_ref_take(x_3, x_65); -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = l_Array_shrink___rarg(x_67, x_14); +x_67 = l_Array_shrink___rarg(x_65, x_14); lean_dec(x_14); -x_70 = l_Array_append___rarg(x_69, x_63); -x_71 = lean_st_ref_set(x_3, x_70, x_68); +x_68 = l_Array_append___rarg(x_67, x_61); +x_69 = lean_st_ref_set(x_3, x_68, x_66); lean_dec(x_3); -x_72 = lean_ctor_get(x_71, 1); -lean_inc(x_72); -if (lean_is_exclusive(x_71)) { - lean_ctor_release(x_71, 0); - lean_ctor_release(x_71, 1); - x_73 = x_71; +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +if (lean_is_exclusive(x_69)) { + lean_ctor_release(x_69, 0); + lean_ctor_release(x_69, 1); + x_71 = x_69; } else { - lean_dec_ref(x_71); - x_73 = lean_box(0); + lean_dec_ref(x_69); + x_71 = lean_box(0); } -if (lean_is_scalar(x_73)) { - x_74 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_71)) { + x_72 = lean_alloc_ctor(0, 2, 0); } else { - x_74 = x_73; + x_72 = x_71; } -lean_ctor_set(x_74, 0, x_62); -lean_ctor_set(x_74, 1, x_72); -return x_74; +lean_ctor_set(x_72, 0, x_60); +lean_ctor_set(x_72, 1, x_70); +return x_72; } else { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -lean_dec(x_48); +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_47); lean_dec(x_14); lean_dec(x_7); lean_dec(x_3); -x_75 = lean_ctor_get(x_52, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_52, 1); -lean_inc(x_76); -if (lean_is_exclusive(x_52)) { - lean_ctor_release(x_52, 0); - lean_ctor_release(x_52, 1); - x_77 = x_52; +x_73 = lean_ctor_get(x_50, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_50, 1); +lean_inc(x_74); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_75 = x_50; } else { - lean_dec_ref(x_52); - x_77 = lean_box(0); + lean_dec_ref(x_50); + x_75 = lean_box(0); } -if (lean_is_scalar(x_77)) { - x_78 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_75)) { + x_76 = lean_alloc_ctor(1, 2, 0); } else { - x_78 = x_77; + x_76 = x_75; } -lean_ctor_set(x_78, 0, x_75); -lean_ctor_set(x_78, 1, x_76); -return x_78; +lean_ctor_set(x_76, 0, x_73); +lean_ctor_set(x_76, 1, x_74); +return x_76; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_attachToPull___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { _start: { @@ -750,7 +693,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_attachToPull(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_attachToPull(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -839,19 +782,18 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_attachToPull___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullLetDecls_attachToPull(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_PullLetDecls_attachToPull(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; lean_object* x_11; @@ -871,7 +813,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___ return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -881,148 +823,137 @@ lean_inc(x_10); x_11 = l___private_Lean_Compiler_LCNF_DependsOn_0__Lean_Compiler_LCNF_LetDecl_depOn(x_1, x_10); if (x_11 == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_12; lean_object* x_13; x_12 = lean_ctor_get(x_2, 0); lean_inc(x_12); -x_13 = lean_box(x_4); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_1); -x_14 = lean_apply_7(x_12, x_1, x_10, x_13, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_14) == 0) +x_13 = lean_apply_7(x_12, x_1, x_10, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_15; uint8_t x_16; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_unbox(x_15); -lean_dec(x_15); -if (x_16 == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -lean_dec(x_1); -x_17 = lean_ctor_get(x_14, 1); -lean_inc(x_17); +lean_object* x_14; uint8_t x_15; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_unbox(x_14); lean_dec(x_14); -x_18 = lean_box(0); -x_19 = lean_box(x_4); -x_20 = lean_apply_8(x_9, x_18, x_2, x_3, x_19, x_5, x_6, x_7, x_17); -return x_20; +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_dec(x_1); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_box(0); +x_18 = lean_apply_8(x_9, x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_16); +return x_18; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); -x_21 = lean_ctor_get(x_14, 1); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_dec(x_13); +x_20 = lean_st_ref_get(x_7, x_19); +lean_dec(x_7); +x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); -lean_dec(x_14); -x_22 = lean_st_ref_get(x_7, x_21); -lean_dec(x_7); -x_23 = lean_ctor_get(x_22, 1); +lean_dec(x_20); +x_22 = lean_st_ref_take(x_3, x_21); +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); lean_dec(x_22); -x_24 = lean_st_ref_take(x_3, x_23); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); -lean_dec(x_24); -x_27 = lean_array_push(x_25, x_1); -x_28 = lean_st_ref_set(x_3, x_27, x_26); +x_25 = lean_array_push(x_23, x_1); +x_26 = lean_st_ref_set(x_3, x_25, x_24); lean_dec(x_3); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) { -lean_object* x_30; uint8_t x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_28, 0); -lean_dec(x_30); -x_31 = 1; -x_32 = lean_box(x_31); -lean_ctor_set(x_28, 0, x_32); -return x_28; -} -else -{ -lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); +lean_object* x_28; uint8_t x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_26, 0); lean_dec(x_28); -x_34 = 1; -x_35 = lean_box(x_34); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_33); -return x_36; +x_29 = 1; +x_30 = lean_box(x_29); +lean_ctor_set(x_26, 0, x_30); +return x_26; +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = 1; +x_33 = lean_box(x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; } } } else { -uint8_t x_37; +uint8_t x_35; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_14); -if (x_37 == 0) +x_35 = !lean_is_exclusive(x_13); +if (x_35 == 0) { -return x_14; +return x_13; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_14, 0); -x_39 = lean_ctor_get(x_14, 1); -lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_14); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_13, 0); +x_37 = lean_ctor_get(x_13, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_13); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; } } } else { -lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_object* x_39; lean_object* x_40; lean_dec(x_10); lean_dec(x_1); -x_41 = lean_box(0); -x_42 = lean_box(x_4); -x_43 = lean_apply_8(x_9, x_41, x_2, x_3, x_42, x_5, x_6, x_7, x_8); -return x_43; +x_39 = lean_box(0); +x_40 = lean_apply_8(x_9, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_40; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_shouldPull___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullLetDecls_shouldPull(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_PullLetDecls_pullAlt___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5) { @@ -1077,7 +1008,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullAlt(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1610,55 +1541,55 @@ return x_127; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(x_5); +lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_11 = lean_apply_7(x_1, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +x_10 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_box(x_5); -x_15 = lean_apply_8(x_2, x_12, x_3, x_4, x_14, x_6, x_7, x_8, x_13); -return x_15; +lean_dec(x_10); +x_13 = lean_apply_8(x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_13; } else { -uint8_t x_16; +uint8_t x_14; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) { -return x_11; +return x_10; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_10); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } } @@ -1667,11 +1598,11 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pul _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg___boxed), 9, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg), 9, 0); return x_3; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -1684,6 +1615,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -1695,88 +1627,89 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_3, x_2); -x_15 = lean_box(x_6); lean_inc(x_1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_16 = lean_apply_8(x_1, x_14, x_4, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_8(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_2, x_22); -x_24 = lean_array_fset(x_3, x_2, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_2, x_21); +x_23 = lean_array_fset(x_3, x_2, x_16); lean_dec(x_2); -x_2 = x_23; -x_3 = x_24; -x_10 = x_18; +x_2 = x_22; +x_3 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_2, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_2, x_25); lean_dec(x_2); -x_2 = x_27; -x_10 = x_18; +x_2 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -1822,7 +1755,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; @@ -2542,7 +2475,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 4) @@ -2678,11 +2611,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullAlt___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullAlt), 8, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_1)) { @@ -2696,6 +2629,7 @@ lean_inc(x_10); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_9); @@ -2970,6 +2904,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -3004,18 +2939,18 @@ x_71 = lean_ctor_get(x_69, 2); lean_inc(x_71); x_72 = lean_ctor_get(x_69, 4); lean_inc(x_72); -x_73 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___boxed), 8, 1); +x_73 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls), 8, 1); lean_closure_set(x_73, 0, x_72); lean_inc(x_71); x_74 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg___boxed), 9, 2); lean_closure_set(x_74, 0, x_71); lean_closure_set(x_74, 1, x_73); -x_75 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___boxed), 12, 4); +x_75 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1), 12, 4); lean_closure_set(x_75, 0, x_69); lean_closure_set(x_75, 1, x_71); lean_closure_set(x_75, 2, x_70); lean_closure_set(x_75, 3, x_1); -x_76 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg___boxed), 9, 2); +x_76 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg), 9, 2); lean_closure_set(x_76, 0, x_74); lean_closure_set(x_76, 1, x_75); x_77 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(x_76, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3032,18 +2967,18 @@ x_80 = lean_ctor_get(x_78, 2); lean_inc(x_80); x_81 = lean_ctor_get(x_78, 4); lean_inc(x_81); -x_82 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___boxed), 8, 1); +x_82 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls), 8, 1); lean_closure_set(x_82, 0, x_81); lean_inc(x_80); x_83 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg___boxed), 9, 2); lean_closure_set(x_83, 0, x_80); lean_closure_set(x_83, 1, x_82); -x_84 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___boxed), 12, 4); +x_84 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1), 12, 4); lean_closure_set(x_84, 0, x_78); lean_closure_set(x_84, 1, x_80); lean_closure_set(x_84, 2, x_79); lean_closure_set(x_84, 3, x_1); -x_85 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg___boxed), 9, 2); +x_85 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg), 9, 2); lean_closure_set(x_85, 0, x_83); lean_closure_set(x_85, 1, x_84); x_86 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(x_85, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3058,12 +2993,12 @@ x_88 = lean_ctor_get(x_87, 3); lean_inc(x_88); lean_dec(x_87); x_89 = l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___closed__1; -x_90 = lean_alloc_closure((void*)(l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2___boxed), 9, 2); +x_90 = lean_alloc_closure((void*)(l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2), 9, 2); lean_closure_set(x_90, 0, x_88); lean_closure_set(x_90, 1, x_89); x_91 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2___boxed), 9, 1); lean_closure_set(x_91, 0, x_1); -x_92 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg___boxed), 9, 2); +x_92 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg), 9, 2); lean_closure_set(x_92, 0, x_90); lean_closure_set(x_92, 1, x_91); x_93 = l_Lean_Compiler_LCNF_PullLetDecls_withCheckpoint(x_92, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -3075,6 +3010,7 @@ lean_object* x_94; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_94 = lean_alloc_ctor(0, 2, 0); @@ -3112,85 +3048,24 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullLetDecls_pullAlt(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__3(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); -return x_14; -} -} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_PullLetDecls_pullDecls(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -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_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_8 = lean_box(0); x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_2); @@ -3206,68 +3081,67 @@ lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = lean_box(x_3); lean_inc(x_6); lean_inc(x_14); -x_17 = lean_apply_7(x_1, x_9, x_14, x_16, x_4, x_5, x_6, x_15); -if (lean_obj_tag(x_17) == 0) +x_16 = lean_apply_7(x_1, x_9, x_14, x_3, x_4, x_5, x_6, x_15); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; -x_18 = lean_ctor_get(x_17, 0); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_st_ref_get(x_6, x_19); +lean_dec(x_16); +x_19 = lean_st_ref_get(x_6, x_18); lean_dec(x_6); -x_21 = lean_ctor_get(x_20, 1); -lean_inc(x_21); -lean_dec(x_20); -x_22 = lean_st_ref_get(x_14, x_21); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = lean_st_ref_get(x_14, x_20); lean_dec(x_14); -x_23 = !lean_is_exclusive(x_22); -if (x_23 == 0) +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) { -lean_object* x_24; -x_24 = lean_ctor_get(x_22, 0); -lean_dec(x_24); -lean_ctor_set(x_22, 0, x_18); -return x_22; +lean_object* x_23; +x_23 = lean_ctor_get(x_21, 0); +lean_dec(x_23); +lean_ctor_set(x_21, 0, x_17); +return x_21; } else { -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_22, 1); -lean_inc(x_25); -lean_dec(x_22); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_18); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } else { -uint8_t x_27; +uint8_t x_26; lean_dec(x_14); lean_dec(x_6); -x_27 = !lean_is_exclusive(x_17); -if (x_27 == 0) +x_26 = !lean_is_exclusive(x_16); +if (x_26 == 0) { -return x_17; +return x_16; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_17, 0); -x_29 = lean_ctor_get(x_17, 1); -lean_inc(x_29); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_16, 0); +x_28 = lean_ctor_get(x_16, 1); lean_inc(x_28); -lean_dec(x_17); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -return x_30; +lean_inc(x_27); +lean_dec(x_16); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -3276,21 +3150,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run(lean_object _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg), 7, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_PullLetDecls_PullM_run___rarg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -3298,51 +3162,55 @@ x_11 = l_Lean_Compiler_LCNF_PullLetDecls_attachToPull(x_3, x_4, x_5, x_6, x_7, x x_12 = !lean_is_exclusive(x_11); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; x_13 = lean_ctor_get(x_11, 0); x_14 = lean_ctor_get(x_1, 0); x_15 = lean_ctor_get(x_1, 1); x_16 = lean_ctor_get(x_1, 2); +x_17 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); -x_17 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_17, 0, x_14); -lean_ctor_set(x_17, 1, x_15); -lean_ctor_set(x_17, 2, x_16); -lean_ctor_set(x_17, 3, x_2); -lean_ctor_set(x_17, 4, x_13); -lean_ctor_set(x_11, 0, x_17); +x_18 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_18, 0, x_14); +lean_ctor_set(x_18, 1, x_15); +lean_ctor_set(x_18, 2, x_16); +lean_ctor_set(x_18, 3, x_2); +lean_ctor_set(x_18, 4, x_13); +lean_ctor_set_uint8(x_18, sizeof(void*)*5, x_17); +lean_ctor_set(x_11, 0, x_18); return x_11; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; +x_19 = lean_ctor_get(x_11, 0); +x_20 = lean_ctor_get(x_11, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); lean_dec(x_11); -x_20 = lean_ctor_get(x_1, 0); -x_21 = lean_ctor_get(x_1, 1); -x_22 = lean_ctor_get(x_1, 2); +x_21 = lean_ctor_get(x_1, 0); +x_22 = lean_ctor_get(x_1, 1); +x_23 = lean_ctor_get(x_1, 2); +x_24 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -x_23 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_23, 0, x_20); -lean_ctor_set(x_23, 1, x_21); -lean_ctor_set(x_23, 2, x_22); -lean_ctor_set(x_23, 3, x_2); -lean_ctor_set(x_23, 4, x_18); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_19); -return x_24; +x_25 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_25, 0, x_21); +lean_ctor_set(x_25, 1, x_22); +lean_ctor_set(x_25, 2, x_23); +lean_ctor_set(x_25, 3, x_2); +lean_ctor_set(x_25, 4, x_19); +lean_ctor_set_uint8(x_25, sizeof(void*)*5, x_24); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_20); +return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -3350,13 +3218,13 @@ x_8 = lean_ctor_get(x_1, 3); lean_inc(x_8); x_9 = lean_ctor_get(x_1, 4); lean_inc(x_9); -x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls___boxed), 8, 1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_pullDecls), 8, 1); lean_closure_set(x_10, 0, x_9); lean_inc(x_8); x_11 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1___boxed), 10, 2); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_8); -x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg___boxed), 9, 2); +x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_PullLetDecls_pullDecls___spec__1___rarg), 9, 2); lean_closure_set(x_12, 0, x_10); lean_closure_set(x_12, 1, x_11); x_13 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_PullLetDecls_withParams___rarg___boxed), 9, 2); @@ -3369,30 +3237,19 @@ return x_14; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Decl_pullLetDecls___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -return x_12; +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullLetDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Decl_pullLetDecls(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -3565,7 +3422,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_pullInstances___lambd return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -3577,25 +3434,14 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Decl_pullInstances___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_pullInstances___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_pullInstances(x_1, x_7, x_3, x_4, x_5, x_6); return x_8; } } @@ -3621,7 +3467,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_pullInstances___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_pullInstances___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_pullInstances), 6, 0); return x_1; } } @@ -3645,7 +3491,7 @@ x_1 = l_Lean_Compiler_LCNF_pullInstances___closed__4; return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__1() { _start: { lean_object* x_1; @@ -3653,31 +3499,31 @@ x_1 = lean_mk_string_from_bytes("Compiler", 8); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__2; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__2; x_2 = l_Lean_Compiler_LCNF_pullInstances___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__3; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__3; x_3 = 1; x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); return x_4; @@ -3742,13 +3588,13 @@ l_Lean_Compiler_LCNF_pullInstances___closed__4 = _init_l_Lean_Compiler_LCNF_pull lean_mark_persistent(l_Lean_Compiler_LCNF_pullInstances___closed__4); l_Lean_Compiler_LCNF_pullInstances = _init_l_Lean_Compiler_LCNF_pullInstances(); lean_mark_persistent(l_Lean_Compiler_LCNF_pullInstances); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356____closed__3); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1356_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357____closed__3); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_PullLetDecls___hyg_1357_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ReduceJpArity.c b/stage0/stdlib/Lean/Compiler/LCNF/ReduceJpArity.c index 073e890a87..032c6f9f67 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ReduceJpArity.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ReduceJpArity.c @@ -20,21 +20,19 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_reduceJpArity___closed__3; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882_(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___closed__1; uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__6(lean_object*, lean_object*); @@ -43,38 +41,35 @@ lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__6___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_reduceJpArity; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__2; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__2; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_reduceJpArity___closed__4; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_reduceJpArity___closed__1; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__3; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__3; static lean_object* l_Lean_Compiler_LCNF_reduceJpArity___closed__2; lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_Array_reverse___rarg(lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__4(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__1; lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Code_collectUsed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__5(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_findCore___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__1(lean_object* x_1, lean_object* x_2) { _start: @@ -120,7 +115,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -259,7 +254,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -2836,7 +2831,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -3037,7 +3032,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -3050,6 +3045,7 @@ lean_object* x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -3060,86 +3056,87 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; x_13 = lean_array_fget(x_3, x_2); -x_14 = lean_box(x_5); lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_13); -x_15 = lean_apply_7(x_1, x_13, x_4, x_14, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_7(x_1, x_13, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; uint8_t x_19; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = lean_ptr_addr(x_13); +lean_dec(x_14); +x_17 = lean_ptr_addr(x_13); lean_dec(x_13); -x_19 = lean_ptr_addr(x_16); -x_20 = lean_usize_dec_eq(x_18, x_19); -if (x_20 == 0) +x_18 = lean_ptr_addr(x_15); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_2, x_21); -x_23 = lean_array_fset(x_3, x_2, x_16); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_add(x_2, x_20); +x_22 = lean_array_fset(x_3, x_2, x_15); lean_dec(x_2); -x_2 = x_22; -x_3 = x_23; -x_9 = x_17; +x_2 = x_21; +x_3 = x_22; +x_9 = x_16; goto _start; } else { -lean_object* x_25; lean_object* x_26; -lean_dec(x_16); -x_25 = lean_unsigned_to_nat(1u); -x_26 = lean_nat_add(x_2, x_25); +lean_object* x_24; lean_object* x_25; +lean_dec(x_15); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_2, x_24); lean_dec(x_2); -x_2 = x_26; -x_9 = x_17; +x_2 = x_25; +x_9 = x_16; goto _start; } } else { -uint8_t x_28; +uint8_t x_27; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_28 = !lean_is_exclusive(x_15); -if (x_28 == 0) +x_27 = !lean_is_exclusive(x_14); +if (x_27 == 0) { -return x_15; +return x_14; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_15, 0); -x_30 = lean_ctor_get(x_15, 1); -lean_inc(x_30); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_14, 0); +x_29 = lean_ctor_get(x_14, 1); lean_inc(x_29); -lean_dec(x_15); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_inc(x_28); +lean_dec(x_14); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__8(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -3148,7 +3145,7 @@ x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; @@ -3219,11 +3216,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_ReduceJpArity_reduce___closed__2( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -3428,6 +3425,7 @@ lean_inc(x_46); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_47 = l_Lean_Compiler_LCNF_ReduceJpArity_reduce(x_46, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_47) == 0) @@ -3648,6 +3646,7 @@ lean_dec(x_44); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_91 = !lean_is_exclusive(x_47); @@ -3682,6 +3681,7 @@ lean_inc(x_97); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_98 = l_Lean_Compiler_LCNF_ReduceJpArity_reduce(x_97, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_98) == 0) @@ -3747,6 +3747,7 @@ lean_dec(x_124); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_99); x_125 = l_Lean_Compiler_LCNF_Code_inferType(x_99, x_3, x_4, x_5, x_6, x_114); if (lean_obj_tag(x_125) == 0) @@ -3760,6 +3761,7 @@ lean_dec(x_125); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_118); x_128 = l_Lean_Compiler_LCNF_mkForallParams(x_118, x_126, x_3, x_4, x_5, x_6, x_127); if (lean_obj_tag(x_128) == 0) @@ -3846,6 +3848,7 @@ lean_dec(x_95); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_146 = !lean_is_exclusive(x_128); if (x_146 == 0) @@ -3879,6 +3882,7 @@ lean_dec(x_95); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_150 = !lean_is_exclusive(x_125); if (x_150 == 0) @@ -3907,6 +3911,7 @@ lean_dec(x_1); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_99); x_154 = l_Lean_Compiler_LCNF_Code_inferType(x_99, x_3, x_4, x_5, x_6, x_114); if (lean_obj_tag(x_154) == 0) @@ -3920,6 +3925,7 @@ lean_dec(x_154); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_118); x_157 = l_Lean_Compiler_LCNF_mkForallParams(x_118, x_155, x_3, x_4, x_5, x_6, x_156); if (lean_obj_tag(x_157) == 0) @@ -4004,6 +4010,7 @@ lean_dec(x_95); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_175 = lean_ctor_get(x_157, 0); lean_inc(x_175); @@ -4038,6 +4045,7 @@ lean_dec(x_95); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_179 = lean_ctor_get(x_154, 0); lean_inc(x_179); @@ -4276,6 +4284,7 @@ lean_dec(x_95); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_223 = !lean_is_exclusive(x_98); @@ -4314,6 +4323,7 @@ lean_dec(x_227); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_230 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_230, 0, x_1); @@ -4349,6 +4359,7 @@ x_243 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_234); x_244 = !lean_is_exclusive(x_243); @@ -4403,6 +4414,7 @@ x_260 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_251); x_261 = lean_ctor_get(x_260, 0); @@ -4693,6 +4705,7 @@ lean_object* x_317; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_317 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_317, 0, x_1); @@ -4715,40 +4728,38 @@ return x_3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_3); lean_dec(x_3); x_13 = lean_unbox_usize(x_4); lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2(x_1, x_2, x_12, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__2___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__3(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__6___boxed(lean_object* x_1, lean_object* x_2) { @@ -4764,63 +4775,22 @@ return x_3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__7(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_14; +return x_13; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__9(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_ReduceJpArity_reduce___spec__8(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ReduceJpArity_reduce___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ReduceJpArity_reduce___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ReduceJpArity_reduce(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity(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; @@ -4892,91 +4862,83 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; x_24 = lean_ctor_get(x_1, 0); x_25 = lean_ctor_get(x_1, 1); x_26 = lean_ctor_get(x_1, 2); x_27 = lean_ctor_get(x_1, 3); x_28 = lean_ctor_get(x_1, 4); +x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_dec(x_1); -x_29 = lean_box(0); -x_30 = l_Lean_Compiler_LCNF_ReduceJpArity_reduce(x_28, x_29, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_30) == 0) +x_30 = lean_box(0); +x_31 = l_Lean_Compiler_LCNF_ReduceJpArity_reduce(x_28, x_30, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_31) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_33 = x_30; +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_34 = x_31; } else { - lean_dec_ref(x_30); - x_33 = lean_box(0); + lean_dec_ref(x_31); + x_34 = lean_box(0); } -x_34 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_34, 0, x_24); -lean_ctor_set(x_34, 1, x_25); -lean_ctor_set(x_34, 2, x_26); -lean_ctor_set(x_34, 3, x_27); -lean_ctor_set(x_34, 4, x_31); -if (lean_is_scalar(x_33)) { - x_35 = lean_alloc_ctor(0, 2, 0); +x_35 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_35, 0, x_24); +lean_ctor_set(x_35, 1, x_25); +lean_ctor_set(x_35, 2, x_26); +lean_ctor_set(x_35, 3, x_27); +lean_ctor_set(x_35, 4, x_32); +lean_ctor_set_uint8(x_35, sizeof(void*)*5, x_29); +if (lean_is_scalar(x_34)) { + x_36 = lean_alloc_ctor(0, 2, 0); } else { - x_35 = x_33; + x_36 = x_34; } -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_32); -return x_35; +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_33); +return x_36; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_dec(x_27); lean_dec(x_26); lean_dec(x_25); lean_dec(x_24); -x_36 = lean_ctor_get(x_30, 0); -lean_inc(x_36); -x_37 = lean_ctor_get(x_30, 1); +x_37 = lean_ctor_get(x_31, 0); lean_inc(x_37); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_38 = x_30; +x_38 = lean_ctor_get(x_31, 1); +lean_inc(x_38); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_39 = x_31; } else { - lean_dec_ref(x_30); - x_38 = lean_box(0); + lean_dec_ref(x_31); + x_39 = lean_box(0); } -if (lean_is_scalar(x_38)) { - x_39 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_39)) { + x_40 = lean_alloc_ctor(1, 2, 0); } else { - x_39 = x_38; + x_40 = x_39; } -lean_ctor_set(x_39, 0, x_36); -lean_ctor_set(x_39, 1, x_37); -return x_39; +lean_ctor_set(x_40, 0, x_37); +lean_ctor_set(x_40, 1, x_38); +return x_40; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_reduceJpArity(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_reduceJpArity___closed__1() { _start: { @@ -4999,7 +4961,7 @@ static lean_object* _init_l_Lean_Compiler_LCNF_reduceJpArity___closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_reduceJpArity___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_reduceJpArity), 6, 0); return x_1; } } @@ -5023,7 +4985,7 @@ x_1 = l_Lean_Compiler_LCNF_reduceJpArity___closed__4; return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__1() { _start: { lean_object* x_1; @@ -5031,31 +4993,31 @@ x_1 = lean_mk_string_from_bytes("Compiler", 8); return x_1; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__1; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__2; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__2; x_2 = l_Lean_Compiler_LCNF_reduceJpArity___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__3; +x_2 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__3; x_3 = 1; x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); return x_4; @@ -5096,13 +5058,13 @@ l_Lean_Compiler_LCNF_reduceJpArity___closed__4 = _init_l_Lean_Compiler_LCNF_redu lean_mark_persistent(l_Lean_Compiler_LCNF_reduceJpArity___closed__4); l_Lean_Compiler_LCNF_reduceJpArity = _init_l_Lean_Compiler_LCNF_reduceJpArity(); lean_mark_persistent(l_Lean_Compiler_LCNF_reduceJpArity); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881____closed__3); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_881_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882____closed__3); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_ReduceJpArity___hyg_882_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Renaming.c b/stage0/stdlib/Lean/Compiler/LCNF/Renaming.c new file mode 100644 index 0000000000..c043dbfa77 --- /dev/null +++ b/stage0/stdlib/Lean/Compiler/LCNF/Renaming.c @@ -0,0 +1,2416 @@ +// Lean compiler output +// Module: Lean.Compiler.LCNF.Renaming +// Imports: Init Lean.Compiler.LCNF.CompilerM +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Param_applyRenaming___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_eq(size_t, size_t); +lean_object* l_Lean_Compiler_LCNF_LCtx_addLetDecl(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1(lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_applyRenaming(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_applyRenaming(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_applyRenaming___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); +lean_object* l_Lean_Compiler_LCNF_LCtx_addParam(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Param_applyRenaming(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_LCtx_addFunDecl(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1___boxed(lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_applyRenaming(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +x_6 = lean_ctor_get(x_1, 2); +x_7 = lean_ctor_get(x_1, 3); +x_8 = l_Lean_Name_quickCmp(x_2, x_5); +switch (x_8) { +case 0: +{ +x_1 = x_4; +goto _start; +} +case 1: +{ +lean_object* x_10; +lean_inc(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_6); +return x_10; +} +default: +{ +x_1 = x_7; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Param_applyRenaming(lean_object* x_1, 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; uint8_t x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); +x_11 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1(x_2, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +lean_dec(x_9); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_7); +return x_12; +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_14 = lean_ctor_get(x_1, 2); +lean_dec(x_14); +x_15 = lean_ctor_get(x_1, 1); +lean_dec(x_15); +x_16 = lean_ctor_get(x_1, 0); +lean_dec(x_16); +x_17 = lean_ctor_get(x_11, 0); +lean_inc(x_17); +lean_dec(x_11); +lean_ctor_set(x_1, 1, x_17); +x_18 = lean_st_ref_take(x_4, x_7); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = !lean_is_exclusive(x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_22 = lean_ctor_get(x_19, 0); +lean_inc(x_1); +x_23 = l_Lean_Compiler_LCNF_LCtx_addParam(x_22, x_1); +lean_ctor_set(x_19, 0, x_23); +x_24 = lean_st_ref_set(x_4, x_19, x_20); +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) +{ +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_1); +return x_24; +} +else +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_1); +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_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_29 = lean_ctor_get(x_19, 0); +x_30 = lean_ctor_get(x_19, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_19); +lean_inc(x_1); +x_31 = l_Lean_Compiler_LCNF_LCtx_addParam(x_29, x_1); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_30); +x_33 = lean_st_ref_set(x_4, x_32, x_20); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +if (lean_is_exclusive(x_33)) { + lean_ctor_release(x_33, 0); + lean_ctor_release(x_33, 1); + x_35 = x_33; +} else { + lean_dec_ref(x_33); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_1); +lean_ctor_set(x_36, 1, x_34); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_1); +x_37 = lean_ctor_get(x_11, 0); +lean_inc(x_37); +lean_dec(x_11); +x_38 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_38, 0, x_8); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_9); +lean_ctor_set_uint8(x_38, sizeof(void*)*3, x_10); +x_39 = lean_st_ref_take(x_4, x_7); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_ctor_get(x_40, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_40, 1); +lean_inc(x_43); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_44 = x_40; +} else { + lean_dec_ref(x_40); + x_44 = lean_box(0); +} +lean_inc(x_38); +x_45 = l_Lean_Compiler_LCNF_LCtx_addParam(x_42, x_38); +if (lean_is_scalar(x_44)) { + x_46 = lean_alloc_ctor(0, 2, 0); +} else { + x_46 = x_44; +} +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_43); +x_47 = lean_st_ref_set(x_4, x_46, x_41); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_47)) { + lean_ctor_release(x_47, 0); + lean_ctor_release(x_47, 1); + x_49 = x_47; +} else { + lean_dec_ref(x_47); + x_49 = lean_box(0); +} +if (lean_is_scalar(x_49)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_49; +} +lean_ctor_set(x_50, 0, x_38); +lean_ctor_set(x_50, 1, x_48); +return x_50; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Param_applyRenaming___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Param_applyRenaming(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_applyRenaming(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +x_11 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1(x_2, x_8); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_1); +lean_ctor_set(x_12, 1, x_7); +return x_12; +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_1); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_14 = lean_ctor_get(x_1, 3); +lean_dec(x_14); +x_15 = lean_ctor_get(x_1, 2); +lean_dec(x_15); +x_16 = lean_ctor_get(x_1, 1); +lean_dec(x_16); +x_17 = lean_ctor_get(x_1, 0); +lean_dec(x_17); +x_18 = lean_ctor_get(x_11, 0); +lean_inc(x_18); +lean_dec(x_11); +lean_ctor_set(x_1, 1, x_18); +x_19 = lean_st_ref_take(x_4, x_7); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = !lean_is_exclusive(x_20); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_1); +x_24 = l_Lean_Compiler_LCNF_LCtx_addLetDecl(x_23, x_1); +lean_ctor_set(x_20, 0, x_24); +x_25 = lean_st_ref_set(x_4, x_20, x_21); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) +{ +lean_object* x_27; +x_27 = lean_ctor_get(x_25, 0); +lean_dec(x_27); +lean_ctor_set(x_25, 0, x_1); +return x_25; +} +else +{ +lean_object* x_28; lean_object* x_29; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); +lean_dec(x_25); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_1); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_30 = lean_ctor_get(x_20, 0); +x_31 = lean_ctor_get(x_20, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_20); +lean_inc(x_1); +x_32 = l_Lean_Compiler_LCNF_LCtx_addLetDecl(x_30, x_1); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_31); +x_34 = lean_st_ref_set(x_4, x_33, x_21); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; +} else { + lean_dec_ref(x_34); + x_36 = lean_box(0); +} +if (lean_is_scalar(x_36)) { + x_37 = lean_alloc_ctor(0, 2, 0); +} else { + x_37 = x_36; +} +lean_ctor_set(x_37, 0, x_1); +lean_ctor_set(x_37, 1, x_35); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_1); +x_38 = lean_ctor_get(x_11, 0); +lean_inc(x_38); +lean_dec(x_11); +x_39 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_39, 0, x_8); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_9); +lean_ctor_set(x_39, 3, x_10); +x_40 = lean_st_ref_take(x_4, x_7); +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_45 = x_41; +} else { + lean_dec_ref(x_41); + x_45 = lean_box(0); +} +lean_inc(x_39); +x_46 = l_Lean_Compiler_LCNF_LCtx_addLetDecl(x_43, x_39); +if (lean_is_scalar(x_45)) { + x_47 = lean_alloc_ctor(0, 2, 0); +} else { + x_47 = x_45; +} +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_44); +x_48 = lean_st_ref_set(x_4, x_47, x_42); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + lean_ctor_release(x_48, 1); + x_50 = x_48; +} else { + lean_dec_ref(x_48); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_39); +lean_ctor_set(x_51, 1, x_49); +return x_51; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_LetDecl_applyRenaming___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_LetDecl_applyRenaming(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_FunDeclCore_applyRenaming(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 2); +lean_inc(x_9); +x_10 = lean_ctor_get(x_1, 3); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 4); +lean_inc(x_11); +x_12 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Param_applyRenaming___spec__1(x_2, x_8); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; +lean_dec(x_8); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_13 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_11, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(x_1, x_10, x_9, x_14, x_3, x_4, x_5, x_6, x_15); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_16; +} +else +{ +uint8_t x_17; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_17 = !lean_is_exclusive(x_13); +if (x_17 == 0) +{ +return x_13; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_13, 0); +x_19 = lean_ctor_get(x_13, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_13); +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; +} +} +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_1); +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; uint8_t x_31; +x_22 = lean_ctor_get(x_1, 4); +lean_dec(x_22); +x_23 = lean_ctor_get(x_1, 3); +lean_dec(x_23); +x_24 = lean_ctor_get(x_1, 2); +lean_dec(x_24); +x_25 = lean_ctor_get(x_1, 1); +lean_dec(x_25); +x_26 = lean_ctor_get(x_1, 0); +lean_dec(x_26); +x_27 = lean_ctor_get(x_12, 0); +lean_inc(x_27); +lean_dec(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_ctor_set(x_1, 1, x_27); +x_28 = lean_st_ref_take(x_4, x_7); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = !lean_is_exclusive(x_29); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_29, 0); +lean_inc(x_1); +x_33 = l_Lean_Compiler_LCNF_LCtx_addFunDecl(x_32, x_1); +lean_ctor_set(x_29, 0, x_33); +x_34 = lean_st_ref_set(x_4, x_29, x_30); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_36 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_11, x_2, x_3, x_4, x_5, x_6, x_35); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(x_1, x_10, x_9, x_37, x_3, x_4, x_5, x_6, x_38); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_39; +} +else +{ +uint8_t x_40; +lean_dec(x_1); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) +{ +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_36, 0); +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_36); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_44 = lean_ctor_get(x_29, 0); +x_45 = lean_ctor_get(x_29, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_29); +lean_inc(x_1); +x_46 = l_Lean_Compiler_LCNF_LCtx_addFunDecl(x_44, x_1); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = lean_st_ref_set(x_4, x_47, x_30); +x_49 = lean_ctor_get(x_48, 1); +lean_inc(x_49); +lean_dec(x_48); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_50 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_11, x_2, x_3, x_4, x_5, x_6, x_49); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +lean_dec(x_50); +x_53 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(x_1, x_10, x_9, x_51, x_3, x_4, x_5, x_6, x_52); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_53; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_1); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = lean_ctor_get(x_50, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_50, 1); +lean_inc(x_55); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_56 = x_50; +} else { + lean_dec_ref(x_50); + x_56 = lean_box(0); +} +if (lean_is_scalar(x_56)) { + x_57 = lean_alloc_ctor(1, 2, 0); +} else { + x_57 = x_56; +} +lean_ctor_set(x_57, 0, x_54); +lean_ctor_set(x_57, 1, x_55); +return x_57; +} +} +} +else +{ +lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_1); +x_58 = lean_ctor_get(x_12, 0); +lean_inc(x_58); +lean_dec(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_59 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_59, 0, x_8); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_9); +lean_ctor_set(x_59, 3, x_10); +lean_ctor_set(x_59, 4, x_11); +x_60 = lean_st_ref_take(x_4, x_7); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_60, 1); +lean_inc(x_62); +lean_dec(x_60); +x_63 = lean_ctor_get(x_61, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_61, 1); +lean_inc(x_64); +if (lean_is_exclusive(x_61)) { + lean_ctor_release(x_61, 0); + lean_ctor_release(x_61, 1); + x_65 = x_61; +} else { + lean_dec_ref(x_61); + x_65 = lean_box(0); +} +lean_inc(x_59); +x_66 = l_Lean_Compiler_LCNF_LCtx_addFunDecl(x_63, x_59); +if (lean_is_scalar(x_65)) { + x_67 = lean_alloc_ctor(0, 2, 0); +} else { + x_67 = x_65; +} +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_64); +x_68 = lean_st_ref_set(x_4, x_67, x_62); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_70 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_11, x_2, x_3, x_4, x_5, x_6, x_69); +if (lean_obj_tag(x_70) == 0) +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(x_59, x_10, x_9, x_71, x_3, x_4, x_5, x_6, x_72); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_73; +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +lean_dec(x_59); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_74 = lean_ctor_get(x_70, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_70, 1); +lean_inc(x_75); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + x_76 = x_70; +} else { + lean_dec_ref(x_70); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_74); +lean_ctor_set(x_77, 1, x_75); +return x_77; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_get_size(x_3); +x_10 = lean_nat_dec_lt(x_2, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_3); +lean_ctor_set(x_11, 1, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_array_fget(x_3, x_2); +lean_inc(x_1); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_12); +x_13 = lean_apply_6(x_1, x_12, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_17 = lean_ptr_addr(x_14); +x_18 = lean_usize_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_2, x_19); +x_21 = lean_array_fset(x_3, x_2, x_14); +lean_dec(x_2); +x_2 = x_20; +x_3 = x_21; +x_8 = x_15; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_14); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_2, x_23); +lean_dec(x_2); +x_2 = x_24; +x_8 = x_15; +goto _start; +} +} +else +{ +uint8_t x_26; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +return x_13; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_13); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__2(x_2, x_8, x_1, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_get_size(x_3); +x_10 = lean_nat_dec_lt(x_2, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_3); +lean_ctor_set(x_11, 1, x_8); +return x_11; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_array_fget(x_3, x_2); +lean_inc(x_1); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_12); +x_13 = lean_apply_6(x_1, x_12, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_13) == 0) +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ptr_addr(x_12); +lean_dec(x_12); +x_17 = lean_ptr_addr(x_14); +x_18 = lean_usize_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_2, x_19); +x_21 = lean_array_fset(x_3, x_2, x_14); +lean_dec(x_2); +x_2 = x_20; +x_3 = x_21; +x_8 = x_15; +goto _start; +} +else +{ +lean_object* x_23; lean_object* x_24; +lean_dec(x_14); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_add(x_2, x_23); +lean_dec(x_2); +x_2 = x_24; +x_8 = x_15; +goto _start; +} +} +else +{ +uint8_t x_26; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_13); +if (x_26 == 0) +{ +return x_13; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_13, 0); +x_28 = lean_ctor_get(x_13, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_13); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__4(x_2, x_8, x_1, x_3, x_4, x_5, x_6, x_7); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Param_applyRenaming(x_2, x_1, x_3, x_4, x_5, x_6, x_7); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_ctor_get(x_2, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 2); +lean_inc(x_9); +lean_inc(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1___boxed), 7, 1); +lean_closure_set(x_10, 0, x_1); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__1(x_8, x_10, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_9, x_1, x_3, x_4, x_5, x_6, x_13); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +x_17 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp(x_2, x_12, x_16); +lean_ctor_set(x_14, 0, x_17); +return x_14; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_14, 0); +x_19 = lean_ctor_get(x_14, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_14); +x_20 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp(x_2, x_12, x_18); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +return x_21; +} +} +else +{ +uint8_t x_22; +lean_dec(x_12); +lean_dec(x_2); +x_22 = !lean_is_exclusive(x_14); +if (x_22 == 0) +{ +return x_14; +} +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_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; +} +} +} +else +{ +uint8_t x_26; +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_11); +if (x_26 == 0) +{ +return x_11; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_11, 0); +x_28 = lean_ctor_get(x_11, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_11); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_ctor_get(x_2, 0); +lean_inc(x_30); +x_31 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_30, x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_31) == 0) +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_31, 0); +x_34 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(x_2, x_33); +lean_ctor_set(x_31, 0, x_34); +return x_31; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_35 = lean_ctor_get(x_31, 0); +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_31); +x_37 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(x_2, x_35); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +return x_38; +} +} +else +{ +uint8_t x_39; +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_31); +if (x_39 == 0) +{ +return x_31; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_31, 0); +x_41 = lean_ctor_get(x_31, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_31); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming(lean_object* x_1, 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: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +lean_inc(x_8); +x_10 = l_Lean_Compiler_LCNF_LetDecl_applyRenaming(x_8, x_2, x_3, x_4, x_5, x_6, x_7); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +lean_inc(x_9); +x_13 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_9, x_2, x_3, x_4, x_5, x_6, x_12); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +lean_object* x_15; size_t x_16; size_t x_17; uint8_t x_18; +x_15 = lean_ctor_get(x_13, 0); +x_16 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_17 = lean_ptr_addr(x_15); +x_18 = lean_usize_dec_eq(x_16, x_17); +if (x_18 == 0) +{ +uint8_t x_19; +lean_dec(x_8); +x_19 = !lean_is_exclusive(x_1); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_1, 1); +lean_dec(x_20); +x_21 = lean_ctor_get(x_1, 0); +lean_dec(x_21); +lean_ctor_set(x_1, 1, x_15); +lean_ctor_set(x_1, 0, x_11); +lean_ctor_set(x_13, 0, x_1); +return x_13; +} +else +{ +lean_object* x_22; +lean_dec(x_1); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_11); +lean_ctor_set(x_22, 1, x_15); +lean_ctor_set(x_13, 0, x_22); +return x_13; +} +} +else +{ +size_t x_23; size_t x_24; uint8_t x_25; +x_23 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_24 = lean_ptr_addr(x_11); +x_25 = lean_usize_dec_eq(x_23, x_24); +if (x_25 == 0) +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_1); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_1, 1); +lean_dec(x_27); +x_28 = lean_ctor_get(x_1, 0); +lean_dec(x_28); +lean_ctor_set(x_1, 1, x_15); +lean_ctor_set(x_1, 0, x_11); +lean_ctor_set(x_13, 0, x_1); +return x_13; +} +else +{ +lean_object* x_29; +lean_dec(x_1); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_11); +lean_ctor_set(x_29, 1, x_15); +lean_ctor_set(x_13, 0, x_29); +return x_13; +} +} +else +{ +lean_dec(x_15); +lean_dec(x_11); +lean_ctor_set(x_13, 0, x_1); +return x_13; +} +} +} +else +{ +lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; uint8_t x_34; +x_30 = lean_ctor_get(x_13, 0); +x_31 = lean_ctor_get(x_13, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_13); +x_32 = lean_ptr_addr(x_9); +lean_dec(x_9); +x_33 = lean_ptr_addr(x_30); +x_34 = lean_usize_dec_eq(x_32, x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_8); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_35 = x_1; +} else { + lean_dec_ref(x_1); + x_35 = lean_box(0); +} +if (lean_is_scalar(x_35)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_35; +} +lean_ctor_set(x_36, 0, x_11); +lean_ctor_set(x_36, 1, x_30); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_31); +return x_37; +} +else +{ +size_t x_38; size_t x_39; uint8_t x_40; +x_38 = lean_ptr_addr(x_8); +lean_dec(x_8); +x_39 = lean_ptr_addr(x_11); +x_40 = lean_usize_dec_eq(x_38, x_39); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_41 = x_1; +} else { + lean_dec_ref(x_1); + x_41 = lean_box(0); +} +if (lean_is_scalar(x_41)) { + x_42 = lean_alloc_ctor(0, 2, 0); +} else { + x_42 = x_41; +} +lean_ctor_set(x_42, 0, x_11); +lean_ctor_set(x_42, 1, x_30); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_31); +return x_43; +} +else +{ +lean_object* x_44; +lean_dec(x_30); +lean_dec(x_11); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_1); +lean_ctor_set(x_44, 1, x_31); +return x_44; +} +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_1); +x_45 = !lean_is_exclusive(x_13); +if (x_45 == 0) +{ +return x_13; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_13, 0); +x_47 = lean_ctor_get(x_13, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_13); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; +} +} +} +case 1: +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_1, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_1, 1); +lean_inc(x_50); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_49); +x_51 = l_Lean_Compiler_LCNF_FunDeclCore_applyRenaming(x_49, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_51) == 0) +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +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); +lean_inc(x_50); +x_54 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_50, x_2, x_3, x_4, x_5, x_6, x_53); +if (lean_obj_tag(x_54) == 0) +{ +uint8_t x_55; +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) +{ +lean_object* x_56; size_t x_57; size_t x_58; uint8_t x_59; +x_56 = lean_ctor_get(x_54, 0); +x_57 = lean_ptr_addr(x_50); +lean_dec(x_50); +x_58 = lean_ptr_addr(x_56); +x_59 = lean_usize_dec_eq(x_57, x_58); +if (x_59 == 0) +{ +uint8_t x_60; +lean_dec(x_49); +x_60 = !lean_is_exclusive(x_1); +if (x_60 == 0) +{ +lean_object* x_61; lean_object* x_62; +x_61 = lean_ctor_get(x_1, 1); +lean_dec(x_61); +x_62 = lean_ctor_get(x_1, 0); +lean_dec(x_62); +lean_ctor_set(x_1, 1, x_56); +lean_ctor_set(x_1, 0, x_52); +lean_ctor_set(x_54, 0, x_1); +return x_54; +} +else +{ +lean_object* x_63; +lean_dec(x_1); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_52); +lean_ctor_set(x_63, 1, x_56); +lean_ctor_set(x_54, 0, x_63); +return x_54; +} +} +else +{ +size_t x_64; size_t x_65; uint8_t x_66; +x_64 = lean_ptr_addr(x_49); +lean_dec(x_49); +x_65 = lean_ptr_addr(x_52); +x_66 = lean_usize_dec_eq(x_64, x_65); +if (x_66 == 0) +{ +uint8_t x_67; +x_67 = !lean_is_exclusive(x_1); +if (x_67 == 0) +{ +lean_object* x_68; lean_object* x_69; +x_68 = lean_ctor_get(x_1, 1); +lean_dec(x_68); +x_69 = lean_ctor_get(x_1, 0); +lean_dec(x_69); +lean_ctor_set(x_1, 1, x_56); +lean_ctor_set(x_1, 0, x_52); +lean_ctor_set(x_54, 0, x_1); +return x_54; +} +else +{ +lean_object* x_70; +lean_dec(x_1); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_52); +lean_ctor_set(x_70, 1, x_56); +lean_ctor_set(x_54, 0, x_70); +return x_54; +} +} +else +{ +lean_dec(x_56); +lean_dec(x_52); +lean_ctor_set(x_54, 0, x_1); +return x_54; +} +} +} +else +{ +lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; uint8_t x_75; +x_71 = lean_ctor_get(x_54, 0); +x_72 = lean_ctor_get(x_54, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_54); +x_73 = lean_ptr_addr(x_50); +lean_dec(x_50); +x_74 = lean_ptr_addr(x_71); +x_75 = lean_usize_dec_eq(x_73, x_74); +if (x_75 == 0) +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +lean_dec(x_49); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_76 = x_1; +} else { + lean_dec_ref(x_1); + x_76 = lean_box(0); +} +if (lean_is_scalar(x_76)) { + x_77 = lean_alloc_ctor(1, 2, 0); +} else { + x_77 = x_76; +} +lean_ctor_set(x_77, 0, x_52); +lean_ctor_set(x_77, 1, x_71); +x_78 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_78, 0, x_77); +lean_ctor_set(x_78, 1, x_72); +return x_78; +} +else +{ +size_t x_79; size_t x_80; uint8_t x_81; +x_79 = lean_ptr_addr(x_49); +lean_dec(x_49); +x_80 = lean_ptr_addr(x_52); +x_81 = lean_usize_dec_eq(x_79, x_80); +if (x_81 == 0) +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_82 = x_1; +} else { + lean_dec_ref(x_1); + x_82 = lean_box(0); +} +if (lean_is_scalar(x_82)) { + x_83 = lean_alloc_ctor(1, 2, 0); +} else { + x_83 = x_82; +} +lean_ctor_set(x_83, 0, x_52); +lean_ctor_set(x_83, 1, x_71); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_72); +return x_84; +} +else +{ +lean_object* x_85; +lean_dec(x_71); +lean_dec(x_52); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_1); +lean_ctor_set(x_85, 1, x_72); +return x_85; +} +} +} +} +else +{ +uint8_t x_86; +lean_dec(x_52); +lean_dec(x_50); +lean_dec(x_49); +lean_dec(x_1); +x_86 = !lean_is_exclusive(x_54); +if (x_86 == 0) +{ +return x_54; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_54, 0); +x_88 = lean_ctor_get(x_54, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_54); +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; +} +} +} +else +{ +uint8_t x_90; +lean_dec(x_50); +lean_dec(x_49); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_90 = !lean_is_exclusive(x_51); +if (x_90 == 0) +{ +return x_51; +} +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_51, 0); +x_92 = lean_ctor_get(x_51, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_51); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +case 2: +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_1, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_1, 1); +lean_inc(x_95); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_94); +x_96 = l_Lean_Compiler_LCNF_FunDeclCore_applyRenaming(x_94, x_2, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +lean_dec(x_96); +lean_inc(x_95); +x_99 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_95, x_2, x_3, x_4, x_5, x_6, x_98); +if (lean_obj_tag(x_99) == 0) +{ +uint8_t x_100; +x_100 = !lean_is_exclusive(x_99); +if (x_100 == 0) +{ +lean_object* x_101; size_t x_102; size_t x_103; uint8_t x_104; +x_101 = lean_ctor_get(x_99, 0); +x_102 = lean_ptr_addr(x_95); +lean_dec(x_95); +x_103 = lean_ptr_addr(x_101); +x_104 = lean_usize_dec_eq(x_102, x_103); +if (x_104 == 0) +{ +uint8_t x_105; +lean_dec(x_94); +x_105 = !lean_is_exclusive(x_1); +if (x_105 == 0) +{ +lean_object* x_106; lean_object* x_107; +x_106 = lean_ctor_get(x_1, 1); +lean_dec(x_106); +x_107 = lean_ctor_get(x_1, 0); +lean_dec(x_107); +lean_ctor_set(x_1, 1, x_101); +lean_ctor_set(x_1, 0, x_97); +lean_ctor_set(x_99, 0, x_1); +return x_99; +} +else +{ +lean_object* x_108; +lean_dec(x_1); +x_108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_108, 0, x_97); +lean_ctor_set(x_108, 1, x_101); +lean_ctor_set(x_99, 0, x_108); +return x_99; +} +} +else +{ +size_t x_109; size_t x_110; uint8_t x_111; +x_109 = lean_ptr_addr(x_94); +lean_dec(x_94); +x_110 = lean_ptr_addr(x_97); +x_111 = lean_usize_dec_eq(x_109, x_110); +if (x_111 == 0) +{ +uint8_t x_112; +x_112 = !lean_is_exclusive(x_1); +if (x_112 == 0) +{ +lean_object* x_113; lean_object* x_114; +x_113 = lean_ctor_get(x_1, 1); +lean_dec(x_113); +x_114 = lean_ctor_get(x_1, 0); +lean_dec(x_114); +lean_ctor_set(x_1, 1, x_101); +lean_ctor_set(x_1, 0, x_97); +lean_ctor_set(x_99, 0, x_1); +return x_99; +} +else +{ +lean_object* x_115; +lean_dec(x_1); +x_115 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_115, 0, x_97); +lean_ctor_set(x_115, 1, x_101); +lean_ctor_set(x_99, 0, x_115); +return x_99; +} +} +else +{ +lean_dec(x_101); +lean_dec(x_97); +lean_ctor_set(x_99, 0, x_1); +return x_99; +} +} +} +else +{ +lean_object* x_116; lean_object* x_117; size_t x_118; size_t x_119; uint8_t x_120; +x_116 = lean_ctor_get(x_99, 0); +x_117 = lean_ctor_get(x_99, 1); +lean_inc(x_117); +lean_inc(x_116); +lean_dec(x_99); +x_118 = lean_ptr_addr(x_95); +lean_dec(x_95); +x_119 = lean_ptr_addr(x_116); +x_120 = lean_usize_dec_eq(x_118, x_119); +if (x_120 == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_94); +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_121 = x_1; +} else { + lean_dec_ref(x_1); + x_121 = lean_box(0); +} +if (lean_is_scalar(x_121)) { + x_122 = lean_alloc_ctor(2, 2, 0); +} else { + x_122 = x_121; +} +lean_ctor_set(x_122, 0, x_97); +lean_ctor_set(x_122, 1, x_116); +x_123 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_117); +return x_123; +} +else +{ +size_t x_124; size_t x_125; uint8_t x_126; +x_124 = lean_ptr_addr(x_94); +lean_dec(x_94); +x_125 = lean_ptr_addr(x_97); +x_126 = lean_usize_dec_eq(x_124, x_125); +if (x_126 == 0) +{ +lean_object* x_127; lean_object* x_128; lean_object* x_129; +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + lean_ctor_release(x_1, 1); + x_127 = x_1; +} else { + lean_dec_ref(x_1); + x_127 = lean_box(0); +} +if (lean_is_scalar(x_127)) { + x_128 = lean_alloc_ctor(2, 2, 0); +} else { + x_128 = x_127; +} +lean_ctor_set(x_128, 0, x_97); +lean_ctor_set(x_128, 1, x_116); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_117); +return x_129; +} +else +{ +lean_object* x_130; +lean_dec(x_116); +lean_dec(x_97); +x_130 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_130, 0, x_1); +lean_ctor_set(x_130, 1, x_117); +return x_130; +} +} +} +} +else +{ +uint8_t x_131; +lean_dec(x_97); +lean_dec(x_95); +lean_dec(x_94); +lean_dec(x_1); +x_131 = !lean_is_exclusive(x_99); +if (x_131 == 0) +{ +return x_99; +} +else +{ +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_99, 0); +x_133 = lean_ctor_get(x_99, 1); +lean_inc(x_133); +lean_inc(x_132); +lean_dec(x_99); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; +} +} +} +else +{ +uint8_t x_135; +lean_dec(x_95); +lean_dec(x_94); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_135 = !lean_is_exclusive(x_96); +if (x_135 == 0) +{ +return x_96; +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_96, 0); +x_137 = lean_ctor_get(x_96, 1); +lean_inc(x_137); +lean_inc(x_136); +lean_dec(x_96); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; +} +} +} +case 4: +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_139 = lean_ctor_get(x_1, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_139, 3); +lean_inc(x_140); +x_141 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__2), 7, 1); +lean_closure_set(x_141, 0, x_2); +x_142 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__3(x_140, x_141, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_142) == 0) +{ +uint8_t x_143; +x_143 = !lean_is_exclusive(x_142); +if (x_143 == 0) +{ +uint8_t x_144; +x_144 = !lean_is_exclusive(x_139); +if (x_144 == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; size_t x_150; size_t x_151; uint8_t x_152; +x_145 = lean_ctor_get(x_142, 0); +x_146 = lean_ctor_get(x_139, 0); +x_147 = lean_ctor_get(x_139, 1); +x_148 = lean_ctor_get(x_139, 2); +x_149 = lean_ctor_get(x_139, 3); +x_150 = lean_ptr_addr(x_149); +lean_dec(x_149); +x_151 = lean_ptr_addr(x_145); +x_152 = lean_usize_dec_eq(x_150, x_151); +if (x_152 == 0) +{ +uint8_t x_153; +x_153 = !lean_is_exclusive(x_1); +if (x_153 == 0) +{ +lean_object* x_154; +x_154 = lean_ctor_get(x_1, 0); +lean_dec(x_154); +lean_ctor_set(x_139, 3, x_145); +lean_ctor_set(x_142, 0, x_1); +return x_142; +} +else +{ +lean_object* x_155; +lean_dec(x_1); +lean_ctor_set(x_139, 3, x_145); +x_155 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_155, 0, x_139); +lean_ctor_set(x_142, 0, x_155); +return x_142; +} +} +else +{ +lean_free_object(x_139); +lean_dec(x_148); +lean_dec(x_147); +lean_dec(x_146); +lean_dec(x_145); +lean_ctor_set(x_142, 0, x_1); +return x_142; +} +} +else +{ +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; size_t x_161; size_t x_162; uint8_t x_163; +x_156 = lean_ctor_get(x_142, 0); +x_157 = lean_ctor_get(x_139, 0); +x_158 = lean_ctor_get(x_139, 1); +x_159 = lean_ctor_get(x_139, 2); +x_160 = lean_ctor_get(x_139, 3); +lean_inc(x_160); +lean_inc(x_159); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_139); +x_161 = lean_ptr_addr(x_160); +lean_dec(x_160); +x_162 = lean_ptr_addr(x_156); +x_163 = lean_usize_dec_eq(x_161, x_162); +if (x_163 == 0) +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + x_164 = x_1; +} else { + lean_dec_ref(x_1); + x_164 = lean_box(0); +} +x_165 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_165, 0, x_157); +lean_ctor_set(x_165, 1, x_158); +lean_ctor_set(x_165, 2, x_159); +lean_ctor_set(x_165, 3, x_156); +if (lean_is_scalar(x_164)) { + x_166 = lean_alloc_ctor(4, 1, 0); +} else { + x_166 = x_164; +} +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_142, 0, x_166); +return x_142; +} +else +{ +lean_dec(x_159); +lean_dec(x_158); +lean_dec(x_157); +lean_dec(x_156); +lean_ctor_set(x_142, 0, x_1); +return x_142; +} +} +} +else +{ +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; size_t x_174; size_t x_175; uint8_t x_176; +x_167 = lean_ctor_get(x_142, 0); +x_168 = lean_ctor_get(x_142, 1); +lean_inc(x_168); +lean_inc(x_167); +lean_dec(x_142); +x_169 = lean_ctor_get(x_139, 0); +lean_inc(x_169); +x_170 = lean_ctor_get(x_139, 1); +lean_inc(x_170); +x_171 = lean_ctor_get(x_139, 2); +lean_inc(x_171); +x_172 = lean_ctor_get(x_139, 3); +lean_inc(x_172); +if (lean_is_exclusive(x_139)) { + lean_ctor_release(x_139, 0); + lean_ctor_release(x_139, 1); + lean_ctor_release(x_139, 2); + lean_ctor_release(x_139, 3); + x_173 = x_139; +} else { + lean_dec_ref(x_139); + x_173 = lean_box(0); +} +x_174 = lean_ptr_addr(x_172); +lean_dec(x_172); +x_175 = lean_ptr_addr(x_167); +x_176 = lean_usize_dec_eq(x_174, x_175); +if (x_176 == 0) +{ +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +if (lean_is_exclusive(x_1)) { + lean_ctor_release(x_1, 0); + x_177 = x_1; +} else { + lean_dec_ref(x_1); + x_177 = lean_box(0); +} +if (lean_is_scalar(x_173)) { + x_178 = lean_alloc_ctor(0, 4, 0); +} else { + x_178 = x_173; +} +lean_ctor_set(x_178, 0, x_169); +lean_ctor_set(x_178, 1, x_170); +lean_ctor_set(x_178, 2, x_171); +lean_ctor_set(x_178, 3, x_167); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(4, 1, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_179); +lean_ctor_set(x_180, 1, x_168); +return x_180; +} +else +{ +lean_object* x_181; +lean_dec(x_173); +lean_dec(x_171); +lean_dec(x_170); +lean_dec(x_169); +lean_dec(x_167); +x_181 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_181, 0, x_1); +lean_ctor_set(x_181, 1, x_168); +return x_181; +} +} +} +else +{ +uint8_t x_182; +lean_dec(x_139); +lean_dec(x_1); +x_182 = !lean_is_exclusive(x_142); +if (x_182 == 0) +{ +return x_142; +} +else +{ +lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_183 = lean_ctor_get(x_142, 0); +x_184 = lean_ctor_get(x_142, 1); +lean_inc(x_184); +lean_inc(x_183); +lean_dec(x_142); +x_185 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_185, 0, x_183); +lean_ctor_set(x_185, 1, x_184); +return x_185; +} +} +} +default: +{ +lean_object* x_186; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_186 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_186, 0, x_1); +lean_ctor_set(x_186, 1, x_7); +return x_186; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_applyRenaming(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_8; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_ctor_get(x_1, 0); +x_11 = lean_ctor_get(x_1, 1); +x_12 = lean_ctor_get(x_1, 2); +x_13 = lean_ctor_get(x_1, 3); +x_14 = lean_ctor_get(x_1, 4); +lean_inc(x_2); +x_15 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1___boxed), 7, 1); +lean_closure_set(x_15, 0, x_2); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_16 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__1(x_13, x_15, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_14, x_2, x_3, x_4, x_5, x_6, x_18); +if (lean_obj_tag(x_19) == 0) +{ +uint8_t x_20; +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +x_21 = lean_ctor_get(x_19, 0); +lean_ctor_set(x_1, 4, x_21); +lean_ctor_set(x_1, 3, x_17); +lean_ctor_set(x_19, 0, x_1); +return x_19; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_19, 0); +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_19); +lean_ctor_set(x_1, 4, x_22); +lean_ctor_set(x_1, 3, x_17); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_1); +lean_ctor_set(x_24, 1, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +lean_dec(x_17); +lean_free_object(x_1); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +x_25 = !lean_is_exclusive(x_19); +if (x_25 == 0) +{ +return x_19; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_19, 0); +x_27 = lean_ctor_get(x_19, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_19); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; +} +} +} +else +{ +uint8_t x_29; +lean_free_object(x_1); +lean_dec(x_14); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_16); +if (x_29 == 0) +{ +return x_16; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_16, 0); +x_31 = lean_ctor_get(x_16, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_16); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; +} +} +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; +x_33 = lean_ctor_get(x_1, 0); +x_34 = lean_ctor_get(x_1, 1); +x_35 = lean_ctor_get(x_1, 2); +x_36 = lean_ctor_get(x_1, 3); +x_37 = lean_ctor_get(x_1, 4); +x_38 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +lean_inc(x_37); +lean_inc(x_36); +lean_inc(x_35); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_1); +lean_inc(x_2); +x_39 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Code_applyRenaming___lambda__1___boxed), 7, 1); +lean_closure_set(x_39, 0, x_2); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_40 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Code_applyRenaming___spec__1(x_36, x_39, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_40) == 0) +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_40, 0); +lean_inc(x_41); +x_42 = lean_ctor_get(x_40, 1); +lean_inc(x_42); +lean_dec(x_40); +x_43 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_37, x_2, x_3, x_4, x_5, x_6, x_42); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_47, 0, x_33); +lean_ctor_set(x_47, 1, x_34); +lean_ctor_set(x_47, 2, x_35); +lean_ctor_set(x_47, 3, x_41); +lean_ctor_set(x_47, 4, x_44); +lean_ctor_set_uint8(x_47, sizeof(void*)*5, x_38); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +lean_dec(x_41); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +else +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_dec(x_37); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_53 = lean_ctor_get(x_40, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_40, 1); +lean_inc(x_54); +if (lean_is_exclusive(x_40)) { + lean_ctor_release(x_40, 0); + lean_ctor_release(x_40, 1); + x_55 = x_40; +} else { + lean_dec_ref(x_40); + x_55 = lean_box(0); +} +if (lean_is_scalar(x_55)) { + x_56 = lean_alloc_ctor(1, 2, 0); +} else { + x_56 = x_55; +} +lean_ctor_set(x_56, 0, x_53); +lean_ctor_set(x_56, 1, x_54); +return x_56; +} +} +} +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_CompilerM(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF_Renaming(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_CompilerM(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp.c index 1b73e8fe20..1f0ea9a020 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Compiler.LCNF.Simp -// Imports: Init Lean.Compiler.LCNF.ReduceJpArity Lean.Compiler.LCNF.Simp.Basic Lean.Compiler.LCNF.Simp.FunDeclInfo Lean.Compiler.LCNF.Simp.JpCases Lean.Compiler.LCNF.Simp.Config Lean.Compiler.LCNF.Simp.InlineCandidate Lean.Compiler.LCNF.Simp.SimpM Lean.Compiler.LCNF.Simp.Main Lean.Compiler.LCNF.Simp.InlineProj Lean.Compiler.LCNF.Simp.DefaultAlt Lean.Compiler.LCNF.Simp.SimpValue Lean.Compiler.LCNF.Simp.Used +// Imports: Init Lean.Compiler.LCNF.ReduceJpArity Lean.Compiler.LCNF.Renaming Lean.Compiler.LCNF.Simp.Basic Lean.Compiler.LCNF.Simp.FunDeclInfo Lean.Compiler.LCNF.Simp.JpCases Lean.Compiler.LCNF.Simp.Config Lean.Compiler.LCNF.Simp.InlineCandidate Lean.Compiler.LCNF.Simp.SimpM Lean.Compiler.LCNF.Simp.Main Lean.Compiler.LCNF.Simp.InlineProj Lean.Compiler.LCNF.Simp.DefaultAlt Lean.Compiler.LCNF.Simp.SimpValue Lean.Compiler.LCNF.Simp.Used #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,30 +14,31 @@ extern "C" { #endif static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__11; -lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__1; +lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__6; static lean_object* l_Lean_Compiler_LCNF_simp___closed__1; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__2; lean_object* lean_st_ref_get(lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__3; +static lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___closed__5; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__2; -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__3; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__7; lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___closed__6; +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__2; +lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__7; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__10; -lean_object* l_Lean_Compiler_LCNF_Simp_simp(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__1; lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__5; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___closed__3; @@ -45,293 +46,294 @@ static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__3; lean_object* l_Lean_Compiler_LCNF_Pass_mkPerDeclaration(lean_object*, lean_object*, uint8_t, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__14; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__8; -lean_object* l_Lean_Compiler_LCNF_ppCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_ppCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__9; +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__5; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__3; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__4; lean_object* l_Lean_Compiler_LCNF_Decl_isTemplateLike(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___closed__2; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__11; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___closed__4; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__1; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__4; lean_object* l_Lean_Compiler_LCNF_Code_size_go(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__10; -lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_go(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Decl_reduceJpArity(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_applyRenaming(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__13; -lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__15; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__9; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__2; static lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__1; lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_7, 1); -lean_inc(x_14); -lean_dec(x_7); -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -lean_dec(x_14); +lean_object* x_15; +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_1); -x_16 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(x_1, x_15, x_9, x_10, x_11, x_12, x_13); +x_15 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(x_1, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -if (lean_obj_tag(x_17) == 0) -{ -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_st_ref_get(x_12, x_18); -lean_dec(x_12); -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_21 = lean_st_ref_get(x_8, x_20); -x_22 = lean_ctor_get(x_21, 0); -lean_inc(x_22); -x_23 = lean_ctor_get_uint8(x_22, sizeof(void*)*6); -lean_dec(x_22); +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_st_ref_get(x_13, x_17); +lean_dec(x_13); +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_20 = lean_st_ref_get(x_9, x_19); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get_uint8(x_21, sizeof(void*)*7); +lean_dec(x_21); +if (x_22 == 0) +{ +uint8_t x_23; +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_20); if (x_23 == 0) { -uint8_t x_24; -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_24 = !lean_is_exclusive(x_21); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; -x_25 = lean_ctor_get(x_21, 0); -lean_dec(x_25); -x_26 = lean_box(0); -lean_ctor_set(x_21, 0, x_26); -return x_21; +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_20, 0); +lean_dec(x_24); +x_25 = lean_box(0); +lean_ctor_set(x_20, 0, x_25); +return x_20; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_21, 1); -lean_inc(x_27); -lean_dec(x_21); -x_28 = lean_box(0); -x_29 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_29, 0, x_28); -lean_ctor_set(x_29, 1, x_27); -return x_29; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_20, 1); +lean_inc(x_26); +lean_dec(x_20); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; } } else { -uint8_t x_30; -x_30 = !lean_is_exclusive(x_21); -if (x_30 == 0) +uint8_t x_29; +x_29 = !lean_is_exclusive(x_20); +if (x_29 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_ctor_get(x_21, 0); -lean_dec(x_31); -x_32 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_32, 0, x_2); -lean_ctor_set(x_32, 1, x_3); -lean_ctor_set(x_32, 2, x_4); -lean_ctor_set(x_32, 3, x_5); -lean_ctor_set(x_32, 4, x_1); -x_33 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_21, 0, x_33); -return x_21; +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_20, 0); +lean_dec(x_30); +x_31 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_3); +lean_ctor_set(x_31, 2, x_4); +lean_ctor_set(x_31, 3, x_5); +lean_ctor_set(x_31, 4, x_1); +lean_ctor_set_uint8(x_31, sizeof(void*)*5, x_6); +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_20, 0, x_32); +return x_20; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_34 = lean_ctor_get(x_21, 1); -lean_inc(x_34); -lean_dec(x_21); -x_35 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_35, 0, x_2); -lean_ctor_set(x_35, 1, x_3); -lean_ctor_set(x_35, 2, x_4); -lean_ctor_set(x_35, 3, x_5); -lean_ctor_set(x_35, 4, x_1); -x_36 = lean_alloc_ctor(1, 1, 0); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_33 = lean_ctor_get(x_20, 1); +lean_inc(x_33); +lean_dec(x_20); +x_34 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_34, 0, x_2); +lean_ctor_set(x_34, 1, x_3); +lean_ctor_set(x_34, 2, x_4); +lean_ctor_set(x_34, 3, x_5); +lean_ctor_set(x_34, 4, x_1); +lean_ctor_set_uint8(x_34, sizeof(void*)*5, x_6); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_36, 0, x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_36, 1, x_33); +return x_36; } } } else { -lean_object* x_38; uint8_t x_39; +lean_object* x_37; uint8_t x_38; lean_dec(x_1); -x_38 = lean_ctor_get(x_16, 1); -lean_inc(x_38); -lean_dec(x_16); -x_39 = !lean_is_exclusive(x_17); -if (x_39 == 0) +x_37 = lean_ctor_get(x_15, 1); +lean_inc(x_37); +lean_dec(x_15); +x_38 = !lean_is_exclusive(x_16); +if (x_38 == 0) { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_17, 0); -x_41 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_41, 0, x_2); -lean_ctor_set(x_41, 1, x_3); -lean_ctor_set(x_41, 2, x_4); -lean_ctor_set(x_41, 3, x_5); -lean_ctor_set(x_41, 4, x_40); -x_42 = l_Lean_Compiler_LCNF_Decl_reduceJpArity(x_41, x_9, x_10, x_11, x_12, x_38); -if (lean_obj_tag(x_42) == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_16, 0); +x_40 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_40, 0, x_2); +lean_ctor_set(x_40, 1, x_3); +lean_ctor_set(x_40, 2, x_4); +lean_ctor_set(x_40, 3, x_5); +lean_ctor_set(x_40, 4, x_39); +lean_ctor_set_uint8(x_40, sizeof(void*)*5, x_6); +x_41 = l_Lean_Compiler_LCNF_Decl_reduceJpArity(x_40, x_10, x_11, x_12, x_13, x_37); +if (lean_obj_tag(x_41) == 0) { -uint8_t x_43; -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) { -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_ctor_set(x_17, 0, x_44); -lean_ctor_set(x_42, 0, x_17); -return x_42; +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_ctor_set(x_16, 0, x_43); +lean_ctor_set(x_41, 0, x_16); +return x_41; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_42, 0); -x_46 = lean_ctor_get(x_42, 1); -lean_inc(x_46); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_41, 0); +x_45 = lean_ctor_get(x_41, 1); lean_inc(x_45); -lean_dec(x_42); -lean_ctor_set(x_17, 0, x_45); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_17); -lean_ctor_set(x_47, 1, x_46); -return x_47; +lean_inc(x_44); +lean_dec(x_41); +lean_ctor_set(x_16, 0, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_16); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } else { -uint8_t x_48; -lean_free_object(x_17); -x_48 = !lean_is_exclusive(x_42); -if (x_48 == 0) +uint8_t x_47; +lean_free_object(x_16); +x_47 = !lean_is_exclusive(x_41); +if (x_47 == 0) { -return x_42; +return x_41; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_42, 0); -x_50 = lean_ctor_get(x_42, 1); -lean_inc(x_50); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_41, 0); +x_49 = lean_ctor_get(x_41, 1); lean_inc(x_49); -lean_dec(x_42); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_inc(x_48); +lean_dec(x_41); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; } } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_17, 0); -lean_inc(x_52); -lean_dec(x_17); -x_53 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_53, 0, x_2); -lean_ctor_set(x_53, 1, x_3); -lean_ctor_set(x_53, 2, x_4); -lean_ctor_set(x_53, 3, x_5); -lean_ctor_set(x_53, 4, x_52); -x_54 = l_Lean_Compiler_LCNF_Decl_reduceJpArity(x_53, x_9, x_10, x_11, x_12, x_38); -if (lean_obj_tag(x_54) == 0) +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_16, 0); +lean_inc(x_51); +lean_dec(x_16); +x_52 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_52, 0, x_2); +lean_ctor_set(x_52, 1, x_3); +lean_ctor_set(x_52, 2, x_4); +lean_ctor_set(x_52, 3, x_5); +lean_ctor_set(x_52, 4, x_51); +lean_ctor_set_uint8(x_52, sizeof(void*)*5, x_6); +x_53 = l_Lean_Compiler_LCNF_Decl_reduceJpArity(x_52, x_10, x_11, x_12, x_13, x_37); +if (lean_obj_tag(x_53) == 0) { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; -x_55 = lean_ctor_get(x_54, 0); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); -lean_inc(x_56); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_57 = x_54; +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_56 = x_53; } else { - lean_dec_ref(x_54); - x_57 = lean_box(0); + lean_dec_ref(x_53); + x_56 = lean_box(0); } -x_58 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_58, 0, x_55); -if (lean_is_scalar(x_57)) { - x_59 = lean_alloc_ctor(0, 2, 0); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_54); +if (lean_is_scalar(x_56)) { + x_58 = lean_alloc_ctor(0, 2, 0); } else { - x_59 = x_57; + x_58 = x_56; } -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_56); -return x_59; +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_55); +return x_58; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_60 = lean_ctor_get(x_54, 0); +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_59 = lean_ctor_get(x_53, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_53, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_54, 1); -lean_inc(x_61); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_62 = x_54; +if (lean_is_exclusive(x_53)) { + lean_ctor_release(x_53, 0); + lean_ctor_release(x_53, 1); + x_61 = x_53; } else { - lean_dec_ref(x_54); - x_62 = lean_box(0); + lean_dec_ref(x_53); + x_61 = lean_box(0); } -if (lean_is_scalar(x_62)) { - x_63 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_61)) { + x_62 = lean_alloc_ctor(1, 2, 0); } else { - x_63 = x_62; + x_62 = x_61; } -lean_ctor_set(x_63, 0, x_60); -lean_ctor_set(x_63, 1, x_61); -return x_63; +lean_ctor_set(x_62, 0, x_59); +lean_ctor_set(x_62, 1, x_60); +return x_62; } } } } else { -uint8_t x_64; +uint8_t x_63; +lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -340,23 +342,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_64 = !lean_is_exclusive(x_16); -if (x_64 == 0) +x_63 = !lean_is_exclusive(x_15); +if (x_63 == 0) { -return x_16; +return x_15; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_16, 0); -x_66 = lean_ctor_get(x_16, 1); -lean_inc(x_66); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_15, 0); +x_65 = lean_ctor_get(x_15, 1); lean_inc(x_65); -lean_dec(x_16); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; +lean_inc(x_64); +lean_dec(x_15); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } @@ -487,360 +489,420 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_104; lean_object* x_105; uint8_t x_106; -lean_dec(x_8); -x_16 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__1; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_113; lean_object* x_114; uint8_t x_115; +lean_dec(x_9); +x_17 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__1; lean_inc(x_1); -x_17 = l_Lean_Name_str___override(x_1, x_16); -lean_inc(x_17); -x_104 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_17, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -x_105 = lean_ctor_get(x_104, 0); -lean_inc(x_105); -x_106 = lean_unbox(x_105); -lean_dec(x_105); -if (x_106 == 0) +x_18 = l_Lean_Name_str___override(x_1, x_17); +lean_inc(x_18); +x_113 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_18, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +x_114 = lean_ctor_get(x_113, 0); +lean_inc(x_114); +x_115 = lean_unbox(x_114); +lean_dec(x_114); +if (x_115 == 0) { -lean_object* x_107; -lean_dec(x_7); -x_107 = lean_ctor_get(x_104, 1); -lean_inc(x_107); -lean_dec(x_104); -x_18 = x_107; -goto block_103; +lean_object* x_116; +lean_dec(x_8); +x_116 = lean_ctor_get(x_113, 1); +lean_inc(x_116); +lean_dec(x_113); +x_19 = x_116; +goto block_112; } else { -lean_object* x_108; lean_object* x_109; -x_108 = lean_ctor_get(x_104, 1); -lean_inc(x_108); -lean_dec(x_104); +lean_object* x_117; lean_object* x_118; +x_117 = lean_ctor_get(x_113, 1); +lean_inc(x_117); +lean_dec(x_113); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_109 = l_Lean_Compiler_LCNF_ppDecl(x_7, x_11, x_12, x_13, x_14, x_108); -if (lean_obj_tag(x_109) == 0) +x_118 = l_Lean_Compiler_LCNF_ppDecl(x_8, x_12, x_13, x_14, x_15, x_117); +if (lean_obj_tag(x_118) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_110 = lean_ctor_get(x_109, 0); -lean_inc(x_110); -x_111 = lean_ctor_get(x_109, 1); -lean_inc(x_111); -lean_dec(x_109); -x_112 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_112, 0, x_110); -lean_inc(x_17); -x_113 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_17, x_112, x_9, x_10, x_11, x_12, x_13, x_14, x_111); -x_114 = lean_ctor_get(x_113, 1); -lean_inc(x_114); -lean_dec(x_113); -x_18 = x_114; -goto block_103; +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_119 = lean_ctor_get(x_118, 0); +lean_inc(x_119); +x_120 = lean_ctor_get(x_118, 1); +lean_inc(x_120); +lean_dec(x_118); +x_121 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_121, 0, x_119); +lean_inc(x_18); +x_122 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(x_18, x_121, x_10, x_11, x_12, x_13, x_14, x_15, x_120); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +lean_dec(x_122); +x_19 = x_123; +goto block_112; } else { -uint8_t x_115; -lean_dec(x_17); +uint8_t x_124; +lean_dec(x_18); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_115 = !lean_is_exclusive(x_109); -if (x_115 == 0) +x_124 = !lean_is_exclusive(x_118); +if (x_124 == 0) { -return x_109; -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_109, 0); -x_117 = lean_ctor_get(x_109, 1); -lean_inc(x_117); -lean_inc(x_116); -lean_dec(x_109); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); return x_118; } -} -} -block_103: -{ -lean_object* x_19; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_10); -lean_inc(x_9); -x_19 = l_Lean_Compiler_LCNF_Simp_simp(x_2, x_9, x_10, x_11, x_12, x_13, x_14, x_18); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__2; -x_23 = l_Lean_Name_str___override(x_17, x_22); -lean_inc(x_23); -x_77 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_23, x_9, x_10, x_11, x_12, x_13, x_14, x_21); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -x_79 = lean_unbox(x_78); -lean_dec(x_78); -if (x_79 == 0) -{ -lean_object* x_80; -lean_dec(x_23); -x_80 = lean_ctor_get(x_77, 1); -lean_inc(x_80); -lean_dec(x_77); -x_24 = x_80; -goto block_76; -} else { -lean_object* x_81; lean_object* x_82; -x_81 = lean_ctor_get(x_77, 1); -lean_inc(x_81); -lean_dec(x_77); +lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_125 = lean_ctor_get(x_118, 0); +x_126 = lean_ctor_get(x_118, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_118); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_125); +lean_ctor_set(x_127, 1, x_126); +return x_127; +} +} +} +block_112: +{ +lean_object* x_20; +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_20); -x_82 = l_Lean_Compiler_LCNF_ppCode(x_20, x_11, x_12, x_13, x_14, x_81); -if (lean_obj_tag(x_82) == 0) +lean_inc(x_11); +lean_inc(x_10); +x_20 = l_Lean_Compiler_LCNF_Simp_simp(x_2, x_10, x_11, x_12, x_13, x_14, x_15, x_19); +if (lean_obj_tag(x_20) == 0) { -lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_st_ref_get(x_15, x_22); +x_24 = lean_ctor_get(x_23, 1); +lean_inc(x_24); +lean_dec(x_23); +x_25 = lean_st_ref_get(x_11, x_24); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_26, 2); +lean_inc(x_28); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_29 = l_Lean_Compiler_LCNF_Code_applyRenaming(x_21, x_28, x_12, x_13, x_14, x_15, x_27); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__2; +x_33 = l_Lean_Name_str___override(x_18, x_32); +lean_inc(x_33); +x_82 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_33, x_10, x_11, x_12, x_13, x_14, x_15, x_31); x_83 = lean_ctor_get(x_82, 0); lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); -lean_inc(x_84); +x_84 = lean_unbox(x_83); +lean_dec(x_83); +if (x_84 == 0) +{ +lean_object* x_85; +lean_dec(x_33); +x_85 = lean_ctor_get(x_82, 1); +lean_inc(x_85); lean_dec(x_82); +x_34 = x_85; +goto block_81; +} +else +{ +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_82, 1); +lean_inc(x_86); +lean_dec(x_82); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_30); +x_87 = l_Lean_Compiler_LCNF_ppCode(x_30, x_12, x_13, x_14, x_15, x_86); +if (lean_obj_tag(x_87) == 0) +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_88 = lean_ctor_get(x_87, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_87, 1); +lean_inc(x_89); +lean_dec(x_87); lean_inc(x_3); -x_85 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_85, 0, x_3); -x_86 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__5; -x_87 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_85); -x_88 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__15; -x_89 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_90, 0, x_83); -x_91 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); +x_90 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_90, 0, x_3); +x_91 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__5; x_92 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_86); -x_93 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_23, x_92, x_9, x_10, x_11, x_12, x_13, x_14, x_84); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); -x_24 = x_94; -goto block_76; +lean_ctor_set(x_92, 1, x_90); +x_93 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__15; +x_94 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_95, 0, x_88); +x_96 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_97, 0, x_96); +lean_ctor_set(x_97, 1, x_91); +x_98 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(x_33, x_97, x_10, x_11, x_12, x_13, x_14, x_15, x_89); +x_99 = lean_ctor_get(x_98, 1); +lean_inc(x_99); +lean_dec(x_98); +x_34 = x_99; +goto block_81; } else { -uint8_t x_95; -lean_dec(x_23); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_95 = !lean_is_exclusive(x_82); -if (x_95 == 0) -{ -return x_82; -} -else -{ -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_82, 0); -x_97 = lean_ctor_get(x_82, 1); -lean_inc(x_97); -lean_inc(x_96); -lean_dec(x_82); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; -} -} -} -block_76: -{ -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; uint8_t x_34; -x_25 = lean_st_ref_get(x_14, x_24); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_st_ref_get(x_10, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__3; -x_31 = l_Lean_Name_str___override(x_1, x_30); -lean_inc(x_31); -x_32 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_31, x_9, x_10, x_11, x_12, x_13, x_14, x_29); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); +uint8_t x_100; lean_dec(x_33); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_31); -lean_dec(x_28); -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_box(0); -x_37 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(x_20, x_3, x_4, x_5, x_6, x_36, x_9, x_10, x_11, x_12, x_13, x_14, x_35); -lean_dec(x_10); -return x_37; -} -else -{ -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); -lean_dec(x_32); -lean_inc(x_3); -x_39 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_39, 0, x_3); -x_40 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__5; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__7; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -x_44 = lean_unsigned_to_nat(0u); -lean_inc(x_20); -x_45 = l_Lean_Compiler_LCNF_Code_size_go(x_20, x_44); -x_46 = l_Nat_repr(x_45); -x_47 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_47, 0, x_46); -x_48 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_48, 0, x_47); -x_49 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_49, 0, x_43); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__9; -x_51 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_ctor_get(x_28, 3); -lean_inc(x_52); -x_53 = l_Nat_repr(x_52); -x_54 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_54, 0, x_53); -x_55 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_55, 0, x_54); -x_56 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_56, 0, x_51); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__11; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_ctor_get(x_28, 4); -lean_inc(x_59); -x_60 = l_Nat_repr(x_59); -x_61 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_62, 0, x_61); -x_63 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_63, 0, x_58); -lean_ctor_set(x_63, 1, x_62); -x_64 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__13; -x_65 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_ctor_get(x_28, 5); -lean_inc(x_66); -lean_dec(x_28); -x_67 = l_Nat_repr(x_66); -x_68 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_68, 0, x_67); -x_69 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_69, 0, x_68); -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_65); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_71, 0, x_70); -lean_ctor_set(x_71, 1, x_40); -x_72 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_31, x_71, x_9, x_10, x_11, x_12, x_13, x_14, x_38); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(x_20, x_3, x_4, x_5, x_6, x_73, x_9, x_10, x_11, x_12, x_13, x_14, x_74); -lean_dec(x_10); -lean_dec(x_73); -return x_75; -} -} -} -else -{ -uint8_t x_99; -lean_dec(x_17); +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_99 = !lean_is_exclusive(x_19); -if (x_99 == 0) +x_100 = !lean_is_exclusive(x_87); +if (x_100 == 0) { -return x_19; +return x_87; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_19, 0); -x_101 = lean_ctor_get(x_19, 1); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_87, 0); +x_102 = lean_ctor_get(x_87, 1); +lean_inc(x_102); lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_19); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; +lean_dec(x_87); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +block_81: +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__3; +x_36 = l_Lean_Name_str___override(x_1, x_35); +lean_inc(x_36); +x_37 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_36, x_10, x_11, x_12, x_13, x_14, x_15, x_34); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_unbox(x_38); +lean_dec(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_36); +lean_dec(x_26); +x_40 = lean_ctor_get(x_37, 1); +lean_inc(x_40); +lean_dec(x_37); +x_41 = lean_box(0); +x_42 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(x_30, x_3, x_4, x_5, x_6, x_7, x_41, x_10, x_11, x_12, x_13, x_14, x_15, x_40); +lean_dec(x_11); +lean_dec(x_10); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 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; +x_43 = lean_ctor_get(x_37, 1); +lean_inc(x_43); +lean_dec(x_37); +lean_inc(x_3); +x_44 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_44, 0, x_3); +x_45 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__5; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +x_47 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__7; +x_48 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +x_49 = lean_unsigned_to_nat(0u); +lean_inc(x_30); +x_50 = l_Lean_Compiler_LCNF_Code_size_go(x_30, x_49); +x_51 = l_Nat_repr(x_50); +x_52 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_53, 0, x_52); +x_54 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_54, 0, x_48); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__9; +x_56 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +x_57 = lean_ctor_get(x_26, 4); +lean_inc(x_57); +x_58 = l_Nat_repr(x_57); +x_59 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_59, 0, x_58); +x_60 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_60, 0, x_59); +x_61 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__11; +x_63 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +x_64 = lean_ctor_get(x_26, 5); +lean_inc(x_64); +x_65 = l_Nat_repr(x_64); +x_66 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_66, 0, x_65); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_68 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_68, 0, x_63); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__13; +x_70 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_ctor_get(x_26, 6); +lean_inc(x_71); +lean_dec(x_26); +x_72 = l_Nat_repr(x_71); +x_73 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_73, 0, x_72); +x_74 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_70); +lean_ctor_set(x_75, 1, x_74); +x_76 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_45); +x_77 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(x_36, x_76, x_10, x_11, x_12, x_13, x_14, x_15, x_43); +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(x_30, x_3, x_4, x_5, x_6, x_7, x_78, x_10, x_11, x_12, x_13, x_14, x_15, x_79); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_78); +return x_80; +} +} +} +else +{ +uint8_t x_104; +lean_dec(x_26); +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_104 = !lean_is_exclusive(x_29); +if (x_104 == 0) +{ +return x_29; +} +else +{ +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_29, 0); +x_106 = lean_ctor_get(x_29, 1); +lean_inc(x_106); +lean_inc(x_105); +lean_dec(x_29); +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; +} +} +} +else +{ +uint8_t x_108; +lean_dec(x_18); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_108 = !lean_is_exclusive(x_20); +if (x_108 == 0) +{ +return x_20; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_20, 0); +x_110 = lean_ctor_get(x_20, 1); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_20); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_109); +lean_ctor_set(x_111, 1, x_110); +return x_111; } } } @@ -944,10 +1006,10 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; uint8_t x_15; lean_object* x_16; x_9 = lean_ctor_get(x_1, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_1, 1); @@ -958,99 +1020,101 @@ x_12 = lean_ctor_get(x_1, 3); lean_inc(x_12); x_13 = lean_ctor_get(x_1, 4); lean_inc(x_13); -x_14 = 0; +x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +x_15 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_13); -x_15 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_13, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_15) == 0) +x_16 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_13, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_16) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_16 = lean_ctor_get(x_15, 1); -lean_inc(x_16); -lean_dec(x_15); -x_17 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__8; -x_18 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_17, x_2, x_3, x_4, x_5, x_6, x_7, x_16); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_unbox(x_19); +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__8; +x_19 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_17); +x_20 = lean_ctor_get(x_19, 0); +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; +x_22 = lean_ctor_get(x_19, 1); +lean_inc(x_22); lean_dec(x_19); -if (x_20 == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); -lean_dec(x_18); -x_22 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__4; -x_23 = lean_box(0); -x_24 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(x_22, x_13, x_9, x_10, x_11, x_12, x_1, x_23, x_2, x_3, x_4, x_5, x_6, x_7, x_21); -return x_24; +x_23 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__4; +x_24 = lean_box(0); +x_25 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(x_23, x_13, x_9, x_10, x_11, x_12, x_14, x_1, x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_22); +return x_25; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_25 = lean_ctor_get(x_18, 1); -lean_inc(x_25); -lean_dec(x_18); -x_26 = lean_st_ref_get(x_7, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_st_ref_get(x_3, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = lean_st_ref_get(x_7, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = lean_st_ref_get(x_3, x_28); +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_ctor_get(x_29, 2); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(x_31, x_4, x_5, x_6, x_7, x_30); -if (lean_obj_tag(x_32) == 0) +x_32 = lean_ctor_get(x_30, 3); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(x_32, x_4, x_5, x_6, x_7, x_31); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_32); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); lean_inc(x_9); -x_35 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_35, 0, x_9); -x_36 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__5; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_35); -x_38 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__10; -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__11; -x_41 = lean_alloc_ctor(3, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_33); -x_42 = lean_alloc_ctor(0, 1, 0); +x_36 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_36, 0, x_9); +x_37 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__5; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_36); +x_39 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__10; +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__11; +x_42 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_42, 0, x_41); -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_39); -lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_42, 1, x_34); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); x_44 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_36); -x_45 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_17, x_44, x_2, x_3, x_4, x_5, x_6, x_7, x_34); -x_46 = lean_ctor_get(x_45, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_45, 1); +lean_ctor_set(x_44, 0, x_40); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_37); +x_46 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(x_18, x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_35); +x_47 = lean_ctor_get(x_46, 0); lean_inc(x_47); -lean_dec(x_45); -x_48 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__4; -x_49 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(x_48, x_13, x_9, x_10, x_11, x_12, x_1, x_46, x_2, x_3, x_4, x_5, x_6, x_7, x_47); -return x_49; +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_49 = l_Lean_Compiler_LCNF_Decl_simp_x3f___closed__4; +x_50 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(x_49, x_13, x_9, x_10, x_11, x_12, x_14, x_1, x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_48); +return x_50; } else { -uint8_t x_50; +uint8_t x_51; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); @@ -1059,107 +1123,130 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_50 = !lean_is_exclusive(x_32); -if (x_50 == 0) -{ -return x_32; -} -else -{ -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_32, 0); -x_52 = lean_ctor_get(x_32, 1); -lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_32); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; -} -} -} -} -else -{ -uint8_t x_54; -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_54 = !lean_is_exclusive(x_15); -if (x_54 == 0) -{ -return x_15; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_15, 0); -x_56 = lean_ctor_get(x_15, 1); -lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_15); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); -lean_dec(x_8); -lean_dec(x_6); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_11); -lean_dec(x_11); -x_17 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_12, x_13, x_14, x_15); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Decl_simp_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_51 = !lean_is_exclusive(x_33); +if (x_51 == 0) +{ +return x_33; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_33, 0); +x_53 = lean_ctor_get(x_33, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_33); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_55 = !lean_is_exclusive(x_16); +if (x_55 == 0) +{ +return x_16; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_16, 0); +x_57 = lean_ctor_get(x_16, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_16); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; lean_object* x_16; +x_15 = lean_unbox(x_6); +lean_dec(x_6); +x_16 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +_start: +{ +uint8_t x_17; lean_object* x_18; +x_17 = lean_unbox(x_7); +lean_dec(x_7); +x_18 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +return x_18; } } static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__1() { _start: { +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__4() { +_start: +{ lean_object* x_1; lean_object* x_2; x_1 = lean_unsigned_to_nat(0u); x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__5() { _start: { lean_object* x_1; lean_object* x_2; @@ -1168,154 +1255,151 @@ x_2 = l_Lean_mkHashSetImp___rarg(x_1); return x_2; } } -static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__6() { _start: { -lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__1; -x_2 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__2; -x_3 = 0; -x_4 = lean_unsigned_to_nat(0u); -x_5 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_1); -lean_ctor_set(x_5, 3, x_4); -lean_ctor_set(x_5, 4, x_4); -lean_ctor_set(x_5, 5, x_4); -lean_ctor_set_uint8(x_5, sizeof(void*)*6, x_3); -return x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__4; +x_3 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__5; +x_4 = 0; +x_5 = lean_unsigned_to_nat(0u); +x_6 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_1); +lean_ctor_set(x_6, 3, x_2); +lean_ctor_set(x_6, 4, x_5); +lean_ctor_set(x_6, 5, x_5); +lean_ctor_set(x_6, 6, x_5); +lean_ctor_set_uint8(x_6, sizeof(void*)*7, x_4); +return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_go(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +lean_object* x_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_8 = lean_ctor_get(x_1, 0); lean_inc(x_8); x_9 = lean_box(0); x_10 = lean_box(0); +x_11 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__3; lean_inc(x_2); -x_11 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_11, 0, x_8); -lean_ctor_set(x_11, 1, x_2); -lean_ctor_set(x_11, 2, x_9); -lean_ctor_set(x_11, 3, x_10); -x_12 = lean_st_ref_get(x_6, x_7); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__3; -x_15 = lean_st_mk_ref(x_14, x_13); -x_16 = lean_ctor_get(x_15, 0); -lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); +x_12 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_2); +lean_ctor_set(x_12, 2, x_9); +lean_ctor_set(x_12, 3, x_10); +lean_ctor_set(x_12, 4, x_11); +x_13 = lean_st_ref_get(x_6, x_7); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = l_Lean_Compiler_LCNF_Decl_simp_go___closed__6; +x_16 = lean_st_mk_ref(x_15, x_14); +x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); -lean_dec(x_15); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_16); +lean_inc(x_3); +lean_inc(x_17); lean_inc(x_1); -x_18 = l_Lean_Compiler_LCNF_Decl_simp_x3f(x_1, x_11, x_16, x_3, x_4, x_5, x_6, x_17); -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_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -x_21 = lean_st_ref_get(x_6, x_20); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_st_ref_get(x_16, x_22); -lean_dec(x_16); +x_19 = l_Lean_Compiler_LCNF_Decl_simp_x3f(x_1, x_12, x_17, x_3, x_4, x_5, x_6, x_18); if (lean_obj_tag(x_19) == 0) { -uint8_t x_24; +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_st_ref_get(x_6, x_21); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_st_ref_get(x_17, x_23); +lean_dec(x_17); +if (lean_obj_tag(x_20) == 0) +{ +uint8_t x_25; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_24 = !lean_is_exclusive(x_23); -if (x_24 == 0) +x_25 = !lean_is_exclusive(x_24); +if (x_25 == 0) { -lean_object* x_25; -x_25 = lean_ctor_get(x_23, 0); -lean_dec(x_25); -lean_ctor_set(x_23, 0, x_1); -return x_23; +lean_object* x_26; +x_26 = lean_ctor_get(x_24, 0); +lean_dec(x_26); +lean_ctor_set(x_24, 0, x_1); +return x_24; } else { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); -lean_dec(x_23); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_1); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_24, 1); +lean_inc(x_27); +lean_dec(x_24); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_1); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } else { -lean_object* x_28; lean_object* x_29; +lean_object* x_29; lean_object* x_30; lean_dec(x_1); -x_28 = lean_ctor_get(x_23, 1); -lean_inc(x_28); -lean_dec(x_23); -x_29 = lean_ctor_get(x_19, 0); +x_29 = lean_ctor_get(x_24, 1); lean_inc(x_29); -lean_dec(x_19); -x_1 = x_29; -x_7 = x_28; +lean_dec(x_24); +x_30 = lean_ctor_get(x_20, 0); +lean_inc(x_30); +lean_dec(x_20); +x_1 = x_30; +x_7 = x_29; goto _start; } } else { -uint8_t x_31; -lean_dec(x_16); +uint8_t x_32; +lean_dec(x_17); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_31 = !lean_is_exclusive(x_18); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) { -return x_18; +return x_19; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_18, 0); -x_33 = lean_ctor_get(x_18, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_18); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Decl_simp_go(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -1323,7 +1407,7 @@ x_9 = l_Lean_Compiler_LCNF_Decl_simp_go(x_1, x_2, x_4, x_5, x_6, x_7, x_8); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object* x_1, 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; uint8_t x_10; @@ -1353,26 +1437,23 @@ if (x_14 == 0) { uint8_t x_15; lean_object* x_16; x_15 = 0; -lean_ctor_set_uint8(x_2, sizeof(void*)*1, x_15); -lean_ctor_set_uint8(x_2, sizeof(void*)*1 + 1, x_15); +lean_ctor_set_uint8(x_2, 0, x_15); +lean_ctor_set_uint8(x_2, 1, x_15); x_16 = l_Lean_Compiler_LCNF_Decl_simp_go(x_1, x_2, x_3, x_4, x_5, x_6, x_13); return x_16; } else { -lean_object* x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; -x_17 = lean_ctor_get(x_2, 0); -x_18 = lean_ctor_get_uint8(x_2, sizeof(void*)*1 + 2); -lean_inc(x_17); +uint8_t x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get_uint8(x_2, 2); lean_dec(x_2); -x_19 = 0; -x_20 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_20, 0, x_17); -lean_ctor_set_uint8(x_20, sizeof(void*)*1, x_19); -lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 1, x_19); -lean_ctor_set_uint8(x_20, sizeof(void*)*1 + 2, x_18); -x_21 = l_Lean_Compiler_LCNF_Decl_simp_go(x_1, x_20, x_3, x_4, x_5, x_6, x_13); -return x_21; +x_18 = 0; +x_19 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_19, 0, x_18); +lean_ctor_set_uint8(x_19, 1, x_18); +lean_ctor_set_uint8(x_19, 2, x_17); +x_20 = l_Lean_Compiler_LCNF_Decl_simp_go(x_1, x_19, x_3, x_4, x_5, x_6, x_13); +return x_20; } } } @@ -1380,25 +1461,13 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Decl_simp___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Decl_simp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_simp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Decl_simp(x_1, x_2, x_8, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -1420,7 +1489,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp(lean_object* x_1, lean_object _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; -x_3 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_simp___lambda__1___boxed), 7, 1); +x_3 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_simp___lambda__1), 7, 1); lean_closure_set(x_3, 0, x_1); x_4 = l_Lean_Compiler_LCNF_simp___closed__1; x_5 = 0; @@ -1428,17 +1497,7 @@ x_6 = l_Lean_Compiler_LCNF_Pass_mkPerDeclaration(x_4, x_3, x_5, x_2); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_simp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_simp___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1448,7 +1507,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__2() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -1458,17 +1517,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__3() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__2; +x_1 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__2; x_2 = l_Lean_Compiler_LCNF_Decl_simp_x3f___lambda__2___closed__2; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -1481,7 +1540,7 @@ lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); -x_6 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__1; +x_6 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__1; x_7 = 0; x_8 = l_Lean_registerTraceClass(x_6, x_7, x_5); if (lean_obj_tag(x_8) == 0) @@ -1490,7 +1549,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__2; +x_10 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__2; x_11 = l_Lean_registerTraceClass(x_10, x_7, x_9); if (lean_obj_tag(x_11) == 0) { @@ -1498,7 +1557,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; x_12 = lean_ctor_get(x_11, 1); lean_inc(x_12); lean_dec(x_11); -x_13 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__3; +x_13 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__3; x_14 = l_Lean_registerTraceClass(x_13, x_7, x_12); return x_14; } @@ -1574,6 +1633,7 @@ return x_26; } lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_ReduceJpArity(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_Renaming(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Simp_Basic(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Simp_FunDeclInfo(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Simp_JpCases(uint8_t builtin, lean_object*); @@ -1596,6 +1656,9 @@ lean_dec_ref(res); res = initialize_Lean_Compiler_LCNF_ReduceJpArity(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_Renaming(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Compiler_LCNF_Simp_Basic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -1687,15 +1750,21 @@ l_Lean_Compiler_LCNF_Decl_simp_go___closed__2 = _init_l_Lean_Compiler_LCNF_Decl_ lean_mark_persistent(l_Lean_Compiler_LCNF_Decl_simp_go___closed__2); l_Lean_Compiler_LCNF_Decl_simp_go___closed__3 = _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__3(); lean_mark_persistent(l_Lean_Compiler_LCNF_Decl_simp_go___closed__3); +l_Lean_Compiler_LCNF_Decl_simp_go___closed__4 = _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Decl_simp_go___closed__4); +l_Lean_Compiler_LCNF_Decl_simp_go___closed__5 = _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Decl_simp_go___closed__5); +l_Lean_Compiler_LCNF_Decl_simp_go___closed__6 = _init_l_Lean_Compiler_LCNF_Decl_simp_go___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Decl_simp_go___closed__6); l_Lean_Compiler_LCNF_simp___closed__1 = _init_l_Lean_Compiler_LCNF_simp___closed__1(); lean_mark_persistent(l_Lean_Compiler_LCNF_simp___closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__1); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__2); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737____closed__3); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_737_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__1); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__2 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__2); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__3 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734____closed__3); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp___hyg_734_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Basic.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Basic.c index b188e8af99..175cc454af 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Basic.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Basic.c @@ -15,17 +15,17 @@ extern "C" { #endif LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_hasLocalInst(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrCore(lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_hasSpecializeAttribute(lean_object*, lean_object*); uint8_t l_Lean_BinderInfo_isInstImplicit(uint8_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_isTemplateLike___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_isTemplateLike(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_hasLocalInst___boxed(lean_object*); lean_object* l_Lean_Meta_isInstance(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_hasLocalInst(lean_object* x_1) { @@ -252,7 +252,7 @@ lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { switch (lean_obj_tag(x_1)) { @@ -344,19 +344,18 @@ return x_24; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findExpr___boxed(lean_object* x_1, 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; uint8_t x_9; lean_object* x_10; +uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l_Lean_Compiler_LCNF_Simp_findExpr(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_9 = l_Lean_Compiler_LCNF_Simp_findExpr(x_1, x_8, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_10; +lean_dec(x_3); +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { switch (lean_obj_tag(x_1)) { @@ -502,14 +501,13 @@ return x_36; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Config.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Config.c index 46b7004b41..0d8352363a 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Config.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Config.c @@ -17,16 +17,7 @@ LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_Config_etaPoly___default; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_Config_implementedBy___default; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instInhabitedConfig; static lean_object* l_Lean_Compiler_LCNF_Simp_instInhabitedConfig___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_Config_smallThreshold___default; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_Config_inlinePartial___default; -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_Config_smallThreshold___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_unsigned_to_nat(1u); -return x_1; -} -} static uint8_t _init_l_Lean_Compiler_LCNF_Simp_Config_etaPoly___default() { _start: { @@ -54,15 +45,13 @@ return x_1; static lean_object* _init_l_Lean_Compiler_LCNF_Simp_instInhabitedConfig___closed__1() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(0u); -x_2 = 0; -x_3 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 2, x_2); -return x_3; +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_2, 0, x_1); +lean_ctor_set_uint8(x_2, 1, x_1); +lean_ctor_set_uint8(x_2, 2, x_1); +return x_2; } } static lean_object* _init_l_Lean_Compiler_LCNF_Simp_instInhabitedConfig() { @@ -82,8 +71,6 @@ _G_initialized = true; res = initialize_Init(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l_Lean_Compiler_LCNF_Simp_Config_smallThreshold___default = _init_l_Lean_Compiler_LCNF_Simp_Config_smallThreshold___default(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_Config_smallThreshold___default); l_Lean_Compiler_LCNF_Simp_Config_etaPoly___default = _init_l_Lean_Compiler_LCNF_Simp_Config_etaPoly___default(); l_Lean_Compiler_LCNF_Simp_Config_inlinePartial___default = _init_l_Lean_Compiler_LCNF_Simp_Config_inlinePartial___default(); l_Lean_Compiler_LCNF_Simp_Config_implementedBy___default = _init_l_Lean_Compiler_LCNF_Simp_Config_implementedBy___default(); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/ConstantFold.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/ConstantFold.c new file mode 100644 index 0000000000..6ecedebb28 --- /dev/null +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/ConstantFold.c @@ -0,0 +1,15869 @@ +// Lean compiler output +// Module: Lean.Compiler.LCNF.Simp.ConstantFold +// Imports: Init Lean.Compiler.LCNF.CompilerM Lean.Compiler.LCNF.InferType Lean.Compiler.LCNF.PassManager +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +lean_object* l_List_reverse___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__4; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__4; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__44; +lean_object* l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_add(size_t, size_t); +static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_sub___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__27; +lean_object* l_String_length___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__31___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +lean_object* l_List_get___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__3; +uint8_t lean_uint64_dec_eq(uint64_t, uint64_t); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__26(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__17(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__10; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__31(uint32_t, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__33(uint32_t, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_uint8_dec_eq(uint8_t, uint8_t); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__10; +lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__10; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_folderExt; +lean_object* l_Nat_div___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__3(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__38; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__21; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__7; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__16(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__35___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1(lean_object*); +lean_object* l_UInt8_toNat___boxed(lean_object*); +lean_object* l_UInt16_ofNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__21___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldConstants(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__4; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__29; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__3; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__42; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_get(lean_object*, lean_object*); +extern lean_object* l_Lean_instHashableName; +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__8; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__25(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__37; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString; +uint8_t lean_name_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__15; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__5; +LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__18; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__30; +lean_object* l_String_append___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern uint8_t l_instInhabitedUInt8; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__25; +lean_object* l_UInt16_mul___boxed(lean_object*, lean_object*); +lean_object* l_UInt16_div___boxed(lean_object*, lean_object*); +lean_object* l_UInt32_mul___boxed(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); +lean_object* lean_array_get_size(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__5; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Char_toNat___boxed(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__45; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__9; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__6; +lean_object* l_UInt16_sub___boxed(lean_object*, lean_object*); +size_t lean_usize_shift_right(size_t, size_t); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__33; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__7; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__22; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__5; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__36___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__9; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral(lean_object*); +lean_object* l_Lean_Expr_lit___override(lean_object*); +extern lean_object* l_Lean_levelZero; +lean_object* lean_nat_add(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__7(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__3; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__13(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__11(uint16_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__5; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__2; +lean_object* l_UInt8_ofNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__1; +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1; +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__3; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__2; +size_t lean_uint64_to_usize(uint64_t); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__5; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__4___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +extern uint64_t l_instInhabitedUInt64; +lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__23; +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); +uint64_t l_Lean_Name_hash___override(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__13; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__41; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__4; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__5; +LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__7___boxed(lean_object*, lean_object*); +lean_object* lean_array_fget(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__11; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__7; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_st_ref_take(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__3; +LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__6(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___boxed(lean_object*, lean_object*); +lean_object* l_UInt64_sub___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__1; +lean_object* lean_nat_sub(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8; +lean_object* l_Lean_Expr_constLevels_x21(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__1; +lean_object* l_UInt8_sub___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__5; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__3; +lean_object* l_panic___at_Lean_Level_normalize___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__34; +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe(lean_object*, lean_object*, lean_object*); +lean_object* l_UInt32_add___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__48; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__3; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__9(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__2(lean_object*, lean_object*); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__15___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_fvarId_x21(lean_object*); +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__4; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___lambda__1(lean_object*); +lean_object* l_instInhabited___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__3; +lean_object* l_UInt32_toNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__7(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt8_add___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__8; +lean_object* l_Lean_SMap_instInhabitedSMap___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__3(lean_object*, lean_object*); +lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__47; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__35(uint64_t, uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_registerPersistentEnvExtensionUnsafe___rarg(lean_object*, lean_object*); +lean_object* lean_st_mk_ref(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__5; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__9; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__12; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6___boxed__const__1; +LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__12(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__3; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__4; +lean_object* l_Lean_Expr_sort___override(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__30(uint16_t, uint16_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__6; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__20(uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt64_mul___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__8(lean_object*, lean_object*); +size_t lean_usize_shift_left(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__8; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6; +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__12; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__3; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6___boxed__const__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__25___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_modn(size_t, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__4; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__1; +lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt64_ofNat___boxed(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_mul(size_t, size_t); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__30___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__19; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__34___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__4; +lean_object* l_Nat_add___boxed(lean_object*, lean_object*); +size_t lean_usize_of_nat(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt32_div___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__28(uint16_t, uint16_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__4; +lean_object* l_UInt16_add___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_addEntry___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral(lean_object*); +size_t lean_usize_land(size_t, size_t); +lean_object* l_Lean_Environment_evalConstCheck___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__6; +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern uint32_t l_Char_instInhabitedChar; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__8(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_fvar___override(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__39; +uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*); +lean_object* l_List_redLength___rarg(lean_object*); +extern uint32_t l_instInhabitedUInt32; +LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__7___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__35; +lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__4; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__36; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__2; +lean_object* lean_array_mk(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__20___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__1; +LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__12___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__32(uint32_t, uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__6; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__12(uint16_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__8; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__26; +uint8_t lean_nat_dec_le(lean_object*, lean_object*); +uint8_t lean_usize_dec_le(size_t, size_t); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__3; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__7; +lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__3; +extern lean_object* l_Lean_Core_instMonadCoreM; +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__24; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__5; +lean_object* l_UInt64_toNat___boxed(lean_object*); +lean_object* l_UInt16_toNat___boxed(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__49; +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__7; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_mul___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__31; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt32_ofNat___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__11; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__3; +LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__11(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__10(lean_object*, lean_object*); +lean_object* lean_nat_mul(lean_object*, lean_object*); +lean_object* l_UInt32_sub___boxed(lean_object*, lean_object*); +lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__13(uint16_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Expr_constName_x3f(lean_object*); +lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); +lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__9(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Char_ofNat___boxed(lean_object*); +lean_object* l_UInt64_div___boxed(lean_object*, lean_object*); +lean_object* lean_panic_fn(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6___boxed__const__1; +lean_object* lean_mk_array(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__5; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__4; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__9; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__3; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__5; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__14; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__11; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__27(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_uint16_dec_eq(uint16_t, uint16_t); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt8_mul___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__2; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__11; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__6; +lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); +lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__50; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__5; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__34(uint64_t, uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt64_add___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2(lean_object*); +LEAN_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__4(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__4; +lean_object* l_Lean_Expr_getAppFn(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__4; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_String_push___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__3; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__19(uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__29(uint16_t, uint16_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +extern uint16_t l_instInhabitedUInt16; +lean_object* lean_usize_to_nat(size_t); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__5; +lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_mkAppB(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__33___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__6; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__16; +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__43; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__2(lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__1; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__46; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__2; +lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__4; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__7; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__36(uint64_t, uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__3; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__32; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__10; +lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__15(uint32_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__20; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__21(uint64_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_string_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +extern lean_object* l_Lean_Name_instBEqName; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_UInt8_div___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +lean_inc(x_7); +x_9 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_1, x_2, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_st_ref_get(x_7, x_11); +lean_dec(x_7); +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = lean_st_ref_take(x_3, x_13); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_10); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_10); +x_18 = lean_array_push(x_15, x_17); +x_19 = lean_st_ref_set(x_3, x_18, x_16); +x_20 = !lean_is_exclusive(x_19); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_19, 0); +lean_dec(x_21); +x_22 = lean_ctor_get(x_10, 0); +lean_inc(x_22); +lean_dec(x_10); +lean_ctor_set(x_19, 0, x_22); +return x_19; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_19, 1); +lean_inc(x_23); +lean_dec(x_19); +x_24 = lean_ctor_get(x_10, 0); +lean_inc(x_24); +lean_dec(x_10); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_23); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_7); +x_26 = !lean_is_exclusive(x_9); +if (x_26 == 0) +{ +return x_9; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_9, 0); +x_28 = lean_ctor_get(x_9, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_9); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_dec(x_1); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_11 = lean_apply_7(x_10, x_2, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl(x_12, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +lean_dec(x_4); +return x_14; +} +else +{ +uint8_t x_15; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_11); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___rarg), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = l_Lean_Compiler_LCNF_findLetDecl_x3f(x_7, x_2, x_3, x_4, x_5, x_6); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 0); +lean_dec(x_11); +x_12 = lean_box(0); +lean_ctor_set(x_8, 0, x_12); +return x_8; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +lean_dec(x_9); +x_18 = lean_ctor_get(x_17, 3); +lean_inc(x_18); +lean_dec(x_17); +x_1 = x_18; +x_6 = x_16; +goto _start; +} +} +case 9: +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +lean_dec(x_1); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_6); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +x_24 = lean_box(0); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_6); +return x_25; +} +} +default: +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_1); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_6); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit___boxed(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_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_1); +x_9 = l_Lean_Expr_lit___override(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__1; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__2; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__3; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = l_Lean_Compiler_LCNF_findLetDecl_x3f(x_7, x_2, x_3, x_4, x_5, x_6); +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_8); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_8, 0); +lean_dec(x_11); +x_12 = lean_box(0); +lean_ctor_set(x_8, 0, x_12); +return x_8; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_8, 1); +lean_inc(x_13); +lean_dec(x_8); +x_14 = lean_box(0); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_8, 1); +lean_inc(x_16); +lean_dec(x_8); +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +lean_dec(x_9); +x_18 = lean_ctor_get(x_17, 3); +lean_inc(x_18); +lean_dec(x_17); +x_1 = x_18; +x_6 = x_16; +goto _start; +} +} +case 9: +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +lean_dec(x_1); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; +lean_dec(x_20); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_6); +return x_22; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_23 = lean_ctor_get(x_20, 0); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_6); +return x_25; +} +} +default: +{ +lean_object* x_26; lean_object* x_27; +lean_dec(x_1); +x_26 = lean_box(0); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_6); +return x_27; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit___boxed(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_Compiler_LCNF_Simp_ConstantFold_getStringLit(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_1); +x_9 = l_Lean_Expr_lit___override(x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_7); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit___boxed), 6, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__1; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__2; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__3; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +return x_8; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_levelZero; +x_2 = l_Lean_Expr_sort___override(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___lambda__1___boxed), 6, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +switch (lean_obj_tag(x_2)) { +case 1: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_2, 0); +lean_inc(x_11); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_findLetDecl_x3f(x_11, x_6, x_7, x_8, x_9, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_14 = !lean_is_exclusive(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_12, 0); +lean_dec(x_15); +x_16 = lean_box(0); +lean_ctor_set(x_12, 0, x_16); +return x_12; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_12, 1); +lean_inc(x_17); +lean_dec(x_12); +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_17); +return x_19; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_dec(x_12); +x_21 = lean_ctor_get(x_13, 0); +lean_inc(x_21); +lean_dec(x_13); +x_22 = lean_ctor_get(x_21, 3); +lean_inc(x_22); +lean_dec(x_21); +x_2 = x_22; +x_10 = x_20; +goto _start; +} +} +case 5: +{ +lean_object* x_24; +x_24 = l_Lean_Expr_getAppFn(x_2); +if (lean_obj_tag(x_24) == 4) +{ +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; uint8_t x_34; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = lean_unsigned_to_nat(0u); +x_27 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_2, x_26); +x_28 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1; +lean_inc(x_27); +x_29 = lean_mk_array(x_27, x_28); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_sub(x_27, x_30); +lean_dec(x_27); +x_32 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_29, x_31); +x_33 = lean_array_get_size(x_32); +x_34 = lean_nat_dec_eq(x_33, x_30); +lean_dec(x_33); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; +lean_dec(x_32); +lean_dec(x_25); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_35 = lean_box(0); +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_10); +return x_36; +} +else +{ +lean_object* x_37; +x_37 = lean_array_fget(x_32, x_26); +lean_dec(x_32); +if (lean_obj_tag(x_37) == 1) +{ +lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +lean_dec(x_37); +x_39 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__2; +x_40 = lean_name_eq(x_25, x_4); +lean_dec(x_25); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +lean_dec(x_38); +lean_dec(x_3); +x_41 = lean_box(0); +x_42 = lean_apply_6(x_39, x_41, x_6, x_7, x_8, x_9, x_10); +return x_42; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = l_Lean_Expr_fvar___override(x_38); +x_44 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_43, x_6, x_7, x_8, x_9, x_10); +x_45 = lean_ctor_get(x_44, 0); +lean_inc(x_45); +if (lean_obj_tag(x_45) == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_3); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_box(0); +x_48 = lean_apply_6(x_39, x_47, x_6, x_7, x_8, x_9, x_46); +return x_48; +} +else +{ +uint8_t x_49; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_49 = !lean_is_exclusive(x_44); +if (x_49 == 0) +{ +lean_object* x_50; uint8_t x_51; +x_50 = lean_ctor_get(x_44, 0); +lean_dec(x_50); +x_51 = !lean_is_exclusive(x_45); +if (x_51 == 0) +{ +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_45, 0); +x_53 = lean_apply_1(x_3, x_52); +lean_ctor_set(x_45, 0, x_53); +return x_44; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_45, 0); +lean_inc(x_54); +lean_dec(x_45); +x_55 = lean_apply_1(x_3, x_54); +x_56 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_44, 0, x_56); +return x_44; +} +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_57 = lean_ctor_get(x_44, 1); +lean_inc(x_57); +lean_dec(x_44); +x_58 = lean_ctor_get(x_45, 0); +lean_inc(x_58); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + x_59 = x_45; +} else { + lean_dec_ref(x_45); + x_59 = lean_box(0); +} +x_60 = lean_apply_1(x_3, x_58); +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(1, 1, 0); +} else { + x_61 = x_59; +} +lean_ctor_set(x_61, 0, x_60); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_57); +return x_62; +} +} +} +} +else +{ +lean_object* x_63; lean_object* x_64; +lean_dec(x_37); +lean_dec(x_25); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +x_63 = lean_box(0); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_10); +return x_64; +} +} +} +else +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_24); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_10); +return x_66; +} +} +default: +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_3); +lean_dec(x_2); +x_67 = lean_box(0); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_10); +return x_68; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___boxed), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; +x_7 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_1, x_3, x_4, x_5, x_6, 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 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_11); +return x_12; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_x", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_apply_1(x_2, x_3); +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__2; +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___spec__1(x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_12); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_12, 0); +x_15 = lean_box(0); +x_16 = l_Lean_Expr_const___override(x_1, x_15); +x_17 = l_Lean_Expr_fvar___override(x_14); +x_18 = l_Lean_Expr_app___override(x_16, x_17); +lean_ctor_set(x_12, 0, x_18); +return x_12; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_ctor_get(x_12, 0); +x_20 = lean_ctor_get(x_12, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_12); +x_21 = lean_box(0); +x_22 = l_Lean_Expr_const___override(x_1, x_21); +x_23 = l_Lean_Expr_fvar___override(x_19); +x_24 = l_Lean_Expr_app___override(x_22, x_23); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_20); +return x_25; +} +} +else +{ +uint8_t x_26; +lean_dec(x_1); +x_26 = !lean_is_exclusive(x_12); +if (x_26 == 0) +{ +return x_12; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_12, 0); +x_28 = lean_ctor_get(x_12, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_12); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___boxed), 9, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg(x_1, x_5, x_2, x_3, x_4, x_6, x_7, x_8, x_9, x_10); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2___rarg___boxed), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___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_inc(x_4); +lean_inc(x_3); +x_5 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2___rarg___boxed), 10, 4); +lean_closure_set(x_5, 0, x_1); +lean_closure_set(x_5, 1, x_2); +lean_closure_set(x_5, 2, x_3); +lean_closure_set(x_5, 3, x_4); +x_6 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___boxed), 9, 2); +lean_closure_set(x_6, 0, x_3); +lean_closure_set(x_6, 1, x_4); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_5); +lean_ctor_set(x_7, 1, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_3); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__2___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("UInt8", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ofNat", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt8_ofNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt8_toNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__7() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_instInhabitedUInt8; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__5; +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__4; +x_4 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__6; +x_5 = lean_box(x_1); +x_6 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___rarg(x_5, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__7; +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("UInt16", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt16_ofNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt16_toNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__6() { +_start: +{ +uint16_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_instInhabitedUInt16; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__4; +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__3; +x_4 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__5; +x_5 = lean_box(x_1); +x_6 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___rarg(x_5, x_2, x_3, x_4); +return x_6; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("UInt32", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt32_ofNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt32_toNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = l_instInhabitedUInt32; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__4; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__3; +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__5; +x_4 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6___boxed__const__1; +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___rarg(x_4, x_1, x_2, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("UInt64", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt64_ofNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt64_toNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6___boxed__const__1() { +_start: +{ +uint64_t x_1; lean_object* x_2; +x_1 = l_instInhabitedUInt64; +x_2 = lean_box_uint64(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__4; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__3; +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__5; +x_4 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6___boxed__const__1; +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___rarg(x_4, x_1, x_2, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6; +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Char", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Char_ofNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Char_toNat___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6___boxed__const__1() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = l_Char_instInhabitedChar; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__4; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__3; +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__5; +x_4 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6___boxed__const__1; +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___rarg(x_4, x_1, x_2, x_3); +return x_5; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6; +return x_1; +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +else +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_name_eq(x_6, x_7); +return x_8; +} +} +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("List", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("nil", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__4; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("cons", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__7; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Init.Util", 9); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("getElem!", 8); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("index out of bounds", 19); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__9; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__10; +x_3 = lean_unsigned_to_nat(77u); +x_4 = lean_unsigned_to_nat(36u); +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__11; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go(lean_object* x_1, 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: +{ +switch (lean_obj_tag(x_1)) { +case 1: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_1, 0); +lean_inc(x_8); +lean_dec(x_1); +x_9 = l_Lean_Compiler_LCNF_findLetDecl_x3f(x_8, x_3, x_4, x_5, x_6, x_7); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_2); +x_11 = !lean_is_exclusive(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_9, 0); +lean_dec(x_12); +x_13 = lean_box(0); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_14 = lean_ctor_get(x_9, 1); +lean_inc(x_14); +lean_dec(x_9); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_dec(x_9); +x_18 = lean_ctor_get(x_10, 0); +lean_inc(x_18); +lean_dec(x_10); +x_19 = lean_ctor_get(x_18, 3); +lean_inc(x_19); +lean_dec(x_18); +x_1 = x_19; +x_7 = x_17; +goto _start; +} +} +case 5: +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_21 = l_Lean_Expr_getAppFn(x_1); +x_22 = l_Lean_Expr_constName_x3f(x_21); +x_23 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__5; +x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___spec__1(x_23, x_22); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +lean_dec(x_21); +x_25 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__8; +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___spec__1(x_25, x_22); +lean_dec(x_22); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_dec(x_2); +lean_dec(x_1); +x_27 = lean_box(0); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_7); +return x_28; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; uint8_t x_39; +x_29 = lean_unsigned_to_nat(0u); +x_30 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_29); +x_31 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1; +lean_inc(x_30); +x_32 = lean_mk_array(x_30, x_31); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_nat_sub(x_30, x_33); +lean_dec(x_30); +x_35 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_32, x_34); +x_36 = lean_array_get_size(x_35); +x_37 = lean_unsigned_to_nat(2u); +x_38 = lean_nat_dec_lt(x_37, x_36); +x_39 = lean_nat_dec_lt(x_33, x_36); +lean_dec(x_36); +if (x_38 == 0) +{ +lean_object* x_40; lean_object* x_41; +x_40 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12; +x_41 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_40); +if (x_39 == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_35); +x_42 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_40); +x_43 = l_Lean_Expr_fvarId_x21(x_42); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_2); +x_1 = x_41; +x_2 = x_44; +goto _start; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_array_fget(x_35, x_33); +lean_dec(x_35); +x_47 = l_Lean_Expr_fvarId_x21(x_46); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_2); +x_1 = x_41; +x_2 = x_48; +goto _start; +} +} +else +{ +lean_object* x_50; +x_50 = lean_array_fget(x_35, x_37); +if (x_39 == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_35); +x_51 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12; +x_52 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_51); +x_53 = l_Lean_Expr_fvarId_x21(x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_2); +x_1 = x_50; +x_2 = x_54; +goto _start; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_array_fget(x_35, x_33); +lean_dec(x_35); +x_57 = l_Lean_Expr_fvarId_x21(x_56); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_2); +x_1 = x_50; +x_2 = x_58; +goto _start; +} +} +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_22); +x_60 = l_List_reverse___rarg(x_2); +x_61 = lean_unsigned_to_nat(0u); +x_62 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_61); +x_63 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1; +lean_inc(x_62); +x_64 = lean_mk_array(x_62, x_63); +x_65 = lean_unsigned_to_nat(1u); +x_66 = lean_nat_sub(x_62, x_65); +lean_dec(x_62); +x_67 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_1, x_64, x_66); +x_68 = lean_array_get_size(x_67); +x_69 = lean_nat_dec_lt(x_61, x_68); +lean_dec(x_68); +x_70 = l_Lean_Expr_constLevels_x21(x_21); +x_71 = l_List_lengthTRAux___rarg(x_70, x_61); +x_72 = lean_nat_dec_lt(x_61, x_71); +lean_dec(x_71); +if (x_69 == 0) +{ +lean_object* x_73; lean_object* x_74; +lean_dec(x_67); +x_73 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12; +x_74 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_73); +if (x_72 == 0) +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +lean_dec(x_70); +x_75 = l_panic___at_Lean_Level_normalize___spec__1(x_73); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +x_77 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_77, 0, x_60); +lean_ctor_set(x_77, 1, x_76); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_77); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_78); +lean_ctor_set(x_79, 1, x_7); +return x_79; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_80 = l_List_get___rarg(x_70, x_61); +lean_dec(x_70); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_74); +lean_ctor_set(x_81, 1, x_80); +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_60); +lean_ctor_set(x_82, 1, x_81); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_82); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_83); +lean_ctor_set(x_84, 1, x_7); +return x_84; +} +} +else +{ +lean_object* x_85; +x_85 = lean_array_fget(x_67, x_61); +lean_dec(x_67); +if (x_72 == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_70); +x_86 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12; +x_87 = l_panic___at_Lean_Level_normalize___spec__1(x_86); +x_88 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_88, 0, x_85); +lean_ctor_set(x_88, 1, x_87); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_60); +lean_ctor_set(x_89, 1, x_88); +x_90 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_90, 0, x_89); +x_91 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_91, 0, x_90); +lean_ctor_set(x_91, 1, x_7); +return x_91; +} +else +{ +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_92 = l_List_get___rarg(x_70, x_61); +lean_dec(x_70); +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_85); +lean_ctor_set(x_93, 1, x_92); +x_94 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_94, 0, x_60); +lean_ctor_set(x_94, 1, x_93); +x_95 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_95, 0, x_94); +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_95); +lean_ctor_set(x_96, 1, x_7); +return x_96; +} +} +} +} +default: +{ +lean_object* x_97; lean_object* x_98; +lean_dec(x_2); +lean_dec(x_1); +x_97 = lean_box(0); +x_98 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_98, 0, x_97); +lean_ctor_set(x_98, 1, x_7); +return x_98; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_box(0); +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go(x_1, x_7, x_2, x_3, x_4, x_5, x_6); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral___boxed(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_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_7; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("push", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +uint8_t x_15; +x_15 = lean_usize_dec_lt(x_7, x_6); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_8); +lean_ctor_set(x_16, 1, x_14); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_17 = lean_array_uget(x_5, x_7); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___closed__1; +lean_inc(x_3); +x_19 = l_Lean_Name_str___override(x_3, x_18); +lean_inc(x_4); +x_20 = l_Lean_Expr_const___override(x_19, x_4); +x_21 = l_Lean_Expr_fvar___override(x_8); +x_22 = l_Lean_Expr_fvar___override(x_17); +lean_inc(x_1); +x_23 = l_Lean_mkApp3(x_20, x_1, x_21, x_22); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_2); +x_24 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl(x_23, x_2, x_9, x_10, x_11, x_12, x_13, x_14); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = 1; +x_28 = lean_usize_add(x_7, x_27); +x_7 = x_28; +x_8 = x_25; +x_14 = x_26; +goto _start; +} +else +{ +uint8_t x_30; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_30 = !lean_is_exclusive(x_24); +if (x_30 == 0) +{ +return x_24; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_24, 0); +x_32 = lean_ctor_get(x_24, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_24); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Array", 5); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("mkEmpty", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_array_get_size(x_1); +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__2; +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_10); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLit___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___spec__1(x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_12) == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_box(0); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_3); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__4; +lean_inc(x_16); +x_18 = l_Lean_Expr_const___override(x_17, x_16); +x_19 = l_Lean_Expr_fvar___override(x_13); +lean_inc(x_2); +x_20 = l_Lean_mkAppB(x_18, x_2, x_19); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_21 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkAuxLetDecl(x_20, x_11, x_4, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; size_t x_24; size_t x_25; lean_object* x_26; lean_object* x_27; +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_usize_of_nat(x_10); +lean_dec(x_10); +x_25 = 0; +x_26 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__2; +x_27 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1(x_2, x_11, x_26, x_16, x_1, x_24, x_25, x_22, x_4, x_5, x_6, x_7, x_8, x_23); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +x_30 = l_Lean_Expr_fvar___override(x_29); +lean_ctor_set(x_27, 0, x_30); +return x_27; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_31 = lean_ctor_get(x_27, 0); +x_32 = lean_ctor_get(x_27, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_27); +x_33 = l_Lean_Expr_fvar___override(x_31); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +return x_34; +} +} +else +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_27); +if (x_35 == 0) +{ +return x_27; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_27, 0); +x_37 = lean_ctor_get(x_27, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_27); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_21); +if (x_39 == 0) +{ +return x_21; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_21, 0); +x_41 = lean_ctor_get(x_21, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_21); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +} +else +{ +uint8_t x_43; +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_43 = !lean_is_exclusive(x_12); +if (x_43 == 0) +{ +return x_12; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_12, 0); +x_45 = lean_ctor_get(x_12, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_12); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +_start: +{ +size_t x_15; size_t x_16; lean_object* x_17; +x_15 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_16 = lean_unbox_usize(x_7); +lean_dec(x_7); +x_17 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1(x_1, x_2, x_3, x_4, x_5, x_15, x_16, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_9); +lean_dec(x_5); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___lambda__1___boxed), 7, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_9 = lean_array_get_size(x_1); +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_dec_eq(x_9, x_10); +lean_dec(x_9); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); +x_13 = lean_apply_7(x_8, x_12, x_2, x_3, x_4, x_5, x_6, x_7); +return x_13; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_array_fget(x_1, x_14); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral(x_15, x_3, x_4, x_5, x_6, x_7); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_box(0); +x_20 = lean_apply_7(x_8, x_19, x_2, x_3, x_4, x_5, x_6, x_18); +return x_20; +} +else +{ +uint8_t x_21; +x_21 = !lean_is_exclusive(x_17); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_22 = lean_ctor_get(x_17, 0); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +x_24 = lean_ctor_get(x_16, 1); +lean_inc(x_24); +lean_dec(x_16); +x_25 = lean_ctor_get(x_22, 0); +lean_inc(x_25); +lean_dec(x_22); +x_26 = lean_ctor_get(x_23, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_23, 1); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_array_mk(x_25); +x_29 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral(x_28, x_26, x_27, x_2, x_3, x_4, x_5, x_6, x_24); +lean_dec(x_2); +lean_dec(x_28); +if (lean_obj_tag(x_29) == 0) +{ +uint8_t x_30; +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 0); +lean_ctor_set(x_17, 0, x_31); +lean_ctor_set(x_29, 0, x_17); +return x_29; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_29, 0); +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_29); +lean_ctor_set(x_17, 0, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_17); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +else +{ +uint8_t x_35; +lean_free_object(x_17); +x_35 = !lean_is_exclusive(x_29); +if (x_35 == 0) +{ +return x_29; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_29, 0); +x_37 = lean_ctor_get(x_29, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_29); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_39 = lean_ctor_get(x_17, 0); +lean_inc(x_39); +lean_dec(x_17); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +x_41 = lean_ctor_get(x_16, 1); +lean_inc(x_41); +lean_dec(x_16); +x_42 = lean_ctor_get(x_39, 0); +lean_inc(x_42); +lean_dec(x_39); +x_43 = lean_ctor_get(x_40, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +x_45 = lean_array_mk(x_42); +x_46 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral(x_45, x_43, x_44, x_2, x_3, x_4, x_5, x_6, x_41); +lean_dec(x_2); +lean_dec(x_45); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_49 = x_46; +} else { + lean_dec_ref(x_46); + x_49 = lean_box(0); +} +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_47); +if (lean_is_scalar(x_49)) { + x_51 = lean_alloc_ctor(0, 2, 0); +} else { + x_51 = x_49; +} +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_52 = lean_ctor_get(x_46, 0); +lean_inc(x_52); +x_53 = lean_ctor_get(x_46, 1); +lean_inc(x_53); +if (lean_is_exclusive(x_46)) { + lean_ctor_release(x_46, 0); + lean_ctor_release(x_46, 1); + x_54 = x_46; +} else { + lean_dec_ref(x_46); + x_54 = lean_box(0); +} +if (lean_is_scalar(x_54)) { + x_55 = lean_alloc_ctor(1, 2, 0); +} else { + x_55 = x_54; +} +lean_ctor_set(x_55, 0, x_52); +lean_ctor_set(x_55, 1, x_53); +return x_55; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_1); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_12 = lean_array_get_size(x_4); +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = lean_apply_7(x_11, x_15, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_fget(x_4, x_18); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_20 = lean_apply_6(x_17, x_19, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_11, x_23, x_5, x_6, x_7, x_8, x_9, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_apply_1(x_3, x_27); +x_29 = lean_ctor_get(x_2, 1); +lean_inc(x_29); +lean_dec(x_2); +x_30 = lean_apply_7(x_29, x_28, x_5, x_6, x_7, x_8, x_9, x_25); +if (lean_obj_tag(x_30) == 0) +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_ctor_set(x_21, 0, x_32); +lean_ctor_set(x_30, 0, x_21); +return x_30; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_30, 0); +x_34 = lean_ctor_get(x_30, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_30); +lean_ctor_set(x_21, 0, x_33); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_21); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +else +{ +uint8_t x_36; +lean_free_object(x_21); +x_36 = !lean_is_exclusive(x_30); +if (x_36 == 0) +{ +return x_30; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_30, 0); +x_38 = lean_ctor_get(x_30, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_30); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_40 = lean_ctor_get(x_21, 0); +lean_inc(x_40); +lean_dec(x_21); +x_41 = lean_apply_1(x_3, x_40); +x_42 = lean_ctor_get(x_2, 1); +lean_inc(x_42); +lean_dec(x_2); +x_43 = lean_apply_7(x_42, x_41, x_5, x_6, x_7, x_8, x_9, x_25); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_44); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_49 = lean_ctor_get(x_43, 0); +lean_inc(x_49); +x_50 = lean_ctor_get(x_43, 1); +lean_inc(x_50); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_51 = x_43; +} else { + lean_dec_ref(x_43); + x_51 = lean_box(0); +} +if (lean_is_scalar(x_51)) { + x_52 = lean_alloc_ctor(1, 2, 0); +} else { + x_52 = x_51; +} +lean_ctor_set(x_52, 0, x_49); +lean_ctor_set(x_52, 1, x_50); +return x_52; +} +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_53 = !lean_is_exclusive(x_20); +if (x_53 == 0) +{ +return x_20; +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_20, 0); +x_55 = lean_ctor_get(x_20, 1); +lean_inc(x_55); +lean_inc(x_54); +lean_dec(x_20); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___rarg___boxed), 10, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_13 = lean_array_get_size(x_5); +x_14 = lean_unsigned_to_nat(2u); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_box(0); +x_17 = lean_apply_7(x_12, x_16, x_6, x_7, x_8, x_9, x_10, x_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +lean_dec(x_1); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_fget(x_5, x_19); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_21 = lean_apply_6(x_18, x_20, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_21) == 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_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(0); +x_25 = lean_apply_7(x_12, x_24, x_6, x_7, x_8, x_9, x_10, x_23); +return x_25; +} +else +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = lean_ctor_get(x_22, 0); +lean_inc(x_27); +lean_dec(x_22); +x_28 = lean_ctor_get(x_2, 0); +lean_inc(x_28); +lean_dec(x_2); +x_29 = lean_unsigned_to_nat(1u); +x_30 = lean_array_fget(x_5, x_29); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_31 = lean_apply_6(x_28, x_30, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +lean_dec(x_27); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_box(0); +x_35 = lean_apply_7(x_12, x_34, x_6, x_7, x_8, x_9, x_10, x_33); +return x_35; +} +else +{ +lean_object* x_36; uint8_t x_37; +x_36 = lean_ctor_get(x_31, 1); +lean_inc(x_36); +lean_dec(x_31); +x_37 = !lean_is_exclusive(x_32); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_32, 0); +x_39 = lean_apply_2(x_4, x_27, x_38); +x_40 = lean_ctor_get(x_3, 1); +lean_inc(x_40); +lean_dec(x_3); +x_41 = lean_apply_7(x_40, x_39, x_6, x_7, x_8, x_9, x_10, x_36); +if (lean_obj_tag(x_41) == 0) +{ +uint8_t x_42; +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_ctor_set(x_32, 0, x_43); +lean_ctor_set(x_41, 0, x_32); +return x_41; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_41, 0); +x_45 = lean_ctor_get(x_41, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_41); +lean_ctor_set(x_32, 0, x_44); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_32); +lean_ctor_set(x_46, 1, x_45); +return x_46; +} +} +else +{ +uint8_t x_47; +lean_free_object(x_32); +x_47 = !lean_is_exclusive(x_41); +if (x_47 == 0) +{ +return x_41; +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_41, 0); +x_49 = lean_ctor_get(x_41, 1); +lean_inc(x_49); +lean_inc(x_48); +lean_dec(x_41); +x_50 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_50, 0, x_48); +lean_ctor_set(x_50, 1, x_49); +return x_50; +} +} +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_51 = lean_ctor_get(x_32, 0); +lean_inc(x_51); +lean_dec(x_32); +x_52 = lean_apply_2(x_4, x_27, x_51); +x_53 = lean_ctor_get(x_3, 1); +lean_inc(x_53); +lean_dec(x_3); +x_54 = lean_apply_7(x_53, x_52, x_6, x_7, x_8, x_9, x_10, x_36); +if (lean_obj_tag(x_54) == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_55 = lean_ctor_get(x_54, 0); +lean_inc(x_55); +x_56 = lean_ctor_get(x_54, 1); +lean_inc(x_56); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_57 = x_54; +} else { + lean_dec_ref(x_54); + x_57 = lean_box(0); +} +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_55); +if (lean_is_scalar(x_57)) { + x_59 = lean_alloc_ctor(0, 2, 0); +} else { + x_59 = x_57; +} +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_56); +return x_59; +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_60 = lean_ctor_get(x_54, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_54, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_54)) { + lean_ctor_release(x_54, 0); + lean_ctor_release(x_54, 1); + x_62 = x_54; +} else { + lean_dec_ref(x_54); + x_62 = lean_box(0); +} +if (lean_is_scalar(x_62)) { + x_63 = lean_alloc_ctor(1, 2, 0); +} else { + x_63 = x_62; +} +lean_ctor_set(x_63, 0, x_60); +lean_ctor_set(x_63, 1, x_61); +return x_63; +} +} +} +} +else +{ +uint8_t x_64; +lean_dec(x_27); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +x_64 = !lean_is_exclusive(x_31); +if (x_64 == 0) +{ +return x_31; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_31, 0); +x_66 = lean_ctor_get(x_31, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_31); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +} +else +{ +uint8_t x_68; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_68 = !lean_is_exclusive(x_21); +if (x_68 == 0) +{ +return x_21; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_21, 0); +x_70 = lean_ctor_get(x_21, 1); +lean_inc(x_70); +lean_inc(x_69); +lean_dec(x_21); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___rarg___boxed), 11, 0); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_5); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_12 = lean_array_get_size(x_4); +x_13 = lean_unsigned_to_nat(2u); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = lean_apply_7(x_11, x_15, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_fget(x_4, x_18); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_20 = lean_apply_6(x_17, x_19, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_11, x_23, x_5, x_6, x_7, x_8, x_9, x_22); +return x_24; +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_20); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_20, 1); +x_27 = lean_ctor_get(x_20, 0); +lean_dec(x_27); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_apply_2(x_2, x_29, x_3); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_free_object(x_21); +lean_free_object(x_20); +x_32 = lean_box(0); +x_33 = lean_apply_7(x_11, x_32, x_5, x_6, x_7, x_8, x_9, x_26); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_34 = lean_unsigned_to_nat(1u); +x_35 = lean_array_fget(x_4, x_34); +lean_ctor_set(x_21, 0, x_35); +return x_20; +} +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_21, 0); +lean_inc(x_36); +lean_dec(x_21); +x_37 = lean_apply_2(x_2, x_36, x_3); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_free_object(x_20); +x_39 = lean_box(0); +x_40 = lean_apply_7(x_11, x_39, x_5, x_6, x_7, x_8, x_9, x_26); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_41 = lean_unsigned_to_nat(1u); +x_42 = lean_array_fget(x_4, x_41); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_20, 0, x_43); +return x_20; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_44 = lean_ctor_get(x_20, 1); +lean_inc(x_44); +lean_dec(x_20); +x_45 = lean_ctor_get(x_21, 0); +lean_inc(x_45); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + x_46 = x_21; +} else { + lean_dec_ref(x_21); + x_46 = lean_box(0); +} +x_47 = lean_apply_2(x_2, x_45, x_3); +x_48 = lean_unbox(x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_46); +x_49 = lean_box(0); +x_50 = lean_apply_7(x_11, x_49, x_5, x_6, x_7, x_8, x_9, x_44); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_51 = lean_unsigned_to_nat(1u); +x_52 = lean_array_fget(x_4, x_51); +if (lean_is_scalar(x_46)) { + x_53 = lean_alloc_ctor(1, 1, 0); +} else { + x_53 = x_46; +} +lean_ctor_set(x_53, 0, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_44); +return x_54; +} +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_55 = !lean_is_exclusive(x_20); +if (x_55 == 0) +{ +return x_20; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_20); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___rarg___boxed), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_12 = lean_array_get_size(x_4); +x_13 = lean_unsigned_to_nat(2u); +x_14 = lean_nat_dec_eq(x_12, x_13); +lean_dec(x_12); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = lean_apply_7(x_11, x_15, x_5, x_6, x_7, x_8, x_9, x_10); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_array_fget(x_4, x_18); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_20 = lean_apply_6(x_17, x_19, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +lean_dec(x_3); +lean_dec(x_2); +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_11, x_23, x_5, x_6, x_7, x_8, x_9, x_22); +return x_24; +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_20); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_20, 1); +x_27 = lean_ctor_get(x_20, 0); +lean_dec(x_27); +x_28 = !lean_is_exclusive(x_21); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; uint8_t x_31; +x_29 = lean_ctor_get(x_21, 0); +x_30 = lean_apply_2(x_2, x_29, x_3); +x_31 = lean_unbox(x_30); +lean_dec(x_30); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +lean_free_object(x_21); +lean_free_object(x_20); +x_32 = lean_box(0); +x_33 = lean_apply_7(x_11, x_32, x_5, x_6, x_7, x_8, x_9, x_26); +return x_33; +} +else +{ +lean_object* x_34; lean_object* x_35; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_34 = lean_unsigned_to_nat(0u); +x_35 = lean_array_fget(x_4, x_34); +lean_ctor_set(x_21, 0, x_35); +return x_20; +} +} +else +{ +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = lean_ctor_get(x_21, 0); +lean_inc(x_36); +lean_dec(x_21); +x_37 = lean_apply_2(x_2, x_36, x_3); +x_38 = lean_unbox(x_37); +lean_dec(x_37); +if (x_38 == 0) +{ +lean_object* x_39; lean_object* x_40; +lean_free_object(x_20); +x_39 = lean_box(0); +x_40 = lean_apply_7(x_11, x_39, x_5, x_6, x_7, x_8, x_9, x_26); +return x_40; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_41 = lean_unsigned_to_nat(0u); +x_42 = lean_array_fget(x_4, x_41); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_20, 0, x_43); +return x_20; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_44 = lean_ctor_get(x_20, 1); +lean_inc(x_44); +lean_dec(x_20); +x_45 = lean_ctor_get(x_21, 0); +lean_inc(x_45); +if (lean_is_exclusive(x_21)) { + lean_ctor_release(x_21, 0); + x_46 = x_21; +} else { + lean_dec_ref(x_21); + x_46 = lean_box(0); +} +x_47 = lean_apply_2(x_2, x_45, x_3); +x_48 = lean_unbox(x_47); +lean_dec(x_47); +if (x_48 == 0) +{ +lean_object* x_49; lean_object* x_50; +lean_dec(x_46); +x_49 = lean_box(0); +x_50 = lean_apply_7(x_11, x_49, x_5, x_6, x_7, x_8, x_9, x_44); +return x_50; +} +else +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_51 = lean_unsigned_to_nat(0u); +x_52 = lean_array_fget(x_4, x_51); +if (lean_is_scalar(x_46)) { + x_53 = lean_alloc_ctor(1, 1, 0); +} else { + x_53 = x_46; +} +lean_ctor_set(x_53, 0, x_52); +x_54 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_44); +return x_54; +} +} +} +} +else +{ +uint8_t x_55; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_2); +x_55 = !lean_is_exclusive(x_20); +if (x_55 == 0) +{ +return x_20; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_20, 0); +x_57 = lean_ctor_get(x_20, 1); +lean_inc(x_57); +lean_inc(x_56); +lean_dec(x_20); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___rarg___boxed), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_4); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_13 = lean_array_get_size(x_5); +x_14 = lean_unsigned_to_nat(2u); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_box(0); +x_17 = lean_apply_7(x_12, x_16, x_6, x_7, x_8, x_9, x_10, x_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_array_fget(x_5, x_19); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_21 = lean_apply_6(x_18, x_20, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_21) == 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_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(0); +x_25 = lean_apply_7(x_12, x_24, x_6, x_7, x_8, x_9, x_10, x_23); +return x_25; +} +else +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_22, 0); +x_29 = lean_apply_2(x_2, x_28, x_3); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_22); +lean_dec(x_4); +lean_dec(x_1); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_12, x_31, x_6, x_7, x_8, x_9, x_10, x_26); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_1, 1); +lean_inc(x_33); +lean_dec(x_1); +x_34 = lean_apply_7(x_33, x_4, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_22, 0, x_36); +lean_ctor_set(x_34, 0, x_22); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_22, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_22); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_22, 0); +lean_inc(x_44); +lean_dec(x_22); +x_45 = lean_apply_2(x_2, x_44, x_3); +x_46 = lean_unbox(x_45); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_4); +lean_dec(x_1); +x_47 = lean_box(0); +x_48 = lean_apply_7(x_12, x_47, x_6, x_7, x_8, x_9, x_10, x_26); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_1, 1); +lean_inc(x_49); +lean_dec(x_1); +x_50 = lean_apply_7(x_49, x_4, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_51); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_50, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_58 = x_50; +} else { + lean_dec_ref(x_50); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_21); +if (x_60 == 0) +{ +return x_21; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_21, 0); +x_62 = lean_ctor_get(x_21, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_21); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___rarg___boxed), 11, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_5); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_13 = lean_array_get_size(x_5); +x_14 = lean_unsigned_to_nat(2u); +x_15 = lean_nat_dec_eq(x_13, x_14); +lean_dec(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_16 = lean_box(0); +x_17 = lean_apply_7(x_12, x_16, x_6, x_7, x_8, x_9, x_10, x_11); +return x_17; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_1, 0); +lean_inc(x_18); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_array_fget(x_5, x_19); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_21 = lean_apply_6(x_18, x_20, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_21) == 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_object* x_23; lean_object* x_24; lean_object* x_25; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_box(0); +x_25 = lean_apply_7(x_12, x_24, x_6, x_7, x_8, x_9, x_10, x_23); +return x_25; +} +else +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_dec(x_21); +x_27 = !lean_is_exclusive(x_22); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_22, 0); +x_29 = lean_apply_2(x_2, x_28, x_3); +x_30 = lean_unbox(x_29); +lean_dec(x_29); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_22); +lean_dec(x_4); +lean_dec(x_1); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_12, x_31, x_6, x_7, x_8, x_9, x_10, x_26); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_1, 1); +lean_inc(x_33); +lean_dec(x_1); +x_34 = lean_apply_7(x_33, x_4, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_22, 0, x_36); +lean_ctor_set(x_34, 0, x_22); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_22, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_22); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_22, 0); +lean_inc(x_44); +lean_dec(x_22); +x_45 = lean_apply_2(x_2, x_44, x_3); +x_46 = lean_unbox(x_45); +lean_dec(x_45); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +lean_dec(x_4); +lean_dec(x_1); +x_47 = lean_box(0); +x_48 = lean_apply_7(x_12, x_47, x_6, x_7, x_8, x_9, x_10, x_26); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; +x_49 = lean_ctor_get(x_1, 1); +lean_inc(x_49); +lean_dec(x_1); +x_50 = lean_apply_7(x_49, x_4, x_6, x_7, x_8, x_9, x_10, x_26); +if (lean_obj_tag(x_50) == 0) +{ +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_51 = lean_ctor_get(x_50, 0); +lean_inc(x_51); +x_52 = lean_ctor_get(x_50, 1); +lean_inc(x_52); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_53 = x_50; +} else { + lean_dec_ref(x_50); + x_53 = lean_box(0); +} +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_51); +if (lean_is_scalar(x_53)) { + x_55 = lean_alloc_ctor(0, 2, 0); +} else { + x_55 = x_53; +} +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_52); +return x_55; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_50, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_50, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_50)) { + lean_ctor_release(x_50, 0); + lean_ctor_release(x_50, 1); + x_58 = x_50; +} else { + lean_dec_ref(x_50); + x_58 = lean_box(0); +} +if (lean_is_scalar(x_58)) { + x_59 = lean_alloc_ctor(1, 2, 0); +} else { + x_59 = x_58; +} +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_57); +return x_59; +} +} +} +} +} +else +{ +uint8_t x_60; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_60 = !lean_is_exclusive(x_21); +if (x_60 == 0) +{ +return x_21; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_21, 0); +x_62 = lean_ctor_get(x_21, 1); +lean_inc(x_62); +lean_inc(x_61); +lean_dec(x_21); +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___rarg___boxed), 11, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_5); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +uint8_t x_14; +x_14 = lean_usize_dec_lt(x_6, x_5); +if (x_14 == 0) +{ +lean_object* x_15; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_7); +lean_ctor_set(x_15, 1, x_13); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; +lean_dec(x_7); +x_16 = lean_array_uget(x_4, x_6); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_1); +x_17 = lean_apply_7(x_16, x_1, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; +x_18 = lean_ctor_get(x_17, 0); +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; size_t x_24; size_t x_25; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_st_ref_get(x_12, x_19); +x_21 = lean_ctor_get(x_20, 1); +lean_inc(x_21); +lean_dec(x_20); +lean_inc(x_2); +x_22 = lean_st_ref_set(x_8, x_2, x_21); +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = 1; +x_25 = lean_usize_add(x_6, x_24); +lean_inc(x_3); +{ +size_t _tmp_5 = x_25; +lean_object* _tmp_6 = x_3; +lean_object* _tmp_12 = x_23; +x_6 = _tmp_5; +x_7 = _tmp_6; +x_13 = _tmp_12; +} +goto _start; +} +else +{ +uint8_t x_27; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_27 = !lean_is_exclusive(x_17); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = lean_ctor_get(x_17, 0); +lean_dec(x_28); +x_29 = !lean_is_exclusive(x_18); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_18); +x_31 = lean_box(0); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_17, 0, x_32); +return x_17; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = lean_ctor_get(x_18, 0); +lean_inc(x_33); +lean_dec(x_18); +x_34 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_34, 0, x_33); +x_35 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_35, 0, x_34); +x_36 = lean_box(0); +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +lean_ctor_set(x_17, 0, x_37); +return x_17; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_38 = lean_ctor_get(x_17, 1); +lean_inc(x_38); +lean_dec(x_17); +x_39 = lean_ctor_get(x_18, 0); +lean_inc(x_39); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_40 = x_18; +} else { + lean_dec_ref(x_18); + x_40 = lean_box(0); +} +if (lean_is_scalar(x_40)) { + x_41 = lean_alloc_ctor(1, 1, 0); +} else { + x_41 = x_40; +} +lean_ctor_set(x_41, 0, x_39); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_box(0); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_38); +return x_45; +} +} +} +else +{ +uint8_t x_46; +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_46 = !lean_is_exclusive(x_17); +if (x_46 == 0) +{ +return x_17; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_17, 0); +x_48 = lean_ctor_get(x_17, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_17); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_1); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; +x_9 = lean_st_ref_get(x_7, x_8); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +x_11 = lean_st_ref_get(x_3, x_10); +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_box(0); +x_15 = lean_array_get_size(x_1); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___closed__1; +x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___spec__1(x_2, x_12, x_18, x_1, x_16, x_17, x_18, x_3, x_4, x_5, x_6, x_7, x_13); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_20, 0); +lean_inc(x_21); +lean_dec(x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_19); +if (x_22 == 0) +{ +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +lean_ctor_set(x_19, 0, x_14); +return x_19; +} +else +{ +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_14); +lean_ctor_set(x_25, 1, x_24); +return x_25; +} +} +else +{ +uint8_t x_26; +x_26 = !lean_is_exclusive(x_19); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_19, 0); +lean_dec(x_27); +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec(x_21); +lean_ctor_set(x_19, 0, x_28); +return x_19; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_19, 1); +lean_inc(x_29); +lean_dec(x_19); +x_30 = lean_ctor_get(x_21, 0); +lean_inc(x_30); +lean_dec(x_21); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +return x_31; +} +} +} +else +{ +uint8_t x_32; +x_32 = !lean_is_exclusive(x_19); +if (x_32 == 0) +{ +return x_19; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_19, 0); +x_34 = lean_ctor_get(x_19, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_19); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +return x_35; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +_start: +{ +size_t x_14; size_t x_15; lean_object* x_16; +x_14 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_15 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___spec__1(x_1, x_2, x_3, x_4, x_14, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +lean_dec(x_4); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_1); +return x_9; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_11 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___rarg___boxed), 10, 3); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_2); +lean_closure_set(x_11, 2, x_3); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___rarg___boxed), 10, 3); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_2); +lean_closure_set(x_12, 2, x_3); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_14 = lean_array_push(x_13, x_11); +x_15 = lean_array_push(x_14, x_12); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_15, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg), 10, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +lean_inc(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___rarg___boxed), 11, 4); +lean_closure_set(x_12, 0, x_1); +lean_closure_set(x_12, 1, x_2); +lean_closure_set(x_12, 2, x_3); +lean_closure_set(x_12, 3, x_4); +x_13 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___rarg___boxed), 11, 4); +lean_closure_set(x_13, 0, x_1); +lean_closure_set(x_13, 1, x_2); +lean_closure_set(x_13, 2, x_3); +lean_closure_set(x_13, 3, x_4); +x_14 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_15 = lean_array_push(x_14, x_12); +x_16 = lean_array_push(x_15, x_13); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_16); +return x_17; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___rarg), 11, 0); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("toArray", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___boxed), 7, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___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; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__4; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__5; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_apply_1(x_1, x_24); +x_26 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_25, x_3, x_4, x_5, x_6, x_7, x_22); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_ctor_set(x_18, 0, x_28); +lean_ctor_set(x_26, 0, x_18); +return x_26; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_26, 0); +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_26); +lean_ctor_set(x_18, 0, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_18); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +lean_dec(x_18); +x_33 = lean_apply_1(x_1, x_32); +x_34 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_33, x_3, x_4, x_5, x_6, x_7, x_22); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_37 = x_34; +} else { + lean_dec_ref(x_34); + x_37 = lean_box(0); +} +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_35); +if (lean_is_scalar(x_37)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_37; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_36); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_array_fget(x_2, x_24); +x_26 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_25, x_4, x_5, x_6, x_7, x_22); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_23); +lean_dec(x_1); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_box(0); +x_30 = lean_apply_7(x_9, x_29, x_3, x_4, x_5, x_6, x_7, x_28); +return x_30; +} +else +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = !lean_is_exclusive(x_27); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_apply_2(x_1, x_23, x_33); +x_35 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_34, x_3, x_4, x_5, x_6, x_7, x_31); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_ctor_set(x_27, 0, x_37); +lean_ctor_set(x_35, 0, x_27); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_35, 0); +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_35); +lean_ctor_set(x_27, 0, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_27); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get(x_27, 0); +lean_inc(x_41); +lean_dec(x_27); +x_42 = lean_apply_2(x_1, x_23, x_41); +x_43 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_42, x_3, x_4, x_5, x_6, x_7, x_31); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_44); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_17, 1); +x_24 = lean_ctor_get(x_17, 0); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_nat_dec_eq(x_26, x_1); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_free_object(x_18); +lean_free_object(x_17); +x_28 = lean_box(0); +x_29 = lean_apply_7(x_9, x_28, x_3, x_4, x_5, x_6, x_7, x_23); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_array_fget(x_2, x_30); +lean_ctor_set(x_18, 0, x_31); +return x_17; +} +} +else +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +lean_dec(x_18); +x_33 = lean_nat_dec_eq(x_32, x_1); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_free_object(x_17); +x_34 = lean_box(0); +x_35 = lean_apply_7(x_9, x_34, x_3, x_4, x_5, x_6, x_7, x_23); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_array_fget(x_2, x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_17, 0, x_38); +return x_17; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); +lean_dec(x_17); +x_40 = lean_ctor_get(x_18, 0); +lean_inc(x_40); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_41 = x_18; +} else { + lean_dec_ref(x_18); + x_41 = lean_box(0); +} +x_42 = lean_nat_dec_eq(x_40, x_1); +lean_dec(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_41); +x_43 = lean_box(0); +x_44 = lean_apply_7(x_9, x_43, x_3, x_4, x_5, x_6, x_7, x_39); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = lean_unsigned_to_nat(1u); +x_46 = lean_array_fget(x_2, x_45); +if (lean_is_scalar(x_41)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_41; +} +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_39); +return x_48; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_17, 1); +x_24 = lean_ctor_get(x_17, 0); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_nat_dec_eq(x_26, x_1); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_free_object(x_18); +lean_free_object(x_17); +x_28 = lean_box(0); +x_29 = lean_apply_7(x_9, x_28, x_3, x_4, x_5, x_6, x_7, x_23); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_30 = lean_unsigned_to_nat(0u); +x_31 = lean_array_fget(x_2, x_30); +lean_ctor_set(x_18, 0, x_31); +return x_17; +} +} +else +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +lean_dec(x_18); +x_33 = lean_nat_dec_eq(x_32, x_1); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_free_object(x_17); +x_34 = lean_box(0); +x_35 = lean_apply_7(x_9, x_34, x_3, x_4, x_5, x_6, x_7, x_23); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_array_fget(x_2, x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_17, 0, x_38); +return x_17; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); +lean_dec(x_17); +x_40 = lean_ctor_get(x_18, 0); +lean_inc(x_40); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_41 = x_18; +} else { + lean_dec_ref(x_18); + x_41 = lean_box(0); +} +x_42 = lean_nat_dec_eq(x_40, x_1); +lean_dec(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_41); +x_43 = lean_box(0); +x_44 = lean_apply_7(x_9, x_43, x_3, x_4, x_5, x_6, x_7, x_39); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = lean_unsigned_to_nat(0u); +x_46 = lean_array_fget(x_2, x_45); +if (lean_is_scalar(x_41)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_41; +} +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_39); +return x_48; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_9 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__4___boxed), 8, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__5___boxed), 8, 1); +lean_closure_set(x_10, 0, x_1); +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_12 = lean_array_push(x_11, x_9); +x_13 = lean_array_push(x_12, x_10); +x_14 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_16); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_16); +lean_dec(x_1); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_array_fget(x_2, x_26); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_28 = lean_apply_6(x_16, x_27, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_25); +lean_dec(x_1); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_30); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_apply_2(x_1, x_25, x_35); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +x_39 = lean_box(x_37); +x_40 = lean_apply_7(x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_40) == 0) +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); +lean_ctor_set(x_29, 0, x_42); +lean_ctor_set(x_40, 0, x_29); +return x_40; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_40, 0); +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_40); +lean_ctor_set(x_29, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_29); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_free_object(x_29); +x_46 = !lean_is_exclusive(x_40); +if (x_46 == 0) +{ +return x_40; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_40, 0); +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_40); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_50 = lean_ctor_get(x_29, 0); +lean_inc(x_50); +lean_dec(x_29); +x_51 = lean_apply_2(x_1, x_25, x_50); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +x_53 = lean_ctor_get(x_15, 1); +lean_inc(x_53); +x_54 = lean_box(x_52); +x_55 = lean_apply_7(x_53, x_54, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_56); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_55, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_63 = x_55; +} else { + lean_dec_ref(x_55); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_25); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_28); +if (x_65 == 0) +{ +return x_28; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_28, 0); +x_67 = lean_ctor_get(x_28, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_28); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_16); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_19); +if (x_69 == 0) +{ +return x_19; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_19, 0); +x_71 = lean_ctor_get(x_19, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_19); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__8(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox(x_28); +lean_dec(x_28); +x_30 = lean_uint8_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint8_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox(x_35); +lean_dec(x_35); +x_37 = lean_uint8_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_47 = lean_uint8_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__9(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox(x_28); +lean_dec(x_28); +x_30 = lean_uint8_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(0u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint8_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox(x_35); +lean_dec(x_35); +x_37 = lean_uint8_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(0u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_47 = lean_uint8_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__7(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_box(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__8___boxed), 8, 1); +lean_closure_set(x_10, 0, x_9); +x_11 = lean_box(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__9___boxed), 8, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_14 = lean_array_push(x_13, x_10); +x_15 = lean_array_push(x_14, x_12); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_16); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_16); +lean_dec(x_1); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_array_fget(x_2, x_26); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_28 = lean_apply_6(x_16, x_27, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_25); +lean_dec(x_1); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_30); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint16_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_apply_2(x_1, x_25, x_35); +x_37 = lean_unbox(x_36); +lean_dec(x_36); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +x_39 = lean_box(x_37); +x_40 = lean_apply_7(x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_40) == 0) +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); +lean_ctor_set(x_29, 0, x_42); +lean_ctor_set(x_40, 0, x_29); +return x_40; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_40, 0); +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_40); +lean_ctor_set(x_29, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_29); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_free_object(x_29); +x_46 = !lean_is_exclusive(x_40); +if (x_46 == 0) +{ +return x_40; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_40, 0); +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_40); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; uint16_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_50 = lean_ctor_get(x_29, 0); +lean_inc(x_50); +lean_dec(x_29); +x_51 = lean_apply_2(x_1, x_25, x_50); +x_52 = lean_unbox(x_51); +lean_dec(x_51); +x_53 = lean_ctor_get(x_15, 1); +lean_inc(x_53); +x_54 = lean_box(x_52); +x_55 = lean_apply_7(x_53, x_54, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_56); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_55, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_63 = x_55; +} else { + lean_dec_ref(x_55); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_25); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_28); +if (x_65 == 0) +{ +return x_28; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_28, 0); +x_67 = lean_ctor_get(x_28, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_28); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_16); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_19); +if (x_69 == 0) +{ +return x_19; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_19, 0); +x_71 = lean_ctor_get(x_19, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_19); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__12(uint16_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint16_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox(x_28); +lean_dec(x_28); +x_30 = lean_uint16_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint16_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox(x_35); +lean_dec(x_35); +x_37 = lean_uint16_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint16_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_47 = lean_uint16_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__13(uint16_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint16_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox(x_28); +lean_dec(x_28); +x_30 = lean_uint16_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(0u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint16_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox(x_35); +lean_dec(x_35); +x_37 = lean_uint16_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(0u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint16_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox(x_44); +lean_dec(x_44); +x_47 = lean_uint16_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__11(uint16_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_box(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__12___boxed), 8, 1); +lean_closure_set(x_10, 0, x_9); +x_11 = lean_box(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__13___boxed), 8, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_14 = lean_array_push(x_13, x_10); +x_15 = lean_array_push(x_14, x_12); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_16); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_16); +lean_dec(x_1); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_array_fget(x_2, x_26); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_28 = lean_apply_6(x_16, x_27, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_25); +lean_dec(x_1); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_30); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint32_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_apply_2(x_1, x_25, x_35); +x_37 = lean_unbox_uint32(x_36); +lean_dec(x_36); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +x_39 = lean_box_uint32(x_37); +x_40 = lean_apply_7(x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_40) == 0) +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); +lean_ctor_set(x_29, 0, x_42); +lean_ctor_set(x_40, 0, x_29); +return x_40; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_40, 0); +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_40); +lean_ctor_set(x_29, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_29); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_free_object(x_29); +x_46 = !lean_is_exclusive(x_40); +if (x_46 == 0) +{ +return x_40; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_40, 0); +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_40); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; uint32_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_50 = lean_ctor_get(x_29, 0); +lean_inc(x_50); +lean_dec(x_29); +x_51 = lean_apply_2(x_1, x_25, x_50); +x_52 = lean_unbox_uint32(x_51); +lean_dec(x_51); +x_53 = lean_ctor_get(x_15, 1); +lean_inc(x_53); +x_54 = lean_box_uint32(x_52); +x_55 = lean_apply_7(x_53, x_54, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_56); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_55, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_63 = x_55; +} else { + lean_dec_ref(x_55); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_25); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_28); +if (x_65 == 0) +{ +return x_28; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_28, 0); +x_67 = lean_ctor_get(x_28, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_28); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_16); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_19); +if (x_69 == 0) +{ +return x_19; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_19, 0); +x_71 = lean_ctor_get(x_19, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_19); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__16(uint32_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint32_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox_uint32(x_28); +lean_dec(x_28); +x_30 = lean_uint32_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint32_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox_uint32(x_35); +lean_dec(x_35); +x_37 = lean_uint32_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint32_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox_uint32(x_44); +lean_dec(x_44); +x_47 = lean_uint32_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__17(uint32_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint32_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox_uint32(x_28); +lean_dec(x_28); +x_30 = lean_uint32_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(0u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint32_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox_uint32(x_35); +lean_dec(x_35); +x_37 = lean_uint32_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(0u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint32_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox_uint32(x_44); +lean_dec(x_44); +x_47 = lean_uint32_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__15(uint32_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_box_uint32(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__16___boxed), 8, 1); +lean_closure_set(x_10, 0, x_9); +x_11 = lean_box_uint32(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__17___boxed), 8, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_14 = lean_array_push(x_13, x_10); +x_15 = lean_array_push(x_14, x_12); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_16); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_16); +lean_dec(x_1); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_ctor_get(x_20, 0); +lean_inc(x_25); +lean_dec(x_20); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_array_fget(x_2, x_26); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_28 = lean_apply_6(x_16, x_27, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_25); +lean_dec(x_1); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_30); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; uint64_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_apply_2(x_1, x_25, x_35); +x_37 = lean_unbox_uint64(x_36); +lean_dec(x_36); +x_38 = lean_ctor_get(x_15, 1); +lean_inc(x_38); +x_39 = lean_box_uint64(x_37); +x_40 = lean_apply_7(x_38, x_39, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_40) == 0) +{ +uint8_t x_41; +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; +x_42 = lean_ctor_get(x_40, 0); +lean_ctor_set(x_29, 0, x_42); +lean_ctor_set(x_40, 0, x_29); +return x_40; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_40, 0); +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_inc(x_43); +lean_dec(x_40); +lean_ctor_set(x_29, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_29); +lean_ctor_set(x_45, 1, x_44); +return x_45; +} +} +else +{ +uint8_t x_46; +lean_free_object(x_29); +x_46 = !lean_is_exclusive(x_40); +if (x_46 == 0) +{ +return x_40; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_40, 0); +x_48 = lean_ctor_get(x_40, 1); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_40); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; +} +} +} +else +{ +lean_object* x_50; lean_object* x_51; uint64_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_50 = lean_ctor_get(x_29, 0); +lean_inc(x_50); +lean_dec(x_29); +x_51 = lean_apply_2(x_1, x_25, x_50); +x_52 = lean_unbox_uint64(x_51); +lean_dec(x_51); +x_53 = lean_ctor_get(x_15, 1); +lean_inc(x_53); +x_54 = lean_box_uint64(x_52); +x_55 = lean_apply_7(x_53, x_54, x_3, x_4, x_5, x_6, x_7, x_33); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_59, 0, x_56); +if (lean_is_scalar(x_58)) { + x_60 = lean_alloc_ctor(0, 2, 0); +} else { + x_60 = x_58; +} +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_57); +return x_60; +} +else +{ +lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_61 = lean_ctor_get(x_55, 0); +lean_inc(x_61); +x_62 = lean_ctor_get(x_55, 1); +lean_inc(x_62); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_63 = x_55; +} else { + lean_dec_ref(x_55); + x_63 = lean_box(0); +} +if (lean_is_scalar(x_63)) { + x_64 = lean_alloc_ctor(1, 2, 0); +} else { + x_64 = x_63; +} +lean_ctor_set(x_64, 0, x_61); +lean_ctor_set(x_64, 1, x_62); +return x_64; +} +} +} +} +else +{ +uint8_t x_65; +lean_dec(x_25); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_65 = !lean_is_exclusive(x_28); +if (x_65 == 0) +{ +return x_28; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_66 = lean_ctor_get(x_28, 0); +x_67 = lean_ctor_get(x_28, 1); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_28); +x_68 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_68, 0, x_66); +lean_ctor_set(x_68, 1, x_67); +return x_68; +} +} +} +} +else +{ +uint8_t x_69; +lean_dec(x_16); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_69 = !lean_is_exclusive(x_19); +if (x_69 == 0) +{ +return x_19; +} +else +{ +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_19, 0); +x_71 = lean_ctor_get(x_19, 1); +lean_inc(x_71); +lean_inc(x_70); +lean_dec(x_19); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__20(uint64_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(0u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint64_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox_uint64(x_28); +lean_dec(x_28); +x_30 = lean_uint64_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(1u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint64_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox_uint64(x_35); +lean_dec(x_35); +x_37 = lean_uint64_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint64_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox_uint64(x_44); +lean_dec(x_44); +x_47 = lean_uint64_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(1u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__21(uint64_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_unsigned_to_nat(1u); +x_18 = lean_array_fget(x_2, x_17); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_19 = lean_apply_6(x_16, x_18, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_apply_7(x_9, x_22, x_3, x_4, x_5, x_6, x_7, x_21); +return x_23; +} +else +{ +uint8_t x_24; +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_19, 1); +x_26 = lean_ctor_get(x_19, 0); +lean_dec(x_26); +x_27 = !lean_is_exclusive(x_20); +if (x_27 == 0) +{ +lean_object* x_28; uint64_t x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_20, 0); +x_29 = lean_unbox_uint64(x_28); +lean_dec(x_28); +x_30 = lean_uint64_dec_eq(x_29, x_1); +if (x_30 == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_free_object(x_20); +lean_free_object(x_19); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_25); +return x_32; +} +else +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_33 = lean_unsigned_to_nat(0u); +x_34 = lean_array_fget(x_2, x_33); +lean_ctor_set(x_20, 0, x_34); +return x_19; +} +} +else +{ +lean_object* x_35; uint64_t x_36; uint8_t x_37; +x_35 = lean_ctor_get(x_20, 0); +lean_inc(x_35); +lean_dec(x_20); +x_36 = lean_unbox_uint64(x_35); +lean_dec(x_35); +x_37 = lean_uint64_dec_eq(x_36, x_1); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; +lean_free_object(x_19); +x_38 = lean_box(0); +x_39 = lean_apply_7(x_9, x_38, x_3, x_4, x_5, x_6, x_7, x_25); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_40 = lean_unsigned_to_nat(0u); +x_41 = lean_array_fget(x_2, x_40); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_19, 0, x_42); +return x_19; +} +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint64_t x_46; uint8_t x_47; +x_43 = lean_ctor_get(x_19, 1); +lean_inc(x_43); +lean_dec(x_19); +x_44 = lean_ctor_get(x_20, 0); +lean_inc(x_44); +if (lean_is_exclusive(x_20)) { + lean_ctor_release(x_20, 0); + x_45 = x_20; +} else { + lean_dec_ref(x_20); + x_45 = lean_box(0); +} +x_46 = lean_unbox_uint64(x_44); +lean_dec(x_44); +x_47 = lean_uint64_dec_eq(x_46, x_1); +if (x_47 == 0) +{ +lean_object* x_48; lean_object* x_49; +lean_dec(x_45); +x_48 = lean_box(0); +x_49 = lean_apply_7(x_9, x_48, x_3, x_4, x_5, x_6, x_7, x_43); +return x_49; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_50 = lean_unsigned_to_nat(0u); +x_51 = lean_array_fget(x_2, x_50); +if (lean_is_scalar(x_45)) { + x_52 = lean_alloc_ctor(1, 1, 0); +} else { + x_52 = x_45; +} +lean_ctor_set(x_52, 0, x_51); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_53, 1, x_43); +return x_53; +} +} +} +} +else +{ +uint8_t x_54; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_54 = !lean_is_exclusive(x_19); +if (x_54 == 0) +{ +return x_19; +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_19, 0); +x_56 = lean_ctor_get(x_19, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_19); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__19(uint64_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_9 = lean_box_uint64(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__20___boxed), 8, 1); +lean_closure_set(x_10, 0, x_9); +x_11 = lean_box_uint64(x_1); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__21___boxed), 8, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_14 = lean_array_push(x_13, x_10); +x_15 = lean_array_push(x_14, x_12); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__23(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_2); +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_fget(x_3, x_16); +x_18 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_17, x_5, x_6, x_7, x_8, x_9); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_2); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_box(0); +x_22 = lean_apply_7(x_10, x_21, x_4, x_5, x_6, x_7, x_8, x_20); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_nat_dec_eq(x_25, x_1); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_free_object(x_19); +lean_dec(x_2); +x_27 = lean_box(0); +x_28 = lean_apply_7(x_10, x_27, x_4, x_5, x_6, x_7, x_8, x_23); +return x_28; +} +else +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_2, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 0); +lean_ctor_set(x_19, 0, x_31); +lean_ctor_set(x_29, 0, x_19); +return x_29; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_29, 0); +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_29); +lean_ctor_set(x_19, 0, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_19, 0); +lean_inc(x_35); +lean_dec(x_19); +x_36 = lean_nat_dec_eq(x_35, x_1); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_2); +x_37 = lean_box(0); +x_38 = lean_apply_7(x_10, x_37, x_4, x_5, x_6, x_7, x_8, x_23); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_39 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_2, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_42 = x_39; +} else { + lean_dec_ref(x_39); + x_42 = lean_box(0); +} +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_40); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_42; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_41); +return x_44; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__24(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +lean_dec(x_2); +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_unsigned_to_nat(1u); +x_17 = lean_array_fget(x_3, x_16); +x_18 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getNatLit(x_17, x_5, x_6, x_7, x_8, x_9); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +if (lean_obj_tag(x_19) == 0) +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_2); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_box(0); +x_22 = lean_apply_7(x_10, x_21, x_4, x_5, x_6, x_7, x_8, x_20); +return x_22; +} +else +{ +lean_object* x_23; uint8_t x_24; +x_23 = lean_ctor_get(x_18, 1); +lean_inc(x_23); +lean_dec(x_18); +x_24 = !lean_is_exclusive(x_19); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_19, 0); +x_26 = lean_nat_dec_eq(x_25, x_1); +lean_dec(x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; +lean_free_object(x_19); +lean_dec(x_2); +x_27 = lean_box(0); +x_28 = lean_apply_7(x_10, x_27, x_4, x_5, x_6, x_7, x_8, x_23); +return x_28; +} +else +{ +lean_object* x_29; uint8_t x_30; +x_29 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_2, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_30 = !lean_is_exclusive(x_29); +if (x_30 == 0) +{ +lean_object* x_31; +x_31 = lean_ctor_get(x_29, 0); +lean_ctor_set(x_19, 0, x_31); +lean_ctor_set(x_29, 0, x_19); +return x_29; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_29, 0); +x_33 = lean_ctor_get(x_29, 1); +lean_inc(x_33); +lean_inc(x_32); +lean_dec(x_29); +lean_ctor_set(x_19, 0, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_19); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +} +else +{ +lean_object* x_35; uint8_t x_36; +x_35 = lean_ctor_get(x_19, 0); +lean_inc(x_35); +lean_dec(x_19); +x_36 = lean_nat_dec_eq(x_35, x_1); +lean_dec(x_35); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +lean_dec(x_2); +x_37 = lean_box(0); +x_38 = lean_apply_7(x_10, x_37, x_4, x_5, x_6, x_7, x_8, x_23); +return x_38; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_39 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_2, x_4, x_5, x_6, x_7, x_8, x_23); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_42 = x_39; +} else { + lean_dec_ref(x_39); + x_42 = lean_box(0); +} +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_40); +if (lean_is_scalar(x_42)) { + x_44 = lean_alloc_ctor(0, 2, 0); +} else { + x_44 = x_42; +} +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_41); +return x_44; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__22(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_inc(x_2); +lean_inc(x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__23___boxed), 9, 2); +lean_closure_set(x_10, 0, x_1); +lean_closure_set(x_10, 1, x_2); +x_11 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__24___boxed), 9, 2); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_13 = lean_array_push(x_12, x_10); +x_14 = lean_array_push(x_13, x_11); +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__26(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +x_29 = lean_uint8_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint8_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox(x_44); +lean_dec(x_44); +x_46 = lean_uint8_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__27(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint8_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +x_29 = lean_uint8_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint8_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox(x_44); +lean_dec(x_44); +x_46 = lean_uint8_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__25(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_10 = lean_box(x_1); +x_11 = lean_box(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__26___boxed), 9, 2); +lean_closure_set(x_12, 0, x_10); +lean_closure_set(x_12, 1, x_11); +x_13 = lean_box(x_1); +x_14 = lean_box(x_2); +x_15 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__27___boxed), 9, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_17 = lean_array_push(x_16, x_12); +x_18 = lean_array_push(x_17, x_15); +x_19 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_18); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__29(uint16_t x_1, uint16_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint16_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +x_29 = lean_uint16_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint16_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox(x_44); +lean_dec(x_44); +x_46 = lean_uint16_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__30(uint16_t x_1, uint16_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint16_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox(x_27); +lean_dec(x_27); +x_29 = lean_uint16_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint16_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox(x_44); +lean_dec(x_44); +x_46 = lean_uint16_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__28(uint16_t x_1, uint16_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_10 = lean_box(x_1); +x_11 = lean_box(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__29___boxed), 9, 2); +lean_closure_set(x_12, 0, x_10); +lean_closure_set(x_12, 1, x_11); +x_13 = lean_box(x_1); +x_14 = lean_box(x_2); +x_15 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__30___boxed), 9, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_17 = lean_array_push(x_16, x_12); +x_18 = lean_array_push(x_17, x_15); +x_19 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_18); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__32(uint32_t x_1, uint32_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint32_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox_uint32(x_27); +lean_dec(x_27); +x_29 = lean_uint32_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box_uint32(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint32_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox_uint32(x_44); +lean_dec(x_44); +x_46 = lean_uint32_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box_uint32(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__33(uint32_t x_1, uint32_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint32_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox_uint32(x_27); +lean_dec(x_27); +x_29 = lean_uint32_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box_uint32(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint32_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox_uint32(x_44); +lean_dec(x_44); +x_46 = lean_uint32_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box_uint32(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__31(uint32_t x_1, uint32_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_10 = lean_box_uint32(x_1); +x_11 = lean_box_uint32(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__32___boxed), 9, 2); +lean_closure_set(x_12, 0, x_10); +lean_closure_set(x_12, 1, x_11); +x_13 = lean_box_uint32(x_1); +x_14 = lean_box_uint32(x_2); +x_15 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__33___boxed), 9, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_17 = lean_array_push(x_16, x_12); +x_18 = lean_array_push(x_17, x_15); +x_19 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_18); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__35(uint64_t x_1, uint64_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(0u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint64_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox_uint64(x_27); +lean_dec(x_27); +x_29 = lean_uint64_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box_uint64(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint64_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox_uint64(x_44); +lean_dec(x_44); +x_46 = lean_uint64_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box_uint64(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__36(uint64_t x_1, uint64_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_11 = lean_array_get_size(x_3); +x_12 = lean_unsigned_to_nat(2u); +x_13 = lean_nat_dec_eq(x_11, x_12); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_box(0); +x_15 = lean_apply_7(x_10, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_array_fget(x_3, x_18); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +x_20 = lean_apply_6(x_17, x_19, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_20) == 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_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_20, 1); +lean_inc(x_22); +lean_dec(x_20); +x_23 = lean_box(0); +x_24 = lean_apply_7(x_10, x_23, x_4, x_5, x_6, x_7, x_8, x_22); +return x_24; +} +else +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_20, 1); +lean_inc(x_25); +lean_dec(x_20); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +lean_object* x_27; uint64_t x_28; uint8_t x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_unbox_uint64(x_27); +lean_dec(x_27); +x_29 = lean_uint64_dec_eq(x_28, x_1); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_free_object(x_21); +x_30 = lean_box(0); +x_31 = lean_apply_7(x_10, x_30, x_4, x_5, x_6, x_7, x_8, x_25); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_ctor_get(x_16, 1); +lean_inc(x_32); +x_33 = lean_box_uint64(x_2); +x_34 = lean_apply_7(x_32, x_33, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_34) == 0) +{ +uint8_t x_35; +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = lean_ctor_get(x_34, 0); +lean_ctor_set(x_21, 0, x_36); +lean_ctor_set(x_34, 0, x_21); +return x_34; +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_ctor_get(x_34, 1); +lean_inc(x_38); +lean_inc(x_37); +lean_dec(x_34); +lean_ctor_set(x_21, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_21); +lean_ctor_set(x_39, 1, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +lean_free_object(x_21); +x_40 = !lean_is_exclusive(x_34); +if (x_40 == 0) +{ +return x_34; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_34, 0); +x_42 = lean_ctor_get(x_34, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_34); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +} +else +{ +lean_object* x_44; uint64_t x_45; uint8_t x_46; +x_44 = lean_ctor_get(x_21, 0); +lean_inc(x_44); +lean_dec(x_21); +x_45 = lean_unbox_uint64(x_44); +lean_dec(x_44); +x_46 = lean_uint64_dec_eq(x_45, x_1); +if (x_46 == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_box(0); +x_48 = lean_apply_7(x_10, x_47, x_4, x_5, x_6, x_7, x_8, x_25); +return x_48; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_16, 1); +lean_inc(x_49); +x_50 = lean_box_uint64(x_2); +x_51 = lean_apply_7(x_49, x_50, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_51) == 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); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_54 = x_51; +} else { + lean_dec_ref(x_51); + x_54 = lean_box(0); +} +x_55 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_55, 0, x_52); +if (lean_is_scalar(x_54)) { + x_56 = lean_alloc_ctor(0, 2, 0); +} else { + x_56 = x_54; +} +lean_ctor_set(x_56, 0, x_55); +lean_ctor_set(x_56, 1, x_53); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_57 = lean_ctor_get(x_51, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_51, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_51)) { + lean_ctor_release(x_51, 0); + lean_ctor_release(x_51, 1); + x_59 = x_51; +} else { + lean_dec_ref(x_51); + x_59 = lean_box(0); +} +if (lean_is_scalar(x_59)) { + x_60 = lean_alloc_ctor(1, 2, 0); +} else { + x_60 = x_59; +} +lean_ctor_set(x_60, 0, x_57); +lean_ctor_set(x_60, 1, x_58); +return x_60; +} +} +} +} +} +else +{ +uint8_t x_61; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_61 = !lean_is_exclusive(x_20); +if (x_61 == 0) +{ +return x_20; +} +else +{ +lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_62 = lean_ctor_get(x_20, 0); +x_63 = lean_ctor_get(x_20, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_20); +x_64 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_64, 0, x_62); +lean_ctor_set(x_64, 1, x_63); +return x_64; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__34(uint64_t x_1, uint64_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_10 = lean_box_uint64(x_1); +x_11 = lean_box_uint64(x_2); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__35___boxed), 9, 2); +lean_closure_set(x_12, 0, x_10); +lean_closure_set(x_12, 1, x_11); +x_13 = lean_box_uint64(x_1); +x_14 = lean_box_uint64(x_2); +x_15 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__36___boxed), 9, 2); +lean_closure_set(x_15, 0, x_13); +lean_closure_set(x_15, 1, x_14); +x_16 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_17 = lean_array_push(x_16, x_12); +x_18 = lean_array_push(x_17, x_15); +x_19 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_18); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___lambda__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = lean_unsigned_to_nat(1u); +x_3 = lean_nat_add(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Nat", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("succ", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___lambda__1___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("add", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__8() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Nat_add___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__9() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__10() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt8_add___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt16_add___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt32_add___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__16() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt64_add___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("sub", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__19() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Nat_sub___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__20() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__21() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt8_sub___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__23() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt16_sub___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__24() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__25() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt32_sub___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__26() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__27() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt64_sub___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("mul", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Nat_mul___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(3u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__33() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt8_mul___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt16_mul___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__36() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__37() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt32_mul___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__38() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt64_mul___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("div", 3); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__41() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__42() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Nat_div___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__43() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__44() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt8_div___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__45() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt16_div___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt32_div___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__50() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_UInt64_div___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__1() { +_start: +{ +uint64_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_box_uint64(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__2() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3() { +_start: +{ +uint64_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_uint64(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4() { +_start: +{ +uint32_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_box_uint32(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 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; uint8_t 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; uint16_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 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; uint8_t x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint16_t x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; 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; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__1___boxed), 8, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__4; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__8; +x_6 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2___boxed), 8, 1); +lean_closure_set(x_6, 0, x_5); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__3), 8, 1); +lean_closure_set(x_8, 0, x_7); +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_10 = lean_array_push(x_9, x_6); +lean_inc(x_8); +x_11 = lean_array_push(x_10, x_8); +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__7; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__10; +x_16 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6___boxed), 8, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = 0; +x_18 = lean_box(x_17); +x_19 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__7___boxed), 8, 1); +lean_closure_set(x_19, 0, x_18); +x_20 = lean_array_push(x_9, x_16); +lean_inc(x_19); +x_21 = lean_array_push(x_20, x_19); +x_22 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_22, 0, x_21); +x_23 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__9; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__12; +x_26 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10___boxed), 8, 1); +lean_closure_set(x_26, 0, x_25); +x_27 = 0; +x_28 = lean_box(x_27); +x_29 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__11___boxed), 8, 1); +lean_closure_set(x_29, 0, x_28); +x_30 = lean_array_push(x_9, x_26); +lean_inc(x_29); +x_31 = lean_array_push(x_30, x_29); +x_32 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_32, 0, x_31); +x_33 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__11; +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__14; +x_36 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14___boxed), 8, 1); +lean_closure_set(x_36, 0, x_35); +x_37 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4; +x_38 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__15___boxed), 8, 1); +lean_closure_set(x_38, 0, x_37); +x_39 = lean_array_push(x_9, x_36); +lean_inc(x_38); +x_40 = lean_array_push(x_39, x_38); +x_41 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_41, 0, x_40); +x_42 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__13; +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_41); +x_44 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__16; +x_45 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18___boxed), 8, 1); +lean_closure_set(x_45, 0, x_44); +x_46 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3; +x_47 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__19___boxed), 8, 1); +lean_closure_set(x_47, 0, x_46); +x_48 = lean_array_push(x_9, x_45); +lean_inc(x_47); +x_49 = lean_array_push(x_48, x_47); +x_50 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_50, 0, x_49); +x_51 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__15; +x_52 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_52, 0, x_51); +lean_ctor_set(x_52, 1, x_50); +x_53 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__19; +x_54 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2___boxed), 8, 1); +lean_closure_set(x_54, 0, x_53); +x_55 = lean_array_push(x_9, x_54); +x_56 = lean_array_push(x_55, x_8); +x_57 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_57, 0, x_56); +x_58 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__18; +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_58); +lean_ctor_set(x_59, 1, x_57); +x_60 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__21; +x_61 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6___boxed), 8, 1); +lean_closure_set(x_61, 0, x_60); +x_62 = lean_array_push(x_9, x_61); +x_63 = lean_array_push(x_62, x_19); +x_64 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_64, 0, x_63); +x_65 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__20; +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_64); +x_67 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__23; +x_68 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10___boxed), 8, 1); +lean_closure_set(x_68, 0, x_67); +x_69 = lean_array_push(x_9, x_68); +x_70 = lean_array_push(x_69, x_29); +x_71 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_71, 0, x_70); +x_72 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__22; +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_72); +lean_ctor_set(x_73, 1, x_71); +x_74 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__25; +x_75 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14___boxed), 8, 1); +lean_closure_set(x_75, 0, x_74); +x_76 = lean_array_push(x_9, x_75); +x_77 = lean_array_push(x_76, x_38); +x_78 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_78, 0, x_77); +x_79 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__24; +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_78); +x_81 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__27; +x_82 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18___boxed), 8, 1); +lean_closure_set(x_82, 0, x_81); +x_83 = lean_array_push(x_9, x_82); +x_84 = lean_array_push(x_83, x_47); +x_85 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_85, 0, x_84); +x_86 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__26; +x_87 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_85); +x_88 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__30; +x_89 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2___boxed), 8, 1); +lean_closure_set(x_89, 0, x_88); +x_90 = lean_unsigned_to_nat(1u); +x_91 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__3), 8, 1); +lean_closure_set(x_91, 0, x_90); +x_92 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__22), 9, 2); +lean_closure_set(x_92, 0, x_7); +lean_closure_set(x_92, 1, x_7); +x_93 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__31; +x_94 = lean_array_push(x_93, x_89); +x_95 = lean_array_push(x_94, x_91); +x_96 = lean_array_push(x_95, x_92); +x_97 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_97, 0, x_96); +x_98 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__29; +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_98); +lean_ctor_set(x_99, 1, x_97); +x_100 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__33; +x_101 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6___boxed), 8, 1); +lean_closure_set(x_101, 0, x_100); +x_102 = 1; +x_103 = lean_box(x_102); +x_104 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__7___boxed), 8, 1); +lean_closure_set(x_104, 0, x_103); +x_105 = lean_box(x_17); +x_106 = lean_box(x_17); +x_107 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__25___boxed), 9, 2); +lean_closure_set(x_107, 0, x_105); +lean_closure_set(x_107, 1, x_106); +x_108 = lean_array_push(x_93, x_101); +x_109 = lean_array_push(x_108, x_104); +x_110 = lean_array_push(x_109, x_107); +x_111 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_111, 0, x_110); +x_112 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__32; +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_112); +lean_ctor_set(x_113, 1, x_111); +x_114 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__35; +x_115 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10___boxed), 8, 1); +lean_closure_set(x_115, 0, x_114); +x_116 = 1; +x_117 = lean_box(x_116); +x_118 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__11___boxed), 8, 1); +lean_closure_set(x_118, 0, x_117); +x_119 = lean_box(x_27); +x_120 = lean_box(x_27); +x_121 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__28___boxed), 9, 2); +lean_closure_set(x_121, 0, x_119); +lean_closure_set(x_121, 1, x_120); +x_122 = lean_array_push(x_93, x_115); +x_123 = lean_array_push(x_122, x_118); +x_124 = lean_array_push(x_123, x_121); +x_125 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_125, 0, x_124); +x_126 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__34; +x_127 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_125); +x_128 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__37; +x_129 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14___boxed), 8, 1); +lean_closure_set(x_129, 0, x_128); +x_130 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__2; +x_131 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__15___boxed), 8, 1); +lean_closure_set(x_131, 0, x_130); +x_132 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4; +x_133 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4; +x_134 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__31___boxed), 9, 2); +lean_closure_set(x_134, 0, x_132); +lean_closure_set(x_134, 1, x_133); +x_135 = lean_array_push(x_93, x_129); +x_136 = lean_array_push(x_135, x_131); +x_137 = lean_array_push(x_136, x_134); +x_138 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_138, 0, x_137); +x_139 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__36; +x_140 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_138); +x_141 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__39; +x_142 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18___boxed), 8, 1); +lean_closure_set(x_142, 0, x_141); +x_143 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__1; +x_144 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__19___boxed), 8, 1); +lean_closure_set(x_144, 0, x_143); +x_145 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3; +x_146 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3; +x_147 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__34___boxed), 9, 2); +lean_closure_set(x_147, 0, x_145); +lean_closure_set(x_147, 1, x_146); +x_148 = lean_array_push(x_93, x_142); +x_149 = lean_array_push(x_148, x_144); +x_150 = lean_array_push(x_149, x_147); +x_151 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_151, 0, x_150); +x_152 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__38; +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_151); +x_154 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__42; +x_155 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2___boxed), 8, 1); +lean_closure_set(x_155, 0, x_154); +x_156 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__5___boxed), 8, 1); +lean_closure_set(x_156, 0, x_90); +x_157 = lean_array_push(x_9, x_155); +x_158 = lean_array_push(x_157, x_156); +x_159 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_159, 0, x_158); +x_160 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__41; +x_161 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_161, 0, x_160); +lean_ctor_set(x_161, 1, x_159); +x_162 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__44; +x_163 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6___boxed), 8, 1); +lean_closure_set(x_163, 0, x_162); +x_164 = lean_box(x_102); +x_165 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__9___boxed), 8, 1); +lean_closure_set(x_165, 0, x_164); +x_166 = lean_array_push(x_9, x_163); +x_167 = lean_array_push(x_166, x_165); +x_168 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_168, 0, x_167); +x_169 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__43; +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_168); +x_171 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__46; +x_172 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10___boxed), 8, 1); +lean_closure_set(x_172, 0, x_171); +x_173 = lean_box(x_116); +x_174 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__13___boxed), 8, 1); +lean_closure_set(x_174, 0, x_173); +x_175 = lean_array_push(x_9, x_172); +x_176 = lean_array_push(x_175, x_174); +x_177 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_177, 0, x_176); +x_178 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__45; +x_179 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_177); +x_180 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__48; +x_181 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14___boxed), 8, 1); +lean_closure_set(x_181, 0, x_180); +x_182 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__2; +x_183 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__17___boxed), 8, 1); +lean_closure_set(x_183, 0, x_182); +x_184 = lean_array_push(x_9, x_181); +x_185 = lean_array_push(x_184, x_183); +x_186 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_186, 0, x_185); +x_187 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__47; +x_188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_188, 0, x_187); +lean_ctor_set(x_188, 1, x_186); +x_189 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__50; +x_190 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18___boxed), 8, 1); +lean_closure_set(x_190, 0, x_189); +x_191 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__1; +x_192 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__21___boxed), 8, 1); +lean_closure_set(x_192, 0, x_191); +x_193 = lean_array_push(x_9, x_190); +x_194 = lean_array_push(x_193, x_192); +x_195 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_195, 0, x_194); +x_196 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__49; +x_197 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_197, 0, x_196); +lean_ctor_set(x_197, 1, x_195); +x_198 = lean_box(0); +x_199 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_199, 0, x_197); +lean_ctor_set(x_199, 1, x_198); +x_200 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_200, 0, x_188); +lean_ctor_set(x_200, 1, x_199); +x_201 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_201, 0, x_179); +lean_ctor_set(x_201, 1, x_200); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_170); +lean_ctor_set(x_202, 1, x_201); +x_203 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_203, 0, x_161); +lean_ctor_set(x_203, 1, x_202); +x_204 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_204, 0, x_153); +lean_ctor_set(x_204, 1, x_203); +x_205 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_205, 0, x_140); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_206, 0, x_127); +lean_ctor_set(x_206, 1, x_205); +x_207 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_207, 0, x_113); +lean_ctor_set(x_207, 1, x_206); +x_208 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_208, 0, x_99); +lean_ctor_set(x_208, 1, x_207); +x_209 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_209, 0, x_87); +lean_ctor_set(x_209, 1, x_208); +x_210 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_210, 0, x_80); +lean_ctor_set(x_210, 1, x_209); +x_211 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_211, 0, x_73); +lean_ctor_set(x_211, 1, x_210); +x_212 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_212, 0, x_66); +lean_ctor_set(x_212, 1, x_211); +x_213 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_213, 0, x_59); +lean_ctor_set(x_213, 1, x_212); +x_214 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_214, 0, x_52); +lean_ctor_set(x_214, 1, x_213); +x_215 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_215, 0, x_43); +lean_ctor_set(x_215, 1, x_214); +x_216 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_216, 0, x_34); +lean_ctor_set(x_216, 1, x_215); +x_217 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_217, 0, x_24); +lean_ctor_set(x_217, 1, x_216); +x_218 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_218, 0, x_14); +lean_ctor_set(x_218, 1, x_217); +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_4); +lean_ctor_set(x_219, 1, x_218); +return x_219; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__8(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__9(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint8_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__7(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__12___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint16_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__12(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__13___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint16_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__13(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint16_t x_9; lean_object* x_10; +x_9 = lean_unbox(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__11(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__14(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__16___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint32_t x_9; lean_object* x_10; +x_9 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__16(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__17___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint32_t x_9; lean_object* x_10; +x_9 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__17(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__15___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint32_t x_9; lean_object* x_10; +x_9 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__15(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__18(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__20___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint64_t x_9; lean_object* x_10; +x_9 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__20(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__21___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint64_t x_9; lean_object* x_10; +x_9 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__21(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__19___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +uint64_t x_9; lean_object* x_10; +x_9 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__19(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__23___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__23(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__24___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__24(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +lean_dec(x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__26___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__26(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__27___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__27(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__25___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint8_t x_10; uint8_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__25(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__29___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint16_t x_10; uint16_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__29(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__30___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint16_t x_10; uint16_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__30(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__28___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint16_t x_10; uint16_t x_11; lean_object* x_12; +x_10 = lean_unbox(x_1); +lean_dec(x_1); +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__28(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__32___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint32_t x_10; uint32_t x_11; lean_object* x_12; +x_10 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_11 = lean_unbox_uint32(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__32(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__33___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint32_t x_10; uint32_t x_11; lean_object* x_12; +x_10 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_11 = lean_unbox_uint32(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__33(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__31___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint32_t x_10; uint32_t x_11; lean_object* x_12; +x_10 = lean_unbox_uint32(x_1); +lean_dec(x_1); +x_11 = lean_unbox_uint32(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__31(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__35___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint64_t x_10; uint64_t x_11; lean_object* x_12; +x_10 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_11 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__35(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__36___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint64_t x_10; uint64_t x_11; lean_object* x_12; +x_10 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_11 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__36(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_3); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__34___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +uint64_t x_10; uint64_t x_11; lean_object* x_12; +x_10 = lean_unbox_uint64(x_1); +lean_dec(x_1); +x_11 = lean_unbox_uint64(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightAnnihilator___at_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___spec__34(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_array_fget(x_2, x_24); +x_26 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(x_25, x_4, x_5, x_6, x_7, x_22); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_dec(x_23); +lean_dec(x_1); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_box(0); +x_30 = lean_apply_7(x_9, x_29, x_3, x_4, x_5, x_6, x_7, x_28); +return x_30; +} +else +{ +lean_object* x_31; uint8_t x_32; +x_31 = lean_ctor_get(x_26, 1); +lean_inc(x_31); +lean_dec(x_26); +x_32 = !lean_is_exclusive(x_27); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; +x_33 = lean_ctor_get(x_27, 0); +x_34 = lean_apply_2(x_1, x_23, x_33); +x_35 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit(x_34, x_3, x_4, x_5, x_6, x_7, x_31); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_ctor_set(x_27, 0, x_37); +lean_ctor_set(x_35, 0, x_27); +return x_35; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_35, 0); +x_39 = lean_ctor_get(x_35, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_35); +lean_ctor_set(x_27, 0, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_27); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get(x_27, 0); +lean_inc(x_41); +lean_dec(x_27); +x_42 = lean_apply_2(x_1, x_23, x_41); +x_43 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit(x_42, x_3, x_4, x_5, x_6, x_7, x_31); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); +lean_inc(x_45); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + x_46 = x_43; +} else { + lean_dec_ref(x_43); + x_46 = lean_box(0); +} +x_47 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_47, 0, x_44); +if (lean_is_scalar(x_46)) { + x_48 = lean_alloc_ctor(0, 2, 0); +} else { + x_48 = x_46; +} +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_45); +return x_48; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_17, 1); +x_24 = lean_ctor_get(x_17, 0); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_string_dec_eq(x_26, x_1); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_free_object(x_18); +lean_free_object(x_17); +x_28 = lean_box(0); +x_29 = lean_apply_7(x_9, x_28, x_3, x_4, x_5, x_6, x_7, x_23); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_array_fget(x_2, x_30); +lean_ctor_set(x_18, 0, x_31); +return x_17; +} +} +else +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +lean_dec(x_18); +x_33 = lean_string_dec_eq(x_32, x_1); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_free_object(x_17); +x_34 = lean_box(0); +x_35 = lean_apply_7(x_9, x_34, x_3, x_4, x_5, x_6, x_7, x_23); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_array_fget(x_2, x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_17, 0, x_38); +return x_17; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); +lean_dec(x_17); +x_40 = lean_ctor_get(x_18, 0); +lean_inc(x_40); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_41 = x_18; +} else { + lean_dec_ref(x_18); + x_41 = lean_box(0); +} +x_42 = lean_string_dec_eq(x_40, x_1); +lean_dec(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_41); +x_43 = lean_box(0); +x_44 = lean_apply_7(x_9, x_43, x_3, x_4, x_5, x_6, x_7, x_39); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = lean_unsigned_to_nat(1u); +x_46 = lean_array_fget(x_2, x_45); +if (lean_is_scalar(x_41)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_41; +} +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_39); +return x_48; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_17); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_17, 1); +x_24 = lean_ctor_get(x_17, 0); +lean_dec(x_24); +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; +x_26 = lean_ctor_get(x_18, 0); +x_27 = lean_string_dec_eq(x_26, x_1); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_free_object(x_18); +lean_free_object(x_17); +x_28 = lean_box(0); +x_29 = lean_apply_7(x_9, x_28, x_3, x_4, x_5, x_6, x_7, x_23); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_30 = lean_unsigned_to_nat(0u); +x_31 = lean_array_fget(x_2, x_30); +lean_ctor_set(x_18, 0, x_31); +return x_17; +} +} +else +{ +lean_object* x_32; uint8_t x_33; +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +lean_dec(x_18); +x_33 = lean_string_dec_eq(x_32, x_1); +lean_dec(x_32); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; +lean_free_object(x_17); +x_34 = lean_box(0); +x_35 = lean_apply_7(x_9, x_34, x_3, x_4, x_5, x_6, x_7, x_23); +return x_35; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_36 = lean_unsigned_to_nat(0u); +x_37 = lean_array_fget(x_2, x_36); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_17, 0, x_38); +return x_17; +} +} +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_17, 1); +lean_inc(x_39); +lean_dec(x_17); +x_40 = lean_ctor_get(x_18, 0); +lean_inc(x_40); +if (lean_is_exclusive(x_18)) { + lean_ctor_release(x_18, 0); + x_41 = x_18; +} else { + lean_dec_ref(x_18); + x_41 = lean_box(0); +} +x_42 = lean_string_dec_eq(x_40, x_1); +lean_dec(x_40); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; +lean_dec(x_41); +x_43 = lean_box(0); +x_44 = lean_apply_7(x_9, x_43, x_3, x_4, x_5, x_6, x_7, x_39); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = lean_unsigned_to_nat(0u); +x_46 = lean_array_fget(x_2, x_45); +if (lean_is_scalar(x_41)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_41; +} +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_39); +return x_48; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_inc(x_1); +x_9 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__3___boxed), 8, 1); +lean_closure_set(x_9, 0, x_1); +x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__4___boxed), 8, 1); +lean_closure_set(x_10, 0, x_1); +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_12 = lean_array_push(x_11, x_9); +x_13 = lean_array_push(x_12, x_10); +x_14 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first(x_13, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_13); +return x_14; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = !lean_is_exclusive(x_18); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_24 = lean_ctor_get(x_18, 0); +x_25 = lean_apply_1(x_1, x_24); +x_26 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_25, x_3, x_4, x_5, x_6, x_7, x_22); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; +x_28 = lean_ctor_get(x_26, 0); +lean_ctor_set(x_18, 0, x_28); +lean_ctor_set(x_26, 0, x_18); +return x_26; +} +else +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_26, 0); +x_30 = lean_ctor_get(x_26, 1); +lean_inc(x_30); +lean_inc(x_29); +lean_dec(x_26); +lean_ctor_set(x_18, 0, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_18); +lean_ctor_set(x_31, 1, x_30); +return x_31; +} +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_32 = lean_ctor_get(x_18, 0); +lean_inc(x_32); +lean_dec(x_18); +x_33 = lean_apply_1(x_1, x_32); +x_34 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatLit(x_33, x_3, x_4, x_5, x_6, x_7, x_22); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_37 = x_34; +} else { + lean_dec_ref(x_34); + x_37 = lean_box(0); +} +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_35); +if (lean_is_scalar(x_37)) { + x_39 = lean_alloc_ctor(0, 2, 0); +} else { + x_39 = x_37; +} +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_36); +return x_39; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1; +x_10 = lean_array_get_size(x_2); +x_11 = lean_unsigned_to_nat(2u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; +lean_dec(x_1); +x_13 = lean_box(0); +x_14 = lean_apply_7(x_9, x_13, x_3, x_4, x_5, x_6, x_7, x_8); +return x_14; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_15 = lean_unsigned_to_nat(0u); +x_16 = lean_array_fget(x_2, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getStringLit(x_16, x_4, x_5, x_6, x_7, x_8); +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_dec(x_1); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_box(0); +x_21 = lean_apply_7(x_9, x_20, x_3, x_4, x_5, x_6, x_7, x_19); +return x_21; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_dec(x_17); +x_23 = lean_ctor_get(x_18, 0); +lean_inc(x_23); +lean_dec(x_18); +x_24 = l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +x_26 = lean_unsigned_to_nat(1u); +x_27 = lean_array_fget(x_2, x_26); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_28 = lean_apply_6(x_25, x_27, x_4, x_5, x_6, x_7, x_22); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +if (lean_obj_tag(x_29) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_23); +lean_dec(x_1); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = lean_box(0); +x_32 = lean_apply_7(x_9, x_31, x_3, x_4, x_5, x_6, x_7, x_30); +return x_32; +} +else +{ +lean_object* x_33; uint8_t x_34; +x_33 = lean_ctor_get(x_28, 1); +lean_inc(x_33); +lean_dec(x_28); +x_34 = !lean_is_exclusive(x_29); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_35 = lean_ctor_get(x_29, 0); +x_36 = lean_apply_2(x_1, x_23, x_35); +x_37 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit(x_36, x_3, x_4, x_5, x_6, x_7, x_33); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) +{ +lean_object* x_39; +x_39 = lean_ctor_get(x_37, 0); +lean_ctor_set(x_29, 0, x_39); +lean_ctor_set(x_37, 0, x_29); +return x_37; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_37, 0); +x_41 = lean_ctor_get(x_37, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_37); +lean_ctor_set(x_29, 0, x_40); +x_42 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_42, 0, x_29); +lean_ctor_set(x_42, 1, x_41); +return x_42; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_43 = lean_ctor_get(x_29, 0); +lean_inc(x_43); +lean_dec(x_29); +x_44 = lean_apply_2(x_1, x_23, x_43); +x_45 = l_Lean_Compiler_LCNF_Simp_ConstantFold_mkStringLit(x_44, x_3, x_4, x_5, x_6, x_7, x_33); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_46 = lean_ctor_get(x_45, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_45, 1); +lean_inc(x_47); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_48 = x_45; +} else { + lean_dec_ref(x_45); + x_48 = lean_box(0); +} +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_46); +if (lean_is_scalar(x_48)) { + x_50 = lean_alloc_ctor(0, 2, 0); +} else { + x_50 = x_48; +} +lean_ctor_set(x_50, 0, x_49); +lean_ctor_set(x_50, 1, x_47); +return x_50; +} +} +} +else +{ +uint8_t x_51; +lean_dec(x_23); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_51 = !lean_is_exclusive(x_28); +if (x_51 == 0) +{ +return x_28; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_28, 0); +x_53 = lean_ctor_get(x_28, 1); +lean_inc(x_53); +lean_inc(x_52); +lean_dec(x_28); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; +} +} +} +} +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("String", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("append", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_String_append___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("length", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_String_length___boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2; +x_2 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_String_push___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__5; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__1___boxed), 8, 1); +lean_closure_set(x_2, 0, x_1); +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__6; +x_4 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__2), 8, 1); +lean_closure_set(x_4, 0, x_3); +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1; +x_6 = lean_array_push(x_5, x_2); +x_7 = lean_array_push(x_6, x_4); +x_8 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___boxed), 8, 1); +lean_closure_set(x_8, 0, x_7); +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__4; +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_8); +x_11 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__9; +x_12 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__5___boxed), 8, 1); +lean_closure_set(x_12, 0, x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__8; +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_12); +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__11; +x_16 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__6___boxed), 8, 1); +lean_closure_set(x_16, 0, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__10; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_box(0); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_18); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_rightNeutral___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +lean_dec(x_1); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkUnary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_mkBinary___at_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_2); +return x_9; +} +} +static lean_object* _init_l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Core_instMonadCoreM; +x_2 = l_ReaderT_instMonadReaderT___rarg(x_1); +return x_2; +} +} +static lean_object* _init_l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__1; +x_3 = l_instInhabited___rarg(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__2; +x_2 = lean_alloc_closure((void*)(l_instInhabitedReaderT___rarg___boxed), 2, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___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; lean_object* x_8; lean_object* x_9; +x_7 = l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__3; +x_8 = lean_panic_fn(x_7, x_1); +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_fget(x_1, x_4); +x_10 = lean_name_eq(x_5, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +static size_t _init_l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__1() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = 5; +x_3 = lean_usize_shift_left(x_1, x_2); +return x_3; +} +} +static size_t _init_l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__2() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__1; +x_3 = lean_usize_sub(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = 5; +x_6 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__2; +x_7 = lean_usize_land(x_2, x_6); +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +lean_dec(x_4); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_name_eq(x_3, x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_12); +x_14 = lean_box(0); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +} +case 1: +{ +lean_object* x_16; size_t x_17; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +x_17 = lean_usize_shift_right(x_2, x_5); +x_1 = x_16; +x_2 = x_17; +goto _start; +} +default: +{ +lean_object* x_19; +x_19 = lean_box(0); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_dec(x_1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__5(x_20, x_21, lean_box(0), x_22, x_3); +lean_dec(x_21); +lean_dec(x_20); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint64_t x_4; size_t x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l_Lean_Name_hash___override(x_2); +x_5 = lean_uint64_to_usize(x_4); +x_6 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4(x_3, x_5, x_2); +lean_dec(x_2); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 1); +x_6 = lean_ctor_get(x_2, 2); +x_7 = lean_name_eq(x_4, x_1); +if (x_7 == 0) +{ +x_2 = x_6; +goto _start; +} +else +{ +lean_object* x_9; +lean_inc(x_5); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_5); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; uint64_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_array_get_size(x_3); +x_5 = l_Lean_Name_hash___override(x_2); +x_6 = lean_uint64_to_usize(x_5); +x_7 = lean_usize_modn(x_6, x_4); +lean_dec(x_4); +x_8 = lean_array_uget(x_3, x_7); +lean_dec(x_3); +x_9 = l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__7(x_2, x_8); +lean_dec(x_8); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +lean_inc(x_2); +x_6 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__3(x_5, x_2); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; +x_7 = l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__6(x_4, x_2); +return x_7; +} +else +{ +uint8_t x_8; +lean_dec(x_4); +lean_dec(x_2); +x_8 = !lean_is_exclusive(x_6); +if (x_8 == 0) +{ +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_10, 0, x_9); +return x_10; +} +} +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_1, 0); +lean_inc(x_11); +lean_dec(x_1); +x_12 = l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__6(x_11, x_2); +return x_12; +} +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Compiler.LCNF.Simp.ConstantFold", 36); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean.Compiler.LCNF.Simp.ConstantFold.applyFolders", 49); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("unreachable code has been reached", 33); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__1; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__2; +x_3 = lean_unsigned_to_nat(363u); +x_4 = lean_unsigned_to_nat(9u); +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__3; +x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); +return x_6; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_1, 3); +lean_inc(x_8); +switch (lean_obj_tag(x_8)) { +case 2: +{ +lean_object* x_9; lean_object* x_10; +lean_dec(x_8); +lean_dec(x_2); +lean_dec(x_1); +x_9 = l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__4; +x_10 = l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1(x_9, x_3, x_4, x_5, x_6, x_7); +return x_10; +} +case 5: +{ +lean_object* x_11; +x_11 = l_Lean_Expr_getAppFn(x_8); +if (lean_obj_tag(x_11) == 4) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__2; +x_14 = l_Lean_SMap_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__2(x_2, x_12); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; +lean_dec(x_8); +lean_dec(x_1); +x_15 = lean_box(0); +x_16 = lean_apply_6(x_13, x_15, x_3, x_4, x_5, x_6, x_7); +return x_16; +} +else +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_17 = lean_ctor_get(x_14, 0); +lean_inc(x_17); +lean_dec(x_14); +x_18 = lean_unsigned_to_nat(0u); +x_19 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_8, x_18); +x_20 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1; +lean_inc(x_19); +x_21 = lean_mk_array(x_19, x_20); +x_22 = lean_unsigned_to_nat(1u); +x_23 = lean_nat_sub(x_19, x_22); +lean_dec(x_19); +x_24 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_8, x_21, x_23); +x_25 = lean_st_ref_get(x_6, x_7); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__5; +x_28 = lean_st_mk_ref(x_27, x_26); +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_29); +x_31 = lean_apply_7(x_17, x_24, x_29, x_3, x_4, x_5, x_6, x_30); +if (lean_obj_tag(x_31) == 0) +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = lean_st_ref_get(x_6, x_33); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +x_36 = lean_st_ref_get(x_29, x_35); +lean_dec(x_29); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_1); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +lean_dec(x_36); +x_38 = lean_box(0); +x_39 = lean_apply_6(x_13, x_38, x_3, x_4, x_5, x_6, x_37); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_36, 0); +lean_inc(x_40); +x_41 = lean_ctor_get(x_36, 1); +lean_inc(x_41); +lean_dec(x_36); +x_42 = !lean_is_exclusive(x_32); +if (x_42 == 0) +{ +lean_object* x_43; lean_object* x_44; uint8_t x_45; +x_43 = lean_ctor_get(x_32, 0); +x_44 = l_Lean_Compiler_LCNF_LetDecl_updateValue(x_1, x_43, x_3, x_4, x_5, x_6, x_41); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_44, 0); +x_47 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_47, 0, x_46); +x_48 = lean_array_push(x_40, x_47); +lean_ctor_set(x_32, 0, x_48); +lean_ctor_set(x_44, 0, x_32); +return x_44; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_49 = lean_ctor_get(x_44, 0); +x_50 = lean_ctor_get(x_44, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_44); +x_51 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_51, 0, x_49); +x_52 = lean_array_push(x_40, x_51); +lean_ctor_set(x_32, 0, x_52); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_32); +lean_ctor_set(x_53, 1, x_50); +return x_53; +} +} +else +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_54 = lean_ctor_get(x_32, 0); +lean_inc(x_54); +lean_dec(x_32); +x_55 = l_Lean_Compiler_LCNF_LetDecl_updateValue(x_1, x_54, x_3, x_4, x_5, x_6, x_41); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +if (lean_is_exclusive(x_55)) { + lean_ctor_release(x_55, 0); + lean_ctor_release(x_55, 1); + x_58 = x_55; +} else { + lean_dec_ref(x_55); + x_58 = lean_box(0); +} +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_56); +x_60 = lean_array_push(x_40, x_59); +x_61 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_61, 0, x_60); +if (lean_is_scalar(x_58)) { + x_62 = lean_alloc_ctor(0, 2, 0); +} else { + x_62 = x_58; +} +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_57); +return x_62; +} +} +} +else +{ +uint8_t x_63; +lean_dec(x_29); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_63 = !lean_is_exclusive(x_31); +if (x_63 == 0) +{ +return x_31; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_31, 0); +x_65 = lean_ctor_get(x_31, 1); +lean_inc(x_65); +lean_inc(x_64); +lean_dec(x_31); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; +} +} +} +} +else +{ +lean_object* x_67; lean_object* x_68; +lean_dec(x_11); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_67 = lean_box(0); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_7); +return x_68; +} +} +default: +{ +lean_object* x_69; lean_object* x_70; +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_69 = lean_box(0); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_7); +return x_70; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; +x_6 = l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__5(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4(x_1, x_4, x_3); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Lean", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Compiler", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__2; +x_2 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("LCNF", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__4; +x_2 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Simp", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__6; +x_2 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__7; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ConstantFold", 12); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__8; +x_2 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__9; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__11() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Folder", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__12() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__10; +x_2 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__11; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; +x_4 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__12; +x_5 = l_Lean_Environment_evalConstCheck___rarg(x_1, x_2, x_4, x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe(x_1, x_2, x_3); +lean_dec(x_2); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; +x_5 = lean_ctor_get(x_2, 5); +x_6 = l_Lean_addMessageContextPartial___at_Lean_Core_instAddMessageContextCoreM___spec__1(x_1, x_2, x_3, x_4); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_5); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_8); +lean_ctor_set_tag(x_6, 1); +lean_ctor_set(x_6, 0, x_9); +return x_6; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); +lean_inc(x_10); +lean_dec(x_6); +lean_inc(x_5); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_5); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = l_Lean_throwError___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__2(x_7, x_2, x_3, x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; +x_9 = lean_ctor_get(x_1, 0); +lean_inc(x_9); +lean_dec(x_1); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_9); +lean_ctor_set(x_10, 1, x_4); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder(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; +x_5 = lean_st_ref_get(x_3, x_4); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_5, 1); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_ctor_get(x_6, 0); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_ctor_get(x_2, 2); +x_10 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe(x_8, x_9, x_1); +x_11 = l_Lean_ofExcept___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__1(x_10, x_2, x_3, x_7); +return x_11; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_throwError___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__2(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_ofExcept___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_ofExcept___at___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___spec__1(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder(x_1, x_2, x_3, x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__4(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_lt(x_5, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_dec(x_5); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_9 = lean_array_fget(x_2, x_5); +x_10 = lean_array_fget(x_3, x_5); +x_11 = l_Lean_Name_hash___override(x_9); +x_12 = lean_uint64_to_usize(x_11); +x_13 = 1; +x_14 = lean_usize_sub(x_1, x_13); +x_15 = 5; +x_16 = lean_usize_mul(x_15, x_14); +x_17 = lean_usize_shift_right(x_12, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_5, x_18); +lean_dec(x_5); +x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(x_6, x_17, x_1, x_9, x_10); +x_4 = lean_box(0); +x_5 = x_19; +x_6 = x_20; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_array_get_size(x_5); +x_8 = lean_nat_dec_lt(x_2, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_2); +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = lean_array_push(x_5, x_3); +x_13 = lean_array_push(x_6, x_4); +lean_ctor_set(x_1, 1, x_13); +lean_ctor_set(x_1, 0, x_12); +return x_1; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_14 = lean_array_push(x_5, x_3); +x_15 = lean_array_push(x_6, x_4); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_fget(x_5, x_2); +x_18 = lean_name_eq(x_3, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_6); +lean_dec(x_5); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_2, x_19); +lean_dec(x_2); +x_2 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_1); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_1, 1); +lean_dec(x_23); +x_24 = lean_ctor_get(x_1, 0); +lean_dec(x_24); +x_25 = lean_array_fset(x_5, x_2, x_3); +x_26 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_1); +x_27 = lean_array_fset(x_5, x_2, x_3); +x_28 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +x_8 = 1; +x_9 = 5; +x_10 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__2; +x_11 = lean_usize_land(x_2, x_10); +x_12 = lean_usize_to_nat(x_11); +x_13 = lean_array_get_size(x_7); +x_14 = lean_nat_dec_lt(x_12, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +return x_1; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_array_fget(x_7, x_12); +x_16 = lean_box(0); +x_17 = lean_array_fset(x_7, x_12, x_16); +switch (lean_obj_tag(x_15)) { +case 0: +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +x_21 = lean_name_eq(x_4, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_free_object(x_15); +x_22 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_array_fset(x_17, x_12, x_23); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_24); +return x_1; +} +else +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_19); +lean_ctor_set(x_15, 1, x_5); +lean_ctor_set(x_15, 0, x_4); +x_25 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = lean_name_eq(x_4, x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_26, x_27, x_4, x_5); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_array_fset(x_17, x_12, x_30); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_31); +return x_1; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_27); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_5); +x_33 = lean_array_fset(x_17, x_12, x_32); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_33); +return x_1; +} +} +} +case 1: +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_15); +if (x_34 == 0) +{ +lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_usize_shift_right(x_2, x_9); +x_37 = lean_usize_add(x_3, x_8); +x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(x_35, x_36, x_37, x_4, x_5); +lean_ctor_set(x_15, 0, x_38); +x_39 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_39); +return x_1; +} +else +{ +lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_15, 0); +lean_inc(x_40); +lean_dec(x_15); +x_41 = lean_usize_shift_right(x_2, x_9); +x_42 = lean_usize_add(x_3, x_8); +x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(x_40, x_41, x_42, x_4, x_5); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_array_fset(x_17, x_12, x_44); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_45); +return x_1; +} +} +default: +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_4); +lean_ctor_set(x_46, 1, x_5); +x_47 = lean_array_fset(x_17, x_12, x_46); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_47); +return x_1; +} +} +} +} +else +{ +lean_object* x_48; size_t x_49; size_t x_50; size_t x_51; size_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_48 = lean_ctor_get(x_1, 0); +lean_inc(x_48); +lean_dec(x_1); +x_49 = 1; +x_50 = 5; +x_51 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__2; +x_52 = lean_usize_land(x_2, x_51); +x_53 = lean_usize_to_nat(x_52); +x_54 = lean_array_get_size(x_48); +x_55 = lean_nat_dec_lt(x_53, x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_53); +lean_dec(x_5); +lean_dec(x_4); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_array_fget(x_48, x_53); +x_58 = lean_box(0); +x_59 = lean_array_fset(x_48, x_53, x_58); +switch (lean_obj_tag(x_57)) { +case 0: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_62 = x_57; +} else { + lean_dec_ref(x_57); + x_62 = lean_box(0); +} +x_63 = lean_name_eq(x_4, x_60); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_62); +x_64 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_60, x_61, x_4, x_5); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_array_fset(x_59, x_53, x_65); +lean_dec(x_53); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_61); +lean_dec(x_60); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_62; +} +lean_ctor_set(x_68, 0, x_4); +lean_ctor_set(x_68, 1, x_5); +x_69 = lean_array_fset(x_59, x_53, x_68); +lean_dec(x_53); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +case 1: +{ +lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_57, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + x_72 = x_57; +} else { + lean_dec_ref(x_57); + x_72 = lean_box(0); +} +x_73 = lean_usize_shift_right(x_2, x_50); +x_74 = lean_usize_add(x_3, x_49); +x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(x_71, x_73, x_74, x_4, x_5); +if (lean_is_scalar(x_72)) { + x_76 = lean_alloc_ctor(1, 1, 0); +} else { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_array_fset(x_59, x_53, x_76); +lean_dec(x_53); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +return x_78; +} +default: +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_4); +lean_ctor_set(x_79, 1, x_5); +x_80 = lean_array_fset(x_59, x_53, x_79); +lean_dec(x_53); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +return x_81; +} +} +} +} +} +else +{ +uint8_t x_82; +x_82 = !lean_is_exclusive(x_1); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__5(x_1, x_83, x_4, x_5); +x_85 = 7; +x_86 = lean_usize_dec_le(x_85, x_3); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_84); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_dec_lt(x_87, x_88); +lean_dec(x_87); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_84, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___closed__1; +x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__4(x_3, x_90, x_91, lean_box(0), x_83, x_92); +lean_dec(x_91); +lean_dec(x_90); +return x_93; +} +else +{ +return x_84; +} +} +else +{ +return x_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; uint8_t x_100; +x_94 = lean_ctor_get(x_1, 0); +x_95 = lean_ctor_get(x_1, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_1); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_unsigned_to_nat(0u); +x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__5(x_96, x_97, x_4, x_5); +x_99 = 7; +x_100 = lean_usize_dec_le(x_99, x_3); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_98); +x_102 = lean_unsigned_to_nat(4u); +x_103 = lean_nat_dec_lt(x_101, x_102); +lean_dec(x_101); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_98, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_98, 1); +lean_inc(x_105); +lean_dec(x_98); +x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___closed__1; +x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__4(x_3, x_104, x_105, lean_box(0), x_97, x_106); +lean_dec(x_105); +lean_dec(x_104); +return x_107; +} +else +{ +return x_98; +} +} +else +{ +return x_98; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_Name_hash___override(x_2); +x_8 = lean_uint64_to_usize(x_7); +x_9 = 1; +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(x_5, x_8, x_9, x_2, x_3); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_6, x_11); +lean_dec(x_6); +lean_ctor_set(x_1, 1, x_12); +lean_ctor_set(x_1, 0, x_10); +return x_1; +} +else +{ +lean_object* x_13; lean_object* x_14; uint64_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_15 = l_Lean_Name_hash___override(x_2); +x_16 = lean_uint64_to_usize(x_15); +x_17 = 1; +x_18 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(x_13, x_16, x_17, x_2, x_3); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_14, x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 0; +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_name_eq(x_4, x_1); +if (x_6 == 0) +{ +x_2 = x_5; +goto _start; +} +else +{ +uint8_t x_8; +x_8 = 1; +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__10(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_ctor_get(x_2, 2); +x_6 = lean_array_get_size(x_1); +x_7 = l_Lean_Name_hash___override(x_4); +x_8 = lean_uint64_to_usize(x_7); +x_9 = lean_usize_modn(x_8, x_6); +lean_dec(x_6); +x_10 = lean_array_uget(x_1, x_9); +lean_ctor_set(x_2, 2, x_10); +x_11 = lean_array_uset(x_1, x_9, x_2); +x_1 = x_11; +x_2 = x_5; +goto _start; +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint64_t x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_2, 0); +x_14 = lean_ctor_get(x_2, 1); +x_15 = lean_ctor_get(x_2, 2); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_2); +x_16 = lean_array_get_size(x_1); +x_17 = l_Lean_Name_hash___override(x_13); +x_18 = lean_uint64_to_usize(x_17); +x_19 = lean_usize_modn(x_18, x_16); +lean_dec(x_16); +x_20 = lean_array_uget(x_1, x_19); +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_14); +lean_ctor_set(x_21, 2, x_20); +x_22 = lean_array_uset(x_1, x_19, x_21); +x_1 = x_22; +x_2 = x_15; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; uint8_t x_5; +x_4 = lean_array_get_size(x_2); +x_5 = lean_nat_dec_lt(x_1, x_4); +lean_dec(x_4); +if (x_5 == 0) +{ +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +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; +x_6 = lean_array_fget(x_2, x_1); +x_7 = lean_box(0); +x_8 = lean_array_fset(x_2, x_1, x_7); +x_9 = l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__10(x_3, x_6); +x_10 = lean_unsigned_to_nat(1u); +x_11 = lean_nat_add(x_1, x_10); +lean_dec(x_1); +x_1 = x_11; +x_2 = x_8; +x_3 = x_9; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__8(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_3 = lean_array_get_size(x_2); +x_4 = lean_unsigned_to_nat(2u); +x_5 = lean_nat_mul(x_3, x_4); +lean_dec(x_3); +x_6 = lean_box(0); +x_7 = lean_mk_array(x_5, x_6); +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_HashMapImp_moveEntries___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__9(x_8, x_2, x_7); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 1); +x_8 = lean_ctor_get(x_3, 2); +x_9 = lean_name_eq(x_6, x_1); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__11(x_1, x_2, x_8); +lean_ctor_set(x_3, 2, x_10); +return x_3; +} +else +{ +lean_dec(x_7); +lean_dec(x_6); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +x_13 = lean_ctor_get(x_3, 2); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_14 = lean_name_eq(x_11, x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; +x_15 = l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__11(x_1, x_2, x_13); +x_16 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_16, 0, x_11); +lean_ctor_set(x_16, 1, x_12); +lean_ctor_set(x_16, 2, x_15); +return x_16; +} +else +{ +lean_object* x_17; +lean_dec(x_12); +lean_dec(x_11); +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_2); +lean_ctor_set(x_17, 2, x_13); +return x_17; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint64_t x_8; size_t x_9; size_t x_10; lean_object* x_11; uint8_t x_12; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = lean_array_get_size(x_6); +x_8 = l_Lean_Name_hash___override(x_2); +x_9 = lean_uint64_to_usize(x_8); +x_10 = lean_usize_modn(x_9, x_7); +x_11 = lean_array_uget(x_6, x_10); +x_12 = l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__7(x_2, x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_13 = lean_unsigned_to_nat(1u); +x_14 = lean_nat_add(x_5, x_13); +lean_dec(x_5); +x_15 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_15, 0, x_2); +lean_ctor_set(x_15, 1, x_3); +lean_ctor_set(x_15, 2, x_11); +x_16 = lean_array_uset(x_6, x_10, x_15); +x_17 = l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(x_14); +x_18 = lean_nat_dec_le(x_17, x_7); +lean_dec(x_7); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; +lean_free_object(x_1); +x_19 = l_Lean_HashMapImp_expand___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__8(x_14, x_16); +return x_19; +} +else +{ +lean_ctor_set(x_1, 1, x_16); +lean_ctor_set(x_1, 0, x_14); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; +lean_dec(x_7); +x_20 = l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__11(x_2, x_3, x_11); +x_21 = lean_array_uset(x_6, x_10, x_20); +lean_ctor_set(x_1, 1, x_21); +return x_1; +} +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; uint64_t x_25; size_t x_26; size_t x_27; lean_object* x_28; uint8_t x_29; +x_22 = lean_ctor_get(x_1, 0); +x_23 = lean_ctor_get(x_1, 1); +lean_inc(x_23); +lean_inc(x_22); +lean_dec(x_1); +x_24 = lean_array_get_size(x_23); +x_25 = l_Lean_Name_hash___override(x_2); +x_26 = lean_uint64_to_usize(x_25); +x_27 = lean_usize_modn(x_26, x_24); +x_28 = lean_array_uget(x_23, x_27); +x_29 = l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__7(x_2, x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_30 = lean_unsigned_to_nat(1u); +x_31 = lean_nat_add(x_22, x_30); +lean_dec(x_22); +x_32 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_32, 0, x_2); +lean_ctor_set(x_32, 1, x_3); +lean_ctor_set(x_32, 2, x_28); +x_33 = lean_array_uset(x_23, x_27, x_32); +x_34 = l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(x_31); +x_35 = lean_nat_dec_le(x_34, x_24); +lean_dec(x_24); +lean_dec(x_34); +if (x_35 == 0) +{ +lean_object* x_36; +x_36 = l_Lean_HashMapImp_expand___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__8(x_31, x_33); +return x_36; +} +else +{ +lean_object* x_37; +x_37 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_37, 0, x_31); +lean_ctor_set(x_37, 1, x_33); +return x_37; +} +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +lean_dec(x_24); +x_38 = l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__11(x_2, x_3, x_28); +x_39 = lean_array_uset(x_23, x_27, x_38); +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_22); +lean_ctor_set(x_40, 1, x_39); +return x_40; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_SMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_1); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__2(x_6, x_2, x_3); +x_8 = 0; +lean_ctor_set(x_1, 1, x_7); +lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_8); +return x_1; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +lean_inc(x_10); +lean_inc(x_9); +lean_dec(x_1); +x_11 = l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__2(x_10, x_2, x_3); +x_12 = 0; +x_13 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_13, 0, x_9); +lean_ctor_set(x_13, 1, x_11); +lean_ctor_set_uint8(x_13, sizeof(void*)*2, x_12); +return x_13; +} +} +else +{ +uint8_t x_14; +x_14 = !lean_is_exclusive(x_1); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_1, 0); +x_16 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__6(x_15, x_2, x_3); +x_17 = 1; +lean_ctor_set(x_1, 0, x_16); +lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_17); +return x_1; +} +else +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_1, 0); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); +lean_inc(x_18); +lean_dec(x_1); +x_20 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__6(x_18, x_2, x_3); +x_21 = 1; +x_22 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_19); +lean_ctor_set_uint8(x_22, sizeof(void*)*2, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__12(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_mkHashMapImp___rarg(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_List_foldl___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__13(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; +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 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +lean_dec(x_3); +x_7 = l_Lean_SMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__1(x_1, x_5, x_6); +x_1 = x_7; +x_2 = x_4; +goto _start; +} +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders; +x_3 = l_List_appendTR___rarg(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__4; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders; +x_3 = l_List_appendTR___rarg(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders() { +_start: +{ +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +x_1 = lean_unsigned_to_nat(0u); +x_2 = l_Lean_mkHashMapImp___rarg(x_1); +x_3 = 1; +x_4 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__3; +x_5 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_5, 0, x_2); +lean_ctor_set(x_5, 1, x_4); +lean_ctor_set_uint8(x_5, sizeof(void*)*2, x_3); +x_6 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__5; +x_7 = l_List_foldl___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__13(x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +size_t x_7; lean_object* x_8; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__4(x_7, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__12___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_mkHashMap___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__12(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_alloc_ctor(18, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_4); +lean_ctor_set(x_5, 1, x_2); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_1, 0); +lean_inc(x_6); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_2); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_4, x_3); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_10 = lean_array_uget(x_2, x_4); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_1, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +x_15 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe(x_13, x_14, x_12); +lean_dec(x_14); +x_16 = l_IO_ofExcept___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__1(x_15, x_7); +lean_dec(x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; size_t x_20; size_t x_21; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = l_Lean_SMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__1(x_5, x_11, x_17); +x_20 = 1; +x_21 = lean_usize_add(x_4, x_20); +x_4 = x_21; +x_5 = x_19; +x_7 = x_18; +goto _start; +} +else +{ +uint8_t x_23; +lean_dec(x_11); +lean_dec(x_5); +lean_dec(x_1); +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +return x_16; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_16, 0); +x_25 = lean_ctor_get(x_16, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_16); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_4, x_3); +if (x_8 == 0) +{ +lean_object* x_9; +lean_dec(x_1); +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_5); +lean_ctor_set(x_9, 1, x_7); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; +x_10 = lean_array_uget(x_2, x_4); +x_11 = lean_array_get_size(x_10); +x_12 = lean_usize_of_nat(x_11); +lean_dec(x_11); +x_13 = 0; +lean_inc(x_1); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__2(x_1, x_10, x_12, x_13, x_5, x_6, x_7); +lean_dec(x_10); +if (lean_obj_tag(x_14) == 0) +{ +lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = 1; +x_18 = lean_usize_add(x_4, x_17); +x_4 = x_18; +x_5 = x_15; +x_7 = x_16; +goto _start; +} +else +{ +uint8_t x_20; +lean_dec(x_1); +x_20 = !lean_is_exclusive(x_14); +if (x_20 == 0) +{ +return x_14; +} +else +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_14, 0); +x_22 = lean_ctor_get(x_14, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_14); +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_EXPORT lean_object* l_Lean_SMap_switch___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__4(lean_object* x_1) { +_start: +{ +uint8_t x_2; +x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +if (x_2 == 0) +{ +return x_1; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = 0; +lean_ctor_set_uint8(x_1, sizeof(void*)*2, x_4); +return x_1; +} +else +{ +lean_object* x_5; lean_object* x_6; uint8_t x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +lean_inc(x_5); +lean_dec(x_1); +x_7 = 0; +x_8 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_8, 0, x_5); +lean_ctor_set(x_8, 1, x_6); +lean_ctor_set_uint8(x_8, sizeof(void*)*2, x_7); +return x_8; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; +x_5 = lean_array_get_size(x_2); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders; +lean_inc(x_3); +x_9 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__3(x_3, x_2, x_6, x_7, x_8, x_3, x_4); +lean_dec(x_3); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_9, 0); +x_12 = l_Lean_SMap_switch___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__4(x_11); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_1); +lean_ctor_set(x_13, 1, x_12); +lean_ctor_set(x_9, 0, x_13); +return x_9; +} +else +{ +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 = l_Lean_SMap_switch___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__4(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_1); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +return x_18; +} +} +else +{ +uint8_t x_19; +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_9); +if (x_19 == 0) +{ +return x_9; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_9, 0); +x_21 = lean_ctor_get(x_9, 1); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_9); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 1); +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); +lean_inc(x_6); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_4); +x_9 = lean_ctor_get(x_6, 0); +lean_inc(x_9); +lean_dec(x_6); +x_10 = l_Lean_SMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__1(x_5, x_9, x_7); +lean_ctor_set(x_1, 1, x_10); +lean_ctor_set(x_1, 0, x_8); +return x_1; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_1); +x_13 = lean_ctor_get(x_2, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_2, 1); +lean_inc(x_14); +lean_dec(x_2); +lean_inc(x_13); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_11); +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_16); +lean_dec(x_13); +x_17 = l_Lean_SMap_insert___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__1(x_12, x_16, x_14); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l_List_reverse___rarg(x_2); +x_4 = l_List_redLength___rarg(x_3); +x_5 = lean_mk_empty_array_with_capacity(x_4); +lean_dec(x_4); +x_6 = l_List_toArrayAux___rarg(x_3, x_5); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__4(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("cfolder", 7); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__3; +x_2 = lean_alloc_closure((void*)(l_EStateM_pure___rarg), 2, 1); +lean_closure_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__2), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__3), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__4___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433_(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; +x_2 = lean_box(0); +x_3 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__1___boxed), 4, 1); +lean_closure_set(x_3, 0, x_2); +x_4 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__2; +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__4; +x_6 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__5; +x_7 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__6; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__7; +x_9 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_9, 0, x_4); +lean_ctor_set(x_9, 1, x_5); +lean_ctor_set(x_9, 2, x_3); +lean_ctor_set(x_9, 3, x_6); +lean_ctor_set(x_9, 4, x_7); +lean_ctor_set(x_9, 5, x_8); +x_10 = l_Lean_registerPersistentEnvExtensionUnsafe___rarg(x_9, x_1); +return x_10; +} +} +LEAN_EXPORT lean_object* l_IO_ofExcept___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_IO_ofExcept___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__1(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__2(x_1, x_2, x_8, x_9, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_9 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_10 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____spec__3(x_1, x_2, x_8, x_9, x_5, x_6, x_7); +lean_dec(x_6); +lean_dec(x_2); +return x_10; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; +x_5 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__1(x_1, x_2, x_3, x_4); +lean_dec(x_2); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__4___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____lambda__4(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_folderExt; +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__3; +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder(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_inc(x_2); +x_6 = l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolder(x_2, x_3, x_4, x_5); +if (lean_obj_tag(x_6) == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_7 = lean_ctor_get(x_6, 0); +lean_inc(x_7); +x_8 = lean_ctor_get(x_6, 1); +lean_inc(x_8); +lean_dec(x_6); +x_9 = lean_st_ref_take(x_4, x_8); +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); +lean_inc(x_11); +lean_dec(x_9); +x_12 = !lean_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_13 = lean_ctor_get(x_10, 0); +x_14 = lean_ctor_get(x_10, 4); +lean_dec(x_14); +x_15 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_15, 0, x_1); +lean_ctor_set(x_15, 1, x_2); +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_7); +x_17 = l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1; +x_18 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_17, x_13, x_16); +x_19 = l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__2; +lean_ctor_set(x_10, 4, x_19); +lean_ctor_set(x_10, 0, x_18); +x_20 = lean_st_ref_set(x_4, x_10, x_11); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_20, 0); +lean_dec(x_22); +x_23 = lean_box(0); +lean_ctor_set(x_20, 0, x_23); +return x_20; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_20, 1); +lean_inc(x_24); +lean_dec(x_20); +x_25 = lean_box(0); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; +} +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_27 = lean_ctor_get(x_10, 0); +x_28 = lean_ctor_get(x_10, 1); +x_29 = lean_ctor_get(x_10, 2); +x_30 = lean_ctor_get(x_10, 3); +x_31 = lean_ctor_get(x_10, 5); +x_32 = lean_ctor_get(x_10, 6); +lean_inc(x_32); +lean_inc(x_31); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_10); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_1); +lean_ctor_set(x_33, 1, x_2); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_7); +x_35 = l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1; +x_36 = l_Lean_PersistentEnvExtension_addEntry___rarg(x_35, x_27, x_34); +x_37 = l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__2; +x_38 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_28); +lean_ctor_set(x_38, 2, x_29); +lean_ctor_set(x_38, 3, x_30); +lean_ctor_set(x_38, 4, x_37); +lean_ctor_set(x_38, 5, x_31); +lean_ctor_set(x_38, 6, x_32); +x_39 = lean_st_ref_set(x_4, x_38, x_11); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +if (lean_is_exclusive(x_39)) { + lean_ctor_release(x_39, 0); + lean_ctor_release(x_39, 1); + x_41 = x_39; +} else { + lean_dec_ref(x_39); + x_41 = lean_box(0); +} +x_42 = lean_box(0); +if (lean_is_scalar(x_41)) { + x_43 = lean_alloc_ctor(0, 2, 0); +} else { + x_43 = x_41; +} +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_40); +return x_43; +} +} +else +{ +uint8_t x_44; +lean_dec(x_2); +lean_dec(x_1); +x_44 = !lean_is_exclusive(x_6); +if (x_44 == 0) +{ +return x_6; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_6, 0); +x_46 = lean_ctor_get(x_6, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_6); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___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_Compiler_LCNF_Simp_ConstantFold_registerFolder(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Name_instBEqName; +x_2 = l_Lean_instHashableName; +x_3 = l_Lean_SMap_instInhabitedSMap___rarg(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__1; +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_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint8_t x_4; +x_3 = lean_st_ref_get(x_1, x_2); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_5 = lean_ctor_get(x_3, 0); +x_6 = lean_ctor_get(x_5, 0); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__2; +x_8 = l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1; +x_9 = l_Lean_PersistentEnvExtension_getState___rarg(x_7, x_8, x_6); +lean_dec(x_6); +x_10 = lean_ctor_get(x_9, 1); +lean_inc(x_10); +lean_dec(x_9); +lean_ctor_set(x_3, 0, x_10); +return x_3; +} +else +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_11 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_3, 1); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_3); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__2; +x_15 = l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1; +x_16 = l_Lean_PersistentEnvExtension_getState___rarg(x_14, x_15, x_13); +lean_dec(x_13); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_12); +return x_18; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___boxed), 2, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg(x_1, x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldConstants(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_7 = l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg(x_5, x_6); +x_8 = lean_ctor_get(x_7, 0); +lean_inc(x_8); +x_9 = lean_ctor_get(x_7, 1); +lean_inc(x_9); +lean_dec(x_7); +x_10 = l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders(x_1, x_8, x_2, x_3, x_4, x_5, x_9); +return x_10; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_CompilerM(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_InferType(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_PassManager(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF_Simp_ConstantFold(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_CompilerM(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_InferType(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_PassManager(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralNat); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralString); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__1); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__2 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getLitAux___rarg___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkNatWrapperInstance___elambda__1___rarg___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__7 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8___closed__7); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt8); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt16); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6___boxed__const__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6___boxed__const__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6___boxed__const__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt32); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6___boxed__const__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6___boxed__const__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6___boxed__const__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralUInt64); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6___boxed__const__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6___boxed__const__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6___boxed__const__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_instLiteralChar); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__7 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__7); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__8 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__8(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__8); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__9 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__9(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__9); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__10 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__10(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__10); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__11 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__11(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__11); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getPseudoListLiteral_go___closed__12); +l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___spec__1___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_mkPseudoArrayLiteral___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_foldArrayLiteral___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_first___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_Folder_leftRightNeutral___rarg___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_higherOrderLiteralFolders); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__7 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__7); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__8 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__8(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__8); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__9 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__9(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__9); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__10 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__10(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__10); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__11 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__11(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__11); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__12 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__12(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__12); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__13 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__13(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__13); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__14 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__14(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__14); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__15 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__15(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__15); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__16 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__16(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__16); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__17); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__18 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__18(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__18); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__19 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__19(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__19); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__20 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__20(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__20); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__21 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__21(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__21); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__22 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__22(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__22); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__23 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__23(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__23); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__24 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__24(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__24); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__25 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__25(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__25); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__26 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__26(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__26); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__27 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__27(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__27); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__28); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__29 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__29(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__29); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__30 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__30(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__30); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__31 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__31(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__31); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__32 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__32(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__32); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__33 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__33(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__33); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__34 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__34(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__34); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__35 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__35(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__35); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__36 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__36(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__36); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__37 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__37(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__37); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__38 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__38(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__38); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__39 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__39(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__39); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__40); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__41 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__41(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__41); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__42 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__42(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__42); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__43 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__43(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__43); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__44 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__44(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__44); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__45 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__45(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__45); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__46 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__46(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__46); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__47 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__47(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__47); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__48 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__48(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__48); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__49 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__49(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__49); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__50 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__50(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___closed__50); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders___boxed__const__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_arithmeticFolders); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__7 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__7); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__8 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__8(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__8); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__9 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__9(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__9); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__10 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__10(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__10); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__11 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__11(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders___closed__11); +l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_stringFolders); +l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__1 = _init_l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__1(); +lean_mark_persistent(l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__1); +l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__2 = _init_l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__2(); +lean_mark_persistent(l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__2); +l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__3 = _init_l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__3(); +lean_mark_persistent(l_panic___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__1___closed__3); +l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__1 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__1(); +l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__2 = _init_l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___spec__4___closed__2(); +l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_applyFolders___closed__5); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__1 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__1(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__1); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__2 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__2(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__2); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__3 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__3(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__3); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__4 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__4(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__4); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__5 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__5(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__5); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__6 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__6(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__6); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__7 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__7(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__7); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__8 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__8(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__8); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__9 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__9(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__9); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__10 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__10(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__10); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__11 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__11(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__11); +l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__12 = _init_l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__12(); +lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_ConstantFold_0__Lean_Compiler_LCNF_Simp_ConstantFold_getFolderCoreUnsafe___closed__12); +l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___closed__1(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___spec__3___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders___closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_builtinFolders); +l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__3 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__3); +l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__4 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__4); +l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__5 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__5); +l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__6 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__6); +l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__7 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433____closed__7); +if (builtin) {res = l_Lean_Compiler_LCNF_Simp_ConstantFold_initFn____x40_Lean_Compiler_LCNF_Simp_ConstantFold___hyg_4433_(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +l_Lean_Compiler_LCNF_Simp_ConstantFold_folderExt = lean_io_result_get_value(res); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_folderExt); +lean_dec_ref(res); +}l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_registerFolder___closed__2); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__1); +l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_ConstantFold_getFolders___rarg___closed__2); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/DefaultAlt.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/DefaultAlt.c index 5ac0765152..7966e20eed 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/DefaultAlt.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/DefaultAlt.c @@ -18,7 +18,6 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___closed__3; @@ -39,8 +38,7 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Sim static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs_getNumOccsOf___spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs___boxed(lean_object*); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs_getNumOccsOf___spec__1___closed__4; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___closed__2; static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1___closed__1; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -51,15 +49,15 @@ size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs_getNumOccsOf___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___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*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__3(lean_object*, size_t, size_t); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -71,9 +69,9 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDef LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_instInhabitedPUnit; -lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1___closed__4; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Std_Range_forIn_loop___at___private_Lean_Compiler_LCNF_Simp_DefaultAlt_0__Lean_Compiler_LCNF_Simp_getMaxOccs_getNumOccsOf___spec__1___closed__1() { @@ -694,18 +692,17 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1___closed__5; x_10 = lean_panic_fn(x_9, x_1); -x_11 = lean_box(x_4); -x_12 = lean_apply_7(x_10, x_2, x_3, x_11, x_5, x_6, x_7, x_8); -return x_12; +x_11 = lean_apply_7(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -759,7 +756,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -770,6 +767,7 @@ lean_object* x_14; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); x_14 = lean_alloc_ctor(0, 2, 0); @@ -871,6 +869,7 @@ x_50 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spe lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); x_51 = l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1(x_50, x_6, x_7, x_8, x_9, x_10, x_11, x_12); @@ -895,6 +894,7 @@ lean_dec(x_24); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); x_54 = !lean_is_exclusive(x_51); @@ -1012,6 +1012,7 @@ x_85 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spe lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); x_86 = l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1(x_85, x_6, x_7, x_8, x_9, x_10, x_11, x_12); @@ -1038,6 +1039,7 @@ lean_dec(x_58); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); x_90 = lean_ctor_get(x_86, 0); @@ -1136,7 +1138,7 @@ lean_ctor_set(x_4, 1, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_41; lean_object* x_42; uint8_t x_43; @@ -1188,6 +1190,7 @@ lean_object* x_53; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_53 = lean_alloc_ctor(0, 2, 0); @@ -1205,6 +1208,7 @@ lean_dec(x_41); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_54 = lean_alloc_ctor(0, 2, 0); @@ -1311,6 +1315,7 @@ lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_39 = lean_alloc_ctor(0, 2, 0); @@ -1321,48 +1326,35 @@ return x_39; } } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_panic___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___lambda__1(x_1, x_11, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__2(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_2); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_Simp_addDefaultAlt___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1379,16 +1371,6 @@ x_7 = lean_box(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_addDefaultAlt(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Simp_SimpM(uint8_t builtin, lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/FunDeclInfo.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/FunDeclInfo.c index 3c1157570b..65d5f53728 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/FunDeclInfo.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/FunDeclInfo.c @@ -34,7 +34,7 @@ static lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMa lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4___closed__3; -lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_instReprFunDeclInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -59,7 +59,7 @@ static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Comp static lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfo_noConfusion___rarg___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfo_toCtorIdx(uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfo_toCtorIdx___boxed(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__17; @@ -70,24 +70,24 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfo_noConfusion___rar static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__8; size_t lean_usize_modn(size_t, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addArgOcc(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addArgOcc(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__2(lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__1; LEAN_EXPORT lean_object* l_Lean_AssocList_erase___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__15; static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__3; static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__5; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instInhabitedFunDeclInfoMap; lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfo_noConfusion___rarg___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__2___boxed(lean_object*, lean_object*); @@ -105,11 +105,11 @@ static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Comp lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__7; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__5(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_instInhabitedFunDeclInfoMap___closed__1; @@ -125,7 +125,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfo_noConfusion(lean_ lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8_(uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_erase___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__2(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__2(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_FunDeclInfo_0__Lean_Compiler_LCNF_Simp_reprFunDeclInfo____x40_Lean_Compiler_LCNF_Simp_FunDeclInfo___hyg_8____closed__16; LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__8___boxed(lean_object*, lean_object*, lean_object*); @@ -723,7 +723,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_1) == 0) @@ -818,7 +818,7 @@ return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -896,27 +896,25 @@ return x_7; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_format(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__2(lean_object* x_1, lean_object* x_2) { @@ -1583,7 +1581,7 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addArgOcc(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addArgOcc(lean_object* x_1, 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; @@ -1668,18 +1666,17 @@ return x_31; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addArgOcc___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addArgOcc(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addArgOcc(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs(lean_object* x_1, 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: { switch (lean_obj_tag(x_1)) { @@ -1795,18 +1792,17 @@ return x_38; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_addOccs(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -1839,7 +1835,7 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__2(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__2(uint8_t x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -1854,6 +1850,7 @@ lean_dec(x_13); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_15 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(x_1, x_14, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_15) == 0) @@ -1877,6 +1874,7 @@ uint8_t x_21; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); x_21 = !lean_is_exclusive(x_15); if (x_21 == 0) @@ -1904,6 +1902,7 @@ lean_object* x_25; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); x_25 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_25, 0, x_5); @@ -1912,7 +1911,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; @@ -1923,6 +1922,7 @@ lean_dec(x_1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_12 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(x_2, x_11, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_12) == 0) @@ -1940,6 +1940,7 @@ uint8_t x_15; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); x_15 = !lean_is_exclusive(x_12); @@ -1963,7 +1964,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { switch (lean_obj_tag(x_2)) { @@ -2045,6 +2046,7 @@ lean_dec(x_33); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_36 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(x_1, x_35, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_36) == 0) @@ -2064,6 +2066,7 @@ lean_dec(x_34); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_39 = !lean_is_exclusive(x_36); if (x_39 == 0) @@ -2135,6 +2138,7 @@ lean_dec(x_44); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_62 = lean_box(0); lean_ctor_set(x_55, 0, x_62); @@ -2152,6 +2156,7 @@ lean_dec(x_44); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_64 = lean_box(0); lean_ctor_set(x_55, 0, x_64); @@ -2169,6 +2174,7 @@ x_68 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_upd lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_44); return x_68; @@ -2192,6 +2198,7 @@ lean_dec(x_44); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_73 = lean_box(0); x_74 = lean_alloc_ctor(0, 2, 0); @@ -2211,6 +2218,7 @@ lean_dec(x_44); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_76 = lean_box(0); x_77 = lean_alloc_ctor(0, 2, 0); @@ -2229,6 +2237,7 @@ x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_upd lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_44); return x_81; @@ -2243,6 +2252,7 @@ lean_dec(x_44); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_82 = !lean_is_exclusive(x_45); if (x_82 == 0) @@ -2284,6 +2294,7 @@ lean_dec(x_87); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_91 = lean_box(0); x_92 = lean_alloc_ctor(0, 2, 0); @@ -2303,6 +2314,7 @@ lean_dec(x_87); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_94 = lean_box(0); x_95 = lean_alloc_ctor(0, 2, 0); @@ -2329,6 +2341,7 @@ lean_object* x_100; lean_object* x_101; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_100 = lean_box(0); @@ -2343,64 +2356,57 @@ return x_101; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__1(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +uint8_t x_12; size_t x_13; size_t x_14; lean_object* x_15; x_12 = lean_unbox(x_1); lean_dec(x_1); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = lean_unbox(x_7); -lean_dec(x_7); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__2(x_12, x_2, x_13, x_14, x_5, x_6, x_15, x_8, x_9, x_10, x_11); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___spec__2(x_12, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_2); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___lambda__1(x_1, x_11, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10); -return x_13; +x_12 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___lambda__1(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update_go(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -2478,13 +2484,11 @@ return x_26; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_3); lean_dec(x_3); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(x_1, x_2, x_9, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(x_1, x_2, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineCandidate.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineCandidate.c index 08e93e1eb3..147a3d9194 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineCandidate.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineCandidate.c @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_arity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___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*); @@ -21,8 +21,8 @@ static lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___ lean_object* l_Lean_Compiler_LCNF_Decl_isCasesOnParam_x3f(lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams(lean_object*, lean_object*); lean_object* l_Lean_Expr_appArg_x21(lean_object*); @@ -30,43 +30,51 @@ lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrCore(lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_recursive___default; +lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___closed__1; lean_object* l_Lean_Compiler_LCNF_Decl_getArity(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_arity___boxed(lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___closed__3; lean_object* l_Lean_Compiler_LCNF_Decl_instantiateParamsLevelParams(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConstructorApp(lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static uint8_t _init_l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_recursive___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_arity(lean_object* x_1) { _start: { @@ -94,10 +102,10 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; +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; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; x_13 = l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(x_7, x_8, x_9, x_10, x_11, x_12); x_14 = lean_ctor_get(x_13, 1); lean_inc(x_14); @@ -118,91 +126,96 @@ x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); x_22 = lean_ctor_get(x_18, 2); lean_inc(x_22); -x_23 = lean_ctor_get_uint8(x_18, sizeof(void*)*6); -x_24 = lean_ctor_get(x_18, 3); -lean_inc(x_24); +x_23 = lean_ctor_get(x_18, 3); +lean_inc(x_23); +x_24 = lean_ctor_get_uint8(x_18, sizeof(void*)*7); x_25 = lean_ctor_get(x_18, 4); lean_inc(x_25); x_26 = lean_ctor_get(x_18, 5); lean_inc(x_26); +x_27 = lean_ctor_get(x_18, 6); +lean_inc(x_27); lean_dec(x_18); -x_27 = lean_unsigned_to_nat(1u); -x_28 = lean_nat_add(x_26, x_27); -lean_dec(x_26); -x_29 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_29, 0, x_20); -lean_ctor_set(x_29, 1, x_21); -lean_ctor_set(x_29, 2, x_22); -lean_ctor_set(x_29, 3, x_24); -lean_ctor_set(x_29, 4, x_25); -lean_ctor_set(x_29, 5, x_28); -lean_ctor_set_uint8(x_29, sizeof(void*)*6, x_23); -x_30 = lean_st_ref_set(x_7, x_29, x_19); -x_31 = !lean_is_exclusive(x_30); -if (x_31 == 0) +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_27, x_28); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_21); +lean_ctor_set(x_30, 2, x_22); +lean_ctor_set(x_30, 3, x_23); +lean_ctor_set(x_30, 4, x_25); +lean_ctor_set(x_30, 5, x_26); +lean_ctor_set(x_30, 6, x_29); +lean_ctor_set_uint8(x_30, sizeof(void*)*7, x_24); +x_31 = lean_st_ref_set(x_7, x_30, x_19); +x_32 = !lean_is_exclusive(x_31); +if (x_32 == 0) { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; -x_32 = lean_ctor_get(x_30, 0); -lean_dec(x_32); -x_33 = lean_ctor_get(x_1, 2); -x_34 = lean_ctor_get(x_1, 4); -x_35 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; uint8_t x_41; lean_object* x_42; lean_object* x_43; +x_33 = lean_ctor_get(x_31, 0); +lean_dec(x_33); +x_34 = lean_ctor_get(x_1, 2); +x_35 = lean_ctor_get(x_1, 4); +x_36 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1; lean_inc(x_2); -x_36 = lean_mk_array(x_2, x_35); -x_37 = lean_nat_sub(x_2, x_27); +x_37 = lean_mk_array(x_2, x_36); +x_38 = lean_nat_sub(x_2, x_28); lean_dec(x_2); -x_38 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_36, x_37); -x_39 = 1; -x_40 = 0; +x_39 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_37, x_38); +x_40 = 1; +x_41 = 0; +lean_inc(x_35); lean_inc(x_34); -lean_inc(x_33); -x_41 = lean_alloc_ctor(0, 4, 2); -lean_ctor_set(x_41, 0, x_33); -lean_ctor_set(x_41, 1, x_34); -lean_ctor_set(x_41, 2, x_4); -lean_ctor_set(x_41, 3, x_38); -lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_39); -lean_ctor_set_uint8(x_41, sizeof(void*)*4 + 1, x_40); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -lean_ctor_set(x_30, 0, x_42); -return x_30; +x_42 = lean_alloc_ctor(0, 4, 3); +lean_ctor_set(x_42, 0, x_34); +lean_ctor_set(x_42, 1, x_35); +lean_ctor_set(x_42, 2, x_4); +lean_ctor_set(x_42, 3, x_39); +lean_ctor_set_uint8(x_42, sizeof(void*)*4, x_40); +lean_ctor_set_uint8(x_42, sizeof(void*)*4 + 1, x_41); +lean_ctor_set_uint8(x_42, sizeof(void*)*4 + 2, x_41); +x_43 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_31, 0, x_43); +return x_31; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_43 = lean_ctor_get(x_30, 1); -lean_inc(x_43); -lean_dec(x_30); -x_44 = lean_ctor_get(x_1, 2); -x_45 = lean_ctor_get(x_1, 4); -x_46 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1; -lean_inc(x_2); -x_47 = lean_mk_array(x_2, x_46); -x_48 = lean_nat_sub(x_2, x_27); -lean_dec(x_2); -x_49 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_47, x_48); -x_50 = 1; -x_51 = 0; -lean_inc(x_45); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; uint8_t x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_44 = lean_ctor_get(x_31, 1); lean_inc(x_44); -x_52 = lean_alloc_ctor(0, 4, 2); -lean_ctor_set(x_52, 0, x_44); -lean_ctor_set(x_52, 1, x_45); -lean_ctor_set(x_52, 2, x_4); -lean_ctor_set(x_52, 3, x_49); -lean_ctor_set_uint8(x_52, sizeof(void*)*4, x_50); -lean_ctor_set_uint8(x_52, sizeof(void*)*4 + 1, x_51); -x_53 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_53, 0, x_52); -x_54 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_31); +x_45 = lean_ctor_get(x_1, 2); +x_46 = lean_ctor_get(x_1, 4); +x_47 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1; +lean_inc(x_2); +x_48 = lean_mk_array(x_2, x_47); +x_49 = lean_nat_sub(x_2, x_28); +lean_dec(x_2); +x_50 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_3, x_48, x_49); +x_51 = 1; +x_52 = 0; +lean_inc(x_46); +lean_inc(x_45); +x_53 = lean_alloc_ctor(0, 4, 3); +lean_ctor_set(x_53, 0, x_45); +lean_ctor_set(x_53, 1, x_46); +lean_ctor_set(x_53, 2, x_4); +lean_ctor_set(x_53, 3, x_50); +lean_ctor_set_uint8(x_53, sizeof(void*)*4, x_51); +lean_ctor_set_uint8(x_53, sizeof(void*)*4 + 1, x_52); +lean_ctor_set_uint8(x_53, sizeof(void*)*4 + 2, x_52); +x_54 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_43); -return x_54; +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_44); +return x_55; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; @@ -222,6 +235,7 @@ uint8_t x_17; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); @@ -262,6 +276,7 @@ x_25 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(x_1, x_2, x_3, lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); @@ -279,6 +294,7 @@ x_28 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(x_1, x_2, x_3, lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); @@ -286,19 +302,20 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; lean_inc(x_2); lean_inc(x_1); x_15 = l_Lean_Compiler_LCNF_Decl_instantiateParamsLevelParams(x_1, x_2); +lean_inc(x_1); x_16 = l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams(x_1, x_2); x_17 = l_Lean_Compiler_LCNF_Simp_incInline___rarg(x_9, x_10, x_11, x_12, x_13, x_14); x_18 = !lean_is_exclusive(x_17); 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; uint8_t x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; x_19 = lean_ctor_get(x_17, 0); lean_dec(x_19); x_20 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1; @@ -308,50 +325,56 @@ x_22 = lean_unsigned_to_nat(1u); x_23 = lean_nat_sub(x_3, x_22); lean_dec(x_3); x_24 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_4, x_21, x_23); -x_25 = 0; -x_26 = lean_alloc_ctor(0, 4, 2); -lean_ctor_set(x_26, 0, x_15); -lean_ctor_set(x_26, 1, x_16); -lean_ctor_set(x_26, 2, x_5); -lean_ctor_set(x_26, 3, x_24); -lean_ctor_set_uint8(x_26, sizeof(void*)*4, x_25); -lean_ctor_set_uint8(x_26, sizeof(void*)*4 + 1, x_6); -x_27 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_17, 0, x_27); +x_25 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +lean_dec(x_1); +x_26 = 0; +x_27 = lean_alloc_ctor(0, 4, 3); +lean_ctor_set(x_27, 0, x_15); +lean_ctor_set(x_27, 1, x_16); +lean_ctor_set(x_27, 2, x_5); +lean_ctor_set(x_27, 3, x_24); +lean_ctor_set_uint8(x_27, sizeof(void*)*4, x_26); +lean_ctor_set_uint8(x_27, sizeof(void*)*4 + 1, x_6); +lean_ctor_set_uint8(x_27, sizeof(void*)*4 + 2, x_25); +x_28 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_17, 0, x_28); return x_17; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_28 = lean_ctor_get(x_17, 1); -lean_inc(x_28); +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_29 = lean_ctor_get(x_17, 1); +lean_inc(x_29); lean_dec(x_17); -x_29 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1; +x_30 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1; lean_inc(x_3); -x_30 = lean_mk_array(x_3, x_29); -x_31 = lean_unsigned_to_nat(1u); -x_32 = lean_nat_sub(x_3, x_31); +x_31 = lean_mk_array(x_3, x_30); +x_32 = lean_unsigned_to_nat(1u); +x_33 = lean_nat_sub(x_3, x_32); lean_dec(x_3); -x_33 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_4, x_30, x_32); -x_34 = 0; -x_35 = lean_alloc_ctor(0, 4, 2); -lean_ctor_set(x_35, 0, x_15); -lean_ctor_set(x_35, 1, x_16); -lean_ctor_set(x_35, 2, x_5); -lean_ctor_set(x_35, 3, x_33); -lean_ctor_set_uint8(x_35, sizeof(void*)*4, x_34); -lean_ctor_set_uint8(x_35, sizeof(void*)*4 + 1, x_6); -x_36 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_36, 0, x_35); -x_37 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_28); -return x_37; +x_34 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_4, x_31, x_33); +x_35 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); +lean_dec(x_1); +x_36 = 0; +x_37 = lean_alloc_ctor(0, 4, 3); +lean_ctor_set(x_37, 0, x_15); +lean_ctor_set(x_37, 1, x_16); +lean_ctor_set(x_37, 2, x_5); +lean_ctor_set(x_37, 3, x_34); +lean_ctor_set_uint8(x_37, sizeof(void*)*4, x_36); +lean_ctor_set_uint8(x_37, sizeof(void*)*4 + 1, x_6); +lean_ctor_set_uint8(x_37, sizeof(void*)*4 + 2, x_35); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_29); +return x_39; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; @@ -385,6 +408,7 @@ lean_object* x_27; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -394,54 +418,53 @@ return x_21; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; +lean_object* x_28; lean_object* x_29; lean_free_object(x_21); x_28 = lean_box(0); -x_29 = lean_box(x_8); -x_30 = lean_apply_8(x_4, x_28, x_6, x_7, x_29, x_9, x_10, x_11, x_24); -return x_30; +x_29 = lean_apply_8(x_4, x_28, x_6, x_7, x_8, x_9, x_10, x_11, x_24); +return x_29; } } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_31 = lean_ctor_get(x_21, 0); -x_32 = lean_ctor_get(x_21, 1); -lean_inc(x_32); +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_21, 0); +x_31 = lean_ctor_get(x_21, 1); lean_inc(x_31); +lean_inc(x_30); lean_dec(x_21); -x_33 = lean_ctor_get(x_31, 0); -lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Expr_isConstructorApp(x_33, x_19); +x_32 = lean_ctor_get(x_30, 0); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Lean_Expr_isConstructorApp(x_32, x_19); lean_dec(x_19); -if (x_34 == 0) +if (x_33 == 0) { -lean_object* x_35; lean_object* x_36; +lean_object* x_34; lean_object* x_35; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_32); -return x_36; +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_31); +return x_35; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_box(0); -x_38 = lean_box(x_8); -x_39 = lean_apply_8(x_4, x_37, x_6, x_7, x_38, x_9, x_10, x_11, x_32); -return x_39; +lean_object* x_36; lean_object* x_37; +x_36 = lean_box(0); +x_37 = lean_apply_8(x_4, x_36, x_6, x_7, x_8, x_9, x_10, x_11, x_31); +return x_37; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_dec(x_7); @@ -453,6 +476,7 @@ x_16 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3(x_1, x_2, x_3, lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); return x_16; @@ -479,6 +503,7 @@ lean_dec(x_18); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); @@ -504,6 +529,7 @@ lean_dec(x_18); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); @@ -527,12 +553,12 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_dec(x_8); -x_16 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_1, x_11, x_13, x_14, x_15); +x_16 = l_Lean_Compiler_LCNF_getDecl_x3f(x_1, x_11, x_12, x_13, x_14, x_15); x_17 = lean_ctor_get(x_16, 0); lean_inc(x_17); if (lean_obj_tag(x_17) == 0) @@ -541,6 +567,7 @@ uint8_t x_18; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); @@ -577,7 +604,7 @@ if (x_7 == 0) lean_object* x_24; uint8_t x_25; x_24 = lean_ctor_get(x_9, 1); lean_inc(x_24); -x_25 = lean_ctor_get_uint8(x_24, sizeof(void*)*1 + 1); +x_25 = lean_ctor_get_uint8(x_24, 1); lean_dec(x_24); if (x_25 == 0) { @@ -610,6 +637,7 @@ lean_dec(x_29); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); @@ -647,6 +675,7 @@ lean_dec(x_36); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); @@ -691,7 +720,7 @@ return x_50; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; @@ -732,6 +761,7 @@ lean_object* x_28; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); @@ -783,6 +813,7 @@ lean_object* x_38; lean_object* x_39; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_5); @@ -825,7 +856,7 @@ return x_46; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; @@ -875,6 +906,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); @@ -915,6 +947,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); @@ -945,6 +978,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); @@ -994,6 +1028,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); @@ -1029,6 +1064,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); @@ -1076,7 +1112,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -1086,152 +1122,126 @@ x_11 = lean_unsigned_to_nat(2u); x_12 = l_Lean_Expr_isAppOfArity(x_1, x_10, x_11); if (x_12 == 0) { -uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_13 = 0; x_14 = lean_box(0); x_15 = lean_box(x_13); -x_16 = lean_box(x_4); -x_17 = lean_apply_10(x_9, x_1, x_15, x_14, x_2, x_3, x_16, x_5, x_6, x_7, x_8); -return x_17; +x_16 = lean_apply_10(x_9, x_1, x_15, x_14, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_16; } else { -lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_18 = l_Lean_Expr_appArg_x21(x_1); +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_17 = l_Lean_Expr_appArg_x21(x_1); lean_dec(x_1); -x_19 = 1; -x_20 = l_Lean_Compiler_LCNF_Simp_findExpr(x_18, x_19, x_4, x_5, x_6, x_7, x_8); -x_21 = lean_ctor_get(x_20, 0); +x_18 = 1; +x_19 = l_Lean_Compiler_LCNF_Simp_findExpr(x_17, x_18, x_4, x_5, x_6, x_7, x_8); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_box(0); -x_24 = lean_box(x_19); -x_25 = lean_box(x_4); -x_26 = lean_apply_10(x_9, x_21, x_24, x_23, x_2, x_3, x_25, x_5, x_6, x_7, x_22); -return x_26; +lean_dec(x_19); +x_22 = lean_box(0); +x_23 = lean_box(x_18); +x_24 = lean_apply_10(x_9, x_20, x_23, x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_21); +return x_24; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; uint8_t x_15; lean_object* x_16; +uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_5); lean_dec(x_5); -x_15 = lean_unbox(x_9); -lean_dec(x_9); -x_16 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13); -return x_16; +x_15 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__2(x_1, x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; uint8_t x_16; lean_object* x_17; +uint8_t x_15; lean_object* x_16; x_15 = lean_unbox(x_6); lean_dec(x_6); -x_16 = lean_unbox(x_10); -lean_dec(x_10); -x_17 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_16, x_11, x_12, x_13, x_14); +x_16 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); -return x_17; +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; uint8_t x_16; lean_object* x_17; +uint8_t x_15; lean_object* x_16; x_15 = lean_unbox(x_6); lean_dec(x_6); -x_16 = lean_unbox(x_10); -lean_dec(x_10); -x_17 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_16, x_11, x_12, x_13, x_14); -return x_17; +x_16 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_16; uint8_t x_17; uint8_t x_18; lean_object* x_19; +uint8_t x_16; uint8_t x_17; lean_object* x_18; x_16 = lean_unbox(x_6); lean_dec(x_6); x_17 = lean_unbox(x_7); lean_dec(x_7); -x_18 = lean_unbox(x_11); -lean_dec(x_11); -x_19 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_18, x_12, x_13, x_14, x_15); -return x_19; +x_18 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__6(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; uint8_t x_16; lean_object* x_17; +uint8_t x_15; lean_object* x_16; x_15 = lean_unbox(x_6); lean_dec(x_6); -x_16 = lean_unbox(x_10); -lean_dec(x_10); -x_17 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_16, x_11, x_12, x_13, x_14); -return x_17; +x_16 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__7(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8(x_1, x_11, x_3, x_4, x_5, x_12, x_7, x_8, x_9, x_10); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +x_12 = l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__8(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); @@ -1247,6 +1257,7 @@ lean_dec_ref(res); res = initialize_Lean_Compiler_LCNF_Simp_SimpM(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_recursive___default = _init_l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_recursive___default(); l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___lambda__1___closed__1); l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f___closed__1(); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineProj.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineProj.c index d1f694f019..19d0c063f0 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineProj.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/InlineProj.c @@ -14,8 +14,8 @@ extern "C" { #endif static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visitCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visitCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__4; static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__8; @@ -37,13 +37,12 @@ static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed_ lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_getArity(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__2; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__9; lean_object* l_Lean_Expr_sort___override(lean_object*); @@ -51,33 +50,30 @@ static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visi lean_object* l_Lean_Compiler_LCNF_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__6; +lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1___closed__5; lean_object* l_Lean_Expr_fvar___override(lean_object*); extern lean_object* l_Lean_instInhabitedFVarId; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visitCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__7; lean_object* lean_panic_fn(lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCodeDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(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_Lean_Expr_getAppFn(lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_OptionT_instMonadOptionT___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_isEmpty___rarg(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__10; -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1___closed__1() { @@ -144,15 +140,14 @@ x_3 = l_instInhabited___rarg(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1___closed__7; x_11 = lean_panic_fn(x_10, x_1); -x_12 = lean_box(x_5); -x_13 = lean_apply_8(x_11, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; +x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___closed__1() { @@ -251,7 +246,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; lean_object* x_12; lean_object* x_13; @@ -298,7 +293,7 @@ lean_inc(x_23); x_24 = lean_ctor_get(x_22, 1); lean_inc(x_24); lean_dec(x_22); -x_25 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_23, x_6, x_8, x_9, x_17); +x_25 = l_Lean_Compiler_LCNF_getDecl_x3f(x_23, x_6, x_7, x_8, x_9, x_17); x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); if (lean_obj_tag(x_26) == 0) @@ -309,6 +304,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -364,6 +360,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -391,6 +388,7 @@ x_48 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_45, x_47); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_49 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_43, x_42, x_48, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_34); lean_dec(x_43); if (lean_obj_tag(x_49) == 0) @@ -410,6 +408,7 @@ uint8_t x_53; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -459,6 +458,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -487,6 +487,7 @@ x_71 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_68, x_70); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_72 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_66, x_65, x_71, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_57); lean_dec(x_66); if (lean_obj_tag(x_72) == 0) @@ -506,6 +507,7 @@ lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -543,6 +545,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -643,6 +646,7 @@ lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -717,7 +721,7 @@ lean_inc(x_115); x_116 = lean_ctor_get(x_114, 1); lean_inc(x_116); lean_dec(x_114); -x_117 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_115, x_6, x_8, x_9, x_109); +x_117 = l_Lean_Compiler_LCNF_getDecl_x3f(x_115, x_6, x_7, x_8, x_9, x_109); x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); if (lean_obj_tag(x_118) == 0) @@ -728,6 +732,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -783,6 +788,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -810,6 +816,7 @@ x_140 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_137, x_139); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_141 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_135, x_134, x_140, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_126); lean_dec(x_135); if (lean_obj_tag(x_141) == 0) @@ -829,6 +836,7 @@ uint8_t x_145; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -878,6 +886,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -906,6 +915,7 @@ x_163 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_160, x_162); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_164 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_158, x_157, x_163, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_149); lean_dec(x_158); if (lean_obj_tag(x_164) == 0) @@ -925,6 +935,7 @@ lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -962,6 +973,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1062,6 +1074,7 @@ lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1136,7 +1149,7 @@ lean_inc(x_207); x_208 = lean_ctor_get(x_206, 1); lean_inc(x_208); lean_dec(x_206); -x_209 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_207, x_6, x_8, x_9, x_201); +x_209 = l_Lean_Compiler_LCNF_getDecl_x3f(x_207, x_6, x_7, x_8, x_9, x_201); x_210 = lean_ctor_get(x_209, 0); lean_inc(x_210); if (lean_obj_tag(x_210) == 0) @@ -1147,6 +1160,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1202,6 +1216,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1229,6 +1244,7 @@ x_232 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_229, x_231); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_233 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_227, x_226, x_232, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_218); lean_dec(x_227); if (lean_obj_tag(x_233) == 0) @@ -1248,6 +1264,7 @@ uint8_t x_237; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1297,6 +1314,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1325,6 +1343,7 @@ x_255 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_252, x_254); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_256 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_250, x_249, x_255, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_241); lean_dec(x_250); if (lean_obj_tag(x_256) == 0) @@ -1344,6 +1363,7 @@ lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1381,6 +1401,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1481,6 +1502,7 @@ lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1555,7 +1577,7 @@ lean_inc(x_299); x_300 = lean_ctor_get(x_298, 1); lean_inc(x_300); lean_dec(x_298); -x_301 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_299, x_6, x_8, x_9, x_293); +x_301 = l_Lean_Compiler_LCNF_getDecl_x3f(x_299, x_6, x_7, x_8, x_9, x_293); x_302 = lean_ctor_get(x_301, 0); lean_inc(x_302); if (lean_obj_tag(x_302) == 0) @@ -1566,6 +1588,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1621,6 +1644,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1648,6 +1672,7 @@ x_324 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_321, x_323); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_325 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_319, x_318, x_324, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_310); lean_dec(x_319); if (lean_obj_tag(x_325) == 0) @@ -1667,6 +1692,7 @@ uint8_t x_329; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1716,6 +1742,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1744,6 +1771,7 @@ x_347 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_344, x_346); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_348 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_342, x_341, x_347, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_333); lean_dec(x_342); if (lean_obj_tag(x_348) == 0) @@ -1763,6 +1791,7 @@ lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1800,6 +1829,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1900,6 +1930,7 @@ lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1974,7 +2005,7 @@ lean_inc(x_391); x_392 = lean_ctor_get(x_390, 1); lean_inc(x_392); lean_dec(x_390); -x_393 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_391, x_6, x_8, x_9, x_385); +x_393 = l_Lean_Compiler_LCNF_getDecl_x3f(x_391, x_6, x_7, x_8, x_9, x_385); x_394 = lean_ctor_get(x_393, 0); lean_inc(x_394); if (lean_obj_tag(x_394) == 0) @@ -1985,6 +2016,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2040,6 +2072,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2067,6 +2100,7 @@ x_416 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_413, x_415); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_417 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_411, x_410, x_416, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_402); lean_dec(x_411); if (lean_obj_tag(x_417) == 0) @@ -2086,6 +2120,7 @@ uint8_t x_421; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2135,6 +2170,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2163,6 +2199,7 @@ x_439 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_436, x_438); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_440 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_434, x_433, x_439, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_425); lean_dec(x_434); if (lean_obj_tag(x_440) == 0) @@ -2182,6 +2219,7 @@ lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2219,6 +2257,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2319,6 +2358,7 @@ lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2393,7 +2433,7 @@ lean_inc(x_483); x_484 = lean_ctor_get(x_482, 1); lean_inc(x_484); lean_dec(x_482); -x_485 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_483, x_6, x_8, x_9, x_477); +x_485 = l_Lean_Compiler_LCNF_getDecl_x3f(x_483, x_6, x_7, x_8, x_9, x_477); x_486 = lean_ctor_get(x_485, 0); lean_inc(x_486); if (lean_obj_tag(x_486) == 0) @@ -2404,6 +2444,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2459,6 +2500,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2486,6 +2528,7 @@ x_508 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_505, x_507); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_509 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_503, x_502, x_508, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_494); lean_dec(x_503); if (lean_obj_tag(x_509) == 0) @@ -2505,6 +2548,7 @@ uint8_t x_513; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2554,6 +2598,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2582,6 +2627,7 @@ x_531 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_528, x_530); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_532 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_526, x_525, x_531, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_517); lean_dec(x_526); if (lean_obj_tag(x_532) == 0) @@ -2601,6 +2647,7 @@ lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2638,6 +2685,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2738,6 +2786,7 @@ lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2812,7 +2861,7 @@ lean_inc(x_575); x_576 = lean_ctor_get(x_574, 1); lean_inc(x_576); lean_dec(x_574); -x_577 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_575, x_6, x_8, x_9, x_569); +x_577 = l_Lean_Compiler_LCNF_getDecl_x3f(x_575, x_6, x_7, x_8, x_9, x_569); x_578 = lean_ctor_get(x_577, 0); lean_inc(x_578); if (lean_obj_tag(x_578) == 0) @@ -2823,6 +2872,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2878,6 +2928,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2905,6 +2956,7 @@ x_600 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_597, x_599); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_601 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_595, x_594, x_600, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_586); lean_dec(x_595); if (lean_obj_tag(x_601) == 0) @@ -2924,6 +2976,7 @@ uint8_t x_605; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -2973,6 +3026,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3001,6 +3055,7 @@ x_623 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_620, x_622); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_624 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_618, x_617, x_623, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_609); lean_dec(x_618); if (lean_obj_tag(x_624) == 0) @@ -3020,6 +3075,7 @@ lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3057,6 +3113,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3157,6 +3214,7 @@ lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3231,7 +3289,7 @@ lean_inc(x_667); x_668 = lean_ctor_get(x_666, 1); lean_inc(x_668); lean_dec(x_666); -x_669 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_667, x_6, x_8, x_9, x_661); +x_669 = l_Lean_Compiler_LCNF_getDecl_x3f(x_667, x_6, x_7, x_8, x_9, x_661); x_670 = lean_ctor_get(x_669, 0); lean_inc(x_670); if (lean_obj_tag(x_670) == 0) @@ -3242,6 +3300,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3297,6 +3356,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3324,6 +3384,7 @@ x_692 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_689, x_691); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_693 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_687, x_686, x_692, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_678); lean_dec(x_687); if (lean_obj_tag(x_693) == 0) @@ -3343,6 +3404,7 @@ uint8_t x_697; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3392,6 +3454,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3420,6 +3483,7 @@ x_715 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_712, x_714); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_716 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_710, x_709, x_715, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_701); lean_dec(x_710); if (lean_obj_tag(x_716) == 0) @@ -3439,6 +3503,7 @@ lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3476,6 +3541,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3576,6 +3642,7 @@ lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3650,7 +3717,7 @@ lean_inc(x_759); x_760 = lean_ctor_get(x_758, 1); lean_inc(x_760); lean_dec(x_758); -x_761 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_759, x_6, x_8, x_9, x_753); +x_761 = l_Lean_Compiler_LCNF_getDecl_x3f(x_759, x_6, x_7, x_8, x_9, x_753); x_762 = lean_ctor_get(x_761, 0); lean_inc(x_762); if (lean_obj_tag(x_762) == 0) @@ -3661,6 +3728,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3716,6 +3784,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3743,6 +3812,7 @@ x_784 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_781, x_783); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_785 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_779, x_778, x_784, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_770); lean_dec(x_779); if (lean_obj_tag(x_785) == 0) @@ -3762,6 +3832,7 @@ uint8_t x_789; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3811,6 +3882,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3839,6 +3911,7 @@ x_807 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_804, x_806); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_808 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_802, x_801, x_807, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_793); lean_dec(x_802); if (lean_obj_tag(x_808) == 0) @@ -3858,6 +3931,7 @@ lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3895,6 +3969,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -3995,6 +4070,7 @@ lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4069,7 +4145,7 @@ lean_inc(x_851); x_852 = lean_ctor_get(x_850, 1); lean_inc(x_852); lean_dec(x_850); -x_853 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_851, x_6, x_8, x_9, x_845); +x_853 = l_Lean_Compiler_LCNF_getDecl_x3f(x_851, x_6, x_7, x_8, x_9, x_845); x_854 = lean_ctor_get(x_853, 0); lean_inc(x_854); if (lean_obj_tag(x_854) == 0) @@ -4080,6 +4156,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4135,6 +4212,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4162,6 +4240,7 @@ x_876 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_873, x_875); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_877 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_871, x_870, x_876, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_862); lean_dec(x_871); if (lean_obj_tag(x_877) == 0) @@ -4181,6 +4260,7 @@ uint8_t x_881; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4230,6 +4310,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4258,6 +4339,7 @@ x_899 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_896, x_898); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_900 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_894, x_893, x_899, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_885); lean_dec(x_894); if (lean_obj_tag(x_900) == 0) @@ -4277,6 +4359,7 @@ lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4314,6 +4397,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4414,6 +4498,7 @@ lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4488,7 +4573,7 @@ lean_inc(x_943); x_944 = lean_ctor_get(x_942, 1); lean_inc(x_944); lean_dec(x_942); -x_945 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_943, x_6, x_8, x_9, x_937); +x_945 = l_Lean_Compiler_LCNF_getDecl_x3f(x_943, x_6, x_7, x_8, x_9, x_937); x_946 = lean_ctor_get(x_945, 0); lean_inc(x_946); if (lean_obj_tag(x_946) == 0) @@ -4499,6 +4584,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4554,6 +4640,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4581,6 +4668,7 @@ x_968 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_965, x_967); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_969 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_963, x_962, x_968, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_954); lean_dec(x_963); if (lean_obj_tag(x_969) == 0) @@ -4600,6 +4688,7 @@ uint8_t x_973; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4649,6 +4738,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4677,6 +4767,7 @@ x_991 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_13, x_988, x_990); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_992 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_986, x_985, x_991, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_977); lean_dec(x_986); if (lean_obj_tag(x_992) == 0) @@ -4696,6 +4787,7 @@ lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4733,6 +4825,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4833,6 +4926,7 @@ lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -4891,7 +4985,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visitCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visitCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { switch (lean_obj_tag(x_1)) { @@ -4965,52 +5059,40 @@ return x_37; } default: { -lean_object* x_38; lean_object* x_39; -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); +lean_object* x_38; uint8_t x_39; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_38 = lean_box(0); -x_39 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_10); -return x_39; -} -} -} -} -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_panic___at_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); +x_38 = l_Lean_Compiler_LCNF_eraseCode(x_1, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visitCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visitCode(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; +lean_object* x_40; lean_object* x_41; +x_40 = lean_ctor_get(x_38, 0); +lean_dec(x_40); +x_41 = lean_box(0); +lean_ctor_set(x_38, 0, x_41); +return x_38; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_38, 1); +lean_inc(x_42); +lean_dec(x_38); +x_43 = lean_box(0); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_42); +return x_44; +} +} +} } } static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1___closed__1() { @@ -5022,7 +5104,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -5044,6 +5126,7 @@ lean_dec(x_16); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_17); x_19 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f_visit(x_2, x_12, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_18); if (lean_obj_tag(x_19) == 0) @@ -5099,6 +5182,7 @@ uint8_t x_34; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); x_34 = !lean_is_exclusive(x_24); if (x_34 == 0) { @@ -5172,6 +5256,7 @@ lean_dec(x_17); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); x_50 = !lean_is_exclusive(x_19); if (x_50 == 0) { @@ -5193,7 +5278,7 @@ return x_53; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -5201,6 +5286,7 @@ lean_dec(x_4); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); x_12 = l_Lean_Compiler_LCNF_inferType(x_1, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_12) == 0) { @@ -5231,6 +5317,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); @@ -5265,6 +5352,7 @@ uint8_t x_26; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); @@ -5290,7 +5378,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 11) @@ -5303,6 +5391,7 @@ lean_inc(x_10); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_10); x_11 = l_Lean_Compiler_LCNF_inferType(x_10, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_11) == 0) @@ -5325,6 +5414,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -5371,6 +5461,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -5400,6 +5491,7 @@ lean_object* x_29; lean_object* x_30; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -5414,32 +5506,10 @@ return x_30; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_11; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/JpCases.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/JpCases.c index 069e887c0f..03ccbbd4eb 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/JpCases.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/JpCases.c @@ -29,18 +29,17 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___spec__1(lean_object*); LEAN_EXPORT uint8_t l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1___closed__2; uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp_JpCases___hyg_3139_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp_JpCases___hyg_3157_(lean_object*); lean_object* l_Array_append___rarg(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -59,9 +58,9 @@ LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Compiler_LCNF_Simp_simpJpCase LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__3; lean_object* lean_nat_add(lean_object*, lean_object*); @@ -74,9 +73,8 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_s LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___closed__1; LEAN_EXPORT uint8_t l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_inheritedTraceOptions; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_attachCodeDecls(lean_object*, lean_object*); @@ -85,59 +83,56 @@ static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___clo static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Compiler_LCNF_DependsOn_0__Lean_Compiler_LCNF_depOn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt___closed__1; extern lean_object* l_Lean_Compiler_LCNF_instInhabitedParam; -lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCodeDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1___closed__2; static lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1___closed__1; static lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7___closed__2; static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__2; -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__2; static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1___closed__1; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases(lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate(lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2___closed__2; static lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__3___boxed(lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__4; size_t lean_usize_of_nat(lean_object*); extern lean_object* l_Lean_NameSet_empty; static lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4___closed__2; static lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___closed__2; @@ -145,7 +140,7 @@ lean_object* l_Lean_Expr_fvar___override(lean_object*); size_t lean_ptr_addr(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__5; static lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__1___boxed(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_CasesCore_getCtorNames(lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6___closed__1; @@ -153,77 +148,72 @@ static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__3; -lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBMap_toList___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__4(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__4(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___closed__1; lean_object* l_Lean_indentD(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); uint8_t l_Lean_NameSet_contains(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__3; static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___spec__1___closed__1; static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__5; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_isJpCases_go(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___spec__1___closed__2; static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__8; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__4; static lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8___closed__5; -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBTree_toList___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__3(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__7; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___spec__1___closed__3; LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_isJpCases_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; -x_5 = lean_nat_dec_le(x_4, x_1); +x_5 = lean_nat_dec_le(x_4, x_2); if (x_5 == 0) { uint8_t x_6; @@ -251,7 +241,7 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_dec(x_4); x_11 = lean_ctor_get(x_3, 0); x_12 = lean_ctor_get(x_11, 2); -x_13 = lean_ctor_get(x_2, 0); +x_13 = lean_ctor_get(x_1, 0); x_14 = lean_name_eq(x_12, x_13); return x_14; } @@ -324,74 +314,134 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases(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_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_ctor_get(x_1, 2); -x_9 = lean_array_get_size(x_8); -x_10 = lean_unsigned_to_nat(1u); -x_11 = lean_nat_dec_eq(x_9, x_10); -if (x_11 == 0) +lean_object* x_7; lean_object* x_8; lean_object* x_9; uint8_t x_10; +x_7 = lean_ctor_get(x_1, 2); +x_8 = lean_array_get_size(x_7); +x_9 = lean_unsigned_to_nat(1u); +x_10 = lean_nat_dec_eq(x_8, x_9); +if (x_10 == 0) { -uint8_t x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_9); -x_12 = 0; -x_13 = lean_box(x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_7); -return x_14; +uint8_t x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_8); +x_11 = 0; +x_12 = lean_box(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_15; uint8_t x_16; -x_15 = lean_unsigned_to_nat(0u); -x_16 = lean_nat_dec_lt(x_15, x_9); -lean_dec(x_9); -if (x_16 == 0) +lean_object* x_14; uint8_t x_15; lean_object* x_16; +x_14 = lean_unsigned_to_nat(0u); +x_15 = lean_nat_dec_lt(x_14, x_8); +lean_dec(x_8); +x_16 = l_Lean_Compiler_LCNF_getConfig(x_2, x_3, x_4, x_5, x_6); +if (x_15 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; -x_17 = lean_ctor_get(x_1, 4); -x_18 = l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; -x_19 = l_panic___at_Lean_Compiler_LCNF_Simp_isJpCases___spec__1(x_18); -x_20 = l_Lean_Compiler_LCNF_Simp_isJpCases_go(x_2, x_19, x_17, x_15); -lean_dec(x_19); -x_21 = lean_box(x_20); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_7); -return x_22; +uint8_t x_17; +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; +x_18 = lean_ctor_get(x_16, 0); +x_19 = l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; +x_20 = l_panic___at_Lean_Compiler_LCNF_Simp_isJpCases___spec__1(x_19); +x_21 = lean_ctor_get(x_18, 0); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_ctor_get(x_1, 4); +x_23 = l_Lean_Compiler_LCNF_Simp_isJpCases_go(x_20, x_21, x_22, x_14); +lean_dec(x_21); +lean_dec(x_20); +x_24 = lean_box(x_23); +lean_ctor_set(x_16, 0, x_24); +return x_16; } else { -lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; -x_23 = lean_ctor_get(x_1, 4); -x_24 = lean_array_fget(x_8, x_15); -x_25 = l_Lean_Compiler_LCNF_Simp_isJpCases_go(x_2, x_24, x_23, x_15); -lean_dec(x_24); -x_26 = lean_box(x_25); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_7); -return x_27; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; +x_25 = lean_ctor_get(x_16, 0); +x_26 = lean_ctor_get(x_16, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_16); +x_27 = l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; +x_28 = l_panic___at_Lean_Compiler_LCNF_Simp_isJpCases___spec__1(x_27); +x_29 = lean_ctor_get(x_25, 0); +lean_inc(x_29); +lean_dec(x_25); +x_30 = lean_ctor_get(x_1, 4); +x_31 = l_Lean_Compiler_LCNF_Simp_isJpCases_go(x_28, x_29, x_30, x_14); +lean_dec(x_29); +lean_dec(x_28); +x_32 = lean_box(x_31); +x_33 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_26); +return x_33; +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_16); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; +x_35 = lean_ctor_get(x_16, 0); +x_36 = lean_array_fget(x_7, x_14); +x_37 = lean_ctor_get(x_35, 0); +lean_inc(x_37); +lean_dec(x_35); +x_38 = lean_ctor_get(x_1, 4); +x_39 = l_Lean_Compiler_LCNF_Simp_isJpCases_go(x_36, x_37, x_38, x_14); +lean_dec(x_37); +lean_dec(x_36); +x_40 = lean_box(x_39); +lean_ctor_set(x_16, 0, x_40); +return x_16; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; +x_41 = lean_ctor_get(x_16, 0); +x_42 = lean_ctor_get(x_16, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_16); +x_43 = lean_array_fget(x_7, x_14); +x_44 = lean_ctor_get(x_41, 0); +lean_inc(x_44); +lean_dec(x_41); +x_45 = lean_ctor_get(x_1, 4); +x_46 = l_Lean_Compiler_LCNF_Simp_isJpCases_go(x_43, x_44, x_45, x_14); +lean_dec(x_44); +lean_dec(x_43); +x_47 = lean_box(x_46); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_42); +return x_48; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isJpCases___boxed(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_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Simp_isJpCases(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -lean_dec(x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Simp_isJpCases(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_7; } } LEAN_EXPORT uint8_t l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate___spec__1(lean_object* x_1) { @@ -2900,565 +2950,568 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_12; -x_12 = lean_usize_dec_eq(x_3, x_4); -if (x_12 == 0) +uint8_t x_11; +x_11 = lean_usize_dec_eq(x_2, x_3); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; -lean_dec(x_5); -x_13 = lean_array_uget(x_2, x_3); -x_14 = l_Lean_Compiler_LCNF_AltCore_getCode(x_13); -lean_dec(x_13); -lean_inc(x_10); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; +lean_dec(x_4); +x_12 = lean_array_uget(x_1, x_2); +x_13 = l_Lean_Compiler_LCNF_AltCore_getCode(x_12); +lean_dec(x_12); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); -lean_inc(x_1); -x_15 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_1, x_14, x_6, x_7, x_8, x_9, x_10, x_11); -x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_5); +x_14 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_13, x_5, x_6, x_7, x_8, x_9, x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); -x_18 = 1; -x_19 = lean_usize_add(x_3, x_18); -x_3 = x_19; -x_5 = x_16; -x_11 = x_17; +lean_dec(x_14); +x_17 = 1; +x_18 = lean_usize_add(x_2, x_17); +x_2 = x_18; +x_4 = x_15; +x_10 = x_16; goto _start; } else { -lean_object* x_21; -lean_dec(x_10); +lean_object* x_20; lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -lean_dec(x_1); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_5); -lean_ctor_set(x_21, 1, x_11); -return x_21; +lean_dec(x_5); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_4); +lean_ctor_set(x_20, 1, x_10); +return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -lean_dec(x_4); -x_11 = lean_ctor_get(x_1, 4); -lean_inc(x_11); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_dec(x_3); +x_10 = lean_ctor_get(x_1, 4); +lean_inc(x_10); lean_dec(x_1); -lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); -lean_inc(x_2); -x_12 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_2, x_11, x_5, x_6, x_7, x_8, x_9, x_10); -x_13 = lean_ctor_get(x_12, 1); -lean_inc(x_13); -lean_dec(x_12); -x_14 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_2, x_3, x_5, x_6, x_7, x_8, x_9, x_13); -return x_14; +lean_inc(x_4); +x_11 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_10, x_4, x_5, x_6, x_7, x_8, x_9); +x_12 = lean_ctor_get(x_11, 1); +lean_inc(x_12); +lean_dec(x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_2, x_4, x_5, x_6, x_7, x_8, x_12); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(lean_object* x_1, 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: { -switch (lean_obj_tag(x_2)) { +switch (lean_obj_tag(x_1)) { case 0: { -lean_object* x_9; -x_9 = lean_ctor_get(x_2, 1); -lean_inc(x_9); -lean_dec(x_2); -x_2 = x_9; +lean_object* x_8; +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +lean_dec(x_1); +x_1 = x_8; goto _start; } case 1: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_11 = lean_ctor_get(x_2, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_10 = lean_ctor_get(x_1, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_1, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 1); +lean_dec(x_1); +x_12 = lean_ctor_get(x_10, 4); lean_inc(x_12); -lean_dec(x_2); -x_13 = lean_ctor_get(x_11, 4); -lean_inc(x_13); -lean_dec(x_11); -lean_inc(x_7); +lean_dec(x_10); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -lean_inc(x_1); -x_14 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_1, x_13, x_3, x_4, x_5, x_6, x_7, x_8); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_2 = x_12; -x_8 = x_15; +lean_inc(x_2); +x_13 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_12, x_2, x_3, x_4, x_5, x_6, x_7); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_1 = x_11; +x_7 = x_14; goto _start; } case 2: { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_2, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_1, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_1, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_2, 1); -lean_inc(x_18); -lean_dec(x_2); -x_19 = l_Lean_Compiler_LCNF_Simp_isJpCases(x_17, x_1, x_4, x_5, x_6, x_7, x_8); -x_20 = lean_ctor_get(x_19, 0); -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; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); +lean_dec(x_1); +x_18 = l_Lean_Compiler_LCNF_Simp_isJpCases(x_16, x_3, x_4, x_5, x_6, x_7); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_unbox(x_19); lean_dec(x_19); -x_23 = lean_box(0); -x_24 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(x_17, x_1, x_18, x_23, x_3, x_4, x_5, x_6, x_7, x_22); -return x_24; +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_box(0); +x_23 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(x_16, x_17, x_22, x_2, x_3, x_4, x_5, x_6, x_21); +return x_23; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_25 = lean_ctor_get(x_19, 1); -lean_inc(x_25); -lean_dec(x_19); -x_26 = lean_st_ref_get(x_7, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = lean_st_ref_take(x_3, x_27); -x_29 = lean_ctor_get(x_28, 0); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_24 = lean_ctor_get(x_18, 1); +lean_inc(x_24); +lean_dec(x_18); +x_25 = lean_st_ref_get(x_6, x_24); +x_26 = lean_ctor_get(x_25, 1); +lean_inc(x_26); +lean_dec(x_25); +x_27 = lean_st_ref_take(x_2, x_26); +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_dec(x_27); +x_30 = lean_ctor_get(x_16, 0); lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_ctor_get(x_17, 0); -lean_inc(x_31); -x_32 = l_Lean_NameSet_empty; -x_33 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_29, x_31, x_32); -x_34 = lean_st_ref_set(x_3, x_33, x_30); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_box(0); -x_37 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(x_17, x_1, x_18, x_36, x_3, x_4, x_5, x_6, x_7, x_35); -return x_37; +x_31 = l_Lean_NameSet_empty; +x_32 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_28, x_30, x_31); +x_33 = lean_st_ref_set(x_2, x_32, x_29); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_box(0); +x_36 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(x_16, x_17, x_35, x_2, x_3, x_4, x_5, x_6, x_34); +return x_36; } } case 3: { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -lean_dec(x_1); -x_38 = lean_ctor_get(x_2, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_37 = lean_ctor_get(x_1, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_1, 1); lean_inc(x_38); -x_39 = lean_ctor_get(x_2, 1); -lean_inc(x_39); +lean_dec(x_1); +x_39 = lean_array_get_size(x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_dec_eq(x_39, x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +lean_dec(x_39); +lean_dec(x_38); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_40 = lean_array_get_size(x_39); -x_41 = lean_unsigned_to_nat(1u); -x_42 = lean_nat_dec_eq(x_40, x_41); -if (x_42 == 0) -{ -lean_object* x_43; lean_object* x_44; -lean_dec(x_40); -lean_dec(x_39); -lean_dec(x_38); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_3); -x_43 = lean_box(0); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_8); -return x_44; +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_7); +return x_43; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; -x_45 = lean_st_ref_get(x_7, x_8); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_st_ref_get(x_3, x_46); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; +x_44 = lean_st_ref_get(x_6, x_7); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = lean_st_ref_get(x_2, x_45); +x_47 = !lean_is_exclusive(x_46); +if (x_47 == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_47, 0); -x_50 = lean_ctor_get(x_47, 1); -x_51 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__3(x_49, x_38); -lean_dec(x_49); -if (lean_obj_tag(x_51) == 0) +lean_object* x_48; lean_object* x_49; lean_object* x_50; +x_48 = lean_ctor_get(x_46, 0); +x_49 = lean_ctor_get(x_46, 1); +x_50 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__3(x_48, x_37); +lean_dec(x_48); +if (lean_obj_tag(x_50) == 0) { -lean_object* x_52; -lean_dec(x_40); +lean_object* x_51; lean_dec(x_39); lean_dec(x_38); -lean_dec(x_7); +lean_dec(x_37); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_52 = lean_box(0); -lean_ctor_set(x_47, 0, x_52); -return x_47; +lean_dec(x_2); +x_51 = lean_box(0); +lean_ctor_set(x_46, 0, x_51); +return x_46; } else { -lean_object* x_53; lean_object* x_54; uint8_t x_55; -lean_free_object(x_47); -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_unsigned_to_nat(0u); -x_55 = lean_nat_dec_lt(x_54, x_40); -lean_dec(x_40); -if (x_55 == 0) -{ -lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +lean_object* x_52; lean_object* x_53; uint8_t x_54; +lean_free_object(x_46); +x_52 = lean_ctor_get(x_50, 0); +lean_inc(x_52); +lean_dec(x_50); +x_53 = lean_unsigned_to_nat(0u); +x_54 = lean_nat_dec_lt(x_53, x_39); lean_dec(x_39); -x_56 = l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; -x_57 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_56); -x_58 = 1; -x_59 = l_Lean_Compiler_LCNF_Simp_findExpr(x_57, x_58, x_4, x_5, x_6, x_7, x_50); -lean_dec(x_6); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +lean_dec(x_38); +x_55 = l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; +x_56 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_55); +x_57 = 1; +x_58 = l_Lean_Compiler_LCNF_Simp_findExpr(x_56, x_57, x_3, x_4, x_5, x_6, x_49); lean_dec(x_5); -x_60 = lean_ctor_get(x_59, 0); +lean_dec(x_4); +lean_dec(x_3); +x_59 = lean_ctor_get(x_58, 0); +lean_inc(x_59); +x_60 = lean_ctor_get(x_58, 1); lean_inc(x_60); -x_61 = lean_ctor_get(x_59, 1); -lean_inc(x_61); -lean_dec(x_59); -x_62 = lean_st_ref_get(x_7, x_61); -x_63 = !lean_is_exclusive(x_62); -if (x_63 == 0) +lean_dec(x_58); +x_61 = lean_st_ref_get(x_6, x_60); +x_62 = !lean_is_exclusive(x_61); +if (x_62 == 0) { -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; -x_64 = lean_ctor_get(x_62, 0); -x_65 = lean_ctor_get(x_62, 1); -x_66 = lean_ctor_get(x_64, 0); -lean_inc(x_66); -lean_dec(x_64); -x_67 = 0; -x_68 = l_Lean_Expr_constructorApp_x3f(x_66, x_60, x_67); -if (lean_obj_tag(x_68) == 0) +lean_object* x_63; lean_object* x_64; lean_object* x_65; uint8_t x_66; lean_object* x_67; +x_63 = lean_ctor_get(x_61, 0); +x_64 = lean_ctor_get(x_61, 1); +x_65 = lean_ctor_get(x_63, 0); +lean_inc(x_65); +lean_dec(x_63); +x_66 = 0; +x_67 = l_Lean_Expr_constructorApp_x3f(x_65, x_59, x_66); +if (lean_obj_tag(x_67) == 0) { -lean_object* x_69; -lean_dec(x_53); -lean_dec(x_38); -lean_dec(x_7); -lean_dec(x_3); -x_69 = lean_box(0); -lean_ctor_set(x_62, 0, x_69); -return x_62; +lean_object* x_68; +lean_dec(x_52); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_2); +x_68 = lean_box(0); +lean_ctor_set(x_61, 0, x_68); +return x_61; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; -lean_free_object(x_62); -x_70 = lean_ctor_get(x_68, 0); +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +lean_free_object(x_61); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +lean_dec(x_67); +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_get(x_7, x_65); -lean_dec(x_7); -x_73 = lean_ctor_get(x_72, 1); -lean_inc(x_73); -lean_dec(x_72); -x_74 = lean_st_ref_take(x_3, x_73); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_71, 0); -lean_inc(x_77); +lean_dec(x_69); +x_71 = lean_st_ref_get(x_6, x_64); +lean_dec(x_6); +x_72 = lean_ctor_get(x_71, 1); +lean_inc(x_72); lean_dec(x_71); -x_78 = lean_ctor_get(x_77, 0); -lean_inc(x_78); -lean_dec(x_77); -x_79 = lean_box(0); -x_80 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_53, x_78, x_79); -x_81 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_75, x_38, x_80); -x_82 = lean_st_ref_set(x_3, x_81, x_76); -lean_dec(x_3); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) +x_73 = lean_st_ref_take(x_2, x_72); +x_74 = lean_ctor_get(x_73, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_ctor_get(x_70, 0); +lean_inc(x_76); +lean_dec(x_70); +x_77 = lean_ctor_get(x_76, 0); +lean_inc(x_77); +lean_dec(x_76); +x_78 = lean_box(0); +x_79 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_52, x_77, x_78); +x_80 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_74, x_37, x_79); +x_81 = lean_st_ref_set(x_2, x_80, x_75); +lean_dec(x_2); +x_82 = !lean_is_exclusive(x_81); +if (x_82 == 0) { -lean_object* x_84; -x_84 = lean_ctor_get(x_82, 0); -lean_dec(x_84); -lean_ctor_set(x_82, 0, x_79); -return x_82; +lean_object* x_83; +x_83 = lean_ctor_get(x_81, 0); +lean_dec(x_83); +lean_ctor_set(x_81, 0, x_78); +return x_81; } else { -lean_object* x_85; lean_object* x_86; -x_85 = lean_ctor_get(x_82, 1); -lean_inc(x_85); -lean_dec(x_82); -x_86 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_86, 0, x_79); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_object* x_84; lean_object* x_85; +x_84 = lean_ctor_get(x_81, 1); +lean_inc(x_84); +lean_dec(x_81); +x_85 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_85, 0, x_78); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; -x_87 = lean_ctor_get(x_62, 0); -x_88 = lean_ctor_get(x_62, 1); -lean_inc(x_88); +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; lean_object* x_90; +x_86 = lean_ctor_get(x_61, 0); +x_87 = lean_ctor_get(x_61, 1); lean_inc(x_87); -lean_dec(x_62); -x_89 = lean_ctor_get(x_87, 0); -lean_inc(x_89); -lean_dec(x_87); -x_90 = 0; -x_91 = l_Lean_Expr_constructorApp_x3f(x_89, x_60, x_90); -if (lean_obj_tag(x_91) == 0) +lean_inc(x_86); +lean_dec(x_61); +x_88 = lean_ctor_get(x_86, 0); +lean_inc(x_88); +lean_dec(x_86); +x_89 = 0; +x_90 = l_Lean_Expr_constructorApp_x3f(x_88, x_59, x_89); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_92; lean_object* x_93; -lean_dec(x_53); -lean_dec(x_38); -lean_dec(x_7); -lean_dec(x_3); -x_92 = lean_box(0); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_88); -return x_93; +lean_object* x_91; lean_object* x_92; +lean_dec(x_52); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_2); +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_87); +return x_92; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_94 = lean_ctor_get(x_91, 0); +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_93 = lean_ctor_get(x_90, 0); +lean_inc(x_93); +lean_dec(x_90); +x_94 = lean_ctor_get(x_93, 0); lean_inc(x_94); -lean_dec(x_91); -x_95 = lean_ctor_get(x_94, 0); -lean_inc(x_95); -lean_dec(x_94); -x_96 = lean_st_ref_get(x_7, x_88); -lean_dec(x_7); -x_97 = lean_ctor_get(x_96, 1); -lean_inc(x_97); -lean_dec(x_96); -x_98 = lean_st_ref_take(x_3, x_97); -x_99 = lean_ctor_get(x_98, 0); -lean_inc(x_99); -x_100 = lean_ctor_get(x_98, 1); -lean_inc(x_100); -lean_dec(x_98); -x_101 = lean_ctor_get(x_95, 0); -lean_inc(x_101); +lean_dec(x_93); +x_95 = lean_st_ref_get(x_6, x_87); +lean_dec(x_6); +x_96 = lean_ctor_get(x_95, 1); +lean_inc(x_96); lean_dec(x_95); -x_102 = lean_ctor_get(x_101, 0); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_box(0); -x_104 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_53, x_102, x_103); -x_105 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_99, x_38, x_104); -x_106 = lean_st_ref_set(x_3, x_105, x_100); -lean_dec(x_3); -x_107 = lean_ctor_get(x_106, 1); -lean_inc(x_107); -if (lean_is_exclusive(x_106)) { - lean_ctor_release(x_106, 0); - lean_ctor_release(x_106, 1); - x_108 = x_106; +x_97 = lean_st_ref_take(x_2, x_96); +x_98 = lean_ctor_get(x_97, 0); +lean_inc(x_98); +x_99 = lean_ctor_get(x_97, 1); +lean_inc(x_99); +lean_dec(x_97); +x_100 = lean_ctor_get(x_94, 0); +lean_inc(x_100); +lean_dec(x_94); +x_101 = lean_ctor_get(x_100, 0); +lean_inc(x_101); +lean_dec(x_100); +x_102 = lean_box(0); +x_103 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_52, x_101, x_102); +x_104 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_98, x_37, x_103); +x_105 = lean_st_ref_set(x_2, x_104, x_99); +lean_dec(x_2); +x_106 = lean_ctor_get(x_105, 1); +lean_inc(x_106); +if (lean_is_exclusive(x_105)) { + lean_ctor_release(x_105, 0); + lean_ctor_release(x_105, 1); + x_107 = x_105; } else { - lean_dec_ref(x_106); - x_108 = lean_box(0); + lean_dec_ref(x_105); + x_107 = lean_box(0); } -if (lean_is_scalar(x_108)) { - x_109 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_107)) { + x_108 = lean_alloc_ctor(0, 2, 0); } else { - x_109 = x_108; + x_108 = x_107; } -lean_ctor_set(x_109, 0, x_103); -lean_ctor_set(x_109, 1, x_107); -return x_109; +lean_ctor_set(x_108, 0, x_102); +lean_ctor_set(x_108, 1, x_106); +return x_108; } } } else { -lean_object* x_110; uint8_t x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; uint8_t x_116; -x_110 = lean_array_fget(x_39, x_54); -lean_dec(x_39); -x_111 = 1; -x_112 = l_Lean_Compiler_LCNF_Simp_findExpr(x_110, x_111, x_4, x_5, x_6, x_7, x_50); -lean_dec(x_6); +lean_object* x_109; uint8_t x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_109 = lean_array_fget(x_38, x_53); +lean_dec(x_38); +x_110 = 1; +x_111 = l_Lean_Compiler_LCNF_Simp_findExpr(x_109, x_110, x_3, x_4, x_5, x_6, x_49); lean_dec(x_5); -x_113 = lean_ctor_get(x_112, 0); +lean_dec(x_4); +lean_dec(x_3); +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_st_ref_get(x_7, x_114); -x_116 = !lean_is_exclusive(x_115); -if (x_116 == 0) +lean_dec(x_111); +x_114 = lean_st_ref_get(x_6, x_113); +x_115 = !lean_is_exclusive(x_114); +if (x_115 == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; -x_117 = lean_ctor_get(x_115, 0); -x_118 = lean_ctor_get(x_115, 1); -x_119 = lean_ctor_get(x_117, 0); -lean_inc(x_119); -lean_dec(x_117); -x_120 = 0; -x_121 = l_Lean_Expr_constructorApp_x3f(x_119, x_113, x_120); -if (lean_obj_tag(x_121) == 0) +lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; +x_116 = lean_ctor_get(x_114, 0); +x_117 = lean_ctor_get(x_114, 1); +x_118 = lean_ctor_get(x_116, 0); +lean_inc(x_118); +lean_dec(x_116); +x_119 = 0; +x_120 = l_Lean_Expr_constructorApp_x3f(x_118, x_112, x_119); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_122; -lean_dec(x_53); -lean_dec(x_38); -lean_dec(x_7); -lean_dec(x_3); -x_122 = lean_box(0); -lean_ctor_set(x_115, 0, x_122); -return x_115; +lean_object* x_121; +lean_dec(x_52); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_2); +x_121 = lean_box(0); +lean_ctor_set(x_114, 0, x_121); +return x_114; } else { -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; uint8_t x_136; -lean_free_object(x_115); -x_123 = lean_ctor_get(x_121, 0); +lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; +lean_free_object(x_114); +x_122 = lean_ctor_get(x_120, 0); +lean_inc(x_122); +lean_dec(x_120); +x_123 = lean_ctor_get(x_122, 0); lean_inc(x_123); -lean_dec(x_121); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -lean_dec(x_123); -x_125 = lean_st_ref_get(x_7, x_118); -lean_dec(x_7); -x_126 = lean_ctor_get(x_125, 1); -lean_inc(x_126); -lean_dec(x_125); -x_127 = lean_st_ref_take(x_3, x_126); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -x_129 = lean_ctor_get(x_127, 1); -lean_inc(x_129); -lean_dec(x_127); -x_130 = lean_ctor_get(x_124, 0); -lean_inc(x_130); +lean_dec(x_122); +x_124 = lean_st_ref_get(x_6, x_117); +lean_dec(x_6); +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); lean_dec(x_124); -x_131 = lean_ctor_get(x_130, 0); -lean_inc(x_131); -lean_dec(x_130); -x_132 = lean_box(0); -x_133 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_53, x_131, x_132); -x_134 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_128, x_38, x_133); -x_135 = lean_st_ref_set(x_3, x_134, x_129); -lean_dec(x_3); -x_136 = !lean_is_exclusive(x_135); -if (x_136 == 0) +x_126 = lean_st_ref_take(x_2, x_125); +x_127 = lean_ctor_get(x_126, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_126, 1); +lean_inc(x_128); +lean_dec(x_126); +x_129 = lean_ctor_get(x_123, 0); +lean_inc(x_129); +lean_dec(x_123); +x_130 = lean_ctor_get(x_129, 0); +lean_inc(x_130); +lean_dec(x_129); +x_131 = lean_box(0); +x_132 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_52, x_130, x_131); +x_133 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_127, x_37, x_132); +x_134 = lean_st_ref_set(x_2, x_133, x_128); +lean_dec(x_2); +x_135 = !lean_is_exclusive(x_134); +if (x_135 == 0) { -lean_object* x_137; -x_137 = lean_ctor_get(x_135, 0); -lean_dec(x_137); -lean_ctor_set(x_135, 0, x_132); -return x_135; +lean_object* x_136; +x_136 = lean_ctor_get(x_134, 0); +lean_dec(x_136); +lean_ctor_set(x_134, 0, x_131); +return x_134; } else { -lean_object* x_138; lean_object* x_139; -x_138 = lean_ctor_get(x_135, 1); -lean_inc(x_138); -lean_dec(x_135); -x_139 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_139, 0, x_132); -lean_ctor_set(x_139, 1, x_138); -return x_139; +lean_object* x_137; lean_object* x_138; +x_137 = lean_ctor_get(x_134, 1); +lean_inc(x_137); +lean_dec(x_134); +x_138 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_138, 0, x_131); +lean_ctor_set(x_138, 1, x_137); +return x_138; } } } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; uint8_t x_143; lean_object* x_144; -x_140 = lean_ctor_get(x_115, 0); -x_141 = lean_ctor_get(x_115, 1); -lean_inc(x_141); +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; lean_object* x_143; +x_139 = lean_ctor_get(x_114, 0); +x_140 = lean_ctor_get(x_114, 1); lean_inc(x_140); -lean_dec(x_115); -x_142 = lean_ctor_get(x_140, 0); -lean_inc(x_142); -lean_dec(x_140); -x_143 = 0; -x_144 = l_Lean_Expr_constructorApp_x3f(x_142, x_113, x_143); -if (lean_obj_tag(x_144) == 0) +lean_inc(x_139); +lean_dec(x_114); +x_141 = lean_ctor_get(x_139, 0); +lean_inc(x_141); +lean_dec(x_139); +x_142 = 0; +x_143 = l_Lean_Expr_constructorApp_x3f(x_141, x_112, x_142); +if (lean_obj_tag(x_143) == 0) { -lean_object* x_145; lean_object* x_146; -lean_dec(x_53); -lean_dec(x_38); -lean_dec(x_7); -lean_dec(x_3); -x_145 = lean_box(0); -x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_145); -lean_ctor_set(x_146, 1, x_141); -return x_146; +lean_object* x_144; lean_object* x_145; +lean_dec(x_52); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_2); +x_144 = lean_box(0); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_140); +return x_145; } else { -lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_147 = lean_ctor_get(x_144, 0); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +x_146 = lean_ctor_get(x_143, 0); +lean_inc(x_146); +lean_dec(x_143); +x_147 = lean_ctor_get(x_146, 0); lean_inc(x_147); -lean_dec(x_144); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -lean_dec(x_147); -x_149 = lean_st_ref_get(x_7, x_141); -lean_dec(x_7); -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_151 = lean_st_ref_take(x_3, x_150); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_151, 1); -lean_inc(x_153); -lean_dec(x_151); -x_154 = lean_ctor_get(x_148, 0); -lean_inc(x_154); +lean_dec(x_146); +x_148 = lean_st_ref_get(x_6, x_140); +lean_dec(x_6); +x_149 = lean_ctor_get(x_148, 1); +lean_inc(x_149); lean_dec(x_148); -x_155 = lean_ctor_get(x_154, 0); -lean_inc(x_155); -lean_dec(x_154); -x_156 = lean_box(0); -x_157 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_53, x_155, x_156); -x_158 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_152, x_38, x_157); -x_159 = lean_st_ref_set(x_3, x_158, x_153); -lean_dec(x_3); -x_160 = lean_ctor_get(x_159, 1); -lean_inc(x_160); -if (lean_is_exclusive(x_159)) { - lean_ctor_release(x_159, 0); - lean_ctor_release(x_159, 1); - x_161 = x_159; +x_150 = lean_st_ref_take(x_2, x_149); +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_ctor_get(x_150, 1); +lean_inc(x_152); +lean_dec(x_150); +x_153 = lean_ctor_get(x_147, 0); +lean_inc(x_153); +lean_dec(x_147); +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +lean_dec(x_153); +x_155 = lean_box(0); +x_156 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_52, x_154, x_155); +x_157 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_151, x_37, x_156); +x_158 = lean_st_ref_set(x_2, x_157, x_152); +lean_dec(x_2); +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_160 = x_158; } else { - lean_dec_ref(x_159); - x_161 = lean_box(0); + lean_dec_ref(x_158); + x_160 = lean_box(0); } -if (lean_is_scalar(x_161)) { - x_162 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_160)) { + x_161 = lean_alloc_ctor(0, 2, 0); } else { - x_162 = x_161; + x_161 = x_160; } -lean_ctor_set(x_162, 0, x_156); -lean_ctor_set(x_162, 1, x_160); -return x_162; +lean_ctor_set(x_161, 0, x_155); +lean_ctor_set(x_161, 1, x_159); +return x_161; } } } @@ -3466,240 +3519,243 @@ return x_162; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; -x_163 = lean_ctor_get(x_47, 0); -x_164 = lean_ctor_get(x_47, 1); -lean_inc(x_164); +lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_162 = lean_ctor_get(x_46, 0); +x_163 = lean_ctor_get(x_46, 1); lean_inc(x_163); -lean_dec(x_47); -x_165 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__3(x_163, x_38); -lean_dec(x_163); -if (lean_obj_tag(x_165) == 0) +lean_inc(x_162); +lean_dec(x_46); +x_164 = l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__3(x_162, x_37); +lean_dec(x_162); +if (lean_obj_tag(x_164) == 0) { -lean_object* x_166; lean_object* x_167; -lean_dec(x_40); +lean_object* x_165; lean_object* x_166; lean_dec(x_39); lean_dec(x_38); -lean_dec(x_7); +lean_dec(x_37); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_166 = lean_box(0); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_164); -return x_167; +lean_dec(x_2); +x_165 = lean_box(0); +x_166 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_163); +return x_166; } else { -lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_168 = lean_ctor_get(x_165, 0); -lean_inc(x_168); -lean_dec(x_165); -x_169 = lean_unsigned_to_nat(0u); -x_170 = lean_nat_dec_lt(x_169, x_40); -lean_dec(x_40); -if (x_170 == 0) -{ -lean_object* x_171; lean_object* x_172; uint8_t 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; uint8_t x_182; lean_object* x_183; +lean_object* x_167; lean_object* x_168; uint8_t x_169; +x_167 = lean_ctor_get(x_164, 0); +lean_inc(x_167); +lean_dec(x_164); +x_168 = lean_unsigned_to_nat(0u); +x_169 = lean_nat_dec_lt(x_168, x_39); lean_dec(x_39); -x_171 = l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; -x_172 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_171); -x_173 = 1; -x_174 = l_Lean_Compiler_LCNF_Simp_findExpr(x_172, x_173, x_4, x_5, x_6, x_7, x_164); -lean_dec(x_6); +if (x_169 == 0) +{ +lean_object* x_170; lean_object* x_171; uint8_t 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; uint8_t x_181; lean_object* x_182; +lean_dec(x_38); +x_170 = l_Lean_Compiler_LCNF_Simp_isJpCases___closed__4; +x_171 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_170); +x_172 = 1; +x_173 = l_Lean_Compiler_LCNF_Simp_findExpr(x_171, x_172, x_3, x_4, x_5, x_6, x_163); lean_dec(x_5); -x_175 = lean_ctor_get(x_174, 0); +lean_dec(x_4); +lean_dec(x_3); +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +x_175 = lean_ctor_get(x_173, 1); lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_st_ref_get(x_7, x_176); -x_178 = lean_ctor_get(x_177, 0); +lean_dec(x_173); +x_176 = lean_st_ref_get(x_6, x_175); +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); lean_inc(x_178); -x_179 = lean_ctor_get(x_177, 1); -lean_inc(x_179); -if (lean_is_exclusive(x_177)) { - lean_ctor_release(x_177, 0); - lean_ctor_release(x_177, 1); - x_180 = x_177; +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_179 = x_176; } else { - lean_dec_ref(x_177); - x_180 = lean_box(0); + lean_dec_ref(x_176); + x_179 = lean_box(0); } -x_181 = lean_ctor_get(x_178, 0); -lean_inc(x_181); -lean_dec(x_178); -x_182 = 0; -x_183 = l_Lean_Expr_constructorApp_x3f(x_181, x_175, x_182); -if (lean_obj_tag(x_183) == 0) +x_180 = lean_ctor_get(x_177, 0); +lean_inc(x_180); +lean_dec(x_177); +x_181 = 0; +x_182 = l_Lean_Expr_constructorApp_x3f(x_180, x_174, x_181); +if (lean_obj_tag(x_182) == 0) { -lean_object* x_184; lean_object* x_185; -lean_dec(x_168); -lean_dec(x_38); -lean_dec(x_7); -lean_dec(x_3); -x_184 = lean_box(0); -if (lean_is_scalar(x_180)) { - x_185 = lean_alloc_ctor(0, 2, 0); -} else { - x_185 = x_180; -} -lean_ctor_set(x_185, 0, x_184); -lean_ctor_set(x_185, 1, x_179); -return x_185; -} -else -{ -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_dec(x_180); -x_186 = lean_ctor_get(x_183, 0); -lean_inc(x_186); -lean_dec(x_183); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -lean_dec(x_186); -x_188 = lean_st_ref_get(x_7, x_179); -lean_dec(x_7); -x_189 = lean_ctor_get(x_188, 1); -lean_inc(x_189); -lean_dec(x_188); -x_190 = lean_st_ref_take(x_3, x_189); -x_191 = lean_ctor_get(x_190, 0); -lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -x_193 = lean_ctor_get(x_187, 0); -lean_inc(x_193); -lean_dec(x_187); -x_194 = lean_ctor_get(x_193, 0); -lean_inc(x_194); -lean_dec(x_193); -x_195 = lean_box(0); -x_196 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_168, x_194, x_195); -x_197 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_191, x_38, x_196); -x_198 = lean_st_ref_set(x_3, x_197, x_192); -lean_dec(x_3); -x_199 = lean_ctor_get(x_198, 1); -lean_inc(x_199); -if (lean_is_exclusive(x_198)) { - lean_ctor_release(x_198, 0); - lean_ctor_release(x_198, 1); - x_200 = x_198; -} else { - lean_dec_ref(x_198); - x_200 = lean_box(0); -} -if (lean_is_scalar(x_200)) { - x_201 = lean_alloc_ctor(0, 2, 0); -} else { - x_201 = x_200; -} -lean_ctor_set(x_201, 0, x_195); -lean_ctor_set(x_201, 1, x_199); -return x_201; -} -} -else -{ -lean_object* x_202; uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; uint8_t x_212; lean_object* x_213; -x_202 = lean_array_fget(x_39, x_169); -lean_dec(x_39); -x_203 = 1; -x_204 = l_Lean_Compiler_LCNF_Simp_findExpr(x_202, x_203, x_4, x_5, x_6, x_7, x_164); +lean_object* x_183; lean_object* x_184; +lean_dec(x_167); +lean_dec(x_37); lean_dec(x_6); -lean_dec(x_5); -x_205 = lean_ctor_get(x_204, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_204, 1); -lean_inc(x_206); -lean_dec(x_204); -x_207 = lean_st_ref_get(x_7, x_206); -x_208 = lean_ctor_get(x_207, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_207, 1); -lean_inc(x_209); -if (lean_is_exclusive(x_207)) { - lean_ctor_release(x_207, 0); - lean_ctor_release(x_207, 1); - x_210 = x_207; +lean_dec(x_2); +x_183 = lean_box(0); +if (lean_is_scalar(x_179)) { + x_184 = lean_alloc_ctor(0, 2, 0); } else { - lean_dec_ref(x_207); - x_210 = lean_box(0); + x_184 = x_179; } -x_211 = lean_ctor_get(x_208, 0); -lean_inc(x_211); -lean_dec(x_208); -x_212 = 0; -x_213 = l_Lean_Expr_constructorApp_x3f(x_211, x_205, x_212); -if (lean_obj_tag(x_213) == 0) -{ -lean_object* x_214; lean_object* x_215; -lean_dec(x_168); -lean_dec(x_38); -lean_dec(x_7); -lean_dec(x_3); -x_214 = lean_box(0); -if (lean_is_scalar(x_210)) { - x_215 = lean_alloc_ctor(0, 2, 0); -} else { - x_215 = x_210; -} -lean_ctor_set(x_215, 0, x_214); -lean_ctor_set(x_215, 1, x_209); -return x_215; +lean_ctor_set(x_184, 0, x_183); +lean_ctor_set(x_184, 1, x_178); +return x_184; } else { -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_dec(x_210); -x_216 = lean_ctor_get(x_213, 0); -lean_inc(x_216); -lean_dec(x_213); -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -lean_dec(x_216); -x_218 = lean_st_ref_get(x_7, x_209); -lean_dec(x_7); -x_219 = lean_ctor_get(x_218, 1); -lean_inc(x_219); -lean_dec(x_218); -x_220 = lean_st_ref_take(x_3, x_219); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_ctor_get(x_217, 0); -lean_inc(x_223); -lean_dec(x_217); -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -lean_dec(x_223); -x_225 = lean_box(0); -x_226 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_168, x_224, x_225); -x_227 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_221, x_38, x_226); -x_228 = lean_st_ref_set(x_3, x_227, x_222); +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_dec(x_179); +x_185 = lean_ctor_get(x_182, 0); +lean_inc(x_185); +lean_dec(x_182); +x_186 = lean_ctor_get(x_185, 0); +lean_inc(x_186); +lean_dec(x_185); +x_187 = lean_st_ref_get(x_6, x_178); +lean_dec(x_6); +x_188 = lean_ctor_get(x_187, 1); +lean_inc(x_188); +lean_dec(x_187); +x_189 = lean_st_ref_take(x_2, x_188); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = lean_ctor_get(x_186, 0); +lean_inc(x_192); +lean_dec(x_186); +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +lean_dec(x_192); +x_194 = lean_box(0); +x_195 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_167, x_193, x_194); +x_196 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_190, x_37, x_195); +x_197 = lean_st_ref_set(x_2, x_196, x_191); +lean_dec(x_2); +x_198 = lean_ctor_get(x_197, 1); +lean_inc(x_198); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + lean_ctor_release(x_197, 1); + x_199 = x_197; +} else { + lean_dec_ref(x_197); + x_199 = lean_box(0); +} +if (lean_is_scalar(x_199)) { + x_200 = lean_alloc_ctor(0, 2, 0); +} else { + x_200 = x_199; +} +lean_ctor_set(x_200, 0, x_194); +lean_ctor_set(x_200, 1, x_198); +return x_200; +} +} +else +{ +lean_object* x_201; uint8_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; lean_object* x_212; +x_201 = lean_array_fget(x_38, x_168); +lean_dec(x_38); +x_202 = 1; +x_203 = l_Lean_Compiler_LCNF_Simp_findExpr(x_201, x_202, x_3, x_4, x_5, x_6, x_163); +lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -x_229 = lean_ctor_get(x_228, 1); -lean_inc(x_229); -if (lean_is_exclusive(x_228)) { - lean_ctor_release(x_228, 0); - lean_ctor_release(x_228, 1); - x_230 = x_228; +x_204 = lean_ctor_get(x_203, 0); +lean_inc(x_204); +x_205 = lean_ctor_get(x_203, 1); +lean_inc(x_205); +lean_dec(x_203); +x_206 = lean_st_ref_get(x_6, x_205); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_206, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_206)) { + lean_ctor_release(x_206, 0); + lean_ctor_release(x_206, 1); + x_209 = x_206; } else { - lean_dec_ref(x_228); - x_230 = lean_box(0); + lean_dec_ref(x_206); + x_209 = lean_box(0); } -if (lean_is_scalar(x_230)) { - x_231 = lean_alloc_ctor(0, 2, 0); +x_210 = lean_ctor_get(x_207, 0); +lean_inc(x_210); +lean_dec(x_207); +x_211 = 0; +x_212 = l_Lean_Expr_constructorApp_x3f(x_210, x_204, x_211); +if (lean_obj_tag(x_212) == 0) +{ +lean_object* x_213; lean_object* x_214; +lean_dec(x_167); +lean_dec(x_37); +lean_dec(x_6); +lean_dec(x_2); +x_213 = lean_box(0); +if (lean_is_scalar(x_209)) { + x_214 = lean_alloc_ctor(0, 2, 0); } else { - x_231 = x_230; + x_214 = x_209; } -lean_ctor_set(x_231, 0, x_225); -lean_ctor_set(x_231, 1, x_229); -return x_231; +lean_ctor_set(x_214, 0, x_213); +lean_ctor_set(x_214, 1, x_208); +return x_214; +} +else +{ +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; 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_dec(x_209); +x_215 = lean_ctor_get(x_212, 0); +lean_inc(x_215); +lean_dec(x_212); +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +lean_dec(x_215); +x_217 = lean_st_ref_get(x_6, x_208); +lean_dec(x_6); +x_218 = lean_ctor_get(x_217, 1); +lean_inc(x_218); +lean_dec(x_217); +x_219 = lean_st_ref_take(x_2, x_218); +x_220 = lean_ctor_get(x_219, 0); +lean_inc(x_220); +x_221 = lean_ctor_get(x_219, 1); +lean_inc(x_221); +lean_dec(x_219); +x_222 = lean_ctor_get(x_216, 0); +lean_inc(x_222); +lean_dec(x_216); +x_223 = lean_ctor_get(x_222, 0); +lean_inc(x_223); +lean_dec(x_222); +x_224 = lean_box(0); +x_225 = l_Lean_RBNode_insert___at_Lean_NameSet_insert___spec__1(x_167, x_223, x_224); +x_226 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__1(x_220, x_37, x_225); +x_227 = lean_st_ref_set(x_2, x_226, x_221); +lean_dec(x_2); +x_228 = lean_ctor_get(x_227, 1); +lean_inc(x_228); +if (lean_is_exclusive(x_227)) { + lean_ctor_release(x_227, 0); + lean_ctor_release(x_227, 1); + x_229 = x_227; +} else { + lean_dec_ref(x_227); + x_229 = lean_box(0); +} +if (lean_is_scalar(x_229)) { + x_230 = lean_alloc_ctor(0, 2, 0); +} else { + x_230 = x_229; +} +lean_ctor_set(x_230, 0, x_224); +lean_ctor_set(x_230, 1, x_228); +return x_230; } } } @@ -3708,79 +3764,79 @@ return x_231; } case 4: { -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_232 = lean_ctor_get(x_2, 0); +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_231 = lean_ctor_get(x_1, 0); +lean_inc(x_231); +lean_dec(x_1); +x_232 = lean_ctor_get(x_231, 3); lean_inc(x_232); -lean_dec(x_2); -x_233 = lean_ctor_get(x_232, 3); -lean_inc(x_233); +lean_dec(x_231); +x_233 = lean_array_get_size(x_232); +x_234 = lean_unsigned_to_nat(0u); +x_235 = lean_nat_dec_lt(x_234, x_233); +if (x_235 == 0) +{ +lean_object* x_236; lean_object* x_237; +lean_dec(x_233); lean_dec(x_232); -x_234 = lean_array_get_size(x_233); -x_235 = lean_unsigned_to_nat(0u); -x_236 = lean_nat_dec_lt(x_235, x_234); -if (x_236 == 0) -{ -lean_object* x_237; lean_object* x_238; -lean_dec(x_234); -lean_dec(x_233); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_237 = lean_box(0); -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_8); -return x_238; +lean_dec(x_2); +x_236 = lean_box(0); +x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_237, 0, x_236); +lean_ctor_set(x_237, 1, x_7); +return x_237; } else { -uint8_t x_239; -x_239 = lean_nat_dec_le(x_234, x_234); -if (x_239 == 0) +uint8_t x_238; +x_238 = lean_nat_dec_le(x_233, x_233); +if (x_238 == 0) { -lean_object* x_240; lean_object* x_241; -lean_dec(x_234); +lean_object* x_239; lean_object* x_240; lean_dec(x_233); -lean_dec(x_7); +lean_dec(x_232); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -lean_dec(x_1); -x_240 = lean_box(0); -x_241 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_8); -return x_241; +lean_dec(x_2); +x_239 = lean_box(0); +x_240 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_240, 0, x_239); +lean_ctor_set(x_240, 1, x_7); +return x_240; } else { -size_t x_242; size_t x_243; lean_object* x_244; lean_object* x_245; -x_242 = 0; -x_243 = lean_usize_of_nat(x_234); -lean_dec(x_234); -x_244 = lean_box(0); -x_245 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(x_1, x_233, x_242, x_243, x_244, x_3, x_4, x_5, x_6, x_7, x_8); +size_t x_241; size_t x_242; lean_object* x_243; lean_object* x_244; +x_241 = 0; +x_242 = lean_usize_of_nat(x_233); lean_dec(x_233); -return x_245; +x_243 = lean_box(0); +x_244 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(x_232, x_241, x_242, x_243, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_232); +return x_244; } } } default: { -lean_object* x_246; lean_object* x_247; -lean_dec(x_7); +lean_object* x_245; lean_object* x_246; lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_246 = lean_box(0); -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_246); -lean_ctor_set(x_247, 1, x_8); -return x_247; +x_245 = lean_box(0); +x_246 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_246, 0, x_245); +lean_ctor_set(x_246, 1, x_7); +return x_246; } } } @@ -3795,99 +3851,67 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_11; size_t x_12; lean_object* x_13; +x_11 = lean_unbox_usize(x_2); +lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox_usize(x_4); -lean_dec(x_4); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(x_1, x_2, x_12, x_13, x_5, x_6, x_14, x_8, x_9, x_10, x_11); -lean_dec(x_2); -return x_15; +x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___spec__4(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo(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_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_8 = lean_box(0); -x_9 = lean_st_ref_get(x_6, x_7); -x_10 = lean_ctor_get(x_9, 1); -lean_inc(x_10); -lean_dec(x_9); -x_11 = lean_st_mk_ref(x_8, x_10); -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_7 = lean_box(0); +x_8 = lean_st_ref_get(x_5, x_6); +x_9 = lean_ctor_get(x_8, 1); +lean_inc(x_9); +lean_dec(x_8); +x_10 = lean_st_mk_ref(x_7, x_9); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); +lean_dec(x_10); +lean_inc(x_5); +lean_inc(x_11); +x_13 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_1, x_11, x_2, x_3, x_4, x_5, x_12); +x_14 = lean_ctor_get(x_13, 1); +lean_inc(x_14); +lean_dec(x_13); +x_15 = lean_st_ref_get(x_5, x_14); +lean_dec(x_5); +x_16 = lean_ctor_get(x_15, 1); +lean_inc(x_16); +lean_dec(x_15); +x_17 = lean_st_ref_get(x_11, x_16); lean_dec(x_11); -lean_inc(x_6); -lean_inc(x_12); -x_14 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo_go(x_2, x_1, x_12, x_3, x_4, x_5, x_6, x_13); -x_15 = lean_ctor_get(x_14, 1); -lean_inc(x_15); -lean_dec(x_14); -x_16 = lean_st_ref_get(x_6, x_15); -lean_dec(x_6); -x_17 = lean_ctor_get(x_16, 1); -lean_inc(x_17); -lean_dec(x_16); -x_18 = lean_st_ref_get(x_12, x_17); -lean_dec(x_12); -x_19 = !lean_is_exclusive(x_18); -if (x_19 == 0) +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -return x_18; +return x_17; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_18, 0); -x_21 = lean_ctor_get(x_18, 1); -lean_inc(x_21); +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_ctor_get(x_17, 1); lean_inc(x_20); -lean_dec(x_18); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_inc(x_19); +lean_dec(x_17); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_panic___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___spec__1___closed__1() { _start: { @@ -3956,7 +3980,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__1; x_2 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__2; -x_3 = lean_unsigned_to_nat(78u); +x_3 = lean_unsigned_to_nat(79u); x_4 = lean_unsigned_to_nat(11u); x_5 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4014,7 +4038,7 @@ x_3 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_ext return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -4067,7 +4091,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1(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, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; @@ -4158,7 +4182,7 @@ return x_42; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -4198,47 +4222,42 @@ return x_24; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_1); lean_dec(x_1); x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; uint8_t x_15; uint8_t x_16; lean_object* x_17; +uint8_t x_14; uint8_t x_15; lean_object* x_16; x_14 = lean_unbox(x_4); lean_dec(x_4); x_15 = lean_unbox(x_5); lean_dec(x_5); -x_16 = lean_unbox(x_9); -lean_dec(x_9); -x_17 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_16, x_10, x_11, x_12, x_13); +x_16 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___lambda__1(x_1, x_2, x_3, x_14, x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_8); lean_dec(x_7); -return x_17; +return x_16; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; uint8_t x_13; lean_object* x_14; +uint8_t x_12; lean_object* x_13; x_12 = lean_unbox(x_5); lean_dec(x_5); -x_13 = lean_unbox(x_7); -lean_dec(x_7); -x_14 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go(x_1, x_2, x_3, x_4, x_12, x_6, x_13, x_8, x_9, x_10, x_11); -return x_14; +x_13 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go(x_1, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt___closed__1() { @@ -4250,7 +4269,7 @@ x_2 = l_Lean_mkHashMapImp___rarg(x_1); return x_2; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -4333,13 +4352,11 @@ return x_30; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; uint8_t x_12; lean_object* x_13; +uint8_t x_11; lean_object* x_12; x_11 = lean_unbox(x_5); lean_dec(x_5); -x_12 = lean_unbox(x_6); -lean_dec(x_6); -x_13 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt(x_1, x_2, x_3, x_4, x_11, x_12, x_7, x_8, x_9, x_10); -return x_13; +x_12 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt(x_1, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9, x_10); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__1(lean_object* x_1, lean_object* x_2) { @@ -4429,15 +4446,14 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2___closed__5; x_10 = lean_panic_fn(x_9, x_1); -x_11 = lean_box(x_4); -x_12 = lean_apply_7(x_10, x_2, x_3, x_11, x_5, x_6, x_7, x_8); -return x_12; +x_11 = lean_apply_7(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__3(lean_object* x_1, lean_object* x_2) { @@ -4498,7 +4514,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4509,6 +4525,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_11); @@ -4533,6 +4550,7 @@ x_20 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); x_21 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_15, x_20, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_21) == 0) { @@ -4568,6 +4586,7 @@ lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_32 = !lean_is_exclusive(x_21); if (x_32 == 0) { @@ -4615,6 +4634,7 @@ x_43 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); x_44 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_15, x_43, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_44) == 0) { @@ -4651,6 +4671,7 @@ lean_dec(x_40); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_56 = lean_ctor_get(x_44, 0); lean_inc(x_56); x_57 = lean_ctor_get(x_44, 1); @@ -4690,7 +4711,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -4743,7 +4764,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_extractJpCases_go___closed__1; x_2 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__4; -x_3 = lean_unsigned_to_nat(226u); +x_3 = lean_unsigned_to_nat(227u); x_4 = lean_unsigned_to_nat(4u); x_5 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -4762,7 +4783,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -4786,6 +4807,7 @@ lean_object* x_17; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4849,6 +4871,7 @@ lean_dec(x_18); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4883,6 +4906,7 @@ lean_dec(x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4921,6 +4945,7 @@ x_56 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_57 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_51, x_53, x_55, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_35); lean_dec(x_51); if (lean_obj_tag(x_57) == 0) @@ -4954,6 +4979,7 @@ x_66 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_62, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_62); @@ -4984,6 +5010,7 @@ x_74 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_69, lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_69); @@ -4997,6 +5024,7 @@ lean_dec(x_47); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5028,6 +5056,7 @@ lean_dec(x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_79 = lean_ctor_get_uint8(x_47, sizeof(void*)*1 + 1); @@ -5095,6 +5124,7 @@ x_96 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_97 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_91, x_93, x_95, x_96, x_3, x_4, x_5, x_6, x_7, x_8, x_35); lean_dec(x_91); if (lean_obj_tag(x_97) == 0) @@ -5128,6 +5158,7 @@ x_106 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_102 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_102); @@ -5158,6 +5189,7 @@ x_114 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_109 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_109); @@ -5171,6 +5203,7 @@ lean_dec(x_87); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5204,6 +5237,7 @@ lean_dec(x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_119 = lean_ctor_get_uint8(x_87, sizeof(void*)*1 + 1); @@ -5267,6 +5301,7 @@ lean_dec(x_18); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5303,6 +5338,7 @@ lean_dec(x_136); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5346,6 +5382,7 @@ x_153 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_154 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_148, x_150, x_152, x_153, x_3, x_4, x_5, x_6, x_7, x_8, x_130); lean_dec(x_148); if (lean_obj_tag(x_154) == 0) @@ -5379,6 +5416,7 @@ x_163 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_159 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_159); @@ -5409,6 +5447,7 @@ x_171 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_166 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_166); @@ -5422,6 +5461,7 @@ lean_dec(x_143); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5455,6 +5495,7 @@ lean_dec(x_136); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_176 = lean_ctor_get_uint8(x_143, sizeof(void*)*1 + 1); @@ -5540,6 +5581,7 @@ lean_dec(x_18); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5574,6 +5616,7 @@ lean_dec(x_201); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5612,6 +5655,7 @@ x_217 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_218 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_212, x_214, x_216, x_217, x_3, x_4, x_5, x_6, x_7, x_8, x_196); lean_dec(x_212); if (lean_obj_tag(x_218) == 0) @@ -5645,6 +5689,7 @@ x_227 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_223 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_223); @@ -5675,6 +5720,7 @@ x_235 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_230 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_230); @@ -5688,6 +5734,7 @@ lean_dec(x_208); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5719,6 +5766,7 @@ lean_dec(x_201); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_240 = lean_ctor_get_uint8(x_208, sizeof(void*)*1 + 1); @@ -5786,6 +5834,7 @@ x_257 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_258 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_252, x_254, x_256, x_257, x_3, x_4, x_5, x_6, x_7, x_8, x_196); lean_dec(x_252); if (lean_obj_tag(x_258) == 0) @@ -5819,6 +5868,7 @@ x_267 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_263 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_263); @@ -5849,6 +5899,7 @@ x_275 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_270 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_270); @@ -5862,6 +5913,7 @@ lean_dec(x_248); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5895,6 +5947,7 @@ lean_dec(x_201); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_280 = lean_ctor_get_uint8(x_248, sizeof(void*)*1 + 1); @@ -5958,6 +6011,7 @@ lean_dec(x_18); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5994,6 +6048,7 @@ lean_dec(x_297); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6037,6 +6092,7 @@ x_314 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_315 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_309, x_311, x_313, x_314, x_3, x_4, x_5, x_6, x_7, x_8, x_291); lean_dec(x_309); if (lean_obj_tag(x_315) == 0) @@ -6070,6 +6126,7 @@ x_324 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_320 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_320); @@ -6100,6 +6157,7 @@ x_332 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_327 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_327); @@ -6113,6 +6171,7 @@ lean_dec(x_304); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6146,6 +6205,7 @@ lean_dec(x_297); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_337 = lean_ctor_get_uint8(x_304, sizeof(void*)*1 + 1); @@ -6222,6 +6282,7 @@ lean_object* x_352; lean_object* x_353; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6292,6 +6353,7 @@ lean_dec(x_354); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6332,6 +6394,7 @@ lean_dec(x_377); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6380,6 +6443,7 @@ x_394 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_395 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_389, x_391, x_393, x_394, x_3, x_4, x_5, x_6, x_7, x_8, x_370); lean_dec(x_389); if (lean_obj_tag(x_395) == 0) @@ -6413,6 +6477,7 @@ x_404 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_400 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_400); @@ -6443,6 +6508,7 @@ x_412 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_407 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_407); @@ -6456,6 +6522,7 @@ lean_dec(x_384); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6489,6 +6556,7 @@ lean_dec(x_377); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_417 = lean_ctor_get_uint8(x_384, sizeof(void*)*1 + 1); @@ -6587,6 +6655,7 @@ lean_dec(x_354); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6627,6 +6696,7 @@ lean_dec(x_443); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6675,6 +6745,7 @@ x_460 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___closed__6; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_461 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_455, x_457, x_459, x_460, x_3, x_4, x_5, x_6, x_7, x_8, x_436); lean_dec(x_455); if (lean_obj_tag(x_461) == 0) @@ -6708,6 +6779,7 @@ x_470 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_466 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_466); @@ -6738,6 +6810,7 @@ x_478 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_473 lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_473); @@ -6751,6 +6824,7 @@ lean_dec(x_450); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -6784,6 +6858,7 @@ lean_dec(x_443); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_483 = lean_ctor_get_uint8(x_450, sizeof(void*)*1 + 1); @@ -6862,16 +6937,6 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_panic___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -6885,47 +6950,34 @@ return x_3; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJmp_x3f(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -6938,6 +6990,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -6949,88 +7002,89 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_3, x_2); -x_15 = lean_box(x_6); lean_inc(x_1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_16 = lean_apply_8(x_1, x_14, x_4, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_8(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_2, x_22); -x_24 = lean_array_fset(x_3, x_2, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_2, x_21); +x_23 = lean_array_fset(x_3, x_2, x_16); lean_dec(x_2); -x_2 = x_23; -x_3 = x_24; -x_10 = x_18; +x_2 = x_22; +x_3 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_2, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_2, x_25); lean_dec(x_2); -x_2 = x_27; -x_10 = x_18; +x_2 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -7039,7 +7093,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -7101,11 +7155,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___clos _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1), 8, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_1)) { @@ -7310,6 +7364,7 @@ lean_inc(x_47); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_48 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(x_47, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -7531,6 +7586,7 @@ lean_dec(x_45); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -7564,6 +7620,7 @@ lean_inc(x_97); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_97); @@ -7585,6 +7642,7 @@ lean_inc(x_101); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_102 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(x_101, x_2, x_3, x_4, x_5, x_6, x_7, x_100); @@ -7806,6 +7864,7 @@ lean_dec(x_96); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -7837,6 +7896,7 @@ lean_dec(x_96); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -7876,6 +7936,7 @@ lean_dec(x_96); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -8214,6 +8275,7 @@ lean_object* x_225; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_225 = lean_alloc_ctor(0, 2, 0); @@ -8265,7 +8327,7 @@ return x_11; } } } -LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_3) == 0) @@ -8321,7 +8383,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; uint8_t x_17; @@ -8387,7 +8449,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { uint8_t x_16; @@ -8398,6 +8460,7 @@ lean_object* x_17; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); @@ -8436,6 +8499,7 @@ lean_inc(x_33); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); x_34 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_15); @@ -8472,6 +8536,7 @@ x_42 = 0; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_35); lean_inc(x_32); lean_inc(x_2); @@ -8548,6 +8613,7 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); @@ -8588,6 +8654,7 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); @@ -8631,6 +8698,7 @@ lean_inc(x_80); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); x_81 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(x_80, x_9, x_10, x_11, x_12, x_13, x_14, x_15); @@ -8669,6 +8737,7 @@ x_90 = 0; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_82); lean_inc(x_79); lean_inc(x_2); @@ -8745,6 +8814,7 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); @@ -8786,6 +8856,7 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); @@ -8838,6 +8909,7 @@ lean_inc(x_128); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); x_129 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(x_128, x_9, x_10, x_11, x_12, x_13, x_14, x_15); @@ -8882,6 +8954,7 @@ x_140 = 1; lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_130); lean_inc(x_2); lean_inc(x_3); @@ -8989,6 +9062,7 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); @@ -9027,6 +9101,7 @@ lean_dec(x_18); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_4); @@ -11491,7 +11566,7 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; lean_object* x_114; lean_object* x_115; @@ -11554,6 +11629,7 @@ x_23 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1___close lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_15); @@ -11696,6 +11772,7 @@ lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -11845,6 +11922,7 @@ lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -11875,7 +11953,7 @@ return x_108; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -11889,6 +11967,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -11912,6 +11991,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -11932,46 +12012,6 @@ return x_18; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visit(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} LEAN_EXPORT lean_object* l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -11986,70 +12026,54 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_RBNode_forIn_visit___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_11); -lean_dec(x_11); -x_17 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_12, x_13, x_14, x_15); +lean_object* x_16; +x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_2); -return x_17; +return x_16; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -size_t x_16; size_t x_17; uint8_t x_18; lean_object* x_19; +size_t x_16; size_t x_17; lean_object* x_18; x_16 = lean_unbox_usize(x_6); lean_dec(x_6); x_17 = lean_unbox_usize(x_7); lean_dec(x_7); -x_18 = lean_unbox(x_11); -lean_dec(x_11); -x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_18, x_12, x_13, x_14, x_15); +x_18 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___spec__3(x_1, x_2, x_3, x_4, x_5, x_16, x_17, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_5); -return x_19; +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f_visitJp_x3f(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_RBNode_revFold___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__2(lean_object* x_1, lean_object* x_2) { @@ -12183,7 +12207,7 @@ x_1 = l_Lean_inheritedTraceOptions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -12258,7 +12282,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_1) == 0) @@ -12388,7 +12412,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -12614,7 +12638,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; @@ -12740,72 +12764,75 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_8; uint8_t x_9; -lean_inc(x_6); +lean_object* x_7; uint8_t x_8; lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); lean_inc(x_1); -x_8 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo(x_1, x_2, x_3, x_4, x_5, x_6, x_7); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) +x_7 = l_Lean_Compiler_LCNF_Simp_collectJpCasesInfo(x_1, x_2, x_3, x_4, x_5, x_6); +x_8 = !lean_is_exclusive(x_7); +if (x_8 == 0) { -lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_10 = lean_ctor_get(x_8, 0); -x_11 = lean_ctor_get(x_8, 1); -x_12 = l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate___spec__1(x_10); -if (x_12 == 0) +lean_object* x_9; lean_object* x_10; uint8_t x_11; +x_9 = lean_ctor_get(x_7, 0); +x_10 = lean_ctor_get(x_7, 1); +x_11 = l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate___spec__1(x_9); +if (x_11 == 0) { -lean_object* x_13; -lean_dec(x_10); -lean_dec(x_6); +lean_object* x_12; +lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); +x_12 = lean_box(0); +lean_ctor_set(x_7, 0, x_12); +return x_7; +} +else +{ +lean_object* x_13; lean_object* x_14; +lean_free_object(x_7); x_13 = lean_box(0); -lean_ctor_set(x_8, 0, x_13); -return x_8; -} -else -{ -lean_object* x_14; lean_object* x_15; -lean_free_object(x_8); -x_14 = lean_box(0); -x_15 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(x_10, x_1, x_14, x_3, x_4, x_5, x_6, x_11); -return x_15; +x_14 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(x_9, x_1, x_13, x_2, x_3, x_4, x_5, x_10); +return x_14; } } else { -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = lean_ctor_get(x_8, 0); -x_17 = lean_ctor_get(x_8, 1); -lean_inc(x_17); +lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_15 = lean_ctor_get(x_7, 0); +x_16 = lean_ctor_get(x_7, 1); lean_inc(x_16); -lean_dec(x_8); -x_18 = l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate___spec__1(x_16); -if (x_18 == 0) +lean_inc(x_15); +lean_dec(x_7); +x_17 = l_Lean_RBNode_any___at_Lean_Compiler_LCNF_Simp_JpCasesInfo_isCandidate___spec__1(x_15); +if (x_17 == 0) { -lean_object* x_19; lean_object* x_20; -lean_dec(x_16); -lean_dec(x_6); +lean_object* x_18; lean_object* x_19; +lean_dec(x_15); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -x_19 = lean_box(0); -x_20 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_17); -return x_20; +x_18 = lean_box(0); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_16); +return x_19; } else { -lean_object* x_21; lean_object* x_22; -x_21 = lean_box(0); -x_22 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(x_16, x_1, x_21, x_3, x_4, x_5, x_6, x_17); -return x_22; +lean_object* x_20; lean_object* x_21; +x_20 = lean_box(0); +x_21 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(x_15, x_1, x_20, x_2, x_3, x_4, x_5, x_16); +return x_21; } } } @@ -12831,64 +12858,49 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); +lean_object* x_7; +x_7 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_8 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__6(x_1, x_7, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_8; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__7(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_9; +lean_dec(x_3); +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f(x_1, x_2, x_8, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp_JpCases___hyg_3139_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp_JpCases___hyg_3157_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -13021,7 +13033,7 @@ l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__8 = _init_l_Lean lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__8); l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__9 = _init_l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__9(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_simpJpCases_x3f___lambda__1___closed__9); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp_JpCases___hyg_3139_(lean_io_mk_world()); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Simp_JpCases___hyg_3157_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Main.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Main.c index 419af63868..6b793dcd00 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Main.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Main.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Compiler.LCNF.Simp.Main -// Imports: Init Lean.Compiler.ImplementedByAttr Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Simp.FunDeclInfo Lean.Compiler.LCNF.Simp.InlineCandidate Lean.Compiler.LCNF.Simp.InlineProj Lean.Compiler.LCNF.Simp.Used Lean.Compiler.LCNF.Simp.DefaultAlt Lean.Compiler.LCNF.Simp.SimpValue +// Imports: Init Lean.Compiler.ImplementedByAttr Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Simp.FunDeclInfo Lean.Compiler.LCNF.Simp.InlineCandidate Lean.Compiler.LCNF.Simp.InlineProj Lean.Compiler.LCNF.Simp.Used Lean.Compiler.LCNF.Simp.DefaultAlt Lean.Compiler.LCNF.Simp.SimpValue Lean.Compiler.LCNF.Simp.ConstantFold #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -15,195 +15,169 @@ extern "C" { #endif LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick(lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4___boxed(lean_object**); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_arity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__2; -lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isReturnOf(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isReturnOf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__7; uint8_t l_Lean_Compiler_LCNF_hasLocalInst(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__1; static lean_object* l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__4; static lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; static lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__3; -lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_ConstantFold_foldConstants(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_environment_find(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isReturnOf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); -lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_Code_isFun(lean_object*); -lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_isUsed(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_isUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__3; lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__2; -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__5; lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_Code_isReturnOf(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_st_ref_take(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__6; lean_object* l_Lean_Compiler_LCNF_CasesCore_extractAlt_x21(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_getArity(lean_object*); -lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_CompilerM_codeBind(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_addFVarSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__3; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; -lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__10; +lean_object* l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarImp(lean_object*, lean_object*, uint8_t); -lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__3; -lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_inlineCandidate_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__8; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___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_Compiler_LCNF_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_isEtaExpandCandidateCore(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_normFunDeclImp(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__4; +lean_object* l_Lean_Compiler_LCNF_normFunDeclImp(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); -lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_ptr_addr(lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick___boxed(lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_addDefaultAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__2; -lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); lean_object* l_panic___at_Lean_Compiler_LCNF_CasesCore_extractAlt_x21___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___spec__2(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkNewParams(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkNewParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go(lean_object*, uint8_t, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltImp___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isInstance(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__2; -static lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__1; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__1() { _start: { @@ -355,7 +329,173 @@ x_3 = lean_box(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; +x_12 = lean_usize_dec_lt(x_3, x_2); +if (x_12 == 0) +{ +lean_object* x_13; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_4); +lean_ctor_set(x_13, 1, x_11); +return x_13; +} +else +{ +lean_object* x_14; uint8_t x_15; +x_14 = lean_array_uget(x_1, x_3); +x_15 = !lean_is_exclusive(x_4); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_16 = lean_ctor_get(x_4, 0); +x_17 = lean_ctor_get(x_4, 1); +x_18 = lean_ctor_get(x_16, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_16, 1); +lean_inc(x_19); +x_20 = lean_ctor_get(x_16, 2); +lean_inc(x_20); +x_21 = lean_nat_dec_lt(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_18); +lean_dec(x_14); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_4); +lean_ctor_set(x_22, 1, x_11); +return x_22; +} +else +{ +uint8_t x_23; +x_23 = !lean_is_exclusive(x_16); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; +x_24 = lean_ctor_get(x_16, 2); +lean_dec(x_24); +x_25 = lean_ctor_get(x_16, 1); +lean_dec(x_25); +x_26 = lean_ctor_get(x_16, 0); +lean_dec(x_26); +x_27 = lean_array_fget(x_18, x_19); +x_28 = lean_unsigned_to_nat(1u); +x_29 = lean_nat_add(x_19, x_28); +lean_dec(x_19); +lean_ctor_set(x_16, 1, x_29); +x_30 = lean_ctor_get(x_14, 0); +lean_inc(x_30); +lean_dec(x_14); +x_31 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_17, x_30, x_27); +lean_ctor_set(x_4, 1, x_31); +x_32 = 1; +x_33 = lean_usize_add(x_3, x_32); +x_3 = x_33; +goto _start; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; +lean_dec(x_16); +x_35 = lean_array_fget(x_18, x_19); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_add(x_19, x_36); +lean_dec(x_19); +x_38 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_38, 0, x_18); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_20); +x_39 = lean_ctor_get(x_14, 0); +lean_inc(x_39); +lean_dec(x_14); +x_40 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_17, x_39, x_35); +lean_ctor_set(x_4, 1, x_40); +lean_ctor_set(x_4, 0, x_38); +x_41 = 1; +x_42 = lean_usize_add(x_3, x_41); +x_3 = x_42; +goto _start; +} +} +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; +x_44 = lean_ctor_get(x_4, 0); +x_45 = lean_ctor_get(x_4, 1); +lean_inc(x_45); +lean_inc(x_44); +lean_dec(x_4); +x_46 = lean_ctor_get(x_44, 0); +lean_inc(x_46); +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +x_48 = lean_ctor_get(x_44, 2); +lean_inc(x_48); +x_49 = lean_nat_dec_lt(x_47, x_48); +if (x_49 == 0) +{ +lean_object* x_50; lean_object* x_51; +lean_dec(x_48); +lean_dec(x_47); +lean_dec(x_46); +lean_dec(x_14); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_44); +lean_ctor_set(x_50, 1, x_45); +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_11); +return x_51; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + x_52 = x_44; +} else { + lean_dec_ref(x_44); + x_52 = lean_box(0); +} +x_53 = lean_array_fget(x_46, x_47); +x_54 = lean_unsigned_to_nat(1u); +x_55 = lean_nat_add(x_47, x_54); +lean_dec(x_47); +if (lean_is_scalar(x_52)) { + x_56 = lean_alloc_ctor(0, 3, 0); +} else { + x_56 = x_52; +} +lean_ctor_set(x_56, 0, x_46); +lean_ctor_set(x_56, 1, x_55); +lean_ctor_set(x_56, 2, x_48); +x_57 = lean_ctor_get(x_14, 0); +lean_inc(x_57); +lean_dec(x_14); +x_58 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_45, x_57, x_53); +x_59 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_59, 0, x_56); +lean_ctor_set(x_59, 1, x_58); +x_60 = 1; +x_61 = lean_usize_add(x_3, x_60); +x_3 = x_61; +x_4 = x_59; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -453,7 +593,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; @@ -472,7 +612,7 @@ lean_ctor_set(x_15, 1, x_14); x_16 = lean_array_get_size(x_13); x_17 = lean_usize_of_nat(x_16); x_18 = 0; -x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(x_13, x_17, x_18, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +x_19 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(x_13, x_17, x_18, x_15, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); @@ -495,7 +635,7 @@ x_28 = lean_ctor_get(x_24, 1); lean_inc(x_28); x_29 = lean_usize_of_nat(x_28); lean_dec(x_28); -x_30 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(x_24, x_27, x_29, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_21); +x_30 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__2(x_24, x_27, x_29, x_20, x_2, x_3, x_4, x_5, x_6, x_7, x_21); lean_dec(x_24); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); @@ -520,6 +660,7 @@ x_39 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_37); x_40 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_37, x_39, x_2, x_3, x_4, x_5, x_6, x_7, x_38); if (lean_obj_tag(x_40) == 0) @@ -540,6 +681,7 @@ lean_dec(x_33); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_44 = !lean_is_exclusive(x_40); if (x_44 == 0) { @@ -579,7 +721,7 @@ x_54 = lean_ctor_get(x_49, 1); lean_inc(x_54); x_55 = lean_usize_of_nat(x_54); lean_dec(x_54); -x_56 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(x_49, x_53, x_55, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_21); +x_56 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__2(x_49, x_53, x_55, x_51, x_2, x_3, x_4, x_5, x_6, x_7, x_21); lean_dec(x_49); x_57 = lean_ctor_get(x_56, 0); lean_inc(x_57); @@ -604,6 +746,7 @@ x_65 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_63); x_66 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_63, x_65, x_2, x_3, x_4, x_5, x_6, x_7, x_64); if (lean_obj_tag(x_66) == 0) @@ -624,6 +767,7 @@ lean_dec(x_59); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_70 = lean_ctor_get(x_66, 0); lean_inc(x_70); x_71 = lean_ctor_get(x_66, 1); @@ -648,39 +792,55 @@ return x_73; } } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_15; +return x_14; +} +} +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +size_t x_12; size_t x_13; lean_object* x_14; +x_12 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_13 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_14 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_specializePartialApp___spec__2(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_specializePartialApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_specializePartialApp(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_specializePartialApp(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; lean_object* x_16; @@ -749,7 +909,7 @@ return x_27; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -762,6 +922,7 @@ uint8_t x_12; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -810,6 +971,7 @@ lean_dec(x_19); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -854,23 +1016,11 @@ return x_31; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineJp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_inlineJp_x3f(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } @@ -902,29 +1052,29 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_ctor_get(x_2, 1); -x_10 = lean_ctor_get_uint8(x_9, sizeof(void*)*1); +x_10 = lean_ctor_get_uint8(x_9, 0); if (x_10 == 0) { -lean_object* x_318; -x_318 = lean_box(0); -x_11 = x_318; +lean_object* x_274; +x_274 = lean_box(0); +x_11 = x_274; x_12 = x_8; -goto block_317; +goto block_273; } else { -lean_object* x_319; -x_319 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__3; -x_11 = x_319; +lean_object* x_275; +x_275 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__3; +x_11 = x_275; x_12 = x_8; -goto block_317; +goto block_273; } -block_317: +block_273: { if (lean_obj_tag(x_11) == 0) { @@ -932,6 +1082,7 @@ lean_object* x_13; lean_object* x_14; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_13 = lean_box(0); x_14 = lean_alloc_ctor(0, 2, 0); @@ -972,6 +1123,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_24 = lean_box(0); lean_ctor_set(x_18, 0, x_24); @@ -995,6 +1147,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_28 = lean_box(0); lean_ctor_set(x_18, 0, x_28); @@ -1016,7 +1169,7 @@ lean_object* x_32; lean_object* x_33; lean_object* x_34; x_32 = lean_ctor_get(x_29, 1); lean_inc(x_32); lean_dec(x_29); -x_33 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_17, x_4, x_6, x_7, x_32); +x_33 = l_Lean_Compiler_LCNF_getDecl_x3f(x_17, x_4, x_5, x_6, x_7, x_32); x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); if (lean_obj_tag(x_34) == 0) @@ -1026,6 +1179,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_35 = !lean_is_exclusive(x_33); if (x_35 == 0) @@ -1080,6 +1234,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_50 = lean_box(0); lean_ctor_set(x_33, 0, x_50); @@ -1108,6 +1263,7 @@ x_60 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_61 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_59, x_60, x_4, x_5, x_6, x_7, x_54); if (lean_obj_tag(x_61) == 0) { @@ -1128,10 +1284,11 @@ x_67 = l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_68 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_53, x_66, x_67, x_4, x_5, x_6, x_7, x_63); if (lean_obj_tag(x_68) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; uint8_t x_91; +lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; x_69 = lean_ctor_get(x_68, 0); lean_inc(x_69); x_70 = lean_ctor_get(x_68, 1); @@ -1141,555 +1298,570 @@ x_71 = lean_ctor_get(x_1, 0); lean_inc(x_71); x_72 = lean_ctor_get(x_69, 0); lean_inc(x_72); -x_73 = lean_st_ref_get(x_7, x_70); +x_73 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_71, x_72, x_2, x_3, x_4, x_5, x_6, x_7, x_70); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; uint8_t x_76; x_74 = lean_ctor_get(x_73, 1); lean_inc(x_74); lean_dec(x_73); -x_75 = lean_st_ref_take(x_3, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); -lean_inc(x_77); -lean_dec(x_75); -x_78 = lean_ctor_get(x_76, 0); -lean_inc(x_78); -x_79 = l_Lean_Expr_fvar___override(x_72); -x_80 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_78, x_71, x_79); -x_81 = lean_ctor_get(x_76, 1); -lean_inc(x_81); -x_82 = lean_ctor_get(x_76, 2); -lean_inc(x_82); -x_83 = lean_ctor_get_uint8(x_76, sizeof(void*)*6); -x_84 = lean_ctor_get(x_76, 3); -lean_inc(x_84); -x_85 = lean_ctor_get(x_76, 4); -lean_inc(x_85); -x_86 = lean_ctor_get(x_76, 5); -lean_inc(x_86); -lean_dec(x_76); -x_87 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_87, 0, x_80); -lean_ctor_set(x_87, 1, x_81); -lean_ctor_set(x_87, 2, x_82); -lean_ctor_set(x_87, 3, x_84); -lean_ctor_set(x_87, 4, x_85); -lean_ctor_set(x_87, 5, x_86); -lean_ctor_set_uint8(x_87, sizeof(void*)*6, x_83); -x_88 = lean_st_ref_set(x_3, x_87, x_77); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_89); +x_75 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_74); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) { -lean_object* x_92; -x_92 = lean_ctor_get(x_90, 0); -lean_dec(x_92); +lean_object* x_77; +x_77 = lean_ctor_get(x_75, 0); +lean_dec(x_77); lean_ctor_set(x_34, 0, x_69); -lean_ctor_set(x_90, 0, x_34); -return x_90; +lean_ctor_set(x_75, 0, x_34); +return x_75; } else { -lean_object* x_93; lean_object* x_94; -x_93 = lean_ctor_get(x_90, 1); -lean_inc(x_93); -lean_dec(x_90); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_75, 1); +lean_inc(x_78); +lean_dec(x_75); lean_ctor_set(x_34, 0, x_69); -x_94 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_94, 0, x_34); -lean_ctor_set(x_94, 1, x_93); -return x_94; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_34); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } else { -uint8_t x_95; +uint8_t x_80; +lean_dec(x_69); lean_free_object(x_34); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_95 = !lean_is_exclusive(x_68); -if (x_95 == 0) +x_80 = !lean_is_exclusive(x_73); +if (x_80 == 0) +{ +return x_73; +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_73, 0); +x_82 = lean_ctor_get(x_73, 1); +lean_inc(x_82); +lean_inc(x_81); +lean_dec(x_73); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; +} +} +} +else +{ +uint8_t x_84; +lean_free_object(x_34); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_84 = !lean_is_exclusive(x_68); +if (x_84 == 0) { return x_68; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_68, 0); -x_97 = lean_ctor_get(x_68, 1); -lean_inc(x_97); -lean_inc(x_96); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_68, 0); +x_86 = lean_ctor_get(x_68, 1); +lean_inc(x_86); +lean_inc(x_85); lean_dec(x_68); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } else { -uint8_t x_99; +uint8_t x_88; lean_dec(x_53); lean_free_object(x_34); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_99 = !lean_is_exclusive(x_61); -if (x_99 == 0) +x_88 = !lean_is_exclusive(x_61); +if (x_88 == 0) { return x_61; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_61, 0); -x_101 = lean_ctor_get(x_61, 1); -lean_inc(x_101); -lean_inc(x_100); +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_61, 0); +x_90 = lean_ctor_get(x_61, 1); +lean_inc(x_90); +lean_inc(x_89); lean_dec(x_61); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; } } } } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; -x_103 = lean_ctor_get(x_34, 0); -lean_inc(x_103); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +x_92 = lean_ctor_get(x_34, 0); +lean_inc(x_92); lean_dec(x_34); -x_104 = lean_unsigned_to_nat(0u); -x_105 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_104); -x_106 = l_Lean_Compiler_LCNF_Decl_getArity(x_103); -lean_dec(x_103); -x_107 = lean_nat_dec_lt(x_105, x_106); -lean_dec(x_106); -lean_dec(x_105); -if (x_107 == 0) +x_93 = lean_unsigned_to_nat(0u); +x_94 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_93); +x_95 = l_Lean_Compiler_LCNF_Decl_getArity(x_92); +lean_dec(x_92); +x_96 = lean_nat_dec_lt(x_94, x_95); +lean_dec(x_95); +lean_dec(x_94); +if (x_96 == 0) { -lean_object* x_108; +lean_object* x_97; lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_108 = lean_box(0); -lean_ctor_set(x_33, 0, x_108); +x_97 = lean_box(0); +lean_ctor_set(x_33, 0, x_97); return x_33; } else { -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; size_t x_114; size_t x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; size_t x_103; size_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_free_object(x_33); -x_109 = lean_ctor_get(x_1, 2); +x_98 = lean_ctor_get(x_1, 2); +lean_inc(x_98); +x_99 = l_Lean_Compiler_LCNF_mkNewParams(x_98, x_4, x_5, x_6, x_7, x_42); +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +x_102 = lean_array_get_size(x_100); +x_103 = lean_usize_of_nat(x_102); +lean_dec(x_102); +x_104 = 0; +lean_inc(x_100); +x_105 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(x_103, x_104, x_100); +x_106 = l_Lean_mkAppN(x_15, x_105); +x_107 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_108 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_106, x_107, x_4, x_5, x_6, x_7, x_101); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_109 = lean_ctor_get(x_108, 0); lean_inc(x_109); -x_110 = l_Lean_Compiler_LCNF_mkNewParams(x_109, x_4, x_5, x_6, x_7, x_42); -x_111 = lean_ctor_get(x_110, 0); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); +lean_dec(x_108); +x_111 = lean_ctor_get(x_109, 0); lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -x_113 = lean_array_get_size(x_111); -x_114 = lean_usize_of_nat(x_113); -lean_dec(x_113); -x_115 = 0; -lean_inc(x_111); -x_116 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(x_114, x_115, x_111); -x_117 = l_Lean_mkAppN(x_15, x_116); -x_118 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +x_112 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_112, 0, x_111); +x_113 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_113, 0, x_109); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_119 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_117, x_118, x_4, x_5, x_6, x_7, x_112); -if (lean_obj_tag(x_119) == 0) +lean_inc(x_4); +x_115 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_100, x_113, x_114, x_4, x_5, x_6, x_7, x_110); +if (lean_obj_tag(x_115) == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); +lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_1, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_116, 0); +lean_inc(x_119); +x_120 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_118, x_119, x_2, x_3, x_4, x_5, x_6, x_7, x_117); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_121 = lean_ctor_get(x_120, 1); lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_123, 0, x_122); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_120); -lean_ctor_set(x_124, 1, x_123); -x_125 = l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_126 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_111, x_124, x_125, x_4, x_5, x_6, x_7, x_121); -if (lean_obj_tag(x_126) == 0) +lean_dec(x_120); +x_122 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_121); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +if (lean_is_exclusive(x_122)) { + lean_ctor_release(x_122, 0); + lean_ctor_release(x_122, 1); + x_124 = x_122; +} else { + lean_dec_ref(x_122); + x_124 = lean_box(0); +} +x_125 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_125, 0, x_116); +if (lean_is_scalar(x_124)) { + x_126 = lean_alloc_ctor(0, 2, 0); +} else { + x_126 = x_124; +} +lean_ctor_set(x_126, 0, x_125); +lean_ctor_set(x_126, 1, x_123); +return x_126; +} +else { -lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; uint8_t 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_127 = lean_ctor_get(x_126, 0); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_116); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_127 = lean_ctor_get(x_120, 0); lean_inc(x_127); -x_128 = lean_ctor_get(x_126, 1); +x_128 = lean_ctor_get(x_120, 1); lean_inc(x_128); -lean_dec(x_126); -x_129 = lean_ctor_get(x_1, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_127, 0); -lean_inc(x_130); -x_131 = lean_st_ref_get(x_7, x_128); -x_132 = lean_ctor_get(x_131, 1); +if (lean_is_exclusive(x_120)) { + lean_ctor_release(x_120, 0); + lean_ctor_release(x_120, 1); + x_129 = x_120; +} else { + lean_dec_ref(x_120); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; +} +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_131 = lean_ctor_get(x_115, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_115, 1); lean_inc(x_132); -lean_dec(x_131); -x_133 = lean_st_ref_take(x_3, x_132); -x_134 = lean_ctor_get(x_133, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_133, 1); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + lean_ctor_release(x_115, 1); + x_133 = x_115; +} else { + lean_dec_ref(x_115); + x_133 = lean_box(0); +} +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); +} else { + x_134 = x_133; +} +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; +} +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +lean_dec(x_100); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_135 = lean_ctor_get(x_108, 0); lean_inc(x_135); -lean_dec(x_133); -x_136 = lean_ctor_get(x_134, 0); +x_136 = lean_ctor_get(x_108, 1); lean_inc(x_136); -x_137 = l_Lean_Expr_fvar___override(x_130); -x_138 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_136, x_129, x_137); -x_139 = lean_ctor_get(x_134, 1); +if (lean_is_exclusive(x_108)) { + lean_ctor_release(x_108, 0); + lean_ctor_release(x_108, 1); + x_137 = x_108; +} else { + lean_dec_ref(x_108); + x_137 = lean_box(0); +} +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); +} else { + x_138 = x_137; +} +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; +} +} +} +} +else +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_139 = lean_ctor_get(x_33, 1); lean_inc(x_139); -x_140 = lean_ctor_get(x_134, 2); -lean_inc(x_140); -x_141 = lean_ctor_get_uint8(x_134, sizeof(void*)*6); -x_142 = lean_ctor_get(x_134, 3); -lean_inc(x_142); -x_143 = lean_ctor_get(x_134, 4); -lean_inc(x_143); -x_144 = lean_ctor_get(x_134, 5); -lean_inc(x_144); -lean_dec(x_134); -x_145 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_145, 0, x_138); -lean_ctor_set(x_145, 1, x_139); -lean_ctor_set(x_145, 2, x_140); -lean_ctor_set(x_145, 3, x_142); -lean_ctor_set(x_145, 4, x_143); -lean_ctor_set(x_145, 5, x_144); -lean_ctor_set_uint8(x_145, sizeof(void*)*6, x_141); -x_146 = lean_st_ref_set(x_3, x_145, x_135); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); -lean_dec(x_146); -x_148 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_147); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_149 = lean_ctor_get(x_148, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_150 = x_148; -} else { - lean_dec_ref(x_148); - x_150 = lean_box(0); -} -x_151 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_151, 0, x_127); -if (lean_is_scalar(x_150)) { - x_152 = lean_alloc_ctor(0, 2, 0); -} else { - x_152 = x_150; -} -lean_ctor_set(x_152, 0, x_151); -lean_ctor_set(x_152, 1, x_149); -return x_152; -} -else -{ -lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_153 = lean_ctor_get(x_126, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_126, 1); -lean_inc(x_154); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_155 = x_126; -} else { - lean_dec_ref(x_126); - x_155 = lean_box(0); -} -if (lean_is_scalar(x_155)) { - x_156 = lean_alloc_ctor(1, 2, 0); -} else { - x_156 = x_155; -} -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_154); -return x_156; -} -} -else -{ -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -lean_dec(x_111); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_157 = lean_ctor_get(x_119, 0); -lean_inc(x_157); -x_158 = lean_ctor_get(x_119, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_119)) { - lean_ctor_release(x_119, 0); - lean_ctor_release(x_119, 1); - x_159 = x_119; -} else { - lean_dec_ref(x_119); - x_159 = lean_box(0); -} -if (lean_is_scalar(x_159)) { - x_160 = lean_alloc_ctor(1, 2, 0); -} else { - x_160 = x_159; -} -lean_ctor_set(x_160, 0, x_157); -lean_ctor_set(x_160, 1, x_158); -return x_160; -} -} -} -} -else -{ -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; uint8_t x_167; -x_161 = lean_ctor_get(x_33, 1); -lean_inc(x_161); lean_dec(x_33); -x_162 = lean_ctor_get(x_34, 0); -lean_inc(x_162); +x_140 = lean_ctor_get(x_34, 0); +lean_inc(x_140); if (lean_is_exclusive(x_34)) { lean_ctor_release(x_34, 0); - x_163 = x_34; + x_141 = x_34; } else { lean_dec_ref(x_34); - x_163 = lean_box(0); + x_141 = lean_box(0); } -x_164 = lean_unsigned_to_nat(0u); -x_165 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_164); -x_166 = l_Lean_Compiler_LCNF_Decl_getArity(x_162); -lean_dec(x_162); -x_167 = lean_nat_dec_lt(x_165, x_166); -lean_dec(x_166); -lean_dec(x_165); -if (x_167 == 0) +x_142 = lean_unsigned_to_nat(0u); +x_143 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_142); +x_144 = l_Lean_Compiler_LCNF_Decl_getArity(x_140); +lean_dec(x_140); +x_145 = lean_nat_dec_lt(x_143, x_144); +lean_dec(x_144); +lean_dec(x_143); +if (x_145 == 0) { -lean_object* x_168; lean_object* x_169; -lean_dec(x_163); +lean_object* x_146; lean_object* x_147; +lean_dec(x_141); lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_168 = lean_box(0); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_168); -lean_ctor_set(x_169, 1, x_161); -return x_169; +x_146 = lean_box(0); +x_147 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_147, 1, x_139); +return x_147; } else { -lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; size_t x_175; size_t x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; -x_170 = lean_ctor_get(x_1, 2); -lean_inc(x_170); -x_171 = l_Lean_Compiler_LCNF_mkNewParams(x_170, x_4, x_5, x_6, x_7, x_161); -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -x_173 = lean_ctor_get(x_171, 1); +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; size_t x_153; size_t x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_148 = lean_ctor_get(x_1, 2); +lean_inc(x_148); +x_149 = l_Lean_Compiler_LCNF_mkNewParams(x_148, x_4, x_5, x_6, x_7, x_139); +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = lean_array_get_size(x_150); +x_153 = lean_usize_of_nat(x_152); +lean_dec(x_152); +x_154 = 0; +lean_inc(x_150); +x_155 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(x_153, x_154, x_150); +x_156 = l_Lean_mkAppN(x_15, x_155); +x_157 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_158 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_156, x_157, x_4, x_5, x_6, x_7, x_151); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_159 = lean_ctor_get(x_158, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_158, 1); +lean_inc(x_160); +lean_dec(x_158); +x_161 = lean_ctor_get(x_159, 0); +lean_inc(x_161); +x_162 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_162, 0, x_161); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_159); +lean_ctor_set(x_163, 1, x_162); +x_164 = l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_165 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_150, x_163, x_164, x_4, x_5, x_6, x_7, x_160); +if (lean_obj_tag(x_165) == 0) +{ +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_166 = lean_ctor_get(x_165, 0); +lean_inc(x_166); +x_167 = lean_ctor_get(x_165, 1); +lean_inc(x_167); +lean_dec(x_165); +x_168 = lean_ctor_get(x_1, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_166, 0); +lean_inc(x_169); +x_170 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_168, x_169, x_2, x_3, x_4, x_5, x_6, x_7, x_167); +if (lean_obj_tag(x_170) == 0) +{ +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_171 = lean_ctor_get(x_170, 1); +lean_inc(x_171); +lean_dec(x_170); +x_172 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_171); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_173 = lean_ctor_get(x_172, 1); lean_inc(x_173); -lean_dec(x_171); -x_174 = lean_array_get_size(x_172); -x_175 = lean_usize_of_nat(x_174); -lean_dec(x_174); -x_176 = 0; -lean_inc(x_172); -x_177 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(x_175, x_176, x_172); -x_178 = l_Lean_mkAppN(x_15, x_177); -x_179 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_180 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_178, x_179, x_4, x_5, x_6, x_7, x_173); -if (lean_obj_tag(x_180) == 0) +if (lean_is_exclusive(x_172)) { + lean_ctor_release(x_172, 0); + lean_ctor_release(x_172, 1); + x_174 = x_172; +} else { + lean_dec_ref(x_172); + x_174 = lean_box(0); +} +if (lean_is_scalar(x_141)) { + x_175 = lean_alloc_ctor(1, 1, 0); +} else { + x_175 = x_141; +} +lean_ctor_set(x_175, 0, x_166); +if (lean_is_scalar(x_174)) { + x_176 = lean_alloc_ctor(0, 2, 0); +} else { + x_176 = x_174; +} +lean_ctor_set(x_176, 0, x_175); +lean_ctor_set(x_176, 1, x_173); +return x_176; +} +else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_181 = lean_ctor_get(x_180, 0); +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +lean_dec(x_166); +lean_dec(x_141); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_177 = lean_ctor_get(x_170, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_170, 1); +lean_inc(x_178); +if (lean_is_exclusive(x_170)) { + lean_ctor_release(x_170, 0); + lean_ctor_release(x_170, 1); + x_179 = x_170; +} else { + lean_dec_ref(x_170); + x_179 = lean_box(0); +} +if (lean_is_scalar(x_179)) { + x_180 = lean_alloc_ctor(1, 2, 0); +} else { + x_180 = x_179; +} +lean_ctor_set(x_180, 0, x_177); +lean_ctor_set(x_180, 1, x_178); +return x_180; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_dec(x_141); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_181 = lean_ctor_get(x_165, 0); lean_inc(x_181); -x_182 = lean_ctor_get(x_180, 1); +x_182 = lean_ctor_get(x_165, 1); lean_inc(x_182); -lean_dec(x_180); -x_183 = lean_ctor_get(x_181, 0); -lean_inc(x_183); -x_184 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_184, 0, x_183); -x_185 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_185, 0, x_181); -lean_ctor_set(x_185, 1, x_184); -x_186 = l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_187 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_172, x_185, x_186, x_4, x_5, x_6, x_7, x_182); -if (lean_obj_tag(x_187) == 0) -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; uint8_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; -x_188 = lean_ctor_get(x_187, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); -lean_dec(x_187); -x_190 = lean_ctor_get(x_1, 0); -lean_inc(x_190); -x_191 = lean_ctor_get(x_188, 0); -lean_inc(x_191); -x_192 = lean_st_ref_get(x_7, x_189); -x_193 = lean_ctor_get(x_192, 1); -lean_inc(x_193); -lean_dec(x_192); -x_194 = lean_st_ref_take(x_3, x_193); -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); -lean_inc(x_196); -lean_dec(x_194); -x_197 = lean_ctor_get(x_195, 0); -lean_inc(x_197); -x_198 = l_Lean_Expr_fvar___override(x_191); -x_199 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_197, x_190, x_198); -x_200 = lean_ctor_get(x_195, 1); -lean_inc(x_200); -x_201 = lean_ctor_get(x_195, 2); -lean_inc(x_201); -x_202 = lean_ctor_get_uint8(x_195, sizeof(void*)*6); -x_203 = lean_ctor_get(x_195, 3); -lean_inc(x_203); -x_204 = lean_ctor_get(x_195, 4); -lean_inc(x_204); -x_205 = lean_ctor_get(x_195, 5); -lean_inc(x_205); -lean_dec(x_195); -x_206 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_206, 0, x_199); -lean_ctor_set(x_206, 1, x_200); -lean_ctor_set(x_206, 2, x_201); -lean_ctor_set(x_206, 3, x_203); -lean_ctor_set(x_206, 4, x_204); -lean_ctor_set(x_206, 5, x_205); -lean_ctor_set_uint8(x_206, sizeof(void*)*6, x_202); -x_207 = lean_st_ref_set(x_3, x_206, x_196); -x_208 = lean_ctor_get(x_207, 1); -lean_inc(x_208); -lean_dec(x_207); -x_209 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_208); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_209)) { - lean_ctor_release(x_209, 0); - lean_ctor_release(x_209, 1); - x_211 = x_209; +if (lean_is_exclusive(x_165)) { + lean_ctor_release(x_165, 0); + lean_ctor_release(x_165, 1); + x_183 = x_165; } else { - lean_dec_ref(x_209); - x_211 = lean_box(0); + lean_dec_ref(x_165); + x_183 = lean_box(0); } -if (lean_is_scalar(x_163)) { - x_212 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_183)) { + x_184 = lean_alloc_ctor(1, 2, 0); } else { - x_212 = x_163; + x_184 = x_183; } -lean_ctor_set(x_212, 0, x_188); -if (lean_is_scalar(x_211)) { - x_213 = lean_alloc_ctor(0, 2, 0); -} else { - x_213 = x_211; -} -lean_ctor_set(x_213, 0, x_212); -lean_ctor_set(x_213, 1, x_210); -return x_213; -} -else -{ -lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; -lean_dec(x_163); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_214 = lean_ctor_get(x_187, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_187, 1); -lean_inc(x_215); -if (lean_is_exclusive(x_187)) { - lean_ctor_release(x_187, 0); - lean_ctor_release(x_187, 1); - x_216 = x_187; -} else { - lean_dec_ref(x_187); - x_216 = lean_box(0); -} -if (lean_is_scalar(x_216)) { - x_217 = lean_alloc_ctor(1, 2, 0); -} else { - x_217 = x_216; -} -lean_ctor_set(x_217, 0, x_214); -lean_ctor_set(x_217, 1, x_215); -return x_217; +lean_ctor_set(x_184, 0, x_181); +lean_ctor_set(x_184, 1, x_182); +return x_184; } } else { -lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -lean_dec(x_172); -lean_dec(x_163); +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +lean_dec(x_150); +lean_dec(x_141); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_218 = lean_ctor_get(x_180, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_180, 1); -lean_inc(x_219); -if (lean_is_exclusive(x_180)) { - lean_ctor_release(x_180, 0); - lean_ctor_release(x_180, 1); - x_220 = x_180; +x_185 = lean_ctor_get(x_158, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_158, 1); +lean_inc(x_186); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_187 = x_158; } else { - lean_dec_ref(x_180); - x_220 = lean_box(0); + lean_dec_ref(x_158); + x_187 = lean_box(0); } -if (lean_is_scalar(x_220)) { - x_221 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 2, 0); } else { - x_221 = x_220; + x_188 = x_187; } -lean_ctor_set(x_221, 0, x_218); -lean_ctor_set(x_221, 1, x_219); -return x_221; +lean_ctor_set(x_188, 0, x_185); +lean_ctor_set(x_188, 1, x_186); +return x_188; } } } @@ -1697,34 +1869,35 @@ return x_221; } else { -uint8_t x_222; +uint8_t x_189; lean_dec(x_17); lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_222 = !lean_is_exclusive(x_29); -if (x_222 == 0) +x_189 = !lean_is_exclusive(x_29); +if (x_189 == 0) { -lean_object* x_223; lean_object* x_224; -x_223 = lean_ctor_get(x_29, 0); -lean_dec(x_223); -x_224 = lean_box(0); -lean_ctor_set(x_29, 0, x_224); +lean_object* x_190; lean_object* x_191; +x_190 = lean_ctor_get(x_29, 0); +lean_dec(x_190); +x_191 = lean_box(0); +lean_ctor_set(x_29, 0, x_191); return x_29; } else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -x_225 = lean_ctor_get(x_29, 1); -lean_inc(x_225); +lean_object* x_192; lean_object* x_193; lean_object* x_194; +x_192 = lean_ctor_get(x_29, 1); +lean_inc(x_192); lean_dec(x_29); -x_226 = lean_box(0); -x_227 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_227, 0, x_226); -lean_ctor_set(x_227, 1, x_225); -return x_227; +x_193 = lean_box(0); +x_194 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_194, 0, x_193); +lean_ctor_set(x_194, 1, x_192); +return x_194; } } } @@ -1732,366 +1905,377 @@ return x_227; } else { -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_228 = lean_ctor_get(x_18, 0); -x_229 = lean_ctor_get(x_18, 1); -lean_inc(x_229); -lean_inc(x_228); +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_195 = lean_ctor_get(x_18, 0); +x_196 = lean_ctor_get(x_18, 1); +lean_inc(x_196); +lean_inc(x_195); lean_dec(x_18); -x_230 = lean_ctor_get(x_228, 0); -lean_inc(x_230); -lean_dec(x_228); +x_197 = lean_ctor_get(x_195, 0); +lean_inc(x_197); +lean_dec(x_195); lean_inc(x_17); -x_231 = lean_environment_find(x_230, x_17); -if (lean_obj_tag(x_231) == 0) +x_198 = lean_environment_find(x_197, x_17); +if (lean_obj_tag(x_198) == 0) { -lean_object* x_232; lean_object* x_233; +lean_object* x_199; lean_object* x_200; lean_dec(x_17); lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_232 = lean_box(0); -x_233 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_229); -return x_233; +x_199 = lean_box(0); +x_200 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_200, 0, x_199); +lean_ctor_set(x_200, 1, x_196); +return x_200; } else { -lean_object* x_234; lean_object* x_235; uint8_t x_236; -x_234 = lean_ctor_get(x_231, 0); -lean_inc(x_234); -lean_dec(x_231); -x_235 = l_Lean_ConstantInfo_type(x_234); -lean_dec(x_234); -x_236 = l_Lean_Compiler_LCNF_hasLocalInst(x_235); -lean_dec(x_235); -if (x_236 == 0) +lean_object* x_201; lean_object* x_202; uint8_t x_203; +x_201 = lean_ctor_get(x_198, 0); +lean_inc(x_201); +lean_dec(x_198); +x_202 = l_Lean_ConstantInfo_type(x_201); +lean_dec(x_201); +x_203 = l_Lean_Compiler_LCNF_hasLocalInst(x_202); +lean_dec(x_202); +if (x_203 == 0) { -lean_object* x_237; lean_object* x_238; +lean_object* x_204; lean_object* x_205; lean_dec(x_17); lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_237 = lean_box(0); -x_238 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_229); -return x_238; +x_204 = lean_box(0); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_204); +lean_ctor_set(x_205, 1, x_196); +return x_205; } else { -lean_object* x_239; lean_object* x_240; uint8_t x_241; +lean_object* x_206; lean_object* x_207; uint8_t x_208; lean_inc(x_17); -x_239 = l_Lean_Meta_isInstance(x_17, x_6, x_7, x_229); -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_unbox(x_240); -lean_dec(x_240); -if (x_241 == 0) +x_206 = l_Lean_Meta_isInstance(x_17, x_6, x_7, x_196); +x_207 = lean_ctor_get(x_206, 0); +lean_inc(x_207); +x_208 = lean_unbox(x_207); +lean_dec(x_207); +if (x_208 == 0) { -lean_object* x_242; lean_object* x_243; lean_object* x_244; -x_242 = lean_ctor_get(x_239, 1); -lean_inc(x_242); -lean_dec(x_239); -x_243 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_17, x_4, x_6, x_7, x_242); +lean_object* x_209; lean_object* x_210; lean_object* x_211; +x_209 = lean_ctor_get(x_206, 1); +lean_inc(x_209); +lean_dec(x_206); +x_210 = l_Lean_Compiler_LCNF_getDecl_x3f(x_17, x_4, x_5, x_6, x_7, x_209); +x_211 = lean_ctor_get(x_210, 0); +lean_inc(x_211); +if (lean_obj_tag(x_211) == 0) +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_212 = lean_ctor_get(x_210, 1); +lean_inc(x_212); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_213 = x_210; +} else { + lean_dec_ref(x_210); + x_213 = lean_box(0); +} +x_214 = lean_box(0); +if (lean_is_scalar(x_213)) { + x_215 = lean_alloc_ctor(0, 2, 0); +} else { + x_215 = x_213; +} +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_212); +return x_215; +} +else +{ +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; uint8_t x_223; +x_216 = lean_ctor_get(x_210, 1); +lean_inc(x_216); +if (lean_is_exclusive(x_210)) { + lean_ctor_release(x_210, 0); + lean_ctor_release(x_210, 1); + x_217 = x_210; +} else { + lean_dec_ref(x_210); + x_217 = lean_box(0); +} +x_218 = lean_ctor_get(x_211, 0); +lean_inc(x_218); +if (lean_is_exclusive(x_211)) { + lean_ctor_release(x_211, 0); + x_219 = x_211; +} else { + lean_dec_ref(x_211); + x_219 = lean_box(0); +} +x_220 = lean_unsigned_to_nat(0u); +x_221 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_220); +x_222 = l_Lean_Compiler_LCNF_Decl_getArity(x_218); +lean_dec(x_218); +x_223 = lean_nat_dec_lt(x_221, x_222); +lean_dec(x_222); +lean_dec(x_221); +if (x_223 == 0) +{ +lean_object* x_224; lean_object* x_225; +lean_dec(x_219); +lean_dec(x_15); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_224 = lean_box(0); +if (lean_is_scalar(x_217)) { + x_225 = lean_alloc_ctor(0, 2, 0); +} else { + x_225 = x_217; +} +lean_ctor_set(x_225, 0, x_224); +lean_ctor_set(x_225, 1, x_216); +return x_225; +} +else +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; size_t x_231; size_t x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_dec(x_217); +x_226 = lean_ctor_get(x_1, 2); +lean_inc(x_226); +x_227 = l_Lean_Compiler_LCNF_mkNewParams(x_226, x_4, x_5, x_6, x_7, x_216); +x_228 = lean_ctor_get(x_227, 0); +lean_inc(x_228); +x_229 = lean_ctor_get(x_227, 1); +lean_inc(x_229); +lean_dec(x_227); +x_230 = lean_array_get_size(x_228); +x_231 = lean_usize_of_nat(x_230); +lean_dec(x_230); +x_232 = 0; +lean_inc(x_228); +x_233 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(x_231, x_232, x_228); +x_234 = l_Lean_mkAppN(x_15, x_233); +x_235 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_236 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_234, x_235, x_4, x_5, x_6, x_7, x_229); +if (lean_obj_tag(x_236) == 0) +{ +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_237 = lean_ctor_get(x_236, 0); +lean_inc(x_237); +x_238 = lean_ctor_get(x_236, 1); +lean_inc(x_238); +lean_dec(x_236); +x_239 = lean_ctor_get(x_237, 0); +lean_inc(x_239); +x_240 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_240, 0, x_239); +x_241 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_241, 0, x_237); +lean_ctor_set(x_241, 1, x_240); +x_242 = l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +x_243 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_228, x_241, x_242, x_4, x_5, x_6, x_7, x_238); +if (lean_obj_tag(x_243) == 0) +{ +lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; x_244 = lean_ctor_get(x_243, 0); lean_inc(x_244); -if (lean_obj_tag(x_244) == 0) -{ -lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; -lean_dec(x_15); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); x_245 = lean_ctor_get(x_243, 1); lean_inc(x_245); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - x_246 = x_243; -} else { - lean_dec_ref(x_243); - x_246 = lean_box(0); -} -x_247 = lean_box(0); -if (lean_is_scalar(x_246)) { - x_248 = lean_alloc_ctor(0, 2, 0); -} else { - x_248 = x_246; -} -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_245); -return x_248; -} -else +lean_dec(x_243); +x_246 = lean_ctor_get(x_1, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_244, 0); +lean_inc(x_247); +x_248 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_246, x_247, x_2, x_3, x_4, x_5, x_6, x_7, x_245); +if (lean_obj_tag(x_248) == 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 = lean_ctor_get(x_243, 1); +lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; +x_249 = lean_ctor_get(x_248, 1); lean_inc(x_249); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - lean_ctor_release(x_243, 1); - x_250 = x_243; -} else { - lean_dec_ref(x_243); - x_250 = lean_box(0); -} -x_251 = lean_ctor_get(x_244, 0); +lean_dec(x_248); +x_250 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_249); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_251 = lean_ctor_get(x_250, 1); lean_inc(x_251); -if (lean_is_exclusive(x_244)) { - lean_ctor_release(x_244, 0); - x_252 = x_244; +if (lean_is_exclusive(x_250)) { + lean_ctor_release(x_250, 0); + lean_ctor_release(x_250, 1); + x_252 = x_250; } else { - lean_dec_ref(x_244); + lean_dec_ref(x_250); x_252 = lean_box(0); } -x_253 = lean_unsigned_to_nat(0u); -x_254 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_15, x_253); -x_255 = l_Lean_Compiler_LCNF_Decl_getArity(x_251); -lean_dec(x_251); -x_256 = lean_nat_dec_lt(x_254, x_255); -lean_dec(x_255); -lean_dec(x_254); -if (x_256 == 0) +if (lean_is_scalar(x_219)) { + x_253 = lean_alloc_ctor(1, 1, 0); +} else { + x_253 = x_219; +} +lean_ctor_set(x_253, 0, x_244); +if (lean_is_scalar(x_252)) { + x_254 = lean_alloc_ctor(0, 2, 0); +} else { + x_254 = x_252; +} +lean_ctor_set(x_254, 0, x_253); +lean_ctor_set(x_254, 1, x_251); +return x_254; +} +else { -lean_object* x_257; lean_object* x_258; -lean_dec(x_252); -lean_dec(x_15); +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; +lean_dec(x_244); +lean_dec(x_219); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_257 = lean_box(0); -if (lean_is_scalar(x_250)) { - x_258 = lean_alloc_ctor(0, 2, 0); +x_255 = lean_ctor_get(x_248, 0); +lean_inc(x_255); +x_256 = lean_ctor_get(x_248, 1); +lean_inc(x_256); +if (lean_is_exclusive(x_248)) { + lean_ctor_release(x_248, 0); + lean_ctor_release(x_248, 1); + x_257 = x_248; } else { - x_258 = x_250; + lean_dec_ref(x_248); + x_257 = lean_box(0); } -lean_ctor_set(x_258, 0, x_257); -lean_ctor_set(x_258, 1, x_249); +if (lean_is_scalar(x_257)) { + x_258 = lean_alloc_ctor(1, 2, 0); +} else { + x_258 = x_257; +} +lean_ctor_set(x_258, 0, x_255); +lean_ctor_set(x_258, 1, x_256); return x_258; } +} else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; size_t x_264; size_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; -lean_dec(x_250); -x_259 = lean_ctor_get(x_1, 2); +lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; +lean_dec(x_219); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_259 = lean_ctor_get(x_243, 0); lean_inc(x_259); -x_260 = l_Lean_Compiler_LCNF_mkNewParams(x_259, x_4, x_5, x_6, x_7, x_249); -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_260, 1); -lean_inc(x_262); -lean_dec(x_260); -x_263 = lean_array_get_size(x_261); -x_264 = lean_usize_of_nat(x_263); -lean_dec(x_263); -x_265 = 0; -lean_inc(x_261); -x_266 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(x_264, x_265, x_261); -x_267 = l_Lean_mkAppN(x_15, x_266); -x_268 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_269 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_267, x_268, x_4, x_5, x_6, x_7, x_262); -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; lean_object* x_275; lean_object* x_276; -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_ctor_get(x_270, 0); -lean_inc(x_272); -x_273 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_273, 0, x_272); -x_274 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_274, 0, x_270); -lean_ctor_set(x_274, 1, x_273); -x_275 = l_Lean_Compiler_LCNF_Simp_specializePartialApp___closed__4; -lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -x_276 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_261, x_274, x_275, x_4, x_5, x_6, x_7, x_271); -if (lean_obj_tag(x_276) == 0) -{ -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; uint8_t x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_277 = lean_ctor_get(x_276, 0); -lean_inc(x_277); -x_278 = lean_ctor_get(x_276, 1); -lean_inc(x_278); -lean_dec(x_276); -x_279 = lean_ctor_get(x_1, 0); -lean_inc(x_279); -x_280 = lean_ctor_get(x_277, 0); -lean_inc(x_280); -x_281 = lean_st_ref_get(x_7, x_278); -x_282 = lean_ctor_get(x_281, 1); -lean_inc(x_282); -lean_dec(x_281); -x_283 = lean_st_ref_take(x_3, x_282); -x_284 = lean_ctor_get(x_283, 0); -lean_inc(x_284); -x_285 = lean_ctor_get(x_283, 1); -lean_inc(x_285); -lean_dec(x_283); -x_286 = lean_ctor_get(x_284, 0); -lean_inc(x_286); -x_287 = l_Lean_Expr_fvar___override(x_280); -x_288 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_286, x_279, x_287); -x_289 = lean_ctor_get(x_284, 1); -lean_inc(x_289); -x_290 = lean_ctor_get(x_284, 2); -lean_inc(x_290); -x_291 = lean_ctor_get_uint8(x_284, sizeof(void*)*6); -x_292 = lean_ctor_get(x_284, 3); -lean_inc(x_292); -x_293 = lean_ctor_get(x_284, 4); -lean_inc(x_293); -x_294 = lean_ctor_get(x_284, 5); -lean_inc(x_294); -lean_dec(x_284); -x_295 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_295, 0, x_288); -lean_ctor_set(x_295, 1, x_289); -lean_ctor_set(x_295, 2, x_290); -lean_ctor_set(x_295, 3, x_292); -lean_ctor_set(x_295, 4, x_293); -lean_ctor_set(x_295, 5, x_294); -lean_ctor_set_uint8(x_295, sizeof(void*)*6, x_291); -x_296 = lean_st_ref_set(x_3, x_295, x_285); -x_297 = lean_ctor_get(x_296, 1); -lean_inc(x_297); -lean_dec(x_296); -x_298 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_297); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_299 = lean_ctor_get(x_298, 1); -lean_inc(x_299); -if (lean_is_exclusive(x_298)) { - lean_ctor_release(x_298, 0); - lean_ctor_release(x_298, 1); - x_300 = x_298; +x_260 = lean_ctor_get(x_243, 1); +lean_inc(x_260); +if (lean_is_exclusive(x_243)) { + lean_ctor_release(x_243, 0); + lean_ctor_release(x_243, 1); + x_261 = x_243; } else { - lean_dec_ref(x_298); - x_300 = lean_box(0); + lean_dec_ref(x_243); + x_261 = lean_box(0); } -if (lean_is_scalar(x_252)) { - x_301 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_261)) { + x_262 = lean_alloc_ctor(1, 2, 0); } else { - x_301 = x_252; + x_262 = x_261; } -lean_ctor_set(x_301, 0, x_277); -if (lean_is_scalar(x_300)) { - x_302 = lean_alloc_ctor(0, 2, 0); -} else { - x_302 = x_300; -} -lean_ctor_set(x_302, 0, x_301); -lean_ctor_set(x_302, 1, x_299); -return x_302; -} -else -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -lean_dec(x_252); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_303 = lean_ctor_get(x_276, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_276, 1); -lean_inc(x_304); -if (lean_is_exclusive(x_276)) { - lean_ctor_release(x_276, 0); - lean_ctor_release(x_276, 1); - x_305 = x_276; -} else { - lean_dec_ref(x_276); - x_305 = lean_box(0); -} -if (lean_is_scalar(x_305)) { - x_306 = lean_alloc_ctor(1, 2, 0); -} else { - x_306 = x_305; -} -lean_ctor_set(x_306, 0, x_303); -lean_ctor_set(x_306, 1, x_304); -return x_306; +lean_ctor_set(x_262, 0, x_259); +lean_ctor_set(x_262, 1, x_260); +return x_262; } } else { -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; -lean_dec(x_261); -lean_dec(x_252); +lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; +lean_dec(x_228); +lean_dec(x_219); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_307 = lean_ctor_get(x_269, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_269, 1); -lean_inc(x_308); -if (lean_is_exclusive(x_269)) { - lean_ctor_release(x_269, 0); - lean_ctor_release(x_269, 1); - x_309 = x_269; +x_263 = lean_ctor_get(x_236, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_236, 1); +lean_inc(x_264); +if (lean_is_exclusive(x_236)) { + lean_ctor_release(x_236, 0); + lean_ctor_release(x_236, 1); + x_265 = x_236; } else { - lean_dec_ref(x_269); - x_309 = lean_box(0); + lean_dec_ref(x_236); + x_265 = lean_box(0); } -if (lean_is_scalar(x_309)) { - x_310 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_265)) { + x_266 = lean_alloc_ctor(1, 2, 0); } else { - x_310 = x_309; + x_266 = x_265; } -lean_ctor_set(x_310, 0, x_307); -lean_ctor_set(x_310, 1, x_308); -return x_310; +lean_ctor_set(x_266, 0, x_263); +lean_ctor_set(x_266, 1, x_264); +return x_266; } } } } else { -lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; +lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_dec(x_17); lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_311 = lean_ctor_get(x_239, 1); -lean_inc(x_311); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - x_312 = x_239; +x_267 = lean_ctor_get(x_206, 1); +lean_inc(x_267); +if (lean_is_exclusive(x_206)) { + lean_ctor_release(x_206, 0); + lean_ctor_release(x_206, 1); + x_268 = x_206; } else { - lean_dec_ref(x_239); - x_312 = lean_box(0); + lean_dec_ref(x_206); + x_268 = lean_box(0); } -x_313 = lean_box(0); -if (lean_is_scalar(x_312)) { - x_314 = lean_alloc_ctor(0, 2, 0); +x_269 = lean_box(0); +if (lean_is_scalar(x_268)) { + x_270 = lean_alloc_ctor(0, 2, 0); } else { - x_314 = x_312; + x_270 = x_268; } -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_311); -return x_314; +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_267); +return x_270; } } } @@ -2099,18 +2283,19 @@ return x_314; } else { -lean_object* x_315; lean_object* x_316; +lean_object* x_271; lean_object* x_272; lean_dec(x_16); lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -x_315 = lean_box(0); -x_316 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_316, 0, x_315); -lean_ctor_set(x_316, 1, x_12); -return x_316; +x_271 = lean_box(0); +x_272 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_272, 0, x_271); +lean_ctor_set(x_272, 1, x_12); +return x_272; } } } @@ -2119,16 +2304,14 @@ return x_316; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isReturnOf(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isReturnOf(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 5) @@ -2196,20 +2379,19 @@ return x_31; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isReturnOf___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_isReturnOf(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_isReturnOf(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -2253,7 +2435,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -2263,6 +2445,7 @@ x_13 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__3; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_14 = l_Lean_Compiler_LCNF_mkAuxFunDecl(x_12, x_3, x_13, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_14) == 0) { @@ -2342,6 +2525,7 @@ uint8_t x_32; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_2); x_32 = !lean_is_exclusive(x_14); if (x_32 == 0) @@ -2364,7 +2548,7 @@ return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; uint8_t x_16; @@ -2377,7639 +2561,796 @@ x_16 = lean_nat_dec_lt(x_3, x_4); lean_dec(x_4); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +lean_object* x_17; lean_dec(x_7); lean_dec(x_3); -x_17 = lean_st_ref_get(x_12, x_15); +x_17 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_5, x_8, x_1, x_2, x_9, x_10, x_11, x_12, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; x_18 = lean_ctor_get(x_17, 1); lean_inc(x_18); lean_dec(x_17); -x_19 = lean_st_ref_take(x_2, x_18); -x_20 = lean_ctor_get(x_19, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_19, 1); -lean_inc(x_21); -lean_dec(x_19); -x_22 = lean_ctor_get(x_20, 0); -lean_inc(x_22); -x_23 = l_Lean_Expr_fvar___override(x_8); -x_24 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_22, x_5, x_23); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -x_26 = lean_ctor_get(x_20, 2); -lean_inc(x_26); -x_27 = lean_ctor_get_uint8(x_20, sizeof(void*)*6); -x_28 = lean_ctor_get(x_20, 3); -lean_inc(x_28); -x_29 = lean_ctor_get(x_20, 4); -lean_inc(x_29); -x_30 = lean_ctor_get(x_20, 5); -lean_inc(x_30); -lean_dec(x_20); -x_31 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_31, 0, x_24); -lean_ctor_set(x_31, 1, x_25); -lean_ctor_set(x_31, 2, x_26); -lean_ctor_set(x_31, 3, x_28); -lean_ctor_set(x_31, 4, x_29); -lean_ctor_set(x_31, 5, x_30); -lean_ctor_set_uint8(x_31, sizeof(void*)*6, x_27); -x_32 = lean_st_ref_set(x_2, x_31, x_21); -x_33 = lean_ctor_get(x_32, 1); -lean_inc(x_33); -lean_dec(x_32); -x_34 = l_Lean_Compiler_LCNF_Simp_simp(x_6, x_1, x_2, x_9, x_10, x_11, x_12, x_33); -return x_34; +x_19 = l_Lean_Compiler_LCNF_Simp_simp(x_6, x_1, x_2, x_9, x_10, x_11, x_12, x_18); +return x_19; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_35 = l_Lean_Expr_fvar___override(x_8); -x_36 = lean_array_get_size(x_7); -x_37 = l_Array_toSubarray___rarg(x_7, x_3, x_36); -x_38 = l_Array_ofSubarray___rarg(x_37); -x_39 = l_Lean_mkAppN(x_35, x_38); -x_40 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_41 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_39, x_40, x_9, x_10, x_11, x_12, x_15); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_ctor_get(x_42, 0); -lean_inc(x_44); -x_45 = lean_st_ref_get(x_12, x_43); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = lean_st_ref_take(x_2, x_46); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -x_49 = lean_ctor_get(x_47, 1); -lean_inc(x_49); -lean_dec(x_47); -x_50 = lean_ctor_get(x_48, 0); -lean_inc(x_50); -x_51 = l_Lean_Expr_fvar___override(x_44); -x_52 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_50, x_5, x_51); -x_53 = lean_ctor_get(x_48, 1); -lean_inc(x_53); -x_54 = lean_ctor_get(x_48, 2); -lean_inc(x_54); -x_55 = lean_ctor_get_uint8(x_48, sizeof(void*)*6); -x_56 = lean_ctor_get(x_48, 3); -lean_inc(x_56); -x_57 = lean_ctor_get(x_48, 4); -lean_inc(x_57); -x_58 = lean_ctor_get(x_48, 5); -lean_inc(x_58); -lean_dec(x_48); -x_59 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_59, 0, x_52); -lean_ctor_set(x_59, 1, x_53); -lean_ctor_set(x_59, 2, x_54); -lean_ctor_set(x_59, 3, x_56); -lean_ctor_set(x_59, 4, x_57); -lean_ctor_set(x_59, 5, x_58); -lean_ctor_set_uint8(x_59, sizeof(void*)*6, x_55); -x_60 = lean_st_ref_set(x_2, x_59, x_49); -x_61 = lean_ctor_get(x_60, 1); -lean_inc(x_61); -lean_dec(x_60); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_42); -lean_ctor_set(x_62, 1, x_6); -x_63 = l_Lean_Compiler_LCNF_Simp_simp(x_62, x_1, x_2, x_9, x_10, x_11, x_12, x_61); -return x_63; -} -else -{ -uint8_t x_64; +uint8_t x_20; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_6); -lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); -x_64 = !lean_is_exclusive(x_41); -if (x_64 == 0) +x_20 = !lean_is_exclusive(x_17); +if (x_20 == 0) { -return x_41; +return x_17; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_41, 0); -x_66 = lean_ctor_get(x_41, 1); -lean_inc(x_66); -lean_inc(x_65); -lean_dec(x_41); -x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_65); -lean_ctor_set(x_67, 1, x_66); -return x_67; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, uint8_t x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18) { -_start: -{ -lean_object* x_19; -x_19 = l_Lean_Expr_getAppFn(x_1); -lean_dec(x_1); -switch (lean_obj_tag(x_19)) { -case 0: -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; -lean_dec(x_19); -x_20 = lean_ctor_get(x_12, 3); -x_21 = lean_ctor_get(x_12, 0); -x_22 = lean_ctor_get(x_12, 1); -x_23 = lean_ctor_get(x_12, 2); -lean_inc(x_20); -lean_inc(x_23); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_17, 0); +x_22 = lean_ctor_get(x_17, 1); lean_inc(x_22); lean_inc(x_21); -x_24 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_24, 0, x_21); -lean_ctor_set(x_24, 1, x_22); -lean_ctor_set(x_24, 2, x_23); -lean_ctor_set(x_24, 3, x_20); -x_25 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_26 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_25, x_24, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_136; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_136 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_136 == 0) -{ -lean_object* x_137; -x_137 = lean_box(0); -x_29 = x_137; -goto block_135; +lean_dec(x_17); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } -else -{ -uint8_t x_138; -x_138 = lean_nat_dec_eq(x_7, x_6); -if (x_138 == 0) -{ -lean_object* x_139; -x_139 = lean_box(0); -x_29 = x_139; -goto block_135; -} -else -{ -lean_object* x_140; lean_object* x_141; lean_object* x_142; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_140 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_28); -x_141 = lean_ctor_get(x_140, 1); -lean_inc(x_141); -lean_dec(x_140); -x_142 = l_Lean_Compiler_LCNF_Simp_simp(x_27, x_24, x_13, x_14, x_15, x_16, x_17, x_141); -if (lean_obj_tag(x_142) == 0) -{ -uint8_t x_143; -x_143 = !lean_is_exclusive(x_142); -if (x_143 == 0) -{ -lean_object* x_144; lean_object* x_145; -x_144 = lean_ctor_get(x_142, 0); -x_145 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_142, 0, x_145); -return x_142; -} -else -{ -lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_146 = lean_ctor_get(x_142, 0); -x_147 = lean_ctor_get(x_142, 1); -lean_inc(x_147); -lean_inc(x_146); -lean_dec(x_142); -x_148 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_148, 0, x_146); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_147); -return x_149; } } else { -uint8_t x_150; -x_150 = !lean_is_exclusive(x_142); -if (x_150 == 0) -{ -return x_142; -} -else -{ -lean_object* x_151; lean_object* x_152; lean_object* x_153; -x_151 = lean_ctor_get(x_142, 0); -x_152 = lean_ctor_get(x_142, 1); -lean_inc(x_152); -lean_inc(x_151); -lean_dec(x_142); -x_153 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_153, 0, x_151); -lean_ctor_set(x_153, 1, x_152); -return x_153; -} -} -} -} -block_135: -{ -lean_object* x_30; -lean_dec(x_29); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_24); -x_30 = l_Lean_Compiler_LCNF_Simp_simp(x_27, x_24, x_13, x_14, x_15, x_16, x_17, x_28); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_24 = l_Lean_Expr_fvar___override(x_8); +x_25 = lean_array_get_size(x_7); +x_26 = l_Array_toSubarray___rarg(x_7, x_3, x_25); +x_27 = l_Array_ofSubarray___rarg(x_26); +x_28 = l_Lean_mkAppN(x_24, x_27); +x_29 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_30 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_28, x_29, x_9, x_10, x_11, x_12, x_15); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); lean_inc(x_32); lean_dec(x_30); -lean_inc(x_31); -x_33 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_31); -if (x_33 == 0) +x_33 = lean_ctor_get(x_31, 0); +lean_inc(x_33); +x_34 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_5, x_33, x_1, x_2, x_9, x_10, x_11, x_12, x_32); +if (lean_obj_tag(x_34) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_34 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_32); +lean_object* x_35; lean_object* x_36; lean_object* x_37; x_35 = lean_ctor_get(x_34, 1); lean_inc(x_35); lean_dec(x_34); -x_36 = lean_ctor_get(x_5, 2); -lean_inc(x_36); -lean_dec(x_5); -x_37 = l_Lean_mkAppN(x_36, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_38 = l_Lean_Compiler_LCNF_inferType(x_37, x_14, x_15, x_16, x_17, x_35); -if (lean_obj_tag(x_38) == 0) +x_36 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_36, 0, x_31); +lean_ctor_set(x_36, 1, x_6); +x_37 = l_Lean_Compiler_LCNF_Simp_simp(x_36, x_1, x_2, x_9, x_10, x_11, x_12, x_35); +return x_37; +} +else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +uint8_t x_38; +lean_dec(x_31); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_2); +lean_dec(x_1); +x_38 = !lean_is_exclusive(x_34); +if (x_38 == 0) +{ +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_34, 0); +x_40 = lean_ctor_get(x_34, 1); lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_Compiler_LCNF_mkAuxParam(x_39, x_25, x_14, x_15, x_16, x_17, x_40); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_44 == 0) -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -lean_dec(x_10); -lean_dec(x_6); -x_45 = lean_ctor_get(x_42, 0); -lean_inc(x_45); -x_46 = lean_st_ref_get(x_17, x_43); -x_47 = lean_ctor_get(x_46, 1); -lean_inc(x_47); -lean_dec(x_46); -x_48 = lean_st_ref_take(x_13, x_47); -x_49 = lean_ctor_get(x_48, 0); -lean_inc(x_49); -x_50 = lean_ctor_get(x_48, 1); -lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_ctor_get(x_49, 0); -lean_inc(x_51); -x_52 = l_Lean_Expr_fvar___override(x_45); -x_53 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_51, x_8, x_52); -x_54 = lean_ctor_get(x_49, 1); -lean_inc(x_54); -x_55 = lean_ctor_get(x_49, 2); -lean_inc(x_55); -x_56 = lean_ctor_get_uint8(x_49, sizeof(void*)*6); -x_57 = lean_ctor_get(x_49, 3); -lean_inc(x_57); -x_58 = lean_ctor_get(x_49, 4); -lean_inc(x_58); -x_59 = lean_ctor_get(x_49, 5); -lean_inc(x_59); -lean_dec(x_49); -x_60 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_60, 0, x_53); -lean_ctor_set(x_60, 1, x_54); -lean_ctor_set(x_60, 2, x_55); -lean_ctor_set(x_60, 3, x_57); -lean_ctor_set(x_60, 4, x_58); -lean_ctor_set(x_60, 5, x_59); -lean_ctor_set_uint8(x_60, sizeof(void*)*6, x_56); -x_61 = lean_st_ref_set(x_13, x_60, x_50); -x_62 = lean_ctor_get(x_61, 1); -lean_inc(x_62); -lean_dec(x_61); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_24); -x_63 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_24, x_13, x_14, x_15, x_16, x_17, x_62); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_63, 0); -lean_inc(x_64); -x_65 = lean_ctor_get(x_63, 1); -lean_inc(x_65); -lean_dec(x_63); -x_66 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_42, x_31, x_64, x_24, x_13, x_14, x_15, x_16, x_17, x_65); -lean_dec(x_13); -lean_dec(x_24); -return x_66; -} -else -{ -uint8_t x_67; -lean_dec(x_42); -lean_dec(x_31); -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_67 = !lean_is_exclusive(x_63); -if (x_67 == 0) -{ -return x_63; -} -else -{ -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_63, 0); -x_69 = lean_ctor_get(x_63, 1); -lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_63); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_inc(x_39); +lean_dec(x_34); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } else { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_71 = lean_ctor_get(x_42, 0); -lean_inc(x_71); -x_72 = l_Lean_Expr_fvar___override(x_71); -x_73 = lean_array_get_size(x_10); -x_74 = l_Array_toSubarray___rarg(x_10, x_6, x_73); -x_75 = l_Array_ofSubarray___rarg(x_74); -x_76 = l_Lean_mkAppN(x_72, x_75); -x_77 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_78 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_76, x_77, x_14, x_15, x_16, x_17, x_43); -if (lean_obj_tag(x_78) == 0) -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_79 = lean_ctor_get(x_78, 0); -lean_inc(x_79); -x_80 = lean_ctor_get(x_78, 1); -lean_inc(x_80); -lean_dec(x_78); -x_81 = lean_ctor_get(x_79, 0); -lean_inc(x_81); -x_82 = lean_st_ref_get(x_17, x_80); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_st_ref_take(x_13, x_83); -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_ctor_get(x_85, 0); -lean_inc(x_87); -x_88 = l_Lean_Expr_fvar___override(x_81); -x_89 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_87, x_8, x_88); -x_90 = lean_ctor_get(x_85, 1); -lean_inc(x_90); -x_91 = lean_ctor_get(x_85, 2); -lean_inc(x_91); -x_92 = lean_ctor_get_uint8(x_85, sizeof(void*)*6); -x_93 = lean_ctor_get(x_85, 3); -lean_inc(x_93); -x_94 = lean_ctor_get(x_85, 4); -lean_inc(x_94); -x_95 = lean_ctor_get(x_85, 5); -lean_inc(x_95); -lean_dec(x_85); -x_96 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_96, 0, x_89); -lean_ctor_set(x_96, 1, x_90); -lean_ctor_set(x_96, 2, x_91); -lean_ctor_set(x_96, 3, x_93); -lean_ctor_set(x_96, 4, x_94); -lean_ctor_set(x_96, 5, x_95); -lean_ctor_set_uint8(x_96, sizeof(void*)*6, x_92); -x_97 = lean_st_ref_set(x_13, x_96, x_86); -x_98 = lean_ctor_get(x_97, 1); -lean_inc(x_98); -lean_dec(x_97); -x_99 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_99, 0, x_79); -lean_ctor_set(x_99, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_24); -x_100 = l_Lean_Compiler_LCNF_Simp_simp(x_99, x_24, x_13, x_14, x_15, x_16, x_17, x_98); -if (lean_obj_tag(x_100) == 0) -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_101 = lean_ctor_get(x_100, 0); -lean_inc(x_101); -x_102 = lean_ctor_get(x_100, 1); -lean_inc(x_102); -lean_dec(x_100); -x_103 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_42, x_31, x_101, x_24, x_13, x_14, x_15, x_16, x_17, x_102); -lean_dec(x_13); -lean_dec(x_24); -return x_103; -} -else -{ -uint8_t x_104; -lean_dec(x_42); -lean_dec(x_31); -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_104 = !lean_is_exclusive(x_100); -if (x_104 == 0) -{ -return x_100; -} -else -{ -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_100, 0); -x_106 = lean_ctor_get(x_100, 1); -lean_inc(x_106); -lean_inc(x_105); -lean_dec(x_100); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; -} -} -} -else -{ -uint8_t x_108; -lean_dec(x_42); -lean_dec(x_31); -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_108 = !lean_is_exclusive(x_78); -if (x_108 == 0) -{ -return x_78; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_109 = lean_ctor_get(x_78, 0); -x_110 = lean_ctor_get(x_78, 1); -lean_inc(x_110); -lean_inc(x_109); -lean_dec(x_78); -x_111 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_111, 0, x_109); -lean_ctor_set(x_111, 1, x_110); -return x_111; -} -} -} -} -else -{ -uint8_t x_112; -lean_dec(x_31); -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); +uint8_t x_42; +lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_112 = !lean_is_exclusive(x_38); -if (x_112 == 0) -{ -return x_38; -} -else -{ -lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_113 = lean_ctor_get(x_38, 0); -x_114 = lean_ctor_get(x_38, 1); -lean_inc(x_114); -lean_inc(x_113); -lean_dec(x_38); -x_115 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_115, 0, x_113); -lean_ctor_set(x_115, 1, x_114); -return x_115; -} -} -} -else -{ -lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; -lean_dec(x_5); -lean_dec(x_4); -x_116 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_32); -x_117 = lean_ctor_get(x_116, 1); -lean_inc(x_117); -lean_dec(x_116); -x_118 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_118, 0, x_24); -lean_closure_set(x_118, 1, x_13); -lean_closure_set(x_118, 2, x_6); -lean_closure_set(x_118, 3, x_7); -lean_closure_set(x_118, 4, x_8); -lean_closure_set(x_118, 5, x_9); -lean_closure_set(x_118, 6, x_10); -x_119 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_31, x_118, x_14, x_15, x_16, x_17, x_117); -if (lean_obj_tag(x_119) == 0) -{ -uint8_t x_120; -x_120 = !lean_is_exclusive(x_119); -if (x_120 == 0) -{ -lean_object* x_121; lean_object* x_122; -x_121 = lean_ctor_get(x_119, 0); -x_122 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_119, 0, x_122); -return x_119; -} -else -{ -lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_123 = lean_ctor_get(x_119, 0); -x_124 = lean_ctor_get(x_119, 1); -lean_inc(x_124); -lean_inc(x_123); -lean_dec(x_119); -x_125 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_125, 0, x_123); -x_126 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_126, 0, x_125); -lean_ctor_set(x_126, 1, x_124); -return x_126; -} -} -else -{ -uint8_t x_127; -x_127 = !lean_is_exclusive(x_119); -if (x_127 == 0) -{ -return x_119; -} -else -{ -lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_128 = lean_ctor_get(x_119, 0); -x_129 = lean_ctor_get(x_119, 1); -lean_inc(x_129); -lean_inc(x_128); -lean_dec(x_119); -x_130 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_130, 0, x_128); -lean_ctor_set(x_130, 1, x_129); -return x_130; -} -} -} -} -else -{ -uint8_t x_131; -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_4); -x_131 = !lean_is_exclusive(x_30); -if (x_131 == 0) +lean_dec(x_2); +lean_dec(x_1); +x_42 = !lean_is_exclusive(x_30); +if (x_42 == 0) { return x_30; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_30, 0); -x_133 = lean_ctor_get(x_30, 1); -lean_inc(x_133); -lean_inc(x_132); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_30, 0); +x_44 = lean_ctor_get(x_30, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_30); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } -else -{ -uint8_t x_154; -lean_dec(x_24); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_154 = !lean_is_exclusive(x_26); -if (x_154 == 0) -{ -return x_26; } -else -{ -lean_object* x_155; lean_object* x_156; lean_object* x_157; -x_155 = lean_ctor_get(x_26, 0); -x_156 = lean_ctor_get(x_26, 1); -lean_inc(x_156); -lean_inc(x_155); -lean_dec(x_26); -x_157 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_157, 0, x_155); -lean_ctor_set(x_157, 1, x_156); -return x_157; -} -} -} -case 1: -{ -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; uint8_t x_163; lean_object* x_164; -lean_dec(x_19); -x_158 = lean_ctor_get(x_12, 3); -x_159 = lean_ctor_get(x_12, 0); -x_160 = lean_ctor_get(x_12, 1); -x_161 = lean_ctor_get(x_12, 2); -lean_inc(x_158); -lean_inc(x_161); -lean_inc(x_160); -lean_inc(x_159); -x_162 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_162, 0, x_159); -lean_ctor_set(x_162, 1, x_160); -lean_ctor_set(x_162, 2, x_161); -lean_ctor_set(x_162, 3, x_158); -x_163 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_164 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_163, x_162, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_164) == 0) -{ -lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_274; -x_165 = lean_ctor_get(x_164, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_164, 1); -lean_inc(x_166); -lean_dec(x_164); -x_274 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_274 == 0) -{ -lean_object* x_275; -x_275 = lean_box(0); -x_167 = x_275; -goto block_273; -} -else -{ -uint8_t x_276; -x_276 = lean_nat_dec_eq(x_7, x_6); -if (x_276 == 0) -{ -lean_object* x_277; -x_277 = lean_box(0); -x_167 = x_277; -goto block_273; -} -else -{ -lean_object* x_278; lean_object* x_279; lean_object* x_280; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_278 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_166); -x_279 = lean_ctor_get(x_278, 1); -lean_inc(x_279); -lean_dec(x_278); -x_280 = l_Lean_Compiler_LCNF_Simp_simp(x_165, x_162, x_13, x_14, x_15, x_16, x_17, x_279); -if (lean_obj_tag(x_280) == 0) -{ -uint8_t x_281; -x_281 = !lean_is_exclusive(x_280); -if (x_281 == 0) -{ -lean_object* x_282; lean_object* x_283; -x_282 = lean_ctor_get(x_280, 0); -x_283 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_283, 0, x_282); -lean_ctor_set(x_280, 0, x_283); -return x_280; -} -else -{ -lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_284 = lean_ctor_get(x_280, 0); -x_285 = lean_ctor_get(x_280, 1); -lean_inc(x_285); -lean_inc(x_284); -lean_dec(x_280); -x_286 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_286, 0, x_284); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_285); -return x_287; -} -} -else -{ -uint8_t x_288; -x_288 = !lean_is_exclusive(x_280); -if (x_288 == 0) -{ -return x_280; -} -else -{ -lean_object* x_289; lean_object* x_290; lean_object* x_291; -x_289 = lean_ctor_get(x_280, 0); -x_290 = lean_ctor_get(x_280, 1); -lean_inc(x_290); -lean_inc(x_289); -lean_dec(x_280); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_289); -lean_ctor_set(x_291, 1, x_290); -return x_291; -} -} -} -} -block_273: -{ -lean_object* x_168; -lean_dec(x_167); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_162); -x_168 = l_Lean_Compiler_LCNF_Simp_simp(x_165, x_162, x_13, x_14, x_15, x_16, x_17, x_166); -if (lean_obj_tag(x_168) == 0) -{ -lean_object* x_169; lean_object* x_170; uint8_t x_171; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -lean_inc(x_169); -x_171 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_169); -if (x_171 == 0) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_172 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_170); -x_173 = lean_ctor_get(x_172, 1); -lean_inc(x_173); -lean_dec(x_172); -x_174 = lean_ctor_get(x_5, 2); -lean_inc(x_174); -lean_dec(x_5); -x_175 = l_Lean_mkAppN(x_174, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_176 = l_Lean_Compiler_LCNF_inferType(x_175, x_14, x_15, x_16, x_17, x_173); -if (lean_obj_tag(x_176) == 0) -{ -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; uint8_t x_182; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -x_179 = l_Lean_Compiler_LCNF_mkAuxParam(x_177, x_163, x_14, x_15, x_16, x_17, x_178); -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -lean_dec(x_179); -x_182 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_182 == 0) -{ -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; uint8_t 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_dec(x_10); -lean_dec(x_6); -x_183 = lean_ctor_get(x_180, 0); -lean_inc(x_183); -x_184 = lean_st_ref_get(x_17, x_181); -x_185 = lean_ctor_get(x_184, 1); -lean_inc(x_185); -lean_dec(x_184); -x_186 = lean_st_ref_take(x_13, x_185); -x_187 = lean_ctor_get(x_186, 0); -lean_inc(x_187); -x_188 = lean_ctor_get(x_186, 1); -lean_inc(x_188); -lean_dec(x_186); -x_189 = lean_ctor_get(x_187, 0); -lean_inc(x_189); -x_190 = l_Lean_Expr_fvar___override(x_183); -x_191 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_189, x_8, x_190); -x_192 = lean_ctor_get(x_187, 1); -lean_inc(x_192); -x_193 = lean_ctor_get(x_187, 2); -lean_inc(x_193); -x_194 = lean_ctor_get_uint8(x_187, sizeof(void*)*6); -x_195 = lean_ctor_get(x_187, 3); -lean_inc(x_195); -x_196 = lean_ctor_get(x_187, 4); -lean_inc(x_196); -x_197 = lean_ctor_get(x_187, 5); -lean_inc(x_197); -lean_dec(x_187); -x_198 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_198, 0, x_191); -lean_ctor_set(x_198, 1, x_192); -lean_ctor_set(x_198, 2, x_193); -lean_ctor_set(x_198, 3, x_195); -lean_ctor_set(x_198, 4, x_196); -lean_ctor_set(x_198, 5, x_197); -lean_ctor_set_uint8(x_198, sizeof(void*)*6, x_194); -x_199 = lean_st_ref_set(x_13, x_198, x_188); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_162); -x_201 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_162, x_13, x_14, x_15, x_16, x_17, x_200); -if (lean_obj_tag(x_201) == 0) -{ -lean_object* x_202; lean_object* x_203; lean_object* x_204; -x_202 = lean_ctor_get(x_201, 0); -lean_inc(x_202); -x_203 = lean_ctor_get(x_201, 1); -lean_inc(x_203); -lean_dec(x_201); -x_204 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_180, x_169, x_202, x_162, x_13, x_14, x_15, x_16, x_17, x_203); -lean_dec(x_13); -lean_dec(x_162); -return x_204; -} -else -{ -uint8_t x_205; -lean_dec(x_180); -lean_dec(x_169); -lean_dec(x_162); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_205 = !lean_is_exclusive(x_201); -if (x_205 == 0) -{ -return x_201; -} -else -{ -lean_object* x_206; lean_object* x_207; lean_object* x_208; -x_206 = lean_ctor_get(x_201, 0); -x_207 = lean_ctor_get(x_201, 1); -lean_inc(x_207); -lean_inc(x_206); -lean_dec(x_201); -x_208 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_208, 0, x_206); -lean_ctor_set(x_208, 1, x_207); -return x_208; -} -} -} -else -{ -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_209 = lean_ctor_get(x_180, 0); -lean_inc(x_209); -x_210 = l_Lean_Expr_fvar___override(x_209); -x_211 = lean_array_get_size(x_10); -x_212 = l_Array_toSubarray___rarg(x_10, x_6, x_211); -x_213 = l_Array_ofSubarray___rarg(x_212); -x_214 = l_Lean_mkAppN(x_210, x_213); -x_215 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_216 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_214, x_215, x_14, x_15, x_16, x_17, x_181); -if (lean_obj_tag(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; uint8_t x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_216, 1); -lean_inc(x_218); -lean_dec(x_216); -x_219 = lean_ctor_get(x_217, 0); -lean_inc(x_219); -x_220 = lean_st_ref_get(x_17, x_218); -x_221 = lean_ctor_get(x_220, 1); -lean_inc(x_221); -lean_dec(x_220); -x_222 = lean_st_ref_take(x_13, x_221); -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -lean_dec(x_222); -x_225 = lean_ctor_get(x_223, 0); -lean_inc(x_225); -x_226 = l_Lean_Expr_fvar___override(x_219); -x_227 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_225, x_8, x_226); -x_228 = lean_ctor_get(x_223, 1); -lean_inc(x_228); -x_229 = lean_ctor_get(x_223, 2); -lean_inc(x_229); -x_230 = lean_ctor_get_uint8(x_223, sizeof(void*)*6); -x_231 = lean_ctor_get(x_223, 3); -lean_inc(x_231); -x_232 = lean_ctor_get(x_223, 4); -lean_inc(x_232); -x_233 = lean_ctor_get(x_223, 5); -lean_inc(x_233); -lean_dec(x_223); -x_234 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_234, 0, x_227); -lean_ctor_set(x_234, 1, x_228); -lean_ctor_set(x_234, 2, x_229); -lean_ctor_set(x_234, 3, x_231); -lean_ctor_set(x_234, 4, x_232); -lean_ctor_set(x_234, 5, x_233); -lean_ctor_set_uint8(x_234, sizeof(void*)*6, x_230); -x_235 = lean_st_ref_set(x_13, x_234, x_224); -x_236 = lean_ctor_get(x_235, 1); -lean_inc(x_236); -lean_dec(x_235); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_217); -lean_ctor_set(x_237, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_162); -x_238 = l_Lean_Compiler_LCNF_Simp_simp(x_237, x_162, x_13, x_14, x_15, x_16, x_17, x_236); -if (lean_obj_tag(x_238) == 0) -{ -lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_239 = lean_ctor_get(x_238, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_238, 1); -lean_inc(x_240); -lean_dec(x_238); -x_241 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_180, x_169, x_239, x_162, x_13, x_14, x_15, x_16, x_17, x_240); -lean_dec(x_13); -lean_dec(x_162); -return x_241; -} -else -{ -uint8_t x_242; -lean_dec(x_180); -lean_dec(x_169); -lean_dec(x_162); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_242 = !lean_is_exclusive(x_238); -if (x_242 == 0) -{ -return x_238; -} -else -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_243 = lean_ctor_get(x_238, 0); -x_244 = lean_ctor_get(x_238, 1); -lean_inc(x_244); -lean_inc(x_243); -lean_dec(x_238); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_243); -lean_ctor_set(x_245, 1, x_244); -return x_245; -} -} -} -else -{ -uint8_t x_246; -lean_dec(x_180); -lean_dec(x_169); -lean_dec(x_162); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_246 = !lean_is_exclusive(x_216); -if (x_246 == 0) -{ -return x_216; -} -else -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_247 = lean_ctor_get(x_216, 0); -x_248 = lean_ctor_get(x_216, 1); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_216); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -return x_249; -} -} -} -} -else -{ -uint8_t x_250; -lean_dec(x_169); -lean_dec(x_162); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_250 = !lean_is_exclusive(x_176); -if (x_250 == 0) -{ -return x_176; -} -else -{ -lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_251 = lean_ctor_get(x_176, 0); -x_252 = lean_ctor_get(x_176, 1); -lean_inc(x_252); -lean_inc(x_251); -lean_dec(x_176); -x_253 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_253, 0, x_251); -lean_ctor_set(x_253, 1, x_252); -return x_253; -} -} -} -else -{ -lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; -lean_dec(x_5); -lean_dec(x_4); -x_254 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_170); -x_255 = lean_ctor_get(x_254, 1); -lean_inc(x_255); -lean_dec(x_254); -x_256 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_256, 0, x_162); -lean_closure_set(x_256, 1, x_13); -lean_closure_set(x_256, 2, x_6); -lean_closure_set(x_256, 3, x_7); -lean_closure_set(x_256, 4, x_8); -lean_closure_set(x_256, 5, x_9); -lean_closure_set(x_256, 6, x_10); -x_257 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_169, x_256, x_14, x_15, x_16, x_17, x_255); -if (lean_obj_tag(x_257) == 0) -{ -uint8_t x_258; -x_258 = !lean_is_exclusive(x_257); -if (x_258 == 0) -{ -lean_object* x_259; lean_object* x_260; -x_259 = lean_ctor_get(x_257, 0); -x_260 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_260, 0, x_259); -lean_ctor_set(x_257, 0, x_260); -return x_257; -} -else -{ -lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -x_261 = lean_ctor_get(x_257, 0); -x_262 = lean_ctor_get(x_257, 1); -lean_inc(x_262); -lean_inc(x_261); -lean_dec(x_257); -x_263 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_263, 0, x_261); -x_264 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_264, 0, x_263); -lean_ctor_set(x_264, 1, x_262); -return x_264; -} -} -else -{ -uint8_t x_265; -x_265 = !lean_is_exclusive(x_257); -if (x_265 == 0) -{ -return x_257; -} -else -{ -lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_266 = lean_ctor_get(x_257, 0); -x_267 = lean_ctor_get(x_257, 1); -lean_inc(x_267); -lean_inc(x_266); -lean_dec(x_257); -x_268 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_268, 0, x_266); -lean_ctor_set(x_268, 1, x_267); -return x_268; -} -} -} -} -else -{ -uint8_t x_269; -lean_dec(x_162); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_269 = !lean_is_exclusive(x_168); -if (x_269 == 0) -{ -return x_168; -} -else -{ -lean_object* x_270; lean_object* x_271; lean_object* x_272; -x_270 = lean_ctor_get(x_168, 0); -x_271 = lean_ctor_get(x_168, 1); -lean_inc(x_271); -lean_inc(x_270); -lean_dec(x_168); -x_272 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_272, 0, x_270); -lean_ctor_set(x_272, 1, x_271); -return x_272; -} -} -} -} -else -{ -uint8_t x_292; -lean_dec(x_162); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_292 = !lean_is_exclusive(x_164); -if (x_292 == 0) -{ -return x_164; -} -else -{ -lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_293 = lean_ctor_get(x_164, 0); -x_294 = lean_ctor_get(x_164, 1); -lean_inc(x_294); -lean_inc(x_293); -lean_dec(x_164); -x_295 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_295, 0, x_293); -lean_ctor_set(x_295, 1, x_294); -return x_295; -} -} -} -case 2: -{ -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; uint8_t x_301; lean_object* x_302; -lean_dec(x_19); -x_296 = lean_ctor_get(x_12, 3); -x_297 = lean_ctor_get(x_12, 0); -x_298 = lean_ctor_get(x_12, 1); -x_299 = lean_ctor_get(x_12, 2); -lean_inc(x_296); -lean_inc(x_299); -lean_inc(x_298); -lean_inc(x_297); -x_300 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_300, 0, x_297); -lean_ctor_set(x_300, 1, x_298); -lean_ctor_set(x_300, 2, x_299); -lean_ctor_set(x_300, 3, x_296); -x_301 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_302 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_301, x_300, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_302) == 0) -{ -lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t x_412; -x_303 = lean_ctor_get(x_302, 0); -lean_inc(x_303); -x_304 = lean_ctor_get(x_302, 1); -lean_inc(x_304); -lean_dec(x_302); -x_412 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_412 == 0) -{ -lean_object* x_413; -x_413 = lean_box(0); -x_305 = x_413; -goto block_411; -} -else -{ -uint8_t x_414; -x_414 = lean_nat_dec_eq(x_7, x_6); -if (x_414 == 0) -{ -lean_object* x_415; -x_415 = lean_box(0); -x_305 = x_415; -goto block_411; -} -else -{ -lean_object* x_416; lean_object* x_417; lean_object* x_418; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_416 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_304); -x_417 = lean_ctor_get(x_416, 1); -lean_inc(x_417); -lean_dec(x_416); -x_418 = l_Lean_Compiler_LCNF_Simp_simp(x_303, x_300, x_13, x_14, x_15, x_16, x_17, x_417); -if (lean_obj_tag(x_418) == 0) -{ -uint8_t x_419; -x_419 = !lean_is_exclusive(x_418); -if (x_419 == 0) -{ -lean_object* x_420; lean_object* x_421; -x_420 = lean_ctor_get(x_418, 0); -x_421 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_421, 0, x_420); -lean_ctor_set(x_418, 0, x_421); -return x_418; -} -else -{ -lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; -x_422 = lean_ctor_get(x_418, 0); -x_423 = lean_ctor_get(x_418, 1); -lean_inc(x_423); -lean_inc(x_422); -lean_dec(x_418); -x_424 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_424, 0, x_422); -x_425 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_425, 0, x_424); -lean_ctor_set(x_425, 1, x_423); -return x_425; -} -} -else -{ -uint8_t x_426; -x_426 = !lean_is_exclusive(x_418); -if (x_426 == 0) -{ -return x_418; -} -else -{ -lean_object* x_427; lean_object* x_428; lean_object* x_429; -x_427 = lean_ctor_get(x_418, 0); -x_428 = lean_ctor_get(x_418, 1); -lean_inc(x_428); -lean_inc(x_427); -lean_dec(x_418); -x_429 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_429, 0, x_427); -lean_ctor_set(x_429, 1, x_428); -return x_429; -} -} -} -} -block_411: -{ -lean_object* x_306; -lean_dec(x_305); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_300); -x_306 = l_Lean_Compiler_LCNF_Simp_simp(x_303, x_300, x_13, x_14, x_15, x_16, x_17, x_304); -if (lean_obj_tag(x_306) == 0) -{ -lean_object* x_307; lean_object* x_308; uint8_t x_309; -x_307 = lean_ctor_get(x_306, 0); -lean_inc(x_307); -x_308 = lean_ctor_get(x_306, 1); -lean_inc(x_308); -lean_dec(x_306); -lean_inc(x_307); -x_309 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_307); -if (x_309 == 0) -{ -lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -x_310 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_308); -x_311 = lean_ctor_get(x_310, 1); -lean_inc(x_311); -lean_dec(x_310); -x_312 = lean_ctor_get(x_5, 2); -lean_inc(x_312); -lean_dec(x_5); -x_313 = l_Lean_mkAppN(x_312, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_314 = l_Lean_Compiler_LCNF_inferType(x_313, x_14, x_15, x_16, x_17, x_311); -if (lean_obj_tag(x_314) == 0) -{ -lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; uint8_t x_320; -x_315 = lean_ctor_get(x_314, 0); -lean_inc(x_315); -x_316 = lean_ctor_get(x_314, 1); -lean_inc(x_316); -lean_dec(x_314); -x_317 = l_Lean_Compiler_LCNF_mkAuxParam(x_315, x_301, x_14, x_15, x_16, x_17, x_316); -x_318 = lean_ctor_get(x_317, 0); -lean_inc(x_318); -x_319 = lean_ctor_get(x_317, 1); -lean_inc(x_319); -lean_dec(x_317); -x_320 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_320 == 0) -{ -lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -lean_dec(x_10); -lean_dec(x_6); -x_321 = lean_ctor_get(x_318, 0); -lean_inc(x_321); -x_322 = lean_st_ref_get(x_17, x_319); -x_323 = lean_ctor_get(x_322, 1); -lean_inc(x_323); -lean_dec(x_322); -x_324 = lean_st_ref_take(x_13, x_323); -x_325 = lean_ctor_get(x_324, 0); -lean_inc(x_325); -x_326 = lean_ctor_get(x_324, 1); -lean_inc(x_326); -lean_dec(x_324); -x_327 = lean_ctor_get(x_325, 0); -lean_inc(x_327); -x_328 = l_Lean_Expr_fvar___override(x_321); -x_329 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_327, x_8, x_328); -x_330 = lean_ctor_get(x_325, 1); -lean_inc(x_330); -x_331 = lean_ctor_get(x_325, 2); -lean_inc(x_331); -x_332 = lean_ctor_get_uint8(x_325, sizeof(void*)*6); -x_333 = lean_ctor_get(x_325, 3); -lean_inc(x_333); -x_334 = lean_ctor_get(x_325, 4); -lean_inc(x_334); -x_335 = lean_ctor_get(x_325, 5); -lean_inc(x_335); -lean_dec(x_325); -x_336 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_336, 0, x_329); -lean_ctor_set(x_336, 1, x_330); -lean_ctor_set(x_336, 2, x_331); -lean_ctor_set(x_336, 3, x_333); -lean_ctor_set(x_336, 4, x_334); -lean_ctor_set(x_336, 5, x_335); -lean_ctor_set_uint8(x_336, sizeof(void*)*6, x_332); -x_337 = lean_st_ref_set(x_13, x_336, x_326); -x_338 = lean_ctor_get(x_337, 1); -lean_inc(x_338); -lean_dec(x_337); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_300); -x_339 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_300, x_13, x_14, x_15, x_16, x_17, x_338); -if (lean_obj_tag(x_339) == 0) -{ -lean_object* x_340; lean_object* x_341; lean_object* x_342; -x_340 = lean_ctor_get(x_339, 0); -lean_inc(x_340); -x_341 = lean_ctor_get(x_339, 1); -lean_inc(x_341); -lean_dec(x_339); -x_342 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_318, x_307, x_340, x_300, x_13, x_14, x_15, x_16, x_17, x_341); -lean_dec(x_13); -lean_dec(x_300); -return x_342; -} -else -{ -uint8_t x_343; -lean_dec(x_318); -lean_dec(x_307); -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_343 = !lean_is_exclusive(x_339); -if (x_343 == 0) -{ -return x_339; -} -else -{ -lean_object* x_344; lean_object* x_345; lean_object* x_346; -x_344 = lean_ctor_get(x_339, 0); -x_345 = lean_ctor_get(x_339, 1); -lean_inc(x_345); -lean_inc(x_344); -lean_dec(x_339); -x_346 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_346, 0, x_344); -lean_ctor_set(x_346, 1, x_345); -return x_346; -} -} -} -else -{ -lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; -x_347 = lean_ctor_get(x_318, 0); -lean_inc(x_347); -x_348 = l_Lean_Expr_fvar___override(x_347); -x_349 = lean_array_get_size(x_10); -x_350 = l_Array_toSubarray___rarg(x_10, x_6, x_349); -x_351 = l_Array_ofSubarray___rarg(x_350); -x_352 = l_Lean_mkAppN(x_348, x_351); -x_353 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_354 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_352, x_353, x_14, x_15, x_16, x_17, x_319); -if (lean_obj_tag(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; uint8_t x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; -x_355 = lean_ctor_get(x_354, 0); -lean_inc(x_355); -x_356 = lean_ctor_get(x_354, 1); -lean_inc(x_356); -lean_dec(x_354); -x_357 = lean_ctor_get(x_355, 0); -lean_inc(x_357); -x_358 = lean_st_ref_get(x_17, x_356); -x_359 = lean_ctor_get(x_358, 1); -lean_inc(x_359); -lean_dec(x_358); -x_360 = lean_st_ref_take(x_13, x_359); -x_361 = lean_ctor_get(x_360, 0); -lean_inc(x_361); -x_362 = lean_ctor_get(x_360, 1); -lean_inc(x_362); -lean_dec(x_360); -x_363 = lean_ctor_get(x_361, 0); -lean_inc(x_363); -x_364 = l_Lean_Expr_fvar___override(x_357); -x_365 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_363, x_8, x_364); -x_366 = lean_ctor_get(x_361, 1); -lean_inc(x_366); -x_367 = lean_ctor_get(x_361, 2); -lean_inc(x_367); -x_368 = lean_ctor_get_uint8(x_361, sizeof(void*)*6); -x_369 = lean_ctor_get(x_361, 3); -lean_inc(x_369); -x_370 = lean_ctor_get(x_361, 4); -lean_inc(x_370); -x_371 = lean_ctor_get(x_361, 5); -lean_inc(x_371); -lean_dec(x_361); -x_372 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_372, 0, x_365); -lean_ctor_set(x_372, 1, x_366); -lean_ctor_set(x_372, 2, x_367); -lean_ctor_set(x_372, 3, x_369); -lean_ctor_set(x_372, 4, x_370); -lean_ctor_set(x_372, 5, x_371); -lean_ctor_set_uint8(x_372, sizeof(void*)*6, x_368); -x_373 = lean_st_ref_set(x_13, x_372, x_362); -x_374 = lean_ctor_get(x_373, 1); -lean_inc(x_374); -lean_dec(x_373); -x_375 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_375, 0, x_355); -lean_ctor_set(x_375, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_300); -x_376 = l_Lean_Compiler_LCNF_Simp_simp(x_375, x_300, x_13, x_14, x_15, x_16, x_17, x_374); -if (lean_obj_tag(x_376) == 0) -{ -lean_object* x_377; lean_object* x_378; lean_object* x_379; -x_377 = lean_ctor_get(x_376, 0); -lean_inc(x_377); -x_378 = lean_ctor_get(x_376, 1); -lean_inc(x_378); -lean_dec(x_376); -x_379 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_318, x_307, x_377, x_300, x_13, x_14, x_15, x_16, x_17, x_378); -lean_dec(x_13); -lean_dec(x_300); -return x_379; -} -else -{ -uint8_t x_380; -lean_dec(x_318); -lean_dec(x_307); -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_380 = !lean_is_exclusive(x_376); -if (x_380 == 0) -{ -return x_376; -} -else -{ -lean_object* x_381; lean_object* x_382; lean_object* x_383; -x_381 = lean_ctor_get(x_376, 0); -x_382 = lean_ctor_get(x_376, 1); -lean_inc(x_382); -lean_inc(x_381); -lean_dec(x_376); -x_383 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_383, 0, x_381); -lean_ctor_set(x_383, 1, x_382); -return x_383; -} -} -} -else -{ -uint8_t x_384; -lean_dec(x_318); -lean_dec(x_307); -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_384 = !lean_is_exclusive(x_354); -if (x_384 == 0) -{ -return x_354; -} -else -{ -lean_object* x_385; lean_object* x_386; lean_object* x_387; -x_385 = lean_ctor_get(x_354, 0); -x_386 = lean_ctor_get(x_354, 1); -lean_inc(x_386); -lean_inc(x_385); -lean_dec(x_354); -x_387 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_387, 0, x_385); -lean_ctor_set(x_387, 1, x_386); -return x_387; -} -} -} -} -else -{ -uint8_t x_388; -lean_dec(x_307); -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_388 = !lean_is_exclusive(x_314); -if (x_388 == 0) -{ -return x_314; -} -else -{ -lean_object* x_389; lean_object* x_390; lean_object* x_391; -x_389 = lean_ctor_get(x_314, 0); -x_390 = lean_ctor_get(x_314, 1); -lean_inc(x_390); -lean_inc(x_389); -lean_dec(x_314); -x_391 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_391, 0, x_389); -lean_ctor_set(x_391, 1, x_390); -return x_391; -} -} -} -else -{ -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; -lean_dec(x_5); -lean_dec(x_4); -x_392 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_308); -x_393 = lean_ctor_get(x_392, 1); -lean_inc(x_393); -lean_dec(x_392); -x_394 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_394, 0, x_300); -lean_closure_set(x_394, 1, x_13); -lean_closure_set(x_394, 2, x_6); -lean_closure_set(x_394, 3, x_7); -lean_closure_set(x_394, 4, x_8); -lean_closure_set(x_394, 5, x_9); -lean_closure_set(x_394, 6, x_10); -x_395 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_307, x_394, x_14, x_15, x_16, x_17, x_393); -if (lean_obj_tag(x_395) == 0) -{ -uint8_t x_396; -x_396 = !lean_is_exclusive(x_395); -if (x_396 == 0) -{ -lean_object* x_397; lean_object* x_398; -x_397 = lean_ctor_get(x_395, 0); -x_398 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_395, 0, x_398); -return x_395; -} -else -{ -lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_399 = lean_ctor_get(x_395, 0); -x_400 = lean_ctor_get(x_395, 1); -lean_inc(x_400); -lean_inc(x_399); -lean_dec(x_395); -x_401 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_401, 0, x_399); -x_402 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_400); -return x_402; -} -} -else -{ -uint8_t x_403; -x_403 = !lean_is_exclusive(x_395); -if (x_403 == 0) -{ -return x_395; -} -else -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; -x_404 = lean_ctor_get(x_395, 0); -x_405 = lean_ctor_get(x_395, 1); -lean_inc(x_405); -lean_inc(x_404); -lean_dec(x_395); -x_406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_406, 0, x_404); -lean_ctor_set(x_406, 1, x_405); -return x_406; -} -} -} -} -else -{ -uint8_t x_407; -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_407 = !lean_is_exclusive(x_306); -if (x_407 == 0) -{ -return x_306; -} -else -{ -lean_object* x_408; lean_object* x_409; lean_object* x_410; -x_408 = lean_ctor_get(x_306, 0); -x_409 = lean_ctor_get(x_306, 1); -lean_inc(x_409); -lean_inc(x_408); -lean_dec(x_306); -x_410 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_410, 0, x_408); -lean_ctor_set(x_410, 1, x_409); -return x_410; -} -} -} -} -else -{ -uint8_t x_430; -lean_dec(x_300); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_430 = !lean_is_exclusive(x_302); -if (x_430 == 0) -{ -return x_302; -} -else -{ -lean_object* x_431; lean_object* x_432; lean_object* x_433; -x_431 = lean_ctor_get(x_302, 0); -x_432 = lean_ctor_get(x_302, 1); -lean_inc(x_432); -lean_inc(x_431); -lean_dec(x_302); -x_433 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_433, 0, x_431); -lean_ctor_set(x_433, 1, x_432); -return x_433; -} -} -} -case 3: -{ -lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; uint8_t x_439; lean_object* x_440; -lean_dec(x_19); -x_434 = lean_ctor_get(x_12, 3); -x_435 = lean_ctor_get(x_12, 0); -x_436 = lean_ctor_get(x_12, 1); -x_437 = lean_ctor_get(x_12, 2); -lean_inc(x_434); -lean_inc(x_437); -lean_inc(x_436); -lean_inc(x_435); -x_438 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_438, 0, x_435); -lean_ctor_set(x_438, 1, x_436); -lean_ctor_set(x_438, 2, x_437); -lean_ctor_set(x_438, 3, x_434); -x_439 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_440 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_439, x_438, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_440) == 0) -{ -lean_object* x_441; lean_object* x_442; lean_object* x_443; uint8_t x_550; -x_441 = lean_ctor_get(x_440, 0); -lean_inc(x_441); -x_442 = lean_ctor_get(x_440, 1); -lean_inc(x_442); -lean_dec(x_440); -x_550 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_550 == 0) -{ -lean_object* x_551; -x_551 = lean_box(0); -x_443 = x_551; -goto block_549; -} -else -{ -uint8_t x_552; -x_552 = lean_nat_dec_eq(x_7, x_6); -if (x_552 == 0) -{ -lean_object* x_553; -x_553 = lean_box(0); -x_443 = x_553; -goto block_549; -} -else -{ -lean_object* x_554; lean_object* x_555; lean_object* x_556; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_554 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_442); -x_555 = lean_ctor_get(x_554, 1); -lean_inc(x_555); -lean_dec(x_554); -x_556 = l_Lean_Compiler_LCNF_Simp_simp(x_441, x_438, x_13, x_14, x_15, x_16, x_17, x_555); -if (lean_obj_tag(x_556) == 0) -{ -uint8_t x_557; -x_557 = !lean_is_exclusive(x_556); -if (x_557 == 0) -{ -lean_object* x_558; lean_object* x_559; -x_558 = lean_ctor_get(x_556, 0); -x_559 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_559, 0, x_558); -lean_ctor_set(x_556, 0, x_559); -return x_556; -} -else -{ -lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; -x_560 = lean_ctor_get(x_556, 0); -x_561 = lean_ctor_get(x_556, 1); -lean_inc(x_561); -lean_inc(x_560); -lean_dec(x_556); -x_562 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_562, 0, x_560); -x_563 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_563, 0, x_562); -lean_ctor_set(x_563, 1, x_561); -return x_563; -} -} -else -{ -uint8_t x_564; -x_564 = !lean_is_exclusive(x_556); -if (x_564 == 0) -{ -return x_556; -} -else -{ -lean_object* x_565; lean_object* x_566; lean_object* x_567; -x_565 = lean_ctor_get(x_556, 0); -x_566 = lean_ctor_get(x_556, 1); -lean_inc(x_566); -lean_inc(x_565); -lean_dec(x_556); -x_567 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_567, 0, x_565); -lean_ctor_set(x_567, 1, x_566); -return x_567; -} -} -} -} -block_549: -{ -lean_object* x_444; -lean_dec(x_443); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_438); -x_444 = l_Lean_Compiler_LCNF_Simp_simp(x_441, x_438, x_13, x_14, x_15, x_16, x_17, x_442); -if (lean_obj_tag(x_444) == 0) -{ -lean_object* x_445; lean_object* x_446; uint8_t x_447; -x_445 = lean_ctor_get(x_444, 0); -lean_inc(x_445); -x_446 = lean_ctor_get(x_444, 1); -lean_inc(x_446); -lean_dec(x_444); -lean_inc(x_445); -x_447 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_445); -if (x_447 == 0) -{ -lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; -x_448 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_446); -x_449 = lean_ctor_get(x_448, 1); -lean_inc(x_449); -lean_dec(x_448); -x_450 = lean_ctor_get(x_5, 2); -lean_inc(x_450); -lean_dec(x_5); -x_451 = l_Lean_mkAppN(x_450, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_452 = l_Lean_Compiler_LCNF_inferType(x_451, x_14, x_15, x_16, x_17, x_449); -if (lean_obj_tag(x_452) == 0) -{ -lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; uint8_t x_458; -x_453 = lean_ctor_get(x_452, 0); -lean_inc(x_453); -x_454 = lean_ctor_get(x_452, 1); -lean_inc(x_454); -lean_dec(x_452); -x_455 = l_Lean_Compiler_LCNF_mkAuxParam(x_453, x_439, x_14, x_15, x_16, x_17, x_454); -x_456 = lean_ctor_get(x_455, 0); -lean_inc(x_456); -x_457 = lean_ctor_get(x_455, 1); -lean_inc(x_457); -lean_dec(x_455); -x_458 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_458 == 0) -{ -lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t 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_dec(x_10); -lean_dec(x_6); -x_459 = lean_ctor_get(x_456, 0); -lean_inc(x_459); -x_460 = lean_st_ref_get(x_17, x_457); -x_461 = lean_ctor_get(x_460, 1); -lean_inc(x_461); -lean_dec(x_460); -x_462 = lean_st_ref_take(x_13, x_461); -x_463 = lean_ctor_get(x_462, 0); -lean_inc(x_463); -x_464 = lean_ctor_get(x_462, 1); -lean_inc(x_464); -lean_dec(x_462); -x_465 = lean_ctor_get(x_463, 0); -lean_inc(x_465); -x_466 = l_Lean_Expr_fvar___override(x_459); -x_467 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_465, x_8, x_466); -x_468 = lean_ctor_get(x_463, 1); -lean_inc(x_468); -x_469 = lean_ctor_get(x_463, 2); -lean_inc(x_469); -x_470 = lean_ctor_get_uint8(x_463, sizeof(void*)*6); -x_471 = lean_ctor_get(x_463, 3); -lean_inc(x_471); -x_472 = lean_ctor_get(x_463, 4); -lean_inc(x_472); -x_473 = lean_ctor_get(x_463, 5); -lean_inc(x_473); -lean_dec(x_463); -x_474 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_474, 0, x_467); -lean_ctor_set(x_474, 1, x_468); -lean_ctor_set(x_474, 2, x_469); -lean_ctor_set(x_474, 3, x_471); -lean_ctor_set(x_474, 4, x_472); -lean_ctor_set(x_474, 5, x_473); -lean_ctor_set_uint8(x_474, sizeof(void*)*6, x_470); -x_475 = lean_st_ref_set(x_13, x_474, x_464); -x_476 = lean_ctor_get(x_475, 1); -lean_inc(x_476); -lean_dec(x_475); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_438); -x_477 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_438, x_13, x_14, x_15, x_16, x_17, x_476); -if (lean_obj_tag(x_477) == 0) -{ -lean_object* x_478; lean_object* x_479; lean_object* x_480; -x_478 = lean_ctor_get(x_477, 0); -lean_inc(x_478); -x_479 = lean_ctor_get(x_477, 1); -lean_inc(x_479); -lean_dec(x_477); -x_480 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_456, x_445, x_478, x_438, x_13, x_14, x_15, x_16, x_17, x_479); -lean_dec(x_13); -lean_dec(x_438); -return x_480; -} -else -{ -uint8_t x_481; -lean_dec(x_456); -lean_dec(x_445); -lean_dec(x_438); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_481 = !lean_is_exclusive(x_477); -if (x_481 == 0) -{ -return x_477; -} -else -{ -lean_object* x_482; lean_object* x_483; lean_object* x_484; -x_482 = lean_ctor_get(x_477, 0); -x_483 = lean_ctor_get(x_477, 1); -lean_inc(x_483); -lean_inc(x_482); -lean_dec(x_477); -x_484 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_484, 0, x_482); -lean_ctor_set(x_484, 1, x_483); -return x_484; -} -} -} -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; -x_485 = lean_ctor_get(x_456, 0); -lean_inc(x_485); -x_486 = l_Lean_Expr_fvar___override(x_485); -x_487 = lean_array_get_size(x_10); -x_488 = l_Array_toSubarray___rarg(x_10, x_6, x_487); -x_489 = l_Array_ofSubarray___rarg(x_488); -x_490 = l_Lean_mkAppN(x_486, x_489); -x_491 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_492 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_490, x_491, x_14, x_15, x_16, x_17, x_457); -if (lean_obj_tag(x_492) == 0) -{ -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; uint8_t 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_493 = lean_ctor_get(x_492, 0); -lean_inc(x_493); -x_494 = lean_ctor_get(x_492, 1); -lean_inc(x_494); -lean_dec(x_492); -x_495 = lean_ctor_get(x_493, 0); -lean_inc(x_495); -x_496 = lean_st_ref_get(x_17, x_494); -x_497 = lean_ctor_get(x_496, 1); -lean_inc(x_497); -lean_dec(x_496); -x_498 = lean_st_ref_take(x_13, x_497); -x_499 = lean_ctor_get(x_498, 0); -lean_inc(x_499); -x_500 = lean_ctor_get(x_498, 1); -lean_inc(x_500); -lean_dec(x_498); -x_501 = lean_ctor_get(x_499, 0); -lean_inc(x_501); -x_502 = l_Lean_Expr_fvar___override(x_495); -x_503 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_501, x_8, x_502); -x_504 = lean_ctor_get(x_499, 1); -lean_inc(x_504); -x_505 = lean_ctor_get(x_499, 2); -lean_inc(x_505); -x_506 = lean_ctor_get_uint8(x_499, sizeof(void*)*6); -x_507 = lean_ctor_get(x_499, 3); -lean_inc(x_507); -x_508 = lean_ctor_get(x_499, 4); -lean_inc(x_508); -x_509 = lean_ctor_get(x_499, 5); -lean_inc(x_509); -lean_dec(x_499); -x_510 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_510, 0, x_503); -lean_ctor_set(x_510, 1, x_504); -lean_ctor_set(x_510, 2, x_505); -lean_ctor_set(x_510, 3, x_507); -lean_ctor_set(x_510, 4, x_508); -lean_ctor_set(x_510, 5, x_509); -lean_ctor_set_uint8(x_510, sizeof(void*)*6, x_506); -x_511 = lean_st_ref_set(x_13, x_510, x_500); -x_512 = lean_ctor_get(x_511, 1); -lean_inc(x_512); -lean_dec(x_511); -x_513 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_513, 0, x_493); -lean_ctor_set(x_513, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_438); -x_514 = l_Lean_Compiler_LCNF_Simp_simp(x_513, x_438, x_13, x_14, x_15, x_16, x_17, x_512); -if (lean_obj_tag(x_514) == 0) -{ -lean_object* x_515; lean_object* x_516; lean_object* x_517; -x_515 = lean_ctor_get(x_514, 0); -lean_inc(x_515); -x_516 = lean_ctor_get(x_514, 1); -lean_inc(x_516); -lean_dec(x_514); -x_517 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_456, x_445, x_515, x_438, x_13, x_14, x_15, x_16, x_17, x_516); -lean_dec(x_13); -lean_dec(x_438); -return x_517; -} -else -{ -uint8_t x_518; -lean_dec(x_456); -lean_dec(x_445); -lean_dec(x_438); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_518 = !lean_is_exclusive(x_514); -if (x_518 == 0) -{ -return x_514; -} -else -{ -lean_object* x_519; lean_object* x_520; lean_object* x_521; -x_519 = lean_ctor_get(x_514, 0); -x_520 = lean_ctor_get(x_514, 1); -lean_inc(x_520); -lean_inc(x_519); -lean_dec(x_514); -x_521 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_521, 0, x_519); -lean_ctor_set(x_521, 1, x_520); -return x_521; -} -} -} -else -{ -uint8_t x_522; -lean_dec(x_456); -lean_dec(x_445); -lean_dec(x_438); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_522 = !lean_is_exclusive(x_492); -if (x_522 == 0) -{ -return x_492; -} -else -{ -lean_object* x_523; lean_object* x_524; lean_object* x_525; -x_523 = lean_ctor_get(x_492, 0); -x_524 = lean_ctor_get(x_492, 1); -lean_inc(x_524); -lean_inc(x_523); -lean_dec(x_492); -x_525 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_525, 0, x_523); -lean_ctor_set(x_525, 1, x_524); -return x_525; -} -} -} -} -else -{ -uint8_t x_526; -lean_dec(x_445); -lean_dec(x_438); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_526 = !lean_is_exclusive(x_452); -if (x_526 == 0) -{ -return x_452; -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; -x_527 = lean_ctor_get(x_452, 0); -x_528 = lean_ctor_get(x_452, 1); -lean_inc(x_528); -lean_inc(x_527); -lean_dec(x_452); -x_529 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_529, 0, x_527); -lean_ctor_set(x_529, 1, x_528); -return x_529; -} -} -} -else -{ -lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; -lean_dec(x_5); -lean_dec(x_4); -x_530 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_446); -x_531 = lean_ctor_get(x_530, 1); -lean_inc(x_531); -lean_dec(x_530); -x_532 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_532, 0, x_438); -lean_closure_set(x_532, 1, x_13); -lean_closure_set(x_532, 2, x_6); -lean_closure_set(x_532, 3, x_7); -lean_closure_set(x_532, 4, x_8); -lean_closure_set(x_532, 5, x_9); -lean_closure_set(x_532, 6, x_10); -x_533 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_445, x_532, x_14, x_15, x_16, x_17, x_531); -if (lean_obj_tag(x_533) == 0) -{ -uint8_t x_534; -x_534 = !lean_is_exclusive(x_533); -if (x_534 == 0) -{ -lean_object* x_535; lean_object* x_536; -x_535 = lean_ctor_get(x_533, 0); -x_536 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_536, 0, x_535); -lean_ctor_set(x_533, 0, x_536); -return x_533; -} -else -{ -lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; -x_537 = lean_ctor_get(x_533, 0); -x_538 = lean_ctor_get(x_533, 1); -lean_inc(x_538); -lean_inc(x_537); -lean_dec(x_533); -x_539 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_539, 0, x_537); -x_540 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_540, 0, x_539); -lean_ctor_set(x_540, 1, x_538); -return x_540; -} -} -else -{ -uint8_t x_541; -x_541 = !lean_is_exclusive(x_533); -if (x_541 == 0) -{ -return x_533; -} -else -{ -lean_object* x_542; lean_object* x_543; lean_object* x_544; -x_542 = lean_ctor_get(x_533, 0); -x_543 = lean_ctor_get(x_533, 1); -lean_inc(x_543); -lean_inc(x_542); -lean_dec(x_533); -x_544 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_544, 0, x_542); -lean_ctor_set(x_544, 1, x_543); -return x_544; -} -} -} -} -else -{ -uint8_t x_545; -lean_dec(x_438); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_545 = !lean_is_exclusive(x_444); -if (x_545 == 0) -{ -return x_444; -} -else -{ -lean_object* x_546; lean_object* x_547; lean_object* x_548; -x_546 = lean_ctor_get(x_444, 0); -x_547 = lean_ctor_get(x_444, 1); -lean_inc(x_547); -lean_inc(x_546); -lean_dec(x_444); -x_548 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_548, 0, x_546); -lean_ctor_set(x_548, 1, x_547); -return x_548; -} -} -} -} -else -{ -uint8_t x_568; -lean_dec(x_438); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_568 = !lean_is_exclusive(x_440); -if (x_568 == 0) -{ -return x_440; -} -else -{ -lean_object* x_569; lean_object* x_570; lean_object* x_571; -x_569 = lean_ctor_get(x_440, 0); -x_570 = lean_ctor_get(x_440, 1); -lean_inc(x_570); -lean_inc(x_569); -lean_dec(x_440); -x_571 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_571, 0, x_569); -lean_ctor_set(x_571, 1, x_570); -return x_571; -} -} -} -case 4: -{ -lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; uint8_t x_579; lean_object* x_580; -x_572 = lean_ctor_get(x_12, 3); -x_573 = lean_ctor_get(x_12, 0); -x_574 = lean_ctor_get(x_12, 1); -x_575 = lean_ctor_get(x_12, 2); -x_576 = lean_ctor_get(x_19, 0); -lean_inc(x_576); -lean_dec(x_19); -lean_inc(x_572); -x_577 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_577, 0, x_576); -lean_ctor_set(x_577, 1, x_572); -lean_inc(x_575); -lean_inc(x_574); -lean_inc(x_573); -x_578 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_578, 0, x_573); -lean_ctor_set(x_578, 1, x_574); -lean_ctor_set(x_578, 2, x_575); -lean_ctor_set(x_578, 3, x_577); -x_579 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_580 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_579, x_578, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_580) == 0) -{ -lean_object* x_581; lean_object* x_582; lean_object* x_583; uint8_t x_690; -x_581 = lean_ctor_get(x_580, 0); -lean_inc(x_581); -x_582 = lean_ctor_get(x_580, 1); -lean_inc(x_582); -lean_dec(x_580); -x_690 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_690 == 0) -{ -lean_object* x_691; -x_691 = lean_box(0); -x_583 = x_691; -goto block_689; -} -else -{ -uint8_t x_692; -x_692 = lean_nat_dec_eq(x_7, x_6); -if (x_692 == 0) -{ -lean_object* x_693; -x_693 = lean_box(0); -x_583 = x_693; -goto block_689; -} -else -{ -lean_object* x_694; lean_object* x_695; lean_object* x_696; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_694 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_582); -x_695 = lean_ctor_get(x_694, 1); -lean_inc(x_695); -lean_dec(x_694); -x_696 = l_Lean_Compiler_LCNF_Simp_simp(x_581, x_578, x_13, x_14, x_15, x_16, x_17, x_695); -if (lean_obj_tag(x_696) == 0) -{ -uint8_t x_697; -x_697 = !lean_is_exclusive(x_696); -if (x_697 == 0) -{ -lean_object* x_698; lean_object* x_699; -x_698 = lean_ctor_get(x_696, 0); -x_699 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_699, 0, x_698); -lean_ctor_set(x_696, 0, x_699); -return x_696; -} -else -{ -lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; -x_700 = lean_ctor_get(x_696, 0); -x_701 = lean_ctor_get(x_696, 1); -lean_inc(x_701); -lean_inc(x_700); -lean_dec(x_696); -x_702 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_702, 0, x_700); -x_703 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_703, 0, x_702); -lean_ctor_set(x_703, 1, x_701); -return x_703; -} -} -else -{ -uint8_t x_704; -x_704 = !lean_is_exclusive(x_696); -if (x_704 == 0) -{ -return x_696; -} -else -{ -lean_object* x_705; lean_object* x_706; lean_object* x_707; -x_705 = lean_ctor_get(x_696, 0); -x_706 = lean_ctor_get(x_696, 1); -lean_inc(x_706); -lean_inc(x_705); -lean_dec(x_696); -x_707 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_707, 0, x_705); -lean_ctor_set(x_707, 1, x_706); -return x_707; -} -} -} -} -block_689: -{ -lean_object* x_584; -lean_dec(x_583); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_578); -x_584 = l_Lean_Compiler_LCNF_Simp_simp(x_581, x_578, x_13, x_14, x_15, x_16, x_17, x_582); -if (lean_obj_tag(x_584) == 0) -{ -lean_object* x_585; lean_object* x_586; uint8_t x_587; -x_585 = lean_ctor_get(x_584, 0); -lean_inc(x_585); -x_586 = lean_ctor_get(x_584, 1); -lean_inc(x_586); -lean_dec(x_584); -lean_inc(x_585); -x_587 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_585); -if (x_587 == 0) -{ -lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; -x_588 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_586); -x_589 = lean_ctor_get(x_588, 1); -lean_inc(x_589); -lean_dec(x_588); -x_590 = lean_ctor_get(x_5, 2); -lean_inc(x_590); -lean_dec(x_5); -x_591 = l_Lean_mkAppN(x_590, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_592 = l_Lean_Compiler_LCNF_inferType(x_591, x_14, x_15, x_16, x_17, x_589); -if (lean_obj_tag(x_592) == 0) -{ -lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; uint8_t x_598; -x_593 = lean_ctor_get(x_592, 0); -lean_inc(x_593); -x_594 = lean_ctor_get(x_592, 1); -lean_inc(x_594); -lean_dec(x_592); -x_595 = l_Lean_Compiler_LCNF_mkAuxParam(x_593, x_579, x_14, x_15, x_16, x_17, x_594); -x_596 = lean_ctor_get(x_595, 0); -lean_inc(x_596); -x_597 = lean_ctor_get(x_595, 1); -lean_inc(x_597); -lean_dec(x_595); -x_598 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_598 == 0) -{ -lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; uint8_t 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_dec(x_10); -lean_dec(x_6); -x_599 = lean_ctor_get(x_596, 0); -lean_inc(x_599); -x_600 = lean_st_ref_get(x_17, x_597); -x_601 = lean_ctor_get(x_600, 1); -lean_inc(x_601); -lean_dec(x_600); -x_602 = lean_st_ref_take(x_13, x_601); -x_603 = lean_ctor_get(x_602, 0); -lean_inc(x_603); -x_604 = lean_ctor_get(x_602, 1); -lean_inc(x_604); -lean_dec(x_602); -x_605 = lean_ctor_get(x_603, 0); -lean_inc(x_605); -x_606 = l_Lean_Expr_fvar___override(x_599); -x_607 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_605, x_8, x_606); -x_608 = lean_ctor_get(x_603, 1); -lean_inc(x_608); -x_609 = lean_ctor_get(x_603, 2); -lean_inc(x_609); -x_610 = lean_ctor_get_uint8(x_603, sizeof(void*)*6); -x_611 = lean_ctor_get(x_603, 3); -lean_inc(x_611); -x_612 = lean_ctor_get(x_603, 4); -lean_inc(x_612); -x_613 = lean_ctor_get(x_603, 5); -lean_inc(x_613); -lean_dec(x_603); -x_614 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_614, 0, x_607); -lean_ctor_set(x_614, 1, x_608); -lean_ctor_set(x_614, 2, x_609); -lean_ctor_set(x_614, 3, x_611); -lean_ctor_set(x_614, 4, x_612); -lean_ctor_set(x_614, 5, x_613); -lean_ctor_set_uint8(x_614, sizeof(void*)*6, x_610); -x_615 = lean_st_ref_set(x_13, x_614, x_604); -x_616 = lean_ctor_get(x_615, 1); -lean_inc(x_616); -lean_dec(x_615); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_578); -x_617 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_578, x_13, x_14, x_15, x_16, x_17, x_616); -if (lean_obj_tag(x_617) == 0) -{ -lean_object* x_618; lean_object* x_619; lean_object* x_620; -x_618 = lean_ctor_get(x_617, 0); -lean_inc(x_618); -x_619 = lean_ctor_get(x_617, 1); -lean_inc(x_619); -lean_dec(x_617); -x_620 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_596, x_585, x_618, x_578, x_13, x_14, x_15, x_16, x_17, x_619); -lean_dec(x_13); -lean_dec(x_578); -return x_620; -} -else -{ -uint8_t x_621; -lean_dec(x_596); -lean_dec(x_585); -lean_dec(x_578); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_621 = !lean_is_exclusive(x_617); -if (x_621 == 0) -{ -return x_617; -} -else -{ -lean_object* x_622; lean_object* x_623; lean_object* x_624; -x_622 = lean_ctor_get(x_617, 0); -x_623 = lean_ctor_get(x_617, 1); -lean_inc(x_623); -lean_inc(x_622); -lean_dec(x_617); -x_624 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_624, 0, x_622); -lean_ctor_set(x_624, 1, x_623); -return x_624; -} -} -} -else -{ -lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; -x_625 = lean_ctor_get(x_596, 0); -lean_inc(x_625); -x_626 = l_Lean_Expr_fvar___override(x_625); -x_627 = lean_array_get_size(x_10); -x_628 = l_Array_toSubarray___rarg(x_10, x_6, x_627); -x_629 = l_Array_ofSubarray___rarg(x_628); -x_630 = l_Lean_mkAppN(x_626, x_629); -x_631 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_632 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_630, x_631, x_14, x_15, x_16, x_17, x_597); -if (lean_obj_tag(x_632) == 0) -{ -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; uint8_t x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; -x_633 = lean_ctor_get(x_632, 0); -lean_inc(x_633); -x_634 = lean_ctor_get(x_632, 1); -lean_inc(x_634); -lean_dec(x_632); -x_635 = lean_ctor_get(x_633, 0); -lean_inc(x_635); -x_636 = lean_st_ref_get(x_17, x_634); -x_637 = lean_ctor_get(x_636, 1); -lean_inc(x_637); -lean_dec(x_636); -x_638 = lean_st_ref_take(x_13, x_637); -x_639 = lean_ctor_get(x_638, 0); -lean_inc(x_639); -x_640 = lean_ctor_get(x_638, 1); -lean_inc(x_640); -lean_dec(x_638); -x_641 = lean_ctor_get(x_639, 0); -lean_inc(x_641); -x_642 = l_Lean_Expr_fvar___override(x_635); -x_643 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_641, x_8, x_642); -x_644 = lean_ctor_get(x_639, 1); -lean_inc(x_644); -x_645 = lean_ctor_get(x_639, 2); -lean_inc(x_645); -x_646 = lean_ctor_get_uint8(x_639, sizeof(void*)*6); -x_647 = lean_ctor_get(x_639, 3); -lean_inc(x_647); -x_648 = lean_ctor_get(x_639, 4); -lean_inc(x_648); -x_649 = lean_ctor_get(x_639, 5); -lean_inc(x_649); -lean_dec(x_639); -x_650 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_650, 0, x_643); -lean_ctor_set(x_650, 1, x_644); -lean_ctor_set(x_650, 2, x_645); -lean_ctor_set(x_650, 3, x_647); -lean_ctor_set(x_650, 4, x_648); -lean_ctor_set(x_650, 5, x_649); -lean_ctor_set_uint8(x_650, sizeof(void*)*6, x_646); -x_651 = lean_st_ref_set(x_13, x_650, x_640); -x_652 = lean_ctor_get(x_651, 1); -lean_inc(x_652); -lean_dec(x_651); -x_653 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_653, 0, x_633); -lean_ctor_set(x_653, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_578); -x_654 = l_Lean_Compiler_LCNF_Simp_simp(x_653, x_578, x_13, x_14, x_15, x_16, x_17, x_652); -if (lean_obj_tag(x_654) == 0) -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_655 = lean_ctor_get(x_654, 0); -lean_inc(x_655); -x_656 = lean_ctor_get(x_654, 1); -lean_inc(x_656); -lean_dec(x_654); -x_657 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_596, x_585, x_655, x_578, x_13, x_14, x_15, x_16, x_17, x_656); -lean_dec(x_13); -lean_dec(x_578); -return x_657; -} -else -{ -uint8_t x_658; -lean_dec(x_596); -lean_dec(x_585); -lean_dec(x_578); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_658 = !lean_is_exclusive(x_654); -if (x_658 == 0) -{ -return x_654; -} -else -{ -lean_object* x_659; lean_object* x_660; lean_object* x_661; -x_659 = lean_ctor_get(x_654, 0); -x_660 = lean_ctor_get(x_654, 1); -lean_inc(x_660); -lean_inc(x_659); -lean_dec(x_654); -x_661 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_661, 0, x_659); -lean_ctor_set(x_661, 1, x_660); -return x_661; -} -} -} -else -{ -uint8_t x_662; -lean_dec(x_596); -lean_dec(x_585); -lean_dec(x_578); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_662 = !lean_is_exclusive(x_632); -if (x_662 == 0) -{ -return x_632; -} -else -{ -lean_object* x_663; lean_object* x_664; lean_object* x_665; -x_663 = lean_ctor_get(x_632, 0); -x_664 = lean_ctor_get(x_632, 1); -lean_inc(x_664); -lean_inc(x_663); -lean_dec(x_632); -x_665 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_665, 0, x_663); -lean_ctor_set(x_665, 1, x_664); -return x_665; -} -} -} -} -else -{ -uint8_t x_666; -lean_dec(x_585); -lean_dec(x_578); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_666 = !lean_is_exclusive(x_592); -if (x_666 == 0) -{ -return x_592; -} -else -{ -lean_object* x_667; lean_object* x_668; lean_object* x_669; -x_667 = lean_ctor_get(x_592, 0); -x_668 = lean_ctor_get(x_592, 1); -lean_inc(x_668); -lean_inc(x_667); -lean_dec(x_592); -x_669 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_669, 0, x_667); -lean_ctor_set(x_669, 1, x_668); -return x_669; -} -} -} -else -{ -lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; -lean_dec(x_5); -lean_dec(x_4); -x_670 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_586); -x_671 = lean_ctor_get(x_670, 1); -lean_inc(x_671); -lean_dec(x_670); -x_672 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_672, 0, x_578); -lean_closure_set(x_672, 1, x_13); -lean_closure_set(x_672, 2, x_6); -lean_closure_set(x_672, 3, x_7); -lean_closure_set(x_672, 4, x_8); -lean_closure_set(x_672, 5, x_9); -lean_closure_set(x_672, 6, x_10); -x_673 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_585, x_672, x_14, x_15, x_16, x_17, x_671); -if (lean_obj_tag(x_673) == 0) -{ -uint8_t x_674; -x_674 = !lean_is_exclusive(x_673); -if (x_674 == 0) -{ -lean_object* x_675; lean_object* x_676; -x_675 = lean_ctor_get(x_673, 0); -x_676 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_676, 0, x_675); -lean_ctor_set(x_673, 0, x_676); -return x_673; -} -else -{ -lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; -x_677 = lean_ctor_get(x_673, 0); -x_678 = lean_ctor_get(x_673, 1); -lean_inc(x_678); -lean_inc(x_677); -lean_dec(x_673); -x_679 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_679, 0, x_677); -x_680 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_680, 0, x_679); -lean_ctor_set(x_680, 1, x_678); -return x_680; -} -} -else -{ -uint8_t x_681; -x_681 = !lean_is_exclusive(x_673); -if (x_681 == 0) -{ -return x_673; -} -else -{ -lean_object* x_682; lean_object* x_683; lean_object* x_684; -x_682 = lean_ctor_get(x_673, 0); -x_683 = lean_ctor_get(x_673, 1); -lean_inc(x_683); -lean_inc(x_682); -lean_dec(x_673); -x_684 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_684, 0, x_682); -lean_ctor_set(x_684, 1, x_683); -return x_684; -} -} -} -} -else -{ -uint8_t x_685; -lean_dec(x_578); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_685 = !lean_is_exclusive(x_584); -if (x_685 == 0) -{ -return x_584; -} -else -{ -lean_object* x_686; lean_object* x_687; lean_object* x_688; -x_686 = lean_ctor_get(x_584, 0); -x_687 = lean_ctor_get(x_584, 1); -lean_inc(x_687); -lean_inc(x_686); -lean_dec(x_584); -x_688 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_688, 0, x_686); -lean_ctor_set(x_688, 1, x_687); -return x_688; -} -} -} -} -else -{ -uint8_t x_708; -lean_dec(x_578); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_708 = !lean_is_exclusive(x_580); -if (x_708 == 0) -{ -return x_580; -} -else -{ -lean_object* x_709; lean_object* x_710; lean_object* x_711; -x_709 = lean_ctor_get(x_580, 0); -x_710 = lean_ctor_get(x_580, 1); -lean_inc(x_710); -lean_inc(x_709); -lean_dec(x_580); -x_711 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_711, 0, x_709); -lean_ctor_set(x_711, 1, x_710); -return x_711; -} -} -} -case 5: -{ -lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; uint8_t x_717; lean_object* x_718; -lean_dec(x_19); -x_712 = lean_ctor_get(x_12, 3); -x_713 = lean_ctor_get(x_12, 0); -x_714 = lean_ctor_get(x_12, 1); -x_715 = lean_ctor_get(x_12, 2); -lean_inc(x_712); -lean_inc(x_715); -lean_inc(x_714); -lean_inc(x_713); -x_716 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_716, 0, x_713); -lean_ctor_set(x_716, 1, x_714); -lean_ctor_set(x_716, 2, x_715); -lean_ctor_set(x_716, 3, x_712); -x_717 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_718 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_717, x_716, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_718) == 0) -{ -lean_object* x_719; lean_object* x_720; lean_object* x_721; uint8_t x_828; -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_828 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_828 == 0) -{ -lean_object* x_829; -x_829 = lean_box(0); -x_721 = x_829; -goto block_827; -} -else -{ -uint8_t x_830; -x_830 = lean_nat_dec_eq(x_7, x_6); -if (x_830 == 0) -{ -lean_object* x_831; -x_831 = lean_box(0); -x_721 = x_831; -goto block_827; -} -else -{ -lean_object* x_832; lean_object* x_833; lean_object* x_834; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_832 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_720); -x_833 = lean_ctor_get(x_832, 1); -lean_inc(x_833); -lean_dec(x_832); -x_834 = l_Lean_Compiler_LCNF_Simp_simp(x_719, x_716, x_13, x_14, x_15, x_16, x_17, x_833); -if (lean_obj_tag(x_834) == 0) -{ -uint8_t x_835; -x_835 = !lean_is_exclusive(x_834); -if (x_835 == 0) -{ -lean_object* x_836; lean_object* x_837; -x_836 = lean_ctor_get(x_834, 0); -x_837 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_837, 0, x_836); -lean_ctor_set(x_834, 0, x_837); -return x_834; -} -else -{ -lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; -x_838 = lean_ctor_get(x_834, 0); -x_839 = lean_ctor_get(x_834, 1); -lean_inc(x_839); -lean_inc(x_838); -lean_dec(x_834); -x_840 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_840, 0, x_838); -x_841 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_841, 0, x_840); -lean_ctor_set(x_841, 1, x_839); -return x_841; -} -} -else -{ -uint8_t x_842; -x_842 = !lean_is_exclusive(x_834); -if (x_842 == 0) -{ -return x_834; -} -else -{ -lean_object* x_843; lean_object* x_844; lean_object* x_845; -x_843 = lean_ctor_get(x_834, 0); -x_844 = lean_ctor_get(x_834, 1); -lean_inc(x_844); -lean_inc(x_843); -lean_dec(x_834); -x_845 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_845, 0, x_843); -lean_ctor_set(x_845, 1, x_844); -return x_845; -} -} -} -} -block_827: -{ -lean_object* x_722; -lean_dec(x_721); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_716); -x_722 = l_Lean_Compiler_LCNF_Simp_simp(x_719, x_716, x_13, x_14, x_15, x_16, x_17, x_720); -if (lean_obj_tag(x_722) == 0) -{ -lean_object* x_723; lean_object* x_724; uint8_t x_725; -x_723 = lean_ctor_get(x_722, 0); -lean_inc(x_723); -x_724 = lean_ctor_get(x_722, 1); -lean_inc(x_724); -lean_dec(x_722); -lean_inc(x_723); -x_725 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_723); -if (x_725 == 0) -{ -lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; -x_726 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_724); -x_727 = lean_ctor_get(x_726, 1); -lean_inc(x_727); -lean_dec(x_726); -x_728 = lean_ctor_get(x_5, 2); -lean_inc(x_728); -lean_dec(x_5); -x_729 = l_Lean_mkAppN(x_728, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_730 = l_Lean_Compiler_LCNF_inferType(x_729, x_14, x_15, x_16, x_17, x_727); -if (lean_obj_tag(x_730) == 0) -{ -lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; uint8_t x_736; -x_731 = lean_ctor_get(x_730, 0); -lean_inc(x_731); -x_732 = lean_ctor_get(x_730, 1); -lean_inc(x_732); -lean_dec(x_730); -x_733 = l_Lean_Compiler_LCNF_mkAuxParam(x_731, x_717, x_14, x_15, x_16, x_17, x_732); -x_734 = lean_ctor_get(x_733, 0); -lean_inc(x_734); -x_735 = lean_ctor_get(x_733, 1); -lean_inc(x_735); -lean_dec(x_733); -x_736 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_736 == 0) -{ -lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; uint8_t x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; -lean_dec(x_10); -lean_dec(x_6); -x_737 = lean_ctor_get(x_734, 0); -lean_inc(x_737); -x_738 = lean_st_ref_get(x_17, x_735); -x_739 = lean_ctor_get(x_738, 1); -lean_inc(x_739); -lean_dec(x_738); -x_740 = lean_st_ref_take(x_13, x_739); -x_741 = lean_ctor_get(x_740, 0); -lean_inc(x_741); -x_742 = lean_ctor_get(x_740, 1); -lean_inc(x_742); -lean_dec(x_740); -x_743 = lean_ctor_get(x_741, 0); -lean_inc(x_743); -x_744 = l_Lean_Expr_fvar___override(x_737); -x_745 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_743, x_8, x_744); -x_746 = lean_ctor_get(x_741, 1); -lean_inc(x_746); -x_747 = lean_ctor_get(x_741, 2); -lean_inc(x_747); -x_748 = lean_ctor_get_uint8(x_741, sizeof(void*)*6); -x_749 = lean_ctor_get(x_741, 3); -lean_inc(x_749); -x_750 = lean_ctor_get(x_741, 4); -lean_inc(x_750); -x_751 = lean_ctor_get(x_741, 5); -lean_inc(x_751); -lean_dec(x_741); -x_752 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_752, 0, x_745); -lean_ctor_set(x_752, 1, x_746); -lean_ctor_set(x_752, 2, x_747); -lean_ctor_set(x_752, 3, x_749); -lean_ctor_set(x_752, 4, x_750); -lean_ctor_set(x_752, 5, x_751); -lean_ctor_set_uint8(x_752, sizeof(void*)*6, x_748); -x_753 = lean_st_ref_set(x_13, x_752, x_742); -x_754 = lean_ctor_get(x_753, 1); -lean_inc(x_754); -lean_dec(x_753); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_716); -x_755 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_716, x_13, x_14, x_15, x_16, x_17, x_754); -if (lean_obj_tag(x_755) == 0) -{ -lean_object* x_756; lean_object* x_757; lean_object* x_758; -x_756 = lean_ctor_get(x_755, 0); -lean_inc(x_756); -x_757 = lean_ctor_get(x_755, 1); -lean_inc(x_757); -lean_dec(x_755); -x_758 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_734, x_723, x_756, x_716, x_13, x_14, x_15, x_16, x_17, x_757); -lean_dec(x_13); -lean_dec(x_716); -return x_758; -} -else -{ -uint8_t x_759; -lean_dec(x_734); -lean_dec(x_723); -lean_dec(x_716); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_759 = !lean_is_exclusive(x_755); -if (x_759 == 0) -{ -return x_755; -} -else -{ -lean_object* x_760; lean_object* x_761; lean_object* x_762; -x_760 = lean_ctor_get(x_755, 0); -x_761 = lean_ctor_get(x_755, 1); -lean_inc(x_761); -lean_inc(x_760); -lean_dec(x_755); -x_762 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_762, 0, x_760); -lean_ctor_set(x_762, 1, x_761); -return x_762; -} -} -} -else -{ -lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; -x_763 = lean_ctor_get(x_734, 0); -lean_inc(x_763); -x_764 = l_Lean_Expr_fvar___override(x_763); -x_765 = lean_array_get_size(x_10); -x_766 = l_Array_toSubarray___rarg(x_10, x_6, x_765); -x_767 = l_Array_ofSubarray___rarg(x_766); -x_768 = l_Lean_mkAppN(x_764, x_767); -x_769 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_770 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_768, x_769, x_14, x_15, x_16, x_17, x_735); -if (lean_obj_tag(x_770) == 0) -{ -lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; uint8_t x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; -x_771 = lean_ctor_get(x_770, 0); -lean_inc(x_771); -x_772 = lean_ctor_get(x_770, 1); -lean_inc(x_772); -lean_dec(x_770); -x_773 = lean_ctor_get(x_771, 0); -lean_inc(x_773); -x_774 = lean_st_ref_get(x_17, x_772); -x_775 = lean_ctor_get(x_774, 1); -lean_inc(x_775); -lean_dec(x_774); -x_776 = lean_st_ref_take(x_13, x_775); -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_779 = lean_ctor_get(x_777, 0); -lean_inc(x_779); -x_780 = l_Lean_Expr_fvar___override(x_773); -x_781 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_779, x_8, x_780); -x_782 = lean_ctor_get(x_777, 1); -lean_inc(x_782); -x_783 = lean_ctor_get(x_777, 2); -lean_inc(x_783); -x_784 = lean_ctor_get_uint8(x_777, sizeof(void*)*6); -x_785 = lean_ctor_get(x_777, 3); -lean_inc(x_785); -x_786 = lean_ctor_get(x_777, 4); -lean_inc(x_786); -x_787 = lean_ctor_get(x_777, 5); -lean_inc(x_787); -lean_dec(x_777); -x_788 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_788, 0, x_781); -lean_ctor_set(x_788, 1, x_782); -lean_ctor_set(x_788, 2, x_783); -lean_ctor_set(x_788, 3, x_785); -lean_ctor_set(x_788, 4, x_786); -lean_ctor_set(x_788, 5, x_787); -lean_ctor_set_uint8(x_788, sizeof(void*)*6, x_784); -x_789 = lean_st_ref_set(x_13, x_788, x_778); -x_790 = lean_ctor_get(x_789, 1); -lean_inc(x_790); -lean_dec(x_789); -x_791 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_791, 0, x_771); -lean_ctor_set(x_791, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_716); -x_792 = l_Lean_Compiler_LCNF_Simp_simp(x_791, x_716, x_13, x_14, x_15, x_16, x_17, x_790); -if (lean_obj_tag(x_792) == 0) -{ -lean_object* x_793; lean_object* x_794; lean_object* x_795; -x_793 = lean_ctor_get(x_792, 0); -lean_inc(x_793); -x_794 = lean_ctor_get(x_792, 1); -lean_inc(x_794); -lean_dec(x_792); -x_795 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_734, x_723, x_793, x_716, x_13, x_14, x_15, x_16, x_17, x_794); -lean_dec(x_13); -lean_dec(x_716); -return x_795; -} -else -{ -uint8_t x_796; -lean_dec(x_734); -lean_dec(x_723); -lean_dec(x_716); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_796 = !lean_is_exclusive(x_792); -if (x_796 == 0) -{ -return x_792; -} -else -{ -lean_object* x_797; lean_object* x_798; lean_object* x_799; -x_797 = lean_ctor_get(x_792, 0); -x_798 = lean_ctor_get(x_792, 1); -lean_inc(x_798); -lean_inc(x_797); -lean_dec(x_792); -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 -{ -uint8_t x_800; -lean_dec(x_734); -lean_dec(x_723); -lean_dec(x_716); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_800 = !lean_is_exclusive(x_770); -if (x_800 == 0) -{ -return x_770; -} -else -{ -lean_object* x_801; lean_object* x_802; lean_object* x_803; -x_801 = lean_ctor_get(x_770, 0); -x_802 = lean_ctor_get(x_770, 1); -lean_inc(x_802); -lean_inc(x_801); -lean_dec(x_770); -x_803 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_803, 0, x_801); -lean_ctor_set(x_803, 1, x_802); -return x_803; -} -} -} -} -else -{ -uint8_t x_804; -lean_dec(x_723); -lean_dec(x_716); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_804 = !lean_is_exclusive(x_730); -if (x_804 == 0) -{ -return x_730; -} -else -{ -lean_object* x_805; lean_object* x_806; lean_object* x_807; -x_805 = lean_ctor_get(x_730, 0); -x_806 = lean_ctor_get(x_730, 1); -lean_inc(x_806); -lean_inc(x_805); -lean_dec(x_730); -x_807 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_807, 0, x_805); -lean_ctor_set(x_807, 1, x_806); -return x_807; -} -} -} -else -{ -lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; -lean_dec(x_5); -lean_dec(x_4); -x_808 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_724); -x_809 = lean_ctor_get(x_808, 1); -lean_inc(x_809); -lean_dec(x_808); -x_810 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_810, 0, x_716); -lean_closure_set(x_810, 1, x_13); -lean_closure_set(x_810, 2, x_6); -lean_closure_set(x_810, 3, x_7); -lean_closure_set(x_810, 4, x_8); -lean_closure_set(x_810, 5, x_9); -lean_closure_set(x_810, 6, x_10); -x_811 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_723, x_810, x_14, x_15, x_16, x_17, x_809); -if (lean_obj_tag(x_811) == 0) -{ -uint8_t x_812; -x_812 = !lean_is_exclusive(x_811); -if (x_812 == 0) -{ -lean_object* x_813; lean_object* x_814; -x_813 = lean_ctor_get(x_811, 0); -x_814 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_814, 0, x_813); -lean_ctor_set(x_811, 0, x_814); -return x_811; -} -else -{ -lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; -x_815 = lean_ctor_get(x_811, 0); -x_816 = lean_ctor_get(x_811, 1); -lean_inc(x_816); -lean_inc(x_815); -lean_dec(x_811); -x_817 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_817, 0, x_815); -x_818 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_818, 0, x_817); -lean_ctor_set(x_818, 1, x_816); -return x_818; -} -} -else -{ -uint8_t x_819; -x_819 = !lean_is_exclusive(x_811); -if (x_819 == 0) -{ -return x_811; -} -else -{ -lean_object* x_820; lean_object* x_821; lean_object* x_822; -x_820 = lean_ctor_get(x_811, 0); -x_821 = lean_ctor_get(x_811, 1); -lean_inc(x_821); -lean_inc(x_820); -lean_dec(x_811); -x_822 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_822, 0, x_820); -lean_ctor_set(x_822, 1, x_821); -return x_822; -} -} -} -} -else -{ -uint8_t x_823; -lean_dec(x_716); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_823 = !lean_is_exclusive(x_722); -if (x_823 == 0) -{ -return x_722; -} -else -{ -lean_object* x_824; lean_object* x_825; lean_object* x_826; -x_824 = lean_ctor_get(x_722, 0); -x_825 = lean_ctor_get(x_722, 1); -lean_inc(x_825); -lean_inc(x_824); -lean_dec(x_722); -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 -{ -uint8_t x_846; -lean_dec(x_716); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_846 = !lean_is_exclusive(x_718); -if (x_846 == 0) -{ -return x_718; -} -else -{ -lean_object* x_847; lean_object* x_848; lean_object* x_849; -x_847 = lean_ctor_get(x_718, 0); -x_848 = lean_ctor_get(x_718, 1); -lean_inc(x_848); -lean_inc(x_847); -lean_dec(x_718); -x_849 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_849, 0, x_847); -lean_ctor_set(x_849, 1, x_848); -return x_849; -} -} -} -case 6: -{ -lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; uint8_t x_855; lean_object* x_856; -lean_dec(x_19); -x_850 = lean_ctor_get(x_12, 3); -x_851 = lean_ctor_get(x_12, 0); -x_852 = lean_ctor_get(x_12, 1); -x_853 = lean_ctor_get(x_12, 2); -lean_inc(x_850); -lean_inc(x_853); -lean_inc(x_852); -lean_inc(x_851); -x_854 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_854, 0, x_851); -lean_ctor_set(x_854, 1, x_852); -lean_ctor_set(x_854, 2, x_853); -lean_ctor_set(x_854, 3, x_850); -x_855 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_856 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_855, x_854, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_856) == 0) -{ -lean_object* x_857; lean_object* x_858; lean_object* x_859; uint8_t x_966; -x_857 = lean_ctor_get(x_856, 0); -lean_inc(x_857); -x_858 = lean_ctor_get(x_856, 1); -lean_inc(x_858); -lean_dec(x_856); -x_966 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_966 == 0) -{ -lean_object* x_967; -x_967 = lean_box(0); -x_859 = x_967; -goto block_965; -} -else -{ -uint8_t x_968; -x_968 = lean_nat_dec_eq(x_7, x_6); -if (x_968 == 0) -{ -lean_object* x_969; -x_969 = lean_box(0); -x_859 = x_969; -goto block_965; -} -else -{ -lean_object* x_970; lean_object* x_971; lean_object* x_972; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_970 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_858); -x_971 = lean_ctor_get(x_970, 1); -lean_inc(x_971); -lean_dec(x_970); -x_972 = l_Lean_Compiler_LCNF_Simp_simp(x_857, x_854, x_13, x_14, x_15, x_16, x_17, x_971); -if (lean_obj_tag(x_972) == 0) -{ -uint8_t x_973; -x_973 = !lean_is_exclusive(x_972); -if (x_973 == 0) -{ -lean_object* x_974; lean_object* x_975; -x_974 = lean_ctor_get(x_972, 0); -x_975 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_975, 0, x_974); -lean_ctor_set(x_972, 0, x_975); -return x_972; -} -else -{ -lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; -x_976 = lean_ctor_get(x_972, 0); -x_977 = lean_ctor_get(x_972, 1); -lean_inc(x_977); -lean_inc(x_976); -lean_dec(x_972); -x_978 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_978, 0, x_976); -x_979 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_979, 0, x_978); -lean_ctor_set(x_979, 1, x_977); -return x_979; -} -} -else -{ -uint8_t x_980; -x_980 = !lean_is_exclusive(x_972); -if (x_980 == 0) -{ -return x_972; -} -else -{ -lean_object* x_981; lean_object* x_982; lean_object* x_983; -x_981 = lean_ctor_get(x_972, 0); -x_982 = lean_ctor_get(x_972, 1); -lean_inc(x_982); -lean_inc(x_981); -lean_dec(x_972); -x_983 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_983, 0, x_981); -lean_ctor_set(x_983, 1, x_982); -return x_983; -} -} -} -} -block_965: -{ -lean_object* x_860; -lean_dec(x_859); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_854); -x_860 = l_Lean_Compiler_LCNF_Simp_simp(x_857, x_854, x_13, x_14, x_15, x_16, x_17, x_858); -if (lean_obj_tag(x_860) == 0) -{ -lean_object* x_861; lean_object* x_862; uint8_t x_863; -x_861 = lean_ctor_get(x_860, 0); -lean_inc(x_861); -x_862 = lean_ctor_get(x_860, 1); -lean_inc(x_862); -lean_dec(x_860); -lean_inc(x_861); -x_863 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_861); -if (x_863 == 0) -{ -lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; -x_864 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_862); -x_865 = lean_ctor_get(x_864, 1); -lean_inc(x_865); -lean_dec(x_864); -x_866 = lean_ctor_get(x_5, 2); -lean_inc(x_866); -lean_dec(x_5); -x_867 = l_Lean_mkAppN(x_866, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_868 = l_Lean_Compiler_LCNF_inferType(x_867, x_14, x_15, x_16, x_17, x_865); -if (lean_obj_tag(x_868) == 0) -{ -lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; uint8_t x_874; -x_869 = lean_ctor_get(x_868, 0); -lean_inc(x_869); -x_870 = lean_ctor_get(x_868, 1); -lean_inc(x_870); -lean_dec(x_868); -x_871 = l_Lean_Compiler_LCNF_mkAuxParam(x_869, x_855, x_14, x_15, x_16, x_17, x_870); -x_872 = lean_ctor_get(x_871, 0); -lean_inc(x_872); -x_873 = lean_ctor_get(x_871, 1); -lean_inc(x_873); -lean_dec(x_871); -x_874 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_874 == 0) -{ -lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; uint8_t x_886; lean_object* x_887; lean_object* x_888; lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; -lean_dec(x_10); -lean_dec(x_6); -x_875 = lean_ctor_get(x_872, 0); -lean_inc(x_875); -x_876 = lean_st_ref_get(x_17, x_873); -x_877 = lean_ctor_get(x_876, 1); -lean_inc(x_877); -lean_dec(x_876); -x_878 = lean_st_ref_take(x_13, x_877); -x_879 = lean_ctor_get(x_878, 0); -lean_inc(x_879); -x_880 = lean_ctor_get(x_878, 1); -lean_inc(x_880); -lean_dec(x_878); -x_881 = lean_ctor_get(x_879, 0); -lean_inc(x_881); -x_882 = l_Lean_Expr_fvar___override(x_875); -x_883 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_881, x_8, x_882); -x_884 = lean_ctor_get(x_879, 1); -lean_inc(x_884); -x_885 = lean_ctor_get(x_879, 2); -lean_inc(x_885); -x_886 = lean_ctor_get_uint8(x_879, sizeof(void*)*6); -x_887 = lean_ctor_get(x_879, 3); -lean_inc(x_887); -x_888 = lean_ctor_get(x_879, 4); -lean_inc(x_888); -x_889 = lean_ctor_get(x_879, 5); -lean_inc(x_889); -lean_dec(x_879); -x_890 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_890, 0, x_883); -lean_ctor_set(x_890, 1, x_884); -lean_ctor_set(x_890, 2, x_885); -lean_ctor_set(x_890, 3, x_887); -lean_ctor_set(x_890, 4, x_888); -lean_ctor_set(x_890, 5, x_889); -lean_ctor_set_uint8(x_890, sizeof(void*)*6, x_886); -x_891 = lean_st_ref_set(x_13, x_890, x_880); -x_892 = lean_ctor_get(x_891, 1); -lean_inc(x_892); -lean_dec(x_891); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_854); -x_893 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_854, x_13, x_14, x_15, x_16, x_17, x_892); -if (lean_obj_tag(x_893) == 0) -{ -lean_object* x_894; lean_object* x_895; lean_object* x_896; -x_894 = lean_ctor_get(x_893, 0); -lean_inc(x_894); -x_895 = lean_ctor_get(x_893, 1); -lean_inc(x_895); -lean_dec(x_893); -x_896 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_872, x_861, x_894, x_854, x_13, x_14, x_15, x_16, x_17, x_895); -lean_dec(x_13); -lean_dec(x_854); -return x_896; -} -else -{ -uint8_t x_897; -lean_dec(x_872); -lean_dec(x_861); -lean_dec(x_854); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_897 = !lean_is_exclusive(x_893); -if (x_897 == 0) -{ -return x_893; -} -else -{ -lean_object* x_898; lean_object* x_899; lean_object* x_900; -x_898 = lean_ctor_get(x_893, 0); -x_899 = lean_ctor_get(x_893, 1); -lean_inc(x_899); -lean_inc(x_898); -lean_dec(x_893); -x_900 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_900, 0, x_898); -lean_ctor_set(x_900, 1, x_899); -return x_900; -} -} -} -else -{ -lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; -x_901 = lean_ctor_get(x_872, 0); -lean_inc(x_901); -x_902 = l_Lean_Expr_fvar___override(x_901); -x_903 = lean_array_get_size(x_10); -x_904 = l_Array_toSubarray___rarg(x_10, x_6, x_903); -x_905 = l_Array_ofSubarray___rarg(x_904); -x_906 = l_Lean_mkAppN(x_902, x_905); -x_907 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_908 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_906, x_907, x_14, x_15, x_16, x_17, x_873); -if (lean_obj_tag(x_908) == 0) -{ -lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; uint8_t 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; -x_909 = lean_ctor_get(x_908, 0); -lean_inc(x_909); -x_910 = lean_ctor_get(x_908, 1); -lean_inc(x_910); -lean_dec(x_908); -x_911 = lean_ctor_get(x_909, 0); -lean_inc(x_911); -x_912 = lean_st_ref_get(x_17, x_910); -x_913 = lean_ctor_get(x_912, 1); -lean_inc(x_913); -lean_dec(x_912); -x_914 = lean_st_ref_take(x_13, x_913); -x_915 = lean_ctor_get(x_914, 0); -lean_inc(x_915); -x_916 = lean_ctor_get(x_914, 1); -lean_inc(x_916); -lean_dec(x_914); -x_917 = lean_ctor_get(x_915, 0); -lean_inc(x_917); -x_918 = l_Lean_Expr_fvar___override(x_911); -x_919 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_917, x_8, x_918); -x_920 = lean_ctor_get(x_915, 1); -lean_inc(x_920); -x_921 = lean_ctor_get(x_915, 2); -lean_inc(x_921); -x_922 = lean_ctor_get_uint8(x_915, sizeof(void*)*6); -x_923 = lean_ctor_get(x_915, 3); -lean_inc(x_923); -x_924 = lean_ctor_get(x_915, 4); -lean_inc(x_924); -x_925 = lean_ctor_get(x_915, 5); -lean_inc(x_925); -lean_dec(x_915); -x_926 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_926, 0, x_919); -lean_ctor_set(x_926, 1, x_920); -lean_ctor_set(x_926, 2, x_921); -lean_ctor_set(x_926, 3, x_923); -lean_ctor_set(x_926, 4, x_924); -lean_ctor_set(x_926, 5, x_925); -lean_ctor_set_uint8(x_926, sizeof(void*)*6, x_922); -x_927 = lean_st_ref_set(x_13, x_926, x_916); -x_928 = lean_ctor_get(x_927, 1); -lean_inc(x_928); -lean_dec(x_927); -x_929 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_929, 0, x_909); -lean_ctor_set(x_929, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_854); -x_930 = l_Lean_Compiler_LCNF_Simp_simp(x_929, x_854, x_13, x_14, x_15, x_16, x_17, x_928); -if (lean_obj_tag(x_930) == 0) -{ -lean_object* x_931; lean_object* x_932; lean_object* x_933; -x_931 = lean_ctor_get(x_930, 0); -lean_inc(x_931); -x_932 = lean_ctor_get(x_930, 1); -lean_inc(x_932); -lean_dec(x_930); -x_933 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_872, x_861, x_931, x_854, x_13, x_14, x_15, x_16, x_17, x_932); -lean_dec(x_13); -lean_dec(x_854); -return x_933; -} -else -{ -uint8_t x_934; -lean_dec(x_872); -lean_dec(x_861); -lean_dec(x_854); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_934 = !lean_is_exclusive(x_930); -if (x_934 == 0) -{ -return x_930; -} -else -{ -lean_object* x_935; lean_object* x_936; lean_object* x_937; -x_935 = lean_ctor_get(x_930, 0); -x_936 = lean_ctor_get(x_930, 1); -lean_inc(x_936); -lean_inc(x_935); -lean_dec(x_930); -x_937 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_937, 0, x_935); -lean_ctor_set(x_937, 1, x_936); -return x_937; -} -} -} -else -{ -uint8_t x_938; -lean_dec(x_872); -lean_dec(x_861); -lean_dec(x_854); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_938 = !lean_is_exclusive(x_908); -if (x_938 == 0) -{ -return x_908; -} -else -{ -lean_object* x_939; lean_object* x_940; lean_object* x_941; -x_939 = lean_ctor_get(x_908, 0); -x_940 = lean_ctor_get(x_908, 1); -lean_inc(x_940); -lean_inc(x_939); -lean_dec(x_908); -x_941 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_941, 0, x_939); -lean_ctor_set(x_941, 1, x_940); -return x_941; -} -} -} -} -else -{ -uint8_t x_942; -lean_dec(x_861); -lean_dec(x_854); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_942 = !lean_is_exclusive(x_868); -if (x_942 == 0) -{ -return x_868; -} -else -{ -lean_object* x_943; lean_object* x_944; lean_object* x_945; -x_943 = lean_ctor_get(x_868, 0); -x_944 = lean_ctor_get(x_868, 1); -lean_inc(x_944); -lean_inc(x_943); -lean_dec(x_868); -x_945 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_945, 0, x_943); -lean_ctor_set(x_945, 1, x_944); -return x_945; -} -} -} -else -{ -lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; -lean_dec(x_5); -lean_dec(x_4); -x_946 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_862); -x_947 = lean_ctor_get(x_946, 1); -lean_inc(x_947); -lean_dec(x_946); -x_948 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_948, 0, x_854); -lean_closure_set(x_948, 1, x_13); -lean_closure_set(x_948, 2, x_6); -lean_closure_set(x_948, 3, x_7); -lean_closure_set(x_948, 4, x_8); -lean_closure_set(x_948, 5, x_9); -lean_closure_set(x_948, 6, x_10); -x_949 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_861, x_948, x_14, x_15, x_16, x_17, x_947); -if (lean_obj_tag(x_949) == 0) -{ -uint8_t x_950; -x_950 = !lean_is_exclusive(x_949); -if (x_950 == 0) -{ -lean_object* x_951; lean_object* x_952; -x_951 = lean_ctor_get(x_949, 0); -x_952 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_952, 0, x_951); -lean_ctor_set(x_949, 0, x_952); -return x_949; -} -else -{ -lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; -x_953 = lean_ctor_get(x_949, 0); -x_954 = lean_ctor_get(x_949, 1); -lean_inc(x_954); -lean_inc(x_953); -lean_dec(x_949); -x_955 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_955, 0, x_953); -x_956 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_956, 0, x_955); -lean_ctor_set(x_956, 1, x_954); -return x_956; -} -} -else -{ -uint8_t x_957; -x_957 = !lean_is_exclusive(x_949); -if (x_957 == 0) -{ -return x_949; -} -else -{ -lean_object* x_958; lean_object* x_959; lean_object* x_960; -x_958 = lean_ctor_get(x_949, 0); -x_959 = lean_ctor_get(x_949, 1); -lean_inc(x_959); -lean_inc(x_958); -lean_dec(x_949); -x_960 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_960, 0, x_958); -lean_ctor_set(x_960, 1, x_959); -return x_960; -} -} -} -} -else -{ -uint8_t x_961; -lean_dec(x_854); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_961 = !lean_is_exclusive(x_860); -if (x_961 == 0) -{ -return x_860; -} -else -{ -lean_object* x_962; lean_object* x_963; lean_object* x_964; -x_962 = lean_ctor_get(x_860, 0); -x_963 = lean_ctor_get(x_860, 1); -lean_inc(x_963); -lean_inc(x_962); -lean_dec(x_860); -x_964 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_964, 0, x_962); -lean_ctor_set(x_964, 1, x_963); -return x_964; -} -} -} -} -else -{ -uint8_t x_984; -lean_dec(x_854); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_984 = !lean_is_exclusive(x_856); -if (x_984 == 0) -{ -return x_856; -} -else -{ -lean_object* x_985; lean_object* x_986; lean_object* x_987; -x_985 = lean_ctor_get(x_856, 0); -x_986 = lean_ctor_get(x_856, 1); -lean_inc(x_986); -lean_inc(x_985); -lean_dec(x_856); -x_987 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_987, 0, x_985); -lean_ctor_set(x_987, 1, x_986); -return x_987; -} -} -} -case 7: -{ -lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; uint8_t x_993; lean_object* x_994; -lean_dec(x_19); -x_988 = lean_ctor_get(x_12, 3); -x_989 = lean_ctor_get(x_12, 0); -x_990 = lean_ctor_get(x_12, 1); -x_991 = lean_ctor_get(x_12, 2); -lean_inc(x_988); -lean_inc(x_991); -lean_inc(x_990); -lean_inc(x_989); -x_992 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_992, 0, x_989); -lean_ctor_set(x_992, 1, x_990); -lean_ctor_set(x_992, 2, x_991); -lean_ctor_set(x_992, 3, x_988); -x_993 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_994 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_993, x_992, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_994) == 0) -{ -lean_object* x_995; lean_object* x_996; lean_object* x_997; uint8_t x_1104; -x_995 = lean_ctor_get(x_994, 0); -lean_inc(x_995); -x_996 = lean_ctor_get(x_994, 1); -lean_inc(x_996); -lean_dec(x_994); -x_1104 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_1104 == 0) -{ -lean_object* x_1105; -x_1105 = lean_box(0); -x_997 = x_1105; -goto block_1103; -} -else -{ -uint8_t x_1106; -x_1106 = lean_nat_dec_eq(x_7, x_6); -if (x_1106 == 0) -{ -lean_object* x_1107; -x_1107 = lean_box(0); -x_997 = x_1107; -goto block_1103; -} -else -{ -lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1108 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_996); -x_1109 = lean_ctor_get(x_1108, 1); -lean_inc(x_1109); -lean_dec(x_1108); -x_1110 = l_Lean_Compiler_LCNF_Simp_simp(x_995, x_992, x_13, x_14, x_15, x_16, x_17, x_1109); -if (lean_obj_tag(x_1110) == 0) -{ -uint8_t x_1111; -x_1111 = !lean_is_exclusive(x_1110); -if (x_1111 == 0) -{ -lean_object* x_1112; lean_object* x_1113; -x_1112 = lean_ctor_get(x_1110, 0); -x_1113 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1113, 0, x_1112); -lean_ctor_set(x_1110, 0, x_1113); -return x_1110; -} -else -{ -lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; -x_1114 = lean_ctor_get(x_1110, 0); -x_1115 = lean_ctor_get(x_1110, 1); -lean_inc(x_1115); -lean_inc(x_1114); -lean_dec(x_1110); -x_1116 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1116, 0, x_1114); -x_1117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1117, 0, x_1116); -lean_ctor_set(x_1117, 1, x_1115); -return x_1117; -} -} -else -{ -uint8_t x_1118; -x_1118 = !lean_is_exclusive(x_1110); -if (x_1118 == 0) -{ -return x_1110; -} -else -{ -lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; -x_1119 = lean_ctor_get(x_1110, 0); -x_1120 = lean_ctor_get(x_1110, 1); -lean_inc(x_1120); -lean_inc(x_1119); -lean_dec(x_1110); -x_1121 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1121, 0, x_1119); -lean_ctor_set(x_1121, 1, x_1120); -return x_1121; -} -} -} -} -block_1103: -{ -lean_object* x_998; -lean_dec(x_997); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_992); -x_998 = l_Lean_Compiler_LCNF_Simp_simp(x_995, x_992, x_13, x_14, x_15, x_16, x_17, x_996); -if (lean_obj_tag(x_998) == 0) -{ -lean_object* x_999; lean_object* x_1000; uint8_t x_1001; -x_999 = lean_ctor_get(x_998, 0); -lean_inc(x_999); -x_1000 = lean_ctor_get(x_998, 1); -lean_inc(x_1000); -lean_dec(x_998); -lean_inc(x_999); -x_1001 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_999); -if (x_1001 == 0) -{ -lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; -x_1002 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1000); -x_1003 = lean_ctor_get(x_1002, 1); -lean_inc(x_1003); -lean_dec(x_1002); -x_1004 = lean_ctor_get(x_5, 2); -lean_inc(x_1004); -lean_dec(x_5); -x_1005 = l_Lean_mkAppN(x_1004, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1006 = l_Lean_Compiler_LCNF_inferType(x_1005, x_14, x_15, x_16, x_17, x_1003); -if (lean_obj_tag(x_1006) == 0) -{ -lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; uint8_t x_1012; -x_1007 = lean_ctor_get(x_1006, 0); -lean_inc(x_1007); -x_1008 = lean_ctor_get(x_1006, 1); -lean_inc(x_1008); -lean_dec(x_1006); -x_1009 = l_Lean_Compiler_LCNF_mkAuxParam(x_1007, x_993, x_14, x_15, x_16, x_17, x_1008); -x_1010 = lean_ctor_get(x_1009, 0); -lean_inc(x_1010); -x_1011 = lean_ctor_get(x_1009, 1); -lean_inc(x_1011); -lean_dec(x_1009); -x_1012 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_1012 == 0) -{ -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; uint8_t x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; -lean_dec(x_10); -lean_dec(x_6); -x_1013 = lean_ctor_get(x_1010, 0); -lean_inc(x_1013); -x_1014 = lean_st_ref_get(x_17, x_1011); -x_1015 = lean_ctor_get(x_1014, 1); -lean_inc(x_1015); -lean_dec(x_1014); -x_1016 = lean_st_ref_take(x_13, x_1015); -x_1017 = lean_ctor_get(x_1016, 0); -lean_inc(x_1017); -x_1018 = lean_ctor_get(x_1016, 1); -lean_inc(x_1018); -lean_dec(x_1016); -x_1019 = lean_ctor_get(x_1017, 0); -lean_inc(x_1019); -x_1020 = l_Lean_Expr_fvar___override(x_1013); -x_1021 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1019, x_8, x_1020); -x_1022 = lean_ctor_get(x_1017, 1); -lean_inc(x_1022); -x_1023 = lean_ctor_get(x_1017, 2); -lean_inc(x_1023); -x_1024 = lean_ctor_get_uint8(x_1017, sizeof(void*)*6); -x_1025 = lean_ctor_get(x_1017, 3); -lean_inc(x_1025); -x_1026 = lean_ctor_get(x_1017, 4); -lean_inc(x_1026); -x_1027 = lean_ctor_get(x_1017, 5); -lean_inc(x_1027); -lean_dec(x_1017); -x_1028 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1028, 0, x_1021); -lean_ctor_set(x_1028, 1, x_1022); -lean_ctor_set(x_1028, 2, x_1023); -lean_ctor_set(x_1028, 3, x_1025); -lean_ctor_set(x_1028, 4, x_1026); -lean_ctor_set(x_1028, 5, x_1027); -lean_ctor_set_uint8(x_1028, sizeof(void*)*6, x_1024); -x_1029 = lean_st_ref_set(x_13, x_1028, x_1018); -x_1030 = lean_ctor_get(x_1029, 1); -lean_inc(x_1030); -lean_dec(x_1029); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_992); -x_1031 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_992, x_13, x_14, x_15, x_16, x_17, x_1030); -if (lean_obj_tag(x_1031) == 0) -{ -lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; -x_1032 = lean_ctor_get(x_1031, 0); -lean_inc(x_1032); -x_1033 = lean_ctor_get(x_1031, 1); -lean_inc(x_1033); -lean_dec(x_1031); -x_1034 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1010, x_999, x_1032, x_992, x_13, x_14, x_15, x_16, x_17, x_1033); -lean_dec(x_13); -lean_dec(x_992); -return x_1034; -} -else -{ -uint8_t x_1035; -lean_dec(x_1010); -lean_dec(x_999); -lean_dec(x_992); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1035 = !lean_is_exclusive(x_1031); -if (x_1035 == 0) -{ -return x_1031; -} -else -{ -lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; -x_1036 = lean_ctor_get(x_1031, 0); -x_1037 = lean_ctor_get(x_1031, 1); -lean_inc(x_1037); -lean_inc(x_1036); -lean_dec(x_1031); -x_1038 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1038, 0, x_1036); -lean_ctor_set(x_1038, 1, x_1037); -return x_1038; -} -} -} -else -{ -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; -x_1039 = lean_ctor_get(x_1010, 0); -lean_inc(x_1039); -x_1040 = l_Lean_Expr_fvar___override(x_1039); -x_1041 = lean_array_get_size(x_10); -x_1042 = l_Array_toSubarray___rarg(x_10, x_6, x_1041); -x_1043 = l_Array_ofSubarray___rarg(x_1042); -x_1044 = l_Lean_mkAppN(x_1040, x_1043); -x_1045 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1046 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_1044, x_1045, x_14, x_15, x_16, x_17, x_1011); -if (lean_obj_tag(x_1046) == 0) -{ -lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; uint8_t 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; -x_1047 = lean_ctor_get(x_1046, 0); -lean_inc(x_1047); -x_1048 = lean_ctor_get(x_1046, 1); -lean_inc(x_1048); -lean_dec(x_1046); -x_1049 = lean_ctor_get(x_1047, 0); -lean_inc(x_1049); -x_1050 = lean_st_ref_get(x_17, x_1048); -x_1051 = lean_ctor_get(x_1050, 1); -lean_inc(x_1051); -lean_dec(x_1050); -x_1052 = lean_st_ref_take(x_13, x_1051); -x_1053 = lean_ctor_get(x_1052, 0); -lean_inc(x_1053); -x_1054 = lean_ctor_get(x_1052, 1); -lean_inc(x_1054); -lean_dec(x_1052); -x_1055 = lean_ctor_get(x_1053, 0); -lean_inc(x_1055); -x_1056 = l_Lean_Expr_fvar___override(x_1049); -x_1057 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1055, x_8, x_1056); -x_1058 = lean_ctor_get(x_1053, 1); -lean_inc(x_1058); -x_1059 = lean_ctor_get(x_1053, 2); -lean_inc(x_1059); -x_1060 = lean_ctor_get_uint8(x_1053, sizeof(void*)*6); -x_1061 = lean_ctor_get(x_1053, 3); -lean_inc(x_1061); -x_1062 = lean_ctor_get(x_1053, 4); -lean_inc(x_1062); -x_1063 = lean_ctor_get(x_1053, 5); -lean_inc(x_1063); -lean_dec(x_1053); -x_1064 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1064, 0, x_1057); -lean_ctor_set(x_1064, 1, x_1058); -lean_ctor_set(x_1064, 2, x_1059); -lean_ctor_set(x_1064, 3, x_1061); -lean_ctor_set(x_1064, 4, x_1062); -lean_ctor_set(x_1064, 5, x_1063); -lean_ctor_set_uint8(x_1064, sizeof(void*)*6, x_1060); -x_1065 = lean_st_ref_set(x_13, x_1064, x_1054); -x_1066 = lean_ctor_get(x_1065, 1); -lean_inc(x_1066); -lean_dec(x_1065); -x_1067 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1067, 0, x_1047); -lean_ctor_set(x_1067, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_992); -x_1068 = l_Lean_Compiler_LCNF_Simp_simp(x_1067, x_992, x_13, x_14, x_15, x_16, x_17, x_1066); -if (lean_obj_tag(x_1068) == 0) -{ -lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; -x_1069 = lean_ctor_get(x_1068, 0); -lean_inc(x_1069); -x_1070 = lean_ctor_get(x_1068, 1); -lean_inc(x_1070); -lean_dec(x_1068); -x_1071 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1010, x_999, x_1069, x_992, x_13, x_14, x_15, x_16, x_17, x_1070); -lean_dec(x_13); -lean_dec(x_992); -return x_1071; -} -else -{ -uint8_t x_1072; -lean_dec(x_1010); -lean_dec(x_999); -lean_dec(x_992); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1072 = !lean_is_exclusive(x_1068); -if (x_1072 == 0) -{ -return x_1068; -} -else -{ -lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; -x_1073 = lean_ctor_get(x_1068, 0); -x_1074 = lean_ctor_get(x_1068, 1); -lean_inc(x_1074); -lean_inc(x_1073); -lean_dec(x_1068); -x_1075 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1075, 0, x_1073); -lean_ctor_set(x_1075, 1, x_1074); -return x_1075; -} -} -} -else -{ -uint8_t x_1076; -lean_dec(x_1010); -lean_dec(x_999); -lean_dec(x_992); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_1076 = !lean_is_exclusive(x_1046); -if (x_1076 == 0) -{ -return x_1046; -} -else -{ -lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; -x_1077 = lean_ctor_get(x_1046, 0); -x_1078 = lean_ctor_get(x_1046, 1); -lean_inc(x_1078); -lean_inc(x_1077); -lean_dec(x_1046); -x_1079 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1079, 0, x_1077); -lean_ctor_set(x_1079, 1, x_1078); -return x_1079; -} -} -} -} -else -{ -uint8_t x_1080; -lean_dec(x_999); -lean_dec(x_992); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_1080 = !lean_is_exclusive(x_1006); -if (x_1080 == 0) -{ -return x_1006; -} -else -{ -lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; -x_1081 = lean_ctor_get(x_1006, 0); -x_1082 = lean_ctor_get(x_1006, 1); -lean_inc(x_1082); -lean_inc(x_1081); -lean_dec(x_1006); -x_1083 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1083, 0, x_1081); -lean_ctor_set(x_1083, 1, x_1082); -return x_1083; -} -} -} -else -{ -lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; -lean_dec(x_5); -lean_dec(x_4); -x_1084 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1000); -x_1085 = lean_ctor_get(x_1084, 1); -lean_inc(x_1085); -lean_dec(x_1084); -x_1086 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_1086, 0, x_992); -lean_closure_set(x_1086, 1, x_13); -lean_closure_set(x_1086, 2, x_6); -lean_closure_set(x_1086, 3, x_7); -lean_closure_set(x_1086, 4, x_8); -lean_closure_set(x_1086, 5, x_9); -lean_closure_set(x_1086, 6, x_10); -x_1087 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_999, x_1086, x_14, x_15, x_16, x_17, x_1085); -if (lean_obj_tag(x_1087) == 0) -{ -uint8_t x_1088; -x_1088 = !lean_is_exclusive(x_1087); -if (x_1088 == 0) -{ -lean_object* x_1089; lean_object* x_1090; -x_1089 = lean_ctor_get(x_1087, 0); -x_1090 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1090, 0, x_1089); -lean_ctor_set(x_1087, 0, x_1090); -return x_1087; -} -else -{ -lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; -x_1091 = lean_ctor_get(x_1087, 0); -x_1092 = lean_ctor_get(x_1087, 1); -lean_inc(x_1092); -lean_inc(x_1091); -lean_dec(x_1087); -x_1093 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1093, 0, x_1091); -x_1094 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1094, 0, x_1093); -lean_ctor_set(x_1094, 1, x_1092); -return x_1094; -} -} -else -{ -uint8_t x_1095; -x_1095 = !lean_is_exclusive(x_1087); -if (x_1095 == 0) -{ -return x_1087; -} -else -{ -lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; -x_1096 = lean_ctor_get(x_1087, 0); -x_1097 = lean_ctor_get(x_1087, 1); -lean_inc(x_1097); -lean_inc(x_1096); -lean_dec(x_1087); -x_1098 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1098, 0, x_1096); -lean_ctor_set(x_1098, 1, x_1097); -return x_1098; -} -} -} -} -else -{ -uint8_t x_1099; -lean_dec(x_992); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1099 = !lean_is_exclusive(x_998); -if (x_1099 == 0) -{ -return x_998; -} -else -{ -lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; -x_1100 = lean_ctor_get(x_998, 0); -x_1101 = lean_ctor_get(x_998, 1); -lean_inc(x_1101); -lean_inc(x_1100); -lean_dec(x_998); -x_1102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1102, 0, x_1100); -lean_ctor_set(x_1102, 1, x_1101); -return x_1102; -} -} -} -} -else -{ -uint8_t x_1122; -lean_dec(x_992); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1122 = !lean_is_exclusive(x_994); -if (x_1122 == 0) -{ -return x_994; -} -else -{ -lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; -x_1123 = lean_ctor_get(x_994, 0); -x_1124 = lean_ctor_get(x_994, 1); -lean_inc(x_1124); -lean_inc(x_1123); -lean_dec(x_994); -x_1125 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1125, 0, x_1123); -lean_ctor_set(x_1125, 1, x_1124); -return x_1125; -} -} -} -case 8: -{ -lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; uint8_t x_1131; lean_object* x_1132; -lean_dec(x_19); -x_1126 = lean_ctor_get(x_12, 3); -x_1127 = lean_ctor_get(x_12, 0); -x_1128 = lean_ctor_get(x_12, 1); -x_1129 = lean_ctor_get(x_12, 2); -lean_inc(x_1126); -lean_inc(x_1129); -lean_inc(x_1128); -lean_inc(x_1127); -x_1130 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1130, 0, x_1127); -lean_ctor_set(x_1130, 1, x_1128); -lean_ctor_set(x_1130, 2, x_1129); -lean_ctor_set(x_1130, 3, x_1126); -x_1131 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_1132 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_1131, x_1130, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_1132) == 0) -{ -lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; uint8_t x_1242; -x_1133 = lean_ctor_get(x_1132, 0); -lean_inc(x_1133); -x_1134 = lean_ctor_get(x_1132, 1); -lean_inc(x_1134); -lean_dec(x_1132); -x_1242 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_1242 == 0) -{ -lean_object* x_1243; -x_1243 = lean_box(0); -x_1135 = x_1243; -goto block_1241; -} -else -{ -uint8_t x_1244; -x_1244 = lean_nat_dec_eq(x_7, x_6); -if (x_1244 == 0) -{ -lean_object* x_1245; -x_1245 = lean_box(0); -x_1135 = x_1245; -goto block_1241; -} -else -{ -lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1246 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1134); -x_1247 = lean_ctor_get(x_1246, 1); -lean_inc(x_1247); -lean_dec(x_1246); -x_1248 = l_Lean_Compiler_LCNF_Simp_simp(x_1133, x_1130, x_13, x_14, x_15, x_16, x_17, x_1247); -if (lean_obj_tag(x_1248) == 0) -{ -uint8_t x_1249; -x_1249 = !lean_is_exclusive(x_1248); -if (x_1249 == 0) -{ -lean_object* x_1250; lean_object* x_1251; -x_1250 = lean_ctor_get(x_1248, 0); -x_1251 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1251, 0, x_1250); -lean_ctor_set(x_1248, 0, x_1251); -return x_1248; -} -else -{ -lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; -x_1252 = lean_ctor_get(x_1248, 0); -x_1253 = lean_ctor_get(x_1248, 1); -lean_inc(x_1253); -lean_inc(x_1252); -lean_dec(x_1248); -x_1254 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1254, 0, x_1252); -x_1255 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1255, 0, x_1254); -lean_ctor_set(x_1255, 1, x_1253); -return x_1255; -} -} -else -{ -uint8_t x_1256; -x_1256 = !lean_is_exclusive(x_1248); -if (x_1256 == 0) -{ -return x_1248; -} -else -{ -lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; -x_1257 = lean_ctor_get(x_1248, 0); -x_1258 = lean_ctor_get(x_1248, 1); -lean_inc(x_1258); -lean_inc(x_1257); -lean_dec(x_1248); -x_1259 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1259, 0, x_1257); -lean_ctor_set(x_1259, 1, x_1258); -return x_1259; -} -} -} -} -block_1241: -{ -lean_object* x_1136; -lean_dec(x_1135); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1130); -x_1136 = l_Lean_Compiler_LCNF_Simp_simp(x_1133, x_1130, x_13, x_14, x_15, x_16, x_17, x_1134); -if (lean_obj_tag(x_1136) == 0) -{ -lean_object* x_1137; lean_object* x_1138; uint8_t x_1139; -x_1137 = lean_ctor_get(x_1136, 0); -lean_inc(x_1137); -x_1138 = lean_ctor_get(x_1136, 1); -lean_inc(x_1138); -lean_dec(x_1136); -lean_inc(x_1137); -x_1139 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_1137); -if (x_1139 == 0) -{ -lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; -x_1140 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1138); -x_1141 = lean_ctor_get(x_1140, 1); -lean_inc(x_1141); -lean_dec(x_1140); -x_1142 = lean_ctor_get(x_5, 2); -lean_inc(x_1142); -lean_dec(x_5); -x_1143 = l_Lean_mkAppN(x_1142, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1144 = l_Lean_Compiler_LCNF_inferType(x_1143, x_14, x_15, x_16, x_17, x_1141); -if (lean_obj_tag(x_1144) == 0) -{ -lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; uint8_t x_1150; -x_1145 = lean_ctor_get(x_1144, 0); -lean_inc(x_1145); -x_1146 = lean_ctor_get(x_1144, 1); -lean_inc(x_1146); -lean_dec(x_1144); -x_1147 = l_Lean_Compiler_LCNF_mkAuxParam(x_1145, x_1131, x_14, x_15, x_16, x_17, x_1146); -x_1148 = lean_ctor_get(x_1147, 0); -lean_inc(x_1148); -x_1149 = lean_ctor_get(x_1147, 1); -lean_inc(x_1149); -lean_dec(x_1147); -x_1150 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_1150 == 0) -{ -lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; uint8_t x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; -lean_dec(x_10); -lean_dec(x_6); -x_1151 = lean_ctor_get(x_1148, 0); -lean_inc(x_1151); -x_1152 = lean_st_ref_get(x_17, x_1149); -x_1153 = lean_ctor_get(x_1152, 1); -lean_inc(x_1153); -lean_dec(x_1152); -x_1154 = lean_st_ref_take(x_13, x_1153); -x_1155 = lean_ctor_get(x_1154, 0); -lean_inc(x_1155); -x_1156 = lean_ctor_get(x_1154, 1); -lean_inc(x_1156); -lean_dec(x_1154); -x_1157 = lean_ctor_get(x_1155, 0); -lean_inc(x_1157); -x_1158 = l_Lean_Expr_fvar___override(x_1151); -x_1159 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1157, x_8, x_1158); -x_1160 = lean_ctor_get(x_1155, 1); -lean_inc(x_1160); -x_1161 = lean_ctor_get(x_1155, 2); -lean_inc(x_1161); -x_1162 = lean_ctor_get_uint8(x_1155, sizeof(void*)*6); -x_1163 = lean_ctor_get(x_1155, 3); -lean_inc(x_1163); -x_1164 = lean_ctor_get(x_1155, 4); -lean_inc(x_1164); -x_1165 = lean_ctor_get(x_1155, 5); -lean_inc(x_1165); -lean_dec(x_1155); -x_1166 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1166, 0, x_1159); -lean_ctor_set(x_1166, 1, x_1160); -lean_ctor_set(x_1166, 2, x_1161); -lean_ctor_set(x_1166, 3, x_1163); -lean_ctor_set(x_1166, 4, x_1164); -lean_ctor_set(x_1166, 5, x_1165); -lean_ctor_set_uint8(x_1166, sizeof(void*)*6, x_1162); -x_1167 = lean_st_ref_set(x_13, x_1166, x_1156); -x_1168 = lean_ctor_get(x_1167, 1); -lean_inc(x_1168); -lean_dec(x_1167); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1130); -x_1169 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_1130, x_13, x_14, x_15, x_16, x_17, x_1168); -if (lean_obj_tag(x_1169) == 0) -{ -lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; -x_1170 = lean_ctor_get(x_1169, 0); -lean_inc(x_1170); -x_1171 = lean_ctor_get(x_1169, 1); -lean_inc(x_1171); -lean_dec(x_1169); -x_1172 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1148, x_1137, x_1170, x_1130, x_13, x_14, x_15, x_16, x_17, x_1171); -lean_dec(x_13); -lean_dec(x_1130); -return x_1172; -} -else -{ -uint8_t x_1173; -lean_dec(x_1148); -lean_dec(x_1137); -lean_dec(x_1130); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1173 = !lean_is_exclusive(x_1169); -if (x_1173 == 0) -{ -return x_1169; -} -else -{ -lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; -x_1174 = lean_ctor_get(x_1169, 0); -x_1175 = lean_ctor_get(x_1169, 1); -lean_inc(x_1175); -lean_inc(x_1174); -lean_dec(x_1169); -x_1176 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1176, 0, x_1174); -lean_ctor_set(x_1176, 1, x_1175); -return x_1176; -} -} -} -else -{ -lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; -x_1177 = lean_ctor_get(x_1148, 0); -lean_inc(x_1177); -x_1178 = l_Lean_Expr_fvar___override(x_1177); -x_1179 = lean_array_get_size(x_10); -x_1180 = l_Array_toSubarray___rarg(x_10, x_6, x_1179); -x_1181 = l_Array_ofSubarray___rarg(x_1180); -x_1182 = l_Lean_mkAppN(x_1178, x_1181); -x_1183 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1184 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_1182, x_1183, x_14, x_15, x_16, x_17, x_1149); -if (lean_obj_tag(x_1184) == 0) -{ -lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; uint8_t x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; -x_1185 = lean_ctor_get(x_1184, 0); -lean_inc(x_1185); -x_1186 = lean_ctor_get(x_1184, 1); -lean_inc(x_1186); -lean_dec(x_1184); -x_1187 = lean_ctor_get(x_1185, 0); -lean_inc(x_1187); -x_1188 = lean_st_ref_get(x_17, x_1186); -x_1189 = lean_ctor_get(x_1188, 1); -lean_inc(x_1189); -lean_dec(x_1188); -x_1190 = lean_st_ref_take(x_13, x_1189); -x_1191 = lean_ctor_get(x_1190, 0); -lean_inc(x_1191); -x_1192 = lean_ctor_get(x_1190, 1); -lean_inc(x_1192); -lean_dec(x_1190); -x_1193 = lean_ctor_get(x_1191, 0); -lean_inc(x_1193); -x_1194 = l_Lean_Expr_fvar___override(x_1187); -x_1195 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1193, x_8, x_1194); -x_1196 = lean_ctor_get(x_1191, 1); -lean_inc(x_1196); -x_1197 = lean_ctor_get(x_1191, 2); -lean_inc(x_1197); -x_1198 = lean_ctor_get_uint8(x_1191, sizeof(void*)*6); -x_1199 = lean_ctor_get(x_1191, 3); -lean_inc(x_1199); -x_1200 = lean_ctor_get(x_1191, 4); -lean_inc(x_1200); -x_1201 = lean_ctor_get(x_1191, 5); -lean_inc(x_1201); -lean_dec(x_1191); -x_1202 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1202, 0, x_1195); -lean_ctor_set(x_1202, 1, x_1196); -lean_ctor_set(x_1202, 2, x_1197); -lean_ctor_set(x_1202, 3, x_1199); -lean_ctor_set(x_1202, 4, x_1200); -lean_ctor_set(x_1202, 5, x_1201); -lean_ctor_set_uint8(x_1202, sizeof(void*)*6, x_1198); -x_1203 = lean_st_ref_set(x_13, x_1202, x_1192); -x_1204 = lean_ctor_get(x_1203, 1); -lean_inc(x_1204); -lean_dec(x_1203); -x_1205 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1205, 0, x_1185); -lean_ctor_set(x_1205, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1130); -x_1206 = l_Lean_Compiler_LCNF_Simp_simp(x_1205, x_1130, x_13, x_14, x_15, x_16, x_17, x_1204); -if (lean_obj_tag(x_1206) == 0) -{ -lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; -x_1207 = lean_ctor_get(x_1206, 0); -lean_inc(x_1207); -x_1208 = lean_ctor_get(x_1206, 1); -lean_inc(x_1208); -lean_dec(x_1206); -x_1209 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1148, x_1137, x_1207, x_1130, x_13, x_14, x_15, x_16, x_17, x_1208); -lean_dec(x_13); -lean_dec(x_1130); -return x_1209; -} -else -{ -uint8_t x_1210; -lean_dec(x_1148); -lean_dec(x_1137); -lean_dec(x_1130); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1210 = !lean_is_exclusive(x_1206); -if (x_1210 == 0) -{ -return x_1206; -} -else -{ -lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; -x_1211 = lean_ctor_get(x_1206, 0); -x_1212 = lean_ctor_get(x_1206, 1); -lean_inc(x_1212); -lean_inc(x_1211); -lean_dec(x_1206); -x_1213 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1213, 0, x_1211); -lean_ctor_set(x_1213, 1, x_1212); -return x_1213; -} -} -} -else -{ -uint8_t x_1214; -lean_dec(x_1148); -lean_dec(x_1137); -lean_dec(x_1130); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_1214 = !lean_is_exclusive(x_1184); -if (x_1214 == 0) -{ -return x_1184; -} -else -{ -lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; -x_1215 = lean_ctor_get(x_1184, 0); -x_1216 = lean_ctor_get(x_1184, 1); -lean_inc(x_1216); -lean_inc(x_1215); -lean_dec(x_1184); -x_1217 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1217, 0, x_1215); -lean_ctor_set(x_1217, 1, x_1216); -return x_1217; -} -} -} -} -else -{ -uint8_t x_1218; -lean_dec(x_1137); -lean_dec(x_1130); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_1218 = !lean_is_exclusive(x_1144); -if (x_1218 == 0) -{ -return x_1144; -} -else -{ -lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; -x_1219 = lean_ctor_get(x_1144, 0); -x_1220 = lean_ctor_get(x_1144, 1); -lean_inc(x_1220); -lean_inc(x_1219); -lean_dec(x_1144); -x_1221 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1221, 0, x_1219); -lean_ctor_set(x_1221, 1, x_1220); -return x_1221; -} -} -} -else -{ -lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; -lean_dec(x_5); -lean_dec(x_4); -x_1222 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1138); -x_1223 = lean_ctor_get(x_1222, 1); -lean_inc(x_1223); -lean_dec(x_1222); -x_1224 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_1224, 0, x_1130); -lean_closure_set(x_1224, 1, x_13); -lean_closure_set(x_1224, 2, x_6); -lean_closure_set(x_1224, 3, x_7); -lean_closure_set(x_1224, 4, x_8); -lean_closure_set(x_1224, 5, x_9); -lean_closure_set(x_1224, 6, x_10); -x_1225 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_1137, x_1224, x_14, x_15, x_16, x_17, x_1223); -if (lean_obj_tag(x_1225) == 0) -{ -uint8_t x_1226; -x_1226 = !lean_is_exclusive(x_1225); -if (x_1226 == 0) -{ -lean_object* x_1227; lean_object* x_1228; -x_1227 = lean_ctor_get(x_1225, 0); -x_1228 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1228, 0, x_1227); -lean_ctor_set(x_1225, 0, x_1228); -return x_1225; -} -else -{ -lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; -x_1229 = lean_ctor_get(x_1225, 0); -x_1230 = lean_ctor_get(x_1225, 1); -lean_inc(x_1230); -lean_inc(x_1229); -lean_dec(x_1225); -x_1231 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1231, 0, x_1229); -x_1232 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1232, 0, x_1231); -lean_ctor_set(x_1232, 1, x_1230); -return x_1232; -} -} -else -{ -uint8_t x_1233; -x_1233 = !lean_is_exclusive(x_1225); -if (x_1233 == 0) -{ -return x_1225; -} -else -{ -lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; -x_1234 = lean_ctor_get(x_1225, 0); -x_1235 = lean_ctor_get(x_1225, 1); -lean_inc(x_1235); -lean_inc(x_1234); -lean_dec(x_1225); -x_1236 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1236, 0, x_1234); -lean_ctor_set(x_1236, 1, x_1235); -return x_1236; -} -} -} -} -else -{ -uint8_t x_1237; -lean_dec(x_1130); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1237 = !lean_is_exclusive(x_1136); -if (x_1237 == 0) -{ -return x_1136; -} -else -{ -lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; -x_1238 = lean_ctor_get(x_1136, 0); -x_1239 = lean_ctor_get(x_1136, 1); -lean_inc(x_1239); -lean_inc(x_1238); -lean_dec(x_1136); -x_1240 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1240, 0, x_1238); -lean_ctor_set(x_1240, 1, x_1239); -return x_1240; -} -} -} -} -else -{ -uint8_t x_1260; -lean_dec(x_1130); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1260 = !lean_is_exclusive(x_1132); -if (x_1260 == 0) -{ -return x_1132; -} -else -{ -lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; -x_1261 = lean_ctor_get(x_1132, 0); -x_1262 = lean_ctor_get(x_1132, 1); -lean_inc(x_1262); -lean_inc(x_1261); -lean_dec(x_1132); -x_1263 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1263, 0, x_1261); -lean_ctor_set(x_1263, 1, x_1262); -return x_1263; -} -} -} -case 9: -{ -lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; uint8_t x_1269; lean_object* x_1270; -lean_dec(x_19); -x_1264 = lean_ctor_get(x_12, 3); -x_1265 = lean_ctor_get(x_12, 0); -x_1266 = lean_ctor_get(x_12, 1); -x_1267 = lean_ctor_get(x_12, 2); -lean_inc(x_1264); -lean_inc(x_1267); -lean_inc(x_1266); -lean_inc(x_1265); -x_1268 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1268, 0, x_1265); -lean_ctor_set(x_1268, 1, x_1266); -lean_ctor_set(x_1268, 2, x_1267); -lean_ctor_set(x_1268, 3, x_1264); -x_1269 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_1270 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_1269, x_1268, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_1270) == 0) -{ -lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; uint8_t x_1380; -x_1271 = lean_ctor_get(x_1270, 0); -lean_inc(x_1271); -x_1272 = lean_ctor_get(x_1270, 1); -lean_inc(x_1272); -lean_dec(x_1270); -x_1380 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_1380 == 0) -{ -lean_object* x_1381; -x_1381 = lean_box(0); -x_1273 = x_1381; -goto block_1379; -} -else -{ -uint8_t x_1382; -x_1382 = lean_nat_dec_eq(x_7, x_6); -if (x_1382 == 0) -{ -lean_object* x_1383; -x_1383 = lean_box(0); -x_1273 = x_1383; -goto block_1379; -} -else -{ -lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1384 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1272); -x_1385 = lean_ctor_get(x_1384, 1); -lean_inc(x_1385); -lean_dec(x_1384); -x_1386 = l_Lean_Compiler_LCNF_Simp_simp(x_1271, x_1268, x_13, x_14, x_15, x_16, x_17, x_1385); -if (lean_obj_tag(x_1386) == 0) -{ -uint8_t x_1387; -x_1387 = !lean_is_exclusive(x_1386); -if (x_1387 == 0) -{ -lean_object* x_1388; lean_object* x_1389; -x_1388 = lean_ctor_get(x_1386, 0); -x_1389 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1389, 0, x_1388); -lean_ctor_set(x_1386, 0, x_1389); -return x_1386; -} -else -{ -lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; -x_1390 = lean_ctor_get(x_1386, 0); -x_1391 = lean_ctor_get(x_1386, 1); -lean_inc(x_1391); -lean_inc(x_1390); -lean_dec(x_1386); -x_1392 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1392, 0, x_1390); -x_1393 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1393, 0, x_1392); -lean_ctor_set(x_1393, 1, x_1391); -return x_1393; -} -} -else -{ -uint8_t x_1394; -x_1394 = !lean_is_exclusive(x_1386); -if (x_1394 == 0) -{ -return x_1386; -} -else -{ -lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; -x_1395 = lean_ctor_get(x_1386, 0); -x_1396 = lean_ctor_get(x_1386, 1); -lean_inc(x_1396); -lean_inc(x_1395); -lean_dec(x_1386); -x_1397 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1397, 0, x_1395); -lean_ctor_set(x_1397, 1, x_1396); -return x_1397; -} -} -} -} -block_1379: -{ -lean_object* x_1274; -lean_dec(x_1273); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1268); -x_1274 = l_Lean_Compiler_LCNF_Simp_simp(x_1271, x_1268, x_13, x_14, x_15, x_16, x_17, x_1272); -if (lean_obj_tag(x_1274) == 0) -{ -lean_object* x_1275; lean_object* x_1276; uint8_t x_1277; -x_1275 = lean_ctor_get(x_1274, 0); -lean_inc(x_1275); -x_1276 = lean_ctor_get(x_1274, 1); -lean_inc(x_1276); -lean_dec(x_1274); -lean_inc(x_1275); -x_1277 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_1275); -if (x_1277 == 0) -{ -lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; -x_1278 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1276); -x_1279 = lean_ctor_get(x_1278, 1); -lean_inc(x_1279); -lean_dec(x_1278); -x_1280 = lean_ctor_get(x_5, 2); -lean_inc(x_1280); -lean_dec(x_5); -x_1281 = l_Lean_mkAppN(x_1280, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1282 = l_Lean_Compiler_LCNF_inferType(x_1281, x_14, x_15, x_16, x_17, x_1279); -if (lean_obj_tag(x_1282) == 0) -{ -lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; uint8_t x_1288; -x_1283 = lean_ctor_get(x_1282, 0); -lean_inc(x_1283); -x_1284 = lean_ctor_get(x_1282, 1); -lean_inc(x_1284); -lean_dec(x_1282); -x_1285 = l_Lean_Compiler_LCNF_mkAuxParam(x_1283, x_1269, x_14, x_15, x_16, x_17, x_1284); -x_1286 = lean_ctor_get(x_1285, 0); -lean_inc(x_1286); -x_1287 = lean_ctor_get(x_1285, 1); -lean_inc(x_1287); -lean_dec(x_1285); -x_1288 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_1288 == 0) -{ -lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; uint8_t x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; -lean_dec(x_10); -lean_dec(x_6); -x_1289 = lean_ctor_get(x_1286, 0); -lean_inc(x_1289); -x_1290 = lean_st_ref_get(x_17, x_1287); -x_1291 = lean_ctor_get(x_1290, 1); -lean_inc(x_1291); -lean_dec(x_1290); -x_1292 = lean_st_ref_take(x_13, x_1291); -x_1293 = lean_ctor_get(x_1292, 0); -lean_inc(x_1293); -x_1294 = lean_ctor_get(x_1292, 1); -lean_inc(x_1294); -lean_dec(x_1292); -x_1295 = lean_ctor_get(x_1293, 0); -lean_inc(x_1295); -x_1296 = l_Lean_Expr_fvar___override(x_1289); -x_1297 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1295, x_8, x_1296); -x_1298 = lean_ctor_get(x_1293, 1); -lean_inc(x_1298); -x_1299 = lean_ctor_get(x_1293, 2); -lean_inc(x_1299); -x_1300 = lean_ctor_get_uint8(x_1293, sizeof(void*)*6); -x_1301 = lean_ctor_get(x_1293, 3); -lean_inc(x_1301); -x_1302 = lean_ctor_get(x_1293, 4); -lean_inc(x_1302); -x_1303 = lean_ctor_get(x_1293, 5); -lean_inc(x_1303); -lean_dec(x_1293); -x_1304 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1304, 0, x_1297); -lean_ctor_set(x_1304, 1, x_1298); -lean_ctor_set(x_1304, 2, x_1299); -lean_ctor_set(x_1304, 3, x_1301); -lean_ctor_set(x_1304, 4, x_1302); -lean_ctor_set(x_1304, 5, x_1303); -lean_ctor_set_uint8(x_1304, sizeof(void*)*6, x_1300); -x_1305 = lean_st_ref_set(x_13, x_1304, x_1294); -x_1306 = lean_ctor_get(x_1305, 1); -lean_inc(x_1306); -lean_dec(x_1305); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1268); -x_1307 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_1268, x_13, x_14, x_15, x_16, x_17, x_1306); -if (lean_obj_tag(x_1307) == 0) -{ -lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; -x_1308 = lean_ctor_get(x_1307, 0); -lean_inc(x_1308); -x_1309 = lean_ctor_get(x_1307, 1); -lean_inc(x_1309); -lean_dec(x_1307); -x_1310 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1286, x_1275, x_1308, x_1268, x_13, x_14, x_15, x_16, x_17, x_1309); -lean_dec(x_13); -lean_dec(x_1268); -return x_1310; -} -else -{ -uint8_t x_1311; -lean_dec(x_1286); -lean_dec(x_1275); -lean_dec(x_1268); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1311 = !lean_is_exclusive(x_1307); -if (x_1311 == 0) -{ -return x_1307; -} -else -{ -lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; -x_1312 = lean_ctor_get(x_1307, 0); -x_1313 = lean_ctor_get(x_1307, 1); -lean_inc(x_1313); -lean_inc(x_1312); -lean_dec(x_1307); -x_1314 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1314, 0, x_1312); -lean_ctor_set(x_1314, 1, x_1313); -return x_1314; -} -} -} -else -{ -lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; -x_1315 = lean_ctor_get(x_1286, 0); -lean_inc(x_1315); -x_1316 = l_Lean_Expr_fvar___override(x_1315); -x_1317 = lean_array_get_size(x_10); -x_1318 = l_Array_toSubarray___rarg(x_10, x_6, x_1317); -x_1319 = l_Array_ofSubarray___rarg(x_1318); -x_1320 = l_Lean_mkAppN(x_1316, x_1319); -x_1321 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1322 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_1320, x_1321, x_14, x_15, x_16, x_17, x_1287); -if (lean_obj_tag(x_1322) == 0) -{ -lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; uint8_t x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; -x_1323 = lean_ctor_get(x_1322, 0); -lean_inc(x_1323); -x_1324 = lean_ctor_get(x_1322, 1); -lean_inc(x_1324); -lean_dec(x_1322); -x_1325 = lean_ctor_get(x_1323, 0); -lean_inc(x_1325); -x_1326 = lean_st_ref_get(x_17, x_1324); -x_1327 = lean_ctor_get(x_1326, 1); -lean_inc(x_1327); -lean_dec(x_1326); -x_1328 = lean_st_ref_take(x_13, x_1327); -x_1329 = lean_ctor_get(x_1328, 0); -lean_inc(x_1329); -x_1330 = lean_ctor_get(x_1328, 1); -lean_inc(x_1330); -lean_dec(x_1328); -x_1331 = lean_ctor_get(x_1329, 0); -lean_inc(x_1331); -x_1332 = l_Lean_Expr_fvar___override(x_1325); -x_1333 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1331, x_8, x_1332); -x_1334 = lean_ctor_get(x_1329, 1); -lean_inc(x_1334); -x_1335 = lean_ctor_get(x_1329, 2); -lean_inc(x_1335); -x_1336 = lean_ctor_get_uint8(x_1329, sizeof(void*)*6); -x_1337 = lean_ctor_get(x_1329, 3); -lean_inc(x_1337); -x_1338 = lean_ctor_get(x_1329, 4); -lean_inc(x_1338); -x_1339 = lean_ctor_get(x_1329, 5); -lean_inc(x_1339); -lean_dec(x_1329); -x_1340 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1340, 0, x_1333); -lean_ctor_set(x_1340, 1, x_1334); -lean_ctor_set(x_1340, 2, x_1335); -lean_ctor_set(x_1340, 3, x_1337); -lean_ctor_set(x_1340, 4, x_1338); -lean_ctor_set(x_1340, 5, x_1339); -lean_ctor_set_uint8(x_1340, sizeof(void*)*6, x_1336); -x_1341 = lean_st_ref_set(x_13, x_1340, x_1330); -x_1342 = lean_ctor_get(x_1341, 1); -lean_inc(x_1342); -lean_dec(x_1341); -x_1343 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1343, 0, x_1323); -lean_ctor_set(x_1343, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1268); -x_1344 = l_Lean_Compiler_LCNF_Simp_simp(x_1343, x_1268, x_13, x_14, x_15, x_16, x_17, x_1342); -if (lean_obj_tag(x_1344) == 0) -{ -lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; -x_1345 = lean_ctor_get(x_1344, 0); -lean_inc(x_1345); -x_1346 = lean_ctor_get(x_1344, 1); -lean_inc(x_1346); -lean_dec(x_1344); -x_1347 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1286, x_1275, x_1345, x_1268, x_13, x_14, x_15, x_16, x_17, x_1346); -lean_dec(x_13); -lean_dec(x_1268); -return x_1347; -} -else -{ -uint8_t x_1348; -lean_dec(x_1286); -lean_dec(x_1275); -lean_dec(x_1268); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1348 = !lean_is_exclusive(x_1344); -if (x_1348 == 0) -{ -return x_1344; -} -else -{ -lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; -x_1349 = lean_ctor_get(x_1344, 0); -x_1350 = lean_ctor_get(x_1344, 1); -lean_inc(x_1350); -lean_inc(x_1349); -lean_dec(x_1344); -x_1351 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1351, 0, x_1349); -lean_ctor_set(x_1351, 1, x_1350); -return x_1351; -} -} -} -else -{ -uint8_t x_1352; -lean_dec(x_1286); -lean_dec(x_1275); -lean_dec(x_1268); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_1352 = !lean_is_exclusive(x_1322); -if (x_1352 == 0) -{ -return x_1322; -} -else -{ -lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; -x_1353 = lean_ctor_get(x_1322, 0); -x_1354 = lean_ctor_get(x_1322, 1); -lean_inc(x_1354); -lean_inc(x_1353); -lean_dec(x_1322); -x_1355 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1355, 0, x_1353); -lean_ctor_set(x_1355, 1, x_1354); -return x_1355; -} -} -} -} -else -{ -uint8_t x_1356; -lean_dec(x_1275); -lean_dec(x_1268); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_1356 = !lean_is_exclusive(x_1282); -if (x_1356 == 0) -{ -return x_1282; -} -else -{ -lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; -x_1357 = lean_ctor_get(x_1282, 0); -x_1358 = lean_ctor_get(x_1282, 1); -lean_inc(x_1358); -lean_inc(x_1357); -lean_dec(x_1282); -x_1359 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1359, 0, x_1357); -lean_ctor_set(x_1359, 1, x_1358); -return x_1359; -} -} -} -else -{ -lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; -lean_dec(x_5); -lean_dec(x_4); -x_1360 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1276); -x_1361 = lean_ctor_get(x_1360, 1); -lean_inc(x_1361); -lean_dec(x_1360); -x_1362 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_1362, 0, x_1268); -lean_closure_set(x_1362, 1, x_13); -lean_closure_set(x_1362, 2, x_6); -lean_closure_set(x_1362, 3, x_7); -lean_closure_set(x_1362, 4, x_8); -lean_closure_set(x_1362, 5, x_9); -lean_closure_set(x_1362, 6, x_10); -x_1363 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_1275, x_1362, x_14, x_15, x_16, x_17, x_1361); -if (lean_obj_tag(x_1363) == 0) -{ -uint8_t x_1364; -x_1364 = !lean_is_exclusive(x_1363); -if (x_1364 == 0) -{ -lean_object* x_1365; lean_object* x_1366; -x_1365 = lean_ctor_get(x_1363, 0); -x_1366 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1366, 0, x_1365); -lean_ctor_set(x_1363, 0, x_1366); -return x_1363; -} -else -{ -lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; -x_1367 = lean_ctor_get(x_1363, 0); -x_1368 = lean_ctor_get(x_1363, 1); -lean_inc(x_1368); -lean_inc(x_1367); -lean_dec(x_1363); -x_1369 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1369, 0, x_1367); -x_1370 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1370, 0, x_1369); -lean_ctor_set(x_1370, 1, x_1368); -return x_1370; -} -} -else -{ -uint8_t x_1371; -x_1371 = !lean_is_exclusive(x_1363); -if (x_1371 == 0) -{ -return x_1363; -} -else -{ -lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; -x_1372 = lean_ctor_get(x_1363, 0); -x_1373 = lean_ctor_get(x_1363, 1); -lean_inc(x_1373); -lean_inc(x_1372); -lean_dec(x_1363); -x_1374 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1374, 0, x_1372); -lean_ctor_set(x_1374, 1, x_1373); -return x_1374; -} -} -} -} -else -{ -uint8_t x_1375; -lean_dec(x_1268); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1375 = !lean_is_exclusive(x_1274); -if (x_1375 == 0) -{ -return x_1274; -} -else -{ -lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; -x_1376 = lean_ctor_get(x_1274, 0); -x_1377 = lean_ctor_get(x_1274, 1); -lean_inc(x_1377); -lean_inc(x_1376); -lean_dec(x_1274); -x_1378 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1378, 0, x_1376); -lean_ctor_set(x_1378, 1, x_1377); -return x_1378; -} -} -} -} -else -{ -uint8_t x_1398; -lean_dec(x_1268); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1398 = !lean_is_exclusive(x_1270); -if (x_1398 == 0) -{ -return x_1270; -} -else -{ -lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; -x_1399 = lean_ctor_get(x_1270, 0); -x_1400 = lean_ctor_get(x_1270, 1); -lean_inc(x_1400); -lean_inc(x_1399); -lean_dec(x_1270); -x_1401 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1401, 0, x_1399); -lean_ctor_set(x_1401, 1, x_1400); -return x_1401; -} -} -} -case 10: -{ -lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; uint8_t x_1407; lean_object* x_1408; -lean_dec(x_19); -x_1402 = lean_ctor_get(x_12, 3); -x_1403 = lean_ctor_get(x_12, 0); -x_1404 = lean_ctor_get(x_12, 1); -x_1405 = lean_ctor_get(x_12, 2); -lean_inc(x_1402); -lean_inc(x_1405); -lean_inc(x_1404); -lean_inc(x_1403); -x_1406 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1406, 0, x_1403); -lean_ctor_set(x_1406, 1, x_1404); -lean_ctor_set(x_1406, 2, x_1405); -lean_ctor_set(x_1406, 3, x_1402); -x_1407 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_1408 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_1407, x_1406, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_1408) == 0) -{ -lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; uint8_t x_1518; -x_1409 = lean_ctor_get(x_1408, 0); -lean_inc(x_1409); -x_1410 = lean_ctor_get(x_1408, 1); -lean_inc(x_1410); -lean_dec(x_1408); -x_1518 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_1518 == 0) -{ -lean_object* x_1519; -x_1519 = lean_box(0); -x_1411 = x_1519; -goto block_1517; -} -else -{ -uint8_t x_1520; -x_1520 = lean_nat_dec_eq(x_7, x_6); -if (x_1520 == 0) -{ -lean_object* x_1521; -x_1521 = lean_box(0); -x_1411 = x_1521; -goto block_1517; -} -else -{ -lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1522 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1410); -x_1523 = lean_ctor_get(x_1522, 1); -lean_inc(x_1523); -lean_dec(x_1522); -x_1524 = l_Lean_Compiler_LCNF_Simp_simp(x_1409, x_1406, x_13, x_14, x_15, x_16, x_17, x_1523); -if (lean_obj_tag(x_1524) == 0) -{ -uint8_t x_1525; -x_1525 = !lean_is_exclusive(x_1524); -if (x_1525 == 0) -{ -lean_object* x_1526; lean_object* x_1527; -x_1526 = lean_ctor_get(x_1524, 0); -x_1527 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1527, 0, x_1526); -lean_ctor_set(x_1524, 0, x_1527); -return x_1524; -} -else -{ -lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; -x_1528 = lean_ctor_get(x_1524, 0); -x_1529 = lean_ctor_get(x_1524, 1); -lean_inc(x_1529); -lean_inc(x_1528); -lean_dec(x_1524); -x_1530 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1530, 0, x_1528); -x_1531 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1531, 0, x_1530); -lean_ctor_set(x_1531, 1, x_1529); -return x_1531; -} -} -else -{ -uint8_t x_1532; -x_1532 = !lean_is_exclusive(x_1524); -if (x_1532 == 0) -{ -return x_1524; -} -else -{ -lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; -x_1533 = lean_ctor_get(x_1524, 0); -x_1534 = lean_ctor_get(x_1524, 1); -lean_inc(x_1534); -lean_inc(x_1533); -lean_dec(x_1524); -x_1535 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1535, 0, x_1533); -lean_ctor_set(x_1535, 1, x_1534); -return x_1535; -} -} -} -} -block_1517: -{ -lean_object* x_1412; -lean_dec(x_1411); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1406); -x_1412 = l_Lean_Compiler_LCNF_Simp_simp(x_1409, x_1406, x_13, x_14, x_15, x_16, x_17, x_1410); -if (lean_obj_tag(x_1412) == 0) -{ -lean_object* x_1413; lean_object* x_1414; uint8_t x_1415; -x_1413 = lean_ctor_get(x_1412, 0); -lean_inc(x_1413); -x_1414 = lean_ctor_get(x_1412, 1); -lean_inc(x_1414); -lean_dec(x_1412); -lean_inc(x_1413); -x_1415 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_1413); -if (x_1415 == 0) -{ -lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; -x_1416 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1414); -x_1417 = lean_ctor_get(x_1416, 1); -lean_inc(x_1417); -lean_dec(x_1416); -x_1418 = lean_ctor_get(x_5, 2); -lean_inc(x_1418); -lean_dec(x_5); -x_1419 = l_Lean_mkAppN(x_1418, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1420 = l_Lean_Compiler_LCNF_inferType(x_1419, x_14, x_15, x_16, x_17, x_1417); -if (lean_obj_tag(x_1420) == 0) -{ -lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; uint8_t x_1426; -x_1421 = lean_ctor_get(x_1420, 0); -lean_inc(x_1421); -x_1422 = lean_ctor_get(x_1420, 1); -lean_inc(x_1422); -lean_dec(x_1420); -x_1423 = l_Lean_Compiler_LCNF_mkAuxParam(x_1421, x_1407, x_14, x_15, x_16, x_17, x_1422); -x_1424 = lean_ctor_get(x_1423, 0); -lean_inc(x_1424); -x_1425 = lean_ctor_get(x_1423, 1); -lean_inc(x_1425); -lean_dec(x_1423); -x_1426 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_1426 == 0) -{ -lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; uint8_t x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; -lean_dec(x_10); -lean_dec(x_6); -x_1427 = lean_ctor_get(x_1424, 0); -lean_inc(x_1427); -x_1428 = lean_st_ref_get(x_17, x_1425); -x_1429 = lean_ctor_get(x_1428, 1); -lean_inc(x_1429); -lean_dec(x_1428); -x_1430 = lean_st_ref_take(x_13, x_1429); -x_1431 = lean_ctor_get(x_1430, 0); -lean_inc(x_1431); -x_1432 = lean_ctor_get(x_1430, 1); -lean_inc(x_1432); -lean_dec(x_1430); -x_1433 = lean_ctor_get(x_1431, 0); -lean_inc(x_1433); -x_1434 = l_Lean_Expr_fvar___override(x_1427); -x_1435 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1433, x_8, x_1434); -x_1436 = lean_ctor_get(x_1431, 1); -lean_inc(x_1436); -x_1437 = lean_ctor_get(x_1431, 2); -lean_inc(x_1437); -x_1438 = lean_ctor_get_uint8(x_1431, sizeof(void*)*6); -x_1439 = lean_ctor_get(x_1431, 3); -lean_inc(x_1439); -x_1440 = lean_ctor_get(x_1431, 4); -lean_inc(x_1440); -x_1441 = lean_ctor_get(x_1431, 5); -lean_inc(x_1441); -lean_dec(x_1431); -x_1442 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1442, 0, x_1435); -lean_ctor_set(x_1442, 1, x_1436); -lean_ctor_set(x_1442, 2, x_1437); -lean_ctor_set(x_1442, 3, x_1439); -lean_ctor_set(x_1442, 4, x_1440); -lean_ctor_set(x_1442, 5, x_1441); -lean_ctor_set_uint8(x_1442, sizeof(void*)*6, x_1438); -x_1443 = lean_st_ref_set(x_13, x_1442, x_1432); -x_1444 = lean_ctor_get(x_1443, 1); -lean_inc(x_1444); -lean_dec(x_1443); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1406); -x_1445 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_1406, x_13, x_14, x_15, x_16, x_17, x_1444); -if (lean_obj_tag(x_1445) == 0) -{ -lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; -x_1446 = lean_ctor_get(x_1445, 0); -lean_inc(x_1446); -x_1447 = lean_ctor_get(x_1445, 1); -lean_inc(x_1447); -lean_dec(x_1445); -x_1448 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1424, x_1413, x_1446, x_1406, x_13, x_14, x_15, x_16, x_17, x_1447); -lean_dec(x_13); -lean_dec(x_1406); -return x_1448; -} -else -{ -uint8_t x_1449; -lean_dec(x_1424); -lean_dec(x_1413); -lean_dec(x_1406); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1449 = !lean_is_exclusive(x_1445); -if (x_1449 == 0) -{ -return x_1445; -} -else -{ -lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; -x_1450 = lean_ctor_get(x_1445, 0); -x_1451 = lean_ctor_get(x_1445, 1); -lean_inc(x_1451); -lean_inc(x_1450); -lean_dec(x_1445); -x_1452 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1452, 0, x_1450); -lean_ctor_set(x_1452, 1, x_1451); -return x_1452; -} -} -} -else -{ -lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; -x_1453 = lean_ctor_get(x_1424, 0); -lean_inc(x_1453); -x_1454 = l_Lean_Expr_fvar___override(x_1453); -x_1455 = lean_array_get_size(x_10); -x_1456 = l_Array_toSubarray___rarg(x_10, x_6, x_1455); -x_1457 = l_Array_ofSubarray___rarg(x_1456); -x_1458 = l_Lean_mkAppN(x_1454, x_1457); -x_1459 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1460 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_1458, x_1459, x_14, x_15, x_16, x_17, x_1425); -if (lean_obj_tag(x_1460) == 0) -{ -lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; uint8_t x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; -x_1461 = lean_ctor_get(x_1460, 0); -lean_inc(x_1461); -x_1462 = lean_ctor_get(x_1460, 1); -lean_inc(x_1462); -lean_dec(x_1460); -x_1463 = lean_ctor_get(x_1461, 0); -lean_inc(x_1463); -x_1464 = lean_st_ref_get(x_17, x_1462); -x_1465 = lean_ctor_get(x_1464, 1); -lean_inc(x_1465); -lean_dec(x_1464); -x_1466 = lean_st_ref_take(x_13, x_1465); -x_1467 = lean_ctor_get(x_1466, 0); -lean_inc(x_1467); -x_1468 = lean_ctor_get(x_1466, 1); -lean_inc(x_1468); -lean_dec(x_1466); -x_1469 = lean_ctor_get(x_1467, 0); -lean_inc(x_1469); -x_1470 = l_Lean_Expr_fvar___override(x_1463); -x_1471 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1469, x_8, x_1470); -x_1472 = lean_ctor_get(x_1467, 1); -lean_inc(x_1472); -x_1473 = lean_ctor_get(x_1467, 2); -lean_inc(x_1473); -x_1474 = lean_ctor_get_uint8(x_1467, sizeof(void*)*6); -x_1475 = lean_ctor_get(x_1467, 3); -lean_inc(x_1475); -x_1476 = lean_ctor_get(x_1467, 4); -lean_inc(x_1476); -x_1477 = lean_ctor_get(x_1467, 5); -lean_inc(x_1477); -lean_dec(x_1467); -x_1478 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1478, 0, x_1471); -lean_ctor_set(x_1478, 1, x_1472); -lean_ctor_set(x_1478, 2, x_1473); -lean_ctor_set(x_1478, 3, x_1475); -lean_ctor_set(x_1478, 4, x_1476); -lean_ctor_set(x_1478, 5, x_1477); -lean_ctor_set_uint8(x_1478, sizeof(void*)*6, x_1474); -x_1479 = lean_st_ref_set(x_13, x_1478, x_1468); -x_1480 = lean_ctor_get(x_1479, 1); -lean_inc(x_1480); -lean_dec(x_1479); -x_1481 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1481, 0, x_1461); -lean_ctor_set(x_1481, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1406); -x_1482 = l_Lean_Compiler_LCNF_Simp_simp(x_1481, x_1406, x_13, x_14, x_15, x_16, x_17, x_1480); -if (lean_obj_tag(x_1482) == 0) -{ -lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; -x_1483 = lean_ctor_get(x_1482, 0); -lean_inc(x_1483); -x_1484 = lean_ctor_get(x_1482, 1); -lean_inc(x_1484); -lean_dec(x_1482); -x_1485 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1424, x_1413, x_1483, x_1406, x_13, x_14, x_15, x_16, x_17, x_1484); -lean_dec(x_13); -lean_dec(x_1406); -return x_1485; -} -else -{ -uint8_t x_1486; -lean_dec(x_1424); -lean_dec(x_1413); -lean_dec(x_1406); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1486 = !lean_is_exclusive(x_1482); -if (x_1486 == 0) -{ -return x_1482; -} -else -{ -lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; -x_1487 = lean_ctor_get(x_1482, 0); -x_1488 = lean_ctor_get(x_1482, 1); -lean_inc(x_1488); -lean_inc(x_1487); -lean_dec(x_1482); -x_1489 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1489, 0, x_1487); -lean_ctor_set(x_1489, 1, x_1488); -return x_1489; -} -} -} -else -{ -uint8_t x_1490; -lean_dec(x_1424); -lean_dec(x_1413); -lean_dec(x_1406); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_1490 = !lean_is_exclusive(x_1460); -if (x_1490 == 0) -{ -return x_1460; -} -else -{ -lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; -x_1491 = lean_ctor_get(x_1460, 0); -x_1492 = lean_ctor_get(x_1460, 1); -lean_inc(x_1492); -lean_inc(x_1491); -lean_dec(x_1460); -x_1493 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1493, 0, x_1491); -lean_ctor_set(x_1493, 1, x_1492); -return x_1493; -} -} -} -} -else -{ -uint8_t x_1494; -lean_dec(x_1413); -lean_dec(x_1406); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_1494 = !lean_is_exclusive(x_1420); -if (x_1494 == 0) -{ -return x_1420; -} -else -{ -lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; -x_1495 = lean_ctor_get(x_1420, 0); -x_1496 = lean_ctor_get(x_1420, 1); -lean_inc(x_1496); -lean_inc(x_1495); -lean_dec(x_1420); -x_1497 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1497, 0, x_1495); -lean_ctor_set(x_1497, 1, x_1496); -return x_1497; -} -} -} -else -{ -lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; -lean_dec(x_5); -lean_dec(x_4); -x_1498 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1414); -x_1499 = lean_ctor_get(x_1498, 1); -lean_inc(x_1499); -lean_dec(x_1498); -x_1500 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_1500, 0, x_1406); -lean_closure_set(x_1500, 1, x_13); -lean_closure_set(x_1500, 2, x_6); -lean_closure_set(x_1500, 3, x_7); -lean_closure_set(x_1500, 4, x_8); -lean_closure_set(x_1500, 5, x_9); -lean_closure_set(x_1500, 6, x_10); -x_1501 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_1413, x_1500, x_14, x_15, x_16, x_17, x_1499); -if (lean_obj_tag(x_1501) == 0) -{ -uint8_t x_1502; -x_1502 = !lean_is_exclusive(x_1501); -if (x_1502 == 0) -{ -lean_object* x_1503; lean_object* x_1504; -x_1503 = lean_ctor_get(x_1501, 0); -x_1504 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1504, 0, x_1503); -lean_ctor_set(x_1501, 0, x_1504); -return x_1501; -} -else -{ -lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; -x_1505 = lean_ctor_get(x_1501, 0); -x_1506 = lean_ctor_get(x_1501, 1); -lean_inc(x_1506); -lean_inc(x_1505); -lean_dec(x_1501); -x_1507 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1507, 0, x_1505); -x_1508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1508, 0, x_1507); -lean_ctor_set(x_1508, 1, x_1506); -return x_1508; -} -} -else -{ -uint8_t x_1509; -x_1509 = !lean_is_exclusive(x_1501); -if (x_1509 == 0) -{ -return x_1501; -} -else -{ -lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; -x_1510 = lean_ctor_get(x_1501, 0); -x_1511 = lean_ctor_get(x_1501, 1); -lean_inc(x_1511); -lean_inc(x_1510); -lean_dec(x_1501); -x_1512 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1512, 0, x_1510); -lean_ctor_set(x_1512, 1, x_1511); -return x_1512; -} -} -} -} -else -{ -uint8_t x_1513; -lean_dec(x_1406); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1513 = !lean_is_exclusive(x_1412); -if (x_1513 == 0) -{ -return x_1412; -} -else -{ -lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; -x_1514 = lean_ctor_get(x_1412, 0); -x_1515 = lean_ctor_get(x_1412, 1); -lean_inc(x_1515); -lean_inc(x_1514); -lean_dec(x_1412); -x_1516 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1516, 0, x_1514); -lean_ctor_set(x_1516, 1, x_1515); -return x_1516; -} -} -} -} -else -{ -uint8_t x_1536; -lean_dec(x_1406); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1536 = !lean_is_exclusive(x_1408); -if (x_1536 == 0) -{ -return x_1408; -} -else -{ -lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; -x_1537 = lean_ctor_get(x_1408, 0); -x_1538 = lean_ctor_get(x_1408, 1); -lean_inc(x_1538); -lean_inc(x_1537); -lean_dec(x_1408); -x_1539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1539, 0, x_1537); -lean_ctor_set(x_1539, 1, x_1538); -return x_1539; -} -} -} -default: -{ -lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; uint8_t x_1545; lean_object* x_1546; -lean_dec(x_19); -x_1540 = lean_ctor_get(x_12, 3); -x_1541 = lean_ctor_get(x_12, 0); -x_1542 = lean_ctor_get(x_12, 1); -x_1543 = lean_ctor_get(x_12, 2); -lean_inc(x_1540); -lean_inc(x_1543); -lean_inc(x_1542); -lean_inc(x_1541); -x_1544 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_1544, 0, x_1541); -lean_ctor_set(x_1544, 1, x_1542); -lean_ctor_set(x_1544, 2, x_1543); -lean_ctor_set(x_1544, 3, x_1540); -x_1545 = 0; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_4); -x_1546 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_2, x_3, x_4, x_1545, x_1544, x_13, x_14, x_15, x_16, x_17, x_18); -lean_dec(x_2); -if (lean_obj_tag(x_1546) == 0) -{ -lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; uint8_t x_1656; -x_1547 = lean_ctor_get(x_1546, 0); -lean_inc(x_1547); -x_1548 = lean_ctor_get(x_1546, 1); -lean_inc(x_1548); -lean_dec(x_1546); -x_1656 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_9, x_8); -if (x_1656 == 0) -{ -lean_object* x_1657; -x_1657 = lean_box(0); -x_1549 = x_1657; -goto block_1655; -} -else -{ -uint8_t x_1658; -x_1658 = lean_nat_dec_eq(x_7, x_6); -if (x_1658 == 0) -{ -lean_object* x_1659; -x_1659 = lean_box(0); -x_1549 = x_1659; -goto block_1655; -} -else -{ -lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1660 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1548); -x_1661 = lean_ctor_get(x_1660, 1); -lean_inc(x_1661); -lean_dec(x_1660); -x_1662 = l_Lean_Compiler_LCNF_Simp_simp(x_1547, x_1544, x_13, x_14, x_15, x_16, x_17, x_1661); -if (lean_obj_tag(x_1662) == 0) -{ -uint8_t x_1663; -x_1663 = !lean_is_exclusive(x_1662); -if (x_1663 == 0) -{ -lean_object* x_1664; lean_object* x_1665; -x_1664 = lean_ctor_get(x_1662, 0); -x_1665 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1665, 0, x_1664); -lean_ctor_set(x_1662, 0, x_1665); -return x_1662; -} -else -{ -lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; lean_object* x_1669; -x_1666 = lean_ctor_get(x_1662, 0); -x_1667 = lean_ctor_get(x_1662, 1); -lean_inc(x_1667); -lean_inc(x_1666); -lean_dec(x_1662); -x_1668 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1668, 0, x_1666); -x_1669 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1669, 0, x_1668); -lean_ctor_set(x_1669, 1, x_1667); -return x_1669; -} -} -else -{ -uint8_t x_1670; -x_1670 = !lean_is_exclusive(x_1662); -if (x_1670 == 0) -{ -return x_1662; -} -else -{ -lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; -x_1671 = lean_ctor_get(x_1662, 0); -x_1672 = lean_ctor_get(x_1662, 1); -lean_inc(x_1672); -lean_inc(x_1671); -lean_dec(x_1662); -x_1673 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1673, 0, x_1671); -lean_ctor_set(x_1673, 1, x_1672); -return x_1673; -} -} -} -} -block_1655: -{ -lean_object* x_1550; -lean_dec(x_1549); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1544); -x_1550 = l_Lean_Compiler_LCNF_Simp_simp(x_1547, x_1544, x_13, x_14, x_15, x_16, x_17, x_1548); -if (lean_obj_tag(x_1550) == 0) -{ -lean_object* x_1551; lean_object* x_1552; uint8_t x_1553; -x_1551 = lean_ctor_get(x_1550, 0); -lean_inc(x_1551); -x_1552 = lean_ctor_get(x_1550, 1); -lean_inc(x_1552); -lean_dec(x_1550); -lean_inc(x_1551); -x_1553 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_1551); -if (x_1553 == 0) -{ -lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; -x_1554 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1552); -x_1555 = lean_ctor_get(x_1554, 1); -lean_inc(x_1555); -lean_dec(x_1554); -x_1556 = lean_ctor_get(x_5, 2); -lean_inc(x_1556); -lean_dec(x_5); -x_1557 = l_Lean_mkAppN(x_1556, x_4); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1558 = l_Lean_Compiler_LCNF_inferType(x_1557, x_14, x_15, x_16, x_17, x_1555); -if (lean_obj_tag(x_1558) == 0) -{ -lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; uint8_t x_1564; -x_1559 = lean_ctor_get(x_1558, 0); -lean_inc(x_1559); -x_1560 = lean_ctor_get(x_1558, 1); -lean_inc(x_1560); -lean_dec(x_1558); -x_1561 = l_Lean_Compiler_LCNF_mkAuxParam(x_1559, x_1545, x_14, x_15, x_16, x_17, x_1560); -x_1562 = lean_ctor_get(x_1561, 0); -lean_inc(x_1562); -x_1563 = lean_ctor_get(x_1561, 1); -lean_inc(x_1563); -lean_dec(x_1561); -x_1564 = lean_nat_dec_lt(x_6, x_7); -lean_dec(x_7); -if (x_1564 == 0) -{ -lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; uint8_t x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; -lean_dec(x_10); -lean_dec(x_6); -x_1565 = lean_ctor_get(x_1562, 0); -lean_inc(x_1565); -x_1566 = lean_st_ref_get(x_17, x_1563); -x_1567 = lean_ctor_get(x_1566, 1); -lean_inc(x_1567); -lean_dec(x_1566); -x_1568 = lean_st_ref_take(x_13, x_1567); -x_1569 = lean_ctor_get(x_1568, 0); -lean_inc(x_1569); -x_1570 = lean_ctor_get(x_1568, 1); -lean_inc(x_1570); -lean_dec(x_1568); -x_1571 = lean_ctor_get(x_1569, 0); -lean_inc(x_1571); -x_1572 = l_Lean_Expr_fvar___override(x_1565); -x_1573 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1571, x_8, x_1572); -x_1574 = lean_ctor_get(x_1569, 1); -lean_inc(x_1574); -x_1575 = lean_ctor_get(x_1569, 2); -lean_inc(x_1575); -x_1576 = lean_ctor_get_uint8(x_1569, sizeof(void*)*6); -x_1577 = lean_ctor_get(x_1569, 3); -lean_inc(x_1577); -x_1578 = lean_ctor_get(x_1569, 4); -lean_inc(x_1578); -x_1579 = lean_ctor_get(x_1569, 5); -lean_inc(x_1579); -lean_dec(x_1569); -x_1580 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1580, 0, x_1573); -lean_ctor_set(x_1580, 1, x_1574); -lean_ctor_set(x_1580, 2, x_1575); -lean_ctor_set(x_1580, 3, x_1577); -lean_ctor_set(x_1580, 4, x_1578); -lean_ctor_set(x_1580, 5, x_1579); -lean_ctor_set_uint8(x_1580, sizeof(void*)*6, x_1576); -x_1581 = lean_st_ref_set(x_13, x_1580, x_1570); -x_1582 = lean_ctor_get(x_1581, 1); -lean_inc(x_1582); -lean_dec(x_1581); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1544); -x_1583 = l_Lean_Compiler_LCNF_Simp_simp(x_9, x_1544, x_13, x_14, x_15, x_16, x_17, x_1582); -if (lean_obj_tag(x_1583) == 0) -{ -lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; -x_1584 = lean_ctor_get(x_1583, 0); -lean_inc(x_1584); -x_1585 = lean_ctor_get(x_1583, 1); -lean_inc(x_1585); -lean_dec(x_1583); -x_1586 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1562, x_1551, x_1584, x_1544, x_13, x_14, x_15, x_16, x_17, x_1585); -lean_dec(x_13); -lean_dec(x_1544); -return x_1586; -} -else -{ -uint8_t x_1587; -lean_dec(x_1562); -lean_dec(x_1551); -lean_dec(x_1544); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1587 = !lean_is_exclusive(x_1583); -if (x_1587 == 0) -{ -return x_1583; -} -else -{ -lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; -x_1588 = lean_ctor_get(x_1583, 0); -x_1589 = lean_ctor_get(x_1583, 1); -lean_inc(x_1589); -lean_inc(x_1588); -lean_dec(x_1583); -x_1590 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1590, 0, x_1588); -lean_ctor_set(x_1590, 1, x_1589); -return x_1590; -} -} -} -else -{ -lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; -x_1591 = lean_ctor_get(x_1562, 0); -lean_inc(x_1591); -x_1592 = l_Lean_Expr_fvar___override(x_1591); -x_1593 = lean_array_get_size(x_10); -x_1594 = l_Array_toSubarray___rarg(x_10, x_6, x_1593); -x_1595 = l_Array_ofSubarray___rarg(x_1594); -x_1596 = l_Lean_mkAppN(x_1592, x_1595); -x_1597 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_1598 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_1596, x_1597, x_14, x_15, x_16, x_17, x_1563); -if (lean_obj_tag(x_1598) == 0) -{ -lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; uint8_t x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; -x_1599 = lean_ctor_get(x_1598, 0); -lean_inc(x_1599); -x_1600 = lean_ctor_get(x_1598, 1); -lean_inc(x_1600); -lean_dec(x_1598); -x_1601 = lean_ctor_get(x_1599, 0); -lean_inc(x_1601); -x_1602 = lean_st_ref_get(x_17, x_1600); -x_1603 = lean_ctor_get(x_1602, 1); -lean_inc(x_1603); -lean_dec(x_1602); -x_1604 = lean_st_ref_take(x_13, x_1603); -x_1605 = lean_ctor_get(x_1604, 0); -lean_inc(x_1605); -x_1606 = lean_ctor_get(x_1604, 1); -lean_inc(x_1606); -lean_dec(x_1604); -x_1607 = lean_ctor_get(x_1605, 0); -lean_inc(x_1607); -x_1608 = l_Lean_Expr_fvar___override(x_1601); -x_1609 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_1607, x_8, x_1608); -x_1610 = lean_ctor_get(x_1605, 1); -lean_inc(x_1610); -x_1611 = lean_ctor_get(x_1605, 2); -lean_inc(x_1611); -x_1612 = lean_ctor_get_uint8(x_1605, sizeof(void*)*6); -x_1613 = lean_ctor_get(x_1605, 3); -lean_inc(x_1613); -x_1614 = lean_ctor_get(x_1605, 4); -lean_inc(x_1614); -x_1615 = lean_ctor_get(x_1605, 5); -lean_inc(x_1615); -lean_dec(x_1605); -x_1616 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_1616, 0, x_1609); -lean_ctor_set(x_1616, 1, x_1610); -lean_ctor_set(x_1616, 2, x_1611); -lean_ctor_set(x_1616, 3, x_1613); -lean_ctor_set(x_1616, 4, x_1614); -lean_ctor_set(x_1616, 5, x_1615); -lean_ctor_set_uint8(x_1616, sizeof(void*)*6, x_1612); -x_1617 = lean_st_ref_set(x_13, x_1616, x_1606); -x_1618 = lean_ctor_get(x_1617, 1); -lean_inc(x_1618); -lean_dec(x_1617); -x_1619 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1619, 0, x_1599); -lean_ctor_set(x_1619, 1, x_9); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_13); -lean_inc(x_1544); -x_1620 = l_Lean_Compiler_LCNF_Simp_simp(x_1619, x_1544, x_13, x_14, x_15, x_16, x_17, x_1618); -if (lean_obj_tag(x_1620) == 0) -{ -lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; -x_1621 = lean_ctor_get(x_1620, 0); -lean_inc(x_1621); -x_1622 = lean_ctor_get(x_1620, 1); -lean_inc(x_1622); -lean_dec(x_1620); -x_1623 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1562, x_1551, x_1621, x_1544, x_13, x_14, x_15, x_16, x_17, x_1622); -lean_dec(x_13); -lean_dec(x_1544); -return x_1623; -} -else -{ -uint8_t x_1624; -lean_dec(x_1562); -lean_dec(x_1551); -lean_dec(x_1544); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -x_1624 = !lean_is_exclusive(x_1620); -if (x_1624 == 0) -{ -return x_1620; -} -else -{ -lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; -x_1625 = lean_ctor_get(x_1620, 0); -x_1626 = lean_ctor_get(x_1620, 1); -lean_inc(x_1626); -lean_inc(x_1625); -lean_dec(x_1620); -x_1627 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1627, 0, x_1625); -lean_ctor_set(x_1627, 1, x_1626); -return x_1627; -} -} -} -else -{ -uint8_t x_1628; -lean_dec(x_1562); -lean_dec(x_1551); -lean_dec(x_1544); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_9); -lean_dec(x_8); -x_1628 = !lean_is_exclusive(x_1598); -if (x_1628 == 0) -{ -return x_1598; -} -else -{ -lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; -x_1629 = lean_ctor_get(x_1598, 0); -x_1630 = lean_ctor_get(x_1598, 1); -lean_inc(x_1630); -lean_inc(x_1629); -lean_dec(x_1598); -x_1631 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1631, 0, x_1629); -lean_ctor_set(x_1631, 1, x_1630); -return x_1631; -} -} -} -} -else -{ -uint8_t x_1632; -lean_dec(x_1551); -lean_dec(x_1544); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -x_1632 = !lean_is_exclusive(x_1558); -if (x_1632 == 0) -{ -return x_1558; -} -else -{ -lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; -x_1633 = lean_ctor_get(x_1558, 0); -x_1634 = lean_ctor_get(x_1558, 1); -lean_inc(x_1634); -lean_inc(x_1633); -lean_dec(x_1558); -x_1635 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1635, 0, x_1633); -lean_ctor_set(x_1635, 1, x_1634); -return x_1635; -} -} -} -else -{ -lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; -lean_dec(x_5); -lean_dec(x_4); -x_1636 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_13, x_14, x_15, x_16, x_17, x_1552); -x_1637 = lean_ctor_get(x_1636, 1); -lean_inc(x_1637); -lean_dec(x_1636); -x_1638 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed), 13, 7); -lean_closure_set(x_1638, 0, x_1544); -lean_closure_set(x_1638, 1, x_13); -lean_closure_set(x_1638, 2, x_6); -lean_closure_set(x_1638, 3, x_7); -lean_closure_set(x_1638, 4, x_8); -lean_closure_set(x_1638, 5, x_9); -lean_closure_set(x_1638, 6, x_10); -x_1639 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_1551, x_1638, x_14, x_15, x_16, x_17, x_1637); -if (lean_obj_tag(x_1639) == 0) -{ -uint8_t x_1640; -x_1640 = !lean_is_exclusive(x_1639); -if (x_1640 == 0) -{ -lean_object* x_1641; lean_object* x_1642; -x_1641 = lean_ctor_get(x_1639, 0); -x_1642 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1642, 0, x_1641); -lean_ctor_set(x_1639, 0, x_1642); -return x_1639; -} -else -{ -lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; -x_1643 = lean_ctor_get(x_1639, 0); -x_1644 = lean_ctor_get(x_1639, 1); -lean_inc(x_1644); -lean_inc(x_1643); -lean_dec(x_1639); -x_1645 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1645, 0, x_1643); -x_1646 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1646, 0, x_1645); -lean_ctor_set(x_1646, 1, x_1644); -return x_1646; -} -} -else -{ -uint8_t x_1647; -x_1647 = !lean_is_exclusive(x_1639); -if (x_1647 == 0) -{ -return x_1639; -} -else -{ -lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; -x_1648 = lean_ctor_get(x_1639, 0); -x_1649 = lean_ctor_get(x_1639, 1); -lean_inc(x_1649); -lean_inc(x_1648); -lean_dec(x_1639); -x_1650 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1650, 0, x_1648); -lean_ctor_set(x_1650, 1, x_1649); -return x_1650; -} -} -} -} -else -{ -uint8_t x_1651; -lean_dec(x_1544); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1651 = !lean_is_exclusive(x_1550); -if (x_1651 == 0) -{ -return x_1550; -} -else -{ -lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; -x_1652 = lean_ctor_get(x_1550, 0); -x_1653 = lean_ctor_get(x_1550, 1); -lean_inc(x_1653); -lean_inc(x_1652); -lean_dec(x_1550); -x_1654 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1654, 0, x_1652); -lean_ctor_set(x_1654, 1, x_1653); -return x_1654; -} -} -} -} -else -{ -uint8_t x_1674; -lean_dec(x_1544); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_13); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_1674 = !lean_is_exclusive(x_1546); -if (x_1674 == 0) -{ -return x_1546; -} -else -{ -lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; -x_1675 = lean_ctor_get(x_1546, 0); -x_1676 = lean_ctor_get(x_1546, 1); -lean_inc(x_1676); -lean_inc(x_1675); -lean_dec(x_1546); -x_1677 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1677, 0, x_1675); -lean_ctor_set(x_1677, 1, x_1676); -return x_1677; -} -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_13; -x_13 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_13) == 4) -{ -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_14 = lean_ctor_get(x_6, 3); -x_15 = lean_ctor_get(x_6, 0); -x_16 = lean_ctor_get(x_6, 1); -x_17 = lean_ctor_get(x_6, 2); -x_18 = lean_ctor_get(x_13, 0); -lean_inc(x_18); -lean_dec(x_13); -lean_inc(x_14); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_14); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -x_20 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_20, 0, x_15); -lean_ctor_set(x_20, 1, x_16); -lean_ctor_set(x_20, 2, x_17); -lean_ctor_set(x_20, 3, x_19); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_21 = l_Lean_Compiler_LCNF_Simp_specializePartialApp(x_2, x_20, x_7, x_8, x_9, x_10, x_11, x_12); -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; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_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_st_ref_get(x_11, x_23); -x_26 = lean_ctor_get(x_25, 1); -lean_inc(x_26); -lean_dec(x_25); -x_27 = lean_st_ref_take(x_7, x_26); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -x_31 = l_Lean_Expr_fvar___override(x_24); -x_32 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_30, x_3, x_31); -x_33 = lean_ctor_get(x_28, 1); -lean_inc(x_33); -x_34 = lean_ctor_get(x_28, 2); -lean_inc(x_34); -x_35 = lean_ctor_get_uint8(x_28, sizeof(void*)*6); -x_36 = lean_ctor_get(x_28, 3); -lean_inc(x_36); -x_37 = lean_ctor_get(x_28, 4); -lean_inc(x_37); -x_38 = lean_ctor_get(x_28, 5); -lean_inc(x_38); -lean_dec(x_28); -x_39 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_39, 0, x_32); -lean_ctor_set(x_39, 1, x_33); -lean_ctor_set(x_39, 2, x_34); -lean_ctor_set(x_39, 3, x_36); -lean_ctor_set(x_39, 4, x_37); -lean_ctor_set(x_39, 5, x_38); -lean_ctor_set_uint8(x_39, sizeof(void*)*6, x_35); -x_40 = lean_st_ref_set(x_7, x_39, x_29); -x_41 = lean_ctor_get(x_40, 1); -lean_inc(x_41); -lean_dec(x_40); -x_42 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_7, x_8, x_9, x_10, x_11, x_41); -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_22); -lean_ctor_set(x_44, 1, x_4); -x_45 = l_Lean_Compiler_LCNF_Simp_simp(x_44, x_20, x_7, x_8, x_9, x_10, x_11, x_43); -if (lean_obj_tag(x_45) == 0) -{ -uint8_t x_46; -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) -{ -lean_object* x_47; lean_object* x_48; -x_47 = lean_ctor_get(x_45, 0); -x_48 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_45, 0, x_48); -return x_45; -} -else -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_45, 0); -x_50 = lean_ctor_get(x_45, 1); -lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_45); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_49); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_50); -return x_52; -} -} -else -{ -uint8_t x_53; -x_53 = !lean_is_exclusive(x_45); -if (x_53 == 0) -{ -return x_45; -} -else -{ -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_45, 0); -x_55 = lean_ctor_get(x_45, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_45); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -} -else -{ -uint8_t x_57; -lean_dec(x_20); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_57 = !lean_is_exclusive(x_21); -if (x_57 == 0) -{ -return x_21; -} -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_21, 0); -x_59 = lean_ctor_get(x_21, 1); -lean_inc(x_59); -lean_inc(x_58); -lean_dec(x_21); -x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -return x_60; -} -} -} -else -{ -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -lean_dec(x_13); -x_61 = lean_ctor_get(x_6, 3); -x_62 = lean_ctor_get(x_6, 0); -x_63 = lean_ctor_get(x_6, 1); -x_64 = lean_ctor_get(x_6, 2); -lean_inc(x_61); -lean_inc(x_64); -lean_inc(x_63); -lean_inc(x_62); -x_65 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_65, 0, x_62); -lean_ctor_set(x_65, 1, x_63); -lean_ctor_set(x_65, 2, x_64); -lean_ctor_set(x_65, 3, x_61); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -x_66 = l_Lean_Compiler_LCNF_Simp_specializePartialApp(x_2, x_65, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_66) == 0) -{ -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; 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; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_67 = lean_ctor_get(x_66, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_66, 1); -lean_inc(x_68); -lean_dec(x_66); -x_69 = lean_ctor_get(x_67, 0); -lean_inc(x_69); -x_70 = lean_st_ref_get(x_11, x_68); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_take(x_7, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_ctor_get(x_73, 0); -lean_inc(x_75); -x_76 = l_Lean_Expr_fvar___override(x_69); -x_77 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_75, x_3, x_76); -x_78 = lean_ctor_get(x_73, 1); -lean_inc(x_78); -x_79 = lean_ctor_get(x_73, 2); -lean_inc(x_79); -x_80 = lean_ctor_get_uint8(x_73, sizeof(void*)*6); -x_81 = lean_ctor_get(x_73, 3); -lean_inc(x_81); -x_82 = lean_ctor_get(x_73, 4); -lean_inc(x_82); -x_83 = lean_ctor_get(x_73, 5); -lean_inc(x_83); -lean_dec(x_73); -x_84 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_84, 0, x_77); -lean_ctor_set(x_84, 1, x_78); -lean_ctor_set(x_84, 2, x_79); -lean_ctor_set(x_84, 3, x_81); -lean_ctor_set(x_84, 4, x_82); -lean_ctor_set(x_84, 5, x_83); -lean_ctor_set_uint8(x_84, sizeof(void*)*6, x_80); -x_85 = lean_st_ref_set(x_7, x_84, x_74); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_87 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_7, x_8, x_9, x_10, x_11, x_86); -x_88 = lean_ctor_get(x_87, 1); -lean_inc(x_88); -lean_dec(x_87); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_67); -lean_ctor_set(x_89, 1, x_4); -x_90 = l_Lean_Compiler_LCNF_Simp_simp(x_89, x_65, x_7, x_8, x_9, x_10, x_11, x_88); -if (lean_obj_tag(x_90) == 0) -{ -uint8_t x_91; -x_91 = !lean_is_exclusive(x_90); -if (x_91 == 0) -{ -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_90, 0); -x_93 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_90, 0, x_93); -return x_90; -} -else -{ -lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_94 = lean_ctor_get(x_90, 0); -x_95 = lean_ctor_get(x_90, 1); -lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_90); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_94); -x_97 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_97, 0, x_96); -lean_ctor_set(x_97, 1, x_95); -return x_97; -} -} -else -{ -uint8_t x_98; -x_98 = !lean_is_exclusive(x_90); -if (x_98 == 0) -{ -return x_90; -} -else -{ -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_90, 0); -x_100 = lean_ctor_get(x_90, 1); -lean_inc(x_100); -lean_inc(x_99); -lean_dec(x_90); -x_101 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_101, 0, x_99); -lean_ctor_set(x_101, 1, x_100); -return x_101; -} -} -} -else -{ -uint8_t x_102; -lean_dec(x_65); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_4); -lean_dec(x_3); -x_102 = !lean_is_exclusive(x_66); +lean_object* x_16; uint8_t x_102; +x_102 = l_Lean_Compiler_LCNF_Code_isReturnOf(x_6, x_5); if (x_102 == 0) { -return x_66; +lean_object* x_103; +x_103 = lean_box(0); +x_16 = x_103; +goto block_101; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_66, 0); -x_104 = lean_ctor_get(x_66, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_66); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; +uint8_t x_104; +x_104 = lean_nat_dec_eq(x_4, x_3); +if (x_104 == 0) +{ +lean_object* x_105; +x_105 = lean_box(0); +x_16 = x_105; +goto block_101; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_106 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_10, x_11, x_12, x_13, x_14, x_15); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = l_Lean_Compiler_LCNF_Simp_simp(x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_107); +if (lean_obj_tag(x_108) == 0) +{ +uint8_t x_109; +x_109 = !lean_is_exclusive(x_108); +if (x_109 == 0) +{ +lean_object* x_110; lean_object* x_111; +x_110 = lean_ctor_get(x_108, 0); +x_111 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_108, 0, x_111); +return x_108; +} +else +{ +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_112 = lean_ctor_get(x_108, 0); +x_113 = lean_ctor_get(x_108, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_108); +x_114 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_114, 0, x_112); +x_115 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_115, 1, x_113); +return x_115; +} +} +else +{ +uint8_t x_116; +x_116 = !lean_is_exclusive(x_108); +if (x_116 == 0) +{ +return x_108; +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_108, 0); +x_118 = lean_ctor_get(x_108, 1); +lean_inc(x_118); +lean_inc(x_117); +lean_dec(x_108); +x_119 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_119, 0, x_117); +lean_ctor_set(x_119, 1, x_118); +return x_119; +} +} +} +} +block_101: +{ +lean_object* x_17; +lean_dec(x_16); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_17 = l_Lean_Compiler_LCNF_Simp_simp(x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +lean_inc(x_18); +x_20 = l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go(x_18); +if (x_20 == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_21 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_10, x_11, x_12, x_13, x_14, x_19); +x_22 = lean_ctor_get(x_21, 1); +lean_inc(x_22); +lean_dec(x_21); +x_23 = lean_ctor_get(x_1, 2); +lean_inc(x_23); +lean_dec(x_1); +x_24 = l_Lean_mkAppN(x_23, x_2); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_25 = l_Lean_Compiler_LCNF_inferType(x_24, x_11, x_12, x_13, x_14, x_22); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = 0; +x_29 = l_Lean_Compiler_LCNF_mkAuxParam(x_26, x_28, x_11, x_12, x_13, x_14, x_27); +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = lean_nat_dec_lt(x_3, x_4); +lean_dec(x_4); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; +lean_dec(x_7); +lean_dec(x_3); +x_33 = lean_ctor_get(x_30, 0); +lean_inc(x_33); +x_34 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_5, x_33, x_9, x_10, x_11, x_12, x_13, x_14, x_31); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +lean_dec(x_34); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_36 = l_Lean_Compiler_LCNF_Simp_simp(x_6, x_9, x_10, x_11, x_12, x_13, x_14, x_35); +if (lean_obj_tag(x_36) == 0) +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_36, 0); +lean_inc(x_37); +x_38 = lean_ctor_get(x_36, 1); +lean_inc(x_38); +lean_dec(x_36); +x_39 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_30, x_18, x_37, x_9, x_10, x_11, x_12, x_13, x_14, x_38); +lean_dec(x_10); +lean_dec(x_9); +return x_39; +} +else +{ +uint8_t x_40; +lean_dec(x_30); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) +{ +return x_36; +} +else +{ +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_36, 0); +x_42 = lean_ctor_get(x_36, 1); +lean_inc(x_42); +lean_inc(x_41); +lean_dec(x_36); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; +} +} +} +else +{ +uint8_t x_44; +lean_dec(x_30); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +x_44 = !lean_is_exclusive(x_34); +if (x_44 == 0) +{ +return x_34; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_34, 0); +x_46 = lean_ctor_get(x_34, 1); +lean_inc(x_46); +lean_inc(x_45); +lean_dec(x_34); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; +} +} +} +else +{ +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_48 = lean_ctor_get(x_30, 0); +lean_inc(x_48); +x_49 = l_Lean_Expr_fvar___override(x_48); +x_50 = lean_array_get_size(x_7); +x_51 = l_Array_toSubarray___rarg(x_7, x_3, x_50); +x_52 = l_Array_ofSubarray___rarg(x_51); +x_53 = l_Lean_mkAppN(x_49, x_52); +x_54 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +x_55 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_53, x_54, x_11, x_12, x_13, x_14, x_31); +if (lean_obj_tag(x_55) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_55, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_55, 1); +lean_inc(x_57); +lean_dec(x_55); +x_58 = lean_ctor_get(x_56, 0); +lean_inc(x_58); +x_59 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_5, x_58, x_9, x_10, x_11, x_12, x_13, x_14, x_57); +if (lean_obj_tag(x_59) == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_56); +lean_ctor_set(x_61, 1, x_6); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_62 = l_Lean_Compiler_LCNF_Simp_simp(x_61, x_9, x_10, x_11, x_12, x_13, x_14, x_60); +if (lean_obj_tag(x_62) == 0) +{ +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_62, 0); +lean_inc(x_63); +x_64 = lean_ctor_get(x_62, 1); +lean_inc(x_64); +lean_dec(x_62); +x_65 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_30, x_18, x_63, x_9, x_10, x_11, x_12, x_13, x_14, x_64); +lean_dec(x_10); +lean_dec(x_9); +return x_65; +} +else +{ +uint8_t x_66; +lean_dec(x_30); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +x_66 = !lean_is_exclusive(x_62); +if (x_66 == 0) +{ +return x_62; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_62, 0); +x_68 = lean_ctor_get(x_62, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_62); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_56); +lean_dec(x_30); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +x_70 = !lean_is_exclusive(x_59); +if (x_70 == 0) +{ +return x_59; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_59, 0); +x_72 = lean_ctor_get(x_59, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_59); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +else +{ +uint8_t x_74; +lean_dec(x_30); +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_6); +lean_dec(x_5); +x_74 = !lean_is_exclusive(x_55); +if (x_74 == 0) +{ +return x_55; +} +else +{ +lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_75 = lean_ctor_get(x_55, 0); +x_76 = lean_ctor_get(x_55, 1); +lean_inc(x_76); +lean_inc(x_75); +lean_dec(x_55); +x_77 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +return x_77; +} +} +} +} +else +{ +uint8_t x_78; +lean_dec(x_18); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_78 = !lean_is_exclusive(x_25); +if (x_78 == 0) +{ +return x_25; +} +else +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_25, 0); +x_80 = lean_ctor_get(x_25, 1); +lean_inc(x_80); +lean_inc(x_79); +lean_dec(x_25); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_2); +lean_dec(x_1); +x_82 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_10, x_11, x_12, x_13, x_14, x_19); +x_83 = lean_ctor_get(x_82, 1); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3), 13, 7); +lean_closure_set(x_84, 0, x_9); +lean_closure_set(x_84, 1, x_10); +lean_closure_set(x_84, 2, x_3); +lean_closure_set(x_84, 3, x_4); +lean_closure_set(x_84, 4, x_5); +lean_closure_set(x_84, 5, x_6); +lean_closure_set(x_84, 6, x_7); +x_85 = l_Lean_Compiler_LCNF_CompilerM_codeBind(x_18, x_84, x_11, x_12, x_13, x_14, x_83); +if (lean_obj_tag(x_85) == 0) +{ +uint8_t x_86; +x_86 = !lean_is_exclusive(x_85); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; +x_87 = lean_ctor_get(x_85, 0); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_87); +lean_ctor_set(x_85, 0, x_88); +return x_85; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_89 = lean_ctor_get(x_85, 0); +x_90 = lean_ctor_get(x_85, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_85); +x_91 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_91, 0, x_89); +x_92 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_92, 0, x_91); +lean_ctor_set(x_92, 1, x_90); +return x_92; +} +} +else +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_85); +if (x_93 == 0) +{ +return x_85; +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_85, 0); +x_95 = lean_ctor_get(x_85, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_85); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; +} +} +} +} +else +{ +uint8_t x_97; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_97 = !lean_is_exclusive(x_17); +if (x_97 == 0) +{ +return x_17; +} +else +{ +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_17, 0); +x_99 = lean_ctor_get(x_17, 1); +lean_inc(x_99); +lean_inc(x_98); +lean_dec(x_17); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } } } -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Compiler", 8); -return x_1; -} -} -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__2() { -_start: +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_3, 0); +lean_inc(x_11); +x_12 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_1, x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__3() { -_start: +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_13 = lean_ctor_get(x_12, 1); +lean_inc(x_13); +lean_dec(x_12); +x_14 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_5, x_6, x_7, x_8, x_9, x_13); +x_15 = lean_ctor_get(x_14, 1); +lean_inc(x_15); +lean_dec(x_14); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_3); +lean_ctor_set(x_16, 1, x_2); +x_17 = l_Lean_Compiler_LCNF_Simp_simp(x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("simp", 4); -return x_1; -} -} -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__4() { -_start: +uint8_t x_18; +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__2; -x_2 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_17, 0, x_20); +return x_17; } -} -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__5() { -_start: +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("inline", 6); -return x_1; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_17, 0); +x_22 = lean_ctor_get(x_17, 1); +lean_inc(x_22); +lean_inc(x_21); +lean_dec(x_17); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_21); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +return x_24; } } -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__6() { -_start: +else { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__4; -x_2 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__5; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__7() { -_start: +uint8_t x_25; +x_25 = !lean_is_exclusive(x_17); +if (x_25 == 0) { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("inlining ", 9); -return x_1; +return x_17; } -} -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__8() { -_start: +else { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__7; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; +lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_26 = lean_ctor_get(x_17, 0); +x_27 = lean_ctor_get(x_17, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_17); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +return x_28; } } -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__9() { -_start: +} +else { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("", 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__10() { -_start: +uint8_t x_29; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_12); +if (x_29 == 0) { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__9; -x_2 = l_Lean_stringToMessageData(x_1); -return x_2; +return x_12; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_12, 0); +x_31 = lean_ctor_get(x_12, 1); +lean_inc(x_31); +lean_inc(x_30); +lean_dec(x_12); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -10018,6 +3359,7 @@ lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_10); @@ -10034,6 +3376,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -10063,7 +3406,7 @@ return x_18; } else { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; x_19 = lean_ctor_get(x_11, 1); lean_inc(x_19); lean_dec(x_11); @@ -10073,158 +3416,99 @@ lean_dec(x_12); x_21 = lean_ctor_get(x_20, 3); lean_inc(x_21); x_22 = lean_array_get_size(x_21); -x_23 = lean_ctor_get(x_1, 0); -lean_inc(x_23); -lean_dec(x_1); -x_24 = l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_arity(x_20); -x_25 = lean_nat_dec_lt(x_22, x_24); -if (x_25 == 0) -{ -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_26 = lean_ctor_get(x_20, 0); -lean_inc(x_26); -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); -x_28 = lean_unsigned_to_nat(0u); +x_23 = lean_ctor_get_uint8(x_20, sizeof(void*)*4 + 2); +x_24 = lean_ctor_get(x_1, 0); lean_inc(x_24); -lean_inc(x_21); -x_29 = l_Array_toSubarray___rarg(x_21, x_28, x_24); -x_30 = l_Array_ofSubarray___rarg(x_29); -x_31 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__6; -x_32 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_unbox(x_33); -lean_dec(x_33); -if (x_34 == 0) +lean_dec(x_1); +x_25 = l_Lean_Compiler_LCNF_Simp_InlineCandidateInfo_arity(x_20); +x_26 = lean_nat_dec_lt(x_22, x_25); +if (x_26 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_32, 1); -lean_inc(x_35); -lean_dec(x_32); -x_36 = lean_box(0); -x_37 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4(x_10, x_26, x_27, x_30, x_20, x_24, x_22, x_23, x_2, x_21, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_35); -lean_dec(x_3); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_27 = lean_ctor_get(x_20, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_20, 1); +lean_inc(x_28); +x_29 = lean_unsigned_to_nat(0u); +lean_inc(x_25); +lean_inc(x_21); +x_30 = l_Array_toSubarray___rarg(x_21, x_29, x_25); +x_31 = l_Array_ofSubarray___rarg(x_30); +x_32 = 0; +x_33 = lean_box(x_32); +lean_inc(x_31); +x_34 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_betaReduce___boxed), 11, 4); +lean_closure_set(x_34, 0, x_27); +lean_closure_set(x_34, 1, x_28); +lean_closure_set(x_34, 2, x_31); +lean_closure_set(x_34, 3, x_33); +x_35 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4), 15, 7); +lean_closure_set(x_35, 0, x_20); +lean_closure_set(x_35, 1, x_31); +lean_closure_set(x_35, 2, x_25); +lean_closure_set(x_35, 3, x_22); +lean_closure_set(x_35, 4, x_24); +lean_closure_set(x_35, 5, x_2); +lean_closure_set(x_35, 6, x_21); +x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg), 9, 2); +lean_closure_set(x_36, 0, x_34); +lean_closure_set(x_36, 1, x_35); +x_37 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg(x_10, x_23, x_36, x_3, x_4, x_5, x_6, x_7, x_8, x_19); return x_37; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_38 = lean_ctor_get(x_32, 1); -lean_inc(x_38); -lean_dec(x_32); -lean_inc(x_10); -x_39 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_39, 0, x_10); -x_40 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__8; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_39); -x_42 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__10; -x_43 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_43, 0, x_41); -lean_ctor_set(x_43, 1, x_42); -x_44 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_31, x_43, x_3, x_4, x_5, x_6, x_7, x_8, x_38); -x_45 = lean_ctor_get(x_44, 0); -lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_47 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4(x_10, x_26, x_27, x_30, x_20, x_24, x_22, x_23, x_2, x_21, x_45, x_3, x_4, x_5, x_6, x_7, x_8, x_46); -lean_dec(x_3); -lean_dec(x_45); -return x_47; -} -} -else -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -lean_dec(x_24); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_dec(x_25); lean_dec(x_22); lean_dec(x_21); -x_48 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__6; -x_49 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_48, x_3, x_4, x_5, x_6, x_7, x_8, x_19); -x_50 = lean_ctor_get(x_49, 0); -lean_inc(x_50); -x_51 = lean_unbox(x_50); -lean_dec(x_50); -if (x_51 == 0) -{ -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_49, 1); -lean_inc(x_52); -lean_dec(x_49); -x_53 = lean_box(0); -x_54 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5(x_10, x_20, x_23, x_2, x_53, x_3, x_4, x_5, x_6, x_7, x_8, x_52); -lean_dec(x_3); -lean_dec(x_10); -return x_54; -} -else -{ -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_55 = lean_ctor_get(x_49, 1); -lean_inc(x_55); -lean_dec(x_49); -lean_inc(x_10); -x_56 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_56, 0, x_10); -x_57 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__8; -x_58 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_56); -x_59 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__10; -x_60 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_60, 0, x_58); -lean_ctor_set(x_60, 1, x_59); -x_61 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_48, x_60, x_3, x_4, x_5, x_6, x_7, x_8, x_55); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); -x_63 = lean_ctor_get(x_61, 1); -lean_inc(x_63); -lean_dec(x_61); -x_64 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5(x_10, x_20, x_23, x_2, x_62, x_3, x_4, x_5, x_6, x_7, x_8, x_63); -lean_dec(x_3); -lean_dec(x_62); -lean_dec(x_10); -return x_64; -} +x_38 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_specializePartialApp___boxed), 8, 1); +lean_closure_set(x_38, 0, x_20); +x_39 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5), 10, 2); +lean_closure_set(x_39, 0, x_24); +lean_closure_set(x_39, 1, x_2); +x_40 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg), 9, 2); +lean_closure_set(x_40, 0, x_38); +lean_closure_set(x_40, 1, x_39); +x_41 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg(x_10, x_23, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_19); +return x_41; } } } else { -uint8_t x_65; +uint8_t x_42; lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_65 = !lean_is_exclusive(x_11); -if (x_65 == 0) +x_42 = !lean_is_exclusive(x_11); +if (x_42 == 0) { return x_11; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_66 = lean_ctor_get(x_11, 0); -x_67 = lean_ctor_get(x_11, 1); -lean_inc(x_67); -lean_inc(x_66); +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_11, 0); +x_44 = lean_ctor_get(x_11, 1); +lean_inc(x_44); +lean_inc(x_43); lean_dec(x_11); -x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_66); -lean_ctor_set(x_68, 1, x_67); -return x_68; +x_45 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_45, 0, x_43); +lean_ctor_set(x_45, 1, x_44); +return x_45; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -10264,7 +3548,7 @@ x_26 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateLetD return x_26; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -10304,7 +3588,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -10317,6 +3601,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -10328,88 +3613,89 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_3, x_2); -x_15 = lean_box(x_6); lean_inc(x_1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_16 = lean_apply_8(x_1, x_14, x_4, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_8(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_2, x_22); -x_24 = lean_array_fset(x_3, x_2, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_2, x_21); +x_23 = lean_array_fset(x_3, x_2, x_16); lean_dec(x_2); -x_2 = x_23; -x_3 = x_24; -x_10 = x_18; +x_2 = x_22; +x_3 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_2, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_2, x_25); lean_dec(x_2); -x_2 = x_27; -x_10 = x_18; +x_2 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -10418,7 +3704,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___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* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -10429,7 +3715,7 @@ x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LC return x_12; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -10442,6 +3728,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -10453,88 +3740,89 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_3, x_2); -x_15 = lean_box(x_6); lean_inc(x_1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_16 = lean_apply_8(x_1, x_14, x_4, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_8(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_2, x_22); -x_24 = lean_array_fset(x_3, x_2, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_2, x_21); +x_23 = lean_array_fset(x_3, x_2, x_16); lean_dec(x_2); -x_2 = x_23; -x_3 = x_24; -x_10 = x_18; +x_2 = x_22; +x_3 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_2, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_2, x_25); lean_dec(x_2); -x_2 = x_27; -x_10 = x_18; +x_2 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -10543,7 +3831,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; @@ -10551,8 +3839,9 @@ lean_dec(x_5); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_4); -x_13 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +x_13 = l_Lean_Compiler_LCNF_Simp_ConstantFold_foldConstants(x_4, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -10560,41 +3849,42 @@ x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); if (lean_obj_tag(x_14) == 0) { -lean_object* x_15; lean_object* x_16; uint8_t x_17; +lean_object* x_15; lean_object* x_16; x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_16 = lean_ctor_get(x_4, 3); -lean_inc(x_16); -x_17 = l_Lean_Expr_isFVar(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_4); +x_16 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_15); +if (lean_obj_tag(x_16) == 0) +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_16, 1); +lean_inc(x_18); +lean_dec(x_16); +x_19 = lean_ctor_get(x_4, 3); +lean_inc(x_19); +x_20 = l_Lean_Expr_isFVar(x_19); +if (x_20 == 0) +{ +lean_object* x_21; +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); lean_inc(x_4); -x_18 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f(x_4, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_15); -if (lean_obj_tag(x_18) == 0) -{ -lean_object* x_19; -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -if (lean_obj_tag(x_19) == 0) -{ -lean_object* x_20; lean_object* x_21; -x_20 = lean_ctor_get(x_18, 1); -lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_7); -lean_inc(x_6); -x_21 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(x_16, x_6, x_7, x_8, x_9, x_10, x_11, x_20); +x_21 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f(x_4, x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_18); if (lean_obj_tag(x_21) == 0) { lean_object* x_22; @@ -10609,174 +3899,195 @@ lean_dec(x_21); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -lean_inc(x_1); -x_24 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_23); +x_24 = l_Lean_Compiler_LCNF_Simp_inlineProjInst_x3f(x_19, x_6, x_7, x_8, x_9, x_10, x_11, x_23); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; +lean_object* x_25; x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); +if (lean_obj_tag(x_25) == 0) +{ +lean_object* x_26; lean_object* x_27; x_26 = lean_ctor_get(x_24, 1); lean_inc(x_26); lean_dec(x_24); -x_27 = lean_ctor_get(x_4, 0); -lean_inc(x_27); -x_28 = l_Lean_Compiler_LCNF_Simp_isUsed(x_27, x_6, x_7, x_8, x_9, x_10, x_11, x_26); -lean_dec(x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_unbox(x_29); -lean_dec(x_29); -if (x_30 == 0) +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_1); +x_27 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_26); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_31; lean_object* x_32; uint8_t x_33; -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -x_31 = lean_ctor_get(x_28, 1); -lean_inc(x_31); -lean_dec(x_28); -x_32 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_31); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_4); -x_33 = !lean_is_exclusive(x_32); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_ctor_get(x_4, 0); +lean_inc(x_30); +x_31 = l_Lean_Compiler_LCNF_Simp_isUsed(x_30, x_6, x_7, x_8, x_9, x_10, x_11, x_29); +lean_dec(x_30); +x_32 = lean_ctor_get(x_31, 0); +lean_inc(x_32); +x_33 = lean_unbox(x_32); +lean_dec(x_32); if (x_33 == 0) { -lean_object* x_34; -x_34 = lean_ctor_get(x_32, 0); -lean_dec(x_34); -lean_ctor_set(x_32, 0, x_25); -return x_32; +lean_object* x_34; lean_object* x_35; uint8_t x_36; +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_34 = lean_ctor_get(x_31, 1); +lean_inc(x_34); +lean_dec(x_31); +x_35 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_34); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) +{ +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_28); +return x_35; } else { -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 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_25); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_28); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } else { -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = lean_ctor_get(x_28, 1); -lean_inc(x_37); -lean_dec(x_28); +lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_40 = lean_ctor_get(x_31, 1); +lean_inc(x_40); +lean_dec(x_31); lean_inc(x_4); -x_38 = l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_37); +x_41 = l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_40); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_39 = !lean_is_exclusive(x_38); -if (x_39 == 0) +x_42 = !lean_is_exclusive(x_41); +if (x_42 == 0) { -lean_object* x_40; size_t x_41; size_t x_42; uint8_t x_43; -x_40 = lean_ctor_get(x_38, 0); -lean_dec(x_40); -x_41 = lean_ptr_addr(x_1); +lean_object* x_43; size_t x_44; size_t x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_41, 0); +lean_dec(x_43); +x_44 = lean_ptr_addr(x_1); lean_dec(x_1); -x_42 = lean_ptr_addr(x_25); -x_43 = lean_usize_dec_eq(x_41, x_42); -if (x_43 == 0) +x_45 = lean_ptr_addr(x_28); +x_46 = lean_usize_dec_eq(x_44, x_45); +if (x_46 == 0) { -lean_object* x_44; +lean_object* x_47; lean_dec(x_3); lean_dec(x_2); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_4); -lean_ctor_set(x_44, 1, x_25); -lean_ctor_set(x_38, 0, x_44); -return x_38; +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_4); +lean_ctor_set(x_47, 1, x_28); +lean_ctor_set(x_41, 0, x_47); +return x_41; } else { -size_t x_45; size_t x_46; uint8_t x_47; -x_45 = lean_ptr_addr(x_2); +size_t x_48; size_t x_49; uint8_t x_50; +x_48 = lean_ptr_addr(x_2); lean_dec(x_2); -x_46 = lean_ptr_addr(x_4); -x_47 = lean_usize_dec_eq(x_45, x_46); -if (x_47 == 0) +x_49 = lean_ptr_addr(x_4); +x_50 = lean_usize_dec_eq(x_48, x_49); +if (x_50 == 0) { -lean_object* x_48; +lean_object* x_51; lean_dec(x_3); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_4); -lean_ctor_set(x_48, 1, x_25); -lean_ctor_set(x_38, 0, x_48); -return x_38; +x_51 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_51, 0, x_4); +lean_ctor_set(x_51, 1, x_28); +lean_ctor_set(x_41, 0, x_51); +return x_41; } else { -lean_dec(x_25); +lean_dec(x_28); lean_dec(x_4); -lean_ctor_set(x_38, 0, x_3); -return x_38; +lean_ctor_set(x_41, 0, x_3); +return x_41; } } } else { -lean_object* x_49; size_t x_50; size_t x_51; uint8_t x_52; -x_49 = lean_ctor_get(x_38, 1); -lean_inc(x_49); -lean_dec(x_38); -x_50 = lean_ptr_addr(x_1); +lean_object* x_52; size_t x_53; size_t x_54; uint8_t x_55; +x_52 = lean_ctor_get(x_41, 1); +lean_inc(x_52); +lean_dec(x_41); +x_53 = lean_ptr_addr(x_1); lean_dec(x_1); -x_51 = lean_ptr_addr(x_25); -x_52 = lean_usize_dec_eq(x_50, x_51); -if (x_52 == 0) +x_54 = lean_ptr_addr(x_28); +x_55 = lean_usize_dec_eq(x_53, x_54); +if (x_55 == 0) { -lean_object* x_53; lean_object* x_54; +lean_object* x_56; lean_object* x_57; lean_dec(x_3); lean_dec(x_2); -x_53 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_53, 0, x_4); -lean_ctor_set(x_53, 1, x_25); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_53); -lean_ctor_set(x_54, 1, x_49); -return x_54; +x_56 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_56, 0, x_4); +lean_ctor_set(x_56, 1, x_28); +x_57 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_57, 0, x_56); +lean_ctor_set(x_57, 1, x_52); +return x_57; } else { -size_t x_55; size_t x_56; uint8_t x_57; -x_55 = lean_ptr_addr(x_2); +size_t x_58; size_t x_59; uint8_t x_60; +x_58 = lean_ptr_addr(x_2); lean_dec(x_2); -x_56 = lean_ptr_addr(x_4); -x_57 = lean_usize_dec_eq(x_55, x_56); -if (x_57 == 0) +x_59 = lean_ptr_addr(x_4); +x_60 = lean_usize_dec_eq(x_58, x_59); +if (x_60 == 0) { -lean_object* x_58; lean_object* x_59; +lean_object* x_61; lean_object* x_62; lean_dec(x_3); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_4); -lean_ctor_set(x_58, 1, x_25); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_49); -return x_59; +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_4); +lean_ctor_set(x_61, 1, x_28); +x_62 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_62, 0, x_61); +lean_ctor_set(x_62, 1, x_52); +return x_62; } else { -lean_object* x_60; -lean_dec(x_25); +lean_object* x_63; +lean_dec(x_28); lean_dec(x_4); -x_60 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_60, 0, x_3); -lean_ctor_set(x_60, 1, x_49); -return x_60; +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_3); +lean_ctor_set(x_63, 1, x_52); +return x_63; } } } @@ -10784,454 +4095,467 @@ return x_60; } else { -uint8_t x_61; +uint8_t x_64; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_61 = !lean_is_exclusive(x_24); -if (x_61 == 0) +x_64 = !lean_is_exclusive(x_27); +if (x_64 == 0) +{ +return x_27; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_27, 0); +x_66 = lean_ctor_get(x_27, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_27); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +lean_dec(x_3); +lean_dec(x_2); +x_68 = lean_ctor_get(x_25, 0); +lean_inc(x_68); +lean_dec(x_25); +x_69 = lean_ctor_get(x_24, 1); +lean_inc(x_69); +lean_dec(x_24); +x_70 = lean_ctor_get(x_68, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_68, 1); +lean_inc(x_71); +lean_dec(x_68); +x_72 = lean_ctor_get(x_4, 0); +lean_inc(x_72); +x_73 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_72, x_71, x_6, x_7, x_8, x_9, x_10, x_11, x_69); +if (lean_obj_tag(x_73) == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); +x_75 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_74); +lean_dec(x_4); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_77 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_76); +if (lean_obj_tag(x_77) == 0) +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_77, 0); +lean_inc(x_78); +x_79 = lean_ctor_get(x_77, 1); +lean_inc(x_79); +lean_dec(x_77); +x_80 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls(x_70, x_78, x_6, x_7, x_8, x_9, x_10, x_11, x_79); +lean_dec(x_70); +return x_80; +} +else +{ +uint8_t x_81; +lean_dec(x_70); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_81 = !lean_is_exclusive(x_77); +if (x_81 == 0) +{ +return x_77; +} +else +{ +lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_82 = lean_ctor_get(x_77, 0); +x_83 = lean_ctor_get(x_77, 1); +lean_inc(x_83); +lean_inc(x_82); +lean_dec(x_77); +x_84 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_84, 0, x_82); +lean_ctor_set(x_84, 1, x_83); +return x_84; +} +} +} +else +{ +uint8_t x_85; +lean_dec(x_70); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_1); +x_85 = !lean_is_exclusive(x_73); +if (x_85 == 0) +{ +return x_73; +} +else +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_73, 0); +x_87 = lean_ctor_get(x_73, 1); +lean_inc(x_87); +lean_inc(x_86); +lean_dec(x_73); +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; +} +} +} +} +else +{ +uint8_t x_89; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_89 = !lean_is_exclusive(x_24); +if (x_89 == 0) { return x_24; } else { -lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_62 = lean_ctor_get(x_24, 0); -x_63 = lean_ctor_get(x_24, 1); -lean_inc(x_63); -lean_inc(x_62); +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_24, 0); +x_91 = lean_ctor_get(x_24, 1); +lean_inc(x_91); +lean_inc(x_90); lean_dec(x_24); -x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_62); -lean_ctor_set(x_64, 1, x_63); -return x_64; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; } } } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +lean_object* x_93; lean_object* x_94; lean_object* x_95; uint8_t x_96; +lean_dec(x_19); lean_dec(x_3); lean_dec(x_2); -x_65 = lean_ctor_get(x_22, 0); -lean_inc(x_65); -lean_dec(x_22); -x_66 = lean_ctor_get(x_21, 1); -lean_inc(x_66); -lean_dec(x_21); -x_67 = lean_ctor_get(x_65, 0); -lean_inc(x_67); -x_68 = lean_ctor_get(x_65, 1); -lean_inc(x_68); -lean_dec(x_65); -x_69 = lean_ctor_get(x_4, 0); -lean_inc(x_69); -x_70 = lean_st_ref_get(x_11, x_66); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_take(x_7, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); -lean_inc(x_74); -lean_dec(x_72); -x_75 = !lean_is_exclusive(x_73); -if (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; -x_76 = lean_ctor_get(x_73, 0); -x_77 = l_Lean_Expr_fvar___override(x_68); -x_78 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_76, x_69, x_77); -lean_ctor_set(x_73, 0, x_78); -x_79 = lean_st_ref_set(x_7, x_73, x_74); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_80); -lean_dec(x_4); -x_82 = lean_ctor_get(x_81, 1); -lean_inc(x_82); -lean_dec(x_81); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_7); -lean_inc(x_6); -x_83 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_82); -if (lean_obj_tag(x_83) == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); -lean_inc(x_85); -lean_dec(x_83); -x_86 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls(x_67, x_84, x_6, x_7, x_8, x_9, x_10, x_11, x_85); -lean_dec(x_67); -return x_86; -} -else -{ -uint8_t x_87; -lean_dec(x_67); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_7); -lean_dec(x_6); -x_87 = !lean_is_exclusive(x_83); -if (x_87 == 0) -{ -return x_83; -} -else -{ -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_83, 0); -x_89 = lean_ctor_get(x_83, 1); -lean_inc(x_89); -lean_inc(x_88); -lean_dec(x_83); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; -} -} -} -else -{ -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_91 = lean_ctor_get(x_73, 0); -x_92 = lean_ctor_get(x_73, 1); -x_93 = lean_ctor_get(x_73, 2); -x_94 = lean_ctor_get_uint8(x_73, sizeof(void*)*6); -x_95 = lean_ctor_get(x_73, 3); -x_96 = lean_ctor_get(x_73, 4); -x_97 = lean_ctor_get(x_73, 5); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); +lean_dec(x_1); +x_93 = lean_ctor_get(x_21, 1); lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_73); -x_98 = l_Lean_Expr_fvar___override(x_68); -x_99 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_91, x_69, x_98); -x_100 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_92); -lean_ctor_set(x_100, 2, x_93); -lean_ctor_set(x_100, 3, x_95); -lean_ctor_set(x_100, 4, x_96); -lean_ctor_set(x_100, 5, x_97); -lean_ctor_set_uint8(x_100, sizeof(void*)*6, x_94); -x_101 = lean_st_ref_set(x_7, x_100, x_74); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_103 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_102); -lean_dec(x_4); -x_104 = lean_ctor_get(x_103, 1); -lean_inc(x_104); -lean_dec(x_103); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_7); -lean_inc(x_6); -x_105 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_104); -if (lean_obj_tag(x_105) == 0) -{ -lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_106 = lean_ctor_get(x_105, 0); -lean_inc(x_106); -x_107 = lean_ctor_get(x_105, 1); -lean_inc(x_107); -lean_dec(x_105); -x_108 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls(x_67, x_106, x_6, x_7, x_8, x_9, x_10, x_11, x_107); -lean_dec(x_67); -return x_108; -} -else -{ -lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; -lean_dec(x_67); +lean_dec(x_21); +x_94 = lean_ctor_get(x_22, 0); +lean_inc(x_94); +lean_dec(x_22); +x_95 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_93); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_109 = lean_ctor_get(x_105, 0); -lean_inc(x_109); -x_110 = lean_ctor_get(x_105, 1); -lean_inc(x_110); -if (lean_is_exclusive(x_105)) { - lean_ctor_release(x_105, 0); - lean_ctor_release(x_105, 1); - x_111 = x_105; -} else { - lean_dec_ref(x_105); - x_111 = lean_box(0); -} -if (lean_is_scalar(x_111)) { - x_112 = lean_alloc_ctor(1, 2, 0); -} else { - x_112 = x_111; -} -lean_ctor_set(x_112, 0, x_109); -lean_ctor_set(x_112, 1, x_110); -return x_112; +lean_dec(x_4); +x_96 = !lean_is_exclusive(x_95); +if (x_96 == 0) +{ +lean_object* x_97; +x_97 = lean_ctor_get(x_95, 0); +lean_dec(x_97); +lean_ctor_set(x_95, 0, x_94); +return x_95; } +else +{ +lean_object* x_98; lean_object* x_99; +x_98 = lean_ctor_get(x_95, 1); +lean_inc(x_98); +lean_dec(x_95); +x_99 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_99, 0, x_94); +lean_ctor_set(x_99, 1, x_98); +return x_99; } } } else { -uint8_t x_113; +uint8_t x_100; +lean_dec(x_19); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_113 = !lean_is_exclusive(x_21); -if (x_113 == 0) +x_100 = !lean_is_exclusive(x_21); +if (x_100 == 0) { return x_21; } else { -lean_object* x_114; lean_object* x_115; lean_object* x_116; -x_114 = lean_ctor_get(x_21, 0); -x_115 = lean_ctor_get(x_21, 1); -lean_inc(x_115); -lean_inc(x_114); +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_21, 0); +x_102 = lean_ctor_get(x_21, 1); +lean_inc(x_102); +lean_inc(x_101); lean_dec(x_21); -x_116 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -return x_116; +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; } } } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; -lean_dec(x_16); +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_dec(x_3); lean_dec(x_2); -lean_dec(x_1); -x_117 = lean_ctor_get(x_18, 1); -lean_inc(x_117); -lean_dec(x_18); -x_118 = lean_ctor_get(x_19, 0); -lean_inc(x_118); -lean_dec(x_19); -x_119 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_117); +x_104 = lean_ctor_get(x_4, 0); +lean_inc(x_104); +x_105 = l_Lean_Expr_fvarId_x21(x_19); +x_106 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_104, x_105, x_6, x_7, x_8, x_9, x_10, x_11, x_18); +if (lean_obj_tag(x_106) == 0) +{ +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_107); +lean_dec(x_4); +x_109 = lean_ctor_get(x_108, 1); +lean_inc(x_109); +lean_dec(x_108); +x_110 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_109); +return x_110; +} +else +{ +uint8_t x_111; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); -x_120 = !lean_is_exclusive(x_119); -if (x_120 == 0) +lean_dec(x_1); +x_111 = !lean_is_exclusive(x_106); +if (x_111 == 0) { -lean_object* x_121; -x_121 = lean_ctor_get(x_119, 0); -lean_dec(x_121); -lean_ctor_set(x_119, 0, x_118); -return x_119; +return x_106; } else { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_119, 1); -lean_inc(x_122); -lean_dec(x_119); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_118); -lean_ctor_set(x_123, 1, x_122); -return x_123; +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_106, 0); +x_113 = lean_ctor_get(x_106, 1); +lean_inc(x_113); +lean_inc(x_112); +lean_dec(x_106); +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; +} } } } else { -uint8_t x_124; +lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_115 = lean_ctor_get(x_16, 1); +lean_inc(x_115); lean_dec(x_16); +x_116 = lean_ctor_get(x_17, 0); +lean_inc(x_116); +lean_dec(x_17); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_1); +x_118 = l_Lean_Compiler_LCNF_Simp_simp(x_117, x_6, x_7, x_8, x_9, x_10, x_11, x_115); +return x_118; +} +} +else +{ +uint8_t x_119; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_124 = !lean_is_exclusive(x_18); -if (x_124 == 0) +x_119 = !lean_is_exclusive(x_16); +if (x_119 == 0) { -return x_18; +return x_16; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_18, 0); -x_126 = lean_ctor_get(x_18, 1); +lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_120 = lean_ctor_get(x_16, 0); +x_121 = lean_ctor_get(x_16, 1); +lean_inc(x_121); +lean_inc(x_120); +lean_dec(x_16); +x_122 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_122, 0, x_120); +lean_ctor_set(x_122, 1, x_121); +return x_122; +} +} +} +else +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_123 = lean_ctor_get(x_13, 1); +lean_inc(x_123); +lean_dec(x_13); +x_124 = lean_ctor_get(x_14, 0); +lean_inc(x_124); +lean_dec(x_14); +x_125 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_7, x_8, x_9, x_10, x_11, x_123); +x_126 = lean_ctor_get(x_125, 1); lean_inc(x_126); -lean_inc(x_125); -lean_dec(x_18); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); +lean_dec(x_125); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_127 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_126); +if (lean_obj_tag(x_127) == 0) +{ +lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +x_130 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls(x_124, x_128, x_6, x_7, x_8, x_9, x_10, x_11, x_129); +lean_dec(x_124); +return x_130; +} +else +{ +uint8_t x_131; +lean_dec(x_124); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_131 = !lean_is_exclusive(x_127); +if (x_131 == 0) +{ return x_127; } -} -} else { -lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; uint8_t x_135; -lean_dec(x_3); -lean_dec(x_2); -x_128 = lean_ctor_get(x_4, 0); -lean_inc(x_128); -x_129 = l_Lean_Expr_fvarId_x21(x_16); -x_130 = lean_st_ref_get(x_11, x_15); -x_131 = lean_ctor_get(x_130, 1); -lean_inc(x_131); -lean_dec(x_130); -x_132 = lean_st_ref_take(x_7, x_131); -x_133 = lean_ctor_get(x_132, 0); +lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_132 = lean_ctor_get(x_127, 0); +x_133 = lean_ctor_get(x_127, 1); lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -x_135 = !lean_is_exclusive(x_133); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_136 = lean_ctor_get(x_133, 0); -x_137 = l_Lean_Expr_fvar___override(x_129); -x_138 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_136, x_128, x_137); -lean_ctor_set(x_133, 0, x_138); -x_139 = lean_st_ref_set(x_7, x_133, x_134); -x_140 = lean_ctor_get(x_139, 1); -lean_inc(x_140); -lean_dec(x_139); -x_141 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_140); -lean_dec(x_4); -x_142 = lean_ctor_get(x_141, 1); -lean_inc(x_142); -lean_dec(x_141); -x_143 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_142); -return x_143; +lean_inc(x_132); +lean_dec(x_127); +x_134 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +return x_134; } -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; -x_144 = lean_ctor_get(x_133, 0); -x_145 = lean_ctor_get(x_133, 1); -x_146 = lean_ctor_get(x_133, 2); -x_147 = lean_ctor_get_uint8(x_133, sizeof(void*)*6); -x_148 = lean_ctor_get(x_133, 3); -x_149 = lean_ctor_get(x_133, 4); -x_150 = lean_ctor_get(x_133, 5); -lean_inc(x_150); -lean_inc(x_149); -lean_inc(x_148); -lean_inc(x_146); -lean_inc(x_145); -lean_inc(x_144); -lean_dec(x_133); -x_151 = l_Lean_Expr_fvar___override(x_129); -x_152 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_144, x_128, x_151); -x_153 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_145); -lean_ctor_set(x_153, 2, x_146); -lean_ctor_set(x_153, 3, x_148); -lean_ctor_set(x_153, 4, x_149); -lean_ctor_set(x_153, 5, x_150); -lean_ctor_set_uint8(x_153, sizeof(void*)*6, x_147); -x_154 = lean_st_ref_set(x_7, x_153, x_134); -x_155 = lean_ctor_get(x_154, 1); -lean_inc(x_155); -lean_dec(x_154); -x_156 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_4, x_6, x_7, x_8, x_9, x_10, x_11, x_155); -lean_dec(x_4); -x_157 = lean_ctor_get(x_156, 1); -lean_inc(x_157); -lean_dec(x_156); -x_158 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_6, x_7, x_8, x_9, x_10, x_11, x_157); -return x_158; } } } else { -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_159 = lean_ctor_get(x_13, 1); -lean_inc(x_159); -lean_dec(x_13); -x_160 = lean_ctor_get(x_14, 0); -lean_inc(x_160); -lean_dec(x_14); -x_161 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_161, 0, x_160); -lean_ctor_set(x_161, 1, x_1); -x_162 = l_Lean_Compiler_LCNF_Simp_simp(x_161, x_6, x_7, x_8, x_9, x_10, x_11, x_159); -return x_162; -} -} -else -{ -uint8_t x_163; +uint8_t x_135; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_163 = !lean_is_exclusive(x_13); -if (x_163 == 0) +x_135 = !lean_is_exclusive(x_13); +if (x_135 == 0) { return x_13; } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_13, 0); -x_165 = lean_ctor_get(x_13, 1); -lean_inc(x_165); -lean_inc(x_164); +lean_object* x_136; lean_object* x_137; lean_object* x_138; +x_136 = lean_ctor_get(x_13, 0); +x_137 = lean_ctor_get(x_13, 1); +lean_inc(x_137); +lean_inc(x_136); lean_dec(x_13); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_136); +lean_ctor_set(x_138, 1, x_137); +return x_138; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; uint8_t x_16; @@ -11281,7 +4605,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__3(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* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__3(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* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; @@ -11289,6 +4613,7 @@ lean_dec(x_6); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); @@ -11322,6 +4647,7 @@ x_22 = l_Lean_Compiler_LCNF_Simp_eraseFunDecl(x_5, x_7, x_8, x_9, x_10, x_11, x_ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); x_23 = !lean_is_exclusive(x_22); @@ -11358,6 +4684,7 @@ x_29 = l_Lean_Compiler_LCNF_Simp_simp___lambda__2(x_1, x_15, x_5, x_2, x_3, x_28 lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); @@ -11373,6 +4700,7 @@ lean_dec(x_18); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_5); @@ -11386,6 +4714,7 @@ x_34 = l_Lean_Compiler_LCNF_Simp_simp___lambda__2(x_1, x_15, x_5, x_2, x_3, x_32 lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_32); @@ -11401,6 +4730,7 @@ uint8_t x_35; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); @@ -11428,60 +4758,61 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); x_11 = l_Lean_Compiler_LCNF_Simp_simpFunDecl(x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); x_14 = lean_box(0); -x_15 = lean_box(x_6); -x_16 = lean_apply_9(x_1, x_12, x_14, x_4, x_5, x_15, x_7, x_8, x_9, x_13); -return x_16; +x_15 = lean_apply_9(x_1, x_12, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_13); +return x_15; } else { -uint8_t x_17; +uint8_t x_16; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_17 = !lean_is_exclusive(x_11); -if (x_17 == 0) +x_16 = !lean_is_exclusive(x_11); +if (x_16 == 0) { return x_11; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_18 = lean_ctor_get(x_11, 0); -x_19 = lean_ctor_get(x_11, 1); -lean_inc(x_19); +lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_17 = lean_ctor_get(x_11, 0); +x_18 = lean_ctor_get(x_11, 1); lean_inc(x_18); +lean_inc(x_17); lean_dec(x_11); -x_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; +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +return x_19; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { size_t x_14; size_t x_15; uint8_t x_16; @@ -11531,7 +4862,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__6(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* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__6(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* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; @@ -11539,6 +4870,7 @@ lean_dec(x_6); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); @@ -11572,6 +4904,7 @@ x_22 = l_Lean_Compiler_LCNF_Simp_eraseFunDecl(x_5, x_7, x_8, x_9, x_10, x_11, x_ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); x_23 = !lean_is_exclusive(x_22); @@ -11608,6 +4941,7 @@ x_29 = l_Lean_Compiler_LCNF_Simp_simp___lambda__5(x_1, x_15, x_5, x_2, x_3, x_28 lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); @@ -11623,6 +4957,7 @@ lean_dec(x_18); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_5); @@ -11636,6 +4971,7 @@ x_34 = l_Lean_Compiler_LCNF_Simp_simp___lambda__5(x_1, x_15, x_5, x_2, x_3, x_32 lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_32); @@ -11651,6 +4987,7 @@ uint8_t x_35; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); @@ -11678,7 +5015,7 @@ return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -11689,7 +5026,7 @@ lean_ctor_set(x_11, 1, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_2) == 0) @@ -11701,11 +5038,11 @@ x_11 = lean_ctor_get(x_2, 1); lean_inc(x_11); x_12 = lean_ctor_get(x_2, 2); lean_inc(x_12); -x_13 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simp___boxed), 8, 1); +x_13 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simp), 8, 1); lean_closure_set(x_13, 0, x_12); x_14 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simp___lambda__7___boxed), 9, 1); lean_closure_set(x_14, 0, x_2); -x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg___boxed), 9, 2); +x_15 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg), 9, 2); lean_closure_set(x_15, 0, x_13); lean_closure_set(x_15, 1, x_14); x_16 = l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(x_1, x_10, x_11, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9); @@ -11772,7 +5109,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -11961,6 +5298,7 @@ x_79 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_80 = l_Lean_Compiler_LCNF_normFunDeclImp(x_79, x_57, x_78, x_4, x_5, x_6, x_7, x_77); if (lean_obj_tag(x_80) == 0) { @@ -11973,6 +5311,7 @@ lean_dec(x_80); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_83 = l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(x_81, x_4, x_5, x_6, x_7, x_82); if (lean_obj_tag(x_83) == 0) { @@ -11999,6 +5338,7 @@ lean_dec(x_64); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_90 = !lean_is_exclusive(x_83); @@ -12028,6 +5368,7 @@ lean_dec(x_64); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_94 = !lean_is_exclusive(x_80); @@ -12075,6 +5416,7 @@ x_105 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_57); x_106 = l_Lean_Compiler_LCNF_normFunDeclImp(x_105, x_57, x_104, x_4, x_5, x_6, x_7, x_103); if (lean_obj_tag(x_106) == 0) @@ -12100,6 +5442,7 @@ lean_dec(x_57); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -12198,6 +5541,7 @@ x_139 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_140 = l_Lean_Compiler_LCNF_normFunDeclImp(x_139, x_117, x_138, x_4, x_5, x_6, x_7, x_137); if (lean_obj_tag(x_140) == 0) { @@ -12210,6 +5554,7 @@ lean_dec(x_140); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_143 = l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(x_141, x_4, x_5, x_6, x_7, x_142); if (lean_obj_tag(x_143) == 0) { @@ -12236,6 +5581,7 @@ lean_dec(x_124); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_150 = !lean_is_exclusive(x_143); @@ -12265,6 +5611,7 @@ lean_dec(x_124); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_154 = !lean_is_exclusive(x_140); @@ -12312,6 +5659,7 @@ x_165 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_117); x_166 = l_Lean_Compiler_LCNF_normFunDeclImp(x_165, x_117, x_164, x_4, x_5, x_6, x_7, x_163); if (lean_obj_tag(x_166) == 0) @@ -12337,6 +5685,7 @@ lean_dec(x_117); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -12390,6 +5739,7 @@ x_186 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarI lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_178); @@ -12412,6 +5762,7 @@ if (lean_is_exclusive(x_187)) { lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_188); @@ -12442,6 +5793,7 @@ lean_dec(x_215); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_191 = x_214; @@ -12457,6 +5809,7 @@ lean_dec(x_215); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_191 = x_214; @@ -12473,6 +5826,7 @@ x_222 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___sp lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_223 = lean_ctor_get(x_222, 1); @@ -12514,6 +5868,7 @@ lean_dec(x_177); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -12653,6 +6008,7 @@ lean_dec(x_177); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -12687,6 +6043,7 @@ lean_inc(x_236); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_236); @@ -12757,11 +6114,12 @@ x_261 = lean_ctor_get(x_260, 1); lean_inc(x_261); lean_dec(x_260); lean_inc(x_252); -x_262 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simp___lambda__8___boxed), 9, 1); +x_262 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simp___lambda__8), 9, 1); lean_closure_set(x_262, 0, x_252); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_243); @@ -13168,6 +6526,7 @@ lean_dec(x_240); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -13198,6 +6557,7 @@ lean_dec(x_236); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -13236,6 +6596,7 @@ lean_dec(x_236); lean_dec(x_6); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -13288,6 +6649,7 @@ x_353 = l_Lean_Compiler_LCNF_Simp_markUsedFVar(x_352, x_2, x_3, x_4, x_5, x_6, x lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_354 = !lean_is_exclusive(x_353); @@ -13373,6 +6735,7 @@ default: lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; uint8_t x_371; lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); x_366 = lean_ctor_get(x_35, 1); lean_inc(x_366); @@ -13631,6 +6994,7 @@ x_441 = 0; lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); x_442 = l_Lean_Compiler_LCNF_normFunDeclImp(x_441, x_419, x_440, x_4, x_5, x_396, x_7, x_439); if (lean_obj_tag(x_442) == 0) { @@ -13643,6 +7007,7 @@ lean_dec(x_442); lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); x_445 = l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(x_443, x_4, x_5, x_396, x_7, x_444); if (lean_obj_tag(x_445) == 0) { @@ -13669,6 +7034,7 @@ lean_dec(x_426); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_452 = lean_ctor_get(x_445, 0); @@ -13700,6 +7066,7 @@ lean_dec(x_426); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_456 = lean_ctor_get(x_442, 0); @@ -13749,6 +7116,7 @@ x_467 = 0; lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_419); x_468 = l_Lean_Compiler_LCNF_normFunDeclImp(x_467, x_419, x_466, x_4, x_5, x_396, x_7, x_465); if (lean_obj_tag(x_468) == 0) @@ -13774,6 +7142,7 @@ lean_dec(x_419); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -13874,6 +7243,7 @@ x_501 = 0; lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); x_502 = l_Lean_Compiler_LCNF_normFunDeclImp(x_501, x_479, x_500, x_4, x_5, x_396, x_7, x_499); if (lean_obj_tag(x_502) == 0) { @@ -13886,6 +7256,7 @@ lean_dec(x_502); lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); x_505 = l_Lean_Compiler_LCNF_FunDeclCore_etaExpand(x_503, x_4, x_5, x_396, x_7, x_504); if (lean_obj_tag(x_505) == 0) { @@ -13912,6 +7283,7 @@ lean_dec(x_486); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_512 = lean_ctor_get(x_505, 0); @@ -13943,6 +7315,7 @@ lean_dec(x_486); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_516 = lean_ctor_get(x_502, 0); @@ -13992,6 +7365,7 @@ x_527 = 0; lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_479); x_528 = l_Lean_Compiler_LCNF_normFunDeclImp(x_527, x_479, x_526, x_4, x_5, x_396, x_7, x_525); if (lean_obj_tag(x_528) == 0) @@ -14017,6 +7391,7 @@ lean_dec(x_479); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -14072,6 +7447,7 @@ x_548 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normFVarI lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_540); @@ -14094,6 +7470,7 @@ if (lean_is_exclusive(x_549)) { lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_550); @@ -14124,6 +7501,7 @@ lean_dec(x_571); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_553 = x_570; @@ -14139,6 +7517,7 @@ lean_dec(x_571); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_553 = x_570; @@ -14155,6 +7534,7 @@ x_578 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___sp lean_dec(x_7); lean_dec(x_396); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_579 = lean_ctor_get(x_578, 1); @@ -14197,6 +7577,7 @@ lean_dec(x_539); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -14314,6 +7695,7 @@ lean_dec(x_539); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -14350,6 +7732,7 @@ lean_inc(x_592); lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_592); @@ -14420,11 +7803,12 @@ x_617 = lean_ctor_get(x_616, 1); lean_inc(x_617); lean_dec(x_616); lean_inc(x_608); -x_618 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simp___lambda__8___boxed), 9, 1); +x_618 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_simp___lambda__8), 9, 1); lean_closure_set(x_618, 0, x_608); lean_inc(x_7); lean_inc(x_396); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_599); @@ -14776,6 +8160,7 @@ lean_dec(x_596); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -14808,6 +8193,7 @@ lean_dec(x_592); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -14841,6 +8227,7 @@ lean_dec(x_592); lean_dec(x_396); lean_dec(x_7); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -14895,6 +8282,7 @@ x_698 = l_Lean_Compiler_LCNF_Simp_markUsedFVar(x_697, x_2, x_3, x_4, x_5, x_396, lean_dec(x_7); lean_dec(x_396); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_699 = lean_ctor_get(x_698, 1); @@ -14953,6 +8341,7 @@ default: 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; uint8_t x_715; lean_object* x_716; size_t x_717; size_t x_718; uint8_t x_719; lean_dec(x_396); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); x_706 = lean_ctor_get(x_397, 1); lean_inc(x_706); @@ -15050,7 +8439,7 @@ return x_724; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -15061,6 +8450,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_11); @@ -15122,10 +8512,11 @@ x_40 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); x_41 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_36, x_40, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_41) == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); x_43 = lean_ctor_get(x_41, 1); @@ -15141,77 +8532,53 @@ lean_dec(x_14); x_47 = lean_ctor_get(x_42, 0); lean_inc(x_47); lean_dec(x_42); -x_48 = lean_st_ref_get(x_10, x_43); +x_48 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_46, x_47, x_5, x_6, x_7, x_8, x_9, x_10, x_43); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; x_49 = lean_ctor_get(x_48, 1); lean_inc(x_49); lean_dec(x_48); -x_50 = lean_st_ref_take(x_6, x_49); -x_51 = lean_ctor_get(x_50, 0); -lean_inc(x_51); -x_52 = lean_ctor_get(x_50, 1); +lean_ctor_set(x_4, 1, x_45); +x_50 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_50, 0, x_4); +x_15 = x_50; +x_16 = x_49; +goto block_23; +} +else +{ +uint8_t x_51; +lean_dec(x_45); +lean_dec(x_25); +lean_free_object(x_4); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_51 = !lean_is_exclusive(x_48); +if (x_51 == 0) +{ +return x_48; +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_48, 0); +x_53 = lean_ctor_get(x_48, 1); +lean_inc(x_53); lean_inc(x_52); -lean_dec(x_50); -x_53 = !lean_is_exclusive(x_51); -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; -x_54 = lean_ctor_get(x_51, 0); -x_55 = l_Lean_Expr_fvar___override(x_47); -x_56 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_54, x_46, x_55); -lean_ctor_set(x_51, 0, x_56); -x_57 = lean_st_ref_set(x_6, x_51, x_52); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -lean_ctor_set(x_4, 1, x_45); -x_59 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_59, 0, x_4); -x_15 = x_59; -x_16 = x_58; -goto block_23; +lean_dec(x_48); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_60 = lean_ctor_get(x_51, 0); -x_61 = lean_ctor_get(x_51, 1); -x_62 = lean_ctor_get(x_51, 2); -x_63 = lean_ctor_get_uint8(x_51, sizeof(void*)*6); -x_64 = lean_ctor_get(x_51, 3); -x_65 = lean_ctor_get(x_51, 4); -x_66 = lean_ctor_get(x_51, 5); -lean_inc(x_66); -lean_inc(x_65); -lean_inc(x_64); -lean_inc(x_62); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_51); -x_67 = l_Lean_Expr_fvar___override(x_47); -x_68 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_60, x_46, x_67); -x_69 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_69, 0, x_68); -lean_ctor_set(x_69, 1, x_61); -lean_ctor_set(x_69, 2, x_62); -lean_ctor_set(x_69, 3, x_64); -lean_ctor_set(x_69, 4, x_65); -lean_ctor_set(x_69, 5, x_66); -lean_ctor_set_uint8(x_69, sizeof(void*)*6, x_63); -x_70 = lean_st_ref_set(x_6, x_69, x_52); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -lean_ctor_set(x_4, 1, x_45); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_4); -x_15 = x_72; -x_16 = x_71; -goto block_23; } } else { -uint8_t x_73; +uint8_t x_55; lean_dec(x_25); lean_free_object(x_4); lean_dec(x_26); @@ -15219,546 +8586,470 @@ lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_73 = !lean_is_exclusive(x_41); -if (x_73 == 0) +lean_dec(x_7); +x_55 = !lean_is_exclusive(x_41); +if (x_55 == 0) { return x_41; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_41, 0); -x_75 = lean_ctor_get(x_41, 1); -lean_inc(x_75); -lean_inc(x_74); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_41, 0); +x_57 = lean_ctor_get(x_41, 1); +lean_inc(x_57); +lean_inc(x_56); lean_dec(x_41); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -lean_object* x_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; uint8_t x_84; -x_77 = lean_ctor_get(x_14, 0); -lean_inc(x_77); +lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_59 = lean_ctor_get(x_14, 0); +lean_inc(x_59); lean_dec(x_14); -x_78 = l_Lean_Expr_fvarId_x21(x_36); -x_79 = lean_st_ref_get(x_10, x_11); -x_80 = lean_ctor_get(x_79, 1); -lean_inc(x_80); -lean_dec(x_79); -x_81 = lean_st_ref_take(x_6, x_80); -x_82 = lean_ctor_get(x_81, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_81, 1); -lean_inc(x_83); -lean_dec(x_81); -x_84 = !lean_is_exclusive(x_82); -if (x_84 == 0) +x_60 = l_Lean_Expr_fvarId_x21(x_36); +x_61 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_59, x_60, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_61) == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_85 = lean_ctor_get(x_82, 0); -x_86 = l_Lean_Expr_fvar___override(x_78); -x_87 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_85, x_77, x_86); -lean_ctor_set(x_82, 0, x_87); -x_88 = lean_st_ref_set(x_6, x_82, x_83); -x_89 = lean_ctor_get(x_88, 1); -lean_inc(x_89); -lean_dec(x_88); -x_90 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_90, 0, x_4); -x_15 = x_90; -x_16 = x_89; +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 1); +lean_inc(x_62); +lean_dec(x_61); +x_63 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_63, 0, x_4); +x_15 = x_63; +x_16 = x_62; goto block_23; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; uint8_t x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; -x_91 = lean_ctor_get(x_82, 0); -x_92 = lean_ctor_get(x_82, 1); -x_93 = lean_ctor_get(x_82, 2); -x_94 = lean_ctor_get_uint8(x_82, sizeof(void*)*6); -x_95 = lean_ctor_get(x_82, 3); -x_96 = lean_ctor_get(x_82, 4); -x_97 = lean_ctor_get(x_82, 5); -lean_inc(x_97); -lean_inc(x_96); -lean_inc(x_95); -lean_inc(x_93); -lean_inc(x_92); -lean_inc(x_91); -lean_dec(x_82); -x_98 = l_Lean_Expr_fvar___override(x_78); -x_99 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_91, x_77, x_98); -x_100 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_92); -lean_ctor_set(x_100, 2, x_93); -lean_ctor_set(x_100, 3, x_95); -lean_ctor_set(x_100, 4, x_96); -lean_ctor_set(x_100, 5, x_97); -lean_ctor_set_uint8(x_100, sizeof(void*)*6, x_94); -x_101 = lean_st_ref_set(x_6, x_100, x_83); -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -x_103 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_103, 0, x_4); -x_15 = x_103; -x_16 = x_102; -goto block_23; -} -} -} -else -{ -lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; +uint8_t x_64; lean_dec(x_25); -x_104 = lean_array_fget(x_27, x_28); -x_105 = lean_unsigned_to_nat(1u); -x_106 = lean_nat_add(x_28, x_105); -lean_dec(x_28); -x_107 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_107, 0, x_27); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_107, 2, x_29); -x_108 = l_Lean_Expr_isFVar(x_104); -if (x_108 == 0) +lean_free_object(x_4); +lean_dec(x_26); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_64 = !lean_is_exclusive(x_61); +if (x_64 == 0) { -lean_object* x_109; lean_object* x_110; -x_109 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +return x_61; +} +else +{ +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_61, 0); +x_66 = lean_ctor_get(x_61, 1); +lean_inc(x_66); +lean_inc(x_65); +lean_dec(x_61); +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; +} +} +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; uint8_t x_72; +lean_dec(x_25); +x_68 = lean_array_fget(x_27, x_28); +x_69 = lean_unsigned_to_nat(1u); +x_70 = lean_nat_add(x_28, x_69); +lean_dec(x_28); +x_71 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_71, 0, x_27); +lean_ctor_set(x_71, 1, x_70); +lean_ctor_set(x_71, 2, x_29); +x_72 = l_Lean_Expr_isFVar(x_68); +if (x_72 == 0) +{ +lean_object* x_73; lean_object* x_74; +x_73 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_110 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_104, x_109, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_110) == 0) +lean_inc(x_7); +x_74 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_68, x_73, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; 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; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -x_112 = lean_ctor_get(x_110, 1); -lean_inc(x_112); -lean_dec(x_110); -lean_inc(x_111); -x_113 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_113, 0, x_111); -x_114 = lean_array_push(x_26, x_113); -x_115 = lean_ctor_get(x_14, 0); -lean_inc(x_115); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_75 = lean_ctor_get(x_74, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +lean_inc(x_75); +x_77 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_77, 0, x_75); +x_78 = lean_array_push(x_26, x_77); +x_79 = lean_ctor_get(x_14, 0); +lean_inc(x_79); lean_dec(x_14); -x_116 = lean_ctor_get(x_111, 0); -lean_inc(x_116); -lean_dec(x_111); -x_117 = lean_st_ref_get(x_10, x_112); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_119 = lean_st_ref_take(x_6, x_118); -x_120 = lean_ctor_get(x_119, 0); -lean_inc(x_120); -x_121 = lean_ctor_get(x_119, 1); -lean_inc(x_121); -lean_dec(x_119); -x_122 = lean_ctor_get(x_120, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_120, 1); -lean_inc(x_123); -x_124 = lean_ctor_get(x_120, 2); -lean_inc(x_124); -x_125 = lean_ctor_get_uint8(x_120, sizeof(void*)*6); -x_126 = lean_ctor_get(x_120, 3); -lean_inc(x_126); -x_127 = lean_ctor_get(x_120, 4); -lean_inc(x_127); -x_128 = lean_ctor_get(x_120, 5); -lean_inc(x_128); -if (lean_is_exclusive(x_120)) { - lean_ctor_release(x_120, 0); - lean_ctor_release(x_120, 1); - lean_ctor_release(x_120, 2); - lean_ctor_release(x_120, 3); - lean_ctor_release(x_120, 4); - lean_ctor_release(x_120, 5); - x_129 = x_120; -} else { - lean_dec_ref(x_120); - x_129 = lean_box(0); -} -x_130 = l_Lean_Expr_fvar___override(x_116); -x_131 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_122, x_115, x_130); -if (lean_is_scalar(x_129)) { - x_132 = lean_alloc_ctor(0, 6, 1); -} else { - x_132 = x_129; -} -lean_ctor_set(x_132, 0, x_131); -lean_ctor_set(x_132, 1, x_123); -lean_ctor_set(x_132, 2, x_124); -lean_ctor_set(x_132, 3, x_126); -lean_ctor_set(x_132, 4, x_127); -lean_ctor_set(x_132, 5, x_128); -lean_ctor_set_uint8(x_132, sizeof(void*)*6, x_125); -x_133 = lean_st_ref_set(x_6, x_132, x_121); -x_134 = lean_ctor_get(x_133, 1); -lean_inc(x_134); -lean_dec(x_133); -lean_ctor_set(x_4, 1, x_114); -lean_ctor_set(x_4, 0, x_107); -x_135 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_135, 0, x_4); -x_15 = x_135; -x_16 = x_134; +x_80 = lean_ctor_get(x_75, 0); +lean_inc(x_80); +lean_dec(x_75); +x_81 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_79, x_80, x_5, x_6, x_7, x_8, x_9, x_10, x_76); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; lean_object* x_83; +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); +lean_dec(x_81); +lean_ctor_set(x_4, 1, x_78); +lean_ctor_set(x_4, 0, x_71); +x_83 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_83, 0, x_4); +x_15 = x_83; +x_16 = x_82; goto block_23; } else { -lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; -lean_dec(x_107); +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +lean_dec(x_78); +lean_dec(x_71); +lean_free_object(x_4); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_84 = lean_ctor_get(x_81, 0); +lean_inc(x_84); +x_85 = lean_ctor_get(x_81, 1); +lean_inc(x_85); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_86 = x_81; +} else { + lean_dec_ref(x_81); + x_86 = lean_box(0); +} +if (lean_is_scalar(x_86)) { + x_87 = lean_alloc_ctor(1, 2, 0); +} else { + x_87 = x_86; +} +lean_ctor_set(x_87, 0, x_84); +lean_ctor_set(x_87, 1, x_85); +return x_87; +} +} +else +{ +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_dec(x_71); lean_free_object(x_4); lean_dec(x_26); lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_136 = lean_ctor_get(x_110, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_110, 1); -lean_inc(x_137); -if (lean_is_exclusive(x_110)) { - lean_ctor_release(x_110, 0); - lean_ctor_release(x_110, 1); - x_138 = x_110; +lean_dec(x_7); +x_88 = lean_ctor_get(x_74, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_74, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_74)) { + lean_ctor_release(x_74, 0); + lean_ctor_release(x_74, 1); + x_90 = x_74; } else { - lean_dec_ref(x_110); - x_138 = lean_box(0); + lean_dec_ref(x_74); + x_90 = lean_box(0); } -if (lean_is_scalar(x_138)) { - x_139 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); } else { - x_139 = x_138; + x_91 = x_90; } -lean_ctor_set(x_139, 0, x_136); -lean_ctor_set(x_139, 1, x_137); -return x_139; +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } else { -lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; uint8_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_140 = lean_ctor_get(x_14, 0); -lean_inc(x_140); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_14, 0); +lean_inc(x_92); lean_dec(x_14); -x_141 = l_Lean_Expr_fvarId_x21(x_104); -x_142 = lean_st_ref_get(x_10, x_11); -x_143 = lean_ctor_get(x_142, 1); -lean_inc(x_143); -lean_dec(x_142); -x_144 = lean_st_ref_take(x_6, x_143); -x_145 = lean_ctor_get(x_144, 0); -lean_inc(x_145); -x_146 = lean_ctor_get(x_144, 1); -lean_inc(x_146); -lean_dec(x_144); -x_147 = lean_ctor_get(x_145, 0); -lean_inc(x_147); -x_148 = lean_ctor_get(x_145, 1); -lean_inc(x_148); -x_149 = lean_ctor_get(x_145, 2); -lean_inc(x_149); -x_150 = lean_ctor_get_uint8(x_145, sizeof(void*)*6); -x_151 = lean_ctor_get(x_145, 3); -lean_inc(x_151); -x_152 = lean_ctor_get(x_145, 4); -lean_inc(x_152); -x_153 = lean_ctor_get(x_145, 5); -lean_inc(x_153); -if (lean_is_exclusive(x_145)) { - lean_ctor_release(x_145, 0); - lean_ctor_release(x_145, 1); - lean_ctor_release(x_145, 2); - lean_ctor_release(x_145, 3); - lean_ctor_release(x_145, 4); - lean_ctor_release(x_145, 5); - x_154 = x_145; -} else { - lean_dec_ref(x_145); - x_154 = lean_box(0); -} -x_155 = l_Lean_Expr_fvar___override(x_141); -x_156 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_147, x_140, x_155); -if (lean_is_scalar(x_154)) { - x_157 = lean_alloc_ctor(0, 6, 1); -} else { - x_157 = x_154; -} -lean_ctor_set(x_157, 0, x_156); -lean_ctor_set(x_157, 1, x_148); -lean_ctor_set(x_157, 2, x_149); -lean_ctor_set(x_157, 3, x_151); -lean_ctor_set(x_157, 4, x_152); -lean_ctor_set(x_157, 5, x_153); -lean_ctor_set_uint8(x_157, sizeof(void*)*6, x_150); -x_158 = lean_st_ref_set(x_6, x_157, x_146); -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -lean_ctor_set(x_4, 0, x_107); -x_160 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_160, 0, x_4); -x_15 = x_160; -x_16 = x_159; +x_93 = l_Lean_Expr_fvarId_x21(x_68); +x_94 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_92, x_93, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_94) == 0) +{ +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_94, 1); +lean_inc(x_95); +lean_dec(x_94); +lean_ctor_set(x_4, 0, x_71); +x_96 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_96, 0, x_4); +x_15 = x_96; +x_16 = x_95; goto block_23; } +else +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_71); +lean_free_object(x_4); +lean_dec(x_26); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_97 = lean_ctor_get(x_94, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_94, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_94)) { + lean_ctor_release(x_94, 0); + lean_ctor_release(x_94, 1); + x_99 = x_94; +} else { + lean_dec_ref(x_94); + x_99 = lean_box(0); +} +if (lean_is_scalar(x_99)) { + x_100 = lean_alloc_ctor(1, 2, 0); +} else { + x_100 = x_99; +} +lean_ctor_set(x_100, 0, x_97); +lean_ctor_set(x_100, 1, x_98); +return x_100; +} +} } } } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; uint8_t x_166; -x_161 = lean_ctor_get(x_4, 0); -x_162 = lean_ctor_get(x_4, 1); -lean_inc(x_162); -lean_inc(x_161); +lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; +x_101 = lean_ctor_get(x_4, 0); +x_102 = lean_ctor_get(x_4, 1); +lean_inc(x_102); +lean_inc(x_101); lean_dec(x_4); -x_163 = lean_ctor_get(x_161, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_161, 1); -lean_inc(x_164); -x_165 = lean_ctor_get(x_161, 2); -lean_inc(x_165); -x_166 = lean_nat_dec_lt(x_164, x_165); -if (x_166 == 0) +x_103 = lean_ctor_get(x_101, 0); +lean_inc(x_103); +x_104 = lean_ctor_get(x_101, 1); +lean_inc(x_104); +x_105 = lean_ctor_get(x_101, 2); +lean_inc(x_105); +x_106 = lean_nat_dec_lt(x_104, x_105); +if (x_106 == 0) { -lean_object* x_167; lean_object* x_168; -lean_dec(x_165); -lean_dec(x_164); -lean_dec(x_163); +lean_object* x_107; lean_object* x_108; +lean_dec(x_105); +lean_dec(x_104); +lean_dec(x_103); lean_dec(x_14); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_161); -lean_ctor_set(x_167, 1, x_162); -x_168 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_168, 0, x_167); -x_15 = x_168; +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_101); +lean_ctor_set(x_107, 1, x_102); +x_108 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_108, 0, x_107); +x_15 = x_108; x_16 = x_11; goto block_23; } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; -if (lean_is_exclusive(x_161)) { - lean_ctor_release(x_161, 0); - lean_ctor_release(x_161, 1); - lean_ctor_release(x_161, 2); - x_169 = x_161; +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; +if (lean_is_exclusive(x_101)) { + lean_ctor_release(x_101, 0); + lean_ctor_release(x_101, 1); + lean_ctor_release(x_101, 2); + x_109 = x_101; } else { - lean_dec_ref(x_161); - x_169 = lean_box(0); + lean_dec_ref(x_101); + x_109 = lean_box(0); } -x_170 = lean_array_fget(x_163, x_164); -x_171 = lean_unsigned_to_nat(1u); -x_172 = lean_nat_add(x_164, x_171); -lean_dec(x_164); -if (lean_is_scalar(x_169)) { - x_173 = lean_alloc_ctor(0, 3, 0); +x_110 = lean_array_fget(x_103, x_104); +x_111 = lean_unsigned_to_nat(1u); +x_112 = lean_nat_add(x_104, x_111); +lean_dec(x_104); +if (lean_is_scalar(x_109)) { + x_113 = lean_alloc_ctor(0, 3, 0); } else { - x_173 = x_169; + x_113 = x_109; } -lean_ctor_set(x_173, 0, x_163); -lean_ctor_set(x_173, 1, x_172); -lean_ctor_set(x_173, 2, x_165); -x_174 = l_Lean_Expr_isFVar(x_170); -if (x_174 == 0) +lean_ctor_set(x_113, 0, x_103); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set(x_113, 2, x_105); +x_114 = l_Lean_Expr_isFVar(x_110); +if (x_114 == 0) { -lean_object* x_175; lean_object* x_176; -x_175 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; +lean_object* x_115; lean_object* x_116; +x_115 = l_Lean_Compiler_LCNF_Simp_etaPolyApp_x3f___closed__2; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_176 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_170, x_175, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_176) == 0) +lean_inc(x_7); +x_116 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_110, x_115, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_116) == 0) { -lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_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; uint8_t 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; -x_177 = lean_ctor_get(x_176, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_176, 1); -lean_inc(x_178); -lean_dec(x_176); -lean_inc(x_177); -x_179 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_179, 0, x_177); -x_180 = lean_array_push(x_162, x_179); -x_181 = lean_ctor_get(x_14, 0); -lean_inc(x_181); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_117 = lean_ctor_get(x_116, 0); +lean_inc(x_117); +x_118 = lean_ctor_get(x_116, 1); +lean_inc(x_118); +lean_dec(x_116); +lean_inc(x_117); +x_119 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_119, 0, x_117); +x_120 = lean_array_push(x_102, x_119); +x_121 = lean_ctor_get(x_14, 0); +lean_inc(x_121); lean_dec(x_14); -x_182 = lean_ctor_get(x_177, 0); -lean_inc(x_182); -lean_dec(x_177); -x_183 = lean_st_ref_get(x_10, x_178); -x_184 = lean_ctor_get(x_183, 1); -lean_inc(x_184); -lean_dec(x_183); -x_185 = lean_st_ref_take(x_6, x_184); -x_186 = lean_ctor_get(x_185, 0); -lean_inc(x_186); -x_187 = lean_ctor_get(x_185, 1); -lean_inc(x_187); -lean_dec(x_185); -x_188 = lean_ctor_get(x_186, 0); -lean_inc(x_188); -x_189 = lean_ctor_get(x_186, 1); -lean_inc(x_189); -x_190 = lean_ctor_get(x_186, 2); -lean_inc(x_190); -x_191 = lean_ctor_get_uint8(x_186, sizeof(void*)*6); -x_192 = lean_ctor_get(x_186, 3); -lean_inc(x_192); -x_193 = lean_ctor_get(x_186, 4); -lean_inc(x_193); -x_194 = lean_ctor_get(x_186, 5); -lean_inc(x_194); -if (lean_is_exclusive(x_186)) { - lean_ctor_release(x_186, 0); - lean_ctor_release(x_186, 1); - lean_ctor_release(x_186, 2); - lean_ctor_release(x_186, 3); - lean_ctor_release(x_186, 4); - lean_ctor_release(x_186, 5); - x_195 = x_186; -} else { - lean_dec_ref(x_186); - x_195 = lean_box(0); -} -x_196 = l_Lean_Expr_fvar___override(x_182); -x_197 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_188, x_181, x_196); -if (lean_is_scalar(x_195)) { - x_198 = lean_alloc_ctor(0, 6, 1); -} else { - x_198 = x_195; -} -lean_ctor_set(x_198, 0, x_197); -lean_ctor_set(x_198, 1, x_189); -lean_ctor_set(x_198, 2, x_190); -lean_ctor_set(x_198, 3, x_192); -lean_ctor_set(x_198, 4, x_193); -lean_ctor_set(x_198, 5, x_194); -lean_ctor_set_uint8(x_198, sizeof(void*)*6, x_191); -x_199 = lean_st_ref_set(x_6, x_198, x_187); -x_200 = lean_ctor_get(x_199, 1); -lean_inc(x_200); -lean_dec(x_199); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_173); -lean_ctor_set(x_201, 1, x_180); -x_202 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_202, 0, x_201); -x_15 = x_202; -x_16 = x_200; +x_122 = lean_ctor_get(x_117, 0); +lean_inc(x_122); +lean_dec(x_117); +x_123 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_121, x_122, x_5, x_6, x_7, x_8, x_9, x_10, x_118); +if (lean_obj_tag(x_123) == 0) +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_123, 1); +lean_inc(x_124); +lean_dec(x_123); +x_125 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_125, 0, x_113); +lean_ctor_set(x_125, 1, x_120); +x_126 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_126, 0, x_125); +x_15 = x_126; +x_16 = x_124; goto block_23; } else { -lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -lean_dec(x_173); -lean_dec(x_162); +lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +lean_dec(x_120); +lean_dec(x_113); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_127 = lean_ctor_get(x_123, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_123, 1); +lean_inc(x_128); +if (lean_is_exclusive(x_123)) { + lean_ctor_release(x_123, 0); + lean_ctor_release(x_123, 1); + x_129 = x_123; +} else { + lean_dec_ref(x_123); + x_129 = lean_box(0); +} +if (lean_is_scalar(x_129)) { + x_130 = lean_alloc_ctor(1, 2, 0); +} else { + x_130 = x_129; +} +lean_ctor_set(x_130, 0, x_127); +lean_ctor_set(x_130, 1, x_128); +return x_130; +} +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +lean_dec(x_113); +lean_dec(x_102); lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -x_203 = lean_ctor_get(x_176, 0); -lean_inc(x_203); -x_204 = lean_ctor_get(x_176, 1); -lean_inc(x_204); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_205 = x_176; +lean_dec(x_7); +x_131 = lean_ctor_get(x_116, 0); +lean_inc(x_131); +x_132 = lean_ctor_get(x_116, 1); +lean_inc(x_132); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + x_133 = x_116; } else { - lean_dec_ref(x_176); - x_205 = lean_box(0); + lean_dec_ref(x_116); + x_133 = lean_box(0); } -if (lean_is_scalar(x_205)) { - x_206 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_133)) { + x_134 = lean_alloc_ctor(1, 2, 0); } else { - x_206 = x_205; + x_134 = x_133; } -lean_ctor_set(x_206, 0, x_203); -lean_ctor_set(x_206, 1, x_204); -return x_206; +lean_ctor_set(x_134, 0, x_131); +lean_ctor_set(x_134, 1, x_132); +return x_134; } } else { -lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; uint8_t x_217; 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; -x_207 = lean_ctor_get(x_14, 0); -lean_inc(x_207); +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_14, 0); +lean_inc(x_135); lean_dec(x_14); -x_208 = l_Lean_Expr_fvarId_x21(x_170); -x_209 = lean_st_ref_get(x_10, x_11); -x_210 = lean_ctor_get(x_209, 1); -lean_inc(x_210); -lean_dec(x_209); -x_211 = lean_st_ref_take(x_6, x_210); -x_212 = lean_ctor_get(x_211, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_211, 1); -lean_inc(x_213); -lean_dec(x_211); -x_214 = lean_ctor_get(x_212, 0); -lean_inc(x_214); -x_215 = lean_ctor_get(x_212, 1); -lean_inc(x_215); -x_216 = lean_ctor_get(x_212, 2); -lean_inc(x_216); -x_217 = lean_ctor_get_uint8(x_212, sizeof(void*)*6); -x_218 = lean_ctor_get(x_212, 3); -lean_inc(x_218); -x_219 = lean_ctor_get(x_212, 4); -lean_inc(x_219); -x_220 = lean_ctor_get(x_212, 5); -lean_inc(x_220); -if (lean_is_exclusive(x_212)) { - lean_ctor_release(x_212, 0); - lean_ctor_release(x_212, 1); - lean_ctor_release(x_212, 2); - lean_ctor_release(x_212, 3); - lean_ctor_release(x_212, 4); - lean_ctor_release(x_212, 5); - x_221 = x_212; -} else { - lean_dec_ref(x_212); - x_221 = lean_box(0); -} -x_222 = l_Lean_Expr_fvar___override(x_208); -x_223 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_214, x_207, x_222); -if (lean_is_scalar(x_221)) { - x_224 = lean_alloc_ctor(0, 6, 1); -} else { - x_224 = x_221; -} -lean_ctor_set(x_224, 0, x_223); -lean_ctor_set(x_224, 1, x_215); -lean_ctor_set(x_224, 2, x_216); -lean_ctor_set(x_224, 3, x_218); -lean_ctor_set(x_224, 4, x_219); -lean_ctor_set(x_224, 5, x_220); -lean_ctor_set_uint8(x_224, sizeof(void*)*6, x_217); -x_225 = lean_st_ref_set(x_6, x_224, x_213); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -lean_dec(x_225); -x_227 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_227, 0, x_173); -lean_ctor_set(x_227, 1, x_162); -x_228 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_228, 0, x_227); -x_15 = x_228; -x_16 = x_226; +x_136 = l_Lean_Expr_fvarId_x21(x_110); +x_137 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_135, x_136, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_137) == 0) +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_137, 1); +lean_inc(x_138); +lean_dec(x_137); +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_113); +lean_ctor_set(x_139, 1, x_102); +x_140 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_140, 0, x_139); +x_15 = x_140; +x_16 = x_138; goto block_23; } +else +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; +lean_dec(x_113); +lean_dec(x_102); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_141 = lean_ctor_get(x_137, 0); +lean_inc(x_141); +x_142 = lean_ctor_get(x_137, 1); +lean_inc(x_142); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_143 = x_137; +} else { + lean_dec_ref(x_137); + x_143 = lean_box(0); +} +if (lean_is_scalar(x_143)) { + x_144 = lean_alloc_ctor(1, 2, 0); +} else { + x_144 = x_143; +} +lean_ctor_set(x_144, 0, x_141); +lean_ctor_set(x_144, 1, x_142); +return x_144; +} +} } } block_23: @@ -15769,6 +9060,7 @@ lean_object* x_17; lean_object* x_18; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_17 = lean_ctor_get(x_15, 0); lean_inc(x_17); lean_dec(x_15); @@ -15794,7 +9086,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; @@ -15840,6 +9132,7 @@ lean_object* x_29; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -15906,6 +9199,7 @@ x_53 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_54 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(x_44, x_52, x_53, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_43); if (lean_obj_tag(x_54) == 0) { @@ -15921,6 +9215,7 @@ lean_dec(x_55); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_58 = l_Lean_Compiler_LCNF_Simp_simp(x_45, x_2, x_3, x_4, x_5, x_6, x_7, x_56); @@ -15972,6 +9267,7 @@ lean_free_object(x_28); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_69 = !lean_is_exclusive(x_58); @@ -16003,6 +9299,7 @@ lean_free_object(x_28); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_73 = !lean_is_exclusive(x_54); @@ -16145,6 +9442,7 @@ x_111 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_112 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(x_102, x_110, x_111, x_108, x_2, x_3, x_4, x_5, x_6, x_7, x_101); if (lean_obj_tag(x_112) == 0) { @@ -16160,6 +9458,7 @@ lean_dec(x_113); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_116 = l_Lean_Compiler_LCNF_Simp_simp(x_103, x_2, x_3, x_4, x_5, x_6, x_7, x_114); @@ -16209,6 +9508,7 @@ lean_dec(x_102); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_127 = lean_ctor_get(x_116, 0); @@ -16241,6 +9541,7 @@ lean_dec(x_102); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_131 = lean_ctor_get(x_112, 0); @@ -16350,6 +9651,7 @@ lean_object* x_152; lean_object* x_153; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -16421,6 +9723,7 @@ x_177 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_178 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(x_168, x_176, x_177, x_174, x_2, x_3, x_4, x_5, x_6, x_7, x_167); if (lean_obj_tag(x_178) == 0) { @@ -16436,6 +9739,7 @@ lean_dec(x_179); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_182 = l_Lean_Compiler_LCNF_Simp_simp(x_169, x_2, x_3, x_4, x_5, x_6, x_7, x_180); @@ -16490,6 +9794,7 @@ lean_dec(x_155); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_193 = lean_ctor_get(x_182, 0); @@ -16523,6 +9828,7 @@ lean_dec(x_155); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_197 = lean_ctor_get(x_178, 0); @@ -16619,7 +9925,7 @@ return x_212; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__2(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___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* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -16643,7 +9949,7 @@ x_18 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updatePara return x_18; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -16656,6 +9962,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -16667,88 +9974,89 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_3, x_2); -x_15 = lean_box(x_6); lean_inc(x_1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_16 = lean_apply_8(x_1, x_14, x_4, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_8(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_2, x_22); -x_24 = lean_array_fset(x_3, x_2, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_2, x_21); +x_23 = lean_array_fset(x_3, x_2, x_16); lean_dec(x_2); -x_2 = x_23; -x_3 = x_24; -x_10 = x_18; +x_2 = x_22; +x_3 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_2, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_2, x_25); lean_dec(x_2); -x_2 = x_27; -x_10 = x_18; +x_2 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -16757,7 +10065,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -16768,7 +10076,7 @@ x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LC return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpFunDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -16794,6 +10102,7 @@ lean_inc(x_18); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_19 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1(x_16, x_18, x_2, x_3, x_4, x_5, x_6, x_7, x_14); @@ -16810,6 +10119,7 @@ lean_inc(x_22); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_23 = l_Lean_Compiler_LCNF_Simp_simp(x_22, x_2, x_3, x_4, x_5, x_6, x_7, x_21); if (lean_obj_tag(x_23) == 0) { @@ -16823,6 +10133,7 @@ x_26 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_26; } else @@ -16833,6 +10144,7 @@ lean_dec(x_17); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_27 = !lean_is_exclusive(x_23); if (x_27 == 0) @@ -16861,6 +10173,7 @@ lean_dec(x_17); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -16888,378 +10201,184 @@ return x_34; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -lean_object* x_18 = _args[17]; -_start: -{ -uint8_t x_19; lean_object* x_20; -x_19 = lean_unbox(x_14); -lean_dec(x_14); -x_20 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_19, x_15, x_16, x_17, x_18); -lean_dec(x_12); -lean_dec(x_11); -return x_20; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_inlineApp_x3f(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Compiler_LCNF_normLetDecl___at_Lean_Compiler_LCNF_Simp_simp___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_12; +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Compiler_LCNF_normExpr___at_Lean_Compiler_LCNF_Simp_simp___spec__3(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__5(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__4(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___spec__2(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simp___spec__7(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simp___spec__6(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Compiler_LCNF_normExprs___at_Lean_Compiler_LCNF_Simp_simp___spec__2(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Simp_simp___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); -return x_14; -} -} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Lean_Compiler_LCNF_Simp_simp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); +lean_object* x_14; +x_14 = l_Lean_Compiler_LCNF_Simp_simp___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; uint8_t x_15; lean_object* x_16; +uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_4); lean_dec(x_4); -x_15 = lean_unbox(x_9); -lean_dec(x_9); -x_16 = l_Lean_Compiler_LCNF_Simp_simp___lambda__3(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13); -return x_16; +x_15 = l_Lean_Compiler_LCNF_Simp_simp___lambda__3(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_simp___lambda__4(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_simp___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_3); -return x_12; +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Lean_Compiler_LCNF_Simp_simp___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); +lean_object* x_14; +x_14 = l_Lean_Compiler_LCNF_Simp_simp___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; uint8_t x_15; lean_object* x_16; +uint8_t x_14; lean_object* x_15; x_14 = lean_unbox(x_4); lean_dec(x_4); -x_15 = lean_unbox(x_9); -lean_dec(x_9); -x_16 = l_Lean_Compiler_LCNF_Simp_simp___lambda__6(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_15, x_10, x_11, x_12, x_13); -return x_16; +x_15 = l_Lean_Compiler_LCNF_Simp_simp___lambda__6(x_1, x_2, x_3, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_simp___lambda__7(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_simp___lambda__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___lambda__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_simp___lambda__8(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simp(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); return x_10; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpCasesOnCtor_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__2(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Compiler_LCNF_normParam___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__2(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__4(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__3(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_1); lean_dec(x_1); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1(x_10, x_2, x_3, x_4, x_11, x_6, x_7, x_8, x_9); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpFunDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +x_11 = l_Lean_Compiler_LCNF_normParams___at_Lean_Compiler_LCNF_Simp_simpFunDecl___spec__1(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_11; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); @@ -17274,6 +10393,7 @@ lean_object* initialize_Lean_Compiler_LCNF_Simp_InlineProj(uint8_t builtin, lean lean_object* initialize_Lean_Compiler_LCNF_Simp_Used(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Simp_DefaultAlt(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_Simp_SimpValue(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_Simp_ConstantFold(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Compiler_LCNF_Simp_Main(uint8_t builtin, lean_object* w) { lean_object * res; @@ -17315,6 +10435,9 @@ lean_dec_ref(res); res = initialize_Lean_Compiler_LCNF_Simp_SimpValue(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_Simp_ConstantFold(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__1 = _init_l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__1(); lean_mark_persistent(l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__1); l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__2 = _init_l___private_Lean_Compiler_LCNF_Simp_Main_0__Lean_Compiler_LCNF_Simp_oneExitPointQuick_go___closed__2(); @@ -17343,26 +10466,6 @@ l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__2 = _init_l_Lean_C lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__2); l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__3(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___lambda__2___closed__3); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__1); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__2(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__2); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__3(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__3); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__4(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__4); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__5(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__5); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__6(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__6); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__7 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__7(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__7); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__8 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__8(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__8); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__9 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__9(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__9); -l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__10 = _init_l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__10(); -lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_inlineApp_x3f___closed__10); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpM.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpM.c index 274624a585..b42cbfadb6 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpM.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpM.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Compiler.LCNF.Simp.SimpM -// Imports: Init Lean.Compiler.ImplementedByAttr Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Simp.JpCases Lean.Compiler.LCNF.Simp.FunDeclInfo Lean.Compiler.LCNF.Simp.Config +// Imports: Init Lean.Compiler.ImplementedByAttr Lean.Compiler.LCNF.Renaming Lean.Compiler.LCNF.ElimDead Lean.Compiler.LCNF.AlphaEqv Lean.Compiler.LCNF.PrettyPrinter Lean.Compiler.LCNF.Bind Lean.Compiler.LCNF.Simp.JpCases Lean.Compiler.LCNF.Simp.FunDeclInfo Lean.Compiler.LCNF.Simp.Config #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -17,80 +17,94 @@ static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_State_subst___default; +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth(lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__6; lean_object* l_Lean_stringToMessageData(lean_object*); +extern lean_object* l_Lean_Compiler_LCNF_anyTypeExpr; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce___closed__1; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +lean_object* l_Lean_Compiler_LCNF_mkLcCast(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth(lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunOcc(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunOcc(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_sub(size_t, size_t); lean_object* lean_environment_find(lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); -static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_State_visited___default; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__10; static lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__5; -lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_shift_right(size_t, size_t); +lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__2; -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1; +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor(lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withInlining___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___boxed(lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1___closed__1; +lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); extern lean_object* l_Lean_Compiler_LCNF_erasedExpr; lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_addHo(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint64_t l_Lean_Name_hash___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_inheritedTraceOptions; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrCore(lean_object*, uint8_t, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_attachCodeDecls(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__7; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_Context_discrCtorMap___default; lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -99,107 +113,149 @@ static lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth__ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___boxed(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___closed__1; lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__8___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFVarSubst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_State_used___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline(lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); +lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__3; +lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__5; +uint8_t l_Lean_Name_isInternal(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse; -lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Nat_repr(lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_Simp_withInlining___spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_withInlining___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__3(lean_object*, lean_object*, uint8_t); +size_t lean_usize_shift_left(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunOcc___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_withInlining___spec__4(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__8(lean_object*, size_t, lean_object*); +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__9; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_mul(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__8; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_findCtor___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addMustInline(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addMustInline(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_Context_inlineStack___default; -static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__4; +lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFVarSubst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_usize_land(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__1; lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__2; static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__4; -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___closed__1; +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__8(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__8; static lean_object* l_Lean_Compiler_LCNF_Simp_Context_config___default___closed__1; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_State_binderRenaming___default; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__1; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_le(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); +lean_object* l_Lean_Compiler_LCNF_getConfig(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_RBNode_insert___at_Lean_Elab_Term_withAuxDecl___spec__1(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__3; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Simp_State_simplified___default; +static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__7(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default; uint8_t l_Lean_Compiler_LCNF_Code_sizeLe(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_Expr_isAnyType(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__1; +lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_State_funDeclInfoMap___default; lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withInlining___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__2; +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__6; +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2; static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__4; static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__2; static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunHoOcc___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isSmall(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isSmall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2___closed__2; +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_State_used___default; static lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunHoOcc(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunHoOcc(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1; lean_object* l_Lean_Expr_getAppFn(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__1; +lean_object* lean_usize_to_nat(size_t); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_findCtor___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isSmall___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_State_inlineLocal___default; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2___closed__1; -static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__5; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__1; +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__3; static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addMustInline___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); @@ -209,15 +265,13 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline(lean_object*); static lean_object* _init_l_Lean_Compiler_LCNF_Simp_Context_config___default___closed__1() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1u); -x_2 = 0; -x_3 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 2, x_2); -return x_3; +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_2, 0, x_1); +lean_ctor_set_uint8(x_2, 1, x_1); +lean_ctor_set_uint8(x_2, 2, x_1); +return x_2; } } static lean_object* _init_l_Lean_Compiler_LCNF_Simp_Context_config___default() { @@ -244,6 +298,44 @@ x_1 = lean_box(0); return x_1; } } +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__1; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__3; +return x_1; +} +} static lean_object* _init_l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1() { _start: { @@ -278,6 +370,14 @@ x_1 = l_Lean_Compiler_LCNF_Simp_State_used___default___closed__1; return x_1; } } +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_State_binderRenaming___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} static lean_object* _init_l_Lean_Compiler_LCNF_Simp_State_funDeclInfoMap___default() { _start: { @@ -318,55 +418,55 @@ x_1 = lean_unsigned_to_nat(0u); return x_1; } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(x_5); +lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_11 = lean_apply_7(x_1, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +x_10 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_box(x_5); -x_15 = lean_apply_8(x_2, x_12, x_3, x_4, x_14, x_6, x_7, x_8, x_13); -return x_15; +lean_dec(x_10); +x_13 = lean_apply_8(x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_13; } else { -uint8_t x_16; +uint8_t x_14; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) { -return x_11; +return x_10; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_10); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } } @@ -375,11 +475,11 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFV _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg___boxed), 9, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg), 9, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -408,7 +508,7 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -442,54 +542,42 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___closed__1; x_2 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg___boxed), 9, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg), 9, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_ReaderT_bind___at_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___spec__1___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstSimpMFalse___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -536,66 +624,68 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_24 = lean_ctor_get(x_12, 0); x_25 = lean_ctor_get(x_12, 1); x_26 = lean_ctor_get(x_12, 2); -x_27 = lean_ctor_get_uint8(x_12, sizeof(void*)*6); -x_28 = lean_ctor_get(x_12, 3); +x_27 = lean_ctor_get(x_12, 3); +x_28 = lean_ctor_get_uint8(x_12, sizeof(void*)*7); x_29 = lean_ctor_get(x_12, 4); x_30 = lean_ctor_get(x_12, 5); +x_31 = lean_ctor_get(x_12, 6); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_dec(x_12); -x_31 = lean_apply_1(x_1, x_24); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_31); -lean_ctor_set(x_32, 1, x_25); -lean_ctor_set(x_32, 2, x_26); -lean_ctor_set(x_32, 3, x_28); -lean_ctor_set(x_32, 4, x_29); -lean_ctor_set(x_32, 5, x_30); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_27); -x_33 = lean_st_ref_set(x_3, x_32, x_13); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; +x_32 = lean_apply_1(x_1, x_24); +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_25); +lean_ctor_set(x_33, 2, x_26); +lean_ctor_set(x_33, 3, x_27); +lean_ctor_set(x_33, 4, x_29); +lean_ctor_set(x_33, 5, x_30); +lean_ctor_set(x_33, 6, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_28); +x_34 = lean_st_ref_set(x_3, x_33, x_13); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_33); - x_35 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_instMonadFVarSubstStateSimpM(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_Simp_findCtor___spec__1(lean_object* x_1, lean_object* x_2) { @@ -638,7 +728,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; lean_object* x_11; @@ -746,80 +836,49 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_findCtor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_findCtor(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_findCtor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } static lean_object* _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__1() { _start: { -lean_object* x_1; -x_1 = l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_box(0), lean_box(0)); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__1; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2; +x_2 = lean_unsigned_to_nat(0u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__4() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__5() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = lean_unsigned_to_nat(0u); -x_2 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; -x_3 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__4; -x_4 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__5; +x_2 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__1; +x_3 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__2; +x_4 = l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__3; x_5 = lean_alloc_ctor(0, 8, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_1); @@ -832,7 +891,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -857,7 +916,7 @@ lean_inc(x_17); lean_dec(x_16); x_18 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_17); x_19 = lean_ctor_get(x_6, 2); -x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_19); x_21 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_21, 0, x_13); @@ -888,7 +947,7 @@ lean_inc(x_26); lean_dec(x_24); x_27 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_26); x_28 = lean_ctor_get(x_6, 2); -x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_28); x_30 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_30, 0, x_13); @@ -943,7 +1002,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -1035,7 +1094,7 @@ return x_37; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -1060,7 +1119,7 @@ lean_inc(x_17); lean_dec(x_16); x_18 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_17); x_19 = lean_ctor_get(x_6, 2); -x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_19); x_21 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_21, 0, x_13); @@ -1091,7 +1150,7 @@ lean_inc(x_26); lean_dec(x_24); x_27 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_26); x_28 = lean_ctor_get(x_6, 2); -x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_28); x_30 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_30, 0, x_13); @@ -1129,7 +1188,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -1219,7 +1278,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -1267,7 +1326,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -3695,7 +3754,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; @@ -3737,65 +3796,67 @@ lean_dec(x_26); x_29 = !lean_is_exclusive(x_5); if (x_29 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_object* x_30; lean_object* x_31; lean_object* x_32; x_30 = lean_ctor_get(x_5, 2); x_31 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__7(x_30, x_1, x_27); lean_ctor_set(x_5, 2, x_31); -x_32 = lean_box(x_7); -x_33 = lean_apply_7(x_4, x_5, x_6, x_32, x_8, x_9, x_10, x_28); -return x_33; +x_32 = lean_apply_7(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +return x_32; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_34 = lean_ctor_get(x_5, 0); -x_35 = lean_ctor_get(x_5, 1); -x_36 = lean_ctor_get(x_5, 2); -x_37 = lean_ctor_get(x_5, 3); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_33 = lean_ctor_get(x_5, 0); +x_34 = lean_ctor_get(x_5, 1); +x_35 = lean_ctor_get(x_5, 2); +x_36 = lean_ctor_get(x_5, 3); +x_37 = lean_ctor_get(x_5, 4); lean_inc(x_37); lean_inc(x_36); lean_inc(x_35); lean_inc(x_34); +lean_inc(x_33); lean_dec(x_5); -x_38 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__7(x_36, x_1, x_27); -x_39 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_39, 0, x_34); -lean_ctor_set(x_39, 1, x_35); +x_38 = l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__7(x_35, x_1, x_27); +x_39 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_39, 0, x_33); +lean_ctor_set(x_39, 1, x_34); lean_ctor_set(x_39, 2, x_38); -lean_ctor_set(x_39, 3, x_37); -x_40 = lean_box(x_7); -x_41 = lean_apply_7(x_4, x_39, x_6, x_40, x_8, x_9, x_10, x_28); -return x_41; +lean_ctor_set(x_39, 3, x_36); +lean_ctor_set(x_39, 4, x_37); +x_40 = lean_apply_7(x_4, x_39, x_6, x_7, x_8, x_9, x_10, x_28); +return x_40; } } else { -uint8_t x_42; +uint8_t x_41; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_12); -if (x_42 == 0) +x_41 = !lean_is_exclusive(x_12); +if (x_41 == 0) { return x_12; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_12, 0); -x_44 = lean_ctor_get(x_12, 1); -lean_inc(x_44); +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_12, 0); +x_43 = lean_ctor_get(x_12, 1); lean_inc(x_43); +lean_inc(x_42); lean_dec(x_12); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; } } } @@ -3811,112 +3872,104 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__6(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Simp_withDiscrCtor___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); -return x_13; +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -3935,7 +3988,7 @@ if (x_12 == 0) { uint8_t x_13; lean_object* x_14; uint8_t x_15; x_13 = 1; -lean_ctor_set_uint8(x_10, sizeof(void*)*6, x_13); +lean_ctor_set_uint8(x_10, sizeof(void*)*7, x_13); x_14 = lean_st_ref_set(x_1, x_10, x_11); x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) @@ -3962,13 +4015,15 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; 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_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; 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_21 = lean_ctor_get(x_10, 0); x_22 = lean_ctor_get(x_10, 1); x_23 = lean_ctor_get(x_10, 2); x_24 = lean_ctor_get(x_10, 3); x_25 = lean_ctor_get(x_10, 4); x_26 = lean_ctor_get(x_10, 5); +x_27 = lean_ctor_get(x_10, 6); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); @@ -3976,35 +4031,36 @@ lean_inc(x_23); lean_inc(x_22); lean_inc(x_21); lean_dec(x_10); -x_27 = 1; -x_28 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_28, 0, x_21); -lean_ctor_set(x_28, 1, x_22); -lean_ctor_set(x_28, 2, x_23); -lean_ctor_set(x_28, 3, x_24); -lean_ctor_set(x_28, 4, x_25); -lean_ctor_set(x_28, 5, x_26); -lean_ctor_set_uint8(x_28, sizeof(void*)*6, x_27); -x_29 = lean_st_ref_set(x_1, x_28, x_11); -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -if (lean_is_exclusive(x_29)) { - lean_ctor_release(x_29, 0); - lean_ctor_release(x_29, 1); - x_31 = x_29; +x_28 = 1; +x_29 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_29, 0, x_21); +lean_ctor_set(x_29, 1, x_22); +lean_ctor_set(x_29, 2, x_23); +lean_ctor_set(x_29, 3, x_24); +lean_ctor_set(x_29, 4, x_25); +lean_ctor_set(x_29, 5, x_26); +lean_ctor_set(x_29, 6, x_27); +lean_ctor_set_uint8(x_29, sizeof(void*)*7, x_28); +x_30 = lean_st_ref_set(x_1, x_29, x_11); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +if (lean_is_exclusive(x_30)) { + lean_ctor_release(x_30, 0); + lean_ctor_release(x_30, 1); + x_32 = x_30; } else { - lean_dec_ref(x_29); - x_31 = lean_box(0); + lean_dec_ref(x_30); + x_32 = lean_box(0); } -x_32 = lean_box(0); -if (lean_is_scalar(x_31)) { - x_33 = lean_alloc_ctor(0, 2, 0); +x_33 = lean_box(0); +if (lean_is_scalar(x_32)) { + x_34 = lean_alloc_ctor(0, 2, 0); } else { - x_33 = x_31; + x_34 = x_32; } -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_30); -return x_33; +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_31); +return x_34; } } } @@ -4019,15 +4075,14 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___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; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___boxed(lean_object* x_1) { @@ -4039,136 +4094,7 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_7 = lean_st_ref_get(x_5, x_6); -x_8 = lean_ctor_get(x_7, 1); -lean_inc(x_8); -lean_dec(x_7); -x_9 = lean_st_ref_take(x_1, 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_is_exclusive(x_10); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_10, 3); -x_14 = lean_unsigned_to_nat(1u); -x_15 = lean_nat_add(x_13, x_14); -lean_dec(x_13); -lean_ctor_set(x_10, 3, x_15); -x_16 = lean_st_ref_set(x_1, x_10, x_11); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_dec(x_18); -x_19 = lean_box(0); -lean_ctor_set(x_16, 0, x_19); -return x_16; -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_16, 1); -lean_inc(x_20); -lean_dec(x_16); -x_21 = lean_box(0); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -return x_22; -} -} -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_23 = lean_ctor_get(x_10, 0); -x_24 = lean_ctor_get(x_10, 1); -x_25 = lean_ctor_get(x_10, 2); -x_26 = lean_ctor_get_uint8(x_10, sizeof(void*)*6); -x_27 = lean_ctor_get(x_10, 3); -x_28 = lean_ctor_get(x_10, 4); -x_29 = lean_ctor_get(x_10, 5); -lean_inc(x_29); -lean_inc(x_28); -lean_inc(x_27); -lean_inc(x_25); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_10); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_27, x_30); -lean_dec(x_27); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_24); -lean_ctor_set(x_32, 2, x_25); -lean_ctor_set(x_32, 3, x_31); -lean_ctor_set(x_32, 4, x_28); -lean_ctor_set(x_32, 5, x_29); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_26); -x_33 = lean_st_ref_set(x_1, x_32, x_11); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; -} else { - lean_dec_ref(x_33); - x_35 = lean_box(0); -} -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); -} else { - x_37 = x_35; -} -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_incVisited___rarg___boxed), 6, 0); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___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; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Simp_incVisited___rarg(x_1, x_7, x_3, x_4, x_5, x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l_Lean_Compiler_LCNF_Simp_incVisited(x_1); -lean_dec(x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -4217,87 +4143,89 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_23 = lean_ctor_get(x_10, 0); x_24 = lean_ctor_get(x_10, 1); x_25 = lean_ctor_get(x_10, 2); -x_26 = lean_ctor_get_uint8(x_10, sizeof(void*)*6); -x_27 = lean_ctor_get(x_10, 3); +x_26 = lean_ctor_get(x_10, 3); +x_27 = lean_ctor_get_uint8(x_10, sizeof(void*)*7); x_28 = lean_ctor_get(x_10, 4); x_29 = lean_ctor_get(x_10, 5); +x_30 = lean_ctor_get(x_10, 6); +lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); +lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_28, x_30); +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_add(x_28, x_31); lean_dec(x_28); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_24); -lean_ctor_set(x_32, 2, x_25); -lean_ctor_set(x_32, 3, x_27); -lean_ctor_set(x_32, 4, x_31); -lean_ctor_set(x_32, 5, x_29); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_26); -x_33 = lean_st_ref_set(x_1, x_32, x_11); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_25); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_32); +lean_ctor_set(x_33, 5, x_29); +lean_ctor_set(x_33, 6, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_27); +x_34 = lean_st_ref_set(x_1, x_33, x_11); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_33); - x_35 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_incInline___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_incVisited___rarg___boxed), 6, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___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; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Simp_incInline___rarg(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Simp_incVisited___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incVisited___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Compiler_LCNF_Simp_incInline(x_1); +x_2 = l_Lean_Compiler_LCNF_Simp_incVisited(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -4346,52 +4274,186 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_23 = lean_ctor_get(x_10, 0); x_24 = lean_ctor_get(x_10, 1); x_25 = lean_ctor_get(x_10, 2); -x_26 = lean_ctor_get_uint8(x_10, sizeof(void*)*6); -x_27 = lean_ctor_get(x_10, 3); +x_26 = lean_ctor_get(x_10, 3); +x_27 = lean_ctor_get_uint8(x_10, sizeof(void*)*7); x_28 = lean_ctor_get(x_10, 4); x_29 = lean_ctor_get(x_10, 5); +x_30 = lean_ctor_get(x_10, 6); +lean_inc(x_30); lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); +lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_inc(x_23); lean_dec(x_10); -x_30 = lean_unsigned_to_nat(1u); -x_31 = lean_nat_add(x_29, x_30); +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_add(x_29, x_31); lean_dec(x_29); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_24); -lean_ctor_set(x_32, 2, x_25); -lean_ctor_set(x_32, 3, x_27); -lean_ctor_set(x_32, 4, x_28); -lean_ctor_set(x_32, 5, x_31); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_26); -x_33 = lean_st_ref_set(x_1, x_32, x_11); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_25); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_28); +lean_ctor_set(x_33, 5, x_32); +lean_ctor_set(x_33, 6, x_30); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_27); +x_34 = lean_st_ref_set(x_1, x_33, x_11); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_33); - x_35 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_incInline___rarg___boxed), 6, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___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_Lean_Compiler_LCNF_Simp_incInline___rarg(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInline___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Compiler_LCNF_Simp_incInline(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_7 = lean_st_ref_get(x_5, x_6); +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +lean_dec(x_7); +x_9 = lean_st_ref_take(x_1, 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_is_exclusive(x_10); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; +x_13 = lean_ctor_get(x_10, 6); +x_14 = lean_unsigned_to_nat(1u); +x_15 = lean_nat_add(x_13, x_14); +lean_dec(x_13); +lean_ctor_set(x_10, 6, x_15); +x_16 = lean_st_ref_set(x_1, x_10, x_11); +x_17 = !lean_is_exclusive(x_16); +if (x_17 == 0) +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_16, 0); +lean_dec(x_18); +x_19 = lean_box(0); +lean_ctor_set(x_16, 0, x_19); +return x_16; +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_16, 1); +lean_inc(x_20); +lean_dec(x_16); +x_21 = lean_box(0); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +return x_22; +} +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_23 = lean_ctor_get(x_10, 0); +x_24 = lean_ctor_get(x_10, 1); +x_25 = lean_ctor_get(x_10, 2); +x_26 = lean_ctor_get(x_10, 3); +x_27 = lean_ctor_get_uint8(x_10, sizeof(void*)*7); +x_28 = lean_ctor_get(x_10, 4); +x_29 = lean_ctor_get(x_10, 5); +x_30 = lean_ctor_get(x_10, 6); +lean_inc(x_30); +lean_inc(x_29); +lean_inc(x_28); +lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_10); +x_31 = lean_unsigned_to_nat(1u); +x_32 = lean_nat_add(x_30, x_31); +lean_dec(x_30); +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_23); +lean_ctor_set(x_33, 1, x_24); +lean_ctor_set(x_33, 2, x_25); +lean_ctor_set(x_33, 3, x_26); +lean_ctor_set(x_33, 4, x_28); +lean_ctor_set(x_33, 5, x_29); +lean_ctor_set(x_33, 6, x_32); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_27); +x_34 = lean_st_ref_set(x_1, x_33, x_11); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; +} else { + lean_dec_ref(x_34); + x_36 = lean_box(0); +} +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); +} else { + x_38 = x_36; +} +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } @@ -4406,15 +4468,14 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___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; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Simp_incInlineLocal___rarg(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_incInlineLocal___boxed(lean_object* x_1) { @@ -4426,7 +4487,7 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addMustInline(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addMustInline(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -4444,10 +4505,10 @@ x_14 = !lean_is_exclusive(x_12); if (x_14 == 0) { lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_15 = lean_ctor_get(x_12, 2); +x_15 = lean_ctor_get(x_12, 3); x_16 = 2; x_17 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__3(x_15, x_1, x_16); -lean_ctor_set(x_12, 2, x_17); +lean_ctor_set(x_12, 3, x_17); x_18 = lean_st_ref_set(x_3, x_12, x_13); x_19 = !lean_is_exclusive(x_18); if (x_19 == 0) @@ -4474,70 +4535,72 @@ return x_24; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; x_25 = lean_ctor_get(x_12, 0); x_26 = lean_ctor_get(x_12, 1); x_27 = lean_ctor_get(x_12, 2); -x_28 = lean_ctor_get_uint8(x_12, sizeof(void*)*6); -x_29 = lean_ctor_get(x_12, 3); +x_28 = lean_ctor_get(x_12, 3); +x_29 = lean_ctor_get_uint8(x_12, sizeof(void*)*7); x_30 = lean_ctor_get(x_12, 4); x_31 = lean_ctor_get(x_12, 5); +x_32 = lean_ctor_get(x_12, 6); +lean_inc(x_32); lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); +lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_dec(x_12); -x_32 = 2; -x_33 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__3(x_27, x_1, x_32); -x_34 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_34, 0, x_25); -lean_ctor_set(x_34, 1, x_26); -lean_ctor_set(x_34, 2, x_33); -lean_ctor_set(x_34, 3, x_29); -lean_ctor_set(x_34, 4, x_30); -lean_ctor_set(x_34, 5, x_31); -lean_ctor_set_uint8(x_34, sizeof(void*)*6, x_28); -x_35 = lean_st_ref_set(x_3, x_34, x_13); -x_36 = lean_ctor_get(x_35, 1); -lean_inc(x_36); -if (lean_is_exclusive(x_35)) { - lean_ctor_release(x_35, 0); - lean_ctor_release(x_35, 1); - x_37 = x_35; +x_33 = 2; +x_34 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__3(x_28, x_1, x_33); +x_35 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_35, 0, x_25); +lean_ctor_set(x_35, 1, x_26); +lean_ctor_set(x_35, 2, x_27); +lean_ctor_set(x_35, 3, x_34); +lean_ctor_set(x_35, 4, x_30); +lean_ctor_set(x_35, 5, x_31); +lean_ctor_set(x_35, 6, x_32); +lean_ctor_set_uint8(x_35, sizeof(void*)*7, x_29); +x_36 = lean_st_ref_set(x_3, x_35, x_13); +x_37 = lean_ctor_get(x_36, 1); +lean_inc(x_37); +if (lean_is_exclusive(x_36)) { + lean_ctor_release(x_36, 0); + lean_ctor_release(x_36, 1); + x_38 = x_36; } else { - lean_dec_ref(x_35); - x_37 = lean_box(0); + lean_dec_ref(x_36); + x_38 = lean_box(0); } -x_38 = lean_box(0); -if (lean_is_scalar(x_37)) { - x_39 = lean_alloc_ctor(0, 2, 0); +x_39 = lean_box(0); +if (lean_is_scalar(x_38)) { + x_40 = lean_alloc_ctor(0, 2, 0); } else { - x_39 = x_37; + x_40 = x_38; } -lean_ctor_set(x_39, 0, x_38); -lean_ctor_set(x_39, 1, x_36); -return x_39; +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_37); +return x_40; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addMustInline___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_addMustInline(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_addMustInline(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunOcc(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunOcc(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -4555,9 +4618,9 @@ x_14 = !lean_is_exclusive(x_12); if (x_14 == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_15 = lean_ctor_get(x_12, 2); +x_15 = lean_ctor_get(x_12, 3); x_16 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add(x_15, x_1); -lean_ctor_set(x_12, 2, x_16); +lean_ctor_set(x_12, 3, x_16); x_17 = lean_st_ref_set(x_3, x_12, x_13); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) @@ -4584,69 +4647,71 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_24 = lean_ctor_get(x_12, 0); x_25 = lean_ctor_get(x_12, 1); x_26 = lean_ctor_get(x_12, 2); -x_27 = lean_ctor_get_uint8(x_12, sizeof(void*)*6); -x_28 = lean_ctor_get(x_12, 3); +x_27 = lean_ctor_get(x_12, 3); +x_28 = lean_ctor_get_uint8(x_12, sizeof(void*)*7); x_29 = lean_ctor_get(x_12, 4); x_30 = lean_ctor_get(x_12, 5); +x_31 = lean_ctor_get(x_12, 6); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_dec(x_12); -x_31 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add(x_26, x_1); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_25); -lean_ctor_set(x_32, 2, x_31); -lean_ctor_set(x_32, 3, x_28); -lean_ctor_set(x_32, 4, x_29); -lean_ctor_set(x_32, 5, x_30); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_27); -x_33 = lean_st_ref_set(x_3, x_32, x_13); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; +x_32 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add(x_27, x_1); +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_25); +lean_ctor_set(x_33, 2, x_26); +lean_ctor_set(x_33, 3, x_32); +lean_ctor_set(x_33, 4, x_29); +lean_ctor_set(x_33, 5, x_30); +lean_ctor_set(x_33, 6, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_28); +x_34 = lean_st_ref_set(x_3, x_33, x_13); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_33); - x_35 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunOcc___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_addFunOcc(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_addFunOcc(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunHoOcc(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunHoOcc(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -4664,9 +4729,9 @@ x_14 = !lean_is_exclusive(x_12); if (x_14 == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_15 = lean_ctor_get(x_12, 2); +x_15 = lean_ctor_get(x_12, 3); x_16 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_addHo(x_15, x_1); -lean_ctor_set(x_12, 2, x_16); +lean_ctor_set(x_12, 3, x_16); x_17 = lean_st_ref_set(x_3, x_12, x_13); x_18 = !lean_is_exclusive(x_17); if (x_18 == 0) @@ -4693,69 +4758,71 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_24 = lean_ctor_get(x_12, 0); x_25 = lean_ctor_get(x_12, 1); x_26 = lean_ctor_get(x_12, 2); -x_27 = lean_ctor_get_uint8(x_12, sizeof(void*)*6); -x_28 = lean_ctor_get(x_12, 3); +x_27 = lean_ctor_get(x_12, 3); +x_28 = lean_ctor_get_uint8(x_12, sizeof(void*)*7); x_29 = lean_ctor_get(x_12, 4); x_30 = lean_ctor_get(x_12, 5); +x_31 = lean_ctor_get(x_12, 6); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_dec(x_12); -x_31 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_addHo(x_26, x_1); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_25); -lean_ctor_set(x_32, 2, x_31); -lean_ctor_set(x_32, 3, x_28); -lean_ctor_set(x_32, 4, x_29); -lean_ctor_set(x_32, 5, x_30); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_27); -x_33 = lean_st_ref_set(x_3, x_32, x_13); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; +x_32 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_addHo(x_27, x_1); +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_25); +lean_ctor_set(x_33, 2, x_26); +lean_ctor_set(x_33, 3, x_32); +lean_ctor_set(x_33, 4, x_29); +lean_ctor_set(x_33, 5, x_30); +lean_ctor_set(x_33, 6, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_28); +x_34 = lean_st_ref_set(x_3, x_33, x_13); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_33); - x_35 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFunHoOcc___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_addFunHoOcc(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_addFunHoOcc(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -4773,9 +4840,9 @@ x_15 = !lean_is_exclusive(x_13); if (x_15 == 0) { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_16 = lean_ctor_get(x_13, 2); +x_16 = lean_ctor_get(x_13, 3); x_17 = l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1; -lean_ctor_set(x_13, 2, x_17); +lean_ctor_set(x_13, 3, x_17); x_18 = lean_st_ref_set(x_4, x_13, x_14); x_19 = lean_ctor_get(x_18, 1); lean_inc(x_19); @@ -4805,9 +4872,9 @@ x_28 = !lean_is_exclusive(x_26); if (x_28 == 0) { lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_29 = lean_ctor_get(x_26, 2); +x_29 = lean_ctor_get(x_26, 3); lean_dec(x_29); -lean_ctor_set(x_26, 2, x_21); +lean_ctor_set(x_26, 3, x_21); x_30 = lean_st_ref_set(x_4, x_26, x_27); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -4834,204 +4901,214 @@ return x_36; } else { -lean_object* x_37; lean_object* x_38; uint8_t 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_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; x_37 = lean_ctor_get(x_26, 0); x_38 = lean_ctor_get(x_26, 1); -x_39 = lean_ctor_get_uint8(x_26, sizeof(void*)*6); -x_40 = lean_ctor_get(x_26, 3); +x_39 = lean_ctor_get(x_26, 2); +x_40 = lean_ctor_get_uint8(x_26, sizeof(void*)*7); x_41 = lean_ctor_get(x_26, 4); x_42 = lean_ctor_get(x_26, 5); +x_43 = lean_ctor_get(x_26, 6); +lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); -lean_inc(x_40); +lean_inc(x_39); lean_inc(x_38); lean_inc(x_37); lean_dec(x_26); -x_43 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_43, 0, x_37); -lean_ctor_set(x_43, 1, x_38); -lean_ctor_set(x_43, 2, x_21); -lean_ctor_set(x_43, 3, x_40); -lean_ctor_set(x_43, 4, x_41); -lean_ctor_set(x_43, 5, x_42); -lean_ctor_set_uint8(x_43, sizeof(void*)*6, x_39); -x_44 = lean_st_ref_set(x_4, x_43, x_27); -x_45 = lean_ctor_get(x_44, 1); -lean_inc(x_45); -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - x_46 = x_44; +x_44 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_44, 0, x_37); +lean_ctor_set(x_44, 1, x_38); +lean_ctor_set(x_44, 2, x_39); +lean_ctor_set(x_44, 3, x_21); +lean_ctor_set(x_44, 4, x_41); +lean_ctor_set(x_44, 5, x_42); +lean_ctor_set(x_44, 6, x_43); +lean_ctor_set_uint8(x_44, sizeof(void*)*7, x_40); +x_45 = lean_st_ref_set(x_4, x_44, x_27); +x_46 = lean_ctor_get(x_45, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_45)) { + lean_ctor_release(x_45, 0); + lean_ctor_release(x_45, 1); + x_47 = x_45; } else { - lean_dec_ref(x_44); - x_46 = lean_box(0); + lean_dec_ref(x_45); + x_47 = lean_box(0); } -x_47 = lean_box(0); -if (lean_is_scalar(x_46)) { - x_48 = lean_alloc_ctor(0, 2, 0); +x_48 = lean_box(0); +if (lean_is_scalar(x_47)) { + x_49 = lean_alloc_ctor(0, 2, 0); } else { - x_48 = x_46; + x_49 = x_47; } -lean_ctor_set(x_48, 0, x_47); -lean_ctor_set(x_48, 1, x_45); -return x_48; +lean_ctor_set(x_49, 0, x_48); +lean_ctor_set(x_49, 1, x_46); +return x_49; } } else { -uint8_t x_49; +uint8_t x_50; lean_dec(x_8); -x_49 = !lean_is_exclusive(x_20); -if (x_49 == 0) +x_50 = !lean_is_exclusive(x_20); +if (x_50 == 0) { return x_20; } else { -lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_50 = lean_ctor_get(x_20, 0); -x_51 = lean_ctor_get(x_20, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_20, 0); +x_52 = lean_ctor_get(x_20, 1); +lean_inc(x_52); lean_inc(x_51); -lean_inc(x_50); lean_dec(x_20); -x_52 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -return x_52; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; -x_53 = lean_ctor_get(x_13, 0); -x_54 = lean_ctor_get(x_13, 1); -x_55 = lean_ctor_get(x_13, 2); -x_56 = lean_ctor_get_uint8(x_13, sizeof(void*)*6); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_54 = lean_ctor_get(x_13, 0); +x_55 = lean_ctor_get(x_13, 1); +x_56 = lean_ctor_get(x_13, 2); x_57 = lean_ctor_get(x_13, 3); -x_58 = lean_ctor_get(x_13, 4); -x_59 = lean_ctor_get(x_13, 5); +x_58 = lean_ctor_get_uint8(x_13, sizeof(void*)*7); +x_59 = lean_ctor_get(x_13, 4); +x_60 = lean_ctor_get(x_13, 5); +x_61 = lean_ctor_get(x_13, 6); +lean_inc(x_61); +lean_inc(x_60); lean_inc(x_59); -lean_inc(x_58); lean_inc(x_57); +lean_inc(x_56); lean_inc(x_55); lean_inc(x_54); -lean_inc(x_53); lean_dec(x_13); -x_60 = l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1; -x_61 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_61, 0, x_53); -lean_ctor_set(x_61, 1, x_54); -lean_ctor_set(x_61, 2, x_60); -lean_ctor_set(x_61, 3, x_57); -lean_ctor_set(x_61, 4, x_58); -lean_ctor_set(x_61, 5, x_59); -lean_ctor_set_uint8(x_61, sizeof(void*)*6, x_56); -x_62 = lean_st_ref_set(x_4, x_61, x_14); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -lean_inc(x_8); -x_64 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(x_55, x_1, x_2, x_5, x_6, x_7, x_8, x_63); -if (lean_obj_tag(x_64) == 0) -{ -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_65 = lean_ctor_get(x_64, 0); +x_62 = l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1; +x_63 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_63, 0, x_54); +lean_ctor_set(x_63, 1, x_55); +lean_ctor_set(x_63, 2, x_56); +lean_ctor_set(x_63, 3, x_62); +lean_ctor_set(x_63, 4, x_59); +lean_ctor_set(x_63, 5, x_60); +lean_ctor_set(x_63, 6, x_61); +lean_ctor_set_uint8(x_63, sizeof(void*)*7, x_58); +x_64 = lean_st_ref_set(x_4, x_63, x_14); +x_65 = lean_ctor_get(x_64, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); -lean_inc(x_66); lean_dec(x_64); -x_67 = lean_st_ref_get(x_8, x_66); -lean_dec(x_8); -x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_8); +x_66 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_update(x_57, x_1, x_2, x_5, x_6, x_7, x_8, x_65); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_take(x_4, x_68); -x_70 = lean_ctor_get(x_69, 0); +lean_dec(x_66); +x_69 = lean_st_ref_get(x_8, x_68); +lean_dec(x_8); +x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); lean_dec(x_69); -x_72 = lean_ctor_get(x_70, 0); +x_71 = lean_st_ref_take(x_4, x_70); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -x_73 = lean_ctor_get(x_70, 1); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -x_74 = lean_ctor_get_uint8(x_70, sizeof(void*)*6); -x_75 = lean_ctor_get(x_70, 3); +lean_dec(x_71); +x_74 = lean_ctor_get(x_72, 0); +lean_inc(x_74); +x_75 = lean_ctor_get(x_72, 1); lean_inc(x_75); -x_76 = lean_ctor_get(x_70, 4); +x_76 = lean_ctor_get(x_72, 2); lean_inc(x_76); -x_77 = lean_ctor_get(x_70, 5); -lean_inc(x_77); -if (lean_is_exclusive(x_70)) { - lean_ctor_release(x_70, 0); - lean_ctor_release(x_70, 1); - lean_ctor_release(x_70, 2); - lean_ctor_release(x_70, 3); - lean_ctor_release(x_70, 4); - lean_ctor_release(x_70, 5); - x_78 = x_70; +x_77 = lean_ctor_get_uint8(x_72, sizeof(void*)*7); +x_78 = lean_ctor_get(x_72, 4); +lean_inc(x_78); +x_79 = lean_ctor_get(x_72, 5); +lean_inc(x_79); +x_80 = lean_ctor_get(x_72, 6); +lean_inc(x_80); +if (lean_is_exclusive(x_72)) { + lean_ctor_release(x_72, 0); + lean_ctor_release(x_72, 1); + lean_ctor_release(x_72, 2); + lean_ctor_release(x_72, 3); + lean_ctor_release(x_72, 4); + lean_ctor_release(x_72, 5); + lean_ctor_release(x_72, 6); + x_81 = x_72; } else { - lean_dec_ref(x_70); - x_78 = lean_box(0); + lean_dec_ref(x_72); + x_81 = lean_box(0); } -if (lean_is_scalar(x_78)) { - x_79 = lean_alloc_ctor(0, 6, 1); +if (lean_is_scalar(x_81)) { + x_82 = lean_alloc_ctor(0, 7, 1); } else { - x_79 = x_78; + x_82 = x_81; } -lean_ctor_set(x_79, 0, x_72); -lean_ctor_set(x_79, 1, x_73); -lean_ctor_set(x_79, 2, x_65); -lean_ctor_set(x_79, 3, x_75); -lean_ctor_set(x_79, 4, x_76); -lean_ctor_set(x_79, 5, x_77); -lean_ctor_set_uint8(x_79, sizeof(void*)*6, x_74); -x_80 = lean_st_ref_set(x_4, x_79, x_71); -x_81 = lean_ctor_get(x_80, 1); -lean_inc(x_81); -if (lean_is_exclusive(x_80)) { - lean_ctor_release(x_80, 0); - lean_ctor_release(x_80, 1); - x_82 = x_80; +lean_ctor_set(x_82, 0, x_74); +lean_ctor_set(x_82, 1, x_75); +lean_ctor_set(x_82, 2, x_76); +lean_ctor_set(x_82, 3, x_67); +lean_ctor_set(x_82, 4, x_78); +lean_ctor_set(x_82, 5, x_79); +lean_ctor_set(x_82, 6, x_80); +lean_ctor_set_uint8(x_82, sizeof(void*)*7, x_77); +x_83 = lean_st_ref_set(x_4, x_82, x_73); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_85 = x_83; } else { - lean_dec_ref(x_80); - x_82 = lean_box(0); + lean_dec_ref(x_83); + x_85 = lean_box(0); } -x_83 = lean_box(0); -if (lean_is_scalar(x_82)) { - x_84 = lean_alloc_ctor(0, 2, 0); +x_86 = lean_box(0); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 0); } else { - x_84 = x_82; + x_87 = x_85; } -lean_ctor_set(x_84, 0, x_83); -lean_ctor_set(x_84, 1, x_81); -return x_84; +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_84); +return x_87; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_dec(x_8); -x_85 = lean_ctor_get(x_64, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_64, 1); -lean_inc(x_86); -if (lean_is_exclusive(x_64)) { - lean_ctor_release(x_64, 0); - lean_ctor_release(x_64, 1); - x_87 = x_64; +x_88 = lean_ctor_get(x_66, 0); +lean_inc(x_88); +x_89 = lean_ctor_get(x_66, 1); +lean_inc(x_89); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + lean_ctor_release(x_66, 1); + x_90 = x_66; } else { - lean_dec_ref(x_64); - x_87 = lean_box(0); + lean_dec_ref(x_66); + x_90 = lean_box(0); } -if (lean_is_scalar(x_87)) { - x_88 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_90)) { + x_91 = lean_alloc_ctor(1, 2, 0); } else { - x_88 = x_87; + x_91 = x_90; } -lean_ctor_set(x_88, 0, x_85); -lean_ctor_set(x_88, 1, x_86); -return x_88; +lean_ctor_set(x_91, 0, x_88); +lean_ctor_set(x_91, 1, x_89); +return x_91; } } } @@ -5039,15 +5116,13 @@ return x_88; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; uint8_t x_11; lean_object* x_12; +uint8_t x_10; lean_object* x_11; x_10 = lean_unbox(x_2); lean_dec(x_2); -x_11 = lean_unbox(x_5); -lean_dec(x_5); -x_12 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_1, x_10, x_3, x_4, x_11, x_6, x_7, x_8, x_9); +x_11 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_4); lean_dec(x_3); -return x_12; +return x_11; } } static lean_object* _init_l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1___closed__1() { @@ -5058,7 +5133,7 @@ x_1 = l_Lean_inheritedTraceOptions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -5099,7 +5174,780 @@ return x_23; } } } -static lean_object* _init_l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___closed__1() { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_withInlining___spec__4(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; uint8_t x_8; +x_7 = lean_array_get_size(x_2); +x_8 = lean_nat_dec_lt(x_5, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +lean_dec(x_5); +return x_6; +} +else +{ +lean_object* x_9; lean_object* x_10; uint64_t x_11; size_t x_12; size_t x_13; size_t x_14; size_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_9 = lean_array_fget(x_2, x_5); +x_10 = lean_array_fget(x_3, x_5); +x_11 = l_Lean_Name_hash___override(x_9); +x_12 = lean_uint64_to_usize(x_11); +x_13 = 1; +x_14 = lean_usize_sub(x_1, x_13); +x_15 = 5; +x_16 = lean_usize_mul(x_15, x_14); +x_17 = lean_usize_shift_right(x_12, x_16); +x_18 = lean_unsigned_to_nat(1u); +x_19 = lean_nat_add(x_5, x_18); +lean_dec(x_5); +x_20 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(x_6, x_17, x_1, x_9, x_10); +x_4 = lean_box(0); +x_5 = x_19; +x_6 = x_20; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_5 = lean_ctor_get(x_1, 0); +lean_inc(x_5); +x_6 = lean_ctor_get(x_1, 1); +lean_inc(x_6); +x_7 = lean_array_get_size(x_5); +x_8 = lean_nat_dec_lt(x_2, x_7); +lean_dec(x_7); +if (x_8 == 0) +{ +uint8_t x_9; +lean_dec(x_2); +x_9 = !lean_is_exclusive(x_1); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = lean_ctor_get(x_1, 0); +lean_dec(x_11); +x_12 = lean_array_push(x_5, x_3); +x_13 = lean_array_push(x_6, x_4); +lean_ctor_set(x_1, 1, x_13); +lean_ctor_set(x_1, 0, x_12); +return x_1; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_dec(x_1); +x_14 = lean_array_push(x_5, x_3); +x_15 = lean_array_push(x_6, x_4); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; uint8_t x_18; +x_17 = lean_array_fget(x_5, x_2); +x_18 = lean_name_eq(x_3, x_17); +lean_dec(x_17); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; +lean_dec(x_6); +lean_dec(x_5); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_2, x_19); +lean_dec(x_2); +x_2 = x_20; +goto _start; +} +else +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_1); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_1, 1); +lean_dec(x_23); +x_24 = lean_ctor_get(x_1, 0); +lean_dec(x_24); +x_25 = lean_array_fset(x_5, x_2, x_3); +x_26 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +lean_ctor_set(x_1, 1, x_26); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_dec(x_1); +x_27 = lean_array_fset(x_5, x_2, x_3); +x_28 = lean_array_fset(x_6, x_2, x_4); +lean_dec(x_2); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +} +} +static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__1() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = 5; +x_3 = lean_usize_shift_left(x_1, x_2); +return x_3; +} +} +static size_t _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__2() { +_start: +{ +size_t x_1; size_t x_2; size_t x_3; +x_1 = 1; +x_2 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__1; +x_3 = lean_usize_sub(x_2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_PersistentHashMap_mkEmptyEntries(lean_box(0), lean_box(0)); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +lean_object* x_7; size_t x_8; size_t x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_7 = lean_ctor_get(x_1, 0); +x_8 = 1; +x_9 = 5; +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__2; +x_11 = lean_usize_land(x_2, x_10); +x_12 = lean_usize_to_nat(x_11); +x_13 = lean_array_get_size(x_7); +x_14 = lean_nat_dec_lt(x_12, x_13); +lean_dec(x_13); +if (x_14 == 0) +{ +lean_dec(x_12); +lean_dec(x_5); +lean_dec(x_4); +return x_1; +} +else +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_array_fget(x_7, x_12); +x_16 = lean_box(0); +x_17 = lean_array_fset(x_7, x_12, x_16); +switch (lean_obj_tag(x_15)) { +case 0: +{ +uint8_t x_18; +x_18 = !lean_is_exclusive(x_15); +if (x_18 == 0) +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_15, 0); +x_20 = lean_ctor_get(x_15, 1); +x_21 = lean_name_eq(x_4, x_19); +if (x_21 == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +lean_free_object(x_15); +x_22 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_19, x_20, x_4, x_5); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = lean_array_fset(x_17, x_12, x_23); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_24); +return x_1; +} +else +{ +lean_object* x_25; +lean_dec(x_20); +lean_dec(x_19); +lean_ctor_set(x_15, 1, x_5); +lean_ctor_set(x_15, 0, x_4); +x_25 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_25); +return x_1; +} +} +else +{ +lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_26 = lean_ctor_get(x_15, 0); +x_27 = lean_ctor_get(x_15, 1); +lean_inc(x_27); +lean_inc(x_26); +lean_dec(x_15); +x_28 = lean_name_eq(x_4, x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_26, x_27, x_4, x_5); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +x_31 = lean_array_fset(x_17, x_12, x_30); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_31); +return x_1; +} +else +{ +lean_object* x_32; lean_object* x_33; +lean_dec(x_27); +lean_dec(x_26); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_5); +x_33 = lean_array_fset(x_17, x_12, x_32); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_33); +return x_1; +} +} +} +case 1: +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_15); +if (x_34 == 0) +{ +lean_object* x_35; size_t x_36; size_t x_37; lean_object* x_38; lean_object* x_39; +x_35 = lean_ctor_get(x_15, 0); +x_36 = lean_usize_shift_right(x_2, x_9); +x_37 = lean_usize_add(x_3, x_8); +x_38 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(x_35, x_36, x_37, x_4, x_5); +lean_ctor_set(x_15, 0, x_38); +x_39 = lean_array_fset(x_17, x_12, x_15); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_39); +return x_1; +} +else +{ +lean_object* x_40; size_t x_41; size_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_40 = lean_ctor_get(x_15, 0); +lean_inc(x_40); +lean_dec(x_15); +x_41 = lean_usize_shift_right(x_2, x_9); +x_42 = lean_usize_add(x_3, x_8); +x_43 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(x_40, x_41, x_42, x_4, x_5); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_array_fset(x_17, x_12, x_44); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_45); +return x_1; +} +} +default: +{ +lean_object* x_46; lean_object* x_47; +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_4); +lean_ctor_set(x_46, 1, x_5); +x_47 = lean_array_fset(x_17, x_12, x_46); +lean_dec(x_12); +lean_ctor_set(x_1, 0, x_47); +return x_1; +} +} +} +} +else +{ +lean_object* x_48; size_t x_49; size_t x_50; size_t x_51; size_t x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +x_48 = lean_ctor_get(x_1, 0); +lean_inc(x_48); +lean_dec(x_1); +x_49 = 1; +x_50 = 5; +x_51 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__2; +x_52 = lean_usize_land(x_2, x_51); +x_53 = lean_usize_to_nat(x_52); +x_54 = lean_array_get_size(x_48); +x_55 = lean_nat_dec_lt(x_53, x_54); +lean_dec(x_54); +if (x_55 == 0) +{ +lean_object* x_56; +lean_dec(x_53); +lean_dec(x_5); +lean_dec(x_4); +x_56 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_56, 0, x_48); +return x_56; +} +else +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_array_fget(x_48, x_53); +x_58 = lean_box(0); +x_59 = lean_array_fset(x_48, x_53, x_58); +switch (lean_obj_tag(x_57)) { +case 0: +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_60 = lean_ctor_get(x_57, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_57, 1); +lean_inc(x_61); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_62 = x_57; +} else { + lean_dec_ref(x_57); + x_62 = lean_box(0); +} +x_63 = lean_name_eq(x_4, x_60); +if (x_63 == 0) +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +lean_dec(x_62); +x_64 = l_Lean_PersistentHashMap_mkCollisionNode___rarg(x_60, x_61, x_4, x_5); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_64); +x_66 = lean_array_fset(x_59, x_53, x_65); +lean_dec(x_53); +x_67 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_67, 0, x_66); +return x_67; +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_61); +lean_dec(x_60); +if (lean_is_scalar(x_62)) { + x_68 = lean_alloc_ctor(0, 2, 0); +} else { + x_68 = x_62; +} +lean_ctor_set(x_68, 0, x_4); +lean_ctor_set(x_68, 1, x_5); +x_69 = lean_array_fset(x_59, x_53, x_68); +lean_dec(x_53); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +return x_70; +} +} +case 1: +{ +lean_object* x_71; lean_object* x_72; size_t x_73; size_t x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_57, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + x_72 = x_57; +} else { + lean_dec_ref(x_57); + x_72 = lean_box(0); +} +x_73 = lean_usize_shift_right(x_2, x_50); +x_74 = lean_usize_add(x_3, x_49); +x_75 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(x_71, x_73, x_74, x_4, x_5); +if (lean_is_scalar(x_72)) { + x_76 = lean_alloc_ctor(1, 1, 0); +} else { + x_76 = x_72; +} +lean_ctor_set(x_76, 0, x_75); +x_77 = lean_array_fset(x_59, x_53, x_76); +lean_dec(x_53); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +return x_78; +} +default: +{ +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_4); +lean_ctor_set(x_79, 1, x_5); +x_80 = lean_array_fset(x_59, x_53, x_79); +lean_dec(x_53); +x_81 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_81, 0, x_80); +return x_81; +} +} +} +} +} +else +{ +uint8_t x_82; +x_82 = !lean_is_exclusive(x_1); +if (x_82 == 0) +{ +lean_object* x_83; lean_object* x_84; size_t x_85; uint8_t x_86; +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__5(x_1, x_83, x_4, x_5); +x_85 = 7; +x_86 = lean_usize_dec_le(x_85, x_3); +if (x_86 == 0) +{ +lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_87 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_84); +x_88 = lean_unsigned_to_nat(4u); +x_89 = lean_nat_dec_lt(x_87, x_88); +lean_dec(x_87); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_90 = lean_ctor_get(x_84, 0); +lean_inc(x_90); +x_91 = lean_ctor_get(x_84, 1); +lean_inc(x_91); +lean_dec(x_84); +x_92 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__3; +x_93 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_withInlining___spec__4(x_3, x_90, x_91, lean_box(0), x_83, x_92); +lean_dec(x_91); +lean_dec(x_90); +return x_93; +} +else +{ +return x_84; +} +} +else +{ +return x_84; +} +} +else +{ +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; uint8_t x_100; +x_94 = lean_ctor_get(x_1, 0); +x_95 = lean_ctor_get(x_1, 1); +lean_inc(x_95); +lean_inc(x_94); +lean_dec(x_1); +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_unsigned_to_nat(0u); +x_98 = l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__5(x_96, x_97, x_4, x_5); +x_99 = 7; +x_100 = lean_usize_dec_le(x_99, x_3); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; uint8_t x_103; +x_101 = l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(x_98); +x_102 = lean_unsigned_to_nat(4u); +x_103 = lean_nat_dec_lt(x_101, x_102); +lean_dec(x_101); +if (x_103 == 0) +{ +lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_104 = lean_ctor_get(x_98, 0); +lean_inc(x_104); +x_105 = lean_ctor_get(x_98, 1); +lean_inc(x_105); +lean_dec(x_98); +x_106 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__3; +x_107 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_withInlining___spec__4(x_3, x_104, x_105, lean_box(0), x_97, x_106); +lean_dec(x_105); +lean_dec(x_104); +return x_107; +} +else +{ +return x_98; +} +} +else +{ +return x_98; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_1); +if (x_4 == 0) +{ +lean_object* x_5; lean_object* x_6; uint64_t x_7; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_5 = lean_ctor_get(x_1, 0); +x_6 = lean_ctor_get(x_1, 1); +x_7 = l_Lean_Name_hash___override(x_2); +x_8 = lean_uint64_to_usize(x_7); +x_9 = 1; +x_10 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(x_5, x_8, x_9, x_2, x_3); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_6, x_11); +lean_dec(x_6); +lean_ctor_set(x_1, 1, x_12); +lean_ctor_set(x_1, 0, x_10); +return x_1; +} +else +{ +lean_object* x_13; lean_object* x_14; uint64_t x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_1, 0); +x_14 = lean_ctor_get(x_1, 1); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_1); +x_15 = l_Lean_Name_hash___override(x_2); +x_16 = lean_uint64_to_usize(x_15); +x_17 = 1; +x_18 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(x_13, x_16, x_17, x_2, x_3); +x_19 = lean_unsigned_to_nat(1u); +x_20 = lean_nat_add(x_14, x_19); +lean_dec(x_14); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_18); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withInlining___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_9 = lean_ctor_get(x_6, 5); +x_10 = lean_st_ref_get(x_7, x_8); +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_st_ref_get(x_5, x_12); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_16 = lean_ctor_get(x_14, 0); +x_17 = lean_ctor_get(x_16, 0); +lean_inc(x_17); +lean_dec(x_16); +x_18 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_17); +x_19 = lean_ctor_get(x_6, 2); +x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; +lean_inc(x_19); +x_21 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_21, 0, x_13); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_18); +lean_ctor_set(x_21, 3, x_19); +x_22 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_1); +lean_inc(x_9); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_9); +lean_ctor_set(x_23, 1, x_22); +lean_ctor_set_tag(x_14, 1); +lean_ctor_set(x_14, 0, x_23); +return x_14; +} +else +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_24 = lean_ctor_get(x_14, 0); +x_25 = lean_ctor_get(x_14, 1); +lean_inc(x_25); +lean_inc(x_24); +lean_dec(x_14); +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_26); +x_28 = lean_ctor_get(x_6, 2); +x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; +lean_inc(x_28); +x_30 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_30, 0, x_13); +lean_ctor_set(x_30, 1, x_29); +lean_ctor_set(x_30, 2, x_27); +lean_ctor_set(x_30, 3, x_28); +x_31 = lean_alloc_ctor(6, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_1); +lean_inc(x_9); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_9); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_32); +lean_ctor_set(x_33, 1, x_25); +return x_33; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +lean_object* x_6; uint8_t x_7; +x_6 = lean_array_get_size(x_1); +x_7 = lean_nat_dec_lt(x_4, x_6); +lean_dec(x_6); +if (x_7 == 0) +{ +lean_object* x_8; +lean_dec(x_4); +x_8 = lean_box(0); +return x_8; +} +else +{ +lean_object* x_9; uint8_t x_10; +x_9 = lean_array_fget(x_1, x_4); +x_10 = lean_name_eq(x_5, x_9); +lean_dec(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_add(x_4, x_11); +lean_dec(x_4); +x_3 = lean_box(0); +x_4 = x_12; +goto _start; +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_array_fget(x_2, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__8(lean_object* x_1, size_t x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; size_t x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = 5; +x_6 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__2; +x_7 = lean_usize_land(x_2, x_6); +x_8 = lean_usize_to_nat(x_7); +x_9 = lean_box(2); +x_10 = lean_array_get(x_9, x_4, x_8); +lean_dec(x_8); +lean_dec(x_4); +switch (lean_obj_tag(x_10)) { +case 0: +{ +lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_name_eq(x_3, x_11); +lean_dec(x_11); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_12); +x_14 = lean_box(0); +return x_14; +} +else +{ +lean_object* x_15; +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_12); +return x_15; +} +} +case 1: +{ +lean_object* x_16; size_t x_17; +x_16 = lean_ctor_get(x_10, 0); +lean_inc(x_16); +lean_dec(x_10); +x_17 = lean_usize_shift_right(x_2, x_5); +x_1 = x_16; +x_2 = x_17; +goto _start; +} +default: +{ +lean_object* x_19; +x_19 = lean_box(0); +return x_19; +} +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_1, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_1, 1); +lean_inc(x_21); +lean_dec(x_1); +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__9(x_20, x_21, lean_box(0), x_22, x_3); +lean_dec(x_21); +lean_dec(x_20); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_Simp_withInlining___spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; uint64_t x_4; size_t x_5; lean_object* x_6; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = l_Lean_Name_hash___override(x_2); +x_5 = lean_uint64_to_usize(x_4); +x_6 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__8(x_3, x_5, x_2); +lean_dec(x_2); +return x_6; +} +} +static lean_object* _init_l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -5108,7 +5956,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; 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; uint8_t x_27; @@ -5133,7 +5981,7 @@ lean_inc(x_18); lean_dec(x_16); x_19 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_18); x_20 = lean_ctor_get(x_7, 2); -x_21 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_21 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_20); x_22 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_22, 0, x_14); @@ -5154,7 +6002,7 @@ if (x_27 == 0) { lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; x_28 = lean_ctor_get(x_25, 3); -x_29 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___closed__1; +x_29 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1; x_30 = 0; x_31 = lean_alloc_ctor(12, 3, 1); lean_ctor_set(x_31, 0, x_1); @@ -5209,7 +6057,7 @@ lean_inc(x_43); lean_inc(x_42); lean_inc(x_41); lean_dec(x_25); -x_48 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___closed__1; +x_48 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1; x_49 = 0; x_50 = lean_alloc_ctor(12, 3, 1); lean_ctor_set(x_50, 0, x_1); @@ -5252,57 +6100,342 @@ return x_58; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_11; -x_11 = l_Lean_Expr_getAppFn(x_1); -if (lean_obj_tag(x_11) == 4) -{ lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; -x_12 = lean_ctor_get(x_4, 3); -x_13 = lean_ctor_get(x_4, 0); -x_14 = lean_ctor_get(x_4, 1); -x_15 = lean_ctor_get(x_4, 2); -x_16 = lean_ctor_get(x_11, 0); -lean_inc(x_16); -lean_dec(x_11); +x_12 = lean_ctor_get(x_5, 0); lean_inc(x_12); -x_17 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_12); -lean_inc(x_15); -lean_inc(x_14); +x_13 = lean_ctor_get(x_5, 1); lean_inc(x_13); -x_18 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_18, 0, x_13); -lean_ctor_set(x_18, 1, x_14); -lean_ctor_set(x_18, 2, x_15); -lean_ctor_set(x_18, 3, x_17); -x_19 = lean_box(x_6); -x_20 = lean_apply_7(x_2, x_18, x_5, x_19, x_7, x_8, x_9, x_10); +x_14 = lean_ctor_get(x_5, 2); +lean_inc(x_14); +x_15 = lean_ctor_get(x_5, 3); +lean_inc(x_15); +lean_inc(x_1); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_1); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_ctor_get(x_5, 4); +lean_inc(x_17); +lean_dec(x_5); +x_18 = l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_17, x_1, x_2); +x_19 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_19, 0, x_12); +lean_ctor_set(x_19, 1, x_13); +lean_ctor_set(x_19, 2, x_14); +lean_ctor_set(x_19, 3, x_16); +lean_ctor_set(x_19, 4, x_18); +x_20 = lean_apply_7(x_3, x_19, x_6, x_7, x_8, x_9, x_10, x_11); return x_20; } +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("function `", 10); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__1; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("` has been recursively inlined more than #", 42); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__3; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(", consider removing the attribute `[inline]` from this declaration or increasing the limit using `set_option compiler.maxRecInline `", 137); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__5; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes(", consider removing the attribute `[inlineIfReduce]` from this declaration or increasing the limit using `set_option compiler.maxRecInlineIfReduce `", 153); +return x_1; +} +} +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__7; +x_2 = l_Lean_stringToMessageData(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; +lean_dec(x_4); +x_12 = l_Lean_Expr_getAppFn(x_1); +lean_dec(x_1); +if (lean_obj_tag(x_12) == 4) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_80; lean_object* x_81; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +lean_dec(x_12); +x_80 = lean_ctor_get(x_5, 4); +lean_inc(x_80); +lean_inc(x_13); +x_81 = l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_Simp_withInlining___spec__7(x_80, x_13); +if (lean_obj_tag(x_81) == 0) +{ +lean_object* x_82; +x_82 = lean_unsigned_to_nat(0u); +x_14 = x_82; +goto block_79; +} else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_dec(x_11); -x_21 = lean_ctor_get(x_4, 3); -x_22 = lean_ctor_get(x_4, 0); -x_23 = lean_ctor_get(x_4, 1); -x_24 = lean_ctor_get(x_4, 2); +lean_object* x_83; +x_83 = lean_ctor_get(x_81, 0); +lean_inc(x_83); +lean_dec(x_81); +x_14 = x_83; +goto block_79; +} +block_79: +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_unsigned_to_nat(1u); +x_16 = lean_nat_add(x_14, x_15); +lean_dec(x_14); +if (x_3 == 0) +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_box(0); +x_18 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(x_13, x_16, x_2, x_17, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_18; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; uint8_t x_24; +x_19 = lean_st_ref_get(x_10, x_11); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); -lean_inc(x_24); -lean_inc(x_23); +lean_dec(x_19); +x_22 = lean_ctor_get(x_20, 0); lean_inc(x_22); -x_25 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_25, 0, x_22); -lean_ctor_set(x_25, 1, x_23); -lean_ctor_set(x_25, 2, x_24); -lean_ctor_set(x_25, 3, x_21); -x_26 = lean_box(x_6); -x_27 = lean_apply_7(x_2, x_25, x_5, x_26, x_7, x_8, x_9, x_10); -return x_27; +lean_dec(x_20); +x_23 = 3; +lean_inc(x_13); +x_24 = l___private_Lean_Compiler_InlineAttrs_0__Lean_Compiler_hasInlineAttrCore(x_22, x_23, x_13); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_25 = l_Lean_Compiler_LCNF_getConfig(x_7, x_8, x_9, x_10, x_21); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); +lean_dec(x_25); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = lean_nat_dec_lt(x_28, x_16); +lean_dec(x_28); +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +x_30 = lean_box(0); +x_31 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(x_13, x_16, x_2, x_30, x_5, x_6, x_7, x_8, x_9, x_10, x_27); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_dec(x_16); +lean_dec(x_2); +x_32 = l_Lean_Compiler_LCNF_getConfig(x_7, x_8, x_9, x_10, x_27); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_35, 0, x_13); +x_36 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__2; +x_37 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_37, 0, x_36); +lean_ctor_set(x_37, 1, x_35); +x_38 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__4; +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_37); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_ctor_get(x_33, 1); +lean_inc(x_40); +lean_dec(x_33); +x_41 = l_Nat_repr(x_40); +x_42 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_43, 0, x_42); +x_44 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_44, 0, x_39); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__6; +x_46 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withInlining___spec__6(x_46, x_5, x_6, x_7, x_8, x_9, x_10, x_34); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_48 = !lean_is_exclusive(x_47); +if (x_48 == 0) +{ +return x_47; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_47, 0); +x_50 = lean_ctor_get(x_47, 1); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_47); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +return x_51; +} +} +} +else +{ +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_52 = l_Lean_Compiler_LCNF_getConfig(x_7, x_8, x_9, x_10, x_21); +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = lean_ctor_get(x_53, 2); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_nat_dec_lt(x_55, x_16); +lean_dec(x_55); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +x_57 = lean_box(0); +x_58 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(x_13, x_16, x_2, x_57, x_5, x_6, x_7, x_8, x_9, x_10, x_54); +return x_58; +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +lean_dec(x_16); +lean_dec(x_2); +x_59 = l_Lean_Compiler_LCNF_getConfig(x_7, x_8, x_9, x_10, x_54); +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); +lean_inc(x_61); +lean_dec(x_59); +x_62 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_62, 0, x_13); +x_63 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__2; +x_64 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_64, 0, x_63); +lean_ctor_set(x_64, 1, x_62); +x_65 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__4; +x_66 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_ctor_get(x_60, 2); +lean_inc(x_67); +lean_dec(x_60); +x_68 = l_Nat_repr(x_67); +x_69 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_69, 0, x_68); +x_70 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_70, 0, x_69); +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_66); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__8; +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withInlining___spec__6(x_73, x_5, x_6, x_7, x_8, x_9, x_10, x_61); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_75 = !lean_is_exclusive(x_74); +if (x_75 == 0) +{ +return x_74; +} +else +{ +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_74, 0); +x_77 = lean_ctor_get(x_74, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_74); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +} +} +} +else +{ +lean_object* x_84; +lean_dec(x_12); +x_84 = lean_apply_7(x_2, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_84; } } } @@ -5394,56 +6527,51 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; -x_10 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__6; -x_11 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_unbox(x_12); -lean_dec(x_12); -if (x_13 == 0) +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; +x_11 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__6; +x_12 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_11, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_unbox(x_13); +lean_dec(x_13); +if (x_14 == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); -lean_dec(x_11); -x_15 = lean_box(0); -x_16 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(x_1, x_2, x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_14); -lean_dec(x_3); -lean_dec(x_1); -return x_16; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = lean_box(0); +x_17 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2(x_1, x_3, x_2, x_16, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +return x_17; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_17 = lean_ctor_get(x_11, 1); -lean_inc(x_17); -lean_dec(x_11); +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_18 = lean_ctor_get(x_12, 1); +lean_inc(x_18); +lean_dec(x_12); lean_inc(x_1); -x_18 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_18, 0, x_1); -x_19 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__8; -x_20 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_18); -x_21 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__10; -x_22 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -x_23 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_10, x_22, x_3, x_4, x_5, x_6, x_7, x_8, x_17); -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +x_19 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_19, 0, x_1); +x_20 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__8; +x_21 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__10; +x_23 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(x_11, x_23, x_4, x_5, x_6, x_7, x_8, x_9, x_18); +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(x_1, x_2, x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_25); -lean_dec(x_3); +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); lean_dec(x_24); -lean_dec(x_1); -return x_26; +x_27 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2(x_1, x_3, x_2, x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_26); +return x_27; } } } @@ -5451,64 +6579,128 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining(lean_object* x_1 _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___boxed), 10, 0); return x_2; } } LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_withInlining___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: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); +size_t x_7; lean_object* x_8; +x_7 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_8 = l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_Simp_withInlining___spec__4(x_7, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_3); +lean_dec(x_2); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { +_start: +{ +size_t x_6; size_t x_7; lean_object* x_8; +x_6 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_7 = lean_unbox_usize(x_3); +lean_dec(x_3); +x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3(x_1, x_6, x_7, x_4, x_5); +return x_8; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withInlining___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +_start: +{ +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withInlining___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -x_11 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__9___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_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__9(x_1, x_2, x_3, x_4, x_5); +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; lean_object* x_5; +x_4 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_5 = l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__8(x_1, x_4, x_3); +lean_dec(x_3); +return x_5; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_3); +lean_dec(x_3); +x_13 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2(x_1, x_2, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withInlining___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; lean_object* x_12; +x_11 = lean_unbox(x_2); +lean_dec(x_2); +x_12 = l_Lean_Compiler_LCNF_Simp_withInlining___rarg(x_1, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -5533,7 +6725,7 @@ lean_inc(x_17); lean_dec(x_16); x_18 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_17); x_19 = lean_ctor_get(x_6, 2); -x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_19); x_21 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_21, 0, x_13); @@ -5564,7 +6756,7 @@ lean_inc(x_26); lean_dec(x_24); x_27 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_26); x_28 = lean_ctor_get(x_6, 2); -x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_28); x_30 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_30, 0, x_13); @@ -5611,7 +6803,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { if (lean_obj_tag(x_3) == 0) @@ -5887,7 +7079,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -5912,7 +7104,7 @@ lean_inc(x_17); lean_dec(x_16); x_18 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_17); x_19 = lean_ctor_get(x_6, 2); -x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_20 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_19); x_21 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_21, 0, x_13); @@ -5943,7 +7135,7 @@ lean_inc(x_26); lean_dec(x_24); x_27 = l_Lean_Compiler_LCNF_LCtx_toLocalContext(x_26); x_28 = lean_ctor_get(x_6, 2); -x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6; +x_29 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3; lean_inc(x_28); x_30 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_30, 0, x_13); @@ -6037,7 +7229,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -6051,6 +7243,7 @@ x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRe lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_10; @@ -6110,6 +7303,7 @@ x_34 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRe lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); return x_34; @@ -6120,66 +7314,53 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDe _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg), 7, 0); return x_2; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__1___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_List_forIn_loop___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___spec__3___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -6212,7 +7393,7 @@ uint8_t x_21; x_21 = !lean_is_exclusive(x_6); 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_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; x_22 = lean_ctor_get(x_6, 10); lean_dec(x_22); x_23 = lean_ctor_get(x_6, 9); @@ -6239,37 +7420,35 @@ x_33 = lean_unsigned_to_nat(1u); x_34 = lean_nat_add(x_12, x_33); lean_dec(x_12); lean_ctor_set(x_6, 3, x_34); -x_35 = lean_box(x_4); -x_36 = lean_apply_7(x_1, x_2, x_3, x_35, x_5, x_6, x_7, x_8); -return x_36; +x_35 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_35; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_dec(x_6); -x_37 = lean_unsigned_to_nat(1u); -x_38 = lean_nat_add(x_12, x_37); +x_36 = lean_unsigned_to_nat(1u); +x_37 = lean_nat_add(x_12, x_36); lean_dec(x_12); -x_39 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_39, 0, x_9); -lean_ctor_set(x_39, 1, x_10); -lean_ctor_set(x_39, 2, x_11); -lean_ctor_set(x_39, 3, x_38); -lean_ctor_set(x_39, 4, x_13); -lean_ctor_set(x_39, 5, x_14); -lean_ctor_set(x_39, 6, x_15); -lean_ctor_set(x_39, 7, x_16); -lean_ctor_set(x_39, 8, x_17); -lean_ctor_set(x_39, 9, x_18); -lean_ctor_set(x_39, 10, x_19); -x_40 = lean_box(x_4); -x_41 = lean_apply_7(x_1, x_2, x_3, x_40, x_5, x_39, x_7, x_8); -return x_41; +x_38 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_38, 0, x_9); +lean_ctor_set(x_38, 1, x_10); +lean_ctor_set(x_38, 2, x_11); +lean_ctor_set(x_38, 3, x_37); +lean_ctor_set(x_38, 4, x_13); +lean_ctor_set(x_38, 5, x_14); +lean_ctor_set(x_38, 6, x_15); +lean_ctor_set(x_38, 7, x_16); +lean_ctor_set(x_38, 8, x_17); +lean_ctor_set(x_38, 9, x_18); +lean_ctor_set(x_38, 10, x_19); +x_39 = lean_apply_7(x_1, x_2, x_3, x_4, x_5, x_38, x_7, x_8); +return x_39; } } else { -lean_object* x_42; +lean_object* x_40; lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); @@ -6282,8 +7461,8 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_1); -x_42 = l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_42; +x_40 = l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg(x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_40; } } } @@ -6291,24 +7470,14 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_withIncRecDepth___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_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_10; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; x_23 = lean_st_ref_get(x_8, x_9); x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); @@ -6319,7 +7488,7 @@ lean_inc(x_26); x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); lean_dec(x_25); -x_28 = lean_ctor_get(x_26, 2); +x_28 = lean_ctor_get(x_26, 3); lean_inc(x_28); lean_dec(x_26); lean_inc(x_1); @@ -6329,96 +7498,98 @@ x_30 = l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_ad x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); lean_dec(x_29); -x_32 = lean_box(x_5); lean_inc(x_8); lean_inc(x_4); -x_33 = lean_apply_7(x_2, x_3, x_4, x_32, x_6, x_7, x_8, x_31); -if (lean_obj_tag(x_33) == 0) +x_32 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_34 = lean_ctor_get(x_33, 0); +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_st_ref_get(x_8, x_35); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_8, x_34); lean_dec(x_8); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_st_ref_take(x_4, x_37); -x_39 = lean_ctor_get(x_38, 0); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_take(x_4, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); -lean_inc(x_40); -lean_dec(x_38); -x_41 = !lean_is_exclusive(x_39); -if (x_41 == 0) +lean_dec(x_37); +x_40 = !lean_is_exclusive(x_38); +if (x_40 == 0) { -lean_object* x_42; lean_object* x_43; lean_object* x_44; uint8_t x_45; -x_42 = lean_ctor_get(x_39, 2); -x_43 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore(x_42, x_1, x_30); -lean_ctor_set(x_39, 2, x_43); -x_44 = lean_st_ref_set(x_4, x_39, x_40); +lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +x_41 = lean_ctor_get(x_38, 3); +x_42 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore(x_41, x_1, x_30); +lean_ctor_set(x_38, 3, x_42); +x_43 = lean_st_ref_set(x_4, x_38, x_39); lean_dec(x_4); -x_45 = !lean_is_exclusive(x_44); -if (x_45 == 0) +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_44, 0); -lean_dec(x_46); -x_47 = lean_box(0); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_34); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_44, 0, x_48); -x_10 = x_44; +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +x_46 = lean_box(0); +x_47 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_47, 0, x_33); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_43, 0, x_47); +x_10 = x_43; goto block_22; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); -lean_dec(x_44); -x_50 = lean_box(0); +lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_48 = lean_ctor_get(x_43, 1); +lean_inc(x_48); +lean_dec(x_43); +x_49 = lean_box(0); +x_50 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_50, 0, x_33); +lean_ctor_set(x_50, 1, x_49); x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_34); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_52, 1, x_49); -x_10 = x_52; +lean_ctor_set(x_51, 0, x_50); +lean_ctor_set(x_51, 1, x_48); +x_10 = x_51; goto block_22; } } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_53 = lean_ctor_get(x_39, 0); -x_54 = lean_ctor_get(x_39, 1); -x_55 = lean_ctor_get(x_39, 2); -x_56 = lean_ctor_get_uint8(x_39, sizeof(void*)*6); -x_57 = lean_ctor_get(x_39, 3); -x_58 = lean_ctor_get(x_39, 4); -x_59 = lean_ctor_get(x_39, 5); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_52 = lean_ctor_get(x_38, 0); +x_53 = lean_ctor_get(x_38, 1); +x_54 = lean_ctor_get(x_38, 2); +x_55 = lean_ctor_get(x_38, 3); +x_56 = lean_ctor_get_uint8(x_38, sizeof(void*)*7); +x_57 = lean_ctor_get(x_38, 4); +x_58 = lean_ctor_get(x_38, 5); +x_59 = lean_ctor_get(x_38, 6); lean_inc(x_59); lean_inc(x_58); lean_inc(x_57); lean_inc(x_55); lean_inc(x_54); lean_inc(x_53); -lean_dec(x_39); +lean_inc(x_52); +lean_dec(x_38); x_60 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore(x_55, x_1, x_30); -x_61 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_61, 0, x_53); -lean_ctor_set(x_61, 1, x_54); -lean_ctor_set(x_61, 2, x_60); -lean_ctor_set(x_61, 3, x_57); -lean_ctor_set(x_61, 4, x_58); -lean_ctor_set(x_61, 5, x_59); -lean_ctor_set_uint8(x_61, sizeof(void*)*6, x_56); -x_62 = lean_st_ref_set(x_4, x_61, x_40); +x_61 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_61, 0, x_52); +lean_ctor_set(x_61, 1, x_53); +lean_ctor_set(x_61, 2, x_54); +lean_ctor_set(x_61, 3, x_60); +lean_ctor_set(x_61, 4, x_57); +lean_ctor_set(x_61, 5, x_58); +lean_ctor_set(x_61, 6, x_59); +lean_ctor_set_uint8(x_61, sizeof(void*)*7, x_56); +x_62 = lean_st_ref_set(x_4, x_61, x_39); lean_dec(x_4); x_63 = lean_ctor_get(x_62, 1); lean_inc(x_63); @@ -6432,7 +7603,7 @@ if (lean_is_exclusive(x_62)) { } x_65 = lean_box(0); x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_34); +lean_ctor_set(x_66, 0, x_33); lean_ctor_set(x_66, 1, x_65); if (lean_is_scalar(x_64)) { x_67 = lean_alloc_ctor(0, 2, 0); @@ -6448,11 +7619,11 @@ goto block_22; else { lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; -x_68 = lean_ctor_get(x_33, 0); +x_68 = lean_ctor_get(x_32, 0); lean_inc(x_68); -x_69 = lean_ctor_get(x_33, 1); +x_69 = lean_ctor_get(x_32, 1); lean_inc(x_69); -lean_dec(x_33); +lean_dec(x_32); x_70 = lean_st_ref_get(x_8, x_69); lean_dec(x_8); x_71 = lean_ctor_get(x_70, 1); @@ -6468,9 +7639,9 @@ x_75 = !lean_is_exclusive(x_73); if (x_75 == 0) { lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -x_76 = lean_ctor_get(x_73, 2); +x_76 = lean_ctor_get(x_73, 3); x_77 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore(x_76, x_1, x_30); -lean_ctor_set(x_73, 2, x_77); +lean_ctor_set(x_73, 3, x_77); x_78 = lean_st_ref_set(x_4, x_73, x_74); lean_dec(x_4); x_79 = !lean_is_exclusive(x_78); @@ -6499,51 +7670,54 @@ goto block_22; } else { -lean_object* x_83; lean_object* x_84; lean_object* x_85; uint8_t 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_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; x_83 = lean_ctor_get(x_73, 0); x_84 = lean_ctor_get(x_73, 1); x_85 = lean_ctor_get(x_73, 2); -x_86 = lean_ctor_get_uint8(x_73, sizeof(void*)*6); -x_87 = lean_ctor_get(x_73, 3); +x_86 = lean_ctor_get(x_73, 3); +x_87 = lean_ctor_get_uint8(x_73, sizeof(void*)*7); x_88 = lean_ctor_get(x_73, 4); x_89 = lean_ctor_get(x_73, 5); +x_90 = lean_ctor_get(x_73, 6); +lean_inc(x_90); lean_inc(x_89); lean_inc(x_88); -lean_inc(x_87); +lean_inc(x_86); lean_inc(x_85); lean_inc(x_84); lean_inc(x_83); lean_dec(x_73); -x_90 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore(x_85, x_1, x_30); -x_91 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_91, 0, x_83); -lean_ctor_set(x_91, 1, x_84); -lean_ctor_set(x_91, 2, x_90); -lean_ctor_set(x_91, 3, x_87); -lean_ctor_set(x_91, 4, x_88); -lean_ctor_set(x_91, 5, x_89); -lean_ctor_set_uint8(x_91, sizeof(void*)*6, x_86); -x_92 = lean_st_ref_set(x_4, x_91, x_74); +x_91 = l_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_restore(x_86, x_1, x_30); +x_92 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_92, 0, x_83); +lean_ctor_set(x_92, 1, x_84); +lean_ctor_set(x_92, 2, x_85); +lean_ctor_set(x_92, 3, x_91); +lean_ctor_set(x_92, 4, x_88); +lean_ctor_set(x_92, 5, x_89); +lean_ctor_set(x_92, 6, x_90); +lean_ctor_set_uint8(x_92, sizeof(void*)*7, x_87); +x_93 = lean_st_ref_set(x_4, x_92, x_74); lean_dec(x_4); -x_93 = lean_ctor_get(x_92, 1); -lean_inc(x_93); -if (lean_is_exclusive(x_92)) { - lean_ctor_release(x_92, 0); - lean_ctor_release(x_92, 1); - x_94 = x_92; +x_94 = lean_ctor_get(x_93, 1); +lean_inc(x_94); +if (lean_is_exclusive(x_93)) { + lean_ctor_release(x_93, 0); + lean_ctor_release(x_93, 1); + x_95 = x_93; } else { - lean_dec_ref(x_92); - x_94 = lean_box(0); + lean_dec_ref(x_93); + x_95 = lean_box(0); } -if (lean_is_scalar(x_94)) { - x_95 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_95)) { + x_96 = lean_alloc_ctor(1, 2, 0); } else { - x_95 = x_94; - lean_ctor_set_tag(x_95, 1); + x_96 = x_95; + lean_ctor_set_tag(x_96, 1); } -lean_ctor_set(x_95, 0, x_68); -lean_ctor_set(x_95, 1, x_93); -x_10 = x_95; +lean_ctor_set(x_96, 0, x_68); +lean_ctor_set(x_96, 1, x_94); +x_10 = x_96; goto block_22; } } @@ -6609,21 +7783,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline(lean_object _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_withAddMustInline___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -6637,7 +7801,7 @@ if (x_12 == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_13, 2); +x_14 = lean_ctor_get(x_13, 3); lean_inc(x_14); lean_dec(x_13); x_15 = l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__1(x_14, x_1); @@ -6682,7 +7846,7 @@ x_24 = lean_ctor_get(x_11, 1); lean_inc(x_24); lean_inc(x_23); lean_dec(x_11); -x_25 = lean_ctor_get(x_23, 2); +x_25 = lean_ctor_get(x_23, 3); lean_inc(x_25); lean_dec(x_23); x_26 = l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_Simp_FunDeclInfoMap_add___spec__1(x_25, x_1); @@ -6730,51 +7894,78 @@ return x_36; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_isOnceOrMustInline(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isSmall(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isSmall(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; -x_9 = lean_ctor_get(x_1, 4); -lean_inc(x_9); +lean_object* x_9; uint8_t x_10; +x_9 = l_Lean_Compiler_LCNF_getConfig(x_4, x_5, x_6, x_7, x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; +x_11 = lean_ctor_get(x_9, 0); +x_12 = lean_ctor_get(x_1, 4); +lean_inc(x_12); lean_dec(x_1); -x_10 = lean_ctor_get(x_2, 1); -x_11 = lean_ctor_get(x_10, 0); -x_12 = l_Lean_Compiler_LCNF_Code_sizeLe(x_9, x_11); -x_13 = lean_box(x_12); -x_14 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_8); -return x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_Compiler_LCNF_Code_sizeLe(x_12, x_13); +lean_dec(x_13); +x_15 = lean_box(x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +x_16 = lean_ctor_get(x_9, 0); +x_17 = lean_ctor_get(x_9, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_9); +x_18 = lean_ctor_get(x_1, 4); +lean_inc(x_18); +lean_dec(x_1); +x_19 = lean_ctor_get(x_16, 0); +lean_inc(x_19); +lean_dec(x_16); +x_20 = l_Lean_Compiler_LCNF_Code_sizeLe(x_18, x_19); +lean_dec(x_19); +x_21 = lean_box(x_20); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_17); +return x_22; +} } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isSmall___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_isSmall(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_isSmall(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -6828,19 +8019,36 @@ return x_22; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_shouldInlineLocal___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_shouldInlineLocal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("_x", 2); +return x_1; +} +} +static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -6848,6 +8056,10 @@ x_12 = lean_usize_dec_lt(x_3, x_2); if (x_12 == 0) { lean_object* x_13; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_11); @@ -6855,165 +8067,1132 @@ return x_13; } else { -lean_object* x_14; uint8_t x_15; +lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_24; x_14 = lean_array_uget(x_1, x_3); -x_15 = !lean_is_exclusive(x_4); -if (x_15 == 0) +x_24 = !lean_is_exclusive(x_4); +if (x_24 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_16 = lean_ctor_get(x_4, 0); -x_17 = lean_ctor_get(x_4, 1); -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_16, 1); -lean_inc(x_19); -x_20 = lean_ctor_get(x_16, 2); -lean_inc(x_20); -x_21 = lean_nat_dec_lt(x_19, x_20); -if (x_21 == 0) +lean_object* x_25; uint8_t x_26; +x_25 = lean_ctor_get(x_4, 1); +x_26 = !lean_is_exclusive(x_25); +if (x_26 == 0) { -lean_object* x_22; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_14); -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_4); -lean_ctor_set(x_22, 1, x_11); -return x_22; -} -else -{ -uint8_t x_23; -x_23 = !lean_is_exclusive(x_16); -if (x_23 == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; -x_24 = lean_ctor_get(x_16, 2); -lean_dec(x_24); -x_25 = lean_ctor_get(x_16, 1); -lean_dec(x_25); -x_26 = lean_ctor_get(x_16, 0); -lean_dec(x_26); -x_27 = lean_array_fget(x_18, x_19); -x_28 = lean_unsigned_to_nat(1u); -x_29 = lean_nat_add(x_19, x_28); -lean_dec(x_19); -lean_ctor_set(x_16, 1, x_29); -x_30 = lean_ctor_get(x_14, 0); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_27 = lean_ctor_get(x_4, 0); +x_28 = lean_ctor_get(x_25, 0); +x_29 = lean_ctor_get(x_25, 1); +x_30 = lean_ctor_get(x_27, 0); lean_inc(x_30); +x_31 = lean_ctor_get(x_27, 1); +lean_inc(x_31); +x_32 = lean_ctor_get(x_27, 2); +lean_inc(x_32); +x_33 = lean_nat_dec_lt(x_31, x_32); +if (x_33 == 0) +{ +lean_object* x_34; +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); lean_dec(x_14); -x_31 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_17, x_30, x_27); -lean_ctor_set(x_4, 1, x_31); -x_32 = 1; -x_33 = lean_usize_add(x_3, x_32); -x_3 = x_33; -goto _start; +x_34 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_34, 0, x_4); +x_15 = x_34; +x_16 = x_11; +goto block_23; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; size_t x_41; size_t x_42; -lean_dec(x_16); -x_35 = lean_array_fget(x_18, x_19); -x_36 = lean_unsigned_to_nat(1u); -x_37 = lean_nat_add(x_19, x_36); -lean_dec(x_19); -x_38 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_38, 0, x_18); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_20); -x_39 = lean_ctor_get(x_14, 0); +uint8_t x_35; +x_35 = !lean_is_exclusive(x_27); +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_41; lean_object* x_42; +x_36 = lean_ctor_get(x_27, 2); +lean_dec(x_36); +x_37 = lean_ctor_get(x_27, 1); +lean_dec(x_37); +x_38 = lean_ctor_get(x_27, 0); +lean_dec(x_38); +x_39 = lean_array_fget(x_30, x_31); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_add(x_31, x_40); +lean_dec(x_31); +lean_ctor_set(x_27, 1, x_41); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); lean_inc(x_39); -lean_dec(x_14); -x_40 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_17, x_39, x_35); -lean_ctor_set(x_4, 1, x_40); -lean_ctor_set(x_4, 0, x_38); -x_41 = 1; -x_42 = lean_usize_add(x_3, x_41); -x_3 = x_42; -goto _start; -} -} -} -else +x_42 = l_Lean_Compiler_LCNF_inferType(x_39, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_42) == 0) { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_44 = lean_ctor_get(x_4, 0); -x_45 = lean_ctor_get(x_4, 1); -lean_inc(x_45); +lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); lean_inc(x_44); -lean_dec(x_4); -x_46 = lean_ctor_get(x_44, 0); -lean_inc(x_46); -x_47 = lean_ctor_get(x_44, 1); -lean_inc(x_47); -x_48 = lean_ctor_get(x_44, 2); -lean_inc(x_48); -x_49 = lean_nat_dec_lt(x_47, x_48); -if (x_49 == 0) +lean_dec(x_42); +x_45 = lean_ctor_get(x_14, 2); +lean_inc(x_45); +x_46 = l_Lean_Expr_isAnyType(x_45); +lean_dec(x_45); +if (x_46 == 0) { -lean_object* x_50; lean_object* x_51; -lean_dec(x_48); -lean_dec(x_47); -lean_dec(x_46); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_43); +x_47 = lean_ctor_get(x_14, 0); +lean_inc(x_47); lean_dec(x_14); -x_50 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_50, 0, x_44); -lean_ctor_set(x_50, 1, x_45); -x_51 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_51, 0, x_50); -lean_ctor_set(x_51, 1, x_11); -return x_51; +x_48 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_29, x_47, x_39); +lean_ctor_set(x_25, 1, x_48); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_4); +x_15 = x_49; +x_16 = x_44; +goto block_23; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; size_t x_60; size_t x_61; -if (lean_is_exclusive(x_44)) { - lean_ctor_release(x_44, 0); - lean_ctor_release(x_44, 1); - lean_ctor_release(x_44, 2); - x_52 = x_44; -} else { - lean_dec_ref(x_44); - x_52 = lean_box(0); -} -x_53 = lean_array_fget(x_46, x_47); -x_54 = lean_unsigned_to_nat(1u); -x_55 = lean_nat_add(x_47, x_54); -lean_dec(x_47); -if (lean_is_scalar(x_52)) { - x_56 = lean_alloc_ctor(0, 3, 0); -} else { - x_56 = x_52; -} -lean_ctor_set(x_56, 0, x_46); -lean_ctor_set(x_56, 1, x_55); -lean_ctor_set(x_56, 2, x_48); -x_57 = lean_ctor_get(x_14, 0); +uint8_t x_50; +x_50 = l_Lean_Expr_isAnyType(x_43); +lean_dec(x_43); +if (x_50 == 0) +{ +lean_object* x_51; lean_object* x_52; +x_51 = l_Lean_Compiler_LCNF_anyTypeExpr; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_52 = l_Lean_Compiler_LCNF_mkLcCast(x_39, x_51, x_7, x_8, x_9, x_10, x_44); +if (lean_obj_tag(x_52) == 0) +{ +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_53 = lean_ctor_get(x_52, 0); +lean_inc(x_53); +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_56 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_53, x_55, x_7, x_8, x_9, x_10, x_54); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; +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); +lean_inc(x_57); +x_59 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_59, 0, x_57); +x_60 = lean_array_push(x_28, x_59); +x_61 = lean_ctor_get(x_14, 0); +lean_inc(x_61); lean_dec(x_14); -x_58 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_45, x_57, x_53); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_56); -lean_ctor_set(x_59, 1, x_58); -x_60 = 1; -x_61 = lean_usize_add(x_3, x_60); -x_3 = x_61; -x_4 = x_59; +x_62 = lean_ctor_get(x_57, 0); +lean_inc(x_62); +lean_dec(x_57); +x_63 = l_Lean_Expr_fvar___override(x_62); +x_64 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_29, x_61, x_63); +lean_ctor_set(x_25, 1, x_64); +lean_ctor_set(x_25, 0, x_60); +x_65 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_65, 0, x_4); +x_15 = x_65; +x_16 = x_58; +goto block_23; +} +else +{ +uint8_t x_66; +lean_dec(x_27); +lean_free_object(x_25); +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_66 = !lean_is_exclusive(x_56); +if (x_66 == 0) +{ +return x_56; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_56, 0); +x_68 = lean_ctor_get(x_56, 1); +lean_inc(x_68); +lean_inc(x_67); +lean_dec(x_56); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; +} +} +} +else +{ +uint8_t x_70; +lean_dec(x_27); +lean_free_object(x_25); +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_70 = !lean_is_exclusive(x_52); +if (x_70 == 0) +{ +return x_52; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_52, 0); +x_72 = lean_ctor_get(x_52, 1); +lean_inc(x_72); +lean_inc(x_71); +lean_dec(x_52); +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; +} +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_14, 0); +lean_inc(x_74); +lean_dec(x_14); +x_75 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_29, x_74, x_39); +lean_ctor_set(x_25, 1, x_75); +x_76 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_76, 0, x_4); +x_15 = x_76; +x_16 = x_44; +goto block_23; +} +} +} +else +{ +uint8_t x_77; +lean_dec(x_27); +lean_dec(x_39); +lean_free_object(x_25); +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_77 = !lean_is_exclusive(x_42); +if (x_77 == 0) +{ +return x_42; +} +else +{ +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_42, 0); +x_79 = lean_ctor_get(x_42, 1); +lean_inc(x_79); +lean_inc(x_78); +lean_dec(x_42); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; +} +} +} +else +{ +lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; +lean_dec(x_27); +x_81 = lean_array_fget(x_30, x_31); +x_82 = lean_unsigned_to_nat(1u); +x_83 = lean_nat_add(x_31, x_82); +lean_dec(x_31); +x_84 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_84, 0, x_30); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_32); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_81); +x_85 = l_Lean_Compiler_LCNF_inferType(x_81, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_85) == 0) +{ +lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_86 = lean_ctor_get(x_85, 0); +lean_inc(x_86); +x_87 = lean_ctor_get(x_85, 1); +lean_inc(x_87); +lean_dec(x_85); +x_88 = lean_ctor_get(x_14, 2); +lean_inc(x_88); +x_89 = l_Lean_Expr_isAnyType(x_88); +lean_dec(x_88); +if (x_89 == 0) +{ +lean_object* x_90; lean_object* x_91; lean_object* x_92; +lean_dec(x_86); +x_90 = lean_ctor_get(x_14, 0); +lean_inc(x_90); +lean_dec(x_14); +x_91 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_29, x_90, x_81); +lean_ctor_set(x_25, 1, x_91); +lean_ctor_set(x_4, 0, x_84); +x_92 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_92, 0, x_4); +x_15 = x_92; +x_16 = x_87; +goto block_23; +} +else +{ +uint8_t x_93; +x_93 = l_Lean_Expr_isAnyType(x_86); +lean_dec(x_86); +if (x_93 == 0) +{ +lean_object* x_94; lean_object* x_95; +x_94 = l_Lean_Compiler_LCNF_anyTypeExpr; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_95 = l_Lean_Compiler_LCNF_mkLcCast(x_81, x_94, x_7, x_8, x_9, x_10, x_87); +if (lean_obj_tag(x_95) == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_96 = lean_ctor_get(x_95, 0); +lean_inc(x_96); +x_97 = lean_ctor_get(x_95, 1); +lean_inc(x_97); +lean_dec(x_95); +x_98 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_99 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_96, x_98, x_7, x_8, x_9, x_10, x_97); +if (lean_obj_tag(x_99) == 0) +{ +lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_100 = lean_ctor_get(x_99, 0); +lean_inc(x_100); +x_101 = lean_ctor_get(x_99, 1); +lean_inc(x_101); +lean_dec(x_99); +lean_inc(x_100); +x_102 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_102, 0, x_100); +x_103 = lean_array_push(x_28, x_102); +x_104 = lean_ctor_get(x_14, 0); +lean_inc(x_104); +lean_dec(x_14); +x_105 = lean_ctor_get(x_100, 0); +lean_inc(x_105); +lean_dec(x_100); +x_106 = l_Lean_Expr_fvar___override(x_105); +x_107 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_29, x_104, x_106); +lean_ctor_set(x_25, 1, x_107); +lean_ctor_set(x_25, 0, x_103); +lean_ctor_set(x_4, 0, x_84); +x_108 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_108, 0, x_4); +x_15 = x_108; +x_16 = x_101; +goto block_23; +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +lean_dec(x_84); +lean_free_object(x_25); +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_109 = lean_ctor_get(x_99, 0); +lean_inc(x_109); +x_110 = lean_ctor_get(x_99, 1); +lean_inc(x_110); +if (lean_is_exclusive(x_99)) { + lean_ctor_release(x_99, 0); + lean_ctor_release(x_99, 1); + x_111 = x_99; +} else { + lean_dec_ref(x_99); + x_111 = lean_box(0); +} +if (lean_is_scalar(x_111)) { + x_112 = lean_alloc_ctor(1, 2, 0); +} else { + x_112 = x_111; +} +lean_ctor_set(x_112, 0, x_109); +lean_ctor_set(x_112, 1, x_110); +return x_112; +} +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_84); +lean_free_object(x_25); +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_113 = lean_ctor_get(x_95, 0); +lean_inc(x_113); +x_114 = lean_ctor_get(x_95, 1); +lean_inc(x_114); +if (lean_is_exclusive(x_95)) { + lean_ctor_release(x_95, 0); + lean_ctor_release(x_95, 1); + x_115 = x_95; +} else { + lean_dec_ref(x_95); + x_115 = lean_box(0); +} +if (lean_is_scalar(x_115)) { + x_116 = lean_alloc_ctor(1, 2, 0); +} else { + x_116 = x_115; +} +lean_ctor_set(x_116, 0, x_113); +lean_ctor_set(x_116, 1, x_114); +return x_116; +} +} +else +{ +lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_117 = lean_ctor_get(x_14, 0); +lean_inc(x_117); +lean_dec(x_14); +x_118 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_29, x_117, x_81); +lean_ctor_set(x_25, 1, x_118); +lean_ctor_set(x_4, 0, x_84); +x_119 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_119, 0, x_4); +x_15 = x_119; +x_16 = x_87; +goto block_23; +} +} +} +else +{ +lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_84); +lean_dec(x_81); +lean_free_object(x_25); +lean_dec(x_29); +lean_dec(x_28); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_120 = lean_ctor_get(x_85, 0); +lean_inc(x_120); +x_121 = lean_ctor_get(x_85, 1); +lean_inc(x_121); +if (lean_is_exclusive(x_85)) { + lean_ctor_release(x_85, 0); + lean_ctor_release(x_85, 1); + x_122 = x_85; +} else { + lean_dec_ref(x_85); + x_122 = lean_box(0); +} +if (lean_is_scalar(x_122)) { + x_123 = lean_alloc_ctor(1, 2, 0); +} else { + x_123 = x_122; +} +lean_ctor_set(x_123, 0, x_120); +lean_ctor_set(x_123, 1, x_121); +return x_123; +} +} +} +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_124 = lean_ctor_get(x_4, 0); +x_125 = lean_ctor_get(x_25, 0); +x_126 = lean_ctor_get(x_25, 1); +lean_inc(x_126); +lean_inc(x_125); +lean_dec(x_25); +x_127 = lean_ctor_get(x_124, 0); +lean_inc(x_127); +x_128 = lean_ctor_get(x_124, 1); +lean_inc(x_128); +x_129 = lean_ctor_get(x_124, 2); +lean_inc(x_129); +x_130 = lean_nat_dec_lt(x_128, x_129); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_129); +lean_dec(x_128); +lean_dec(x_127); +lean_dec(x_14); +x_131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_131, 0, x_125); +lean_ctor_set(x_131, 1, x_126); +lean_ctor_set(x_4, 1, x_131); +x_132 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_132, 0, x_4); +x_15 = x_132; +x_16 = x_11; +goto block_23; +} +else +{ +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + lean_ctor_release(x_124, 2); + x_133 = x_124; +} else { + lean_dec_ref(x_124); + x_133 = lean_box(0); +} +x_134 = lean_array_fget(x_127, x_128); +x_135 = lean_unsigned_to_nat(1u); +x_136 = lean_nat_add(x_128, x_135); +lean_dec(x_128); +if (lean_is_scalar(x_133)) { + x_137 = lean_alloc_ctor(0, 3, 0); +} else { + x_137 = x_133; +} +lean_ctor_set(x_137, 0, x_127); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_137, 2, x_129); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_134); +x_138 = l_Lean_Compiler_LCNF_inferType(x_134, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; uint8_t x_142; +x_139 = lean_ctor_get(x_138, 0); +lean_inc(x_139); +x_140 = lean_ctor_get(x_138, 1); +lean_inc(x_140); +lean_dec(x_138); +x_141 = lean_ctor_get(x_14, 2); +lean_inc(x_141); +x_142 = l_Lean_Expr_isAnyType(x_141); +lean_dec(x_141); +if (x_142 == 0) +{ +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; +lean_dec(x_139); +x_143 = lean_ctor_get(x_14, 0); +lean_inc(x_143); +lean_dec(x_14); +x_144 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_126, x_143, x_134); +x_145 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_145, 0, x_125); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_4, 1, x_145); +lean_ctor_set(x_4, 0, x_137); +x_146 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_146, 0, x_4); +x_15 = x_146; +x_16 = x_140; +goto block_23; +} +else +{ +uint8_t x_147; +x_147 = l_Lean_Expr_isAnyType(x_139); +lean_dec(x_139); +if (x_147 == 0) +{ +lean_object* x_148; lean_object* x_149; +x_148 = l_Lean_Compiler_LCNF_anyTypeExpr; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_149 = l_Lean_Compiler_LCNF_mkLcCast(x_134, x_148, x_7, x_8, x_9, x_10, x_140); +if (lean_obj_tag(x_149) == 0) +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_150 = lean_ctor_get(x_149, 0); +lean_inc(x_150); +x_151 = lean_ctor_get(x_149, 1); +lean_inc(x_151); +lean_dec(x_149); +x_152 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_153 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_150, x_152, x_7, x_8, x_9, x_10, x_151); +if (lean_obj_tag(x_153) == 0) +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_154 = lean_ctor_get(x_153, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +lean_inc(x_154); +x_156 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_156, 0, x_154); +x_157 = lean_array_push(x_125, x_156); +x_158 = lean_ctor_get(x_14, 0); +lean_inc(x_158); +lean_dec(x_14); +x_159 = lean_ctor_get(x_154, 0); +lean_inc(x_159); +lean_dec(x_154); +x_160 = l_Lean_Expr_fvar___override(x_159); +x_161 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_126, x_158, x_160); +x_162 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_162, 0, x_157); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set(x_4, 1, x_162); +lean_ctor_set(x_4, 0, x_137); +x_163 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_163, 0, x_4); +x_15 = x_163; +x_16 = x_155; +goto block_23; +} +else +{ +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_dec(x_137); +lean_dec(x_126); +lean_dec(x_125); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_164 = lean_ctor_get(x_153, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_153, 1); +lean_inc(x_165); +if (lean_is_exclusive(x_153)) { + lean_ctor_release(x_153, 0); + lean_ctor_release(x_153, 1); + x_166 = x_153; +} else { + lean_dec_ref(x_153); + x_166 = lean_box(0); +} +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 2, 0); +} else { + x_167 = x_166; +} +lean_ctor_set(x_167, 0, x_164); +lean_ctor_set(x_167, 1, x_165); +return x_167; +} +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +lean_dec(x_137); +lean_dec(x_126); +lean_dec(x_125); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_168 = lean_ctor_get(x_149, 0); +lean_inc(x_168); +x_169 = lean_ctor_get(x_149, 1); +lean_inc(x_169); +if (lean_is_exclusive(x_149)) { + lean_ctor_release(x_149, 0); + lean_ctor_release(x_149, 1); + x_170 = x_149; +} else { + lean_dec_ref(x_149); + x_170 = lean_box(0); +} +if (lean_is_scalar(x_170)) { + x_171 = lean_alloc_ctor(1, 2, 0); +} else { + x_171 = x_170; +} +lean_ctor_set(x_171, 0, x_168); +lean_ctor_set(x_171, 1, x_169); +return x_171; +} +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; +x_172 = lean_ctor_get(x_14, 0); +lean_inc(x_172); +lean_dec(x_14); +x_173 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_126, x_172, x_134); +x_174 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_174, 0, x_125); +lean_ctor_set(x_174, 1, x_173); +lean_ctor_set(x_4, 1, x_174); +lean_ctor_set(x_4, 0, x_137); +x_175 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_175, 0, x_4); +x_15 = x_175; +x_16 = x_140; +goto block_23; +} +} +} +else +{ +lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +lean_dec(x_137); +lean_dec(x_134); +lean_dec(x_126); +lean_dec(x_125); +lean_free_object(x_4); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_176 = lean_ctor_get(x_138, 0); +lean_inc(x_176); +x_177 = lean_ctor_get(x_138, 1); +lean_inc(x_177); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + x_178 = x_138; +} else { + lean_dec_ref(x_138); + x_178 = lean_box(0); +} +if (lean_is_scalar(x_178)) { + x_179 = lean_alloc_ctor(1, 2, 0); +} else { + x_179 = x_178; +} +lean_ctor_set(x_179, 0, x_176); +lean_ctor_set(x_179, 1, x_177); +return x_179; +} +} +} +} +else +{ +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; uint8_t x_188; +x_180 = lean_ctor_get(x_4, 1); +x_181 = lean_ctor_get(x_4, 0); +lean_inc(x_180); +lean_inc(x_181); +lean_dec(x_4); +x_182 = lean_ctor_get(x_180, 0); +lean_inc(x_182); +x_183 = lean_ctor_get(x_180, 1); +lean_inc(x_183); +if (lean_is_exclusive(x_180)) { + lean_ctor_release(x_180, 0); + lean_ctor_release(x_180, 1); + x_184 = x_180; +} else { + lean_dec_ref(x_180); + x_184 = lean_box(0); +} +x_185 = lean_ctor_get(x_181, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_181, 1); +lean_inc(x_186); +x_187 = lean_ctor_get(x_181, 2); +lean_inc(x_187); +x_188 = lean_nat_dec_lt(x_186, x_187); +if (x_188 == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; +lean_dec(x_187); +lean_dec(x_186); +lean_dec(x_185); +lean_dec(x_14); +if (lean_is_scalar(x_184)) { + x_189 = lean_alloc_ctor(0, 2, 0); +} else { + x_189 = x_184; +} +lean_ctor_set(x_189, 0, x_182); +lean_ctor_set(x_189, 1, x_183); +x_190 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_190, 0, x_181); +lean_ctor_set(x_190, 1, x_189); +x_191 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_191, 0, x_190); +x_15 = x_191; +x_16 = x_11; +goto block_23; +} +else +{ +lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; +if (lean_is_exclusive(x_181)) { + lean_ctor_release(x_181, 0); + lean_ctor_release(x_181, 1); + lean_ctor_release(x_181, 2); + x_192 = x_181; +} else { + lean_dec_ref(x_181); + x_192 = lean_box(0); +} +x_193 = lean_array_fget(x_185, x_186); +x_194 = lean_unsigned_to_nat(1u); +x_195 = lean_nat_add(x_186, x_194); +lean_dec(x_186); +if (lean_is_scalar(x_192)) { + x_196 = lean_alloc_ctor(0, 3, 0); +} else { + x_196 = x_192; +} +lean_ctor_set(x_196, 0, x_185); +lean_ctor_set(x_196, 1, x_195); +lean_ctor_set(x_196, 2, x_187); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_193); +x_197 = l_Lean_Compiler_LCNF_inferType(x_193, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_197) == 0) +{ +lean_object* x_198; lean_object* x_199; lean_object* x_200; uint8_t x_201; +x_198 = lean_ctor_get(x_197, 0); +lean_inc(x_198); +x_199 = lean_ctor_get(x_197, 1); +lean_inc(x_199); +lean_dec(x_197); +x_200 = lean_ctor_get(x_14, 2); +lean_inc(x_200); +x_201 = l_Lean_Expr_isAnyType(x_200); +lean_dec(x_200); +if (x_201 == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +lean_dec(x_198); +x_202 = lean_ctor_get(x_14, 0); +lean_inc(x_202); +lean_dec(x_14); +x_203 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_183, x_202, x_193); +if (lean_is_scalar(x_184)) { + x_204 = lean_alloc_ctor(0, 2, 0); +} else { + x_204 = x_184; +} +lean_ctor_set(x_204, 0, x_182); +lean_ctor_set(x_204, 1, x_203); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_196); +lean_ctor_set(x_205, 1, x_204); +x_206 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_206, 0, x_205); +x_15 = x_206; +x_16 = x_199; +goto block_23; +} +else +{ +uint8_t x_207; +x_207 = l_Lean_Expr_isAnyType(x_198); +lean_dec(x_198); +if (x_207 == 0) +{ +lean_object* x_208; lean_object* x_209; +x_208 = l_Lean_Compiler_LCNF_anyTypeExpr; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_209 = l_Lean_Compiler_LCNF_mkLcCast(x_193, x_208, x_7, x_8, x_9, x_10, x_199); +if (lean_obj_tag(x_209) == 0) +{ +lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; +x_210 = lean_ctor_get(x_209, 0); +lean_inc(x_210); +x_211 = lean_ctor_get(x_209, 1); +lean_inc(x_211); +lean_dec(x_209); +x_212 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +x_213 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_210, x_212, x_7, x_8, x_9, x_10, x_211); +if (lean_obj_tag(x_213) == 0) +{ +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; +x_214 = lean_ctor_get(x_213, 0); +lean_inc(x_214); +x_215 = lean_ctor_get(x_213, 1); +lean_inc(x_215); +lean_dec(x_213); +lean_inc(x_214); +x_216 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_216, 0, x_214); +x_217 = lean_array_push(x_182, x_216); +x_218 = lean_ctor_get(x_14, 0); +lean_inc(x_218); +lean_dec(x_14); +x_219 = lean_ctor_get(x_214, 0); +lean_inc(x_219); +lean_dec(x_214); +x_220 = l_Lean_Expr_fvar___override(x_219); +x_221 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_183, x_218, x_220); +if (lean_is_scalar(x_184)) { + x_222 = lean_alloc_ctor(0, 2, 0); +} else { + x_222 = x_184; +} +lean_ctor_set(x_222, 0, x_217); +lean_ctor_set(x_222, 1, x_221); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_196); +lean_ctor_set(x_223, 1, x_222); +x_224 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_224, 0, x_223); +x_15 = x_224; +x_16 = x_215; +goto block_23; +} +else +{ +lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +lean_dec(x_196); +lean_dec(x_184); +lean_dec(x_183); +lean_dec(x_182); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_225 = lean_ctor_get(x_213, 0); +lean_inc(x_225); +x_226 = lean_ctor_get(x_213, 1); +lean_inc(x_226); +if (lean_is_exclusive(x_213)) { + lean_ctor_release(x_213, 0); + lean_ctor_release(x_213, 1); + x_227 = x_213; +} else { + lean_dec_ref(x_213); + x_227 = lean_box(0); +} +if (lean_is_scalar(x_227)) { + x_228 = lean_alloc_ctor(1, 2, 0); +} else { + x_228 = x_227; +} +lean_ctor_set(x_228, 0, x_225); +lean_ctor_set(x_228, 1, x_226); +return x_228; +} +} +else +{ +lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; +lean_dec(x_196); +lean_dec(x_184); +lean_dec(x_183); +lean_dec(x_182); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_229 = lean_ctor_get(x_209, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_209, 1); +lean_inc(x_230); +if (lean_is_exclusive(x_209)) { + lean_ctor_release(x_209, 0); + lean_ctor_release(x_209, 1); + x_231 = x_209; +} else { + lean_dec_ref(x_209); + x_231 = lean_box(0); +} +if (lean_is_scalar(x_231)) { + x_232 = lean_alloc_ctor(1, 2, 0); +} else { + x_232 = x_231; +} +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +return x_232; +} +} +else +{ +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_233 = lean_ctor_get(x_14, 0); +lean_inc(x_233); +lean_dec(x_14); +x_234 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_183, x_233, x_193); +if (lean_is_scalar(x_184)) { + x_235 = lean_alloc_ctor(0, 2, 0); +} else { + x_235 = x_184; +} +lean_ctor_set(x_235, 0, x_182); +lean_ctor_set(x_235, 1, x_234); +x_236 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_236, 0, x_196); +lean_ctor_set(x_236, 1, x_235); +x_237 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_237, 0, x_236); +x_15 = x_237; +x_16 = x_199; +goto block_23; +} +} +} +else +{ +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +lean_dec(x_196); +lean_dec(x_193); +lean_dec(x_184); +lean_dec(x_183); +lean_dec(x_182); +lean_dec(x_14); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_238 = lean_ctor_get(x_197, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_197, 1); +lean_inc(x_239); +if (lean_is_exclusive(x_197)) { + lean_ctor_release(x_197, 0); + lean_ctor_release(x_197, 1); + x_240 = x_197; +} else { + lean_dec_ref(x_197); + x_240 = lean_box(0); +} +if (lean_is_scalar(x_240)) { + x_241 = lean_alloc_ctor(1, 2, 0); +} else { + x_241 = x_240; +} +lean_ctor_set(x_241, 0, x_238); +lean_ctor_set(x_241, 1, x_239); +return x_241; +} +} +} +block_23: +{ +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_17; lean_object* x_18; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +return x_18; +} +else +{ +lean_object* x_19; size_t x_20; size_t x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_3 = x_21; +x_4 = x_19; +x_11 = x_16; goto _start; } } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +static lean_object* _init_l_Lean_Compiler_LCNF_Simp_betaReduce___closed__1() { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1; +x_2 = l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1; +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_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce(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* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; x_12 = lean_array_get_size(x_3); x_13 = lean_unsigned_to_nat(0u); x_14 = l_Array_toSubarray___rarg(x_3, x_13, x_12); -x_15 = l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1; +x_15 = l_Lean_Compiler_LCNF_Simp_betaReduce___closed__1; x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_14); lean_ctor_set(x_16, 1, x_15); @@ -7021,68 +9200,110 @@ x_17 = lean_array_get_size(x_1); x_18 = lean_usize_of_nat(x_17); lean_dec(x_17); x_19 = 0; +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); x_20 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(x_1, x_18, x_19, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_20) == 0) +{ +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_21 = lean_ctor_get(x_20, 0); lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +x_22 = lean_ctor_get(x_21, 1); lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_ctor_get(x_21, 1); -lean_inc(x_23); lean_dec(x_21); -x_24 = l_Lean_Compiler_LCNF_Code_internalize(x_2, x_23, x_7, x_8, x_9, x_10, x_22); -x_25 = lean_ctor_get(x_24, 0); +x_23 = lean_ctor_get(x_20, 1); +lean_inc(x_23); +lean_dec(x_20); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +x_25 = lean_ctor_get(x_22, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); -lean_inc(x_26); +lean_dec(x_22); +x_26 = l_Lean_Compiler_LCNF_Code_internalize(x_2, x_25, x_7, x_8, x_9, x_10, x_23); +x_27 = lean_ctor_get(x_26, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_26, 1); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Compiler_LCNF_attachCodeDecls(x_24, x_27); lean_dec(x_24); -lean_inc(x_25); -x_27 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_25, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); -if (lean_obj_tag(x_27) == 0) +lean_inc(x_29); +x_30 = l_Lean_Compiler_LCNF_Simp_updateFunDeclInfo(x_29, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +if (lean_obj_tag(x_30) == 0) { -uint8_t x_28; -x_28 = !lean_is_exclusive(x_27); -if (x_28 == 0) +uint8_t x_31; +x_31 = !lean_is_exclusive(x_30); +if (x_31 == 0) { -lean_object* x_29; -x_29 = lean_ctor_get(x_27, 0); -lean_dec(x_29); -lean_ctor_set(x_27, 0, x_25); -return x_27; +lean_object* x_32; +x_32 = lean_ctor_get(x_30, 0); +lean_dec(x_32); +lean_ctor_set(x_30, 0, x_29); +return x_30; } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_27, 1); -lean_inc(x_30); -lean_dec(x_27); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_25); -lean_ctor_set(x_31, 1, x_30); -return x_31; -} -} -else -{ -uint8_t x_32; -lean_dec(x_25); -x_32 = !lean_is_exclusive(x_27); -if (x_32 == 0) -{ -return x_27; -} -else -{ -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_27, 0); -x_34 = lean_ctor_get(x_27, 1); -lean_inc(x_34); +lean_object* x_33; lean_object* x_34; +x_33 = lean_ctor_get(x_30, 1); lean_inc(x_33); -lean_dec(x_27); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_dec(x_30); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_29); +lean_ctor_set(x_34, 1, x_33); +return x_34; +} +} +else +{ +uint8_t x_35; +lean_dec(x_29); +x_35 = !lean_is_exclusive(x_30); +if (x_35 == 0) +{ +return x_30; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_30, 0); +x_37 = lean_ctor_get(x_30, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_30); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +else +{ +uint8_t x_39; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +x_39 = !lean_is_exclusive(x_20); +if (x_39 == 0) +{ +return x_20; +} +else +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_20, 0); +x_41 = lean_ctor_get(x_20, 1); +lean_inc(x_41); +lean_inc(x_40); +lean_dec(x_20); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } @@ -7090,39 +9311,32 @@ return x_35; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { -_start: -{ -uint8_t x_12; uint8_t x_13; lean_object* x_14; -x_12 = lean_unbox(x_4); -lean_dec(x_4); -x_13 = lean_unbox(x_7); -lean_dec(x_7); -x_14 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_1, x_2, x_3, x_12, x_5, x_6, x_13, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_betaReduce___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +_start: +{ +uint8_t x_12; lean_object* x_13; +x_12 = lean_unbox(x_4); +lean_dec(x_4); +x_13 = l_Lean_Compiler_LCNF_Simp_betaReduce(x_1, x_2, x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_1); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -7137,20 +9351,19 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_eraseLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; @@ -7166,20 +9379,758 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_eraseFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_eraseFunDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_eraseFunDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); +return x_9; +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFVarSubst(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; +x_10 = lean_st_ref_get(x_8, x_9); +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_st_ref_take(x_4, x_11); +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = !lean_is_exclusive(x_13); +if (x_15 == 0) +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_16 = lean_ctor_get(x_13, 0); +lean_inc(x_2); +x_17 = l_Lean_Expr_fvar___override(x_2); +lean_inc(x_1); +x_18 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_16, x_1, x_17); +lean_ctor_set(x_13, 0, x_18); +x_19 = lean_st_ref_set(x_4, x_13, x_14); +x_20 = lean_ctor_get(x_19, 1); +lean_inc(x_20); +lean_dec(x_19); +x_21 = l_Lean_Compiler_LCNF_getBinderName(x_1, x_5, x_6, x_7, x_8, x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_21, 1); +x_25 = l_Lean_Name_isInternal(x_23); +if (x_25 == 0) +{ +lean_object* x_26; +lean_free_object(x_21); +lean_inc(x_2); +x_26 = l_Lean_Compiler_LCNF_getBinderName(x_2, x_5, x_6, x_7, x_8, x_24); +if (lean_obj_tag(x_26) == 0) +{ +uint8_t x_27; +x_27 = !lean_is_exclusive(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_26, 0); +x_29 = lean_ctor_get(x_26, 1); +x_30 = l_Lean_Name_isInternal(x_28); +lean_dec(x_28); +if (x_30 == 0) +{ +lean_object* x_31; +lean_dec(x_23); +lean_dec(x_2); +x_31 = lean_box(0); +lean_ctor_set(x_26, 0, x_31); +return x_26; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; +lean_free_object(x_26); +x_32 = lean_st_ref_get(x_8, x_29); +x_33 = lean_ctor_get(x_32, 1); +lean_inc(x_33); +lean_dec(x_32); +x_34 = lean_st_ref_take(x_4, x_33); +x_35 = lean_ctor_get(x_34, 0); +lean_inc(x_35); +x_36 = lean_ctor_get(x_34, 1); +lean_inc(x_36); +lean_dec(x_34); +x_37 = !lean_is_exclusive(x_35); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_38 = lean_ctor_get(x_35, 2); +x_39 = l_Lean_RBNode_insert___at_Lean_Elab_Term_withAuxDecl___spec__1(x_38, x_2, x_23); +lean_ctor_set(x_35, 2, x_39); +x_40 = lean_st_ref_set(x_4, x_35, x_36); +x_41 = !lean_is_exclusive(x_40); +if (x_41 == 0) +{ +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_40, 0); +lean_dec(x_42); +x_43 = lean_box(0); +lean_ctor_set(x_40, 0, x_43); +return x_40; +} +else +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_40, 1); +lean_inc(x_44); +lean_dec(x_40); +x_45 = lean_box(0); +x_46 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_44); +return x_46; +} +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_47 = lean_ctor_get(x_35, 0); +x_48 = lean_ctor_get(x_35, 1); +x_49 = lean_ctor_get(x_35, 2); +x_50 = lean_ctor_get(x_35, 3); +x_51 = lean_ctor_get_uint8(x_35, sizeof(void*)*7); +x_52 = lean_ctor_get(x_35, 4); +x_53 = lean_ctor_get(x_35, 5); +x_54 = lean_ctor_get(x_35, 6); +lean_inc(x_54); +lean_inc(x_53); +lean_inc(x_52); +lean_inc(x_50); +lean_inc(x_49); +lean_inc(x_48); +lean_inc(x_47); +lean_dec(x_35); +x_55 = l_Lean_RBNode_insert___at_Lean_Elab_Term_withAuxDecl___spec__1(x_49, x_2, x_23); +x_56 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_56, 0, x_47); +lean_ctor_set(x_56, 1, x_48); +lean_ctor_set(x_56, 2, x_55); +lean_ctor_set(x_56, 3, x_50); +lean_ctor_set(x_56, 4, x_52); +lean_ctor_set(x_56, 5, x_53); +lean_ctor_set(x_56, 6, x_54); +lean_ctor_set_uint8(x_56, sizeof(void*)*7, x_51); +x_57 = lean_st_ref_set(x_4, x_56, x_36); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +if (lean_is_exclusive(x_57)) { + lean_ctor_release(x_57, 0); + lean_ctor_release(x_57, 1); + x_59 = x_57; +} else { + lean_dec_ref(x_57); + x_59 = lean_box(0); +} +x_60 = lean_box(0); +if (lean_is_scalar(x_59)) { + x_61 = lean_alloc_ctor(0, 2, 0); +} else { + x_61 = x_59; +} +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_58); +return x_61; +} +} +} +else +{ +lean_object* x_62; lean_object* x_63; uint8_t x_64; +x_62 = lean_ctor_get(x_26, 0); +x_63 = lean_ctor_get(x_26, 1); +lean_inc(x_63); +lean_inc(x_62); +lean_dec(x_26); +x_64 = l_Lean_Name_isInternal(x_62); +lean_dec(x_62); +if (x_64 == 0) +{ +lean_object* x_65; lean_object* x_66; +lean_dec(x_23); +lean_dec(x_2); +x_65 = lean_box(0); +x_66 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_66, 0, x_65); +lean_ctor_set(x_66, 1, x_63); +return x_66; +} +else +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_67 = lean_st_ref_get(x_8, x_63); +x_68 = lean_ctor_get(x_67, 1); +lean_inc(x_68); +lean_dec(x_67); +x_69 = lean_st_ref_take(x_4, x_68); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_ctor_get(x_70, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_70, 1); +lean_inc(x_73); +x_74 = lean_ctor_get(x_70, 2); +lean_inc(x_74); +x_75 = lean_ctor_get(x_70, 3); +lean_inc(x_75); +x_76 = lean_ctor_get_uint8(x_70, sizeof(void*)*7); +x_77 = lean_ctor_get(x_70, 4); +lean_inc(x_77); +x_78 = lean_ctor_get(x_70, 5); +lean_inc(x_78); +x_79 = lean_ctor_get(x_70, 6); +lean_inc(x_79); +if (lean_is_exclusive(x_70)) { + lean_ctor_release(x_70, 0); + lean_ctor_release(x_70, 1); + lean_ctor_release(x_70, 2); + lean_ctor_release(x_70, 3); + lean_ctor_release(x_70, 4); + lean_ctor_release(x_70, 5); + lean_ctor_release(x_70, 6); + x_80 = x_70; +} else { + lean_dec_ref(x_70); + x_80 = lean_box(0); +} +x_81 = l_Lean_RBNode_insert___at_Lean_Elab_Term_withAuxDecl___spec__1(x_74, x_2, x_23); +if (lean_is_scalar(x_80)) { + x_82 = lean_alloc_ctor(0, 7, 1); +} else { + x_82 = x_80; +} +lean_ctor_set(x_82, 0, x_72); +lean_ctor_set(x_82, 1, x_73); +lean_ctor_set(x_82, 2, x_81); +lean_ctor_set(x_82, 3, x_75); +lean_ctor_set(x_82, 4, x_77); +lean_ctor_set(x_82, 5, x_78); +lean_ctor_set(x_82, 6, x_79); +lean_ctor_set_uint8(x_82, sizeof(void*)*7, x_76); +x_83 = lean_st_ref_set(x_4, x_82, x_71); +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +if (lean_is_exclusive(x_83)) { + lean_ctor_release(x_83, 0); + lean_ctor_release(x_83, 1); + x_85 = x_83; +} else { + lean_dec_ref(x_83); + x_85 = lean_box(0); +} +x_86 = lean_box(0); +if (lean_is_scalar(x_85)) { + x_87 = lean_alloc_ctor(0, 2, 0); +} else { + x_87 = x_85; +} +lean_ctor_set(x_87, 0, x_86); +lean_ctor_set(x_87, 1, x_84); +return x_87; +} +} +} +else +{ +uint8_t x_88; +lean_dec(x_23); +lean_dec(x_2); +x_88 = !lean_is_exclusive(x_26); +if (x_88 == 0) +{ +return x_26; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_26, 0); +x_90 = lean_ctor_get(x_26, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_26); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; +} +} +} +else +{ +lean_object* x_92; +lean_dec(x_23); +lean_dec(x_2); +x_92 = lean_box(0); +lean_ctor_set(x_21, 0, x_92); +return x_21; +} +} +else +{ +lean_object* x_93; lean_object* x_94; uint8_t x_95; +x_93 = lean_ctor_get(x_21, 0); +x_94 = lean_ctor_get(x_21, 1); +lean_inc(x_94); +lean_inc(x_93); +lean_dec(x_21); +x_95 = l_Lean_Name_isInternal(x_93); +if (x_95 == 0) +{ +lean_object* x_96; +lean_inc(x_2); +x_96 = l_Lean_Compiler_LCNF_getBinderName(x_2, x_5, x_6, x_7, x_8, x_94); +if (lean_obj_tag(x_96) == 0) +{ +lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; +x_97 = lean_ctor_get(x_96, 0); +lean_inc(x_97); +x_98 = lean_ctor_get(x_96, 1); +lean_inc(x_98); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_99 = x_96; +} else { + lean_dec_ref(x_96); + x_99 = lean_box(0); +} +x_100 = l_Lean_Name_isInternal(x_97); +lean_dec(x_97); +if (x_100 == 0) +{ +lean_object* x_101; lean_object* x_102; +lean_dec(x_93); +lean_dec(x_2); +x_101 = lean_box(0); +if (lean_is_scalar(x_99)) { + x_102 = lean_alloc_ctor(0, 2, 0); +} else { + x_102 = x_99; +} +lean_ctor_set(x_102, 0, x_101); +lean_ctor_set(x_102, 1, x_98); +return x_102; +} +else +{ +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; uint8_t x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_99); +x_103 = lean_st_ref_get(x_8, x_98); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); +x_105 = lean_st_ref_take(x_4, x_104); +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_ctor_get(x_106, 0); +lean_inc(x_108); +x_109 = lean_ctor_get(x_106, 1); +lean_inc(x_109); +x_110 = lean_ctor_get(x_106, 2); +lean_inc(x_110); +x_111 = lean_ctor_get(x_106, 3); +lean_inc(x_111); +x_112 = lean_ctor_get_uint8(x_106, sizeof(void*)*7); +x_113 = lean_ctor_get(x_106, 4); +lean_inc(x_113); +x_114 = lean_ctor_get(x_106, 5); +lean_inc(x_114); +x_115 = lean_ctor_get(x_106, 6); +lean_inc(x_115); +if (lean_is_exclusive(x_106)) { + lean_ctor_release(x_106, 0); + lean_ctor_release(x_106, 1); + lean_ctor_release(x_106, 2); + lean_ctor_release(x_106, 3); + lean_ctor_release(x_106, 4); + lean_ctor_release(x_106, 5); + lean_ctor_release(x_106, 6); + x_116 = x_106; +} else { + lean_dec_ref(x_106); + x_116 = lean_box(0); +} +x_117 = l_Lean_RBNode_insert___at_Lean_Elab_Term_withAuxDecl___spec__1(x_110, x_2, x_93); +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(0, 7, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_108); +lean_ctor_set(x_118, 1, x_109); +lean_ctor_set(x_118, 2, x_117); +lean_ctor_set(x_118, 3, x_111); +lean_ctor_set(x_118, 4, x_113); +lean_ctor_set(x_118, 5, x_114); +lean_ctor_set(x_118, 6, x_115); +lean_ctor_set_uint8(x_118, sizeof(void*)*7, x_112); +x_119 = lean_st_ref_set(x_4, x_118, x_107); +x_120 = lean_ctor_get(x_119, 1); +lean_inc(x_120); +if (lean_is_exclusive(x_119)) { + lean_ctor_release(x_119, 0); + lean_ctor_release(x_119, 1); + x_121 = x_119; +} else { + lean_dec_ref(x_119); + x_121 = lean_box(0); +} +x_122 = lean_box(0); +if (lean_is_scalar(x_121)) { + x_123 = lean_alloc_ctor(0, 2, 0); +} else { + x_123 = x_121; +} +lean_ctor_set(x_123, 0, x_122); +lean_ctor_set(x_123, 1, x_120); +return x_123; +} +} +else +{ +lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +lean_dec(x_93); +lean_dec(x_2); +x_124 = lean_ctor_get(x_96, 0); +lean_inc(x_124); +x_125 = lean_ctor_get(x_96, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_96)) { + lean_ctor_release(x_96, 0); + lean_ctor_release(x_96, 1); + x_126 = x_96; +} else { + lean_dec_ref(x_96); + x_126 = lean_box(0); +} +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(1, 2, 0); +} else { + x_127 = x_126; +} +lean_ctor_set(x_127, 0, x_124); +lean_ctor_set(x_127, 1, x_125); +return x_127; +} +} +else +{ +lean_object* x_128; lean_object* x_129; +lean_dec(x_93); +lean_dec(x_2); +x_128 = lean_box(0); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_94); +return x_129; +} +} +} +else +{ +uint8_t x_130; +lean_dec(x_2); +x_130 = !lean_is_exclusive(x_21); +if (x_130 == 0) +{ +return x_21; +} +else +{ +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_21, 0); +x_132 = lean_ctor_get(x_21, 1); +lean_inc(x_132); +lean_inc(x_131); +lean_dec(x_21); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +return x_133; +} +} +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; uint8_t 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_134 = lean_ctor_get(x_13, 0); +x_135 = lean_ctor_get(x_13, 1); +x_136 = lean_ctor_get(x_13, 2); +x_137 = lean_ctor_get(x_13, 3); +x_138 = lean_ctor_get_uint8(x_13, sizeof(void*)*7); +x_139 = lean_ctor_get(x_13, 4); +x_140 = lean_ctor_get(x_13, 5); +x_141 = lean_ctor_get(x_13, 6); +lean_inc(x_141); +lean_inc(x_140); +lean_inc(x_139); +lean_inc(x_137); +lean_inc(x_136); +lean_inc(x_135); +lean_inc(x_134); +lean_dec(x_13); +lean_inc(x_2); +x_142 = l_Lean_Expr_fvar___override(x_2); +lean_inc(x_1); +x_143 = l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(x_134, x_1, x_142); +x_144 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_135); +lean_ctor_set(x_144, 2, x_136); +lean_ctor_set(x_144, 3, x_137); +lean_ctor_set(x_144, 4, x_139); +lean_ctor_set(x_144, 5, x_140); +lean_ctor_set(x_144, 6, x_141); +lean_ctor_set_uint8(x_144, sizeof(void*)*7, x_138); +x_145 = lean_st_ref_set(x_4, x_144, x_14); +x_146 = lean_ctor_get(x_145, 1); +lean_inc(x_146); +lean_dec(x_145); +x_147 = l_Lean_Compiler_LCNF_getBinderName(x_1, x_5, x_6, x_7, x_8, x_146); +if (lean_obj_tag(x_147) == 0) +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; uint8_t x_151; +x_148 = lean_ctor_get(x_147, 0); +lean_inc(x_148); +x_149 = lean_ctor_get(x_147, 1); +lean_inc(x_149); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_150 = x_147; +} else { + lean_dec_ref(x_147); + x_150 = lean_box(0); +} +x_151 = l_Lean_Name_isInternal(x_148); +if (x_151 == 0) +{ +lean_object* x_152; +lean_dec(x_150); +lean_inc(x_2); +x_152 = l_Lean_Compiler_LCNF_getBinderName(x_2, x_5, x_6, x_7, x_8, x_149); +if (lean_obj_tag(x_152) == 0) +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +x_154 = lean_ctor_get(x_152, 1); +lean_inc(x_154); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_155 = x_152; +} else { + lean_dec_ref(x_152); + x_155 = lean_box(0); +} +x_156 = l_Lean_Name_isInternal(x_153); +lean_dec(x_153); +if (x_156 == 0) +{ +lean_object* x_157; lean_object* x_158; +lean_dec(x_148); +lean_dec(x_2); +x_157 = lean_box(0); +if (lean_is_scalar(x_155)) { + x_158 = lean_alloc_ctor(0, 2, 0); +} else { + x_158 = x_155; +} +lean_ctor_set(x_158, 0, x_157); +lean_ctor_set(x_158, 1, x_154); +return x_158; +} +else +{ +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t 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_dec(x_155); +x_159 = lean_st_ref_get(x_8, x_154); +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +lean_dec(x_159); +x_161 = lean_st_ref_take(x_4, x_160); +x_162 = lean_ctor_get(x_161, 0); +lean_inc(x_162); +x_163 = lean_ctor_get(x_161, 1); +lean_inc(x_163); +lean_dec(x_161); +x_164 = lean_ctor_get(x_162, 0); +lean_inc(x_164); +x_165 = lean_ctor_get(x_162, 1); +lean_inc(x_165); +x_166 = lean_ctor_get(x_162, 2); +lean_inc(x_166); +x_167 = lean_ctor_get(x_162, 3); +lean_inc(x_167); +x_168 = lean_ctor_get_uint8(x_162, sizeof(void*)*7); +x_169 = lean_ctor_get(x_162, 4); +lean_inc(x_169); +x_170 = lean_ctor_get(x_162, 5); +lean_inc(x_170); +x_171 = lean_ctor_get(x_162, 6); +lean_inc(x_171); +if (lean_is_exclusive(x_162)) { + lean_ctor_release(x_162, 0); + lean_ctor_release(x_162, 1); + lean_ctor_release(x_162, 2); + lean_ctor_release(x_162, 3); + lean_ctor_release(x_162, 4); + lean_ctor_release(x_162, 5); + lean_ctor_release(x_162, 6); + x_172 = x_162; +} else { + lean_dec_ref(x_162); + x_172 = lean_box(0); +} +x_173 = l_Lean_RBNode_insert___at_Lean_Elab_Term_withAuxDecl___spec__1(x_166, x_2, x_148); +if (lean_is_scalar(x_172)) { + x_174 = lean_alloc_ctor(0, 7, 1); +} else { + x_174 = x_172; +} +lean_ctor_set(x_174, 0, x_164); +lean_ctor_set(x_174, 1, x_165); +lean_ctor_set(x_174, 2, x_173); +lean_ctor_set(x_174, 3, x_167); +lean_ctor_set(x_174, 4, x_169); +lean_ctor_set(x_174, 5, x_170); +lean_ctor_set(x_174, 6, x_171); +lean_ctor_set_uint8(x_174, sizeof(void*)*7, x_168); +x_175 = lean_st_ref_set(x_4, x_174, x_163); +x_176 = lean_ctor_get(x_175, 1); +lean_inc(x_176); +if (lean_is_exclusive(x_175)) { + lean_ctor_release(x_175, 0); + lean_ctor_release(x_175, 1); + x_177 = x_175; +} else { + lean_dec_ref(x_175); + x_177 = lean_box(0); +} +x_178 = lean_box(0); +if (lean_is_scalar(x_177)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_177; +} +lean_ctor_set(x_179, 0, x_178); +lean_ctor_set(x_179, 1, x_176); +return x_179; +} +} +else +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_dec(x_148); +lean_dec(x_2); +x_180 = lean_ctor_get(x_152, 0); +lean_inc(x_180); +x_181 = lean_ctor_get(x_152, 1); +lean_inc(x_181); +if (lean_is_exclusive(x_152)) { + lean_ctor_release(x_152, 0); + lean_ctor_release(x_152, 1); + x_182 = x_152; +} else { + lean_dec_ref(x_152); + x_182 = lean_box(0); +} +if (lean_is_scalar(x_182)) { + x_183 = lean_alloc_ctor(1, 2, 0); +} else { + x_183 = x_182; +} +lean_ctor_set(x_183, 0, x_180); +lean_ctor_set(x_183, 1, x_181); +return x_183; +} +} +else +{ +lean_object* x_184; lean_object* x_185; +lean_dec(x_148); +lean_dec(x_2); +x_184 = lean_box(0); +if (lean_is_scalar(x_150)) { + x_185 = lean_alloc_ctor(0, 2, 0); +} else { + x_185 = x_150; +} +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_149); +return x_185; +} +} +else +{ +lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; +lean_dec(x_2); +x_186 = lean_ctor_get(x_147, 0); +lean_inc(x_186); +x_187 = lean_ctor_get(x_147, 1); +lean_inc(x_187); +if (lean_is_exclusive(x_147)) { + lean_ctor_release(x_147, 0); + lean_ctor_release(x_147, 1); + x_188 = x_147; +} else { + lean_dec_ref(x_147); + x_188 = lean_box(0); +} +if (lean_is_scalar(x_188)) { + x_189 = lean_alloc_ctor(1, 2, 0); +} else { + x_189 = x_188; +} +lean_ctor_set(x_189, 0, x_186); +lean_ctor_set(x_189, 1, x_187); +return x_189; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_addFVarSubst___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +_start: +{ +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_addFVarSubst(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); return x_10; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_ImplementedByAttr(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Compiler_LCNF_Renaming(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_ElimDead(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_AlphaEqv(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_LCNF_PrettyPrinter(uint8_t builtin, lean_object*); @@ -7198,6 +10149,9 @@ lean_dec_ref(res); res = initialize_Lean_Compiler_ImplementedByAttr(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Compiler_LCNF_Renaming(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); res = initialize_Lean_Compiler_LCNF_ElimDead(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); @@ -7227,6 +10181,14 @@ l_Lean_Compiler_LCNF_Simp_Context_discrCtorMap___default = _init_l_Lean_Compiler lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_Context_discrCtorMap___default); l_Lean_Compiler_LCNF_Simp_Context_inlineStack___default = _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStack___default(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_Context_inlineStack___default); +l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__1); +l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__2); +l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default___closed__3); +l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default = _init_l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_Context_inlineStackOccs___default); l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_State_subst___default___closed__1); l_Lean_Compiler_LCNF_Simp_State_subst___default = _init_l_Lean_Compiler_LCNF_Simp_State_subst___default(); @@ -7235,6 +10197,8 @@ l_Lean_Compiler_LCNF_Simp_State_used___default___closed__1 = _init_l_Lean_Compil lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_State_used___default___closed__1); l_Lean_Compiler_LCNF_Simp_State_used___default = _init_l_Lean_Compiler_LCNF_Simp_State_used___default(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_State_used___default); +l_Lean_Compiler_LCNF_Simp_State_binderRenaming___default = _init_l_Lean_Compiler_LCNF_Simp_State_binderRenaming___default(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_State_binderRenaming___default); l_Lean_Compiler_LCNF_Simp_State_funDeclInfoMap___default = _init_l_Lean_Compiler_LCNF_Simp_State_funDeclInfoMap___default(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_State_funDeclInfoMap___default); l_Lean_Compiler_LCNF_Simp_State_simplified___default = _init_l_Lean_Compiler_LCNF_Simp_State_simplified___default(); @@ -7256,12 +10220,6 @@ l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed_ lean_mark_persistent(l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__2); l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3 = _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3(); lean_mark_persistent(l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__3); -l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__4 = _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__4(); -lean_mark_persistent(l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__4); -l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__5 = _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__5(); -lean_mark_persistent(l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__5); -l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6 = _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6(); -lean_mark_persistent(l_Lean_throwError___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__3___closed__6); l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__1 = _init_l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__1(); lean_mark_persistent(l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__1); l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__2 = _init_l_Lean_getConstInfo___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__2___closed__2(); @@ -7276,8 +10234,28 @@ l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1___c lean_mark_persistent(l_Lean_getConstInfoCtor___at_Lean_Compiler_LCNF_Simp_withDiscrCtor___spec__1___closed__2); l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1___closed__1 = _init_l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1___closed__1(); lean_mark_persistent(l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Simp_withInlining___spec__1___closed__1); -l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___closed__1 = _init_l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___closed__1(); -lean_mark_persistent(l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__2___closed__1); +l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__1 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__1(); +l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__2 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__2(); +l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__3 = _init_l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__3(); +lean_mark_persistent(l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_Simp_withInlining___spec__3___closed__3); +l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1 = _init_l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1(); +lean_mark_persistent(l_Lean_addTrace___at_Lean_Compiler_LCNF_Simp_withInlining___spec__10___closed__1); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__1); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__2(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__2); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__3 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__3(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__3); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__4 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__4(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__4); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__5 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__5(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__5); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__6 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__6(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__6); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__7 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__7(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__7); +l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__8 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__8(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___lambda__2___closed__8); l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__1(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__1); l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__2 = _init_l_Lean_Compiler_LCNF_Simp_withInlining___rarg___closed__2(); @@ -7316,6 +10294,12 @@ l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__6 = lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__6); l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__7 = _init_l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__7(); lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_withIncRecDepth_throwMaxRecDepth___rarg___closed__7); +l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__1 = _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__1(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__1); +l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2 = _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2(); +lean_mark_persistent(l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Simp_betaReduce___spec__1___closed__2); +l_Lean_Compiler_LCNF_Simp_betaReduce___closed__1 = _init_l_Lean_Compiler_LCNF_Simp_betaReduce___closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_Simp_betaReduce___closed__1); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpValue.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpValue.c index fd735f5841..b9f7d71716 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpValue.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/SimpValue.c @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); lean_object* l_Lean_Expr_constructorApp_x3f(lean_object*, lean_object*, uint8_t); @@ -25,14 +25,14 @@ lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ParametricAttribute_getParam_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f___closed__3; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_findExpr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_sort___override(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isConst(lean_object*); @@ -42,17 +42,17 @@ static lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f___closed__2; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f___closed__4; extern lean_object* l_Lean_instInhabitedName; lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Simp_markSimplified___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Lean_Compiler_LCNF_Simp_simpProj_x3f___closed__1() { _start: @@ -91,7 +91,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 11) @@ -412,16 +412,15 @@ return x_89; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpProj_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpProj_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_simpProj_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } static lean_object* _init_l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f___closed__1() { @@ -443,7 +442,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; lean_object* x_11; @@ -856,16 +855,15 @@ return x_138; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_simpAppApp_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } static lean_object* _init_l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f___closed__1() { @@ -876,12 +874,12 @@ x_1 = l_Lean_Compiler_implementedByAttr; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; x_9 = lean_ctor_get(x_2, 1); -x_10 = lean_ctor_get_uint8(x_9, sizeof(void*)*1 + 2); +x_10 = lean_ctor_get_uint8(x_9, 2); if (x_10 == 0) { lean_object* x_94; @@ -1135,19 +1133,18 @@ return x_92; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_applyImplementedBy_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -1288,16 +1285,15 @@ return x_35; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_simpValue_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_simpValue_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_simpValue_x3f(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Used.c b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Used.c index e9f0088993..3c27219433 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Simp/Used.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Simp/Used.c @@ -17,12 +17,11 @@ size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isUsed(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isUsed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); @@ -32,32 +31,31 @@ static lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go___closed__2; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isUsed___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go___closed__4; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Compiler_LCNF_attachCodeDecls_go___spec__1(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_HashSetImp_contains___at_Lean_Compiler_LCNF_ElimDead_elimDead___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedCode(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_collectLocalDecls_go(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashSetImp_insert___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedExpr(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCodeDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_CodeDecl_fvarId(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -104,69 +102,71 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_24 = lean_ctor_get(x_12, 0); x_25 = lean_ctor_get(x_12, 1); x_26 = lean_ctor_get(x_12, 2); -x_27 = lean_ctor_get_uint8(x_12, sizeof(void*)*6); -x_28 = lean_ctor_get(x_12, 3); +x_27 = lean_ctor_get(x_12, 3); +x_28 = lean_ctor_get_uint8(x_12, sizeof(void*)*7); x_29 = lean_ctor_get(x_12, 4); x_30 = lean_ctor_get(x_12, 5); +x_31 = lean_ctor_get(x_12, 6); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_dec(x_12); -x_31 = l_Lean_HashSetImp_insert___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__1(x_25, x_1); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_32, 2, x_26); -lean_ctor_set(x_32, 3, x_28); -lean_ctor_set(x_32, 4, x_29); -lean_ctor_set(x_32, 5, x_30); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_27); -x_33 = lean_st_ref_set(x_3, x_32, x_13); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; +x_32 = l_Lean_HashSetImp_insert___at_Lean_Compiler_LCNF_collectLocalDecls_go___spec__1(x_25, x_1); +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_26); +lean_ctor_set(x_33, 3, x_27); +lean_ctor_set(x_33, 4, x_29); +lean_ctor_set(x_33, 5, x_30); +lean_ctor_set(x_33, 6, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_28); +x_34 = lean_st_ref_set(x_3, x_33, x_13); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_33); - x_35 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_markUsedFVar(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_markUsedFVar(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedExpr(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -213,69 +213,71 @@ return x_23; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; x_24 = lean_ctor_get(x_12, 0); x_25 = lean_ctor_get(x_12, 1); x_26 = lean_ctor_get(x_12, 2); -x_27 = lean_ctor_get_uint8(x_12, sizeof(void*)*6); -x_28 = lean_ctor_get(x_12, 3); +x_27 = lean_ctor_get(x_12, 3); +x_28 = lean_ctor_get_uint8(x_12, sizeof(void*)*7); x_29 = lean_ctor_get(x_12, 4); x_30 = lean_ctor_get(x_12, 5); +x_31 = lean_ctor_get(x_12, 6); +lean_inc(x_31); lean_inc(x_30); lean_inc(x_29); -lean_inc(x_28); +lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); lean_dec(x_12); -x_31 = l_Lean_Compiler_LCNF_collectLocalDecls_go(x_25, x_1); -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_24); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_32, 2, x_26); -lean_ctor_set(x_32, 3, x_28); -lean_ctor_set(x_32, 4, x_29); -lean_ctor_set(x_32, 5, x_30); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_27); -x_33 = lean_st_ref_set(x_3, x_32, x_13); -x_34 = lean_ctor_get(x_33, 1); -lean_inc(x_34); -if (lean_is_exclusive(x_33)) { - lean_ctor_release(x_33, 0); - lean_ctor_release(x_33, 1); - x_35 = x_33; +x_32 = l_Lean_Compiler_LCNF_collectLocalDecls_go(x_25, x_1); +x_33 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_33, 0, x_24); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_26); +lean_ctor_set(x_33, 3, x_27); +lean_ctor_set(x_33, 4, x_29); +lean_ctor_set(x_33, 5, x_30); +lean_ctor_set(x_33, 6, x_31); +lean_ctor_set_uint8(x_33, sizeof(void*)*7, x_28); +x_34 = lean_st_ref_set(x_3, x_33, x_13); +x_35 = lean_ctor_get(x_34, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_34)) { + lean_ctor_release(x_34, 0); + lean_ctor_release(x_34, 1); + x_36 = x_34; } else { - lean_dec_ref(x_33); - x_35 = lean_box(0); + lean_dec_ref(x_34); + x_36 = lean_box(0); } -x_36 = lean_box(0); -if (lean_is_scalar(x_35)) { - x_37 = lean_alloc_ctor(0, 2, 0); +x_37 = lean_box(0); +if (lean_is_scalar(x_36)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_35; + x_38 = x_36; } -lean_ctor_set(x_37, 0, x_36); -lean_ctor_set(x_37, 1, x_34); -return x_37; +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 1, x_35); +return x_38; } } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_markUsedExpr(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_markUsedExpr(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -289,19 +291,18 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_markUsedLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -334,7 +335,7 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -349,6 +350,7 @@ lean_dec(x_13); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); x_15 = l_Lean_Compiler_LCNF_Simp_markUsedCode(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); @@ -370,6 +372,7 @@ lean_object* x_21; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_21 = lean_alloc_ctor(0, 2, 0); @@ -379,7 +382,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedCode(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedCode(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_1)) { @@ -426,6 +429,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_23 = lean_box(0); @@ -444,6 +448,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_25 = lean_box(0); @@ -462,6 +467,7 @@ x_29 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spe lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_15); @@ -486,6 +492,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_34 = lean_box(0); @@ -506,6 +513,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_37 = lean_box(0); @@ -525,6 +533,7 @@ x_42 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spe lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_15); @@ -563,6 +572,7 @@ lean_dec(x_49); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_53 = lean_box(0); @@ -581,6 +591,7 @@ lean_dec(x_49); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_55 = lean_box(0); @@ -621,6 +632,7 @@ lean_dec(x_61); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_65 = lean_box(0); @@ -641,6 +653,7 @@ lean_dec(x_61); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_68 = lean_box(0); @@ -673,6 +686,7 @@ x_75 = l_Lean_Compiler_LCNF_Simp_markUsedFVar(x_74, x_2, x_3, x_4, x_5, x_6, x_7 lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); return x_75; @@ -683,6 +697,7 @@ lean_object* x_76; lean_object* x_77; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -703,6 +718,7 @@ lean_dec(x_1); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_80 = l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(x_78, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -716,7 +732,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -730,59 +746,36 @@ return x_10; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__1(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Simp_markUsedCode___spec__2(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_15; +return x_14; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_markUsedCode(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_markUsedFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_markUsedFunDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isUsed(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isUsed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -829,17 +822,16 @@ return x_22; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_isUsed___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Simp_isUsed(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Simp_isUsed(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_9; } } static lean_object* _init_l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go___closed__1() { @@ -879,7 +871,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -891,6 +883,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -984,6 +977,7 @@ lean_dec(x_16); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_32); @@ -1011,6 +1005,7 @@ lean_dec(x_16); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_38); @@ -1035,15 +1030,13 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); -return x_12; +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -1055,12 +1048,10 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Simp_attachCodeDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Simp_attachCodeDecls(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_11; +return x_10; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c b/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c index b7a61213df..369c7619e4 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/SpecInfo.c @@ -36,7 +36,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_reprSpecParamInfo____x40_Lean_Compiler_LCNF_SpecInfo___hyg_15____closed__29; static lean_object* l_Lean_Compiler_LCNF_instToMessageDataSpecParamInfo___closed__11; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_contains___at_Lean_Compiler_LCNF_isSpecCandidate___spec__3___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1___closed__2; @@ -48,7 +48,6 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParam lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_SpecState_switch(lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___closed__5; -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_sub(size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_354____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_isArrowClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,11 +111,11 @@ LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compile uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Compiler_LCNF_FixedArgs_0__Lean_Compiler_LCNF_updateMap_goLetDecl___spec__2(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_reprSpecParamInfo____x40_Lean_Compiler_LCNF_SpecInfo___hyg_15____closed__1; -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isSpecCandidate(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_SpecState_specInfo___default___spec__1(lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___lambda__1(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___lambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_SpecState_addEntry___spec__3___closed__1; lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedSpecState; @@ -140,7 +139,7 @@ LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCN LEAN_EXPORT lean_object* l_List_mapTRAux___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__10(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_SpecState_specInfo___default___closed__3; static lean_object* l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_reprSpecParamInfo____x40_Lean_Compiler_LCNF_SpecInfo___hyg_15____closed__26; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14(lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_instToMessageDataSpecParamInfo___closed__4; static lean_object* l_Lean_Compiler_LCNF_SpecState_specInfo___default___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instToMessageDataSpecParamInfo(uint8_t); @@ -168,7 +167,7 @@ size_t lean_usize_modn(size_t, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9___closed__1; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instInhabitedSpecEntry; LEAN_EXPORT uint8_t l_Lean_SMap_contains___at_Lean_Compiler_LCNF_isSpecCandidate___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isSpecCandidate___rarg(lean_object*, lean_object*, lean_object*); @@ -220,7 +219,7 @@ LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_saveSpecParam lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_isSpecCandidate___rarg___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_reprSpecParamInfo____x40_Lean_Compiler_LCNF_SpecInfo___hyg_15____closed__16; @@ -247,11 +246,11 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_SpecParamInfo_noConfusion___rarg__ extern lean_object* l_Lean_Compiler_LCNF_instInhabitedDecl; lean_object* lean_mk_array(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_SpecParamInfo_noConfusion___rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveSpecParamInfo(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveSpecParamInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___closed__2; static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_SpecInfo___hyg_354____closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_SpecState_addEntry___spec__5(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_LCNF_getSpecParamInfoCore_x3f___spec__1(lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_isTypeFormerType(lean_object*); @@ -2598,7 +2597,7 @@ return x_13; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___lambda__1(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___lambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; @@ -2667,7 +2666,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -2687,18 +2686,18 @@ x_36 = lean_nat_dec_lt(x_5, x_3); x_37 = lean_st_ref_get(x_12, x_13); if (x_36 == 0) { -lean_object* x_102; lean_object* x_103; -x_102 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___closed__6; -x_103 = l_panic___at___private_Lean_Compiler_LCNF_FixedArgs_0__Lean_Compiler_LCNF_updateMap_goLetDecl___spec__2(x_102); -x_38 = x_103; -goto block_101; +lean_object* x_92; lean_object* x_93; +x_92 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___closed__6; +x_93 = l_panic___at___private_Lean_Compiler_LCNF_FixedArgs_0__Lean_Compiler_LCNF_updateMap_goLetDecl___spec__2(x_92); +x_38 = x_93; +goto block_91; } else { -lean_object* x_104; -x_104 = lean_array_fget(x_2, x_5); -x_38 = x_104; -goto block_101; +lean_object* x_94; +x_94 = lean_array_fget(x_2, x_5); +x_38 = x_94; +goto block_91; } block_35: { @@ -2714,6 +2713,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_5); lean_dec(x_1); x_21 = !lean_is_exclusive(x_19); @@ -2768,6 +2768,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_5); lean_dec(x_1); x_31 = !lean_is_exclusive(x_19); @@ -2790,7 +2791,7 @@ return x_34; } } } -block_101: +block_91: { lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; x_39 = lean_ctor_get(x_37, 0); @@ -2814,147 +2815,147 @@ lean_dec(x_43); x_46 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___closed__1; if (lean_obj_tag(x_1) == 0) { -lean_object* x_67; uint8_t x_68; -x_67 = l_Lean_Compiler_LCNF_instInhabitedSpecEntry___closed__1; -x_68 = l_Array_contains___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_elabSpecArgs___spec__4(x_67, x_5); -if (x_68 == 0) +lean_object* x_63; uint8_t x_64; +x_63 = l_Lean_Compiler_LCNF_instInhabitedSpecEntry___closed__1; +x_64 = l_Array_contains___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_elabSpecArgs___spec__4(x_63, x_5); +if (x_64 == 0) { -uint8_t x_69; -x_69 = l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_isNoSpecType(x_41, x_42); -if (x_69 == 0) +uint8_t x_65; +x_65 = l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_isNoSpecType(x_41, x_42); +if (x_65 == 0) { -uint8_t x_70; +uint8_t x_66; lean_inc(x_42); -x_70 = l_Lean_Compiler_LCNF_isTypeFormerType(x_42); -if (x_70 == 0) +x_66 = l_Lean_Compiler_LCNF_isTypeFormerType(x_42); +if (x_66 == 0) { -lean_object* x_71; -x_71 = lean_box(0); -x_47 = x_71; -goto block_66; +lean_object* x_67; +x_67 = lean_box(0); +x_47 = x_67; +goto block_62; } else { -uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_dec(x_44); lean_dec(x_42); -x_72 = 2; -x_73 = lean_box(x_72); -x_74 = lean_box(x_9); +x_68 = 2; +x_69 = lean_box(x_68); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_75 = lean_apply_7(x_46, x_8, x_73, x_74, x_10, x_11, x_12, x_45); -x_19 = x_75; +lean_inc(x_9); +x_70 = lean_apply_7(x_46, x_8, x_69, x_9, x_10, x_11, x_12, x_45); +x_19 = x_70; goto block_35; } } else { -uint8_t x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; +uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_dec(x_44); lean_dec(x_42); -x_76 = 4; -x_77 = lean_box(x_76); -x_78 = lean_box(x_9); +x_71 = 4; +x_72 = lean_box(x_71); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_79 = lean_apply_7(x_46, x_8, x_77, x_78, x_10, x_11, x_12, x_45); -x_19 = x_79; +lean_inc(x_9); +x_73 = lean_apply_7(x_46, x_8, x_72, x_9, x_10, x_11, x_12, x_45); +x_19 = x_73; goto block_35; } } else { -uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +uint8_t x_74; lean_object* x_75; lean_object* x_76; lean_dec(x_44); lean_dec(x_42); lean_dec(x_41); -x_80 = 3; -x_81 = lean_box(x_80); -x_82 = lean_box(x_9); +x_74 = 3; +x_75 = lean_box(x_74); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_83 = lean_apply_7(x_46, x_8, x_81, x_82, x_10, x_11, x_12, x_45); -x_19 = x_83; +lean_inc(x_9); +x_76 = lean_apply_7(x_46, x_8, x_75, x_9, x_10, x_11, x_12, x_45); +x_19 = x_76; goto block_35; } } else { -lean_object* x_84; uint8_t x_85; -x_84 = lean_ctor_get(x_1, 0); -lean_inc(x_84); -x_85 = l_Array_contains___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_elabSpecArgs___spec__4(x_84, x_5); -lean_dec(x_84); -if (x_85 == 0) +lean_object* x_77; uint8_t x_78; +x_77 = lean_ctor_get(x_1, 0); +lean_inc(x_77); +x_78 = l_Array_contains___at___private_Lean_Compiler_Specialize_0__Lean_Compiler_elabSpecArgs___spec__4(x_77, x_5); +lean_dec(x_77); +if (x_78 == 0) { -uint8_t x_86; -x_86 = l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_isNoSpecType(x_41, x_42); -if (x_86 == 0) +uint8_t x_79; +x_79 = l___private_Lean_Compiler_LCNF_SpecInfo_0__Lean_Compiler_LCNF_isNoSpecType(x_41, x_42); +if (x_79 == 0) { -uint8_t x_87; +uint8_t x_80; lean_inc(x_42); -x_87 = l_Lean_Compiler_LCNF_isTypeFormerType(x_42); -if (x_87 == 0) +x_80 = l_Lean_Compiler_LCNF_isTypeFormerType(x_42); +if (x_80 == 0) { -lean_object* x_88; -x_88 = lean_box(0); -x_47 = x_88; -goto block_66; +lean_object* x_81; +x_81 = lean_box(0); +x_47 = x_81; +goto block_62; } else { -uint8_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_dec(x_44); lean_dec(x_42); -x_89 = 2; -x_90 = lean_box(x_89); -x_91 = lean_box(x_9); +x_82 = 2; +x_83 = lean_box(x_82); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_92 = lean_apply_7(x_46, x_8, x_90, x_91, x_10, x_11, x_12, x_45); -x_19 = x_92; +lean_inc(x_9); +x_84 = lean_apply_7(x_46, x_8, x_83, x_9, x_10, x_11, x_12, x_45); +x_19 = x_84; goto block_35; } } else { -uint8_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; +uint8_t x_85; lean_object* x_86; lean_object* x_87; lean_dec(x_44); lean_dec(x_42); -x_93 = 4; -x_94 = lean_box(x_93); -x_95 = lean_box(x_9); +x_85 = 4; +x_86 = lean_box(x_85); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_96 = lean_apply_7(x_46, x_8, x_94, x_95, x_10, x_11, x_12, x_45); -x_19 = x_96; +lean_inc(x_9); +x_87 = lean_apply_7(x_46, x_8, x_86, x_9, x_10, x_11, x_12, x_45); +x_19 = x_87; goto block_35; } } else { -uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +uint8_t x_88; lean_object* x_89; lean_object* x_90; lean_dec(x_44); lean_dec(x_42); lean_dec(x_41); -x_97 = 3; -x_98 = lean_box(x_97); -x_99 = lean_box(x_9); +x_88 = 3; +x_89 = lean_box(x_88); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_100 = lean_apply_7(x_46, x_8, x_98, x_99, x_10, x_11, x_12, x_45); -x_19 = x_100; +lean_inc(x_9); +x_90 = lean_apply_7(x_46, x_8, x_89, x_9, x_10, x_11, x_12, x_45); +x_19 = x_90; goto block_35; } } -block_66: +block_62: { lean_dec(x_47); if (lean_obj_tag(x_44) == 0) @@ -2965,100 +2966,102 @@ lean_inc(x_1); x_49 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__1(x_1, x_48); if (x_49 == 0) { -uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +uint8_t x_50; lean_object* x_51; lean_object* x_52; lean_dec(x_42); x_50 = 4; x_51 = lean_box(x_50); -x_52 = lean_box(x_9); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_53 = lean_apply_7(x_46, x_8, x_51, x_52, x_10, x_11, x_12, x_45); -x_19 = x_53; +lean_inc(x_9); +x_52 = lean_apply_7(x_46, x_8, x_51, x_9, x_10, x_11, x_12, x_45); +x_19 = x_52; goto block_35; } else { if (lean_obj_tag(x_42) == 7) { -uint8_t x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +uint8_t x_53; lean_object* x_54; lean_object* x_55; lean_dec(x_42); -x_54 = 1; -x_55 = lean_box(x_54); -x_56 = lean_box(x_9); +x_53 = 1; +x_54 = lean_box(x_53); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_57 = lean_apply_7(x_46, x_8, x_55, x_56, x_10, x_11, x_12, x_45); -x_19 = x_57; +lean_inc(x_9); +x_55 = lean_apply_7(x_46, x_8, x_54, x_9, x_10, x_11, x_12, x_45); +x_19 = x_55; goto block_35; } else { -uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +uint8_t x_56; lean_object* x_57; lean_object* x_58; lean_dec(x_42); -x_58 = 4; -x_59 = lean_box(x_58); -x_60 = lean_box(x_9); +x_56 = 4; +x_57 = lean_box(x_56); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -x_61 = lean_apply_7(x_46, x_8, x_59, x_60, x_10, x_11, x_12, x_45); +lean_inc(x_9); +x_58 = lean_apply_7(x_46, x_8, x_57, x_9, x_10, x_11, x_12, x_45); +x_19 = x_58; +goto block_35; +} +} +} +else +{ +uint8_t x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_44); +lean_dec(x_42); +x_59 = 0; +x_60 = lean_box(x_59); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +lean_inc(x_9); +x_61 = lean_apply_7(x_46, x_8, x_60, x_9, x_10, x_11, x_12, x_45); x_19 = x_61; goto block_35; } } } -else -{ -uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -lean_dec(x_44); -lean_dec(x_42); -x_62 = 0; -x_63 = lean_box(x_62); -x_64 = lean_box(x_9); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); -x_65 = lean_apply_7(x_46, x_8, x_63, x_64, x_10, x_11, x_12, x_45); -x_19 = x_65; -goto block_35; -} -} -} } else { -lean_object* x_105; +lean_object* x_95; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_105 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_105, 0, x_8); -lean_ctor_set(x_105, 1, x_13); -return x_105; +x_95 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_95, 0, x_8); +lean_ctor_set(x_95, 1, x_13); +return x_95; } } else { -lean_object* x_106; +lean_object* x_96; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_8); -lean_ctor_set(x_106, 1, x_13); -return x_106; +x_96 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_96, 0, x_8); +lean_ctor_set(x_96, 1, x_13); +return x_96; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -3069,6 +3072,7 @@ lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_4); lean_ctor_set(x_11, 1, x_9); @@ -3115,6 +3119,7 @@ x_29 = l_Lean_Compiler_LCNF_instInhabitedSpecEntry___closed__1; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_26); x_30 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3(x_24, x_25, x_26, x_26, x_27, x_26, x_28, x_29, x_5, x_6, x_7, x_8, x_22); lean_dec(x_26); @@ -3141,6 +3146,7 @@ uint8_t x_37; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_37 = !lean_is_exclusive(x_30); if (x_37 == 0) @@ -3328,15 +3334,14 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7___closed__3; x_8 = lean_panic_fn(x_7, x_1); -x_9 = lean_box(x_2); -x_10 = lean_apply_5(x_8, x_9, x_3, x_4, x_5, x_6); -return x_10; +x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); +return x_9; } } LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -3420,7 +3425,7 @@ x_1 = l_Lean_inheritedTraceOptions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -3706,7 +3711,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -3897,7 +3902,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -4124,7 +4129,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, uint8_t x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14(lean_object* x_1, lean_object* x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { uint8_t x_17; @@ -4192,6 +4197,7 @@ x_35 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); +lean_inc(x_12); x_36 = l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7(x_35, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_36) == 0) { @@ -4211,6 +4217,7 @@ lean_dec(x_21); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_8); x_39 = !lean_is_exclusive(x_36); if (x_39 == 0) @@ -4380,6 +4387,7 @@ x_84 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__ lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); +lean_inc(x_12); x_85 = l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7(x_84, x_12, x_13, x_14, x_15, x_16); if (lean_obj_tag(x_85) == 0) { @@ -4399,6 +4407,7 @@ lean_dec(x_21); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_8); x_88 = !lean_is_exclusive(x_85); if (x_88 == 0) @@ -4559,6 +4568,7 @@ lean_object* x_134; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); x_134 = lean_alloc_ctor(0, 2, 0); @@ -4573,6 +4583,7 @@ lean_object* x_135; lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); x_135 = lean_alloc_ctor(0, 2, 0); @@ -4582,7 +4593,7 @@ return x_135; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveSpecParamInfo(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveSpecParamInfo(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; size_t x_8; size_t x_9; lean_object* x_10; lean_object* x_11; @@ -4593,6 +4604,7 @@ x_10 = l_Lean_Compiler_LCNF_instInhabitedSpecEntry___closed__1; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); x_11 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4(x_1, x_8, x_9, x_10, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_11) == 0) { @@ -4615,6 +4627,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_18 = lean_box(0); lean_ctor_set(x_11, 0, x_18); return x_11; @@ -4632,6 +4645,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_20 = lean_box(0); lean_ctor_set(x_11, 0, x_20); return x_11; @@ -4650,6 +4664,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_23 = lean_box(0); lean_ctor_set(x_11, 0, x_23); return x_11; @@ -4737,6 +4752,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_41 = lean_box(0); x_42 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_42, 0, x_41); @@ -4756,6 +4772,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_44 = lean_box(0); x_45 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_45, 0, x_44); @@ -4776,6 +4793,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_48 = lean_box(0); x_49 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_49, 0, x_48); @@ -4852,6 +4870,7 @@ lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_61 = !lean_is_exclusive(x_11); if (x_61 == 0) { @@ -4899,45 +4918,40 @@ return x_4; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; uint8_t x_9; lean_object* x_10; +uint8_t x_8; lean_object* x_9; x_8 = lean_unbox(x_2); lean_dec(x_2); -x_9 = lean_unbox(x_3); -lean_dec(x_3); -x_10 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___lambda__1(x_1, x_8, x_9, x_4, x_5, x_6, x_7); +x_9 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___lambda__1(x_1, x_8, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_10; +lean_dec(x_3); +return x_9; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); +lean_object* x_14; +x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__4(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -4970,16 +4984,6 @@ x_9 = lean_box(x_8); return x_9; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_panic___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__7(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} LEAN_EXPORT lean_object* l_Array_zipWithAux___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -4993,52 +4997,47 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); +lean_object* x_7; +x_7 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_8 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__9(x_1, x_7, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_addTrace___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__11(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_9; -} -} LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { -size_t x_17; uint8_t x_18; lean_object* x_19; +size_t x_17; lean_object* x_18; x_17 = lean_unbox_usize(x_3); lean_dec(x_3); -x_18 = lean_unbox(x_12); -lean_dec(x_12); -x_19 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_18, x_13, x_14, x_15, x_16); +x_18 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__14(x_1, x_2, x_17, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_6); @@ -5046,18 +5045,16 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -return x_19; +return x_18; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_saveSpecParamInfo___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_saveSpecParamInfo(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_saveSpecParamInfo(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); -return x_8; +return x_7; } } LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_getSpecParamInfoCore_x3f___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c b/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c index cf0e2da2b8..63269671ce 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Specialize.c @@ -13,11 +13,10 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Compiler_LCNF_ToExpr_mkLambdaM___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); @@ -27,7 +26,7 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey___boxed(lean_obje lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___closed__1; static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__3; @@ -35,23 +34,23 @@ uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__15; lean_object* l_Array_append___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2___closed__1; static lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1___closed__1; LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Compiler_LCNF_Specialize_isGround___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withParams___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__14; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1(lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectCode(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899_(lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_imp___elambda__2___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__10; lean_object* lean_st_ref_get(lean_object*, lean_object*); @@ -60,57 +59,52 @@ uint8_t l_Lean_Expr_isApp(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__4(lean_object*, size_t, size_t, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_markVisited(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_markVisited(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectParams(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__5; lean_object* lean_string_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_State_params___default; lean_object* l_Lean_MessageData_ofList(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Decl_internalize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_getRemainingArgs___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Specialize_expandCodeDecls___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_instantiateValueLevelParams(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_FunDeclCore_toExpr(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___closed__1; -lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Compiler_LCNF_Simp_JpCases_0__Lean_Compiler_LCNF_Simp_mkJpAlt_go___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__7; uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Specialize_expandCodeDecls___spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_specExtension; -lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_specialize___closed__2; lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__13; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_findParam_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findParam_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___lambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -134,7 +128,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Speci LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1___closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_State_decls___default; LEAN_EXPORT lean_object* l_Array_filterMapM___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__3___boxed(lean_object*, lean_object*, lean_object*); @@ -142,7 +136,7 @@ lean_object* l_Lean_Compiler_LCNF_ToExpr_abstractM___boxed(lean_object*, lean_ob static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4___closed__2; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); lean_object* lean_name_append_index_after(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -150,77 +144,73 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_State_decls__ static lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_specialize___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_Compiler_LCNF_saveSpecParamInfo___spec__10(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___closed__5; static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4___closed__1; lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__7; static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_10____closed__4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_10____closed__2; extern lean_object* l_Lean_Expr_instHashableExpr; -lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract_range(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__6; lean_object* l_Lean_Expr_sort___override(lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_specialize(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_specialize(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_saveBase(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectParams___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Internalize_internalizeFunDecl___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___closed__2; lean_object* l_Lean_RBNode_findCore___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_findSpecCache_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__12; -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_10____closed__1; static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__2; -lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__11; lean_object* l_Lean_SimplePersistentEnvExtension_getState___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___closed__2; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897____closed__1; -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_isTemplateLike(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899____closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_findSpecCache_x3f___closed__1; static lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8___closed__2; -lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkForallParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_main(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_main(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___boxed(lean_object**); size_t lean_ptr_addr(lean_object*); -lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Decl_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_findSpecCache_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -230,8 +220,8 @@ lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__8; lean_object* l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_LetDecl_updateValue(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specCacheExt; static lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___closed__3; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -242,48 +232,41 @@ static lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___clos lean_object* l_instInhabitedReaderT___rarg___boxed(lean_object*, lean_object*); extern lean_object* l_Lean_Core_instMonadCoreM; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__4; -lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Internalize_internalizeParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_getRemainingArgs___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_10_(lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___closed__6; static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___closed__1; -lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_mapTRAux___at_Lean_mkConstWithLevelParams___spec__1(lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_specialize___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_10____closed__3; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_State_decls___default___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_markVisited___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_main___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_instantiate_rev(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); uint8_t l_Lean_Expr_hasLooseBVars(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_getDeclAt_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_expr_abstract(lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instBEqExpr; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToExpr_withParams_go___at_Lean_Compiler_LCNF_Specialize_mkKey___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_saveSpecParamInfo(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_saveSpecParamInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withParams___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_InferType_mkForallParams___spec__1(size_t, size_t, lean_object*); @@ -293,26 +276,23 @@ lean_object* l_Lean_SMap_find_x3f___at_Lean_Compiler_LCNF_getSpecParamInfoCore_x lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Context_scope___default; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Specialize_expandCodeDecls___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFunDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_normExprImp_go(lean_object*, uint8_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7___closed__1; static lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___closed__1; lean_object* l_Lean_Expr_getAppFn(lean_object*); -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_normLevelParams(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_getRemainingArgs(lean_object*, lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withParams(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___closed__4; lean_object* l_Lean_Expr_instantiateLevelParamsCore_visit___at_Lean_Expr_instantiateLevelParams___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_EStateM_pure___rarg(lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_getCachedSpecialization___spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Context_ground___default; @@ -320,10 +300,9 @@ lean_object* l_Lean_Compiler_LCNF_CodeDecl_fvarId(lean_object*); lean_object* l_Lean_EnvExtensionInterfaceUnsafe_getState___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar(lean_object*); uint8_t l_Lean_Expr_hasFVar(lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Specialize_cacheSpec___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Specialize_expandCodeDecls___spec__2(size_t, size_t, lean_object*); extern lean_object* l_instInhabitedPUnit; lean_object* l_Lean_PersistentHashMap_instInhabitedPersistentHashMap___rarg(lean_object*, lean_object*); @@ -657,7 +636,7 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withParams___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -671,94 +650,88 @@ x_13 = lean_unsigned_to_nat(0u); x_14 = lean_nat_dec_lt(x_13, x_12); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; +lean_object* x_15; lean_dec(x_12); -x_15 = lean_box(x_5); -x_16 = lean_apply_7(x_2, x_3, x_4, x_15, x_6, x_7, x_8, x_9); -return x_16; +x_15 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_15; } else { -uint8_t x_17; -x_17 = lean_nat_dec_le(x_12, x_12); -if (x_17 == 0) +uint8_t x_16; +x_16 = lean_nat_dec_le(x_12, x_12); +if (x_16 == 0) { -lean_object* x_18; lean_object* x_19; +lean_object* x_17; lean_dec(x_12); -x_18 = lean_box(x_5); -x_19 = lean_apply_7(x_2, x_3, x_4, x_18, x_6, x_7, x_8, x_9); -return x_19; +x_17 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_17; } else { -size_t x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_20 = 0; -x_21 = lean_usize_of_nat(x_12); +size_t x_18; size_t x_19; lean_object* x_20; lean_object* x_21; +x_18 = 0; +x_19 = lean_usize_of_nat(x_12); lean_dec(x_12); -x_22 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1(x_1, x_20, x_21, x_11); -lean_ctor_set(x_3, 0, x_22); -x_23 = lean_box(x_5); -x_24 = lean_apply_7(x_2, x_3, x_4, x_23, x_6, x_7, x_8, x_9); -return x_24; +x_20 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1(x_1, x_18, x_19, x_11); +lean_ctor_set(x_3, 0, x_20); +x_21 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_21; } } } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; -x_25 = lean_ctor_get(x_3, 0); -x_26 = lean_ctor_get(x_3, 1); -x_27 = lean_ctor_get(x_3, 2); -lean_inc(x_27); -lean_inc(x_26); -lean_inc(x_25); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_22 = lean_ctor_get(x_3, 0); +x_23 = lean_ctor_get(x_3, 1); +x_24 = lean_ctor_get(x_3, 2); +lean_inc(x_24); +lean_inc(x_23); +lean_inc(x_22); lean_dec(x_3); -x_28 = lean_array_get_size(x_1); -x_29 = lean_unsigned_to_nat(0u); -x_30 = lean_nat_dec_lt(x_29, x_28); +x_25 = lean_array_get_size(x_1); +x_26 = lean_unsigned_to_nat(0u); +x_27 = lean_nat_dec_lt(x_26, x_25); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_25); +x_28 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_28, 0, x_22); +lean_ctor_set(x_28, 1, x_23); +lean_ctor_set(x_28, 2, x_24); +x_29 = lean_apply_7(x_2, x_28, x_4, x_5, x_6, x_7, x_8, x_9); +return x_29; +} +else +{ +uint8_t x_30; +x_30 = lean_nat_dec_le(x_25, x_25); if (x_30 == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -lean_dec(x_28); +lean_object* x_31; lean_object* x_32; +lean_dec(x_25); x_31 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_31, 0, x_25); -lean_ctor_set(x_31, 1, x_26); -lean_ctor_set(x_31, 2, x_27); -x_32 = lean_box(x_5); -x_33 = lean_apply_7(x_2, x_31, x_4, x_32, x_6, x_7, x_8, x_9); -return x_33; +lean_ctor_set(x_31, 0, x_22); +lean_ctor_set(x_31, 1, x_23); +lean_ctor_set(x_31, 2, x_24); +x_32 = lean_apply_7(x_2, x_31, x_4, x_5, x_6, x_7, x_8, x_9); +return x_32; } else { -uint8_t x_34; -x_34 = lean_nat_dec_le(x_28, x_28); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_dec(x_28); -x_35 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_35, 0, x_25); -lean_ctor_set(x_35, 1, x_26); -lean_ctor_set(x_35, 2, x_27); -x_36 = lean_box(x_5); -x_37 = lean_apply_7(x_2, x_35, x_4, x_36, x_6, x_7, x_8, x_9); +size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_33 = 0; +x_34 = lean_usize_of_nat(x_25); +lean_dec(x_25); +x_35 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1(x_1, x_33, x_34, x_22); +x_36 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_23); +lean_ctor_set(x_36, 2, x_24); +x_37 = lean_apply_7(x_2, x_36, x_4, x_5, x_6, x_7, x_8, x_9); return x_37; } -else -{ -size_t x_38; size_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_38 = 0; -x_39 = lean_usize_of_nat(x_28); -lean_dec(x_28); -x_40 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1(x_1, x_38, x_39, x_25); -x_41 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_26); -lean_ctor_set(x_41, 2, x_27); -x_42 = lean_box(x_5); -x_43 = lean_apply_7(x_2, x_41, x_4, x_42, x_6, x_7, x_8, x_9); -return x_43; -} } } } @@ -787,49 +760,45 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withParams___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_withParams___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Specialize_withParams___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; x_10 = !lean_is_exclusive(x_3); if (x_10 == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_11 = lean_ctor_get(x_3, 0); x_12 = lean_box(0); x_13 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_11, x_1, x_12); lean_ctor_set(x_3, 0, x_13); -x_14 = lean_box(x_5); -x_15 = lean_apply_7(x_2, x_3, x_4, x_14, x_6, x_7, x_8, x_9); -return x_15; +x_14 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_14; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_16 = lean_ctor_get(x_3, 0); -x_17 = lean_ctor_get(x_3, 1); -x_18 = lean_ctor_get(x_3, 2); -lean_inc(x_18); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_3, 0); +x_16 = lean_ctor_get(x_3, 1); +x_17 = lean_ctor_get(x_3, 2); lean_inc(x_17); lean_inc(x_16); +lean_inc(x_15); lean_dec(x_3); -x_19 = lean_box(0); -x_20 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_16, x_1, x_19); -x_21 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_17); -lean_ctor_set(x_21, 2, x_18); -x_22 = lean_box(x_5); -x_23 = lean_apply_7(x_2, x_21, x_4, x_22, x_6, x_7, x_8, x_9); -return x_23; +x_18 = lean_box(0); +x_19 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_15, x_1, x_18); +x_20 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_16); +lean_ctor_set(x_20, 2, x_17); +x_21 = lean_apply_7(x_2, x_20, x_4, x_5, x_6, x_7, x_8, x_9); +return x_21; } } } @@ -837,20 +806,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar(lean_object* x _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_withFVar___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_withFVar___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withFVar___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_withFVar___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Compiler_LCNF_Specialize_isGround___spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -992,7 +951,7 @@ return x_36; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -1034,20 +993,19 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_isGround___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_isGround(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Specialize_isGround(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -1076,63 +1034,59 @@ x_20 = lean_unbox(x_12); lean_dec(x_12); if (x_20 == 0) { -lean_object* x_21; lean_object* x_22; +lean_object* x_21; lean_dec(x_14); lean_ctor_set(x_3, 0, x_19); -x_21 = lean_box(x_5); -x_22 = lean_apply_7(x_2, x_3, x_4, x_21, x_6, x_7, x_8, x_13); -return x_22; +x_21 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +return x_21; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_17, x_14, x_18); -lean_ctor_set(x_3, 1, x_23); +lean_object* x_22; lean_object* x_23; +x_22 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_17, x_14, x_18); +lean_ctor_set(x_3, 1, x_22); lean_ctor_set(x_3, 0, x_19); -x_24 = lean_box(x_5); -x_25 = lean_apply_7(x_2, x_3, x_4, x_24, x_6, x_7, x_8, x_13); -return x_25; +x_23 = lean_apply_7(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_13); +return x_23; } } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_26 = lean_ctor_get(x_3, 0); -x_27 = lean_ctor_get(x_3, 1); -x_28 = lean_ctor_get(x_3, 2); -lean_inc(x_28); -lean_inc(x_27); +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_24 = lean_ctor_get(x_3, 0); +x_25 = lean_ctor_get(x_3, 1); +x_26 = lean_ctor_get(x_3, 2); lean_inc(x_26); +lean_inc(x_25); +lean_inc(x_24); lean_dec(x_3); -x_29 = lean_box(0); +x_27 = lean_box(0); lean_inc(x_14); -x_30 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_26, x_14, x_29); -x_31 = lean_unbox(x_12); +x_28 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_24, x_14, x_27); +x_29 = lean_unbox(x_12); lean_dec(x_12); -if (x_31 == 0) +if (x_29 == 0) +{ +lean_object* x_30; lean_object* x_31; +lean_dec(x_14); +x_30 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_25); +lean_ctor_set(x_30, 2, x_26); +x_31 = lean_apply_7(x_2, x_30, x_4, x_5, x_6, x_7, x_8, x_13); +return x_31; +} +else { lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_14); -x_32 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_27); -lean_ctor_set(x_32, 2, x_28); -x_33 = lean_box(x_5); -x_34 = lean_apply_7(x_2, x_32, x_4, x_33, x_6, x_7, x_8, x_13); +x_32 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_25, x_14, x_27); +x_33 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_33, 0, x_28); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_26); +x_34 = lean_apply_7(x_2, x_33, x_4, x_5, x_6, x_7, x_8, x_13); return x_34; } -else -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = l_Lean_RBNode_insert___at_Lean_Meta_ToHide_moveToHiddeProp___spec__1(x_27, x_14, x_29); -x_36 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_36, 0, x_30); -lean_ctor_set(x_36, 1, x_35); -lean_ctor_set(x_36, 2, x_28); -x_37 = lean_box(x_5); -x_38 = lean_apply_7(x_2, x_36, x_4, x_37, x_6, x_7, x_8, x_13); -return x_38; -} } } } @@ -1140,20 +1094,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl(lean_object _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_withLetDecl___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_Collector_State_visited___default() { _start: { @@ -1178,7 +1122,7 @@ x_1 = l_Lean_Compiler_LCNF_Specialize_State_decls___default___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_markVisited(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_markVisited(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -1263,20 +1207,19 @@ return x_33; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_markVisited___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_markVisited(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Specialize_Collector_markVisited(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -1292,6 +1235,7 @@ lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -1317,6 +1261,7 @@ uint8_t x_22; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -1346,6 +1291,7 @@ lean_object* x_26; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -1356,7 +1302,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectParams(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -1370,6 +1316,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -1390,6 +1337,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -1412,7 +1360,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -1431,40 +1379,41 @@ lean_inc(x_2); x_18 = l_Lean_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__1(x_16, x_2); if (lean_obj_tag(x_18) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_33; lean_object* x_34; +lean_object* x_19; lean_object* x_20; lean_object* x_33; lean_free_object(x_14); -x_33 = lean_box(x_7); lean_inc(x_1); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_34 = lean_apply_9(x_1, x_2, x_4, x_5, x_6, x_33, x_8, x_9, x_10, x_17); -if (lean_obj_tag(x_34) == 0) +x_33 = lean_apply_9(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_35; uint8_t x_36; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_unbox(x_35); -lean_dec(x_35); -if (x_36 == 0) +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_unbox(x_34); +lean_dec(x_34); +if (x_35 == 0) { -lean_object* x_37; lean_object* x_38; +lean_object* x_36; lean_object* x_37; lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_37 = lean_ctor_get(x_34, 1); -lean_inc(x_37); -lean_dec(x_34); -x_38 = lean_box(0); -x_19 = x_38; -x_20 = x_37; +x_36 = lean_ctor_get(x_33, 1); +lean_inc(x_36); +lean_dec(x_33); +x_37 = lean_box(0); +x_19 = x_37; +x_20 = x_36; goto block_32; } else @@ -1472,542 +1421,553 @@ else switch (lean_obj_tag(x_2)) { case 5: { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_39 = lean_ctor_get(x_34, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_38 = lean_ctor_get(x_33, 1); +lean_inc(x_38); +lean_dec(x_33); +x_39 = lean_ctor_get(x_2, 0); lean_inc(x_39); -lean_dec(x_34); -x_40 = lean_ctor_get(x_2, 0); +x_40 = lean_ctor_get(x_2, 1); lean_inc(x_40); -x_41 = lean_ctor_get(x_2, 1); -lean_inc(x_41); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_42 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_39); -if (lean_obj_tag(x_42) == 0) +x_41 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_39, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_38); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_42, 1); -lean_inc(x_43); -lean_dec(x_42); +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); lean_inc(x_10); -x_44 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_41, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_43); -if (lean_obj_tag(x_44) == 0) +x_43 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_40, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_42); +if (lean_obj_tag(x_43) == 0) { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_44, 0); +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_43, 0); +lean_inc(x_44); +x_45 = lean_ctor_get(x_43, 1); lean_inc(x_45); -x_46 = lean_ctor_get(x_44, 1); -lean_inc(x_46); -lean_dec(x_44); -x_19 = x_45; -x_20 = x_46; +lean_dec(x_43); +x_19 = x_44; +x_20 = x_45; goto block_32; } else { -uint8_t x_47; +uint8_t x_46; lean_dec(x_10); lean_dec(x_2); -x_47 = !lean_is_exclusive(x_44); -if (x_47 == 0) +x_46 = !lean_is_exclusive(x_43); +if (x_46 == 0) { -return x_44; +return x_43; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_44, 0); -x_49 = lean_ctor_get(x_44, 1); -lean_inc(x_49); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_43, 0); +x_48 = lean_ctor_get(x_43, 1); lean_inc(x_48); -lean_dec(x_44); -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_inc(x_47); +lean_dec(x_43); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } else { -uint8_t x_51; -lean_dec(x_41); +uint8_t x_50; +lean_dec(x_40); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_51 = !lean_is_exclusive(x_42); -if (x_51 == 0) +x_50 = !lean_is_exclusive(x_41); +if (x_50 == 0) { -return x_42; +return x_41; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_42, 0); -x_53 = lean_ctor_get(x_42, 1); -lean_inc(x_53); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_41, 0); +x_52 = lean_ctor_get(x_41, 1); lean_inc(x_52); -lean_dec(x_42); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_inc(x_51); +lean_dec(x_41); +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } case 6: { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_34, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_54 = lean_ctor_get(x_33, 1); +lean_inc(x_54); +lean_dec(x_33); +x_55 = lean_ctor_get(x_2, 1); lean_inc(x_55); -lean_dec(x_34); -x_56 = lean_ctor_get(x_2, 1); +x_56 = lean_ctor_get(x_2, 2); lean_inc(x_56); -x_57 = lean_ctor_get(x_2, 2); -lean_inc(x_57); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_58 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_55); -if (lean_obj_tag(x_58) == 0) +x_57 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_54); +if (lean_obj_tag(x_57) == 0) { -lean_object* x_59; lean_object* x_60; -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); +lean_object* x_58; lean_object* x_59; +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); lean_inc(x_10); -x_60 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_57, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59); -if (lean_obj_tag(x_60) == 0) +x_59 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +if (lean_obj_tag(x_59) == 0) { -lean_object* x_61; lean_object* x_62; -x_61 = lean_ctor_get(x_60, 0); +lean_object* x_60; lean_object* x_61; +x_60 = lean_ctor_get(x_59, 0); +lean_inc(x_60); +x_61 = lean_ctor_get(x_59, 1); lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); -lean_inc(x_62); -lean_dec(x_60); -x_19 = x_61; -x_20 = x_62; +lean_dec(x_59); +x_19 = x_60; +x_20 = x_61; goto block_32; } else { -uint8_t x_63; +uint8_t x_62; lean_dec(x_10); lean_dec(x_2); -x_63 = !lean_is_exclusive(x_60); -if (x_63 == 0) +x_62 = !lean_is_exclusive(x_59); +if (x_62 == 0) { -return x_60; +return x_59; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_60, 0); -x_65 = lean_ctor_get(x_60, 1); -lean_inc(x_65); +lean_object* x_63; lean_object* x_64; lean_object* x_65; +x_63 = lean_ctor_get(x_59, 0); +x_64 = lean_ctor_get(x_59, 1); lean_inc(x_64); -lean_dec(x_60); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +lean_inc(x_63); +lean_dec(x_59); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_63); +lean_ctor_set(x_65, 1, x_64); +return x_65; } } } else { -uint8_t x_67; -lean_dec(x_57); +uint8_t x_66; +lean_dec(x_56); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_58); -if (x_67 == 0) +x_66 = !lean_is_exclusive(x_57); +if (x_66 == 0) { -return x_58; +return x_57; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_58, 0); -x_69 = lean_ctor_get(x_58, 1); -lean_inc(x_69); +lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_67 = lean_ctor_get(x_57, 0); +x_68 = lean_ctor_get(x_57, 1); lean_inc(x_68); -lean_dec(x_58); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_inc(x_67); +lean_dec(x_57); +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_67); +lean_ctor_set(x_69, 1, x_68); +return x_69; } } } case 7: { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_71 = lean_ctor_get(x_34, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_70 = lean_ctor_get(x_33, 1); +lean_inc(x_70); +lean_dec(x_33); +x_71 = lean_ctor_get(x_2, 1); lean_inc(x_71); -lean_dec(x_34); -x_72 = lean_ctor_get(x_2, 1); +x_72 = lean_ctor_get(x_2, 2); lean_inc(x_72); -x_73 = lean_ctor_get(x_2, 2); -lean_inc(x_73); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_74 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_71); -if (lean_obj_tag(x_74) == 0) +x_73 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_71, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_70); +if (lean_obj_tag(x_73) == 0) { -lean_object* x_75; lean_object* x_76; -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); +lean_object* x_74; lean_object* x_75; +x_74 = lean_ctor_get(x_73, 1); +lean_inc(x_74); +lean_dec(x_73); lean_inc(x_10); -x_76 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_75); -if (lean_obj_tag(x_76) == 0) +x_75 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_74); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_76, 0); +lean_object* x_76; lean_object* x_77; +x_76 = lean_ctor_get(x_75, 0); +lean_inc(x_76); +x_77 = lean_ctor_get(x_75, 1); lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); -lean_inc(x_78); -lean_dec(x_76); -x_19 = x_77; -x_20 = x_78; +lean_dec(x_75); +x_19 = x_76; +x_20 = x_77; goto block_32; } else { -uint8_t x_79; +uint8_t x_78; lean_dec(x_10); lean_dec(x_2); -x_79 = !lean_is_exclusive(x_76); -if (x_79 == 0) +x_78 = !lean_is_exclusive(x_75); +if (x_78 == 0) { -return x_76; +return x_75; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_76, 0); -x_81 = lean_ctor_get(x_76, 1); -lean_inc(x_81); +lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_79 = lean_ctor_get(x_75, 0); +x_80 = lean_ctor_get(x_75, 1); lean_inc(x_80); -lean_dec(x_76); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_inc(x_79); +lean_dec(x_75); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_79); +lean_ctor_set(x_81, 1, x_80); +return x_81; } } } else { -uint8_t x_83; -lean_dec(x_73); +uint8_t x_82; +lean_dec(x_72); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_83 = !lean_is_exclusive(x_74); -if (x_83 == 0) +x_82 = !lean_is_exclusive(x_73); +if (x_82 == 0) { -return x_74; +return x_73; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_74, 0); -x_85 = lean_ctor_get(x_74, 1); -lean_inc(x_85); +lean_object* x_83; lean_object* x_84; lean_object* x_85; +x_83 = lean_ctor_get(x_73, 0); +x_84 = lean_ctor_get(x_73, 1); lean_inc(x_84); -lean_dec(x_74); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_inc(x_83); +lean_dec(x_73); +x_85 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_84); +return x_85; } } } case 8: { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_87 = lean_ctor_get(x_34, 1); +lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_86 = lean_ctor_get(x_33, 1); +lean_inc(x_86); +lean_dec(x_33); +x_87 = lean_ctor_get(x_2, 1); lean_inc(x_87); -lean_dec(x_34); -x_88 = lean_ctor_get(x_2, 1); +x_88 = lean_ctor_get(x_2, 2); lean_inc(x_88); -x_89 = lean_ctor_get(x_2, 2); +x_89 = lean_ctor_get(x_2, 3); lean_inc(x_89); -x_90 = lean_ctor_get(x_2, 3); -lean_inc(x_90); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_91 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_87); -if (lean_obj_tag(x_91) == 0) +x_90 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_87, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_86); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_92; lean_object* x_93; -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); +lean_object* x_91; lean_object* x_92; +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_93 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_92); -if (lean_obj_tag(x_93) == 0) +x_92 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_88, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_91); +if (lean_obj_tag(x_92) == 0) { -lean_object* x_94; lean_object* x_95; -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -lean_dec(x_93); +lean_object* x_93; lean_object* x_94; +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +lean_dec(x_92); lean_inc(x_10); -x_95 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_90, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_94); -if (lean_obj_tag(x_95) == 0) +x_94 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_89, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_93); +if (lean_obj_tag(x_94) == 0) { -lean_object* x_96; lean_object* x_97; -x_96 = lean_ctor_get(x_95, 0); +lean_object* x_95; lean_object* x_96; +x_95 = lean_ctor_get(x_94, 0); +lean_inc(x_95); +x_96 = lean_ctor_get(x_94, 1); lean_inc(x_96); -x_97 = lean_ctor_get(x_95, 1); -lean_inc(x_97); -lean_dec(x_95); -x_19 = x_96; -x_20 = x_97; +lean_dec(x_94); +x_19 = x_95; +x_20 = x_96; goto block_32; } else { -uint8_t x_98; +uint8_t x_97; lean_dec(x_10); lean_dec(x_2); -x_98 = !lean_is_exclusive(x_95); -if (x_98 == 0) +x_97 = !lean_is_exclusive(x_94); +if (x_97 == 0) { -return x_95; +return x_94; } 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_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_94, 0); +x_99 = lean_ctor_get(x_94, 1); 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; +lean_inc(x_98); +lean_dec(x_94); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } else { -uint8_t x_102; -lean_dec(x_90); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_102 = !lean_is_exclusive(x_93); -if (x_102 == 0) -{ -return x_93; -} -else -{ -lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_103 = lean_ctor_get(x_93, 0); -x_104 = lean_ctor_get(x_93, 1); -lean_inc(x_104); -lean_inc(x_103); -lean_dec(x_93); -x_105 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_105, 0, x_103); -lean_ctor_set(x_105, 1, x_104); -return x_105; -} -} -} -else -{ -uint8_t x_106; -lean_dec(x_90); +uint8_t x_101; lean_dec(x_89); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_106 = !lean_is_exclusive(x_91); -if (x_106 == 0) +x_101 = !lean_is_exclusive(x_92); +if (x_101 == 0) { -return x_91; +return x_92; } else { -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_91, 0); -x_108 = lean_ctor_get(x_91, 1); -lean_inc(x_108); +lean_object* x_102; lean_object* x_103; lean_object* x_104; +x_102 = lean_ctor_get(x_92, 0); +x_103 = lean_ctor_get(x_92, 1); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_92); +x_104 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_104, 0, x_102); +lean_ctor_set(x_104, 1, x_103); +return x_104; +} +} +} +else +{ +uint8_t x_105; +lean_dec(x_89); +lean_dec(x_88); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_105 = !lean_is_exclusive(x_90); +if (x_105 == 0) +{ +return x_90; +} +else +{ +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_90, 0); +x_107 = lean_ctor_get(x_90, 1); lean_inc(x_107); -lean_dec(x_91); -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; +lean_inc(x_106); +lean_dec(x_90); +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } case 10: { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_34, 1); +lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_109 = lean_ctor_get(x_33, 1); +lean_inc(x_109); +lean_dec(x_33); +x_110 = lean_ctor_get(x_2, 1); lean_inc(x_110); -lean_dec(x_34); -x_111 = lean_ctor_get(x_2, 1); -lean_inc(x_111); lean_inc(x_10); -x_112 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_111, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_110); -if (lean_obj_tag(x_112) == 0) +x_111 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_110, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_109); +if (lean_obj_tag(x_111) == 0) { -lean_object* x_113; lean_object* x_114; -x_113 = lean_ctor_get(x_112, 0); +lean_object* x_112; lean_object* x_113; +x_112 = lean_ctor_get(x_111, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_111, 1); lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); -lean_inc(x_114); -lean_dec(x_112); -x_19 = x_113; -x_20 = x_114; +lean_dec(x_111); +x_19 = x_112; +x_20 = x_113; goto block_32; } else { -uint8_t x_115; +uint8_t x_114; lean_dec(x_10); lean_dec(x_2); -x_115 = !lean_is_exclusive(x_112); -if (x_115 == 0) +x_114 = !lean_is_exclusive(x_111); +if (x_114 == 0) { -return x_112; +return x_111; } else { -lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_116 = lean_ctor_get(x_112, 0); -x_117 = lean_ctor_get(x_112, 1); -lean_inc(x_117); +lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_115 = lean_ctor_get(x_111, 0); +x_116 = lean_ctor_get(x_111, 1); lean_inc(x_116); -lean_dec(x_112); -x_118 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_118, 0, x_116); -lean_ctor_set(x_118, 1, x_117); -return x_118; +lean_inc(x_115); +lean_dec(x_111); +x_117 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_117, 0, x_115); +lean_ctor_set(x_117, 1, x_116); +return x_117; } } } case 11: { -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_34, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_33, 1); +lean_inc(x_118); +lean_dec(x_33); +x_119 = lean_ctor_get(x_2, 2); lean_inc(x_119); -lean_dec(x_34); -x_120 = lean_ctor_get(x_2, 2); -lean_inc(x_120); lean_inc(x_10); -x_121 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_120, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_119); -if (lean_obj_tag(x_121) == 0) +x_120 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_119, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_118); +if (lean_obj_tag(x_120) == 0) { -lean_object* x_122; lean_object* x_123; -x_122 = lean_ctor_get(x_121, 0); +lean_object* x_121; lean_object* x_122; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -x_19 = x_122; -x_20 = x_123; +lean_dec(x_120); +x_19 = x_121; +x_20 = x_122; goto block_32; } else { -uint8_t x_124; +uint8_t x_123; lean_dec(x_10); lean_dec(x_2); -x_124 = !lean_is_exclusive(x_121); -if (x_124 == 0) +x_123 = !lean_is_exclusive(x_120); +if (x_123 == 0) { -return x_121; +return x_120; } else { -lean_object* x_125; lean_object* x_126; lean_object* x_127; -x_125 = lean_ctor_get(x_121, 0); -x_126 = lean_ctor_get(x_121, 1); -lean_inc(x_126); +lean_object* x_124; lean_object* x_125; lean_object* x_126; +x_124 = lean_ctor_get(x_120, 0); +x_125 = lean_ctor_get(x_120, 1); lean_inc(x_125); -lean_dec(x_121); -x_127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_127, 0, x_125); -lean_ctor_set(x_127, 1, x_126); -return x_127; +lean_inc(x_124); +lean_dec(x_120); +x_126 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_126, 0, x_124); +lean_ctor_set(x_126, 1, x_125); +return x_126; } } } default: { -lean_object* x_128; lean_object* x_129; +lean_object* x_127; lean_object* x_128; lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_128 = lean_ctor_get(x_34, 1); -lean_inc(x_128); -lean_dec(x_34); -x_129 = lean_box(0); -x_19 = x_129; -x_20 = x_128; +x_127 = lean_ctor_get(x_33, 1); +lean_inc(x_127); +lean_dec(x_33); +x_128 = lean_box(0); +x_19 = x_128; +x_20 = x_127; goto block_32; } } @@ -2015,32 +1975,33 @@ goto block_32; } else { -uint8_t x_130; +uint8_t x_129; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_130 = !lean_is_exclusive(x_34); -if (x_130 == 0) +x_129 = !lean_is_exclusive(x_33); +if (x_129 == 0) { -return x_34; +return x_33; } else { -lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_131 = lean_ctor_get(x_34, 0); -x_132 = lean_ctor_get(x_34, 1); -lean_inc(x_132); +lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_130 = lean_ctor_get(x_33, 0); +x_131 = lean_ctor_get(x_33, 1); lean_inc(x_131); -lean_dec(x_34); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_131); -lean_ctor_set(x_133, 1, x_132); -return x_133; +lean_inc(x_130); +lean_dec(x_33); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_130); +lean_ctor_set(x_132, 1, x_131); +return x_132; } } block_32: @@ -2084,389 +2045,413 @@ return x_31; } else { -lean_object* x_134; +lean_object* x_133; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_134 = lean_ctor_get(x_18, 0); -lean_inc(x_134); +x_133 = lean_ctor_get(x_18, 0); +lean_inc(x_133); lean_dec(x_18); -lean_ctor_set(x_14, 0, x_134); +lean_ctor_set(x_14, 0, x_133); return x_14; } } else { -lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_135 = lean_ctor_get(x_14, 0); -x_136 = lean_ctor_get(x_14, 1); -lean_inc(x_136); +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_14, 0); +x_135 = lean_ctor_get(x_14, 1); lean_inc(x_135); +lean_inc(x_134); lean_dec(x_14); lean_inc(x_2); -x_137 = l_Lean_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__1(x_135, x_2); -if (lean_obj_tag(x_137) == 0) +x_136 = l_Lean_HashMapImp_find_x3f___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__1(x_134, x_2); +if (lean_obj_tag(x_136) == 0) { -lean_object* x_138; lean_object* x_139; lean_object* x_151; lean_object* x_152; -x_151 = lean_box(x_7); +lean_object* x_137; lean_object* x_138; lean_object* x_150; lean_inc(x_1); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_2); -x_152 = lean_apply_9(x_1, x_2, x_4, x_5, x_6, x_151, x_8, x_9, x_10, x_136); -if (lean_obj_tag(x_152) == 0) +x_150 = lean_apply_9(x_1, x_2, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_135); +if (lean_obj_tag(x_150) == 0) { -lean_object* x_153; uint8_t x_154; -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_unbox(x_153); -lean_dec(x_153); -if (x_154 == 0) +lean_object* x_151; uint8_t x_152; +x_151 = lean_ctor_get(x_150, 0); +lean_inc(x_151); +x_152 = lean_unbox(x_151); +lean_dec(x_151); +if (x_152 == 0) { -lean_object* x_155; lean_object* x_156; +lean_object* x_153; lean_object* x_154; lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_155 = lean_ctor_get(x_152, 1); -lean_inc(x_155); -lean_dec(x_152); -x_156 = lean_box(0); -x_138 = x_156; -x_139 = x_155; -goto block_150; +x_153 = lean_ctor_get(x_150, 1); +lean_inc(x_153); +lean_dec(x_150); +x_154 = lean_box(0); +x_137 = x_154; +x_138 = x_153; +goto block_149; } else { switch (lean_obj_tag(x_2)) { case 5: { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; -x_157 = lean_ctor_get(x_152, 1); +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; +x_155 = lean_ctor_get(x_150, 1); +lean_inc(x_155); +lean_dec(x_150); +x_156 = lean_ctor_get(x_2, 0); +lean_inc(x_156); +x_157 = lean_ctor_get(x_2, 1); lean_inc(x_157); -lean_dec(x_152); -x_158 = lean_ctor_get(x_2, 0); -lean_inc(x_158); -x_159 = lean_ctor_get(x_2, 1); -lean_inc(x_159); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_160 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_158, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_157); +x_158 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_156, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_155); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; lean_object* x_160; +x_159 = lean_ctor_get(x_158, 1); +lean_inc(x_159); +lean_dec(x_158); +lean_inc(x_10); +x_160 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_157, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_159); if (lean_obj_tag(x_160) == 0) { lean_object* x_161; lean_object* x_162; -x_161 = lean_ctor_get(x_160, 1); +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); -lean_inc(x_10); -x_162 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_159, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_161); -if (lean_obj_tag(x_162) == 0) -{ -lean_object* x_163; lean_object* x_164; -x_163 = lean_ctor_get(x_162, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_162, 1); -lean_inc(x_164); -lean_dec(x_162); -x_138 = x_163; -x_139 = x_164; -goto block_150; +x_137 = x_161; +x_138 = x_162; +goto block_149; } else { -lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_dec(x_10); lean_dec(x_2); -x_165 = lean_ctor_get(x_162, 0); -lean_inc(x_165); -x_166 = lean_ctor_get(x_162, 1); -lean_inc(x_166); -if (lean_is_exclusive(x_162)) { - lean_ctor_release(x_162, 0); - lean_ctor_release(x_162, 1); - x_167 = x_162; +x_163 = lean_ctor_get(x_160, 0); +lean_inc(x_163); +x_164 = lean_ctor_get(x_160, 1); +lean_inc(x_164); +if (lean_is_exclusive(x_160)) { + lean_ctor_release(x_160, 0); + lean_ctor_release(x_160, 1); + x_165 = x_160; } else { - lean_dec_ref(x_162); - x_167 = lean_box(0); + lean_dec_ref(x_160); + x_165 = lean_box(0); } -if (lean_is_scalar(x_167)) { - x_168 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_165)) { + x_166 = lean_alloc_ctor(1, 2, 0); } else { - x_168 = x_167; + x_166 = x_165; } -lean_ctor_set(x_168, 0, x_165); -lean_ctor_set(x_168, 1, x_166); -return x_168; +lean_ctor_set(x_166, 0, x_163); +lean_ctor_set(x_166, 1, x_164); +return x_166; } } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; -lean_dec(x_159); +lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_dec(x_157); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_169 = lean_ctor_get(x_160, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_160, 1); -lean_inc(x_170); -if (lean_is_exclusive(x_160)) { - lean_ctor_release(x_160, 0); - lean_ctor_release(x_160, 1); - x_171 = x_160; +x_167 = lean_ctor_get(x_158, 0); +lean_inc(x_167); +x_168 = lean_ctor_get(x_158, 1); +lean_inc(x_168); +if (lean_is_exclusive(x_158)) { + lean_ctor_release(x_158, 0); + lean_ctor_release(x_158, 1); + x_169 = x_158; } else { - lean_dec_ref(x_160); - x_171 = lean_box(0); + lean_dec_ref(x_158); + x_169 = lean_box(0); } -if (lean_is_scalar(x_171)) { - x_172 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_169)) { + x_170 = lean_alloc_ctor(1, 2, 0); } else { - x_172 = x_171; + x_170 = x_169; } -lean_ctor_set(x_172, 0, x_169); -lean_ctor_set(x_172, 1, x_170); -return x_172; +lean_ctor_set(x_170, 0, x_167); +lean_ctor_set(x_170, 1, x_168); +return x_170; } } case 6: { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; -x_173 = lean_ctor_get(x_152, 1); +lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_171 = lean_ctor_get(x_150, 1); +lean_inc(x_171); +lean_dec(x_150); +x_172 = lean_ctor_get(x_2, 1); +lean_inc(x_172); +x_173 = lean_ctor_get(x_2, 2); lean_inc(x_173); -lean_dec(x_152); -x_174 = lean_ctor_get(x_2, 1); -lean_inc(x_174); -x_175 = lean_ctor_get(x_2, 2); -lean_inc(x_175); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_176 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_174, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_173); +x_174 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_172, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_171); +if (lean_obj_tag(x_174) == 0) +{ +lean_object* x_175; lean_object* x_176; +x_175 = lean_ctor_get(x_174, 1); +lean_inc(x_175); +lean_dec(x_174); +lean_inc(x_10); +x_176 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_173, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_175); if (lean_obj_tag(x_176) == 0) { lean_object* x_177; lean_object* x_178; -x_177 = lean_ctor_get(x_176, 1); +x_177 = lean_ctor_get(x_176, 0); lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); lean_dec(x_176); -lean_inc(x_10); -x_178 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_175, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_177); -if (lean_obj_tag(x_178) == 0) -{ -lean_object* x_179; lean_object* x_180; -x_179 = lean_ctor_get(x_178, 0); -lean_inc(x_179); -x_180 = lean_ctor_get(x_178, 1); -lean_inc(x_180); -lean_dec(x_178); -x_138 = x_179; -x_139 = x_180; -goto block_150; +x_137 = x_177; +x_138 = x_178; +goto block_149; } else { -lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; +lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_dec(x_10); lean_dec(x_2); -x_181 = lean_ctor_get(x_178, 0); -lean_inc(x_181); -x_182 = lean_ctor_get(x_178, 1); -lean_inc(x_182); -if (lean_is_exclusive(x_178)) { - lean_ctor_release(x_178, 0); - lean_ctor_release(x_178, 1); - x_183 = x_178; +x_179 = lean_ctor_get(x_176, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_176, 1); +lean_inc(x_180); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_181 = x_176; } else { - lean_dec_ref(x_178); - x_183 = lean_box(0); + lean_dec_ref(x_176); + x_181 = lean_box(0); } -if (lean_is_scalar(x_183)) { - x_184 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(1, 2, 0); } else { - x_184 = x_183; + x_182 = x_181; } -lean_ctor_set(x_184, 0, x_181); -lean_ctor_set(x_184, 1, x_182); -return x_184; +lean_ctor_set(x_182, 0, x_179); +lean_ctor_set(x_182, 1, x_180); +return x_182; } } else { -lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; -lean_dec(x_175); +lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; +lean_dec(x_173); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_185 = lean_ctor_get(x_176, 0); -lean_inc(x_185); -x_186 = lean_ctor_get(x_176, 1); -lean_inc(x_186); -if (lean_is_exclusive(x_176)) { - lean_ctor_release(x_176, 0); - lean_ctor_release(x_176, 1); - x_187 = x_176; +x_183 = lean_ctor_get(x_174, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_174, 1); +lean_inc(x_184); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + lean_ctor_release(x_174, 1); + x_185 = x_174; } else { - lean_dec_ref(x_176); - x_187 = lean_box(0); + lean_dec_ref(x_174); + x_185 = lean_box(0); } -if (lean_is_scalar(x_187)) { - x_188 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_185)) { + x_186 = lean_alloc_ctor(1, 2, 0); } else { - x_188 = x_187; + x_186 = x_185; } -lean_ctor_set(x_188, 0, x_185); -lean_ctor_set(x_188, 1, x_186); -return x_188; +lean_ctor_set(x_186, 0, x_183); +lean_ctor_set(x_186, 1, x_184); +return x_186; } } case 7: { -lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; -x_189 = lean_ctor_get(x_152, 1); +lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +x_187 = lean_ctor_get(x_150, 1); +lean_inc(x_187); +lean_dec(x_150); +x_188 = lean_ctor_get(x_2, 1); +lean_inc(x_188); +x_189 = lean_ctor_get(x_2, 2); lean_inc(x_189); -lean_dec(x_152); -x_190 = lean_ctor_get(x_2, 1); -lean_inc(x_190); -x_191 = lean_ctor_get(x_2, 2); -lean_inc(x_191); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_192 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_190, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_189); +x_190 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_188, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_187); +if (lean_obj_tag(x_190) == 0) +{ +lean_object* x_191; lean_object* x_192; +x_191 = lean_ctor_get(x_190, 1); +lean_inc(x_191); +lean_dec(x_190); +lean_inc(x_10); +x_192 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_189, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_191); if (lean_obj_tag(x_192) == 0) { lean_object* x_193; lean_object* x_194; -x_193 = lean_ctor_get(x_192, 1); +x_193 = lean_ctor_get(x_192, 0); lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); lean_dec(x_192); -lean_inc(x_10); -x_194 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_191, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_193); -if (lean_obj_tag(x_194) == 0) -{ -lean_object* x_195; lean_object* x_196; -x_195 = lean_ctor_get(x_194, 0); -lean_inc(x_195); -x_196 = lean_ctor_get(x_194, 1); -lean_inc(x_196); -lean_dec(x_194); -x_138 = x_195; -x_139 = x_196; -goto block_150; +x_137 = x_193; +x_138 = x_194; +goto block_149; } else { -lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; +lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_dec(x_10); lean_dec(x_2); -x_197 = lean_ctor_get(x_194, 0); -lean_inc(x_197); -x_198 = lean_ctor_get(x_194, 1); -lean_inc(x_198); -if (lean_is_exclusive(x_194)) { - lean_ctor_release(x_194, 0); - lean_ctor_release(x_194, 1); - x_199 = x_194; +x_195 = lean_ctor_get(x_192, 0); +lean_inc(x_195); +x_196 = lean_ctor_get(x_192, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_197 = x_192; } else { - lean_dec_ref(x_194); - x_199 = lean_box(0); + lean_dec_ref(x_192); + x_197 = lean_box(0); } -if (lean_is_scalar(x_199)) { - x_200 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_197)) { + x_198 = lean_alloc_ctor(1, 2, 0); } else { - x_200 = x_199; + x_198 = x_197; } -lean_ctor_set(x_200, 0, x_197); -lean_ctor_set(x_200, 1, x_198); -return x_200; +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_196); +return x_198; } } else { -lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; -lean_dec(x_191); +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; +lean_dec(x_189); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_201 = lean_ctor_get(x_192, 0); -lean_inc(x_201); -x_202 = lean_ctor_get(x_192, 1); -lean_inc(x_202); -if (lean_is_exclusive(x_192)) { - lean_ctor_release(x_192, 0); - lean_ctor_release(x_192, 1); - x_203 = x_192; +x_199 = lean_ctor_get(x_190, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_190, 1); +lean_inc(x_200); +if (lean_is_exclusive(x_190)) { + lean_ctor_release(x_190, 0); + lean_ctor_release(x_190, 1); + x_201 = x_190; } else { - lean_dec_ref(x_192); - x_203 = lean_box(0); + lean_dec_ref(x_190); + x_201 = lean_box(0); } -if (lean_is_scalar(x_203)) { - x_204 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_201)) { + x_202 = lean_alloc_ctor(1, 2, 0); } else { - x_204 = x_203; + x_202 = x_201; } -lean_ctor_set(x_204, 0, x_201); -lean_ctor_set(x_204, 1, x_202); -return x_204; +lean_ctor_set(x_202, 0, x_199); +lean_ctor_set(x_202, 1, x_200); +return x_202; } } case 8: { -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; -x_205 = lean_ctor_get(x_152, 1); +lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_203 = lean_ctor_get(x_150, 1); +lean_inc(x_203); +lean_dec(x_150); +x_204 = lean_ctor_get(x_2, 1); +lean_inc(x_204); +x_205 = lean_ctor_get(x_2, 2); lean_inc(x_205); -lean_dec(x_152); -x_206 = lean_ctor_get(x_2, 1); +x_206 = lean_ctor_get(x_2, 3); lean_inc(x_206); -x_207 = lean_ctor_get(x_2, 2); -lean_inc(x_207); -x_208 = lean_ctor_get(x_2, 3); -lean_inc(x_208); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); -x_209 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_206, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_205); +x_207 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_204, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_203); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; lean_object* x_209; +x_208 = lean_ctor_get(x_207, 1); +lean_inc(x_208); +lean_dec(x_207); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_1); +x_209 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_205, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_208); if (lean_obj_tag(x_209) == 0) { lean_object* x_210; lean_object* x_211; @@ -2474,339 +2459,330 @@ x_210 = lean_ctor_get(x_209, 1); lean_inc(x_210); lean_dec(x_209); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_1); -x_211 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_207, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_210); +x_211 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_206, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_210); if (lean_obj_tag(x_211) == 0) { lean_object* x_212; lean_object* x_213; -x_212 = lean_ctor_get(x_211, 1); +x_212 = lean_ctor_get(x_211, 0); lean_inc(x_212); +x_213 = lean_ctor_get(x_211, 1); +lean_inc(x_213); lean_dec(x_211); -lean_inc(x_10); -x_213 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_208, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_212); -if (lean_obj_tag(x_213) == 0) +x_137 = x_212; +x_138 = x_213; +goto block_149; +} +else { -lean_object* x_214; lean_object* x_215; -x_214 = lean_ctor_get(x_213, 0); +lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; +lean_dec(x_10); +lean_dec(x_2); +x_214 = lean_ctor_get(x_211, 0); lean_inc(x_214); -x_215 = lean_ctor_get(x_213, 1); +x_215 = lean_ctor_get(x_211, 1); lean_inc(x_215); -lean_dec(x_213); -x_138 = x_214; -x_139 = x_215; -goto block_150; -} -else -{ -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; -lean_dec(x_10); -lean_dec(x_2); -x_216 = lean_ctor_get(x_213, 0); -lean_inc(x_216); -x_217 = lean_ctor_get(x_213, 1); -lean_inc(x_217); -if (lean_is_exclusive(x_213)) { - lean_ctor_release(x_213, 0); - lean_ctor_release(x_213, 1); - x_218 = x_213; -} else { - lean_dec_ref(x_213); - x_218 = lean_box(0); -} -if (lean_is_scalar(x_218)) { - x_219 = lean_alloc_ctor(1, 2, 0); -} else { - x_219 = x_218; -} -lean_ctor_set(x_219, 0, x_216); -lean_ctor_set(x_219, 1, x_217); -return x_219; -} -} -else -{ -lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; -lean_dec(x_208); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_220 = lean_ctor_get(x_211, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_211, 1); -lean_inc(x_221); if (lean_is_exclusive(x_211)) { lean_ctor_release(x_211, 0); lean_ctor_release(x_211, 1); - x_222 = x_211; + x_216 = x_211; } else { lean_dec_ref(x_211); - x_222 = lean_box(0); + x_216 = lean_box(0); } -if (lean_is_scalar(x_222)) { - x_223 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_216)) { + x_217 = lean_alloc_ctor(1, 2, 0); } else { - x_223 = x_222; + x_217 = x_216; } -lean_ctor_set(x_223, 0, x_220); -lean_ctor_set(x_223, 1, x_221); -return x_223; +lean_ctor_set(x_217, 0, x_214); +lean_ctor_set(x_217, 1, x_215); +return x_217; } } else { -lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; -lean_dec(x_208); -lean_dec(x_207); +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; +lean_dec(x_206); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_224 = lean_ctor_get(x_209, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_209, 1); -lean_inc(x_225); +x_218 = lean_ctor_get(x_209, 0); +lean_inc(x_218); +x_219 = lean_ctor_get(x_209, 1); +lean_inc(x_219); if (lean_is_exclusive(x_209)) { lean_ctor_release(x_209, 0); lean_ctor_release(x_209, 1); - x_226 = x_209; + x_220 = x_209; } else { lean_dec_ref(x_209); - x_226 = lean_box(0); + x_220 = lean_box(0); } -if (lean_is_scalar(x_226)) { - x_227 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_220)) { + x_221 = lean_alloc_ctor(1, 2, 0); } else { - x_227 = x_226; + x_221 = x_220; } -lean_ctor_set(x_227, 0, x_224); -lean_ctor_set(x_227, 1, x_225); -return x_227; +lean_ctor_set(x_221, 0, x_218); +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_206); +lean_dec(x_205); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_222 = lean_ctor_get(x_207, 0); +lean_inc(x_222); +x_223 = lean_ctor_get(x_207, 1); +lean_inc(x_223); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + lean_ctor_release(x_207, 1); + x_224 = x_207; +} else { + lean_dec_ref(x_207); + 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; } } case 10: { -lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_228 = lean_ctor_get(x_152, 1); -lean_inc(x_228); -lean_dec(x_152); -x_229 = lean_ctor_get(x_2, 1); -lean_inc(x_229); +lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_226 = lean_ctor_get(x_150, 1); +lean_inc(x_226); +lean_dec(x_150); +x_227 = lean_ctor_get(x_2, 1); +lean_inc(x_227); lean_inc(x_10); -x_230 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_229, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_228); -if (lean_obj_tag(x_230) == 0) +x_228 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_227, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_226); +if (lean_obj_tag(x_228) == 0) { -lean_object* x_231; lean_object* x_232; -x_231 = lean_ctor_get(x_230, 0); -lean_inc(x_231); -x_232 = lean_ctor_get(x_230, 1); -lean_inc(x_232); -lean_dec(x_230); -x_138 = x_231; -x_139 = x_232; -goto block_150; +lean_object* x_229; lean_object* x_230; +x_229 = lean_ctor_get(x_228, 0); +lean_inc(x_229); +x_230 = lean_ctor_get(x_228, 1); +lean_inc(x_230); +lean_dec(x_228); +x_137 = x_229; +x_138 = x_230; +goto block_149; } else { -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_dec(x_10); lean_dec(x_2); -x_233 = lean_ctor_get(x_230, 0); -lean_inc(x_233); -x_234 = lean_ctor_get(x_230, 1); -lean_inc(x_234); -if (lean_is_exclusive(x_230)) { - lean_ctor_release(x_230, 0); - lean_ctor_release(x_230, 1); - x_235 = x_230; +x_231 = lean_ctor_get(x_228, 0); +lean_inc(x_231); +x_232 = lean_ctor_get(x_228, 1); +lean_inc(x_232); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_233 = x_228; } else { - lean_dec_ref(x_230); - x_235 = lean_box(0); + lean_dec_ref(x_228); + x_233 = lean_box(0); } -if (lean_is_scalar(x_235)) { - x_236 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_233)) { + x_234 = lean_alloc_ctor(1, 2, 0); } else { - x_236 = x_235; + x_234 = x_233; } -lean_ctor_set(x_236, 0, x_233); -lean_ctor_set(x_236, 1, x_234); -return x_236; +lean_ctor_set(x_234, 0, x_231); +lean_ctor_set(x_234, 1, x_232); +return x_234; } } case 11: { -lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_237 = lean_ctor_get(x_152, 1); -lean_inc(x_237); -lean_dec(x_152); -x_238 = lean_ctor_get(x_2, 2); -lean_inc(x_238); +lean_object* x_235; lean_object* x_236; lean_object* x_237; +x_235 = lean_ctor_get(x_150, 1); +lean_inc(x_235); +lean_dec(x_150); +x_236 = lean_ctor_get(x_2, 2); +lean_inc(x_236); lean_inc(x_10); -x_239 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_238, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_237); -if (lean_obj_tag(x_239) == 0) +x_237 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_236, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_235); +if (lean_obj_tag(x_237) == 0) { -lean_object* x_240; lean_object* x_241; -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_239, 1); -lean_inc(x_241); -lean_dec(x_239); -x_138 = x_240; -x_139 = x_241; -goto block_150; +lean_object* x_238; lean_object* x_239; +x_238 = lean_ctor_get(x_237, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_237, 1); +lean_inc(x_239); +lean_dec(x_237); +x_137 = x_238; +x_138 = x_239; +goto block_149; } else { -lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_dec(x_10); lean_dec(x_2); -x_242 = lean_ctor_get(x_239, 0); -lean_inc(x_242); -x_243 = lean_ctor_get(x_239, 1); -lean_inc(x_243); -if (lean_is_exclusive(x_239)) { - lean_ctor_release(x_239, 0); - lean_ctor_release(x_239, 1); - x_244 = x_239; +x_240 = lean_ctor_get(x_237, 0); +lean_inc(x_240); +x_241 = lean_ctor_get(x_237, 1); +lean_inc(x_241); +if (lean_is_exclusive(x_237)) { + lean_ctor_release(x_237, 0); + lean_ctor_release(x_237, 1); + x_242 = x_237; } else { - lean_dec_ref(x_239); - x_244 = lean_box(0); + lean_dec_ref(x_237); + x_242 = lean_box(0); } -if (lean_is_scalar(x_244)) { - x_245 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_242)) { + x_243 = lean_alloc_ctor(1, 2, 0); } else { - x_245 = x_244; + x_243 = x_242; } -lean_ctor_set(x_245, 0, x_242); -lean_ctor_set(x_245, 1, x_243); -return x_245; +lean_ctor_set(x_243, 0, x_240); +lean_ctor_set(x_243, 1, x_241); +return x_243; } } default: { -lean_object* x_246; lean_object* x_247; +lean_object* x_244; lean_object* x_245; lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_246 = lean_ctor_get(x_152, 1); -lean_inc(x_246); -lean_dec(x_152); -x_247 = lean_box(0); -x_138 = x_247; -x_139 = x_246; -goto block_150; +x_244 = lean_ctor_get(x_150, 1); +lean_inc(x_244); +lean_dec(x_150); +x_245 = lean_box(0); +x_137 = x_245; +x_138 = x_244; +goto block_149; } } } } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_248 = lean_ctor_get(x_152, 0); -lean_inc(x_248); -x_249 = lean_ctor_get(x_152, 1); -lean_inc(x_249); -if (lean_is_exclusive(x_152)) { - lean_ctor_release(x_152, 0); - lean_ctor_release(x_152, 1); - x_250 = x_152; +x_246 = lean_ctor_get(x_150, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_150, 1); +lean_inc(x_247); +if (lean_is_exclusive(x_150)) { + lean_ctor_release(x_150, 0); + lean_ctor_release(x_150, 1); + x_248 = x_150; } else { - lean_dec_ref(x_152); - x_250 = lean_box(0); + lean_dec_ref(x_150); + x_248 = lean_box(0); } -if (lean_is_scalar(x_250)) { - x_251 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_248)) { + x_249 = lean_alloc_ctor(1, 2, 0); } else { - x_251 = x_250; + x_249 = x_248; } -lean_ctor_set(x_251, 0, x_248); -lean_ctor_set(x_251, 1, x_249); +lean_ctor_set(x_249, 0, x_246); +lean_ctor_set(x_249, 1, x_247); +return x_249; +} +block_149: +{ +lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_139 = lean_st_ref_get(x_10, x_138); +lean_dec(x_10); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +lean_dec(x_139); +x_141 = lean_st_ref_take(x_3, x_140); +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +x_143 = lean_ctor_get(x_141, 1); +lean_inc(x_143); +lean_dec(x_141); +lean_inc(x_137); +x_144 = l_Lean_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_142, x_2, x_137); +x_145 = lean_st_ref_set(x_3, x_144, x_143); +x_146 = lean_ctor_get(x_145, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_145)) { + lean_ctor_release(x_145, 0); + lean_ctor_release(x_145, 1); + x_147 = x_145; +} else { + lean_dec_ref(x_145); + x_147 = lean_box(0); +} +if (lean_is_scalar(x_147)) { + x_148 = lean_alloc_ctor(0, 2, 0); +} else { + x_148 = x_147; +} +lean_ctor_set(x_148, 0, x_137); +lean_ctor_set(x_148, 1, x_146); +return x_148; +} +} +else +{ +lean_object* x_250; lean_object* x_251; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_2); +lean_dec(x_1); +x_250 = lean_ctor_get(x_136, 0); +lean_inc(x_250); +lean_dec(x_136); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_135); return x_251; } -block_150: -{ -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; -x_140 = lean_st_ref_get(x_10, x_139); -lean_dec(x_10); -x_141 = lean_ctor_get(x_140, 1); -lean_inc(x_141); -lean_dec(x_140); -x_142 = lean_st_ref_take(x_3, x_141); -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -lean_dec(x_142); -lean_inc(x_138); -x_145 = l_Lean_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(x_143, x_2, x_138); -x_146 = lean_st_ref_set(x_3, x_145, x_144); -x_147 = lean_ctor_get(x_146, 1); -lean_inc(x_147); -if (lean_is_exclusive(x_146)) { - lean_ctor_release(x_146, 0); - lean_ctor_release(x_146, 1); - x_148 = x_146; -} else { - lean_dec_ref(x_146); - x_148 = lean_box(0); -} -if (lean_is_scalar(x_148)) { - x_149 = lean_alloc_ctor(0, 2, 0); -} else { - x_149 = x_148; -} -lean_ctor_set(x_149, 0, x_138); -lean_ctor_set(x_149, 1, x_147); -return x_149; -} -} -else -{ -lean_object* x_252; lean_object* x_253; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_2); -lean_dec(x_1); -x_252 = lean_ctor_get(x_137, 0); -lean_inc(x_252); -lean_dec(x_137); -x_253 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_136); -return x_253; } } } -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 1) @@ -2873,6 +2849,7 @@ uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -2899,11 +2876,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr_ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1___boxed), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -3038,15 +3015,14 @@ x_3 = l_instInhabited___rarg(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_10; lean_object* x_11; lean_object* x_12; x_10 = l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___closed__6; x_11 = lean_panic_fn(x_10, x_1); -x_12 = lean_box(x_5); -x_13 = lean_apply_8(x_11, x_2, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; +x_12 = lean_apply_8(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___closed__1() { @@ -3086,7 +3062,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -3129,6 +3105,7 @@ lean_object* x_24; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3195,6 +3172,7 @@ lean_inc(x_41); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -3218,6 +3196,7 @@ lean_dec(x_41); lean_dec(x_36); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_47 = lean_ctor_get(x_44, 1); @@ -3457,6 +3436,7 @@ lean_dec(x_36); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3759,6 +3739,7 @@ lean_object* x_187; lean_object* x_188; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -3826,6 +3807,7 @@ lean_inc(x_205); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -3849,6 +3831,7 @@ lean_dec(x_205); lean_dec(x_200); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_211 = lean_ctor_get(x_208, 1); @@ -4034,6 +4017,7 @@ lean_dec(x_200); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4284,6 +4268,7 @@ lean_dec(x_17); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4331,6 +4316,7 @@ lean_object* x_318; lean_object* x_319; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4403,6 +4389,7 @@ lean_inc(x_336); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -4426,6 +4413,7 @@ lean_dec(x_336); lean_dec(x_331); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_342 = lean_ctor_get(x_339, 1); @@ -4611,6 +4599,7 @@ lean_dec(x_331); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4860,6 +4849,7 @@ lean_dec(x_312); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4873,7 +4863,7 @@ return x_440; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -4882,6 +4872,7 @@ lean_inc(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -4897,6 +4888,7 @@ lean_inc(x_13); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -4920,6 +4912,7 @@ uint8_t x_18; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4950,6 +4943,7 @@ uint8_t x_22; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4975,7 +4969,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -4988,6 +4982,7 @@ x_14 = lean_array_uget(x_1, x_2); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -5013,6 +5008,7 @@ uint8_t x_21; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5042,6 +5038,7 @@ lean_object* x_25; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5052,7 +5049,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -5073,6 +5070,7 @@ lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -5087,6 +5085,7 @@ lean_dec(x_17); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -5112,6 +5111,7 @@ uint8_t x_25; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5142,6 +5142,7 @@ lean_dec(x_16); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5174,6 +5175,7 @@ lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -5199,6 +5201,7 @@ uint8_t x_40; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5229,6 +5232,7 @@ lean_object* x_44; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5239,7 +5243,7 @@ return x_44; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { switch (lean_obj_tag(x_1)) { @@ -5256,6 +5260,7 @@ lean_inc(x_12); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5272,6 +5277,7 @@ lean_dec(x_10); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5293,6 +5299,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5324,6 +5331,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5364,6 +5372,7 @@ lean_dec(x_27); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5385,6 +5394,7 @@ lean_dec(x_27); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5418,6 +5428,7 @@ lean_inc(x_41); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5433,6 +5444,7 @@ lean_inc(x_44); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5461,6 +5473,7 @@ lean_dec(x_49); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5480,6 +5493,7 @@ lean_dec(x_49); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5521,6 +5535,7 @@ lean_dec(x_61); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5542,6 +5557,7 @@ lean_dec(x_61); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5572,6 +5588,7 @@ lean_dec(x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5602,6 +5619,7 @@ lean_dec(x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5654,6 +5672,7 @@ lean_dec(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -5675,6 +5694,7 @@ lean_dec(x_87); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -5704,131 +5724,61 @@ return x_94; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_3); lean_dec(x_3); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectParams___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectParams___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_collectParams(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Specialize_Collector_collectParams(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_ForEachExpr_visit___at_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___lambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_collectExpr(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_panic___at_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_collectFVar(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_collectFunDecl(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_12; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_3); lean_dec(x_3); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_3); lean_dec(x_3); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_Collector_collectCode___spec__2(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); -return x_16; +return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collectCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_collectCode(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -5839,6 +5789,7 @@ lean_object* x_14; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -5921,6 +5872,7 @@ x_46 = lean_array_push(x_28, x_45); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -5947,6 +5899,7 @@ lean_free_object(x_4); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6009,6 +5962,7 @@ x_63 = lean_array_push(x_28, x_62); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -6036,6 +5990,7 @@ lean_free_object(x_4); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6145,6 +6100,7 @@ x_90 = lean_array_push(x_72, x_89); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); @@ -6172,6 +6128,7 @@ lean_dec(x_83); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6207,6 +6164,7 @@ lean_object* x_19; lean_object* x_20; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); @@ -6235,7 +6193,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; size_t x_17; size_t x_18; lean_object* x_19; @@ -6309,27 +6267,23 @@ return x_30; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_2); lean_dec(x_2); x_14 = lean_unbox_usize(x_3); lean_dec(x_3); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_Collector_collect___spec__1(x_1, x_13, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_Collector_collect___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Specialize_Collector_collect(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Specialize_Collector_collect(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_1); -return x_12; +return x_11; } } static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1___closed__1() { @@ -6343,7 +6297,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -6760,7 +6714,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; lean_object* x_10; lean_object* x_11; @@ -6780,7 +6734,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_shouldSpecializ return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -6803,49 +6757,49 @@ lean_inc(x_20); lean_dec(x_19); if (lean_obj_tag(x_20) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_21 = lean_ctor_get(x_18, 1); lean_inc(x_21); lean_dec(x_18); x_22 = l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___closed__1; x_23 = lean_box(0); -x_24 = lean_box(x_5); -x_25 = lean_apply_8(x_22, x_23, x_3, x_4, x_24, x_6, x_7, x_8, x_21); -return x_25; +x_24 = lean_apply_8(x_22, x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_21); +return x_24; } else { -uint8_t x_26; +uint8_t x_25; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_26 = !lean_is_exclusive(x_18); -if (x_26 == 0) +x_25 = !lean_is_exclusive(x_18); +if (x_25 == 0) { -lean_object* x_27; lean_object* x_28; -x_27 = lean_ctor_get(x_18, 0); -lean_dec(x_27); -x_28 = lean_ctor_get(x_20, 0); -lean_inc(x_28); +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_18, 0); +lean_dec(x_26); +x_27 = lean_ctor_get(x_20, 0); +lean_inc(x_27); lean_dec(x_20); -lean_ctor_set(x_18, 0, x_28); +lean_ctor_set(x_18, 0, x_27); return x_18; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_18, 1); -lean_inc(x_29); +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 1); +lean_inc(x_28); lean_dec(x_18); -x_30 = lean_ctor_get(x_20, 0); -lean_inc(x_30); +x_29 = lean_ctor_get(x_20, 0); +lean_inc(x_29); lean_dec(x_20); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_30); -lean_ctor_set(x_31, 1, x_29); -return x_31; +x_30 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_30, 1, x_28); +return x_30; } } } @@ -6853,48 +6807,44 @@ return x_31; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_shouldSpecialize___spec__1(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_shouldSpecialize___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_shouldSpecialize(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_Specialize_shouldSpecialize(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -7017,7 +6967,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -7066,15 +7016,14 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_expandCodeDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Specialize_expandCodeDecls(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Specialize_expandCodeDecls(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToExpr_withParams_go___at_Lean_Compiler_LCNF_Specialize_mkKey___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) { @@ -7122,7 +7071,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -7180,18 +7129,17 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkKey___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_mkKey(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Specialize_mkKey(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -7622,7 +7570,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, size_t x_4, size_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -7697,7 +7645,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; size_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; size_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; lean_object* x_39; size_t 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; @@ -7768,6 +7716,7 @@ lean_dec(x_23); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_48); x_49 = l_Lean_Compiler_LCNF_Code_inferType(x_48, x_9, x_10, x_11, x_12, x_47); if (lean_obj_tag(x_49) == 0) @@ -7786,93 +7735,98 @@ uint8_t x_53; x_53 = !lean_is_exclusive(x_52); if (x_53 == 0) { -lean_object* x_54; lean_object* x_55; lean_object* x_56; +lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_55, 0, x_7); -lean_ctor_set(x_55, 1, x_5); -lean_ctor_set(x_55, 2, x_54); -lean_ctor_set(x_55, 3, x_42); -lean_ctor_set(x_55, 4, x_48); -x_56 = l_Lean_Compiler_LCNF_Decl_setLevelParams(x_55); -lean_ctor_set(x_52, 0, x_56); +x_55 = 0; +x_56 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_56, 0, x_7); +lean_ctor_set(x_56, 1, x_5); +lean_ctor_set(x_56, 2, x_54); +lean_ctor_set(x_56, 3, x_42); +lean_ctor_set(x_56, 4, x_48); +lean_ctor_set_uint8(x_56, sizeof(void*)*5, x_55); +x_57 = l_Lean_Compiler_LCNF_Decl_setLevelParams(x_56); +lean_ctor_set(x_52, 0, x_57); return x_52; } else { -lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_57 = lean_ctor_get(x_52, 0); -x_58 = lean_ctor_get(x_52, 1); +lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_58 = lean_ctor_get(x_52, 0); +x_59 = lean_ctor_get(x_52, 1); +lean_inc(x_59); lean_inc(x_58); -lean_inc(x_57); lean_dec(x_52); -x_59 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_59, 0, x_7); -lean_ctor_set(x_59, 1, x_5); -lean_ctor_set(x_59, 2, x_57); -lean_ctor_set(x_59, 3, x_42); -lean_ctor_set(x_59, 4, x_48); -x_60 = l_Lean_Compiler_LCNF_Decl_setLevelParams(x_59); -x_61 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_58); -return x_61; +x_60 = 0; +x_61 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_61, 0, x_7); +lean_ctor_set(x_61, 1, x_5); +lean_ctor_set(x_61, 2, x_58); +lean_ctor_set(x_61, 3, x_42); +lean_ctor_set(x_61, 4, x_48); +lean_ctor_set_uint8(x_61, sizeof(void*)*5, x_60); +x_62 = l_Lean_Compiler_LCNF_Decl_setLevelParams(x_61); +x_63 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_63, 0, x_62); +lean_ctor_set(x_63, 1, x_59); +return x_63; } } else { -uint8_t x_62; +uint8_t x_64; lean_dec(x_48); lean_dec(x_42); lean_dec(x_7); lean_dec(x_5); -x_62 = !lean_is_exclusive(x_52); -if (x_62 == 0) +x_64 = !lean_is_exclusive(x_52); +if (x_64 == 0) { return x_52; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_52, 0); -x_64 = lean_ctor_get(x_52, 1); -lean_inc(x_64); -lean_inc(x_63); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_52, 0); +x_66 = lean_ctor_get(x_52, 1); +lean_inc(x_66); +lean_inc(x_65); lean_dec(x_52); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } else { -uint8_t x_66; +uint8_t x_68; lean_dec(x_48); lean_dec(x_42); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_7); lean_dec(x_5); -x_66 = !lean_is_exclusive(x_49); -if (x_66 == 0) +x_68 = !lean_is_exclusive(x_49); +if (x_68 == 0) { return x_49; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_67 = lean_ctor_get(x_49, 0); -x_68 = lean_ctor_get(x_49, 1); -lean_inc(x_68); -lean_inc(x_67); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_49, 0); +x_70 = lean_ctor_get(x_49, 1); +lean_inc(x_70); +lean_inc(x_69); lean_dec(x_49); -x_69 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_68); -return x_69; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } @@ -7880,54 +7834,50 @@ return x_69; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_4); lean_dec(x_4); x_14 = lean_unbox_usize(x_5); lean_dec(x_5); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__1(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_4); lean_dec(x_4); x_14 = lean_unbox_usize(x_5); lean_dec(x_5); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___spec__2(x_1, x_2, x_3, x_13, x_14, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_16; +return x_15; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); +lean_object* x_14; +x_14 = l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_8); -return x_15; +return x_14; } } static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___closed__1() { @@ -7966,7 +7916,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_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; @@ -8016,6 +7966,7 @@ lean_dec(x_34); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_30); x_37 = l_Lean_Compiler_LCNF_Specialize_mkSpecDecl_go(x_2, x_3, x_4, x_5, x_6, x_30, x_27, x_35, x_9, x_10, x_11, x_12, x_36); if (lean_obj_tag(x_37) == 0) @@ -8039,6 +7990,7 @@ x_44 = l_Lean_Compiler_LCNF_eraseDecl(x_30, x_9, x_10, x_11, x_12, x_43); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); x_45 = !lean_is_exclusive(x_44); if (x_45 == 0) { @@ -8073,6 +8025,7 @@ x_51 = l_Lean_Compiler_LCNF_eraseDecl(x_30, x_9, x_10, x_11, x_12, x_50); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); x_52 = !lean_is_exclusive(x_51); if (x_52 == 0) { @@ -8100,12 +8053,10 @@ return x_55; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_mkSpecDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); +lean_object* x_14; +x_14 = l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_8); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Specialize_getRemainingArgs___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { @@ -8360,7 +8311,7 @@ x_1 = l_Lean_Compiler_LCNF_specExtension; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -8412,7 +8363,7 @@ x_1 = l_Lean_inheritedTraceOptions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -8624,7 +8575,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; 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; uint8_t x_27; @@ -8788,46 +8739,41 @@ lean_closure_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8___closed__2; x_10 = lean_panic_fn(x_9, x_1); -x_11 = lean_box(x_4); -x_12 = lean_apply_7(x_10, x_2, x_3, x_11, x_5, x_6, x_7, x_8); -return x_12; +x_11 = lean_apply_7(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_11; } } static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___closed__1() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1u); -x_2 = 0; -x_3 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 2, x_2); -return x_3; +uint8_t x_1; lean_object* x_2; +x_1 = 0; +x_2 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_2, 0, x_1); +lean_ctor_set_uint8(x_2, 1, x_1); +lean_ctor_set_uint8(x_2, 2, x_1); +return x_2; } } static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___closed__2() { _start: { -lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(1u); -x_2 = 1; -x_3 = lean_alloc_ctor(0, 1, 3); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 1, x_2); -lean_ctor_set_uint8(x_3, sizeof(void*)*1 + 2, x_2); -return x_3; +uint8_t x_1; lean_object* x_2; +x_1 = 1; +x_2 = lean_alloc_ctor(0, 0, 3); +lean_ctor_set_uint8(x_2, 0, x_1); +lean_ctor_set_uint8(x_2, 1, x_1); +lean_ctor_set_uint8(x_2, 2, x_1); +return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; @@ -8845,6 +8791,7 @@ lean_dec(x_18); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); x_20 = l_Lean_Compiler_LCNF_Decl_etaExpand(x_1, x_10, x_11, x_12, x_13, x_19); if (lean_obj_tag(x_20) == 0) { @@ -8863,6 +8810,7 @@ x_25 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___closed__1 lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); x_26 = l_Lean_Compiler_LCNF_Decl_simp(x_21, x_25, x_10, x_11, x_12, x_13, x_24); if (lean_obj_tag(x_26) == 0) { @@ -8876,10 +8824,11 @@ x_29 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___closed__2 lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); x_30 = l_Lean_Compiler_LCNF_Decl_simp(x_27, x_29, x_10, x_11, x_12, x_13, x_28); if (lean_obj_tag(x_30) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_59; lean_object* x_60; lean_object* x_61; uint8_t x_62; +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_60; lean_object* x_61; lean_object* x_62; uint8_t x_63; x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); x_32 = lean_ctor_get(x_30, 1); @@ -8889,330 +8838,335 @@ x_33 = lean_ctor_get(x_31, 3); lean_inc(x_33); x_34 = lean_ctor_get(x_31, 4); lean_inc(x_34); -x_59 = lean_ctor_get(x_31, 0); -lean_inc(x_59); -x_60 = lean_array_get_size(x_33); -x_61 = lean_unsigned_to_nat(0u); -x_62 = lean_nat_dec_lt(x_61, x_60); -if (x_62 == 0) +x_60 = lean_ctor_get(x_31, 0); +lean_inc(x_60); +x_61 = lean_array_get_size(x_33); +x_62 = lean_unsigned_to_nat(0u); +x_63 = lean_nat_dec_lt(x_62, x_61); +if (x_63 == 0) { -lean_object* x_63; lean_object* x_64; -lean_dec(x_60); +lean_object* x_64; lean_object* x_65; +lean_dec(x_61); lean_inc(x_5); -x_63 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_63, 0, x_5); -lean_ctor_set(x_63, 1, x_5); -lean_ctor_set(x_63, 2, x_59); +x_64 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_64, 0, x_5); +lean_ctor_set(x_64, 1, x_5); +lean_ctor_set(x_64, 2, x_60); lean_inc(x_13); lean_inc(x_9); -x_64 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_34, x_63, x_9, x_10, x_11, x_12, x_13, x_32); -if (lean_obj_tag(x_64) == 0) +x_65 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_34, x_64, x_9, x_10, x_11, x_12, x_13, x_32); +if (lean_obj_tag(x_65) == 0) { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_64, 0); -lean_inc(x_65); -x_66 = lean_ctor_get(x_64, 1); +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_65, 0); lean_inc(x_66); -lean_dec(x_64); -x_35 = x_65; -x_36 = x_66; -goto block_58; +x_67 = lean_ctor_get(x_65, 1); +lean_inc(x_67); +lean_dec(x_65); +x_35 = x_66; +x_36 = x_67; +goto block_59; } else { -uint8_t x_67; +uint8_t x_68; lean_dec(x_33); lean_dec(x_31); lean_dec(x_13); lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); -x_67 = !lean_is_exclusive(x_64); -if (x_67 == 0) +x_68 = !lean_is_exclusive(x_65); +if (x_68 == 0) { -return x_64; +return x_65; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_64, 0); -x_69 = lean_ctor_get(x_64, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_65, 0); +x_70 = lean_ctor_get(x_65, 1); +lean_inc(x_70); lean_inc(x_69); -lean_inc(x_68); -lean_dec(x_64); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +lean_dec(x_65); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } else { -uint8_t x_71; -x_71 = lean_nat_dec_le(x_60, x_60); -if (x_71 == 0) +uint8_t x_72; +x_72 = lean_nat_dec_le(x_61, x_61); +if (x_72 == 0) { -lean_object* x_72; lean_object* x_73; -lean_dec(x_60); +lean_object* x_73; lean_object* x_74; +lean_dec(x_61); lean_inc(x_5); -x_72 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_72, 0, x_5); -lean_ctor_set(x_72, 1, x_5); -lean_ctor_set(x_72, 2, x_59); +x_73 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_73, 0, x_5); +lean_ctor_set(x_73, 1, x_5); +lean_ctor_set(x_73, 2, x_60); lean_inc(x_13); lean_inc(x_9); -x_73 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_34, x_72, x_9, x_10, x_11, x_12, x_13, x_32); -if (lean_obj_tag(x_73) == 0) +x_74 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_34, x_73, x_9, x_10, x_11, x_12, x_13, x_32); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_74; lean_object* x_75; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_35 = x_74; -x_36 = x_75; -goto block_58; +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_35 = x_75; +x_36 = x_76; +goto block_59; } else { -uint8_t x_76; +uint8_t x_77; lean_dec(x_33); lean_dec(x_31); lean_dec(x_13); lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); -x_76 = !lean_is_exclusive(x_73); -if (x_76 == 0) +x_77 = !lean_is_exclusive(x_74); +if (x_77 == 0) { -return x_73; +return x_74; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_77 = lean_ctor_get(x_73, 0); -x_78 = lean_ctor_get(x_73, 1); +lean_object* x_78; lean_object* x_79; lean_object* x_80; +x_78 = lean_ctor_get(x_74, 0); +x_79 = lean_ctor_get(x_74, 1); +lean_inc(x_79); lean_inc(x_78); -lean_inc(x_77); -lean_dec(x_73); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -return x_79; +lean_dec(x_74); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +return x_80; } } } else { -size_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_80 = lean_usize_of_nat(x_60); -lean_dec(x_60); +size_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_81 = lean_usize_of_nat(x_61); +lean_dec(x_61); lean_inc(x_5); -x_81 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__5___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__6(x_33, x_6, x_80, x_5); -x_82 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_5); -lean_ctor_set(x_82, 2, x_59); +x_82 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__5___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__6(x_33, x_6, x_81, x_5); +x_83 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_5); +lean_ctor_set(x_83, 2, x_60); lean_inc(x_13); lean_inc(x_9); -x_83 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_34, x_82, x_9, x_10, x_11, x_12, x_13, x_32); -if (lean_obj_tag(x_83) == 0) +x_84 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_34, x_83, x_9, x_10, x_11, x_12, x_13, x_32); +if (lean_obj_tag(x_84) == 0) { -lean_object* x_84; lean_object* x_85; -x_84 = lean_ctor_get(x_83, 0); -lean_inc(x_84); -x_85 = lean_ctor_get(x_83, 1); +lean_object* x_85; lean_object* x_86; +x_85 = lean_ctor_get(x_84, 0); lean_inc(x_85); -lean_dec(x_83); -x_35 = x_84; -x_36 = x_85; -goto block_58; +x_86 = lean_ctor_get(x_84, 1); +lean_inc(x_86); +lean_dec(x_84); +x_35 = x_85; +x_36 = x_86; +goto block_59; } else { -uint8_t x_86; +uint8_t x_87; lean_dec(x_33); lean_dec(x_31); lean_dec(x_13); lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); -x_86 = !lean_is_exclusive(x_83); -if (x_86 == 0) +x_87 = !lean_is_exclusive(x_84); +if (x_87 == 0) { -return x_83; +return x_84; } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_83, 0); -x_88 = lean_ctor_get(x_83, 1); +lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_88 = lean_ctor_get(x_84, 0); +x_89 = lean_ctor_get(x_84, 1); +lean_inc(x_89); lean_inc(x_88); -lean_inc(x_87); -lean_dec(x_83); -x_89 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -return x_89; +lean_dec(x_84); +x_90 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +return x_90; } } } } -block_58: +block_59: { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; uint8_t x_48; +lean_object* x_37; lean_object* x_38; lean_object* x_39; uint8_t 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; uint8_t x_49; x_37 = lean_ctor_get(x_31, 0); lean_inc(x_37); x_38 = lean_ctor_get(x_31, 1); lean_inc(x_38); x_39 = lean_ctor_get(x_31, 2); lean_inc(x_39); +x_40 = lean_ctor_get_uint8(x_31, sizeof(void*)*5); lean_dec(x_31); lean_inc(x_37); -x_40 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_40, 0, x_37); -lean_ctor_set(x_40, 1, x_38); -lean_ctor_set(x_40, 2, x_39); -lean_ctor_set(x_40, 3, x_33); -lean_ctor_set(x_40, 4, x_35); -x_41 = lean_st_ref_get(x_13, x_36); +x_41 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_41, 0, x_37); +lean_ctor_set(x_41, 1, x_38); +lean_ctor_set(x_41, 2, x_39); +lean_ctor_set(x_41, 3, x_33); +lean_ctor_set(x_41, 4, x_35); +lean_ctor_set_uint8(x_41, sizeof(void*)*5, x_40); +x_42 = lean_st_ref_get(x_13, x_36); lean_dec(x_13); -x_42 = lean_ctor_get(x_41, 1); -lean_inc(x_42); -lean_dec(x_41); -x_43 = lean_st_ref_take(x_9, x_42); -x_44 = lean_ctor_get(x_43, 0); -lean_inc(x_44); -x_45 = lean_ctor_get(x_43, 1); +x_43 = lean_ctor_get(x_42, 1); +lean_inc(x_43); +lean_dec(x_42); +x_44 = lean_st_ref_take(x_9, x_43); +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_43); -x_46 = lean_array_push(x_44, x_40); -x_47 = lean_st_ref_set(x_9, x_46, x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = lean_array_push(x_45, x_41); +x_48 = lean_st_ref_set(x_9, x_47, x_46); lean_dec(x_9); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) +x_49 = !lean_is_exclusive(x_48); +if (x_49 == 0) { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; -x_49 = lean_ctor_get(x_47, 0); -lean_dec(x_49); -x_50 = l_Lean_Expr_const___override(x_37, x_3); -x_51 = l_Lean_mkAppN(x_50, x_4); -x_52 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_52, 0, x_51); -lean_ctor_set(x_47, 0, x_52); -return x_47; +lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_50 = lean_ctor_get(x_48, 0); +lean_dec(x_50); +x_51 = l_Lean_Expr_const___override(x_37, x_3); +x_52 = l_Lean_mkAppN(x_51, x_4); +x_53 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_53, 0, x_52); +lean_ctor_set(x_48, 0, x_53); +return x_48; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_53 = lean_ctor_get(x_47, 1); -lean_inc(x_53); -lean_dec(x_47); -x_54 = l_Lean_Expr_const___override(x_37, x_3); -x_55 = l_Lean_mkAppN(x_54, x_4); -x_56 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_56, 0, x_55); -x_57 = lean_alloc_ctor(0, 2, 0); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_54 = lean_ctor_get(x_48, 1); +lean_inc(x_54); +lean_dec(x_48); +x_55 = l_Lean_Expr_const___override(x_37, x_3); +x_56 = l_Lean_mkAppN(x_55, x_4); +x_57 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_53); -return x_57; +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_54); +return x_58; } } } else { -uint8_t x_90; +uint8_t x_91; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_90 = !lean_is_exclusive(x_30); -if (x_90 == 0) +x_91 = !lean_is_exclusive(x_30); +if (x_91 == 0) { return x_30; } else { -lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_91 = lean_ctor_get(x_30, 0); -x_92 = lean_ctor_get(x_30, 1); +lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_92 = lean_ctor_get(x_30, 0); +x_93 = lean_ctor_get(x_30, 1); +lean_inc(x_93); lean_inc(x_92); -lean_inc(x_91); lean_dec(x_30); -x_93 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -return x_93; +x_94 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +return x_94; } } } else { -uint8_t x_94; +uint8_t x_95; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_94 = !lean_is_exclusive(x_26); -if (x_94 == 0) +x_95 = !lean_is_exclusive(x_26); +if (x_95 == 0) { return x_26; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_26, 0); -x_96 = lean_ctor_get(x_26, 1); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_26, 0); +x_97 = lean_ctor_get(x_26, 1); +lean_inc(x_97); lean_inc(x_96); -lean_inc(x_95); lean_dec(x_26); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } else { -uint8_t x_98; +uint8_t x_99; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_98 = !lean_is_exclusive(x_20); -if (x_98 == 0) +x_99 = !lean_is_exclusive(x_20); +if (x_99 == 0) { return x_20; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_20, 0); -x_100 = lean_ctor_get(x_20, 1); +lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_100 = lean_ctor_get(x_20, 0); +x_101 = lean_ctor_get(x_20, 1); +lean_inc(x_101); lean_inc(x_100); -lean_inc(x_99); lean_dec(x_20); -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; +x_102 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_102, 0, x_100); +lean_ctor_set(x_102, 1, x_101); +return x_102; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -9363,7 +9317,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, uint8_t x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19) { _start: { uint8_t x_20; @@ -9401,6 +9355,7 @@ lean_dec(x_30); lean_inc(x_18); lean_inc(x_17); lean_inc(x_16); +lean_inc(x_15); lean_inc(x_13); x_33 = l_Lean_Compiler_LCNF_Specialize_mkSpecDecl(x_6, x_7, x_8, x_3, x_9, x_2, x_13, x_14, x_15, x_16, x_17, x_18, x_32); if (lean_obj_tag(x_33) == 0) @@ -9469,6 +9424,7 @@ lean_dec(x_23); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_11); @@ -9531,6 +9487,7 @@ x_68 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(x_60, x_23, lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); return x_68; @@ -9562,6 +9519,7 @@ x_78 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(x_60, x_23, lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_76); @@ -9638,7 +9596,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, uint8_t x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -9658,6 +9616,7 @@ lean_dec(x_20); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); +lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_21); @@ -9756,6 +9715,7 @@ lean_dec(x_21); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_7); @@ -9857,12 +9817,12 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { lean_object* x_15; lean_object* x_16; lean_dec(x_7); -x_15 = l_Lean_Compiler_LCNF_getDeclAt_x3f(x_1, x_10, x_12, x_13, x_14); +x_15 = l_Lean_Compiler_LCNF_getDecl_x3f(x_1, x_10, x_11, x_12, x_13, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); if (lean_obj_tag(x_16) == 0) @@ -9871,6 +9831,7 @@ uint8_t x_17; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_6); @@ -9978,7 +9939,7 @@ x_2 = l_Lean_Expr_sort___override(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; @@ -9993,6 +9954,7 @@ uint8_t x_15; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -10044,6 +10006,7 @@ x_29 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_26, x_28); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_29); @@ -10063,6 +10026,7 @@ lean_dec(x_22); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -10111,6 +10075,7 @@ lean_dec(x_22); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -10139,7 +10104,7 @@ return x_45; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -10177,6 +10142,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -10211,6 +10177,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); @@ -10222,7 +10189,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -10233,6 +10200,7 @@ lean_object* x_10; lean_object* x_11; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -10251,7 +10219,7 @@ return x_13; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -10264,6 +10232,7 @@ lean_object* x_13; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -10275,88 +10244,89 @@ return x_13; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; x_14 = lean_array_fget(x_3, x_2); -x_15 = lean_box(x_6); lean_inc(x_1); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_14); -x_16 = lean_apply_8(x_1, x_14, x_4, x_5, x_15, x_7, x_8, x_9, x_10); -if (lean_obj_tag(x_16) == 0) +x_15 = lean_apply_8(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; uint8_t x_20; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_ptr_addr(x_14); +lean_dec(x_15); +x_18 = lean_ptr_addr(x_14); lean_dec(x_14); -x_20 = lean_ptr_addr(x_17); -x_21 = lean_usize_dec_eq(x_19, x_20); -if (x_21 == 0) +x_19 = lean_ptr_addr(x_16); +x_20 = lean_usize_dec_eq(x_18, x_19); +if (x_20 == 0) { -lean_object* x_22; lean_object* x_23; lean_object* x_24; -x_22 = lean_unsigned_to_nat(1u); -x_23 = lean_nat_add(x_2, x_22); -x_24 = lean_array_fset(x_3, x_2, x_17); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_add(x_2, x_21); +x_23 = lean_array_fset(x_3, x_2, x_16); lean_dec(x_2); -x_2 = x_23; -x_3 = x_24; -x_10 = x_18; +x_2 = x_22; +x_3 = x_23; +x_10 = x_17; goto _start; } else { -lean_object* x_26; lean_object* x_27; -lean_dec(x_17); -x_26 = lean_unsigned_to_nat(1u); -x_27 = lean_nat_add(x_2, x_26); +lean_object* x_25; lean_object* x_26; +lean_dec(x_16); +x_25 = lean_unsigned_to_nat(1u); +x_26 = lean_nat_add(x_2, x_25); lean_dec(x_2); -x_2 = x_27; -x_10 = x_18; +x_2 = x_26; +x_10 = x_17; goto _start; } } else { -uint8_t x_29; +uint8_t x_28; lean_dec(x_14); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_29 = !lean_is_exclusive(x_16); -if (x_29 == 0) +x_28 = !lean_is_exclusive(x_15); +if (x_28 == 0) { -return x_16; +return x_15; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_16, 0); -x_31 = lean_ctor_get(x_16, 1); -lean_inc(x_31); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_15, 0); +x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); -lean_dec(x_16); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_inc(x_29); +lean_dec(x_15); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +return x_31; } } } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; @@ -10365,7 +10335,7 @@ x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; @@ -10650,7 +10620,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 0) @@ -11118,11 +11088,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_Specialize_visitCode___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2___boxed), 8, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2), 8, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_1)) { @@ -11138,6 +11108,7 @@ lean_inc(x_11); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); x_12 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8); @@ -11188,6 +11159,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -11221,6 +11193,7 @@ lean_inc(x_29); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_28); @@ -11587,6 +11560,7 @@ lean_dec(x_28); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -11620,6 +11594,7 @@ lean_inc(x_106); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); lean_inc(x_105); @@ -11986,6 +11961,7 @@ lean_dec(x_105); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -12231,6 +12207,7 @@ lean_object* x_229; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_229 = lean_alloc_ctor(0, 2, 0); @@ -12241,7 +12218,7 @@ return x_229; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -12264,6 +12241,7 @@ lean_dec(x_13); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_16 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_16) == 0) { @@ -12279,6 +12257,7 @@ x_20 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_20; } else @@ -12288,6 +12267,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_21 = !lean_is_exclusive(x_16); if (x_21 == 0) @@ -12320,6 +12300,7 @@ lean_dec(x_13); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_26 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_26) == 0) { @@ -12335,6 +12316,7 @@ x_30 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_30; } else @@ -12344,6 +12326,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_31 = !lean_is_exclusive(x_26); if (x_31 == 0) @@ -12376,6 +12359,7 @@ lean_ctor_set(x_2, 0, x_37); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_38 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_10, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_38) == 0) { @@ -12391,6 +12375,7 @@ x_42 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_42; } else @@ -12400,6 +12385,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_43 = !lean_is_exclusive(x_38); if (x_43 == 0) @@ -12447,6 +12433,7 @@ lean_ctor_set(x_53, 2, x_49); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_54 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_10, x_53, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_54) == 0) { @@ -12462,6 +12449,7 @@ x_58 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_58; } else @@ -12471,6 +12459,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_59 = lean_ctor_get(x_54, 0); lean_inc(x_59); @@ -12509,6 +12498,7 @@ lean_ctor_set(x_64, 2, x_49); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_65 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_10, x_64, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_65) == 0) { @@ -12524,6 +12514,7 @@ x_69 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_69; } else @@ -12533,6 +12524,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_70 = lean_ctor_get(x_65, 0); lean_inc(x_70); @@ -12570,6 +12562,7 @@ lean_ctor_set(x_77, 2, x_49); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_78 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_10, x_77, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_78) == 0) { @@ -12585,6 +12578,7 @@ x_82 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunD lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_82; } else @@ -12594,6 +12588,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_83 = lean_ctor_get(x_78, 0); lean_inc(x_83); @@ -12624,31 +12619,29 @@ return x_86; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_getSpecParamInfo_x3f___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -12703,56 +12696,42 @@ return x_7; LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_addTrace___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__7(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_11; -} -} -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_panic___at_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___spec__8(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_15; uint8_t x_16; lean_object* x_17; +size_t x_15; lean_object* x_16; x_15 = lean_unbox_usize(x_6); lean_dec(x_6); -x_16 = lean_unbox(x_10); -lean_dec(x_10); -x_17 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_16, x_11, x_12, x_13, x_14); +x_16 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__1(x_1, x_2, x_3, x_4, x_5, x_15, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_7); -return x_17; +return x_16; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3___boxed(lean_object** _args) { @@ -12777,126 +12756,22 @@ lean_object* x_18 = _args[17]; lean_object* x_19 = _args[18]; _start: { -uint8_t x_20; lean_object* x_21; -x_20 = lean_unbox(x_15); -lean_dec(x_15); -x_21 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_20, x_16, x_17, x_18, x_19); -return x_21; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { -_start: -{ -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_11); -lean_dec(x_11); -x_17 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__4(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_16, x_12, x_13, x_14, x_15); -return x_17; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { -_start: -{ -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_10); -lean_dec(x_10); -x_16 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_11, x_12, x_13, x_14); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__7(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp_go___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Init_Data_Array_BasicAux_0__mapMonoMImp___at_Lean_Compiler_LCNF_Specialize_visitCode___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +lean_object* x_20; +x_20 = l_Lean_Compiler_LCNF_Specialize_specializeApp_x3f___lambda__3(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18, x_19); +return x_20; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_5); lean_dec(x_2); -return x_14; +return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_visitCode___lambda__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_visitFunDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_visitFunDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_main(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_main(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -13341,257 +13216,261 @@ return x_102; } else { -lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; uint8_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; x_103 = lean_ctor_get(x_1, 0); x_104 = lean_ctor_get(x_1, 1); x_105 = lean_ctor_get(x_1, 2); x_106 = lean_ctor_get(x_1, 3); x_107 = lean_ctor_get(x_1, 4); +x_108 = lean_ctor_get_uint8(x_1, sizeof(void*)*5); lean_inc(x_107); lean_inc(x_106); lean_inc(x_105); lean_inc(x_104); lean_inc(x_103); lean_dec(x_1); -x_108 = lean_ctor_get(x_2, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_2, 1); +x_109 = lean_ctor_get(x_2, 0); lean_inc(x_109); -x_110 = lean_ctor_get(x_2, 2); +x_110 = lean_ctor_get(x_2, 1); lean_inc(x_110); +x_111 = lean_ctor_get(x_2, 2); +lean_inc(x_111); if (lean_is_exclusive(x_2)) { lean_ctor_release(x_2, 0); lean_ctor_release(x_2, 1); lean_ctor_release(x_2, 2); - x_111 = x_2; + x_112 = x_2; } else { lean_dec_ref(x_2); - x_111 = lean_box(0); + x_112 = lean_box(0); } -x_112 = lean_array_get_size(x_106); -x_113 = lean_unsigned_to_nat(0u); -x_114 = lean_nat_dec_lt(x_113, x_112); -if (x_114 == 0) +x_113 = lean_array_get_size(x_106); +x_114 = lean_unsigned_to_nat(0u); +x_115 = lean_nat_dec_lt(x_114, x_113); +if (x_115 == 0) { -lean_object* x_115; lean_object* x_116; -lean_dec(x_112); -if (lean_is_scalar(x_111)) { - x_115 = lean_alloc_ctor(0, 3, 0); +lean_object* x_116; lean_object* x_117; +lean_dec(x_113); +if (lean_is_scalar(x_112)) { + x_116 = lean_alloc_ctor(0, 3, 0); } else { - x_115 = x_111; + x_116 = x_112; } -lean_ctor_set(x_115, 0, x_108); -lean_ctor_set(x_115, 1, x_109); -lean_ctor_set(x_115, 2, x_110); -x_116 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_107, x_115, x_3, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_116) == 0) +lean_ctor_set(x_116, 0, x_109); +lean_ctor_set(x_116, 1, x_110); +lean_ctor_set(x_116, 2, x_111); +x_117 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_107, x_116, x_3, x_4, x_5, x_6, x_7, x_12); +if (lean_obj_tag(x_117) == 0) { -lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_117 = lean_ctor_get(x_116, 0); -lean_inc(x_117); -x_118 = lean_ctor_get(x_116, 1); +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_119 = x_116; +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_120 = x_117; } else { - lean_dec_ref(x_116); - x_119 = lean_box(0); + lean_dec_ref(x_117); + x_120 = lean_box(0); } -x_120 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_120, 0, x_103); -lean_ctor_set(x_120, 1, x_104); -lean_ctor_set(x_120, 2, x_105); -lean_ctor_set(x_120, 3, x_106); -lean_ctor_set(x_120, 4, x_117); -if (lean_is_scalar(x_119)) { - x_121 = lean_alloc_ctor(0, 2, 0); +x_121 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_121, 0, x_103); +lean_ctor_set(x_121, 1, x_104); +lean_ctor_set(x_121, 2, x_105); +lean_ctor_set(x_121, 3, x_106); +lean_ctor_set(x_121, 4, x_118); +lean_ctor_set_uint8(x_121, sizeof(void*)*5, x_108); +if (lean_is_scalar(x_120)) { + x_122 = lean_alloc_ctor(0, 2, 0); } else { - x_121 = x_119; + x_122 = x_120; } -lean_ctor_set(x_121, 0, x_120); -lean_ctor_set(x_121, 1, x_118); -return x_121; +lean_ctor_set(x_122, 0, x_121); +lean_ctor_set(x_122, 1, x_119); +return x_122; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_dec(x_106); lean_dec(x_105); lean_dec(x_104); lean_dec(x_103); -x_122 = lean_ctor_get(x_116, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_116, 1); +x_123 = lean_ctor_get(x_117, 0); lean_inc(x_123); -if (lean_is_exclusive(x_116)) { - lean_ctor_release(x_116, 0); - lean_ctor_release(x_116, 1); - x_124 = x_116; +x_124 = lean_ctor_get(x_117, 1); +lean_inc(x_124); +if (lean_is_exclusive(x_117)) { + lean_ctor_release(x_117, 0); + lean_ctor_release(x_117, 1); + x_125 = x_117; } else { - lean_dec_ref(x_116); - x_124 = lean_box(0); + lean_dec_ref(x_117); + x_125 = lean_box(0); } -if (lean_is_scalar(x_124)) { - x_125 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_125)) { + x_126 = lean_alloc_ctor(1, 2, 0); } else { - x_125 = x_124; + x_126 = x_125; } -lean_ctor_set(x_125, 0, x_122); -lean_ctor_set(x_125, 1, x_123); -return x_125; +lean_ctor_set(x_126, 0, x_123); +lean_ctor_set(x_126, 1, x_124); +return x_126; } } else { -uint8_t x_126; -x_126 = lean_nat_dec_le(x_112, x_112); -if (x_126 == 0) +uint8_t x_127; +x_127 = lean_nat_dec_le(x_113, x_113); +if (x_127 == 0) { -lean_object* x_127; lean_object* x_128; -lean_dec(x_112); -if (lean_is_scalar(x_111)) { - x_127 = lean_alloc_ctor(0, 3, 0); +lean_object* x_128; lean_object* x_129; +lean_dec(x_113); +if (lean_is_scalar(x_112)) { + x_128 = lean_alloc_ctor(0, 3, 0); } else { - x_127 = x_111; + x_128 = x_112; } -lean_ctor_set(x_127, 0, x_108); -lean_ctor_set(x_127, 1, x_109); -lean_ctor_set(x_127, 2, x_110); -x_128 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_107, x_127, x_3, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_128) == 0) +lean_ctor_set(x_128, 0, x_109); +lean_ctor_set(x_128, 1, x_110); +lean_ctor_set(x_128, 2, x_111); +x_129 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_107, x_128, x_3, x_4, x_5, x_6, x_7, x_12); +if (lean_obj_tag(x_129) == 0) { -lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; -x_129 = lean_ctor_get(x_128, 0); -lean_inc(x_129); -x_130 = lean_ctor_get(x_128, 1); +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; +x_130 = lean_ctor_get(x_129, 0); lean_inc(x_130); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_131 = x_128; +x_131 = lean_ctor_get(x_129, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_132 = x_129; } else { - lean_dec_ref(x_128); - x_131 = lean_box(0); + lean_dec_ref(x_129); + x_132 = lean_box(0); } -x_132 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_132, 0, x_103); -lean_ctor_set(x_132, 1, x_104); -lean_ctor_set(x_132, 2, x_105); -lean_ctor_set(x_132, 3, x_106); -lean_ctor_set(x_132, 4, x_129); -if (lean_is_scalar(x_131)) { - x_133 = lean_alloc_ctor(0, 2, 0); +x_133 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_133, 0, x_103); +lean_ctor_set(x_133, 1, x_104); +lean_ctor_set(x_133, 2, x_105); +lean_ctor_set(x_133, 3, x_106); +lean_ctor_set(x_133, 4, x_130); +lean_ctor_set_uint8(x_133, sizeof(void*)*5, x_108); +if (lean_is_scalar(x_132)) { + x_134 = lean_alloc_ctor(0, 2, 0); } else { - x_133 = x_131; + x_134 = x_132; } -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_130); -return x_133; +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_131); +return x_134; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_dec(x_106); lean_dec(x_105); lean_dec(x_104); lean_dec(x_103); -x_134 = lean_ctor_get(x_128, 0); -lean_inc(x_134); -x_135 = lean_ctor_get(x_128, 1); +x_135 = lean_ctor_get(x_129, 0); lean_inc(x_135); -if (lean_is_exclusive(x_128)) { - lean_ctor_release(x_128, 0); - lean_ctor_release(x_128, 1); - x_136 = x_128; +x_136 = lean_ctor_get(x_129, 1); +lean_inc(x_136); +if (lean_is_exclusive(x_129)) { + lean_ctor_release(x_129, 0); + lean_ctor_release(x_129, 1); + x_137 = x_129; } else { - lean_dec_ref(x_128); - x_136 = lean_box(0); + lean_dec_ref(x_129); + x_137 = lean_box(0); } -if (lean_is_scalar(x_136)) { - x_137 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_137)) { + x_138 = lean_alloc_ctor(1, 2, 0); } else { - x_137 = x_136; + x_138 = x_137; } -lean_ctor_set(x_137, 0, x_134); -lean_ctor_set(x_137, 1, x_135); -return x_137; +lean_ctor_set(x_138, 0, x_135); +lean_ctor_set(x_138, 1, x_136); +return x_138; } } else { -size_t x_138; size_t x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_138 = 0; -x_139 = lean_usize_of_nat(x_112); -lean_dec(x_112); -x_140 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1(x_106, x_138, x_139, x_108); -if (lean_is_scalar(x_111)) { - x_141 = lean_alloc_ctor(0, 3, 0); +size_t x_139; size_t x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_139 = 0; +x_140 = lean_usize_of_nat(x_113); +lean_dec(x_113); +x_141 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Specialize_withParams___spec__1(x_106, x_139, x_140, x_109); +if (lean_is_scalar(x_112)) { + x_142 = lean_alloc_ctor(0, 3, 0); } else { - x_141 = x_111; + x_142 = x_112; } -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_109); -lean_ctor_set(x_141, 2, x_110); -x_142 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_107, x_141, x_3, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_142) == 0) +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_110); +lean_ctor_set(x_142, 2, x_111); +x_143 = l_Lean_Compiler_LCNF_Specialize_visitCode(x_107, x_142, x_3, x_4, x_5, x_6, x_7, x_12); +if (lean_obj_tag(x_143) == 0) { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_144 = lean_ctor_get(x_143, 0); lean_inc(x_144); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_145 = x_142; +x_145 = lean_ctor_get(x_143, 1); +lean_inc(x_145); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_146 = x_143; } else { - lean_dec_ref(x_142); - x_145 = lean_box(0); + lean_dec_ref(x_143); + x_146 = lean_box(0); } -x_146 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_146, 0, x_103); -lean_ctor_set(x_146, 1, x_104); -lean_ctor_set(x_146, 2, x_105); -lean_ctor_set(x_146, 3, x_106); -lean_ctor_set(x_146, 4, x_143); -if (lean_is_scalar(x_145)) { - x_147 = lean_alloc_ctor(0, 2, 0); +x_147 = lean_alloc_ctor(0, 5, 1); +lean_ctor_set(x_147, 0, x_103); +lean_ctor_set(x_147, 1, x_104); +lean_ctor_set(x_147, 2, x_105); +lean_ctor_set(x_147, 3, x_106); +lean_ctor_set(x_147, 4, x_144); +lean_ctor_set_uint8(x_147, sizeof(void*)*5, x_108); +if (lean_is_scalar(x_146)) { + x_148 = lean_alloc_ctor(0, 2, 0); } else { - x_147 = x_145; + x_148 = x_146; } -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_144); -return x_147; +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_145); +return x_148; } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_dec(x_106); lean_dec(x_105); lean_dec(x_104); lean_dec(x_103); -x_148 = lean_ctor_get(x_142, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_142, 1); +x_149 = lean_ctor_get(x_143, 0); lean_inc(x_149); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_150 = x_142; +x_150 = lean_ctor_get(x_143, 1); +lean_inc(x_150); +if (lean_is_exclusive(x_143)) { + lean_ctor_release(x_143, 0); + lean_ctor_release(x_143, 1); + x_151 = x_143; } else { - lean_dec_ref(x_142); - x_150 = lean_box(0); + lean_dec_ref(x_143); + x_151 = lean_box(0); } -if (lean_is_scalar(x_150)) { - x_151 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_151)) { + x_152 = lean_alloc_ctor(1, 2, 0); } else { - x_151 = x_150; + x_152 = x_151; } -lean_ctor_set(x_151, 0, x_148); -lean_ctor_set(x_151, 1, x_149); -return x_151; +lean_ctor_set(x_152, 0, x_149); +lean_ctor_set(x_152, 1, x_150); +return x_152; } } } @@ -13599,46 +13478,37 @@ return x_151; } else { -uint8_t x_152; +uint8_t x_153; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_152 = !lean_is_exclusive(x_9); -if (x_152 == 0) +x_153 = !lean_is_exclusive(x_9); +if (x_153 == 0) { -lean_object* x_153; -x_153 = lean_ctor_get(x_9, 0); -lean_dec(x_153); +lean_object* x_154; +x_154 = lean_ctor_get(x_9, 0); +lean_dec(x_154); lean_ctor_set(x_9, 0, x_1); return x_9; } else { -lean_object* x_154; lean_object* x_155; -x_154 = lean_ctor_get(x_9, 1); -lean_inc(x_154); +lean_object* x_155; lean_object* x_156; +x_155 = lean_ctor_get(x_9, 1); +lean_inc(x_155); lean_dec(x_9); -x_155 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_1); -lean_ctor_set(x_155, 1, x_154); -return x_155; +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_1); +lean_ctor_set(x_156, 1, x_155); +return x_156; } } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Specialize_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; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Specialize_main(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_specialize(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_specialize(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; @@ -13728,17 +13598,7 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Decl_specialize___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Decl_specialize(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -13750,6 +13610,7 @@ x_11 = lean_array_uget(x_1, x_2); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_12 = l_Lean_Compiler_LCNF_Decl_specialize(x_11, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_12) == 0) { @@ -13773,6 +13634,7 @@ uint8_t x_19; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_19 = !lean_is_exclusive(x_12); if (x_19 == 0) @@ -13800,6 +13662,7 @@ lean_object* x_23; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_4); lean_ctor_set(x_23, 1, x_9); @@ -13807,13 +13670,14 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); x_7 = l_Lean_Compiler_LCNF_saveSpecParamInfo(x_1, x_2, x_3, x_4, x_5, x_6); if (lean_obj_tag(x_7) == 0) { @@ -13835,6 +13699,7 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_14 = l_Lean_Compiler_LCNF_Specialize_State_decls___default___closed__1; lean_ctor_set(x_7, 0, x_14); return x_7; @@ -13850,6 +13715,7 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_16 = l_Lean_Compiler_LCNF_Specialize_State_decls___default___closed__1; lean_ctor_set(x_7, 0, x_16); return x_7; @@ -13883,6 +13749,7 @@ lean_dec(x_22); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_25 = l_Lean_Compiler_LCNF_Specialize_State_decls___default___closed__1; x_26 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_26, 0, x_25); @@ -13900,6 +13767,7 @@ lean_dec(x_22); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_28 = l_Lean_Compiler_LCNF_Specialize_State_decls___default___closed__1; x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_28); @@ -13925,6 +13793,7 @@ uint8_t x_34; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); x_34 = !lean_is_exclusive(x_7); if (x_34 == 0) { @@ -13991,30 +13860,26 @@ return x_1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_specialize___elambda__1___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_13; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_specialize___elambda__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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_specialize___elambda__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_specialize___elambda__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_1); -return x_8; +return x_7; } } -static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897____closed__1() { +static lean_object* _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -14024,7 +13889,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -14046,7 +13911,7 @@ lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_8, 1); lean_inc(x_9); lean_dec(x_8); -x_10 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897____closed__1; +x_10 = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899____closed__1; x_11 = l_Lean_registerTraceClass(x_10, x_7, x_9); return x_11; } @@ -14291,9 +14156,9 @@ l_Lean_Compiler_LCNF_specialize___closed__3 = _init_l_Lean_Compiler_LCNF_special lean_mark_persistent(l_Lean_Compiler_LCNF_specialize___closed__3); l_Lean_Compiler_LCNF_specialize = _init_l_Lean_Compiler_LCNF_specialize(); lean_mark_persistent(l_Lean_Compiler_LCNF_specialize); -l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897____closed__1(); -lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897____closed__1); -res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4897_(lean_io_mk_world()); +l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899____closed__1 = _init_l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899____closed__1(); +lean_mark_persistent(l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899____closed__1); +res = l_Lean_Compiler_LCNF_initFn____x40_Lean_Compiler_LCNF_Specialize___hyg_4899_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Testing.c b/stage0/stdlib/Lean/Compiler/LCNF/Testing.c index 8c125f58a3..8c7e6789d8 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Testing.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Testing.c @@ -13,39 +13,37 @@ #ifdef __cplusplus extern "C" { #endif -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getInputDecls(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_ppDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getInputDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestInstaller_install(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getPassUnderTest(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getPassUnderTest(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_Code_containsConst___spec__1(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PassInstaller_installAfter___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence(lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_Code_containsConst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Nat_beq___boxed(lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Testing_assertSize___spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__3; static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___closed__3; static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___closed__1; static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assert___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PassInstaller_installAfterEach(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertDoesNotContainConstAfter___lambda__1___boxed(lean_object*, lean_object*, lean_object*); @@ -61,17 +59,17 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Tes lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Code_containsConst_goExpr___closed__2; -uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___closed__1; -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getTestName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getTestName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertPreservesSize(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -80,13 +78,12 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_containsConst___boxed(lean_ob static lean_object* l_Lean_Compiler_LCNF_Testing_assertReducesSize___closed__1; static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___closed__6; lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_TopDownAnalyze_analyzeAppStagedCore_maybeSetExplicit___spec__4(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___closed__2; static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1(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_inheritedTraceOptions; lean_object* lean_array_fget(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getPassUnderTest___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -94,7 +91,6 @@ static lean_object* l_Lean_Compiler_LCNF_Code_containsConst_goExpr___closed__1; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___closed__2; lean_object* lean_st_ref_take(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_containsConst_goExpr___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertAfter(lean_object*, lean_object*, lean_object*); @@ -103,37 +99,35 @@ static lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___closed__1; static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___closed__4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertReducesOrPreservesSize(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___closed__1; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Code_containsConst(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getTestName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertReducesSize(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertAroundEachOccurrence(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getInputDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_Code_containsConst___spec__2(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assert(uint8_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assert(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertSize___spec__2(lean_object*, size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun(lean_object*); LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest(lean_object*, lean_object*, lean_object*); @@ -145,22 +139,20 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1___ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertSize___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PassInstaller_replaceEachOccurrence(lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___closed__3; -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint(lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__3; static lean_object* l_Lean_Compiler_LCNF_Testing_assertPreservesSize___closed__1; static lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___closed__1; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); @@ -169,27 +161,25 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testi LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run(lean_object*); LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getDecls(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Testing_assertReducesSize___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getOutputDecls___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getOutputDecls(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getOutputDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__4; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; static lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1___closed__1; static lean_object* l_Lean_Compiler_LCNF_Testing_assertReducesOrPreservesSize___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Code_containsConst_goExpr___closed__4; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1___closed__2; LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Testing_assertDoesNotContainConstAfter___lambda__1(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_PassInstaller_replacePass___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertReducesOrPreservesSize___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1___closed__1; @@ -198,11 +188,11 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_ass static lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1___closed__4; static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertAround(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_Testing_assertReducesOrPreservesSize___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_Code_containsConst_goExpr___closed__3; LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Compiler_LCNF_Code_containsConst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Decl_size(lean_object*); @@ -604,100 +594,67 @@ x_5 = lean_apply_1(x_1, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_9; lean_object* x_10; x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_2); lean_ctor_set(x_9, 1, x_3); -x_10 = lean_box(x_4); -x_11 = lean_apply_6(x_1, x_9, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = lean_apply_6(x_1, x_9, x_4, x_5, x_6, x_7, x_8); +return x_10; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_TestM_run___rarg___boxed), 8, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_TestM_run___rarg), 8, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_TestM_run___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Testing_TestM_run___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_10; lean_object* x_11; x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_3); lean_ctor_set(x_10, 1, x_4); -x_11 = lean_box(x_5); -x_12 = lean_apply_7(x_1, x_2, x_10, x_11, x_6, x_7, x_8, x_9); -return x_12; +x_11 = lean_apply_7(x_1, x_2, x_10, x_5, x_6, x_7, x_8, x_9); +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg___boxed), 9, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg), 9, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Testing_SimpleAssertionM_run___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_2); lean_ctor_set(x_11, 1, x_3); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_4); lean_ctor_set(x_12, 1, x_5); -x_13 = lean_box(x_6); -x_14 = lean_apply_7(x_1, x_11, x_12, x_13, x_7, x_8, x_9, x_10); -return x_14; +x_13 = lean_apply_7(x_1, x_11, x_12, x_6, x_7, x_8, x_9, x_10); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg___boxed), 10, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg), 10, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getTestName(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getTestName(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -712,18 +669,17 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getTestName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Testing_getTestName(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Testing_getTestName(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getPassUnderTest(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getPassUnderTest(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -738,18 +694,17 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getPassUnderTest___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_Testing_getPassUnderTest(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_Testing_getPassUnderTest(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); lean_dec(x_1); -return x_8; +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getDecls(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getDecls(lean_object* x_1, 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; @@ -762,18 +717,17 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Testing_getDecls(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Testing_getDecls(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getInputDecls(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getInputDecls(lean_object* x_1, 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; @@ -788,19 +742,18 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getInputDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Testing_getInputDecls(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Testing_getInputDecls(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getOutputDecls(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getOutputDecls(lean_object* x_1, 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; @@ -815,16 +768,15 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_getOutputDecls___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Testing_getOutputDecls(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Testing_getOutputDecls(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_8; } } static lean_object* _init_l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___closed__1() { @@ -901,7 +853,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -978,7 +930,7 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assert(uint8_t x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assert(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (x_1 == 0) @@ -992,6 +944,7 @@ x_11 = l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1(x_10, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_11; } @@ -1001,6 +954,7 @@ lean_object* x_12; lean_object* x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_12 = lean_box(0); @@ -1014,27 +968,24 @@ return x_13; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assert___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assert___boxed(lean_object* x_1, lean_object* x_2, 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; +uint8_t x_9; lean_object* x_10; x_9 = lean_unbox(x_1); lean_dec(x_1); -x_10 = lean_unbox(x_4); -lean_dec(x_4); -x_11 = l_Lean_Compiler_LCNF_Testing_assert(x_9, x_2, x_3, x_10, x_5, x_6, x_7, x_8); -return x_11; +x_10 = l_Lean_Compiler_LCNF_Testing_assert(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +return x_10; } } static lean_object* _init_l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1___closed__1() { @@ -1045,7 +996,7 @@ x_1 = l_Lean_inheritedTraceOptions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -1095,7 +1046,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; @@ -1239,7 +1190,7 @@ return x_56; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -1281,13 +1232,14 @@ x_1 = lean_mk_string_from_bytes(" successful", 11); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); @@ -1310,6 +1262,7 @@ uint8_t x_17; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1370,6 +1323,7 @@ x_40 = l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compile lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_41 = !lean_is_exclusive(x_40); if (x_41 == 0) { @@ -1398,6 +1352,7 @@ uint8_t x_45; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); @@ -1475,7 +1430,7 @@ x_1 = lean_mk_string_from_bytes("", 0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1549,7 +1504,7 @@ lean_dec(x_2); x_5 = lean_ctor_get_uint8(x_3, sizeof(void*)*3); lean_inc(x_4); lean_inc(x_3); -x_6 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___boxed), 9, 3); +x_6 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1), 9, 3); lean_closure_set(x_6, 0, x_1); lean_closure_set(x_6, 1, x_3); lean_closure_set(x_6, 2, x_4); @@ -1586,62 +1541,47 @@ return x_13; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); +lean_object* x_7; +x_7 = l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -x_8 = l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +_start: +{ +lean_object* x_8; +x_8 = l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_8; } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -return x_9; -} -} LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_6); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertAfter(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -1673,7 +1613,7 @@ x_5 = l_Lean_Compiler_LCNF_PassInstaller_installAfterEach(x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -1691,6 +1631,7 @@ lean_dec(x_17); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); x_19 = l_Lean_Compiler_LCNF_Testing_assert(x_18, x_2, x_9, x_10, x_11, x_12, x_13, x_14); @@ -1715,6 +1656,7 @@ uint8_t x_25; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); @@ -1745,6 +1687,7 @@ lean_object* x_29; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); @@ -1756,55 +1699,55 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(x_5); +lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_11 = lean_apply_7(x_1, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +x_10 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_box(x_5); -x_15 = lean_apply_8(x_2, x_12, x_3, x_4, x_14, x_6, x_7, x_8, x_13); -return x_15; +lean_dec(x_10); +x_13 = lean_apply_8(x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_13; } else { -uint8_t x_16; +uint8_t x_14; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) { -return x_11; +return x_10; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_10); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } } @@ -1813,11 +1756,11 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertFo _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg___boxed), 9, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg), 9, 0); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -1825,7 +1768,7 @@ x_8 = l_Lean_Compiler_LCNF_Testing_getPassUnderTest(x_2, x_3, x_4, x_5, x_6, x_7 return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -1839,6 +1782,7 @@ lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -1860,6 +1804,7 @@ lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -1899,7 +1844,7 @@ x_5 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_assertForEachDeclA lean_closure_set(x_5, 0, x_1); lean_closure_set(x_5, 1, x_2); x_6 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___closed__1; -x_7 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg___boxed), 9, 2); +x_7 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg), 9, 2); lean_closure_set(x_7, 0, x_6); lean_closure_set(x_7, 1, x_5); x_8 = l_Lean_Compiler_LCNF_Testing_assertAfter(x_7, x_3, x_4); @@ -1909,56 +1854,41 @@ return x_8; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_15; size_t x_16; uint8_t x_17; lean_object* x_18; +size_t x_15; size_t x_16; lean_object* x_17; x_15 = lean_unbox_usize(x_5); lean_dec(x_5); x_16 = lean_unbox_usize(x_6); lean_dec(x_6); -x_17 = lean_unbox(x_10); -lean_dec(x_10); -x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_17, x_11, x_12, x_13, x_14); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_4); -return x_18; -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -return x_12; +return x_11; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -1976,6 +1906,7 @@ lean_dec(x_17); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); lean_inc(x_2); x_19 = l_Lean_Compiler_LCNF_Testing_assert(x_18, x_2, x_9, x_10, x_11, x_12, x_13, x_14); @@ -2000,6 +1931,7 @@ uint8_t x_25; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); @@ -2030,6 +1962,7 @@ lean_object* x_29; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); lean_dec(x_2); @@ -2041,7 +1974,7 @@ return x_29; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2055,6 +1988,7 @@ lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -2076,6 +2010,7 @@ lean_dec(x_11); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -2107,7 +2042,7 @@ x_4 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_assertForEachDeclA lean_closure_set(x_4, 0, x_1); lean_closure_set(x_4, 1, x_2); x_5 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___closed__1; -x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg___boxed), 9, 2); +x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg), 9, 2); lean_closure_set(x_6, 0, x_5); lean_closure_set(x_6, 1, x_4); x_7 = l_Lean_Compiler_LCNF_Testing_assertAfterEachOccurrence(x_6, x_3); @@ -2117,28 +2052,24 @@ return x_7; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -size_t x_15; size_t x_16; uint8_t x_17; lean_object* x_18; +size_t x_15; size_t x_16; lean_object* x_17; x_15 = lean_unbox_usize(x_5); lean_dec(x_5); x_16 = lean_unbox_usize(x_6); lean_dec(x_6); -x_17 = lean_unbox(x_10); -lean_dec(x_10); -x_18 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_17, x_11, x_12, x_13, x_14); +x_17 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___spec__1(x_1, x_2, x_3, x_4, x_15, x_16, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_8); lean_dec(x_4); -return x_18; +return x_17; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfterEachOccurrence___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -return x_12; +return x_11; } } static lean_object* _init_l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1___closed__1() { @@ -2149,192 +2080,197 @@ x_1 = lean_mk_string_from_bytes("Wrapper test ", 13); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_13; lean_object* x_14; x_13 = lean_ctor_get(x_1, 2); lean_inc(x_13); -x_14 = lean_box(x_8); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_2); -x_15 = lean_apply_6(x_13, x_2, x_14, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_15) == 0) +x_14 = lean_apply_6(x_13, x_2, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_15, 0); +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_15, 1); -lean_inc(x_17); -lean_dec(x_15); +lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_4); lean_inc(x_1); -lean_inc(x_16); -x_18 = l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg(x_3, x_2, x_16, x_1, x_4, x_8, x_9, x_10, x_11, x_17); -if (lean_obj_tag(x_18) == 0) +lean_inc(x_15); +x_17 = l_Lean_Compiler_LCNF_Testing_InOutAssertionM_run___rarg(x_3, x_2, x_15, x_1, x_4, x_8, x_9, x_10, x_11, x_16); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; -x_19 = lean_ctor_get(x_18, 1); -lean_inc(x_19); -lean_dec(x_18); +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_18 = lean_ctor_get(x_17, 1); +lean_inc(x_18); +lean_dec(x_17); lean_inc(x_5); -x_20 = l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1(x_5, x_8, x_9, x_10, x_11, x_19); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_unbox(x_21); -lean_dec(x_21); +x_19 = l_Lean_isTracingEnabledFor___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__1(x_5, x_8, x_9, x_10, x_11, x_18); +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_unbox(x_20); +lean_dec(x_20); +if (x_21 == 0) +{ +uint8_t x_22; +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_22 = !lean_is_exclusive(x_19); if (x_22 == 0) { -uint8_t x_23; -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_1); -x_23 = !lean_is_exclusive(x_20); -if (x_23 == 0) -{ -lean_object* x_24; -x_24 = lean_ctor_get(x_20, 0); -lean_dec(x_24); -lean_ctor_set(x_20, 0, x_16); -return x_20; +lean_object* x_23; +x_23 = lean_ctor_get(x_19, 0); +lean_dec(x_23); +lean_ctor_set(x_19, 0, x_15); +return x_19; } 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(0, 2, 0); -lean_ctor_set(x_26, 0, x_16); -lean_ctor_set(x_26, 1, x_25); -return x_26; +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_19, 1); +lean_inc(x_24); +lean_dec(x_19); +x_25 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_25, 0, x_15); +lean_ctor_set(x_25, 1, x_24); +return x_25; } } else { -lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; -x_27 = lean_ctor_get(x_20, 1); -lean_inc(x_27); -lean_dec(x_20); -x_28 = 1; -x_29 = l_Lean_Name_toString(x_4, x_28); -x_30 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1___closed__1; -x_31 = lean_string_append(x_30, x_29); -lean_dec(x_29); -x_32 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__2; -x_33 = lean_string_append(x_31, x_32); -x_34 = l_Lean_Name_toString(x_6, x_28); -x_35 = lean_string_append(x_33, x_34); -lean_dec(x_34); -x_36 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__3; -x_37 = lean_string_append(x_35, x_36); -x_38 = lean_ctor_get(x_1, 0); -lean_inc(x_38); +lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_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; uint8_t x_45; +x_26 = lean_ctor_get(x_19, 1); +lean_inc(x_26); +lean_dec(x_19); +x_27 = 1; +x_28 = l_Lean_Name_toString(x_4, x_27); +x_29 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1___closed__1; +x_30 = lean_string_append(x_29, x_28); +lean_dec(x_28); +x_31 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__2; +x_32 = lean_string_append(x_30, x_31); +x_33 = l_Lean_Name_toString(x_6, x_27); +x_34 = lean_string_append(x_32, x_33); +lean_dec(x_33); +x_35 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__3; +x_36 = lean_string_append(x_34, x_35); +x_37 = lean_ctor_get(x_1, 0); +lean_inc(x_37); lean_dec(x_1); -x_39 = l_Nat_repr(x_38); -x_40 = lean_string_append(x_37, x_39); -lean_dec(x_39); -x_41 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__4; -x_42 = lean_string_append(x_40, x_41); -x_43 = lean_alloc_ctor(2, 1, 0); +x_38 = l_Nat_repr(x_37); +x_39 = lean_string_append(x_36, x_38); +lean_dec(x_38); +x_40 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___lambda__2___closed__4; +x_41 = lean_string_append(x_39, x_40); +x_42 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_43, 0, x_42); -x_44 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_44, 0, x_43); -x_45 = l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(x_5, x_44, x_8, x_9, x_10, x_11, x_27); +x_44 = l_Lean_addTrace___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAfterTest___elambda__1___spec__2(x_5, x_43, x_8, x_9, x_10, x_11, x_26); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_46 = !lean_is_exclusive(x_45); -if (x_46 == 0) +lean_dec(x_8); +x_45 = !lean_is_exclusive(x_44); +if (x_45 == 0) { -lean_object* x_47; -x_47 = lean_ctor_get(x_45, 0); -lean_dec(x_47); -lean_ctor_set(x_45, 0, x_16); -return x_45; +lean_object* x_46; +x_46 = lean_ctor_get(x_44, 0); +lean_dec(x_46); +lean_ctor_set(x_44, 0, x_15); +return x_44; } else { -lean_object* x_48; lean_object* x_49; -x_48 = lean_ctor_get(x_45, 1); -lean_inc(x_48); -lean_dec(x_45); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_16); -lean_ctor_set(x_49, 1, x_48); -return x_49; +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_44, 1); +lean_inc(x_47); +lean_dec(x_44); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_15); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_50; -lean_dec(x_16); +uint8_t x_49; +lean_dec(x_15); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); -x_50 = !lean_is_exclusive(x_18); -if (x_50 == 0) +x_49 = !lean_is_exclusive(x_17); +if (x_49 == 0) { -return x_18; +return x_17; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_18, 0); -x_52 = lean_ctor_get(x_18, 1); -lean_inc(x_52); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_17, 0); +x_51 = lean_ctor_get(x_17, 1); lean_inc(x_51); -lean_dec(x_18); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_inc(x_50); +lean_dec(x_17); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -uint8_t x_54; +uint8_t x_53; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_54 = !lean_is_exclusive(x_15); -if (x_54 == 0) +x_53 = !lean_is_exclusive(x_14); +if (x_53 == 0) { -return x_15; +return x_14; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_15, 0); -x_56 = lean_ctor_get(x_15, 1); -lean_inc(x_56); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_14, 0); +x_55 = lean_ctor_get(x_14, 1); lean_inc(x_55); -lean_dec(x_15); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_inc(x_54); +lean_dec(x_14); +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -2347,7 +2283,7 @@ x_1 = lean_mk_string_from_bytes("Starting wrapper test ", 22); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -2422,7 +2358,7 @@ x_6 = lean_ctor_get(x_3, 1); lean_inc(x_6); lean_inc(x_6); lean_inc(x_3); -x_7 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___boxed), 10, 4); +x_7 = lean_alloc_closure((void*)(l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1), 10, 4); lean_closure_set(x_7, 0, x_1); lean_closure_set(x_7, 1, x_3); lean_closure_set(x_7, 2, x_4); @@ -2459,22 +2395,10 @@ return x_14; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_7); -return x_14; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { -_start: -{ -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_assertAroundTest___elambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; +return x_13; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertAround(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -2506,7 +2430,7 @@ x_5 = l_Lean_Compiler_LCNF_PassInstaller_replaceEachOccurrence(x_3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2591,7 +2515,7 @@ x_1 = lean_mk_string_from_bytes("\n", 1); return x_1; } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -2603,6 +2527,7 @@ x_11 = lean_array_uget(x_1, x_2); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_12 = l_Lean_Compiler_LCNF_ppDecl(x_11, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_12) == 0) { @@ -2634,6 +2559,7 @@ uint8_t x_25; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_25 = !lean_is_exclusive(x_12); if (x_25 == 0) @@ -2661,6 +2587,7 @@ lean_object* x_29; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_29 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_29, 0, x_4); lean_ctor_set(x_29, 1, x_9); @@ -2684,7 +2611,7 @@ x_1 = lean_mk_string_from_bytes("Result after further run:", 25); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; @@ -2722,6 +2649,7 @@ lean_dec(x_11); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_40 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(x_2, x_38, x_39, x_10, x_4, x_5, x_6, x_7, x_8); lean_dec(x_2); if (lean_obj_tag(x_40) == 0) @@ -2742,6 +2670,7 @@ uint8_t x_43; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_43 = !lean_is_exclusive(x_40); if (x_43 == 0) @@ -2800,6 +2729,7 @@ lean_dec(x_18); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_29 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(x_3, x_27, x_28, x_17, x_4, x_5, x_6, x_7, x_15); lean_dec(x_3); if (lean_obj_tag(x_29) == 0) @@ -2820,6 +2750,7 @@ uint8_t x_32; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_32 = !lean_is_exclusive(x_29); if (x_32 == 0) { @@ -2852,6 +2783,7 @@ x_24 = l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compi lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); return x_24; } } @@ -2860,39 +2792,26 @@ return x_24; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___spec__2(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_1); -return x_13; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +return x_12; } } LEAN_EXPORT uint8_t l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___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) { @@ -2914,7 +2833,7 @@ else lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_array_fget(x_4, x_6); x_11 = lean_array_fget(x_5, x_6); -x_12 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3626_(x_10, x_11); +x_12 = l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_beqDecl____x40_Lean_Compiler_LCNF_Basic___hyg_3636_(x_10, x_11); lean_dec(x_11); if (x_12 == 0) { @@ -2968,273 +2887,276 @@ x_1 = lean_mk_string_from_bytes(" did not reach a fixpoint, it added declaration return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_9; lean_object* x_10; x_9 = lean_ctor_get(x_1, 2); lean_inc(x_9); -x_10 = lean_box(x_4); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_2); -x_11 = lean_apply_6(x_9, x_2, x_10, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_11) == 0) +x_10 = lean_apply_6(x_9, x_2, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_10) == 0) { -uint8_t x_12; -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; -x_13 = lean_ctor_get(x_11, 0); -x_14 = lean_ctor_get(x_11, 1); -x_15 = lean_array_get_size(x_2); -x_16 = lean_array_get_size(x_13); -x_17 = lean_nat_dec_lt(x_15, x_16); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_12 = lean_ctor_get(x_10, 0); +x_13 = lean_ctor_get(x_10, 1); +x_14 = lean_array_get_size(x_2); +x_15 = lean_array_get_size(x_12); +x_16 = lean_nat_dec_lt(x_14, x_15); +if (x_16 == 0) +{ +uint8_t x_17; +x_17 = lean_nat_dec_lt(x_15, x_14); if (x_17 == 0) { uint8_t x_18; -x_18 = lean_nat_dec_lt(x_16, x_15); +x_18 = lean_nat_dec_eq(x_14, x_15); +lean_dec(x_15); +lean_dec(x_14); if (x_18 == 0) { -uint8_t x_19; -x_19 = lean_nat_dec_eq(x_15, x_16); -lean_dec(x_16); -lean_dec(x_15); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -lean_free_object(x_11); -x_20 = lean_ctor_get(x_1, 1); -lean_inc(x_20); +lean_object* x_19; uint8_t 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_free_object(x_10); +x_19 = lean_ctor_get(x_1, 1); +lean_inc(x_19); lean_dec(x_1); -x_21 = 1; -x_22 = l_Lean_Name_toString(x_20, x_21); -x_23 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_24 = lean_string_append(x_23, x_22); -lean_dec(x_22); -x_25 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; -x_26 = lean_string_append(x_24, x_25); -x_27 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_26, x_2, x_13, x_4, x_5, x_6, x_7, x_14); -return x_27; +x_20 = 1; +x_21 = l_Lean_Name_toString(x_19, x_20); +x_22 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_23 = lean_string_append(x_22, x_21); +lean_dec(x_21); +x_24 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; +x_25 = lean_string_append(x_23, x_24); +x_26 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_25, x_2, x_12, x_4, x_5, x_6, x_7, x_13); +return x_26; } else { -lean_object* x_28; uint8_t x_29; -x_28 = lean_unsigned_to_nat(0u); -x_29 = l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___spec__1(x_2, x_13, lean_box(0), x_2, x_13, x_28); -if (x_29 == 0) +lean_object* x_27; uint8_t x_28; +x_27 = lean_unsigned_to_nat(0u); +x_28 = l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___spec__1(x_2, x_12, lean_box(0), x_2, x_12, x_27); +if (x_28 == 0) { -lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -lean_free_object(x_11); -x_30 = lean_ctor_get(x_1, 1); -lean_inc(x_30); +lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_free_object(x_10); +x_29 = lean_ctor_get(x_1, 1); +lean_inc(x_29); lean_dec(x_1); -x_31 = 1; -x_32 = l_Lean_Name_toString(x_30, x_31); -x_33 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_34 = lean_string_append(x_33, x_32); -lean_dec(x_32); -x_35 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; -x_36 = lean_string_append(x_34, x_35); -x_37 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_36, x_2, x_13, x_4, x_5, x_6, x_7, x_14); -return x_37; +x_30 = 1; +x_31 = l_Lean_Name_toString(x_29, x_30); +x_32 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_33 = lean_string_append(x_32, x_31); +lean_dec(x_31); +x_34 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; +x_35 = lean_string_append(x_33, x_34); +x_36 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_35, x_2, x_12, x_4, x_5, x_6, x_7, x_13); +return x_36; } else { -lean_object* x_38; -lean_dec(x_13); +lean_object* x_37; +lean_dec(x_12); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_38 = lean_box(0); -lean_ctor_set(x_11, 0, x_38); -return x_11; +x_37 = lean_box(0); +lean_ctor_set(x_10, 0, x_37); +return x_10; } } } else { -lean_object* x_39; uint8_t 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_dec(x_16); +lean_object* x_38; uint8_t 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_dec(x_15); -lean_free_object(x_11); -x_39 = lean_ctor_get(x_1, 1); -lean_inc(x_39); +lean_dec(x_14); +lean_free_object(x_10); +x_38 = lean_ctor_get(x_1, 1); +lean_inc(x_38); lean_dec(x_1); -x_40 = 1; -x_41 = l_Lean_Name_toString(x_39, x_40); -x_42 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_43 = lean_string_append(x_42, x_41); -lean_dec(x_41); -x_44 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__3; -x_45 = lean_string_append(x_43, x_44); -x_46 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_45, x_2, x_13, x_4, x_5, x_6, x_7, x_14); -return x_46; +x_39 = 1; +x_40 = l_Lean_Name_toString(x_38, x_39); +x_41 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_42 = lean_string_append(x_41, x_40); +lean_dec(x_40); +x_43 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__3; +x_44 = lean_string_append(x_42, x_43); +x_45 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_44, x_2, x_12, x_4, x_5, x_6, x_7, x_13); +return x_45; } } else { -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_dec(x_16); +lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_dec(x_15); -lean_free_object(x_11); -x_47 = lean_ctor_get(x_1, 1); -lean_inc(x_47); +lean_dec(x_14); +lean_free_object(x_10); +x_46 = lean_ctor_get(x_1, 1); +lean_inc(x_46); lean_dec(x_1); -x_48 = 1; -x_49 = l_Lean_Name_toString(x_47, x_48); -x_50 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_51 = lean_string_append(x_50, x_49); -lean_dec(x_49); -x_52 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__4; -x_53 = lean_string_append(x_51, x_52); -x_54 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_53, x_2, x_13, x_4, x_5, x_6, x_7, x_14); -return x_54; +x_47 = 1; +x_48 = l_Lean_Name_toString(x_46, x_47); +x_49 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_50 = lean_string_append(x_49, x_48); +lean_dec(x_48); +x_51 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__4; +x_52 = lean_string_append(x_50, x_51); +x_53 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_52, x_2, x_12, x_4, x_5, x_6, x_7, x_13); +return x_53; } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; -x_55 = lean_ctor_get(x_11, 0); -x_56 = lean_ctor_get(x_11, 1); -lean_inc(x_56); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; +x_54 = lean_ctor_get(x_10, 0); +x_55 = lean_ctor_get(x_10, 1); lean_inc(x_55); -lean_dec(x_11); -x_57 = lean_array_get_size(x_2); -x_58 = lean_array_get_size(x_55); -x_59 = lean_nat_dec_lt(x_57, x_58); +lean_inc(x_54); +lean_dec(x_10); +x_56 = lean_array_get_size(x_2); +x_57 = lean_array_get_size(x_54); +x_58 = lean_nat_dec_lt(x_56, x_57); +if (x_58 == 0) +{ +uint8_t x_59; +x_59 = lean_nat_dec_lt(x_57, x_56); if (x_59 == 0) { uint8_t x_60; -x_60 = lean_nat_dec_lt(x_58, x_57); +x_60 = lean_nat_dec_eq(x_56, x_57); +lean_dec(x_57); +lean_dec(x_56); if (x_60 == 0) { -uint8_t x_61; -x_61 = lean_nat_dec_eq(x_57, x_58); -lean_dec(x_58); -lean_dec(x_57); -if (x_61 == 0) -{ -lean_object* x_62; uint8_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; -x_62 = lean_ctor_get(x_1, 1); -lean_inc(x_62); +lean_object* x_61; uint8_t x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_61 = lean_ctor_get(x_1, 1); +lean_inc(x_61); lean_dec(x_1); -x_63 = 1; -x_64 = l_Lean_Name_toString(x_62, x_63); -x_65 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_66 = lean_string_append(x_65, x_64); -lean_dec(x_64); -x_67 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; -x_68 = lean_string_append(x_66, x_67); -x_69 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_68, x_2, x_55, x_4, x_5, x_6, x_7, x_56); -return x_69; +x_62 = 1; +x_63 = l_Lean_Name_toString(x_61, x_62); +x_64 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_65 = lean_string_append(x_64, x_63); +lean_dec(x_63); +x_66 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; +x_67 = lean_string_append(x_65, x_66); +x_68 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_67, x_2, x_54, x_4, x_5, x_6, x_7, x_55); +return x_68; } else { -lean_object* x_70; uint8_t x_71; -x_70 = lean_unsigned_to_nat(0u); -x_71 = l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___spec__1(x_2, x_55, lean_box(0), x_2, x_55, x_70); -if (x_71 == 0) +lean_object* x_69; uint8_t x_70; +x_69 = lean_unsigned_to_nat(0u); +x_70 = l_Array_isEqvAux___at_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___spec__1(x_2, x_54, lean_box(0), x_2, x_54, x_69); +if (x_70 == 0) { -lean_object* x_72; uint8_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_72 = lean_ctor_get(x_1, 1); -lean_inc(x_72); +lean_object* x_71; uint8_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_71 = lean_ctor_get(x_1, 1); +lean_inc(x_71); lean_dec(x_1); -x_73 = 1; -x_74 = l_Lean_Name_toString(x_72, x_73); -x_75 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_76 = lean_string_append(x_75, x_74); -lean_dec(x_74); -x_77 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; -x_78 = lean_string_append(x_76, x_77); -x_79 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_78, x_2, x_55, x_4, x_5, x_6, x_7, x_56); -return x_79; +x_72 = 1; +x_73 = l_Lean_Name_toString(x_71, x_72); +x_74 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_75 = lean_string_append(x_74, x_73); +lean_dec(x_73); +x_76 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__2; +x_77 = lean_string_append(x_75, x_76); +x_78 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_77, x_2, x_54, x_4, x_5, x_6, x_7, x_55); +return x_78; } else { -lean_object* x_80; lean_object* x_81; -lean_dec(x_55); +lean_object* x_79; lean_object* x_80; +lean_dec(x_54); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_80 = lean_box(0); -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_56); -return x_81; +x_79 = lean_box(0); +x_80 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_55); +return x_80; } } } else { -lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_58); +lean_object* x_81; uint8_t x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_dec(x_57); -x_82 = lean_ctor_get(x_1, 1); -lean_inc(x_82); +lean_dec(x_56); +x_81 = lean_ctor_get(x_1, 1); +lean_inc(x_81); lean_dec(x_1); -x_83 = 1; -x_84 = l_Lean_Name_toString(x_82, x_83); -x_85 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_86 = lean_string_append(x_85, x_84); -lean_dec(x_84); -x_87 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__3; -x_88 = lean_string_append(x_86, x_87); -x_89 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_88, x_2, x_55, x_4, x_5, x_6, x_7, x_56); -return x_89; +x_82 = 1; +x_83 = l_Lean_Name_toString(x_81, x_82); +x_84 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_85 = lean_string_append(x_84, x_83); +lean_dec(x_83); +x_86 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__3; +x_87 = lean_string_append(x_85, x_86); +x_88 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_87, x_2, x_54, x_4, x_5, x_6, x_7, x_55); +return x_88; } } else { -lean_object* x_90; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; -lean_dec(x_58); +lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_dec(x_57); -x_90 = lean_ctor_get(x_1, 1); -lean_inc(x_90); +lean_dec(x_56); +x_89 = lean_ctor_get(x_1, 1); +lean_inc(x_89); lean_dec(x_1); -x_91 = 1; -x_92 = l_Lean_Name_toString(x_90, x_91); -x_93 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; -x_94 = lean_string_append(x_93, x_92); -lean_dec(x_92); -x_95 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__4; -x_96 = lean_string_append(x_94, x_95); -x_97 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_96, x_2, x_55, x_4, x_5, x_6, x_7, x_56); -return x_97; +x_90 = 1; +x_91 = l_Lean_Name_toString(x_89, x_90); +x_92 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__1; +x_93 = lean_string_append(x_92, x_91); +lean_dec(x_91); +x_94 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___closed__4; +x_95 = lean_string_append(x_93, x_94); +x_96 = l___private_Lean_Compiler_LCNF_Testing_0__Lean_Compiler_LCNF_Testing_throwFixPointError(x_95, x_2, x_54, x_4, x_5, x_6, x_7, x_55); +return x_96; } } } else { -uint8_t x_98; +uint8_t x_97; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); -x_98 = !lean_is_exclusive(x_11); -if (x_98 == 0) +x_97 = !lean_is_exclusive(x_10); +if (x_97 == 0) { -return x_11; +return x_10; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_11, 0); -x_100 = lean_ctor_get(x_11, 1); -lean_inc(x_100); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_10, 0); +x_99 = lean_ctor_get(x_10, 1); lean_inc(x_99); -lean_dec(x_11); -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; +lean_inc(x_98); +lean_dec(x_10); +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } @@ -3253,7 +3175,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___closed__1; x_2 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___closed__1; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg___boxed), 9, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg), 9, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -3284,12 +3206,10 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Testing_assertIsAtFixPoint___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_Testing_assertSize___spec__1(size_t x_1, size_t x_2, lean_object* x_3) { @@ -3341,55 +3261,55 @@ return x_4; } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(x_5); +lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_11 = lean_apply_7(x_1, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +x_10 = lean_apply_7(x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_12 = lean_ctor_get(x_11, 0); +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_ctor_get(x_10, 0); +lean_inc(x_11); +x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_box(x_5); -x_15 = lean_apply_8(x_2, x_12, x_3, x_4, x_14, x_6, x_7, x_8, x_13); -return x_15; +lean_dec(x_10); +x_13 = lean_apply_8(x_2, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_12); +return x_13; } else { -uint8_t x_16; +uint8_t x_14; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_16 = !lean_is_exclusive(x_11); -if (x_16 == 0) +x_14 = !lean_is_exclusive(x_10); +if (x_14 == 0) { -return x_11; +return x_10; } else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_11, 0); -x_18 = lean_ctor_get(x_11, 1); -lean_inc(x_18); -lean_inc(x_17); -lean_dec(x_11); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_17); -lean_ctor_set(x_19, 1, x_18); -return x_19; +lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_15 = lean_ctor_get(x_10, 0); +x_16 = lean_ctor_get(x_10, 1); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_10); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +return x_17; } } } @@ -3398,7 +3318,7 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSi _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg___boxed), 9, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg), 9, 0); return x_3; } } @@ -3427,7 +3347,7 @@ x_2 = l_Nat_repr(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; size_t x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; @@ -3563,7 +3483,7 @@ x_4 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Testing_assertSize___lambd lean_closure_set(x_4, 0, x_2); lean_closure_set(x_4, 1, x_1); x_5 = l_Lean_Compiler_LCNF_Testing_assertSize___closed__1; -x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg___boxed), 9, 2); +x_6 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg), 9, 2); lean_closure_set(x_6, 0, x_5); lean_closure_set(x_6, 1, x_4); x_7 = l_Lean_Compiler_LCNF_Testing_assertAroundEachOccurrence(x_6, x_3); @@ -3595,26 +3515,14 @@ lean_dec(x_1); return x_7; } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertSize___spec__3___rarg(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_Testing_assertSize___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); lean_dec(x_1); -return x_12; +return x_11; } } static lean_object* _init_l_Lean_Compiler_LCNF_Testing_assertPreservesSize___closed__1() { @@ -3749,7 +3657,7 @@ x_5 = lean_box(x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -3826,7 +3734,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { uint8_t x_13; @@ -3841,6 +3749,7 @@ lean_dec(x_14); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_1); @@ -3866,6 +3775,7 @@ uint8_t x_22; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); @@ -3895,6 +3805,7 @@ lean_object* x_26; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); @@ -3905,353 +3816,363 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; -x_10 = lean_box(x_5); +lean_object* x_10; lean_inc(x_1); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_2); -x_11 = lean_apply_8(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_11) == 0) +x_10 = lean_apply_8(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { switch (lean_obj_tag(x_2)) { case 0: { -lean_object* x_12; lean_object* x_13; -x_12 = lean_ctor_get(x_11, 1); +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_10, 1); +lean_inc(x_11); +lean_dec(x_10); +x_12 = lean_ctor_get(x_2, 1); lean_inc(x_12); -lean_dec(x_11); -x_13 = lean_ctor_get(x_2, 1); -lean_inc(x_13); lean_dec(x_2); -x_2 = x_13; -x_9 = x_12; +x_2 = x_12; +x_9 = x_11; goto _start; } case 1: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_15 = lean_ctor_get(x_11, 1); +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_10, 1); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); -lean_dec(x_11); -x_16 = lean_ctor_get(x_2, 0); +x_16 = lean_ctor_get(x_2, 1); lean_inc(x_16); -x_17 = lean_ctor_get(x_2, 1); -lean_inc(x_17); lean_dec(x_2); -x_18 = lean_ctor_get(x_16, 4); -lean_inc(x_18); -lean_dec(x_16); +x_17 = lean_ctor_get(x_15, 4); +lean_inc(x_17); +lean_dec(x_15); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_19 = l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(x_1, x_18, x_3, x_4, x_5, x_6, x_7, x_8, x_15); -if (lean_obj_tag(x_19) == 0) +x_18 = l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_14); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_20; -x_20 = lean_ctor_get(x_19, 1); -lean_inc(x_20); -lean_dec(x_19); -x_2 = x_17; -x_9 = x_20; +lean_object* x_19; +x_19 = lean_ctor_get(x_18, 1); +lean_inc(x_19); +lean_dec(x_18); +x_2 = x_16; +x_9 = x_19; goto _start; } else { -uint8_t x_22; -lean_dec(x_17); +uint8_t x_21; +lean_dec(x_16); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_22 = !lean_is_exclusive(x_19); -if (x_22 == 0) +x_21 = !lean_is_exclusive(x_18); +if (x_21 == 0) { -return x_19; +return x_18; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_19, 0); -x_24 = lean_ctor_get(x_19, 1); -lean_inc(x_24); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_18, 0); +x_23 = lean_ctor_get(x_18, 1); lean_inc(x_23); -lean_dec(x_19); -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; +lean_inc(x_22); +lean_dec(x_18); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +return x_24; } } } case 2: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_26 = lean_ctor_get(x_11, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_25 = lean_ctor_get(x_10, 1); +lean_inc(x_25); +lean_dec(x_10); +x_26 = lean_ctor_get(x_2, 0); lean_inc(x_26); -lean_dec(x_11); -x_27 = lean_ctor_get(x_2, 0); +x_27 = lean_ctor_get(x_2, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_2, 1); -lean_inc(x_28); lean_dec(x_2); -x_29 = lean_ctor_get(x_27, 4); -lean_inc(x_29); -lean_dec(x_27); +x_28 = lean_ctor_get(x_26, 4); +lean_inc(x_28); +lean_dec(x_26); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); -x_30 = l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(x_1, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_26); -if (lean_obj_tag(x_30) == 0) +x_29 = l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(x_1, x_28, x_3, x_4, x_5, x_6, x_7, x_8, x_25); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_31; -x_31 = lean_ctor_get(x_30, 1); -lean_inc(x_31); -lean_dec(x_30); -x_2 = x_28; -x_9 = x_31; +lean_object* x_30; +x_30 = lean_ctor_get(x_29, 1); +lean_inc(x_30); +lean_dec(x_29); +x_2 = x_27; +x_9 = x_30; goto _start; } else { -uint8_t x_33; -lean_dec(x_28); +uint8_t x_32; +lean_dec(x_27); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_33 = !lean_is_exclusive(x_30); -if (x_33 == 0) +x_32 = !lean_is_exclusive(x_29); +if (x_32 == 0) { -return x_30; +return x_29; } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_34 = lean_ctor_get(x_30, 0); -x_35 = lean_ctor_get(x_30, 1); -lean_inc(x_35); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_29, 0); +x_34 = lean_ctor_get(x_29, 1); lean_inc(x_34); -lean_dec(x_30); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_35); -return x_36; +lean_inc(x_33); +lean_dec(x_29); +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; } } } case 4: { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_11); -if (x_37 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_10); +if (x_36 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; -x_38 = lean_ctor_get(x_11, 1); -x_39 = lean_ctor_get(x_11, 0); -lean_dec(x_39); -x_40 = lean_ctor_get(x_2, 0); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_37 = lean_ctor_get(x_10, 1); +x_38 = lean_ctor_get(x_10, 0); +lean_dec(x_38); +x_39 = lean_ctor_get(x_2, 0); +lean_inc(x_39); +lean_dec(x_2); +x_40 = lean_ctor_get(x_39, 3); lean_inc(x_40); -lean_dec(x_2); -x_41 = lean_ctor_get(x_40, 3); -lean_inc(x_41); +lean_dec(x_39); +x_41 = lean_array_get_size(x_40); +x_42 = lean_unsigned_to_nat(0u); +x_43 = lean_nat_dec_lt(x_42, x_41); +if (x_43 == 0) +{ +lean_object* x_44; +lean_dec(x_41); lean_dec(x_40); -x_42 = lean_array_get_size(x_41); -x_43 = lean_unsigned_to_nat(0u); -x_44 = lean_nat_dec_lt(x_43, x_42); -if (x_44 == 0) -{ -lean_object* x_45; -lean_dec(x_42); -lean_dec(x_41); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_45 = lean_box(0); -lean_ctor_set(x_11, 0, x_45); -return x_11; +x_44 = lean_box(0); +lean_ctor_set(x_10, 0, x_44); +return x_10; } else { -uint8_t x_46; -x_46 = lean_nat_dec_le(x_42, x_42); -if (x_46 == 0) +uint8_t x_45; +x_45 = lean_nat_dec_le(x_41, x_41); +if (x_45 == 0) { -lean_object* x_47; -lean_dec(x_42); +lean_object* x_46; lean_dec(x_41); +lean_dec(x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_47 = lean_box(0); -lean_ctor_set(x_11, 0, x_47); -return x_11; +x_46 = lean_box(0); +lean_ctor_set(x_10, 0, x_46); +return x_10; } else { -size_t x_48; size_t x_49; lean_object* x_50; lean_object* x_51; -lean_free_object(x_11); -x_48 = 0; -x_49 = lean_usize_of_nat(x_42); -lean_dec(x_42); -x_50 = lean_box(0); -x_51 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(x_1, x_41, x_48, x_49, x_50, x_3, x_4, x_5, x_6, x_7, x_8, x_38); +size_t x_47; size_t x_48; lean_object* x_49; lean_object* x_50; +lean_free_object(x_10); +x_47 = 0; +x_48 = lean_usize_of_nat(x_41); lean_dec(x_41); -return x_51; +x_49 = lean_box(0); +x_50 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(x_1, x_40, x_47, x_48, x_49, x_3, x_4, x_5, x_6, x_7, x_8, x_37); +lean_dec(x_40); +return x_50; } } } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; -x_52 = lean_ctor_get(x_11, 1); +lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; uint8_t x_56; +x_51 = lean_ctor_get(x_10, 1); +lean_inc(x_51); +lean_dec(x_10); +x_52 = lean_ctor_get(x_2, 0); lean_inc(x_52); -lean_dec(x_11); -x_53 = lean_ctor_get(x_2, 0); -lean_inc(x_53); lean_dec(x_2); -x_54 = lean_ctor_get(x_53, 3); -lean_inc(x_54); +x_53 = lean_ctor_get(x_52, 3); +lean_inc(x_53); +lean_dec(x_52); +x_54 = lean_array_get_size(x_53); +x_55 = lean_unsigned_to_nat(0u); +x_56 = lean_nat_dec_lt(x_55, x_54); +if (x_56 == 0) +{ +lean_object* x_57; lean_object* x_58; +lean_dec(x_54); lean_dec(x_53); -x_55 = lean_array_get_size(x_54); -x_56 = lean_unsigned_to_nat(0u); -x_57 = lean_nat_dec_lt(x_56, x_55); -if (x_57 == 0) -{ -lean_object* x_58; lean_object* x_59; -lean_dec(x_55); -lean_dec(x_54); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_58 = lean_box(0); -x_59 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_59, 0, x_58); -lean_ctor_set(x_59, 1, x_52); -return x_59; +x_57 = lean_box(0); +x_58 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_58, 0, x_57); +lean_ctor_set(x_58, 1, x_51); +return x_58; } else { -uint8_t x_60; -x_60 = lean_nat_dec_le(x_55, x_55); -if (x_60 == 0) +uint8_t x_59; +x_59 = lean_nat_dec_le(x_54, x_54); +if (x_59 == 0) { -lean_object* x_61; lean_object* x_62; -lean_dec(x_55); +lean_object* x_60; lean_object* x_61; lean_dec(x_54); +lean_dec(x_53); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_61 = lean_box(0); -x_62 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_62, 0, x_61); -lean_ctor_set(x_62, 1, x_52); -return x_62; +x_60 = lean_box(0); +x_61 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_61, 0, x_60); +lean_ctor_set(x_61, 1, x_51); +return x_61; } else { -size_t x_63; size_t x_64; lean_object* x_65; lean_object* x_66; -x_63 = 0; -x_64 = lean_usize_of_nat(x_55); -lean_dec(x_55); -x_65 = lean_box(0); -x_66 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(x_1, x_54, x_63, x_64, x_65, x_3, x_4, x_5, x_6, x_7, x_8, x_52); +size_t x_62; size_t x_63; lean_object* x_64; lean_object* x_65; +x_62 = 0; +x_63 = lean_usize_of_nat(x_54); lean_dec(x_54); -return x_66; +x_64 = lean_box(0); +x_65 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(x_1, x_53, x_62, x_63, x_64, x_3, x_4, x_5, x_6, x_7, x_8, x_51); +lean_dec(x_53); +return x_65; } } } } default: { -uint8_t x_67; +uint8_t x_66; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_67 = !lean_is_exclusive(x_11); -if (x_67 == 0) +x_66 = !lean_is_exclusive(x_10); +if (x_66 == 0) { -lean_object* x_68; lean_object* x_69; -x_68 = lean_ctor_get(x_11, 0); -lean_dec(x_68); -x_69 = lean_box(0); -lean_ctor_set(x_11, 0, x_69); -return x_11; +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_10, 0); +lean_dec(x_67); +x_68 = lean_box(0); +lean_ctor_set(x_10, 0, x_68); +return x_10; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_11, 1); -lean_inc(x_70); -lean_dec(x_11); -x_71 = lean_box(0); -x_72 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_72, 0, x_71); -lean_ctor_set(x_72, 1, x_70); -return x_72; +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_10, 1); +lean_inc(x_69); +lean_dec(x_10); +x_70 = lean_box(0); +x_71 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +return x_71; } } } } else { -uint8_t x_73; +uint8_t x_72; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_73 = !lean_is_exclusive(x_11); -if (x_73 == 0) +x_72 = !lean_is_exclusive(x_10); +if (x_72 == 0) { -return x_11; +return x_10; } else { -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_11, 0); -x_75 = lean_ctor_get(x_11, 1); -lean_inc(x_75); +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_10, 0); +x_74 = lean_ctor_get(x_10, 1); lean_inc(x_74); -lean_dec(x_11); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; +lean_inc(x_73); +lean_dec(x_10); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; } } } @@ -4290,7 +4211,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_2) == 1) @@ -4314,6 +4235,7 @@ x_16 = l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1(x lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); return x_16; @@ -4324,6 +4246,7 @@ lean_object* x_17; lean_object* x_18; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -4336,7 +4259,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -4347,6 +4270,7 @@ lean_object* x_13; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_13 = lean_alloc_ctor(0, 2, 0); @@ -4361,11 +4285,12 @@ lean_dec(x_4); x_14 = lean_array_uget(x_1, x_3); x_15 = lean_ctor_get(x_14, 4); lean_inc(x_15); -x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1___boxed), 9, 1); +x_16 = lean_alloc_closure((void*)(l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1), 9, 1); lean_closure_set(x_16, 0, x_14); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); x_17 = l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(x_16, x_15, x_5, x_6, x_7, x_8, x_9, x_10, x_11); @@ -4389,6 +4314,7 @@ uint8_t x_23; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); x_23 = !lean_is_exclusive(x_17); @@ -4413,7 +4339,7 @@ return x_26; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; @@ -4493,7 +4419,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Compiler_LCNF_Testing_assertNoFun___closed__1; x_2 = l_Lean_Compiler_LCNF_Testing_assertNoFun___closed__2; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg___boxed), 9, 2); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_Testing_assertForEachDeclAfter___spec__2___rarg), 9, 2); lean_closure_set(x_3, 0, x_1); lean_closure_set(x_3, 1, x_2); return x_3; @@ -4512,77 +4438,50 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_13; size_t x_14; uint8_t x_15; lean_object* x_16; +size_t x_13; size_t x_14; lean_object* x_15; x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = lean_unbox_usize(x_4); lean_dec(x_4); -x_15 = lean_unbox(x_8); -lean_dec(x_8); -x_16 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_15, x_9, x_10, x_11, x_12); +x_15 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__3(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_2); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_Code_forM_go___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___lambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_15; } } LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -size_t x_12; size_t x_13; uint8_t x_14; lean_object* x_15; +size_t x_12; size_t x_13; lean_object* x_14; x_12 = lean_unbox_usize(x_2); lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_14 = lean_unbox(x_7); -lean_dec(x_7); -x_15 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_14, x_8, x_9, x_10, x_11); +x_14 = l_Array_forInUnsafe_loop___at_Lean_Compiler_LCNF_Testing_assertNoFun___spec__4(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_1); -return x_15; +return x_14; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_Testing_assertNoFun___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_1); -return x_10; +return x_9; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c b/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c index 3c4732afcd..9b0de679aa 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ToDecl.c @@ -35,7 +35,7 @@ static lean_object* l_Lean_Compiler_LCNF_inlineMatchers___closed__1; LEAN_EXPORT lean_object* l_Lean_Meta_lambdaTelescope___at___private_Lean_Compiler_LCNF_ToDecl_0__Lean_Compiler_LCNF_normalizeAlt___spec__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inlineMatchers___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_inlineMatchers___closed__9; -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -64,7 +64,7 @@ static lean_object* l_Lean_Compiler_LCNF_inlineMatchers___closed__14; static lean_object* l___private_Lean_Compiler_LCNF_ToDecl_0__Lean_Compiler_LCNF_normalizeAlt___lambda__3___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inlineMatchers___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_inlineMatchers___closed__7; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getMatcherInfo_x3f___at_Lean_Compiler_LCNF_inlineMatchers___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -79,9 +79,9 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_inlineMatchers_inlineMatcher___closed__2; static lean_object* l_Lean_Compiler_LCNF_inlineMatchers_inlineMatcher___closed__1; lean_object* l_Lean_Meta_transform___at_Lean_Meta_zetaReduce___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_inlineMatchers___closed__22; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Compiler_LCNF_ToLCNF_etaExpandN___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Decl_etaExpand___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_inlineMatchers_inlineMatcher___closed__5; lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); @@ -98,7 +98,7 @@ lean_object* l_Lean_Compiler_LCNF_toLCNFType(lean_object*, lean_object*, lean_ob static lean_object* l_Lean_Compiler_LCNF_toDecl___closed__7; lean_object* l_Lean_getConstInfo___at___private_Lean_Compiler_LCNF_Util_0__Lean_Compiler_LCNF_getCasesOnInductiveVal_x3f___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); -lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toDecl___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_instantiateValueLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -153,11 +153,10 @@ lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_withLetDeclImp___rarg(lean LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inlineMatchers(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_Match_Extension_getMatcherInfo_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_inlineMatchers___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_toDecl___closed__1; static lean_object* l_Lean_Compiler_LCNF_inlineMatchers___closed__12; static lean_object* l_Lean_Compiler_LCNF_toDecl___closed__8; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* _init_l_Lean_Compiler_LCNF_macroInline___lambda__1___closed__1() { _start: @@ -2659,7 +2658,7 @@ lean_dec(x_2); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___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; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -2855,11 +2854,11 @@ static lean_object* _init_l_Lean_Compiler_LCNF_toDecl___closed__8() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_etaExpand___boxed), 6, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_Decl_etaExpand), 6, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toDecl(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -2868,19 +2867,19 @@ x_7 = lean_is_unsafe_rec_name(x_1); if (lean_obj_tag(x_7) == 0) { x_8 = x_1; -goto block_115; +goto block_114; } else { -lean_object* x_116; +lean_object* x_115; lean_dec(x_1); -x_116 = lean_ctor_get(x_7, 0); -lean_inc(x_116); +x_115 = lean_ctor_get(x_7, 0); +lean_inc(x_115); lean_dec(x_7); -x_8 = x_116; -goto block_115; +x_8 = x_115; +goto block_114; } -block_115: +block_114: { lean_object* x_9; lean_object* x_10; lean_inc(x_8); @@ -2907,6 +2906,7 @@ x_17 = l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___spec__1(x_16, x_2, x_3 lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_17; } else @@ -2937,6 +2937,7 @@ x_26 = l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___spec__1(x_25, x_2, x_3 lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); +lean_dec(x_2); return x_26; } else @@ -3042,6 +3043,7 @@ lean_dec(x_60); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); +lean_inc(x_2); x_62 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF(x_56, x_2, x_3, x_4, x_5, x_61); if (lean_obj_tag(x_62) == 0) { @@ -3059,7 +3061,7 @@ x_66 = lean_ctor_get(x_63, 1); lean_inc(x_66); if (lean_obj_tag(x_66) == 5) { -lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_object* x_67; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_dec(x_66); x_67 = lean_ctor_get(x_63, 0); lean_inc(x_67); @@ -3077,83 +3079,86 @@ lean_inc(x_72); x_73 = lean_ctor_get(x_67, 4); lean_inc(x_73); lean_dec(x_67); -x_74 = lean_alloc_ctor(0, 5, 0); +x_74 = lean_alloc_ctor(0, 5, 1); lean_ctor_set(x_74, 0, x_8); lean_ctor_set(x_74, 1, x_71); lean_ctor_set(x_74, 2, x_37); lean_ctor_set(x_74, 3, x_72); lean_ctor_set(x_74, 4, x_73); -x_75 = lean_box(x_2); -x_76 = lean_apply_6(x_65, x_74, x_75, x_3, x_4, x_5, x_70); -return x_76; +lean_ctor_set_uint8(x_74, sizeof(void*)*5, x_68); +x_75 = lean_apply_6(x_65, x_74, x_2, x_3, x_4, x_5, x_70); +return x_75; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +lean_object* x_76; lean_object* x_77; uint8_t x_78; lean_object* x_79; lean_object* x_80; lean_dec(x_66); -x_77 = l_Lean_ConstantInfo_levelParams(x_19); +x_76 = l_Lean_ConstantInfo_levelParams(x_19); lean_dec(x_19); -x_78 = l_Lean_Compiler_LCNF_inlineMatchers___lambda__2___closed__1; -x_79 = lean_alloc_ctor(0, 5, 0); +x_77 = l_Lean_Compiler_LCNF_inlineMatchers___lambda__2___closed__1; +x_78 = 0; +x_79 = lean_alloc_ctor(0, 5, 1); lean_ctor_set(x_79, 0, x_8); -lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_79, 1, x_76); lean_ctor_set(x_79, 2, x_37); -lean_ctor_set(x_79, 3, x_78); +lean_ctor_set(x_79, 3, x_77); lean_ctor_set(x_79, 4, x_63); -x_80 = lean_box(x_2); -x_81 = lean_apply_6(x_65, x_79, x_80, x_3, x_4, x_5, x_64); -return x_81; +lean_ctor_set_uint8(x_79, sizeof(void*)*5, x_78); +x_80 = lean_apply_6(x_65, x_79, x_2, x_3, x_4, x_5, x_64); +return x_80; } } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_82 = l_Lean_ConstantInfo_levelParams(x_19); +lean_object* x_81; lean_object* x_82; uint8_t x_83; lean_object* x_84; lean_object* x_85; +x_81 = l_Lean_ConstantInfo_levelParams(x_19); lean_dec(x_19); -x_83 = l_Lean_Compiler_LCNF_inlineMatchers___lambda__2___closed__1; -x_84 = lean_alloc_ctor(0, 5, 0); +x_82 = l_Lean_Compiler_LCNF_inlineMatchers___lambda__2___closed__1; +x_83 = 0; +x_84 = lean_alloc_ctor(0, 5, 1); lean_ctor_set(x_84, 0, x_8); -lean_ctor_set(x_84, 1, x_82); +lean_ctor_set(x_84, 1, x_81); lean_ctor_set(x_84, 2, x_37); -lean_ctor_set(x_84, 3, x_83); +lean_ctor_set(x_84, 3, x_82); lean_ctor_set(x_84, 4, x_63); -x_85 = lean_box(x_2); -x_86 = lean_apply_6(x_65, x_84, x_85, x_3, x_4, x_5, x_64); -return x_86; +lean_ctor_set_uint8(x_84, sizeof(void*)*5, x_83); +x_85 = lean_apply_6(x_65, x_84, x_2, x_3, x_4, x_5, x_64); +return x_85; } } else { -uint8_t x_87; +uint8_t x_86; lean_dec(x_37); lean_dec(x_19); lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_87 = !lean_is_exclusive(x_62); -if (x_87 == 0) +lean_dec(x_2); +x_86 = !lean_is_exclusive(x_62); +if (x_86 == 0) { return x_62; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; -x_88 = lean_ctor_get(x_62, 0); -x_89 = lean_ctor_get(x_62, 1); -lean_inc(x_89); +lean_object* x_87; lean_object* x_88; lean_object* x_89; +x_87 = lean_ctor_get(x_62, 0); +x_88 = lean_ctor_get(x_62, 1); lean_inc(x_88); +lean_inc(x_87); lean_dec(x_62); -x_90 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_89); -return x_90; +x_89 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_89, 0, x_87); +lean_ctor_set(x_89, 1, x_88); +return x_89; } } } else { -uint8_t x_91; +uint8_t x_90; lean_dec(x_37); lean_dec(x_33); lean_dec(x_19); @@ -3161,29 +3166,30 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_91 = !lean_is_exclusive(x_55); -if (x_91 == 0) +lean_dec(x_2); +x_90 = !lean_is_exclusive(x_55); +if (x_90 == 0) { return x_55; } else { -lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_92 = lean_ctor_get(x_55, 0); -x_93 = lean_ctor_get(x_55, 1); -lean_inc(x_93); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_55, 0); +x_92 = lean_ctor_get(x_55, 1); lean_inc(x_92); +lean_inc(x_91); lean_dec(x_55); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -return x_94; +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; } } } else { -uint8_t x_95; +uint8_t x_94; lean_dec(x_37); lean_dec(x_33); lean_dec(x_19); @@ -3191,29 +3197,30 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_95 = !lean_is_exclusive(x_52); -if (x_95 == 0) +lean_dec(x_2); +x_94 = !lean_is_exclusive(x_52); +if (x_94 == 0) { return x_52; } else { -lean_object* x_96; lean_object* x_97; lean_object* x_98; -x_96 = lean_ctor_get(x_52, 0); -x_97 = lean_ctor_get(x_52, 1); -lean_inc(x_97); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_52, 0); +x_96 = lean_ctor_get(x_52, 1); lean_inc(x_96); +lean_inc(x_95); lean_dec(x_52); -x_98 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_98, 0, x_96); -lean_ctor_set(x_98, 1, x_97); -return x_98; +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } else { -uint8_t x_99; +uint8_t x_98; lean_dec(x_37); lean_dec(x_33); lean_dec(x_19); @@ -3221,29 +3228,30 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_99 = !lean_is_exclusive(x_49); -if (x_99 == 0) +lean_dec(x_2); +x_98 = !lean_is_exclusive(x_49); +if (x_98 == 0) { return x_49; } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_49, 0); -x_101 = lean_ctor_get(x_49, 1); -lean_inc(x_101); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_49, 0); +x_100 = lean_ctor_get(x_49, 1); lean_inc(x_100); +lean_inc(x_99); lean_dec(x_49); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_100); -lean_ctor_set(x_102, 1, x_101); -return x_102; +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_103; +uint8_t x_102; lean_dec(x_37); lean_dec(x_33); lean_dec(x_19); @@ -3251,29 +3259,30 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_103 = !lean_is_exclusive(x_45); -if (x_103 == 0) +lean_dec(x_2); +x_102 = !lean_is_exclusive(x_45); +if (x_102 == 0) { return x_45; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_45, 0); -x_105 = lean_ctor_get(x_45, 1); -lean_inc(x_105); +lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_103 = lean_ctor_get(x_45, 0); +x_104 = lean_ctor_get(x_45, 1); lean_inc(x_104); +lean_inc(x_103); lean_dec(x_45); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; +x_105 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_105, 0, x_103); +lean_ctor_set(x_105, 1, x_104); +return x_105; } } } else { -uint8_t x_107; +uint8_t x_106; lean_dec(x_37); lean_dec(x_33); lean_dec(x_19); @@ -3281,29 +3290,30 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_107 = !lean_is_exclusive(x_40); -if (x_107 == 0) +lean_dec(x_2); +x_106 = !lean_is_exclusive(x_40); +if (x_106 == 0) { return x_40; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_40, 0); -x_109 = lean_ctor_get(x_40, 1); -lean_inc(x_109); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_40, 0); +x_108 = lean_ctor_get(x_40, 1); lean_inc(x_108); +lean_inc(x_107); lean_dec(x_40); -x_110 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_110, 0, x_108); -lean_ctor_set(x_110, 1, x_109); -return x_110; +x_109 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_109, 0, x_107); +lean_ctor_set(x_109, 1, x_108); +return x_109; } } } else { -uint8_t x_111; +uint8_t x_110; lean_dec(x_33); lean_dec(x_27); lean_dec(x_19); @@ -3311,23 +3321,24 @@ lean_dec(x_8); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_111 = !lean_is_exclusive(x_36); -if (x_111 == 0) +lean_dec(x_2); +x_110 = !lean_is_exclusive(x_36); +if (x_110 == 0) { return x_36; } else { -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_36, 0); -x_113 = lean_ctor_get(x_36, 1); -lean_inc(x_113); +lean_object* x_111; lean_object* x_112; lean_object* x_113; +x_111 = lean_ctor_get(x_36, 0); +x_112 = lean_ctor_get(x_36, 1); lean_inc(x_112); +lean_inc(x_111); lean_dec(x_36); -x_114 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_114, 0, x_112); -lean_ctor_set(x_114, 1, x_113); -return x_114; +x_113 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_113, 0, x_111); +lean_ctor_set(x_113, 1, x_112); +return x_113; } } } @@ -3338,24 +3349,13 @@ return x_114; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___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: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___spec__1(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_throwError___at_Lean_Compiler_LCNF_toDecl___spec__1(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_toDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_toDecl(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; +return x_7; } } lean_object* initialize_Init(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c index 1bd65c558a..c1774c45cd 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/ToLCNF.c @@ -17,65 +17,60 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_lctx___default; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__4; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_toAny___default; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__9; size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__8; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_erase_macro_scopes(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); +lean_object* l_Lean_Expr_lam___override(lean_object*, lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_Compiler_LCNF_anyTypeExpr; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___closed__4; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateParamImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__9; uint8_t lean_is_marked_borrowed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__21; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); -lean_object* l_Lean_Compiler_LCNF_mkLcCast(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkLcCast(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__4; lean_object* l_Array_append___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_lctx___default___closed__1; extern lean_object* l_Lean_noConfusionExt; static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___closed__2; -lean_object* l_Lean_Compiler_LCNF_mkParam(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkParam(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__13; lean_object* l_Lean_Compiler_LCNF_CasesInfo_numAlts(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_mk_let_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_erase___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_cache___default___closed__1; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2___closed__2; LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1(lean_object*, lean_object*); @@ -86,25 +81,24 @@ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1 lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__4(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1___closed__4; uint8_t l_Lean_isCasesOnRecursor(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement; -lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__8___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkCasesResultType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__8(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__22; @@ -114,28 +108,26 @@ lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*) lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__3(lean_object*, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__3; +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___lambda__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__6; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_ToLCNF_isLCProof(lean_object*); static lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5___closed__3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_right(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__4___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_ReplaceImpl_replaceUnsafe(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_lctx___default___closed__4; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_Param_toExpr(lean_object*); lean_object* l___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_updateAltCodeImp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAtCollisionNodeAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__4(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__6; lean_object* l_Lean_Meta_inferType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -143,112 +135,100 @@ uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___lambda__1___closed__1; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__3; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_levelZero; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__12; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__1(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_HashMap_insert___at_Lean_Compiler_LCNF_addFVarSubst___spec__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); lean_object* l_Lean_mkAppN(lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_ToLCNF_State_isTypeFormerTypeCache___default___spec__1___boxed(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_Code_inferParamType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* lean_expr_lower_loose_bvars(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_getCollisionNodeSize___rarg(lean_object*); lean_object* l_Lean_MapDeclarationExtension_find_x3f___rarg(lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_erasedExpr; LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseFunDecl(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_Compiler_LCNF_ToLCNF_bindCases___spec__1___boxed(lean_object*, lean_object*); uint8_t l_Lean_Name_hasMacroScopes(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_inheritedTraceOptions; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__11; uint8_t l_Lean_RBNode_isBlack___rarg(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); lean_object* l_Lean_RBNode_appendTrees___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__19; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnf___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__16; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__6(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__7; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_isTypeFormerTypeCache___default; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_replaceExprFVars(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__11; LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Compiler_LCNF_ToLCNF_etaExpandN___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedProjectionFunctionInfo; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_inferType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__6___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_instInhabited___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_typeCache___default; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___closed__1; lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAux___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__4(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1(size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Expr_instHashableExpr; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__17; uint64_t l_Lean_Expr_hash(lean_object*); @@ -257,28 +237,25 @@ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__8; static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1___closed__3; lean_object* l_Lean_Expr_sort___override(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__8(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__4; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___closed__1; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__7; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__1; -lean_object* l_Lean_Compiler_LCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_toLCNFType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_shift_left(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_InfoCacheKey_instHashableInfoCacheKey___boxed(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__5; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Compiler_LCNF_isPredicateType(lean_object*); static lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1___closed__1; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__6(lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_instInhabitedExpr; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___closed__3; @@ -287,7 +264,7 @@ LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_ToLCNF_State_t lean_object* l_Lean_Core_instantiateValueLevelParams(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10___closed__2; size_t lean_usize_modn(size_t, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Array_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_object*); @@ -296,48 +273,46 @@ LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLC LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_RBNode_findCore___at_Lean_Compiler_LCNF_CompilerM_codeBind_go___spec__1(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_getCasesInfo_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1___closed__3; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___closed__3; size_t lean_usize_mul(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_bvar___override(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__3; -lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updateFunDeclImp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_isTypeFormerType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__2; -lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_getBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__2(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__2(lean_object*, lean_object*); lean_object* l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___lambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1; uint8_t l_Lean_Expr_isLambda(lean_object*); lean_object* l_instBEqProd___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_replace___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__8(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_toCtorIfLit(lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findFunDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_Compiler_LCNF_ToLCNF_bindCases___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1(lean_object*, size_t, size_t, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l_Lean_BinderInfo_isImplicit(uint8_t); +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_land(size_t, size_t); extern lean_object* l_Lean_projectionFnInfoExt; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(lean_object*, lean_object*); extern lean_object* l_Lean_Compiler_LCNF_builtinRuntimeTypes; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___boxed(lean_object*, lean_object*); @@ -346,56 +321,49 @@ lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__1; static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__2; LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_find_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_lctx___default___closed__5; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___closed__5; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insert___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__1(lean_object*, lean_object*, lean_object*); lean_object* lean_local_ctx_mk_local_decl(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_List_elem___at_Lean_NameHashSet_insert___spec__2(lean_object*, lean_object*); lean_object* l_Lean_Expr_fvar___override(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +size_t lean_ptr_addr(lean_object*); lean_object* l___private_Lean_Data_HashMap_0__Lean_numBucketsForCapacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Compiler_LCNF_ToLCNF_etaExpandN___spec__1(lean_object*); lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Expr_eta(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___closed__6; uint8_t lean_expr_eqv(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_find_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__7(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_ToLCNF_State_isTypeFormerTypeCache___default___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__3___boxed(lean_object*, lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_AltCore_getCode(lean_object*); -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__12; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_eraseCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___closed__4; extern lean_object* l_Lean_Core_instMonadCoreM; uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_object*, lean_object*); @@ -403,30 +371,29 @@ static lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_vi static lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_lctx___default___closed__3; uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); uint8_t l_Lean_Compiler_LCNF_compatibleTypes(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkFreshBinderName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_LCtx_toLocalContext(lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__3(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___closed__5; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__6; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_AssocList_foldlM___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__5(lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_findLetDecl_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_ofSubarray___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Compiler_LCNF_getCtorArity_x3f(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_mul(lean_object*, lean_object*); lean_object* l_Lean_Name_getPrefix(lean_object*); @@ -435,12 +402,11 @@ LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at___private_Lean_Compiler_LCNF uint8_t l_Lean_Expr_isFVar(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__5; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_lctx___default___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__20; lean_object* l_Lean_PersistentHashMap_mkEmptyEntries(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_app___override(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__5; lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -461,25 +427,23 @@ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__5; LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLcProof(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__13; -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_TagDeclarationExtension_isTagged(lean_object*, lean_object*, lean_object*); lean_object* lean_mk_array(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +uint8_t l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(uint8_t, uint8_t); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___closed__6; static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10___closed__1; extern lean_object* l_Lean_Expr_instBEqExpr; -lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxFunDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__14; static lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5___closed__4; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__2; LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__6(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLcProof___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_proj___override(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -489,20 +453,18 @@ LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at___private_Lean_Compiler_ static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__15; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__3; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2___closed__1; -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Compiler_LCNF_mkAuxParam(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__1; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__1; LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__2___closed__3; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_isLCProof___closed__2; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMapImp_expand___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_getAppFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_del___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___closed__1; @@ -516,44 +478,41 @@ static lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___sp LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___closed__3; -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__5; lean_object* lean_usize_to_nat(size_t); lean_object* l_Lean_Meta_isProp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2___closed__4; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_indentExpr(lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__10; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___closed__1; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__3; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec___closed__1; -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Expr_isConstructorApp_x3f(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1___closed__1; static size_t l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__2___closed__2; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentHashMap_mkCollisionNode___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___closed__7; static lean_object* l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__6; -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_State_seq___default; lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___closed__7; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___closed__2; -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__9; LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Compiler_LCNF_ToLCNF_State_typeCache___default___spec__1(lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_isLCProof___closed__1() { _start: { @@ -676,7 +635,7 @@ x_1 = l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__5; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; @@ -829,14 +788,13 @@ return x_38; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_findFun_x3f(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__1(lean_object* x_1, lean_object* x_2) { @@ -1042,7 +1000,7 @@ x_4 = l_Lean_RBNode_setBlack___rarg(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -3512,7 +3470,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -3523,6 +3481,7 @@ lean_object* x_12; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_12 = lean_alloc_ctor(0, 2, 0); @@ -3549,6 +3508,7 @@ x_19 = lean_ctor_get(x_13, 2); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_20 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_19, x_5, x_6, x_7, x_8, x_9, x_10); @@ -3579,6 +3539,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_27 = !lean_is_exclusive(x_20); @@ -3614,6 +3575,7 @@ lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_34 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_33, x_5, x_6, x_7, x_8, x_9, x_10); @@ -3646,6 +3608,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_42 = lean_ctor_get(x_34, 0); @@ -3682,6 +3645,7 @@ x_47 = lean_ctor_get(x_13, 0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_48 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_47, x_5, x_6, x_7, x_8, x_9, x_10); @@ -3710,6 +3674,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_55 = !lean_is_exclusive(x_48); @@ -3741,6 +3706,7 @@ lean_dec(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_60 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_59, x_5, x_6, x_7, x_8, x_9, x_10); @@ -3769,6 +3735,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_68 = lean_ctor_get(x_60, 0); @@ -3871,7 +3838,7 @@ lean_ctor_set(x_5, 7, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -3948,7 +3915,7 @@ return x_32; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -4147,7 +4114,7 @@ return x_61; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -4341,7 +4308,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(lean_object* x_1, lean_object* x_2, 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: { switch (lean_obj_tag(x_2)) { @@ -4532,6 +4499,7 @@ x_73 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_74 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_72, x_73, x_4, x_5, x_6, x_7, x_69); if (lean_obj_tag(x_74) == 0) { @@ -4651,6 +4619,7 @@ lean_free_object(x_2); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_106 = !lean_is_exclusive(x_74); @@ -4682,6 +4651,7 @@ lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_110 = lean_ctor_get(x_57, 0); @@ -4744,6 +4714,7 @@ x_130 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_131 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_129, x_130, x_4, x_5, x_6, x_7, x_126); if (lean_obj_tag(x_131) == 0) { @@ -4857,6 +4828,7 @@ lean_free_object(x_2); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_160 = lean_ctor_get(x_131, 0); @@ -4890,6 +4862,7 @@ lean_dec(x_22); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_164 = lean_ctor_get(x_114, 0); @@ -4922,6 +4895,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_167 = !lean_is_exclusive(x_27); @@ -5126,6 +5100,7 @@ x_232 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_233 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_231, x_232, x_4, x_5, x_6, x_7, x_228); if (lean_obj_tag(x_233) == 0) { @@ -5238,6 +5213,7 @@ lean_dec(x_185); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_263 = lean_ctor_get(x_233, 0); @@ -5271,6 +5247,7 @@ lean_dec(x_181); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_267 = lean_ctor_get(x_216, 0); @@ -5305,6 +5282,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_271 = lean_ctor_get(x_186, 0); @@ -5483,6 +5461,7 @@ lean_inc(x_306); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_307 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_306, x_3, x_4, x_5, x_6, x_7, x_8); @@ -5499,6 +5478,7 @@ lean_inc(x_310); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_308); lean_inc(x_310); x_311 = l_Lean_Compiler_LCNF_Code_inferParamType(x_310, x_308, x_4, x_5, x_6, x_7, x_309); @@ -5582,6 +5562,7 @@ lean_dec(x_304); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_327 = !lean_is_exclusive(x_311); @@ -5613,6 +5594,7 @@ lean_dec(x_304); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_331 = !lean_is_exclusive(x_307); @@ -5648,6 +5630,7 @@ lean_inc(x_337); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_338 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_337, x_3, x_4, x_5, x_6, x_7, x_8); @@ -5664,6 +5647,7 @@ lean_inc(x_341); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_339); lean_inc(x_341); x_342 = l_Lean_Compiler_LCNF_Code_inferParamType(x_341, x_339, x_4, x_5, x_6, x_7, x_340); @@ -5745,6 +5729,7 @@ lean_dec(x_335); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_358 = lean_ctor_get(x_342, 0); @@ -5777,6 +5762,7 @@ lean_dec(x_335); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_362 = lean_ctor_get(x_338, 0); @@ -5822,6 +5808,7 @@ x_372 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_373 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7(x_1, x_371, x_372, x_369, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_373) == 0) @@ -5852,6 +5839,7 @@ x_380 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8( lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_381 = !lean_is_exclusive(x_380); if (x_381 == 0) @@ -5881,6 +5869,7 @@ lean_dec(x_367); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_385 = !lean_is_exclusive(x_373); if (x_385 == 0) @@ -5908,6 +5897,7 @@ lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_389 = lean_ctor_get(x_2, 0); lean_inc(x_389); @@ -5932,6 +5922,7 @@ lean_object* x_396; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_396 = lean_alloc_ctor(0, 2, 0); @@ -5973,84 +5964,66 @@ return x_3; LEAN_EXPORT lean_object* l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); +x_13 = l_Subarray_forInUnsafe_loop___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__4(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); -return x_14; +x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__7(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_bindCases_go___spec__8(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -return x_12; +return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_5); lean_dec(x_4); -return x_12; +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { uint8_t x_11; @@ -6061,6 +6034,7 @@ lean_object* x_12; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_12 = lean_alloc_ctor(0, 2, 0); @@ -6078,6 +6052,7 @@ x_16 = l_Lean_Compiler_LCNF_AltCore_getCode(x_13); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_1); x_17 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go(x_1, x_16, x_5, x_6, x_7, x_8, x_9, x_10); @@ -6106,6 +6081,7 @@ lean_dec(x_13); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_25 = !lean_is_exclusive(x_17); @@ -6130,7 +6106,7 @@ return x_28; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; @@ -6145,25 +6121,13 @@ return x_12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -size_t x_11; size_t x_12; uint8_t x_13; lean_object* x_14; +size_t x_11; size_t x_12; lean_object* x_13; x_11 = lean_unbox_usize(x_2); lean_dec(x_2); x_12 = lean_unbox_usize(x_3); lean_dec(x_3); -x_13 = lean_unbox(x_6); -lean_dec(x_6); -x_14 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1(x_1, x_11, x_12, x_4, x_5, x_13, x_7, x_8, x_9, x_10); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts___spec__1(x_1, x_11, x_12, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; } } LEAN_EXPORT lean_object* l_Lean_RBNode_fold___at_Lean_Compiler_LCNF_ToLCNF_bindCases___spec__1(lean_object* x_1, lean_object* x_2) { @@ -6190,7 +6154,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases(lean_object* x_1, 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; @@ -6217,6 +6181,7 @@ lean_dec(x_16); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_17); lean_inc(x_1); x_19 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(x_1, x_11, x_17, x_3, x_4, x_5, x_6, x_18); @@ -6323,6 +6288,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_43 = !lean_is_exclusive(x_19); if (x_43 == 0) @@ -6368,6 +6334,7 @@ lean_dec(x_53); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_54); lean_inc(x_1); x_56 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_visitAlts(x_1, x_49, x_54, x_3, x_4, x_5, x_6, x_55); @@ -6467,6 +6434,7 @@ lean_dec(x_47); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_77 = lean_ctor_get(x_56, 0); lean_inc(x_77); @@ -6501,17 +6469,7 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_bindCases___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_bindCases(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -6661,7 +6619,7 @@ x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_63; uint8_t x_64; @@ -6673,6 +6631,7 @@ lean_object* x_65; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); x_65 = lean_alloc_ctor(0, 2, 0); @@ -6895,6 +6854,7 @@ x_83 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__11; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_84 = l_Lean_Compiler_LCNF_mkAuxJpDecl_x27(x_68, x_3, x_83, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_84) == 0) { @@ -6907,6 +6867,7 @@ lean_dec(x_84); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); x_87 = l_Lean_Compiler_LCNF_ToLCNF_bindCases(x_85, x_69, x_4, x_5, x_6, x_7, x_86); if (lean_obj_tag(x_87) == 0) { @@ -6928,6 +6889,7 @@ lean_dec(x_67); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_91 = !lean_is_exclusive(x_87); if (x_91 == 0) @@ -6957,6 +6919,7 @@ lean_dec(x_67); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_95 = !lean_is_exclusive(x_84); if (x_95 == 0) @@ -6987,6 +6950,7 @@ lean_dec(x_9); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_10 = l_Lean_Compiler_LCNF_Code_inferType(x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_10) == 0) @@ -7024,6 +6988,7 @@ lean_dec(x_19); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_23 = lean_alloc_ctor(6, 1, 0); lean_ctor_set(x_23, 0, x_11); lean_ctor_set(x_13, 0, x_23); @@ -7044,6 +7009,7 @@ lean_dec(x_19); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_26 = lean_alloc_ctor(6, 1, 0); lean_ctor_set(x_26, 0, x_11); lean_ctor_set(x_13, 0, x_26); @@ -7062,6 +7028,7 @@ x_30 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___s lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_19); x_31 = !lean_is_exclusive(x_30); if (x_31 == 0) @@ -7115,6 +7082,7 @@ lean_dec(x_40); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_44 = lean_alloc_ctor(6, 1, 0); lean_ctor_set(x_44, 0, x_11); x_45 = lean_alloc_ctor(0, 2, 0); @@ -7137,6 +7105,7 @@ lean_dec(x_40); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_48 = lean_alloc_ctor(6, 1, 0); lean_ctor_set(x_48, 0, x_11); x_49 = lean_alloc_ctor(0, 2, 0); @@ -7156,6 +7125,7 @@ x_53 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___s lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_40); x_54 = lean_ctor_get(x_53, 1); lean_inc(x_54); @@ -7187,6 +7157,7 @@ uint8_t x_58; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); @@ -7215,32 +7186,21 @@ return x_61; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_2); lean_dec(x_2); x_11 = lean_unbox_usize(x_3); lean_dec(x_3); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1(x_1, x_10, x_11, x_4, x_12, x_6, x_7, x_8, x_9); +x_12 = l_Array_foldlMUnsafe_fold___at_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___spec__1(x_1, x_10, x_11, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); -return x_13; +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { if (lean_obj_tag(x_2) == 1) @@ -7262,6 +7222,7 @@ x_12 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_13 = l_Lean_Compiler_LCNF_mkAuxLetDecl(x_2, x_12, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_13) == 0) { @@ -7290,6 +7251,7 @@ uint8_t x_22; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_1); x_22 = !lean_is_exclusive(x_13); if (x_22 == 0) @@ -7313,16 +7275,6 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_seqToCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_seqToCode(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_State_lctx___default___closed__1() { _start: { @@ -7605,7 +7557,7 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { 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; @@ -7720,16 +7672,15 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -7753,15 +7704,13 @@ return x_14; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toCode___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toCode(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_toCode(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -7856,18 +7805,17 @@ return x_35; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_pushElement___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_pushElement(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_pushElement(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(lean_object* x_1, 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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -7915,18 +7863,17 @@ return x_21; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(lean_object* x_1, lean_object* x_2, 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; @@ -7943,6 +7890,7 @@ lean_dec(x_10); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_1); x_13 = l_Lean_Compiler_LCNF_inferType(x_1, x_4, x_5, x_6, x_7, x_12); if (lean_obj_tag(x_13) == 0) @@ -7966,6 +7914,7 @@ x_20 = l_Lean_Compiler_LCNF_ToLCNF_pushElement(x_19, x_3, x_4, x_5, x_6, x_7, x_ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_21 = !lean_is_exclusive(x_20); if (x_21 == 0) { @@ -8002,6 +7951,7 @@ lean_dec(x_11); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_1); x_29 = !lean_is_exclusive(x_13); if (x_29 == 0) @@ -8029,6 +7979,7 @@ lean_object* x_33; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_2); x_33 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_33, 0, x_1); @@ -8040,12 +7991,10 @@ return x_33; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_3); -return x_10; +return x_9; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_run___rarg___closed__1() { @@ -8067,10 +8016,10 @@ lean_ctor_set(x_6, 5, x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___rarg(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -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_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_7 = lean_st_ref_get(x_5, x_6); x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); @@ -8082,68 +8031,67 @@ lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); -x_13 = lean_box(x_2); lean_inc(x_5); lean_inc(x_11); -x_14 = lean_apply_6(x_1, x_11, x_13, x_3, x_4, x_5, x_12); -if (lean_obj_tag(x_14) == 0) +x_13 = lean_apply_6(x_1, x_11, x_2, x_3, x_4, x_5, x_12); +if (lean_obj_tag(x_13) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; -x_15 = lean_ctor_get(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_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); -lean_inc(x_16); -lean_dec(x_14); -x_17 = lean_st_ref_get(x_5, x_16); +lean_dec(x_13); +x_16 = lean_st_ref_get(x_5, x_15); lean_dec(x_5); -x_18 = lean_ctor_get(x_17, 1); -lean_inc(x_18); -lean_dec(x_17); -x_19 = lean_st_ref_get(x_11, x_18); +x_17 = lean_ctor_get(x_16, 1); +lean_inc(x_17); +lean_dec(x_16); +x_18 = lean_st_ref_get(x_11, x_17); lean_dec(x_11); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) { -lean_object* x_21; -x_21 = lean_ctor_get(x_19, 0); -lean_dec(x_21); -lean_ctor_set(x_19, 0, x_15); -return x_19; +lean_object* x_20; +x_20 = lean_ctor_get(x_18, 0); +lean_dec(x_20); +lean_ctor_set(x_18, 0, x_14); +return x_18; } else { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_19, 1); -lean_inc(x_22); -lean_dec(x_19); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_15); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_18, 1); +lean_inc(x_21); +lean_dec(x_18); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_14); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } else { -uint8_t x_24; +uint8_t x_23; lean_dec(x_11); lean_dec(x_5); -x_24 = !lean_is_exclusive(x_14); -if (x_24 == 0) +x_23 = !lean_is_exclusive(x_13); +if (x_23 == 0) { -return x_14; +return x_13; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_25 = lean_ctor_get(x_14, 0); -x_26 = lean_ctor_get(x_14, 1); -lean_inc(x_26); +lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_24 = lean_ctor_get(x_13, 0); +x_25 = lean_ctor_get(x_13, 1); lean_inc(x_25); -lean_dec(x_14); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_25); -lean_ctor_set(x_27, 1, x_26); -return x_27; +lean_inc(x_24); +lean_dec(x_13); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_24); +lean_ctor_set(x_26, 1, x_25); +return x_26; } } } @@ -8152,20 +8100,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_run___rarg___boxed), 6, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_run___rarg), 6, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_run___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; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ToLCNF_run___rarg(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} LEAN_EXPORT uint8_t l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType_quick(lean_object* x_1, lean_object* x_2) { _start: { @@ -8652,7 +8590,7 @@ lean_dec(x_2); return x_9; } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; 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; @@ -8826,7 +8764,7 @@ return x_63; } } } -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(lean_object* x_1, 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; uint8_t x_9; @@ -8848,6 +8786,7 @@ uint8_t x_14; lean_object* x_15; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_14 = 0; @@ -8861,6 +8800,7 @@ uint8_t x_16; lean_object* x_17; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_16 = 1; @@ -8895,6 +8835,7 @@ lean_free_object(x_20); x_26 = lean_box(0); x_27 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(x_1, x_26, x_2, x_3, x_4, x_5, x_6, x_23); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_27; } @@ -8904,6 +8845,7 @@ lean_object* x_28; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_28 = lean_ctor_get(x_25, 0); @@ -8932,6 +8874,7 @@ lean_object* x_33; lean_object* x_34; x_33 = lean_box(0); x_34 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(x_1, x_33, x_2, x_3, x_4, x_5, x_6, x_30); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_34; } @@ -8941,6 +8884,7 @@ lean_object* x_35; lean_object* x_36; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_35 = lean_ctor_get(x_32, 0); @@ -8974,6 +8918,7 @@ uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_41 = 0; @@ -8989,6 +8934,7 @@ uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_44 = 1; @@ -9030,6 +8976,7 @@ lean_dec(x_52); x_55 = lean_box(0); x_56 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(x_1, x_55, x_2, x_3, x_4, x_5, x_6, x_51); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_56; } @@ -9039,6 +8986,7 @@ lean_object* x_57; lean_object* x_58; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_57 = lean_ctor_get(x_54, 0); @@ -9102,27 +9050,16 @@ return x_3; LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; @@ -9158,7 +9095,7 @@ lean_dec(x_19); x_22 = !lean_is_exclusive(x_20); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_23 = lean_ctor_get(x_20, 4); lean_dec(x_23); x_24 = l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__1; @@ -9167,443 +9104,441 @@ x_25 = lean_st_ref_set(x_2, x_20, x_21); x_26 = lean_ctor_get(x_25, 1); lean_inc(x_26); lean_dec(x_25); -x_27 = lean_box(x_3); lean_inc(x_6); lean_inc(x_2); -x_28 = lean_apply_6(x_1, x_2, x_27, x_4, x_5, x_6, x_26); -if (lean_obj_tag(x_28) == 0) +x_27 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, x_26); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; -x_29 = lean_ctor_get(x_28, 0); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; +x_28 = lean_ctor_get(x_27, 0); +lean_inc(x_28); +x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_st_ref_get(x_6, x_30); -x_32 = lean_ctor_get(x_31, 1); -lean_inc(x_32); -lean_dec(x_31); -x_33 = lean_st_ref_get(x_2, x_32); -x_34 = lean_ctor_get(x_33, 0); +lean_dec(x_27); +x_30 = lean_st_ref_get(x_6, x_29); +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); +x_32 = lean_st_ref_get(x_2, x_31); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -x_35 = lean_ctor_get(x_33, 1); -lean_inc(x_35); -lean_dec(x_33); -x_36 = lean_st_ref_get(x_6, x_35); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_st_ref_get(x_2, x_37); -x_39 = lean_ctor_get(x_38, 0); +lean_dec(x_32); +x_35 = lean_st_ref_get(x_6, x_34); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = lean_st_ref_get(x_2, x_36); +x_38 = lean_ctor_get(x_37, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_37, 1); lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +lean_dec(x_37); +x_40 = lean_ctor_get(x_33, 2); lean_inc(x_40); -lean_dec(x_38); -x_41 = lean_ctor_get(x_34, 2); -lean_inc(x_41); -lean_dec(x_34); -x_42 = !lean_is_exclusive(x_39); -if (x_42 == 0) +lean_dec(x_33); +x_41 = !lean_is_exclusive(x_38); +if (x_41 == 0) { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; -x_43 = lean_ctor_get(x_39, 5); +lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_42 = lean_ctor_get(x_38, 5); +lean_dec(x_42); +x_43 = lean_ctor_get(x_38, 4); lean_dec(x_43); -x_44 = lean_ctor_get(x_39, 4); +x_44 = lean_ctor_get(x_38, 2); lean_dec(x_44); -x_45 = lean_ctor_get(x_39, 2); +x_45 = lean_ctor_get(x_38, 1); lean_dec(x_45); -x_46 = lean_ctor_get(x_39, 1); +x_46 = lean_ctor_get(x_38, 0); lean_dec(x_46); -x_47 = lean_ctor_get(x_39, 0); +lean_ctor_set(x_38, 5, x_16); +lean_ctor_set(x_38, 4, x_15); +lean_ctor_set(x_38, 2, x_40); +lean_ctor_set(x_38, 1, x_14); +lean_ctor_set(x_38, 0, x_13); +x_47 = lean_st_ref_get(x_6, x_39); +lean_dec(x_6); +x_48 = lean_ctor_get(x_47, 1); +lean_inc(x_48); lean_dec(x_47); -lean_ctor_set(x_39, 5, x_16); -lean_ctor_set(x_39, 4, x_15); -lean_ctor_set(x_39, 2, x_41); -lean_ctor_set(x_39, 1, x_14); -lean_ctor_set(x_39, 0, x_13); -x_48 = lean_st_ref_get(x_6, x_40); -lean_dec(x_6); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); -x_50 = lean_st_ref_set(x_2, x_39, x_49); +x_49 = lean_st_ref_set(x_2, x_38, x_48); lean_dec(x_2); -x_51 = !lean_is_exclusive(x_50); -if (x_51 == 0) +x_50 = !lean_is_exclusive(x_49); +if (x_50 == 0) { -lean_object* x_52; -x_52 = lean_ctor_get(x_50, 0); -lean_dec(x_52); -lean_ctor_set(x_50, 0, x_29); -return x_50; +lean_object* x_51; +x_51 = lean_ctor_get(x_49, 0); +lean_dec(x_51); +lean_ctor_set(x_49, 0, x_28); +return x_49; } else { -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_50, 1); -lean_inc(x_53); -lean_dec(x_50); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_29); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_object* x_52; lean_object* x_53; +x_52 = lean_ctor_get(x_49, 1); +lean_inc(x_52); +lean_dec(x_49); +x_53 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_53, 0, x_28); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_55 = lean_ctor_get(x_39, 3); -lean_inc(x_55); -lean_dec(x_39); -x_56 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_56, 0, x_13); -lean_ctor_set(x_56, 1, x_14); -lean_ctor_set(x_56, 2, x_41); -lean_ctor_set(x_56, 3, x_55); -lean_ctor_set(x_56, 4, x_15); -lean_ctor_set(x_56, 5, x_16); -x_57 = lean_st_ref_get(x_6, x_40); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_54 = lean_ctor_get(x_38, 3); +lean_inc(x_54); +lean_dec(x_38); +x_55 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_55, 0, x_13); +lean_ctor_set(x_55, 1, x_14); +lean_ctor_set(x_55, 2, x_40); +lean_ctor_set(x_55, 3, x_54); +lean_ctor_set(x_55, 4, x_15); +lean_ctor_set(x_55, 5, x_16); +x_56 = lean_st_ref_get(x_6, x_39); lean_dec(x_6); -x_58 = lean_ctor_get(x_57, 1); -lean_inc(x_58); -lean_dec(x_57); -x_59 = lean_st_ref_set(x_2, x_56, x_58); +x_57 = lean_ctor_get(x_56, 1); +lean_inc(x_57); +lean_dec(x_56); +x_58 = lean_st_ref_set(x_2, x_55, x_57); lean_dec(x_2); -x_60 = lean_ctor_get(x_59, 1); -lean_inc(x_60); -if (lean_is_exclusive(x_59)) { - lean_ctor_release(x_59, 0); - lean_ctor_release(x_59, 1); - x_61 = x_59; +x_59 = lean_ctor_get(x_58, 1); +lean_inc(x_59); +if (lean_is_exclusive(x_58)) { + lean_ctor_release(x_58, 0); + lean_ctor_release(x_58, 1); + x_60 = x_58; } else { - lean_dec_ref(x_59); - x_61 = lean_box(0); + lean_dec_ref(x_58); + x_60 = lean_box(0); } -if (lean_is_scalar(x_61)) { - x_62 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_60)) { + x_61 = lean_alloc_ctor(0, 2, 0); } else { - x_62 = x_61; + x_61 = x_60; } -lean_ctor_set(x_62, 0, x_29); -lean_ctor_set(x_62, 1, x_60); -return x_62; +lean_ctor_set(x_61, 0, x_28); +lean_ctor_set(x_61, 1, x_59); +return x_61; } } 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; uint8_t x_76; -x_63 = lean_ctor_get(x_28, 0); +lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; uint8_t x_75; +x_62 = lean_ctor_get(x_27, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_27, 1); lean_inc(x_63); -x_64 = lean_ctor_get(x_28, 1); -lean_inc(x_64); -lean_dec(x_28); -x_65 = lean_st_ref_get(x_6, x_64); -x_66 = lean_ctor_get(x_65, 1); -lean_inc(x_66); -lean_dec(x_65); -x_67 = lean_st_ref_get(x_2, x_66); -x_68 = lean_ctor_get(x_67, 0); +lean_dec(x_27); +x_64 = lean_st_ref_get(x_6, x_63); +x_65 = lean_ctor_get(x_64, 1); +lean_inc(x_65); +lean_dec(x_64); +x_66 = lean_st_ref_get(x_2, x_65); +x_67 = lean_ctor_get(x_66, 0); +lean_inc(x_67); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_67, 1); -lean_inc(x_69); -lean_dec(x_67); -x_70 = lean_st_ref_get(x_6, x_69); -x_71 = lean_ctor_get(x_70, 1); -lean_inc(x_71); -lean_dec(x_70); -x_72 = lean_st_ref_get(x_2, x_71); -x_73 = lean_ctor_get(x_72, 0); +lean_dec(x_66); +x_69 = lean_st_ref_get(x_6, x_68); +x_70 = lean_ctor_get(x_69, 1); +lean_inc(x_70); +lean_dec(x_69); +x_71 = lean_st_ref_get(x_2, x_70); +x_72 = lean_ctor_get(x_71, 0); +lean_inc(x_72); +x_73 = lean_ctor_get(x_71, 1); lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); +lean_dec(x_71); +x_74 = lean_ctor_get(x_67, 2); lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_ctor_get(x_68, 2); -lean_inc(x_75); -lean_dec(x_68); -x_76 = !lean_is_exclusive(x_73); -if (x_76 == 0) +lean_dec(x_67); +x_75 = !lean_is_exclusive(x_72); +if (x_75 == 0) { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_77 = lean_ctor_get(x_73, 5); +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; uint8_t x_84; +x_76 = lean_ctor_get(x_72, 5); +lean_dec(x_76); +x_77 = lean_ctor_get(x_72, 4); lean_dec(x_77); -x_78 = lean_ctor_get(x_73, 4); +x_78 = lean_ctor_get(x_72, 2); lean_dec(x_78); -x_79 = lean_ctor_get(x_73, 2); +x_79 = lean_ctor_get(x_72, 1); lean_dec(x_79); -x_80 = lean_ctor_get(x_73, 1); +x_80 = lean_ctor_get(x_72, 0); lean_dec(x_80); -x_81 = lean_ctor_get(x_73, 0); +lean_ctor_set(x_72, 5, x_16); +lean_ctor_set(x_72, 4, x_15); +lean_ctor_set(x_72, 2, x_74); +lean_ctor_set(x_72, 1, x_14); +lean_ctor_set(x_72, 0, x_13); +x_81 = lean_st_ref_get(x_6, x_73); +lean_dec(x_6); +x_82 = lean_ctor_get(x_81, 1); +lean_inc(x_82); lean_dec(x_81); -lean_ctor_set(x_73, 5, x_16); -lean_ctor_set(x_73, 4, x_15); -lean_ctor_set(x_73, 2, x_75); -lean_ctor_set(x_73, 1, x_14); -lean_ctor_set(x_73, 0, x_13); -x_82 = lean_st_ref_get(x_6, x_74); -lean_dec(x_6); -x_83 = lean_ctor_get(x_82, 1); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_st_ref_set(x_2, x_73, x_83); +x_83 = lean_st_ref_set(x_2, x_72, x_82); lean_dec(x_2); -x_85 = !lean_is_exclusive(x_84); -if (x_85 == 0) +x_84 = !lean_is_exclusive(x_83); +if (x_84 == 0) { -lean_object* x_86; -x_86 = lean_ctor_get(x_84, 0); -lean_dec(x_86); -lean_ctor_set_tag(x_84, 1); -lean_ctor_set(x_84, 0, x_63); -return x_84; +lean_object* x_85; +x_85 = lean_ctor_get(x_83, 0); +lean_dec(x_85); +lean_ctor_set_tag(x_83, 1); +lean_ctor_set(x_83, 0, x_62); +return x_83; } else { -lean_object* x_87; lean_object* x_88; -x_87 = lean_ctor_get(x_84, 1); -lean_inc(x_87); -lean_dec(x_84); -x_88 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_88, 0, x_63); -lean_ctor_set(x_88, 1, x_87); -return x_88; +lean_object* x_86; lean_object* x_87; +x_86 = lean_ctor_get(x_83, 1); +lean_inc(x_86); +lean_dec(x_83); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_62); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_89 = lean_ctor_get(x_73, 3); -lean_inc(x_89); -lean_dec(x_73); -x_90 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_90, 0, x_13); -lean_ctor_set(x_90, 1, x_14); -lean_ctor_set(x_90, 2, x_75); -lean_ctor_set(x_90, 3, x_89); -lean_ctor_set(x_90, 4, x_15); -lean_ctor_set(x_90, 5, x_16); -x_91 = lean_st_ref_get(x_6, x_74); +lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; +x_88 = lean_ctor_get(x_72, 3); +lean_inc(x_88); +lean_dec(x_72); +x_89 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_89, 0, x_13); +lean_ctor_set(x_89, 1, x_14); +lean_ctor_set(x_89, 2, x_74); +lean_ctor_set(x_89, 3, x_88); +lean_ctor_set(x_89, 4, x_15); +lean_ctor_set(x_89, 5, x_16); +x_90 = lean_st_ref_get(x_6, x_73); lean_dec(x_6); -x_92 = lean_ctor_get(x_91, 1); -lean_inc(x_92); -lean_dec(x_91); -x_93 = lean_st_ref_set(x_2, x_90, x_92); +x_91 = lean_ctor_get(x_90, 1); +lean_inc(x_91); +lean_dec(x_90); +x_92 = lean_st_ref_set(x_2, x_89, x_91); lean_dec(x_2); -x_94 = lean_ctor_get(x_93, 1); -lean_inc(x_94); -if (lean_is_exclusive(x_93)) { - lean_ctor_release(x_93, 0); - lean_ctor_release(x_93, 1); - x_95 = x_93; +x_93 = lean_ctor_get(x_92, 1); +lean_inc(x_93); +if (lean_is_exclusive(x_92)) { + lean_ctor_release(x_92, 0); + lean_ctor_release(x_92, 1); + x_94 = x_92; } else { - lean_dec_ref(x_93); - x_95 = lean_box(0); + lean_dec_ref(x_92); + x_94 = lean_box(0); } -if (lean_is_scalar(x_95)) { - x_96 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_94)) { + x_95 = lean_alloc_ctor(1, 2, 0); } else { - x_96 = x_95; - lean_ctor_set_tag(x_96, 1); + x_95 = x_94; + lean_ctor_set_tag(x_95, 1); } -lean_ctor_set(x_96, 0, x_63); -lean_ctor_set(x_96, 1, x_94); -return x_96; +lean_ctor_set(x_95, 0, x_62); +lean_ctor_set(x_95, 1, x_93); +return x_95; } } } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_97 = lean_ctor_get(x_20, 0); -x_98 = lean_ctor_get(x_20, 1); -x_99 = lean_ctor_get(x_20, 2); -x_100 = lean_ctor_get(x_20, 3); -x_101 = lean_ctor_get(x_20, 5); -lean_inc(x_101); +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_96 = lean_ctor_get(x_20, 0); +x_97 = lean_ctor_get(x_20, 1); +x_98 = lean_ctor_get(x_20, 2); +x_99 = lean_ctor_get(x_20, 3); +x_100 = lean_ctor_get(x_20, 5); lean_inc(x_100); lean_inc(x_99); lean_inc(x_98); lean_inc(x_97); +lean_inc(x_96); lean_dec(x_20); -x_102 = l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__1; -x_103 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_103, 0, x_97); -lean_ctor_set(x_103, 1, x_98); -lean_ctor_set(x_103, 2, x_99); -lean_ctor_set(x_103, 3, x_100); -lean_ctor_set(x_103, 4, x_102); -lean_ctor_set(x_103, 5, x_101); -x_104 = lean_st_ref_set(x_2, x_103, x_21); -x_105 = lean_ctor_get(x_104, 1); -lean_inc(x_105); -lean_dec(x_104); -x_106 = lean_box(x_3); +x_101 = l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__1; +x_102 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_102, 0, x_96); +lean_ctor_set(x_102, 1, x_97); +lean_ctor_set(x_102, 2, x_98); +lean_ctor_set(x_102, 3, x_99); +lean_ctor_set(x_102, 4, x_101); +lean_ctor_set(x_102, 5, x_100); +x_103 = lean_st_ref_set(x_2, x_102, x_21); +x_104 = lean_ctor_get(x_103, 1); +lean_inc(x_104); +lean_dec(x_103); lean_inc(x_6); lean_inc(x_2); -x_107 = lean_apply_6(x_1, x_2, x_106, x_4, x_5, x_6, x_105); -if (lean_obj_tag(x_107) == 0) +x_105 = lean_apply_6(x_1, x_2, x_3, x_4, x_5, x_6, x_104); +if (lean_obj_tag(x_105) == 0) { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_106 = lean_ctor_get(x_105, 0); +lean_inc(x_106); +x_107 = lean_ctor_get(x_105, 1); +lean_inc(x_107); +lean_dec(x_105); +x_108 = lean_st_ref_get(x_6, x_107); +x_109 = lean_ctor_get(x_108, 1); lean_inc(x_109); -lean_dec(x_107); -x_110 = lean_st_ref_get(x_6, x_109); -x_111 = lean_ctor_get(x_110, 1); +lean_dec(x_108); +x_110 = lean_st_ref_get(x_2, x_109); +x_111 = lean_ctor_get(x_110, 0); lean_inc(x_111); +x_112 = lean_ctor_get(x_110, 1); +lean_inc(x_112); lean_dec(x_110); -x_112 = lean_st_ref_get(x_2, x_111); -x_113 = lean_ctor_get(x_112, 0); -lean_inc(x_113); -x_114 = lean_ctor_get(x_112, 1); +x_113 = lean_st_ref_get(x_6, x_112); +x_114 = lean_ctor_get(x_113, 1); lean_inc(x_114); -lean_dec(x_112); -x_115 = lean_st_ref_get(x_6, x_114); -x_116 = lean_ctor_get(x_115, 1); -lean_inc(x_116); -lean_dec(x_115); -x_117 = lean_st_ref_get(x_2, x_116); -x_118 = lean_ctor_get(x_117, 0); -lean_inc(x_118); -x_119 = lean_ctor_get(x_117, 1); -lean_inc(x_119); -lean_dec(x_117); -x_120 = lean_ctor_get(x_113, 2); -lean_inc(x_120); lean_dec(x_113); -x_121 = lean_ctor_get(x_118, 3); -lean_inc(x_121); -if (lean_is_exclusive(x_118)) { - lean_ctor_release(x_118, 0); - lean_ctor_release(x_118, 1); - lean_ctor_release(x_118, 2); - lean_ctor_release(x_118, 3); - lean_ctor_release(x_118, 4); - lean_ctor_release(x_118, 5); - x_122 = x_118; +x_115 = lean_st_ref_get(x_2, x_114); +x_116 = lean_ctor_get(x_115, 0); +lean_inc(x_116); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_ctor_get(x_111, 2); +lean_inc(x_118); +lean_dec(x_111); +x_119 = lean_ctor_get(x_116, 3); +lean_inc(x_119); +if (lean_is_exclusive(x_116)) { + lean_ctor_release(x_116, 0); + lean_ctor_release(x_116, 1); + lean_ctor_release(x_116, 2); + lean_ctor_release(x_116, 3); + lean_ctor_release(x_116, 4); + lean_ctor_release(x_116, 5); + x_120 = x_116; } else { - lean_dec_ref(x_118); - x_122 = lean_box(0); + lean_dec_ref(x_116); + x_120 = lean_box(0); } -if (lean_is_scalar(x_122)) { - x_123 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_120)) { + x_121 = lean_alloc_ctor(0, 6, 0); } else { - x_123 = x_122; + x_121 = x_120; } -lean_ctor_set(x_123, 0, x_13); -lean_ctor_set(x_123, 1, x_14); -lean_ctor_set(x_123, 2, x_120); -lean_ctor_set(x_123, 3, x_121); -lean_ctor_set(x_123, 4, x_15); -lean_ctor_set(x_123, 5, x_16); -x_124 = lean_st_ref_get(x_6, x_119); +lean_ctor_set(x_121, 0, x_13); +lean_ctor_set(x_121, 1, x_14); +lean_ctor_set(x_121, 2, x_118); +lean_ctor_set(x_121, 3, x_119); +lean_ctor_set(x_121, 4, x_15); +lean_ctor_set(x_121, 5, x_16); +x_122 = lean_st_ref_get(x_6, x_117); lean_dec(x_6); +x_123 = lean_ctor_get(x_122, 1); +lean_inc(x_123); +lean_dec(x_122); +x_124 = lean_st_ref_set(x_2, x_121, x_123); +lean_dec(x_2); x_125 = lean_ctor_get(x_124, 1); lean_inc(x_125); -lean_dec(x_124); -x_126 = lean_st_ref_set(x_2, x_123, x_125); -lean_dec(x_2); -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_128 = x_126; +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; } else { - lean_dec_ref(x_126); - x_128 = lean_box(0); + lean_dec_ref(x_124); + x_126 = lean_box(0); } -if (lean_is_scalar(x_128)) { - x_129 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_126)) { + x_127 = lean_alloc_ctor(0, 2, 0); } else { - x_129 = x_128; + x_127 = x_126; } -lean_ctor_set(x_129, 0, x_108); -lean_ctor_set(x_129, 1, x_127); -return x_129; +lean_ctor_set(x_127, 0, x_106); +lean_ctor_set(x_127, 1, x_125); +return x_127; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_130 = lean_ctor_get(x_107, 0); -lean_inc(x_130); -x_131 = lean_ctor_get(x_107, 1); +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; +x_128 = lean_ctor_get(x_105, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_105, 1); +lean_inc(x_129); +lean_dec(x_105); +x_130 = lean_st_ref_get(x_6, x_129); +x_131 = lean_ctor_get(x_130, 1); lean_inc(x_131); -lean_dec(x_107); -x_132 = lean_st_ref_get(x_6, x_131); -x_133 = lean_ctor_get(x_132, 1); +lean_dec(x_130); +x_132 = lean_st_ref_get(x_2, x_131); +x_133 = lean_ctor_get(x_132, 0); lean_inc(x_133); +x_134 = lean_ctor_get(x_132, 1); +lean_inc(x_134); lean_dec(x_132); -x_134 = lean_st_ref_get(x_2, x_133); -x_135 = lean_ctor_get(x_134, 0); -lean_inc(x_135); -x_136 = lean_ctor_get(x_134, 1); +x_135 = lean_st_ref_get(x_6, x_134); +x_136 = lean_ctor_get(x_135, 1); lean_inc(x_136); -lean_dec(x_134); -x_137 = lean_st_ref_get(x_6, x_136); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_st_ref_get(x_2, x_138); -x_140 = lean_ctor_get(x_139, 0); -lean_inc(x_140); -x_141 = lean_ctor_get(x_139, 1); -lean_inc(x_141); -lean_dec(x_139); -x_142 = lean_ctor_get(x_135, 2); -lean_inc(x_142); lean_dec(x_135); -x_143 = lean_ctor_get(x_140, 3); -lean_inc(x_143); -if (lean_is_exclusive(x_140)) { - lean_ctor_release(x_140, 0); - lean_ctor_release(x_140, 1); - lean_ctor_release(x_140, 2); - lean_ctor_release(x_140, 3); - lean_ctor_release(x_140, 4); - lean_ctor_release(x_140, 5); - x_144 = x_140; +x_137 = lean_st_ref_get(x_2, x_136); +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +lean_dec(x_137); +x_140 = lean_ctor_get(x_133, 2); +lean_inc(x_140); +lean_dec(x_133); +x_141 = lean_ctor_get(x_138, 3); +lean_inc(x_141); +if (lean_is_exclusive(x_138)) { + lean_ctor_release(x_138, 0); + lean_ctor_release(x_138, 1); + lean_ctor_release(x_138, 2); + lean_ctor_release(x_138, 3); + lean_ctor_release(x_138, 4); + lean_ctor_release(x_138, 5); + x_142 = x_138; } else { - lean_dec_ref(x_140); - x_144 = lean_box(0); + lean_dec_ref(x_138); + x_142 = lean_box(0); } -if (lean_is_scalar(x_144)) { - x_145 = lean_alloc_ctor(0, 6, 0); +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(0, 6, 0); } else { - x_145 = x_144; + x_143 = x_142; } -lean_ctor_set(x_145, 0, x_13); -lean_ctor_set(x_145, 1, x_14); -lean_ctor_set(x_145, 2, x_142); -lean_ctor_set(x_145, 3, x_143); -lean_ctor_set(x_145, 4, x_15); -lean_ctor_set(x_145, 5, x_16); -x_146 = lean_st_ref_get(x_6, x_141); +lean_ctor_set(x_143, 0, x_13); +lean_ctor_set(x_143, 1, x_14); +lean_ctor_set(x_143, 2, x_140); +lean_ctor_set(x_143, 3, x_141); +lean_ctor_set(x_143, 4, x_15); +lean_ctor_set(x_143, 5, x_16); +x_144 = lean_st_ref_get(x_6, x_139); lean_dec(x_6); +x_145 = lean_ctor_get(x_144, 1); +lean_inc(x_145); +lean_dec(x_144); +x_146 = lean_st_ref_set(x_2, x_143, x_145); +lean_dec(x_2); x_147 = lean_ctor_get(x_146, 1); lean_inc(x_147); -lean_dec(x_146); -x_148 = lean_st_ref_set(x_2, x_145, x_147); -lean_dec(x_2); -x_149 = lean_ctor_get(x_148, 1); -lean_inc(x_149); -if (lean_is_exclusive(x_148)) { - lean_ctor_release(x_148, 0); - lean_ctor_release(x_148, 1); - x_150 = x_148; +if (lean_is_exclusive(x_146)) { + lean_ctor_release(x_146, 0); + lean_ctor_release(x_146, 1); + x_148 = x_146; } else { - lean_dec_ref(x_148); - x_150 = lean_box(0); + lean_dec_ref(x_146); + x_148 = lean_box(0); } -if (lean_is_scalar(x_150)) { - x_151 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_148)) { + x_149 = lean_alloc_ctor(1, 2, 0); } else { - x_151 = x_150; - lean_ctor_set_tag(x_151, 1); + x_149 = x_148; + lean_ctor_set_tag(x_149, 1); } -lean_ctor_set(x_151, 0, x_130); -lean_ctor_set(x_151, 1, x_149); -return x_151; +lean_ctor_set(x_149, 0, x_128); +lean_ctor_set(x_149, 1, x_147); +return x_149; } } } @@ -9612,20 +9547,10 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope(lean_object* x _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg), 7, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_applyToAny___lambda__1___closed__1() { _start: { @@ -9666,7 +9591,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -9723,15 +9648,14 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_applyToAny___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_applyToAny(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_applyToAny(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_AssocList_find_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNFType___spec__2(lean_object* x_1, lean_object* x_2) { @@ -10106,7 +10030,7 @@ return x_40; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; @@ -10539,16 +10463,15 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNFType___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(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; @@ -10573,17 +10496,16 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(x_1, x_7, x_3, x_4, x_5, x_6); +lean_object* x_7; +x_7 = l_Lean_Compiler_LCNF_ToLCNF_cleanupBinderName(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -return x_8; +lean_dec(x_2); +return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; @@ -10737,16 +10659,15 @@ return x_51; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkParam___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_mkParam(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_ToLCNF_mkParam(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; @@ -10867,18 +10788,17 @@ return x_51; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Lean_Compiler_LCNF_ToLCNF_mkLetDecl(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); -return x_13; +return x_12; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 6) @@ -10963,16 +10883,15 @@ return x_27; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Lean_Compiler_LCNF_ToLCNF_visitLambda_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -return x_11; +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda(lean_object* x_1, 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; @@ -10984,16 +10903,15 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitLambda___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_visitLambda(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_visitLambda(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; uint8_t x_12; @@ -11107,16 +11025,15 @@ return x_35; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda_go(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); -return x_12; +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -11128,13 +11045,12 @@ return x_10; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_mustEtaExpand___closed__1() { @@ -11441,7 +11357,7 @@ x_13 = l_Lean_Meta_mkLambdaFVars(x_2, x_9, x_10, x_11, x_12, x_4, x_5, x_6, x_7, return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -11624,16 +11540,296 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaExpandN___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 6) +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; uint8_t x_6; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_4); +x_5 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +x_6 = l_Lean_BinderInfo_isImplicit(x_5); +if (x_6 == 0) +{ +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_1; +} +else +{ +lean_object* x_7; +lean_dec(x_1); +lean_inc(x_4); +x_7 = l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(x_4); +if (lean_obj_tag(x_7) == 5) +{ +lean_object* x_8; +x_8 = lean_ctor_get(x_7, 1); +lean_inc(x_8); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_9 = lean_ctor_get(x_7, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_eq(x_10, x_11); +lean_dec(x_10); +if (x_12 == 0) +{ +lean_object* x_13; size_t x_14; uint8_t x_15; +lean_dec(x_9); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_13 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_14 = lean_ptr_addr(x_3); +x_15 = lean_usize_dec_eq(x_14, x_14); +if (x_15 == 0) +{ +lean_object* x_16; +lean_dec(x_13); +lean_dec(x_4); +x_16 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_16; +} +else +{ +size_t x_17; size_t x_18; uint8_t x_19; +x_17 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_18 = lean_ptr_addr(x_7); +x_19 = lean_usize_dec_eq(x_17, x_18); +if (x_19 == 0) +{ +lean_object* x_20; +lean_dec(x_13); +x_20 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_20; +} +else +{ +uint8_t x_21; +x_21 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_5, x_5); +if (x_21 == 0) +{ +lean_object* x_22; +lean_dec(x_13); +x_22 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_22; +} +else +{ +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +return x_13; +} +} +} +} +else +{ +uint8_t x_23; +x_23 = lean_expr_has_loose_bvar(x_9, x_11); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; +lean_dec(x_7); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_expr_lower_loose_bvars(x_9, x_24, x_24); +lean_dec(x_9); +return x_25; +} +else +{ +lean_object* x_26; size_t x_27; uint8_t x_28; +lean_dec(x_9); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_26 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_27 = lean_ptr_addr(x_3); +x_28 = lean_usize_dec_eq(x_27, x_27); +if (x_28 == 0) +{ +lean_object* x_29; +lean_dec(x_26); +lean_dec(x_4); +x_29 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_29; +} +else +{ +size_t x_30; size_t x_31; uint8_t x_32; +x_30 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_31 = lean_ptr_addr(x_7); +x_32 = lean_usize_dec_eq(x_30, x_31); +if (x_32 == 0) +{ +lean_object* x_33; +lean_dec(x_26); +x_33 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_33; +} +else +{ +uint8_t x_34; +x_34 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_5, x_5); +if (x_34 == 0) +{ +lean_object* x_35; +lean_dec(x_26); +x_35 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_35; +} +else +{ +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +return x_26; +} +} +} +} +} +} +else +{ +lean_object* x_36; size_t x_37; uint8_t x_38; +lean_dec(x_8); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_36 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_37 = lean_ptr_addr(x_3); +x_38 = lean_usize_dec_eq(x_37, x_37); +if (x_38 == 0) +{ +lean_object* x_39; +lean_dec(x_36); +lean_dec(x_4); +x_39 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_39; +} +else +{ +size_t x_40; size_t x_41; uint8_t x_42; +x_40 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_41 = lean_ptr_addr(x_7); +x_42 = lean_usize_dec_eq(x_40, x_41); +if (x_42 == 0) +{ +lean_object* x_43; +lean_dec(x_36); +x_43 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_43; +} +else +{ +uint8_t x_44; +x_44 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_5, x_5); +if (x_44 == 0) +{ +lean_object* x_45; +lean_dec(x_36); +x_45 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_45; +} +else +{ +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +return x_36; +} +} +} +} +} +else +{ +lean_object* x_46; size_t x_47; uint8_t x_48; +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_46 = l_Lean_Expr_lam___override(x_2, x_3, x_4, x_5); +x_47 = lean_ptr_addr(x_3); +x_48 = lean_usize_dec_eq(x_47, x_47); +if (x_48 == 0) +{ +lean_object* x_49; +lean_dec(x_46); +lean_dec(x_4); +x_49 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_49; +} +else +{ +size_t x_50; size_t x_51; uint8_t x_52; +x_50 = lean_ptr_addr(x_4); +lean_dec(x_4); +x_51 = lean_ptr_addr(x_7); +x_52 = lean_usize_dec_eq(x_50, x_51); +if (x_52 == 0) +{ +lean_object* x_53; +lean_dec(x_46); +x_53 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_53; +} +else +{ +uint8_t x_54; +x_54 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_5, x_5); +if (x_54 == 0) +{ +lean_object* x_55; +lean_dec(x_46); +x_55 = l_Lean_Expr_lam___override(x_2, x_3, x_7, x_5); +return x_55; +} +else +{ +lean_dec(x_7); +lean_dec(x_3); +lean_dec(x_2); +return x_46; +} +} +} +} +} +} +else +{ +return x_1; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; uint8_t x_10; @@ -11726,13 +11922,12 @@ return x_27; LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__3(size_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -12334,18 +12529,17 @@ x_3 = l_instInhabited___rarg(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +lean_object* x_8; lean_object* x_9; lean_object* x_10; x_8 = l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5___closed__4; x_9 = lean_panic_fn(x_8, x_1); -x_10 = lean_box(x_3); -x_11 = lean_apply_6(x_9, x_2, x_10, x_4, x_5, x_6, x_7); -return x_11; +x_10 = lean_apply_6(x_9, x_2, x_3, x_4, x_5, x_6, x_7); +return x_10; } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -12576,7 +12770,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -12590,7 +12784,7 @@ lean_ctor_set(x_10, 1, x_7); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -12711,7 +12905,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__2; -x_3 = lean_unsigned_to_nat(392u); +x_3 = lean_unsigned_to_nat(412u); x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -12758,14 +12952,14 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__2; -x_3 = lean_unsigned_to_nat(390u); +x_3 = lean_unsigned_to_nat(410u); x_4 = lean_unsigned_to_nat(24u); x_5 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_dec(x_2); @@ -12777,6 +12971,7 @@ x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__4; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_10 = l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(x_9, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_10) == 0) @@ -12791,6 +12986,7 @@ x_13 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_11, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_13; } @@ -12800,6 +12996,7 @@ uint8_t x_14; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_14 = !lean_is_exclusive(x_10); @@ -12851,6 +13048,7 @@ x_26 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_1, x_3, x lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_26; } @@ -12863,6 +13061,7 @@ x_28 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_27, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_28; } @@ -12883,6 +13082,7 @@ x_34 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec_ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_35 = !lean_is_exclusive(x_34); if (x_35 == 0) @@ -12911,6 +13111,7 @@ x_39 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_1, x_3, x lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_39; } @@ -12920,6 +13121,7 @@ lean_object* x_40; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_40 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(x_1, x_3, x_4, x_5, x_6, x_7, x_8); @@ -12935,6 +13137,7 @@ x_43 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_41, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_43; } @@ -12944,6 +13147,7 @@ uint8_t x_44; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_44 = !lean_is_exclusive(x_40); @@ -12973,6 +13177,7 @@ x_48 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__9; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_49 = l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(x_48, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_49) == 0) @@ -12987,6 +13192,7 @@ x_52 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_50, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_52; } @@ -12996,6 +13202,7 @@ uint8_t x_53; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_53 = !lean_is_exclusive(x_49); @@ -13025,6 +13232,7 @@ x_57 = l_Lean_Compiler_LCNF_ToLCNF_instInhabitedElement___closed__1; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_58 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(x_1, x_57, x_3, x_4, x_5, x_6, x_7, x_8); @@ -13040,6 +13248,7 @@ x_61 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_59, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_61; } @@ -13049,6 +13258,7 @@ uint8_t x_62; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_62 = !lean_is_exclusive(x_58); @@ -13078,6 +13288,7 @@ x_66 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_1); x_67 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_1, x_66, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_67) == 0) @@ -13092,6 +13303,7 @@ x_70 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_68, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_70; } @@ -13101,6 +13313,7 @@ uint8_t x_71; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_71 = !lean_is_exclusive(x_67); @@ -13131,6 +13344,7 @@ lean_inc(x_75); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_76 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_75, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_76) == 0) @@ -13145,6 +13359,7 @@ x_79 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_77, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_79; } @@ -13154,6 +13369,7 @@ uint8_t x_80; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_80 = !lean_is_exclusive(x_76); @@ -13188,6 +13404,7 @@ lean_inc(x_86); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_87 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(x_84, x_85, x_86, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_87) == 0) @@ -13202,6 +13419,7 @@ x_90 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_88, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_90; } @@ -13211,6 +13429,7 @@ uint8_t x_91; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_91 = !lean_is_exclusive(x_87); @@ -13239,6 +13458,7 @@ lean_object* x_95; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_1); x_95 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(x_1, x_3, x_4, x_5, x_6, x_7, x_8); @@ -13254,6 +13474,7 @@ x_98 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_96, x_3, lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); return x_98; } @@ -13263,6 +13484,7 @@ uint8_t x_99; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_99 = !lean_is_exclusive(x_95); @@ -13288,7 +13510,7 @@ return x_102; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; @@ -13378,6 +13600,7 @@ lean_object* x_44; lean_dec(x_5); lean_dec(x_6); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_44 = lean_ctor_get(x_41, 0); @@ -13413,6 +13636,7 @@ lean_object* x_51; lean_object* x_52; lean_dec(x_5); lean_dec(x_6); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_51 = lean_ctor_get(x_48, 0); @@ -13480,6 +13704,7 @@ lean_object* x_66; lean_object* x_67; lean_dec(x_55); lean_dec(x_6); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_66 = lean_ctor_get(x_63, 0); @@ -13514,12 +13739,13 @@ x_68 = l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_68; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { if (lean_obj_tag(x_1) == 8) @@ -13603,6 +13829,7 @@ lean_dec(x_70); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_13); x_73 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(x_13, x_3, x_4, x_5, x_6, x_7, x_72); @@ -13691,6 +13918,7 @@ lean_dec(x_19); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); lean_inc(x_14); x_22 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_14, x_3, x_4, x_5, x_6, x_7, x_21); @@ -13729,6 +13957,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_32 = !lean_is_exclusive(x_22); @@ -13761,6 +13990,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_36 = !lean_is_exclusive(x_19); @@ -13808,6 +14038,7 @@ lean_dec(x_9); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_43 = !lean_is_exclusive(x_15); @@ -13842,7 +14073,7 @@ return x_83; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; @@ -13851,7 +14082,7 @@ x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(x_1, x_3, x_4, x_5, x_6, x_7, return x_9; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -13859,6 +14090,7 @@ lean_dec(x_3); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_10 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(x_1, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) @@ -13883,6 +14115,7 @@ uint8_t x_15; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_15 = !lean_is_exclusive(x_10); @@ -13915,6 +14148,7 @@ uint8_t x_21; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_21 = !lean_is_exclusive(x_10); @@ -13938,7 +14172,7 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__3(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -14068,6 +14302,7 @@ lean_dec(x_27); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_55 = !lean_is_exclusive(x_50); @@ -14102,6 +14337,7 @@ lean_dec(x_27); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_61 = !lean_is_exclusive(x_45); @@ -14131,6 +14367,7 @@ lean_dec(x_24); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_65 = !lean_is_exclusive(x_26); @@ -14154,7 +14391,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(lean_object* x_1, 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; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; @@ -14263,6 +14500,7 @@ x_42 = l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_42; } @@ -14287,6 +14525,7 @@ lean_dec(x_14); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_43 = l_Lean_Compiler_LCNF_erasedExpr; x_44 = lean_alloc_ctor(0, 2, 0); @@ -14301,59 +14540,60 @@ x_45 = l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); return x_45; } } } } -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; -x_9 = lean_box(x_4); +lean_object* x_9; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); -x_10 = lean_apply_6(x_1, x_3, x_9, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_10) == 0) +x_9 = lean_apply_6(x_1, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_11 = lean_ctor_get(x_10, 0); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); +lean_inc(x_10); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); -lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_box(x_4); -x_14 = lean_apply_7(x_2, x_11, x_3, x_13, x_5, x_6, x_7, x_12); -return x_14; +lean_dec(x_9); +x_12 = lean_apply_7(x_2, x_10, x_3, x_4, x_5, x_6, x_7, x_11); +return x_12; } else { -uint8_t x_15; +uint8_t x_13; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_15 = !lean_is_exclusive(x_10); -if (x_15 == 0) +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) { -return x_10; +return x_9; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_10, 0); -x_17 = lean_ctor_get(x_10, 1); -lean_inc(x_17); -lean_inc(x_16); -lean_dec(x_10); -x_18 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_17); -return x_18; +lean_object* x_14; lean_object* x_15; lean_object* x_16; +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(1, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); +return x_16; } } } @@ -14362,7 +14602,7 @@ LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_vi _start: { lean_object* x_3; -x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 0); +x_3 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 0); return x_3; } } @@ -14384,7 +14624,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; @@ -14396,6 +14636,7 @@ lean_dec(x_1); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_9, x_2, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_10) == 0) @@ -14409,6 +14650,7 @@ lean_dec(x_10); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); x_13 = l_Lean_Compiler_LCNF_ToLCNF_toCode(x_11, x_2, x_3, x_4, x_5, x_6, x_12); lean_dec(x_2); if (lean_obj_tag(x_13) == 0) @@ -14430,6 +14672,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); x_18 = !lean_is_exclusive(x_13); if (x_18 == 0) { @@ -14457,6 +14700,7 @@ lean_dec(x_8); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_22 = !lean_is_exclusive(x_10); if (x_22 == 0) @@ -14483,16 +14727,16 @@ static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___close _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1___boxed), 7, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1), 7, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_35; lean_inc(x_1); -x_8 = l_Lean_Expr_eta(x_1); +x_8 = l_Lean_Compiler_LCNF_ToLCNF_etaReduceImplicit(x_1); x_9 = lean_st_ref_get(x_6, x_7); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); @@ -14539,12 +14783,13 @@ lean_dec(x_13); x_14 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_visitLambda___boxed), 7, 1); lean_closure_set(x_14, 0, x_1); x_15 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___closed__1; -x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_16 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_16, 0, x_14); lean_closure_set(x_16, 1, x_15); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); +lean_inc(x_3); lean_inc(x_2); x_17 = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg(x_16, x_2, x_3, x_4, x_5, x_6, x_11); if (lean_obj_tag(x_17) == 0) @@ -14562,6 +14807,7 @@ x_21 = l_Lean_Compiler_LCNF_ToLCNF_pushElement(x_20, x_2, x_3, x_4, x_5, x_6, x_ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) @@ -14598,6 +14844,7 @@ uint8_t x_30; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); x_30 = !lean_is_exclusive(x_17); if (x_30 == 0) @@ -14621,7 +14868,7 @@ return x_33; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -14633,17 +14880,18 @@ LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData(lean_obje _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg___boxed), 7, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg), 7, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) @@ -14666,6 +14914,7 @@ uint8_t x_16; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -14690,7 +14939,7 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 5) @@ -14717,6 +14966,7 @@ lean_dec(x_3); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_16 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_1, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_16) == 0) @@ -14736,6 +14986,7 @@ uint8_t x_20; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_20 = !lean_is_exclusive(x_16); @@ -14760,7 +15011,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -14800,7 +15051,7 @@ return x_21; } } } -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { if (lean_obj_tag(x_1) == 5) @@ -15033,7 +15284,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(lean_object* x_1, 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; @@ -15204,6 +15455,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_61 = !lean_is_exclusive(x_35); @@ -15247,6 +15499,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_68 = !lean_is_exclusive(x_32); @@ -15375,7 +15628,7 @@ return x_90; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -15386,6 +15639,7 @@ lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_3); @@ -15401,6 +15655,7 @@ x_14 = lean_array_uset(x_3, x_2, x_13); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_15 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(x_12, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_15) == 0) @@ -15426,6 +15681,7 @@ lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_22 = !lean_is_exclusive(x_15); if (x_22 == 0) @@ -15449,7 +15705,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault(lean_object* x_1, lean_object* x_2, 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; @@ -15464,6 +15720,7 @@ x_12 = 0; lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); +lean_inc(x_4); lean_inc(x_3); x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1(x_11, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); if (lean_obj_tag(x_13) == 0) @@ -15486,6 +15743,7 @@ uint8_t x_19; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_19 = !lean_is_exclusive(x_13); @@ -15514,6 +15772,7 @@ lean_object* x_23; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_23 = lean_alloc_ctor(0, 2, 0); @@ -15523,7 +15782,7 @@ return x_23; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -15531,6 +15790,7 @@ lean_dec(x_3); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_1); x_10 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(x_1, x_4, x_5, x_6, x_7, x_8, x_9); @@ -15576,6 +15836,7 @@ lean_object* x_21; lean_free_object(x_16); x_21 = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(x_2, x_4, x_5, x_6, x_7, x_8, x_19); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_21; } @@ -15585,6 +15846,7 @@ lean_object* x_22; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_22 = l_Lean_Compiler_LCNF_erasedExpr; @@ -15606,6 +15868,7 @@ if (x_25 == 0) lean_object* x_26; x_26 = l_Lean_Compiler_LCNF_ToLCNF_toLCNFType(x_2, x_4, x_5, x_6, x_7, x_8, x_24); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); return x_26; } @@ -15615,6 +15878,7 @@ lean_object* x_27; lean_object* x_28; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_27 = l_Lean_Compiler_LCNF_erasedExpr; @@ -15631,6 +15895,7 @@ uint8_t x_29; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); x_29 = !lean_is_exclusive(x_16); @@ -15660,6 +15925,7 @@ uint8_t x_33; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -15684,7 +15950,7 @@ return x_36; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_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; @@ -15814,6 +16080,7 @@ lean_dec(x_27); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_55 = !lean_is_exclusive(x_50); @@ -15848,6 +16115,7 @@ lean_dec(x_27); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_61 = !lean_is_exclusive(x_45); @@ -15877,6 +16145,7 @@ lean_dec(x_24); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); x_65 = !lean_is_exclusive(x_26); @@ -15900,7 +16169,7 @@ return x_68; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(lean_object* x_1, 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; @@ -15918,6 +16187,7 @@ lean_object* x_11; lean_object* x_12; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_11 = l_Lean_Compiler_LCNF_erasedExpr; @@ -15928,7 +16198,7 @@ return x_12; } } } -LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; @@ -16039,7 +16309,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; uint8_t x_9; @@ -16145,14 +16415,14 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___closed__1; -x_3 = lean_unsigned_to_nat(620u); +x_3 = lean_unsigned_to_nat(640u); x_4 = lean_unsigned_to_nat(45u); x_5 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -16214,6 +16484,7 @@ lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); x_31 = !lean_is_exclusive(x_16); @@ -16298,6 +16569,7 @@ uint8_t x_54; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); x_54 = !lean_is_exclusive(x_50); if (x_54 == 0) @@ -16322,7 +16594,7 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -16368,7 +16640,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { lean_object* x_14; lean_object* x_15; uint8_t x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; @@ -16502,6 +16774,7 @@ x_58 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec_ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); return x_58; } @@ -16535,6 +16808,7 @@ x_66 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec_ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); return x_66; } @@ -16569,6 +16843,7 @@ lean_dec(x_2); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); x_73 = l_Lean_Compiler_LCNF_inferType(x_4, x_9, x_10, x_11, x_12, x_50); if (lean_obj_tag(x_73) == 0) { @@ -16582,6 +16857,7 @@ x_76 = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(x_74, x_8, x_9, x_10, x_11, x_1 lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); return x_76; } @@ -16591,6 +16867,7 @@ uint8_t x_77; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); x_77 = !lean_is_exclusive(x_73); if (x_77 == 0) @@ -16624,7 +16901,7 @@ lean_inc(x_84); lean_dec(x_59); lean_inc(x_82); lean_inc(x_6); -x_85 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1___boxed), 9, 2); +x_85 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1), 9, 2); lean_closure_set(x_85, 0, x_6); lean_closure_set(x_85, 1, x_82); if (x_83 == 0) @@ -16637,7 +16914,7 @@ x_87 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_86); x_88 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___boxed), 8, 2); lean_closure_set(x_88, 0, x_87); lean_closure_set(x_88, 1, x_84); -x_89 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_89 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_89, 0, x_88); lean_closure_set(x_89, 1, x_85); x_90 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_4, x_82, x_89, x_8, x_9, x_10, x_11, x_12, x_50); @@ -16652,7 +16929,7 @@ lean_dec(x_6); x_92 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_expandNoConfusionMajor___boxed), 8, 2); lean_closure_set(x_92, 0, x_91); lean_closure_set(x_92, 1, x_84); -x_93 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_93 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_93, 0, x_92); lean_closure_set(x_93, 1, x_85); x_94 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_4, x_82, x_93, x_8, x_9, x_10, x_11, x_12, x_50); @@ -16669,6 +16946,7 @@ lean_dec(x_33); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -16712,7 +16990,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1; -x_3 = lean_unsigned_to_nat(577u); +x_3 = lean_unsigned_to_nat(597u); x_4 = lean_unsigned_to_nat(42u); x_5 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -16725,14 +17003,14 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___closed__1; -x_3 = lean_unsigned_to_nat(579u); +x_3 = lean_unsigned_to_nat(599u); x_4 = lean_unsigned_to_nat(56u); x_5 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(lean_object* x_1, 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; @@ -16787,7 +17065,7 @@ x_30 = lean_nat_dec_lt(x_19, x_29); lean_inc(x_28); lean_inc(x_22); lean_inc(x_1); -x_31 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2___boxed), 13, 6); +x_31 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2), 13, 6); lean_closure_set(x_31, 0, x_17); lean_closure_set(x_31, 1, x_29); lean_closure_set(x_31, 2, x_9); @@ -16805,7 +17083,7 @@ x_34 = lean_alloc_closure((void*)(l_Lean_Meta_whnf___boxed), 6, 1); lean_closure_set(x_34, 0, x_33); x_35 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___boxed), 7, 1); lean_closure_set(x_35, 0, x_34); -x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_36 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_36, 0, x_35); lean_closure_set(x_36, 1, x_31); x_37 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_22, x_36, x_2, x_3, x_4, x_5, x_6, x_13); @@ -16821,7 +17099,7 @@ x_39 = lean_alloc_closure((void*)(l_Lean_Meta_whnf___boxed), 6, 1); lean_closure_set(x_39, 0, x_38); x_40 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___boxed), 7, 1); lean_closure_set(x_40, 0, x_39); -x_41 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_41 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_41, 0, x_40); lean_closure_set(x_41, 1, x_31); x_42 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_22, x_41, x_2, x_3, x_4, x_5, x_6, x_13); @@ -16849,6 +17127,7 @@ lean_dec(x_9); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); x_46 = !lean_is_exclusive(x_11); @@ -16882,7 +17161,7 @@ return x_51; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -16891,65 +17170,65 @@ x_11 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_1, x_10); x_12 = lean_nat_dec_lt(x_11, x_2); if (x_12 == 0) { -lean_object* x_13; lean_object* x_14; +lean_object* x_13; lean_dec(x_11); lean_dec(x_2); lean_dec(x_1); -x_13 = lean_box(x_5); -x_14 = lean_apply_6(x_3, x_4, x_13, x_6, x_7, x_8, x_9); -return x_14; +x_13 = lean_apply_6(x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_13; } else { -lean_object* x_15; lean_object* x_16; +lean_object* x_14; lean_object* x_15; lean_dec(x_3); -x_15 = lean_nat_sub(x_2, x_11); +x_14 = lean_nat_sub(x_2, x_11); lean_dec(x_11); lean_dec(x_2); lean_inc(x_8); lean_inc(x_7); -x_16 = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(x_1, x_15, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_16) == 0) +x_15 = l_Lean_Compiler_LCNF_ToLCNF_etaExpandN(x_1, x_14, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; -x_17 = lean_ctor_get(x_16, 0); +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_15, 0); +lean_inc(x_16); +x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_17, x_4, x_5, x_6, x_7, x_8, x_18); -return x_19; +lean_dec(x_15); +x_18 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_16, x_4, x_5, x_6, x_7, x_8, x_17); +return x_18; } else { -uint8_t x_20; +uint8_t x_19; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); -x_20 = !lean_is_exclusive(x_16); -if (x_20 == 0) +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) { -return x_16; +return x_15; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_16, 0); -x_22 = lean_ctor_get(x_16, 1); -lean_inc(x_22); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_ctor_get(x_15, 1); lean_inc(x_21); -lean_dec(x_16); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -return x_23; +lean_inc(x_20); +lean_dec(x_15); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -16971,7 +17250,7 @@ lean_ctor_set(x_18, 1, x_12); return x_18; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, uint8_t x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { uint8_t x_15; @@ -17142,6 +17421,7 @@ x_69 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_3); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_70 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_55, x_66, x_69, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_70) == 0) @@ -17201,6 +17481,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -17231,6 +17512,7 @@ x_89 = lean_array_fget(x_1, x_5); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_90 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_55, x_66, x_89, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_90) == 0) @@ -17290,6 +17572,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -17334,6 +17617,7 @@ x_113 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_3); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_114 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_55, x_109, x_113, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_114) == 0) @@ -17393,6 +17677,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -17425,6 +17710,7 @@ x_133 = lean_array_fget(x_1, x_5); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_134 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_55, x_109, x_133, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_134) == 0) @@ -17484,6 +17770,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -17584,6 +17871,7 @@ x_168 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_3); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_169 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_155, x_164, x_168, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_169) == 0) @@ -17643,6 +17931,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -17675,6 +17964,7 @@ x_188 = lean_array_fget(x_1, x_5); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_189 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_155, x_164, x_188, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_189) == 0) @@ -17734,6 +18024,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -17852,6 +18143,7 @@ x_227 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_3); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_228 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_213, x_223, x_227, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_228) == 0) @@ -17911,6 +18203,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -17943,6 +18236,7 @@ x_247 = lean_array_fget(x_1, x_5); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_248 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_213, x_223, x_247, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_248) == 0) @@ -18002,6 +18296,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -18188,6 +18483,7 @@ x_298 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_3); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_299 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_283, x_294, x_298, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_299) == 0) @@ -18247,6 +18543,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -18279,6 +18576,7 @@ x_318 = lean_array_fget(x_1, x_5); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); +lean_inc(x_10); lean_inc(x_9); x_319 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_283, x_294, x_318, x_9, x_10, x_11, x_12, x_13, x_14); if (lean_obj_tag(x_319) == 0) @@ -18338,6 +18636,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -18375,6 +18674,7 @@ lean_dec(x_19); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_3); @@ -18408,6 +18708,7 @@ lean_object* x_338; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); @@ -18424,6 +18725,7 @@ lean_object* x_339; lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); lean_dec(x_9); lean_dec(x_5); lean_dec(x_4); @@ -18435,7 +18737,7 @@ return x_339; } } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, uint8_t x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { uint8_t x_14; @@ -18606,6 +18908,7 @@ x_69 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_68); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_70 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_54, x_65, x_69, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_70) == 0) @@ -18665,6 +18968,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_85 = !lean_is_exclusive(x_70); @@ -18694,6 +18998,7 @@ x_89 = lean_array_fget(x_1, x_4); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_90 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_54, x_65, x_89, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_90) == 0) @@ -18753,6 +19058,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_105 = !lean_is_exclusive(x_90); @@ -18796,6 +19102,7 @@ x_114 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_113); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_115 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_54, x_109, x_114, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_115) == 0) @@ -18855,6 +19162,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_130 = lean_ctor_get(x_115, 0); @@ -18886,6 +19194,7 @@ x_134 = lean_array_fget(x_1, x_4); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_135 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_54, x_109, x_134, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_135) == 0) @@ -18945,6 +19254,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_150 = lean_ctor_get(x_135, 0); @@ -19044,6 +19354,7 @@ x_170 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_169); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_171 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_156, x_165, x_170, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_171) == 0) @@ -19103,6 +19414,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_186 = lean_ctor_get(x_171, 0); @@ -19134,6 +19446,7 @@ x_190 = lean_array_fget(x_1, x_4); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_191 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_156, x_165, x_190, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_191) == 0) @@ -19193,6 +19506,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_206 = lean_ctor_get(x_191, 0); @@ -19310,6 +19624,7 @@ x_230 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_229); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_231 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_215, x_225, x_230, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_231) == 0) @@ -19369,6 +19684,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_246 = lean_ctor_get(x_231, 0); @@ -19400,6 +19716,7 @@ x_250 = lean_array_fget(x_1, x_4); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_251 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_215, x_225, x_250, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_251) == 0) @@ -19459,6 +19776,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_266 = lean_ctor_get(x_251, 0); @@ -19644,6 +19962,7 @@ x_302 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_301); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_303 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_286, x_297, x_302, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_303) == 0) @@ -19703,6 +20022,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_318 = lean_ctor_get(x_303, 0); @@ -19734,6 +20054,7 @@ x_322 = lean_array_fget(x_1, x_4); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); lean_inc(x_8); x_323 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_286, x_297, x_322, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(x_323) == 0) @@ -19793,6 +20114,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_338 = lean_ctor_get(x_323, 0); @@ -19829,6 +20151,7 @@ lean_dec(x_18); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); x_21 = lean_ctor_get(x_19, 0); @@ -19861,6 +20184,7 @@ lean_object* x_342; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); @@ -19876,6 +20200,7 @@ lean_object* x_343; lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); @@ -19900,14 +20225,14 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(511u); +x_3 = lean_unsigned_to_nat(531u); x_4 = lean_unsigned_to_nat(57u); x_5 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; @@ -19946,6 +20271,7 @@ x_23 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_22); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_24 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(x_23, x_5, x_6, x_7, x_8, x_9, x_13); if (lean_obj_tag(x_24) == 0) @@ -20002,6 +20328,7 @@ lean_dec(x_35); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_40); x_43 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1(x_2, x_20, x_22, x_40, x_41, x_40, x_42, x_39, x_5, x_6, x_7, x_8, x_9, x_29); @@ -20070,6 +20397,7 @@ else lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20101,6 +20429,7 @@ lean_object* x_70; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20120,6 +20449,7 @@ lean_dec(x_18); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20172,6 +20502,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20205,6 +20536,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20237,6 +20569,7 @@ lean_dec(x_19); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_87 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(x_86, x_5, x_6, x_7, x_8, x_9, x_13); if (lean_obj_tag(x_87) == 0) @@ -20293,6 +20626,7 @@ lean_dec(x_98); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); lean_inc(x_103); x_106 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2(x_2, x_20, x_103, x_104, x_103, x_105, x_102, x_5, x_6, x_7, x_8, x_9, x_92); @@ -20361,6 +20695,7 @@ else lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20392,6 +20727,7 @@ lean_object* x_133; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20411,6 +20747,7 @@ lean_dec(x_18); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20463,6 +20800,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20496,6 +20834,7 @@ lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20531,6 +20870,7 @@ x_149 = l_Lean_Compiler_LCNF_ToLCNF_mkUnreachable(x_12, x_5, x_6, x_7, x_8, x_9, lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); return x_149; } @@ -20541,6 +20881,7 @@ uint8_t x_150; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); @@ -20566,7 +20907,7 @@ return x_153; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; @@ -20593,18 +20934,18 @@ lean_closure_set(x_21, 0, x_20); x_22 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___boxed), 7, 1); lean_closure_set(x_22, 0, x_21); lean_inc(x_9); -x_23 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1___boxed), 10, 3); +x_23 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1), 10, 3); lean_closure_set(x_23, 0, x_1); lean_closure_set(x_23, 1, x_16); lean_closure_set(x_23, 2, x_9); -x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_24 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_24, 0, x_22); lean_closure_set(x_24, 1, x_23); x_25 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_2, x_9, x_24, x_3, x_4, x_5, x_6, x_7, x_8); return x_25; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { uint8_t x_12; @@ -20641,6 +20982,7 @@ x_23 = lean_array_fset(x_5, x_2, x_22); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); +lean_inc(x_7); lean_inc(x_6); x_24 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(x_21, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_24) == 0) @@ -20668,6 +21010,7 @@ lean_dec(x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); x_30 = !lean_is_exclusive(x_24); @@ -20697,6 +21040,7 @@ lean_object* x_34; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); @@ -20712,6 +21056,7 @@ lean_object* x_35; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); @@ -20722,7 +21067,7 @@ return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; uint8_t x_11; @@ -20735,6 +21080,7 @@ x_12 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_13 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_1, x_12, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_13) == 0) { @@ -20748,6 +21094,7 @@ x_16 = lean_unsigned_to_nat(1u); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); lean_inc(x_10); @@ -20776,6 +21123,7 @@ lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); x_25 = !lean_is_exclusive(x_17); @@ -20805,6 +21153,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); @@ -20849,7 +21198,7 @@ x_1 = l_Lean_inheritedTraceOptions; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; @@ -20890,7 +21239,7 @@ return x_22; } } } -LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___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, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; @@ -21034,7 +21383,7 @@ return x_57; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -21050,7 +21399,7 @@ x_13 = l___private_Lean_Compiler_LCNF_CompilerM_0__Lean_Compiler_LCNF_updatePara return x_13; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; @@ -21067,7 +21416,7 @@ lean_dec(x_12); x_15 = !lean_is_exclusive(x_13); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; x_16 = lean_ctor_get(x_13, 5); x_17 = lean_ctor_get(x_1, 0); lean_inc(x_17); @@ -21079,45 +21428,43 @@ x_20 = lean_st_ref_set(x_4, x_13, x_14); x_21 = lean_ctor_get(x_20, 1); lean_inc(x_21); lean_dec(x_20); -x_22 = lean_box(x_5); -x_23 = lean_apply_7(x_2, x_18, x_4, x_22, x_6, x_7, x_8, x_21); -return x_23; +x_22 = lean_apply_7(x_2, x_18, x_4, x_5, x_6, x_7, x_8, x_21); +return x_22; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_24 = lean_ctor_get(x_13, 0); -x_25 = lean_ctor_get(x_13, 1); -x_26 = lean_ctor_get(x_13, 2); -x_27 = lean_ctor_get(x_13, 3); -x_28 = lean_ctor_get(x_13, 4); -x_29 = lean_ctor_get(x_13, 5); -lean_inc(x_29); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_23 = lean_ctor_get(x_13, 0); +x_24 = lean_ctor_get(x_13, 1); +x_25 = lean_ctor_get(x_13, 2); +x_26 = lean_ctor_get(x_13, 3); +x_27 = lean_ctor_get(x_13, 4); +x_28 = lean_ctor_get(x_13, 5); lean_inc(x_28); lean_inc(x_27); lean_inc(x_26); lean_inc(x_25); lean_inc(x_24); +lean_inc(x_23); lean_dec(x_13); -x_30 = lean_ctor_get(x_1, 0); -lean_inc(x_30); +x_29 = lean_ctor_get(x_1, 0); +lean_inc(x_29); lean_dec(x_1); -x_31 = lean_box(0); -x_32 = l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(x_29, x_30, x_31); -x_33 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_33, 0, x_24); -lean_ctor_set(x_33, 1, x_25); -lean_ctor_set(x_33, 2, x_26); -lean_ctor_set(x_33, 3, x_27); -lean_ctor_set(x_33, 4, x_28); -lean_ctor_set(x_33, 5, x_32); -x_34 = lean_st_ref_set(x_4, x_33, x_14); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = lean_box(x_5); -x_37 = lean_apply_7(x_2, x_31, x_4, x_36, x_6, x_7, x_8, x_35); -return x_37; +x_30 = lean_box(0); +x_31 = l_Lean_RBNode_insert___at___private_Lean_Compiler_LCNF_Basic_0__Lean_Compiler_LCNF_collectExpr___spec__1(x_28, x_29, x_30); +x_32 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_32, 0, x_23); +lean_ctor_set(x_32, 1, x_24); +lean_ctor_set(x_32, 2, x_25); +lean_ctor_set(x_32, 3, x_26); +lean_ctor_set(x_32, 4, x_27); +lean_ctor_set(x_32, 5, x_31); +x_33 = lean_st_ref_set(x_4, x_32, x_14); +x_34 = lean_ctor_get(x_33, 1); +lean_inc(x_34); +lean_dec(x_33); +x_35 = lean_apply_7(x_2, x_30, x_4, x_5, x_6, x_7, x_8, x_34); +return x_35; } } } @@ -21174,7 +21521,7 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { uint8_t x_10; @@ -21185,6 +21532,7 @@ lean_object* x_11; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_3); @@ -21202,6 +21550,7 @@ x_22 = l_Lean_Compiler_LCNF_Param_toExpr(x_12); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_23 = l_Lean_Compiler_LCNF_inferType(x_22, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_23) == 0) { @@ -21214,6 +21563,7 @@ lean_dec(x_23); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_26 = l___private_Lean_Compiler_LCNF_ToLCNF_0__Lean_Compiler_LCNF_ToLCNF_isTypeFormerType(x_24, x_4, x_5, x_6, x_7, x_8, x_25); if (lean_obj_tag(x_26) == 0) @@ -21265,6 +21615,7 @@ x_41 = lean_box(0); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_42 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(x_12, x_35, x_41, x_4, x_5, x_6, x_7, x_8, x_40); if (lean_obj_tag(x_42) == 0) @@ -21286,6 +21637,7 @@ lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_45 = !lean_is_exclusive(x_42); if (x_45 == 0) @@ -21334,6 +21686,7 @@ lean_dec(x_56); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_59 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(x_12, x_35, x_57, x_4, x_5, x_6, x_7, x_8, x_58); lean_dec(x_57); @@ -21356,6 +21709,7 @@ lean_dec(x_14); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_62 = !lean_is_exclusive(x_59); if (x_62 == 0) @@ -21387,6 +21741,7 @@ lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_66 = !lean_is_exclusive(x_26); if (x_66 == 0) @@ -21416,6 +21771,7 @@ lean_dec(x_12); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); x_70 = !lean_is_exclusive(x_23); if (x_70 == 0) @@ -21450,7 +21806,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; @@ -21461,6 +21817,7 @@ x_13 = 0; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_14 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3(x_12, x_13, x_3, x_5, x_6, x_7, x_8, x_9, x_10); if (lean_obj_tag(x_14) == 0) @@ -21474,6 +21831,7 @@ lean_dec(x_14); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); lean_inc(x_5); x_17 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_2, x_5, x_6, x_7, x_8, x_9, x_16); if (lean_obj_tag(x_17) == 0) @@ -21487,6 +21845,7 @@ lean_dec(x_17); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); +lean_inc(x_6); x_20 = l_Lean_Compiler_LCNF_ToLCNF_toCode(x_18, x_5, x_6, x_7, x_8, x_9, x_19); lean_dec(x_5); if (lean_obj_tag(x_20) == 0) @@ -21571,6 +21930,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_37 = !lean_is_exclusive(x_20); if (x_37 == 0) @@ -21599,6 +21959,7 @@ lean_dec(x_15); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); x_41 = !lean_is_exclusive(x_17); @@ -21627,6 +21988,7 @@ uint8_t x_45; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_2); lean_dec(x_1); @@ -21651,7 +22013,7 @@ return x_48; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; @@ -21716,6 +22078,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_28 = !lean_is_exclusive(x_20); @@ -21745,6 +22108,7 @@ lean_dec(x_10); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_32 = !lean_is_exclusive(x_17); @@ -21769,7 +22133,7 @@ return x_35; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -21777,17 +22141,17 @@ lean_inc(x_2); x_10 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_visitBoundedLambda___boxed), 8, 2); lean_closure_set(x_10, 0, x_3); lean_closure_set(x_10, 1, x_2); -x_11 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2___boxed), 9, 2); +x_11 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2), 9, 2); lean_closure_set(x_11, 0, x_1); lean_closure_set(x_11, 1, x_2); -x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_12 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_12, 0, x_10); lean_closure_set(x_12, 1, x_11); x_13 = l_Lean_Compiler_LCNF_ToLCNF_withNewScope___rarg(x_12, x_4, x_5, x_6, x_7, x_8, x_9); return x_13; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; @@ -21841,7 +22205,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRe return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; @@ -21851,7 +22215,7 @@ lean_closure_set(x_8, 0, x_1); x_9 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___boxed), 7, 1); lean_closure_set(x_9, 0, x_8); x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___closed__1; -x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_11 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_11, 0, x_9); lean_closure_set(x_11, 1, x_10); x_12 = lean_unsigned_to_nat(2u); @@ -21868,7 +22232,7 @@ x_2 = lean_mk_empty_array_with_capacity(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -21947,7 +22311,7 @@ x_33 = l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___closed__4; x_34 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_33); x_35 = l_Lean_Expr_beta(x_34, x_30); x_36 = l_Lean_mkAppN(x_35, x_23); -x_37 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed), 7, 1); +x_37 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit), 7, 1); lean_closure_set(x_37, 0, x_36); x_38 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_21, x_37, x_2, x_3, x_4, x_5, x_6, x_7); return x_38; @@ -21959,7 +22323,7 @@ x_39 = lean_array_fget(x_14, x_31); lean_dec(x_14); x_40 = l_Lean_Expr_beta(x_39, x_30); x_41 = l_Lean_mkAppN(x_40, x_23); -x_42 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed), 7, 1); +x_42 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit), 7, 1); lean_closure_set(x_42, 0, x_41); x_43 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_21, x_42, x_2, x_3, x_4, x_5, x_6, x_7); return x_43; @@ -21979,7 +22343,7 @@ x_46 = l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___closed__4; x_47 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_46); x_48 = l_Lean_Expr_beta(x_47, x_30); x_49 = l_Lean_mkAppN(x_48, x_23); -x_50 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed), 7, 1); +x_50 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit), 7, 1); lean_closure_set(x_50, 0, x_49); x_51 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_21, x_50, x_2, x_3, x_4, x_5, x_6, x_7); return x_51; @@ -21991,7 +22355,7 @@ x_52 = lean_array_fget(x_14, x_44); lean_dec(x_14); x_53 = l_Lean_Expr_beta(x_52, x_30); x_54 = l_Lean_mkAppN(x_53, x_23); -x_55 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed), 7, 1); +x_55 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit), 7, 1); lean_closure_set(x_55, 0, x_54); x_56 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_21, x_55, x_2, x_3, x_4, x_5, x_6, x_7); return x_56; @@ -22001,7 +22365,7 @@ return x_56; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__1(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; @@ -22010,7 +22374,7 @@ x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(x_2, x_1, x_9, x_3, return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, uint8_t x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; @@ -22048,6 +22412,7 @@ x_97 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_96); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_98 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_97, x_4, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_98) == 0) @@ -22061,6 +22426,7 @@ lean_dec(x_98); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_99); x_101 = l_Lean_Compiler_LCNF_inferType(x_99, x_5, x_6, x_7, x_8, x_100); if (lean_obj_tag(x_101) == 0) @@ -22080,6 +22446,7 @@ x_105 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_106 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_99, x_105, x_4, x_5, x_6, x_7, x_8, x_103); if (lean_obj_tag(x_106) == 0) { @@ -22092,6 +22459,7 @@ lean_dec(x_106); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_109 = l_Lean_Compiler_LCNF_mkLcCast(x_107, x_11, x_5, x_6, x_7, x_8, x_108); if (lean_obj_tag(x_109) == 0) { @@ -22111,6 +22479,7 @@ uint8_t x_114; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_114 = !lean_is_exclusive(x_109); @@ -22140,6 +22509,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_118 = !lean_is_exclusive(x_106); @@ -22179,6 +22549,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_124 = !lean_is_exclusive(x_101); @@ -22208,6 +22579,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_128 = !lean_is_exclusive(x_98); @@ -22237,6 +22609,7 @@ x_132 = lean_array_fget(x_1, x_94); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_133 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_132, x_4, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_133) == 0) @@ -22250,6 +22623,7 @@ lean_dec(x_133); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_134); x_136 = l_Lean_Compiler_LCNF_inferType(x_134, x_5, x_6, x_7, x_8, x_135); if (lean_obj_tag(x_136) == 0) @@ -22269,6 +22643,7 @@ x_140 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_141 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_134, x_140, x_4, x_5, x_6, x_7, x_8, x_138); if (lean_obj_tag(x_141) == 0) { @@ -22281,6 +22656,7 @@ lean_dec(x_141); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_144 = l_Lean_Compiler_LCNF_mkLcCast(x_142, x_11, x_5, x_6, x_7, x_8, x_143); if (lean_obj_tag(x_144) == 0) { @@ -22300,6 +22676,7 @@ uint8_t x_149; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_149 = !lean_is_exclusive(x_144); @@ -22329,6 +22706,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_153 = !lean_is_exclusive(x_141); @@ -22368,6 +22746,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_159 = !lean_is_exclusive(x_136); @@ -22397,6 +22776,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_163 = !lean_is_exclusive(x_133); @@ -22452,6 +22832,7 @@ x_18 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_17); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_19 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_18, x_4, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_19) == 0) @@ -22465,6 +22846,7 @@ lean_dec(x_19); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_20); x_22 = l_Lean_Compiler_LCNF_inferType(x_20, x_5, x_6, x_7, x_8, x_21); if (lean_obj_tag(x_22) == 0) @@ -22484,6 +22866,7 @@ x_26 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_27 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_20, x_26, x_4, x_5, x_6, x_7, x_8, x_24); if (lean_obj_tag(x_27) == 0) { @@ -22496,6 +22879,7 @@ lean_dec(x_27); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_30 = l_Lean_Compiler_LCNF_mkLcCast(x_28, x_11, x_5, x_6, x_7, x_8, x_29); if (lean_obj_tag(x_30) == 0) { @@ -22515,6 +22899,7 @@ uint8_t x_35; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_35 = !lean_is_exclusive(x_30); @@ -22544,6 +22929,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_39 = !lean_is_exclusive(x_27); @@ -22583,6 +22969,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_45 = !lean_is_exclusive(x_22); @@ -22612,6 +22999,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_49 = !lean_is_exclusive(x_19); @@ -22641,6 +23029,7 @@ x_53 = lean_array_fget(x_1, x_15); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_4); x_54 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_53, x_4, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_54) == 0) @@ -22654,6 +23043,7 @@ lean_dec(x_54); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); lean_inc(x_55); x_57 = l_Lean_Compiler_LCNF_inferType(x_55, x_5, x_6, x_7, x_8, x_56); if (lean_obj_tag(x_57) == 0) @@ -22673,6 +23063,7 @@ x_61 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_62 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_55, x_61, x_4, x_5, x_6, x_7, x_8, x_59); if (lean_obj_tag(x_62) == 0) { @@ -22685,6 +23076,7 @@ lean_dec(x_62); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); +lean_inc(x_5); x_65 = l_Lean_Compiler_LCNF_mkLcCast(x_63, x_11, x_5, x_6, x_7, x_8, x_64); if (lean_obj_tag(x_65) == 0) { @@ -22704,6 +23096,7 @@ uint8_t x_70; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_70 = !lean_is_exclusive(x_65); @@ -22733,6 +23126,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_74 = !lean_is_exclusive(x_62); @@ -22772,6 +23166,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_80 = !lean_is_exclusive(x_57); @@ -22801,6 +23196,7 @@ lean_dec(x_11); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_1); x_84 = !lean_is_exclusive(x_54); @@ -22831,6 +23227,7 @@ uint8_t x_169; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); lean_dec(x_1); @@ -22855,7 +23252,7 @@ return x_172; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -22880,17 +23277,17 @@ lean_closure_set(x_20, 0, x_19); x_21 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_liftMetaM___rarg___boxed), 7, 1); lean_closure_set(x_21, 0, x_20); lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2___boxed), 9, 2); +x_22 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2), 9, 2); lean_closure_set(x_22, 0, x_14); lean_closure_set(x_22, 1, x_1); -x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_23 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_23, 0, x_21); lean_closure_set(x_23, 1, x_22); x_24 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_16, x_23, x_2, x_3, x_4, x_5, x_6, x_7); return x_24; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(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* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; @@ -22905,7 +23302,7 @@ x_15 = lean_nat_sub(x_11, x_14); lean_dec(x_11); lean_inc(x_2); x_16 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_2, x_13, x_15); -x_17 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___boxed), 8, 2); +x_17 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault), 8, 2); lean_closure_set(x_17, 0, x_9); lean_closure_set(x_17, 1, x_16); x_18 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_2, x_1, x_17, x_3, x_4, x_5, x_6, x_7, x_8); @@ -22926,7 +23323,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__1; x_2 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1___closed__1; -x_3 = lean_unsigned_to_nat(538u); +x_3 = lean_unsigned_to_nat(558u); x_4 = lean_unsigned_to_nat(42u); x_5 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -22951,7 +23348,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { lean_object* x_13; lean_object* x_72; uint8_t x_73; @@ -22979,6 +23376,7 @@ lean_object* x_14; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); x_14 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(x_13, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_14) == 0) @@ -23053,6 +23451,7 @@ x_32 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); x_33 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_31, x_32, x_7, x_8, x_9, x_10, x_11, x_16); if (lean_obj_tag(x_33) == 0) { @@ -23073,6 +23472,7 @@ uint8_t x_39; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -23135,6 +23535,7 @@ x_52 = l_Lean_Compiler_LCNF_ToLCNF_bindCases_go___closed__8; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); x_53 = l_Lean_Compiler_LCNF_ToLCNF_mkAuxLetDecl(x_51, x_52, x_7, x_8, x_9, x_10, x_11, x_16); if (lean_obj_tag(x_53) == 0) { @@ -23155,6 +23556,7 @@ lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -23218,6 +23620,7 @@ uint8_t x_67; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_4); @@ -23246,7 +23649,7 @@ return x_70; } } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; @@ -23303,7 +23706,7 @@ block_34: lean_object* x_22; lean_inc(x_14); lean_inc(x_1); -x_22 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1___boxed), 12, 5); +x_22 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1), 12, 5); lean_closure_set(x_22, 0, x_1); lean_closure_set(x_22, 1, x_20); lean_closure_set(x_22, 2, x_21); @@ -23315,9 +23718,9 @@ lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean lean_dec(x_14); x_23 = l_Lean_Compiler_LCNF_ToLCNF_seqToCode_go___closed__4; x_24 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_23); -x_25 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___boxed), 7, 1); +x_25 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg), 7, 1); lean_closure_set(x_25, 0, x_24); -x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_26 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_26, 0, x_25); lean_closure_set(x_26, 1, x_22); x_27 = lean_unsigned_to_nat(6u); @@ -23329,9 +23732,9 @@ else lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; x_29 = lean_array_fget(x_14, x_18); lean_dec(x_14); -x_30 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___boxed), 7, 1); +x_30 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg), 7, 1); lean_closure_set(x_30, 0, x_29); -x_31 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_31 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_31, 0, x_30); lean_closure_set(x_31, 1, x_22); x_32 = lean_unsigned_to_nat(6u); @@ -23366,28 +23769,17 @@ x_8 = l_Lean_PersistentHashMap_insertAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_v return x_8; } } -LEAN_EXPORT lean_object* l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_panic___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__5(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__6(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_findAtAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__9___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -23415,138 +23807,26 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwMaxRecDepthAt___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___spec__10(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -lean_dec(x_3); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___lambda__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCore(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLet(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___lambda__3(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitMData___rarg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); return x_9; } } @@ -23559,466 +23839,184 @@ lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProj(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} LEAN_EXPORT lean_object* l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_getProjectionFnInfo_x3f___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Expr_withAppAux___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___spec__3(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitApp(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +lean_dec(x_2); +return x_8; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_1); lean_dec(x_1); x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___lambda__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppArg(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAppDefault___spec__1(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__2(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_throwError___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_getConstInfo___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitProjFn(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__1(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); -return x_15; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitNoConfusion(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_etaIfUnderApplied(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +lean_dec(x_2); +return x_8; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___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, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); +lean_object* x_13; +x_13 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -return x_14; +return x_13; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_15; lean_object* x_16; -x_15 = lean_unbox(x_10); -lean_dec(x_10); -x_16 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15, x_11, x_12, x_13, x_14); +lean_object* x_15; +x_15 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); lean_dec(x_7); lean_dec(x_6); lean_dec(x_2); lean_dec(x_1); -return x_16; -} -} -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { -_start: -{ -uint8_t x_14; lean_object* x_15; -x_14 = lean_unbox(x_9); -lean_dec(x_9); -x_15 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_14, x_10, x_11, x_12, x_13); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -lean_dec(x_1); return x_15; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); +lean_object* x_14; +x_14 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13); lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCases(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; +lean_dec(x_5); +lean_dec(x_2); +lean_dec(x_1); +return x_14; } } LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -uint8_t x_12; lean_object* x_13; -x_12 = lean_unbox(x_7); -lean_dec(x_7); -x_13 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_12, x_8, x_9, x_10, x_11); +lean_object* x_12; +x_12 = l_Std_Range_forIn_loop___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); lean_dec(x_4); lean_dec(x_3); -return x_13; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_mkOverApplication(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; +return x_12; } } LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_isTracingEnabledFor___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; +return x_8; } } LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__2(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Lean_addTrace___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); +lean_object* x_9; +x_9 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_10; +return x_9; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); +lean_object* x_10; +x_10 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); lean_dec(x_3); -return x_11; +return x_10; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -size_t x_10; size_t x_11; uint8_t x_12; lean_object* x_13; +size_t x_10; size_t x_11; lean_object* x_12; x_10 = lean_unbox_usize(x_1); lean_dec(x_1); x_11 = lean_unbox_usize(x_2); lean_dec(x_2); -x_12 = lean_unbox(x_5); -lean_dec(x_5); -x_13 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3(x_10, x_11, x_3, x_4, x_12, x_6, x_7, x_8, x_9); -return x_13; +x_12 = l_Array_mapMUnsafe_map___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___spec__3(x_10, x_11, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -uint8_t x_11; lean_object* x_12; -x_11 = lean_unbox(x_6); -lean_dec(x_6); -x_12 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1(x_1, x_2, x_3, x_4, x_5, x_11, x_7, x_8, x_9, x_10); +lean_object* x_11; +x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); lean_dec(x_4); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___lambda__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAlt(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); return x_11; } } LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1(x_1, x_2, x_8, x_4, x_5, x_6, x_7); +lean_object* x_8; +x_8 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7); lean_dec(x_4); +lean_dec(x_3); lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitFalseRec(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitAndRec(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__1(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { -_start: -{ -uint8_t x_10; lean_object* x_11; -x_10 = lean_unbox(x_5); -lean_dec(x_5); -x_11 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___lambda__2(x_1, x_2, x_3, x_4, x_10, x_6, x_7, x_8, x_9); -return x_11; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitEqRec(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -uint8_t x_9; lean_object* x_10; -x_9 = lean_unbox(x_4); -lean_dec(x_4); -x_10 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitCtor(x_1, x_2, x_3, x_9, x_5, x_6, x_7, x_8); -return x_10; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { -_start: -{ -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_8); -lean_dec(x_8); -x_14 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_13, x_9, x_10, x_11, x_12); -return x_14; -} -} -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { -_start: -{ -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_3); -lean_dec(x_3); -x_9 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitQuotLift(x_1, x_2, x_8, x_4, x_5, x_6, x_7); -return x_9; +return x_8; } } static lean_object* _init_l_Lean_Compiler_LCNF_ToLCNF_toLCNF___closed__1() { @@ -24029,30 +24027,20 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toCode___boxed), 7, return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_7 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit___boxed), 7, 1); +x_7 = lean_alloc_closure((void*)(l_Lean_Compiler_LCNF_ToLCNF_toLCNF_visit), 7, 1); lean_closure_set(x_7, 0, x_1); x_8 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF___closed__1; -x_9 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg___boxed), 8, 2); +x_9 = lean_alloc_closure((void*)(l_ReaderT_bind___at_Lean_Compiler_LCNF_ToLCNF_toLCNF_visitLambda___spec__1___rarg), 8, 2); lean_closure_set(x_9, 0, x_7); lean_closure_set(x_9, 1, x_8); x_10 = l_Lean_Compiler_LCNF_ToLCNF_run___rarg(x_9, x_2, x_3, x_4, x_5, x_6); return x_10; } } -LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_ToLCNF_toLCNF___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { -_start: -{ -uint8_t x_7; lean_object* x_8; -x_7 = lean_unbox(x_2); -lean_dec(x_2); -x_8 = l_Lean_Compiler_LCNF_ToLCNF_toLCNF(x_1, x_7, x_3, x_4, x_5, x_6); -return x_8; -} -} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_ProjFns(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Compiler_BorrowedAnnotation(uint8_t builtin, lean_object*); diff --git a/stage0/stdlib/Lean/Compiler/LCNF/Types.c b/stage0/stdlib/Lean/Compiler/LCNF/Types.c index 5b3b6810db..064a3a0438 100644 --- a/stage0/stdlib/Lean/Compiler/LCNF/Types.c +++ b/stage0/stdlib/Lean/Compiler/LCNF/Types.c @@ -63,6 +63,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_isAnyType___boxed(lean_object*); static lean_object* l_Lean_Compiler_LCNF_getDeclLCNFType___closed__16; static lean_object* l_Lean_Compiler___aux__Lean__Compiler__LCNF__Types______unexpand__lcErased__1___closed__5; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); +uint8_t l_Lean_Expr_isAppOf(lean_object*, lean_object*); static lean_object* l_Lean_Compiler_LCNF_LCNFTypeExtState_types___default___closed__1; static lean_object* l_Lean_Compiler_term_u25fe___closed__7; lean_object* lean_expr_instantiate1(lean_object*, lean_object*); @@ -137,7 +138,6 @@ LEAN_EXPORT uint8_t l_Lean_Compiler_LCNF_isPredicateType(lean_object*); static lean_object* l_Lean_Compiler_LCNF_getDeclLCNFType___closed__11; static lean_object* l_Lean_Compiler_LCNF_getDeclLCNFType___closed__19; static lean_object* l_Lean_Compiler___aux__Lean__Compiler__LCNF__Types______unexpand__lcErased__1___closed__11; -uint8_t l_Lean_Expr_isConstOf(lean_object*, lean_object*); size_t lean_usize_mul(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Compiler_LCNF_instantiateLCNFTypeLevelParams___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Compiler___aux__Lean__Compiler__LCNF__Types______macroRules__Lean__Compiler__term_u25fe__1___closed__1; @@ -1303,7 +1303,7 @@ _start: { lean_object* x_2; uint8_t x_3; x_2 = l_Lean_Compiler___aux__Lean__Compiler__LCNF__Types______macroRules__Lean__Compiler__term_u22a4__1___closed__4; -x_3 = l_Lean_Expr_isConstOf(x_1, x_2); +x_3 = l_Lean_Expr_isAppOf(x_1, x_2); return x_3; } } @@ -1322,7 +1322,7 @@ _start: { lean_object* x_2; uint8_t x_3; x_2 = l_Lean_Compiler___aux__Lean__Compiler__LCNF__Types______macroRules__Lean__Compiler__term_u25fe__1___closed__4; -x_3 = l_Lean_Expr_isConstOf(x_1, x_2); +x_3 = l_Lean_Expr_isAppOf(x_1, x_2); return x_3; } } diff --git a/stage0/stdlib/Lean/Data/Json/FromToJson.c b/stage0/stdlib/Lean/Data/Json/FromToJson.c index 646bf338ac..5a877288e9 100644 --- a/stage0/stdlib/Lean/Data/Json/FromToJson.c +++ b/stage0/stdlib/Lean/Data/Json/FromToJson.c @@ -23,13 +23,17 @@ LEAN_EXPORT lean_object* l_Lean_instToJsonBool___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_instFromJsonProd(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_instToJsonOption___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instFromJsonNat; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonList___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonRBMapString___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_instFromJsonRBMapString(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonArray___rarg(lean_object*, lean_object*); static lean_object* l_Lean_instFromJsonName___closed__3; lean_object* l_Lean_Json_getInt_x3f___boxed(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Lean_instToJsonRBMapString(lean_object*, lean_object*); lean_object* l_Lean_Json_getNum_x3f___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f(lean_object*, lean_object*, lean_object*, lean_object*); double l_Float_ofScientific(lean_object*, uint8_t, lean_object*); @@ -53,14 +57,17 @@ static lean_object* l_Lean_instToJsonJson___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_opt(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instToJsonArray___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); +LEAN_EXPORT lean_object* l_Lean_Json_setObjValAs_x21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Json_parseTagged___closed__6; LEAN_EXPORT lean_object* l_Lean_instToJsonNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_instFromJsonFloat(lean_object*); LEAN_EXPORT lean_object* l_Lean_instFromJsonFilePath___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instFromJsonArray___spec__1(lean_object*); static lean_object* l_Lean_instFromJsonFloat___closed__5; +LEAN_EXPORT lean_object* l_Lean_instToJsonRBMapString___rarg(lean_object*, lean_object*); static lean_object* l_Lean_instFromJsonJsonNumber___closed__1; LEAN_EXPORT lean_object* l_Lean_instFromJsonOption___rarg(lean_object*, lean_object*); +lean_object* l_Lean_RBNode_insert___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_instFromJsonList___spec__1___rarg(lean_object*, size_t, size_t, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); static lean_object* l_Lean_instFromJsonNat___closed__1; @@ -69,6 +76,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_parseTagged(lean_object*, lean_object*, lea uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_bignumToJson(lean_object*); static lean_object* l_Lean_Json_parseTagged___closed__4; +LEAN_EXPORT lean_object* l_Lean_instToJsonRBMapString___boxed(lean_object*, lean_object*); static lean_object* l_Lean_instFromJsonFloat___closed__14; LEAN_EXPORT lean_object* l_Lean_instToJsonInt(lean_object*); LEAN_EXPORT lean_object* l_Lean_instFromJsonUInt64(lean_object*); @@ -79,6 +87,7 @@ LEAN_EXPORT lean_object* l_Lean_instToJsonUInt64(uint64_t); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); double l_Lean_JsonNumber_toFloat(lean_object*); lean_object* l_Lean_Syntax_decodeNatLitVal_x3f(lean_object*); +lean_object* l_Lean_Json_getObj_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_instFromJsonInt; static lean_object* l_Lean_instFromJsonUSize___closed__2; LEAN_EXPORT lean_object* l_Lean_instFromJsonUInt64___lambda__1(lean_object*, lean_object*); @@ -91,7 +100,9 @@ LEAN_EXPORT lean_object* l_Lean_instFromJsonJson(lean_object*); static double l_Lean_instFromJsonFloat___closed__7; LEAN_EXPORT lean_object* l_Lean_instFromJsonBool; lean_object* lean_array_to_list(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Json_parseTagged___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*); +lean_object* l_Lean_Json_setObjVal_x21(lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonUSize(size_t); lean_object* l_Lean_Json_getNat_x3f___boxed(lean_object*); @@ -110,6 +121,7 @@ static lean_object* l_Lean_instFromJsonArray___rarg___closed__1; lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l_List_redLength___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonUSize___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonRBMapString___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonList(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_fromNat(lean_object*); @@ -121,6 +133,7 @@ uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_instFromJsonArray___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_instFromJsonList(lean_object*); LEAN_EXPORT lean_object* l_Lean_instToJsonString(lean_object*); +LEAN_EXPORT lean_object* l_Lean_instFromJsonRBMapString___rarg(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getBool_x3f___boxed(lean_object*); static double l_Lean_instFromJsonFloat___closed__6; LEAN_EXPORT lean_object* l_Lean_instToJsonJsonNumber(lean_object*); @@ -1915,6 +1928,254 @@ return x_17; } } } +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +lean_dec(x_1); +x_4 = lean_box(0); +return x_4; +} +else +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_3); +if (x_5 == 0) +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_6 = lean_ctor_get(x_3, 0); +x_7 = lean_ctor_get(x_3, 2); +x_8 = lean_ctor_get(x_3, 3); +lean_inc(x_1); +x_9 = l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg(x_1, lean_box(0), x_6); +lean_inc(x_1); +x_10 = lean_apply_1(x_1, x_7); +x_11 = l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg(x_1, lean_box(0), x_8); +lean_ctor_set(x_3, 3, x_11); +lean_ctor_set(x_3, 2, x_10); +lean_ctor_set(x_3, 0, x_9); +return x_3; +} +else +{ +uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +x_12 = lean_ctor_get_uint8(x_3, sizeof(void*)*4); +x_13 = lean_ctor_get(x_3, 0); +x_14 = lean_ctor_get(x_3, 1); +x_15 = lean_ctor_get(x_3, 2); +x_16 = lean_ctor_get(x_3, 3); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_dec(x_3); +lean_inc(x_1); +x_17 = l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg(x_1, lean_box(0), x_13); +lean_inc(x_1); +x_18 = lean_apply_1(x_1, x_15); +x_19 = l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg(x_1, lean_box(0), x_16); +x_20 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_20, 0, x_17); +lean_ctor_set(x_20, 1, x_14); +lean_ctor_set(x_20, 2, x_18); +lean_ctor_set(x_20, 3, x_19); +lean_ctor_set_uint8(x_20, sizeof(void*)*4, x_12); +return x_20; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instToJsonRBMapString___rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_RBNode_map___at_Lean_instToJsonRBMapString___spec__1___rarg(x_1, lean_box(0), x_2); +x_4 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_4, 0, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_instToJsonRBMapString(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = lean_alloc_closure((void*)(l_Lean_instToJsonRBMapString___rarg), 2, 0); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_instToJsonRBMapString___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_instToJsonRBMapString(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonRBMapString___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_5; +lean_dec(x_2); +lean_dec(x_1); +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +x_7 = lean_ctor_get(x_4, 1); +lean_inc(x_7); +x_8 = lean_ctor_get(x_4, 2); +lean_inc(x_8); +x_9 = lean_ctor_get(x_4, 3); +lean_inc(x_9); +lean_dec(x_4); +lean_inc(x_2); +lean_inc(x_1); +x_10 = l_Lean_RBNode_foldM___at_Lean_instFromJsonRBMapString___spec__1___rarg(x_1, x_2, x_3, x_6); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +lean_inc(x_2); +x_15 = lean_apply_1(x_2, x_8); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_14); +lean_dec(x_9); +lean_dec(x_7); +lean_dec(x_2); +lean_dec(x_1); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +lean_inc(x_1); +x_20 = l_Lean_RBNode_insert___rarg(x_1, x_14, x_7, x_19); +x_3 = x_20; +x_4 = x_9; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at_Lean_instFromJsonRBMapString___spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_foldM___at_Lean_instFromJsonRBMapString___spec__1___rarg), 4, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_instFromJsonRBMapString___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObj_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +lean_dec(x_2); +lean_dec(x_1); +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_box(0); +x_10 = l_Lean_RBNode_foldM___at_Lean_instFromJsonRBMapString___spec__1___rarg(x_1, x_2, x_9, x_8); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Lean_instFromJsonRBMapString(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_instFromJsonRBMapString___rarg), 3, 0); +return x_2; +} +} static lean_object* _init_l_Lean_Json_instFromJsonStructured___closed__1() { _start: { @@ -2074,6 +2335,15 @@ lean_dec(x_1); return x_5; } } +LEAN_EXPORT lean_object* l_Lean_Json_setObjValAs_x21(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; +x_6 = lean_apply_1(x_3, x_5); +x_7 = l_Lean_Json_setObjVal_x21(x_1, x_4, x_6); +return x_7; +} +} LEAN_EXPORT lean_object* l_Lean_Json_opt___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { diff --git a/stage0/stdlib/Lean/Data/Lsp.c b/stage0/stdlib/Lean/Data/Lsp.c index 404cb6b308..6d2e7359e4 100644 --- a/stage0/stdlib/Lean/Data/Lsp.c +++ b/stage0/stdlib/Lean/Data/Lsp.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Data.Lsp -// Imports: Init Lean.Data.Lsp.Basic Lean.Data.Lsp.Capabilities Lean.Data.Lsp.Client Lean.Data.Lsp.Communication Lean.Data.Lsp.Diagnostics Lean.Data.Lsp.Extra Lean.Data.Lsp.InitShutdown Lean.Data.Lsp.Internal Lean.Data.Lsp.LanguageFeatures Lean.Data.Lsp.TextSync Lean.Data.Lsp.Utf16 Lean.Data.Lsp.Workspace Lean.Data.Lsp.Ipc +// Imports: Init Lean.Data.Lsp.Basic Lean.Data.Lsp.Capabilities Lean.Data.Lsp.Client Lean.Data.Lsp.Communication Lean.Data.Lsp.Diagnostics Lean.Data.Lsp.Extra Lean.Data.Lsp.InitShutdown Lean.Data.Lsp.Internal Lean.Data.Lsp.LanguageFeatures Lean.Data.Lsp.TextSync Lean.Data.Lsp.Utf16 Lean.Data.Lsp.Workspace Lean.Data.Lsp.Ipc Lean.Data.Lsp.CodeActions #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -27,6 +27,7 @@ lean_object* initialize_Lean_Data_Lsp_TextSync(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_Utf16(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_Workspace(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_Ipc(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Lsp_CodeActions(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Data_Lsp(uint8_t builtin, lean_object* w) { lean_object * res; @@ -74,6 +75,9 @@ lean_dec_ref(res); res = initialize_Lean_Data_Lsp_Ipc(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Data_Lsp_CodeActions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Data/Lsp/Basic.c b/stage0/stdlib/Lean/Data/Lsp/Basic.c index d089478440..8bbbd63574 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Basic.c +++ b/stage0/stdlib/Lean/Data/Lsp/Basic.c @@ -13,338 +13,526 @@ #ifdef __cplusplus extern "C" { #endif +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDocumentSelector(lean_object*); static lean_object* l_Lean_Lsp_instToJsonCancelParams___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonMarkupKind(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2399_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3833_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonPartialResultParams; static lean_object* l_Lean_Lsp_instFromJsonMarkupKind___closed__5; static lean_object* l_Lean_Lsp_instToJsonMarkupKind___closed__2; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCancelParams; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressParams; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_hashRange____x40_Lean_Data_Lsp_Basic___hyg_630____boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonTextDocumentEdit___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__3; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____boxed(lean_object*); +lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressParams_workDoneToken_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentIdentifier; static lean_object* l_Lean_Lsp_instFromJsonMarkupKind___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____boxed(lean_object*); uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_Data_JsonRpc___hyg_33_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____boxed(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotation___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_435____spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__5; +LEAN_EXPORT lean_object* l_Lean_Lsp_instAppendTextEditBatch; LEAN_EXPORT lean_object* l_Lean_Lsp_instToStringPosition(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CreateFile_instToJsonOptions; static lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressBegin___closed__1; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____closed__3; lean_object* lean_array_uget(lean_object*, size_t); +static lean_object* l_Lean_Lsp_instToJsonCreateFile___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonDocumentSelector___spec__1___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____closed__1; +lean_object* l_Array_append___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3698____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPartialResultParams; static lean_object* l_Lean_Lsp_instToStringPosition___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentRegistrationOptions; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentIdentifier___closed__1; lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Json_getNat_x3f(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDeleteFile; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentFilter; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__3; LEAN_EXPORT uint64_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_hashRange____x40_Lean_Data_Lsp_Basic___hyg_630_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_WorkDoneProgressReport_cancellable___default; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4621____boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonTextEditBatch___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4621_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPosition; +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2265_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier; static lean_object* l_Lean_Lsp_instBEqLocation___closed__1; static lean_object* l_Lean_Lsp_instInhabitedRange___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSelector___spec__1(size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2961____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCancelParams; LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordRange____x40_Lean_Data_Lsp_Basic___hyg_767_(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqPosition____x40_Lean_Data_Lsp_Basic___hyg_188_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentFilter_language_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressReport_message_x3f___default; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instToStringTextDocumentPositionParams(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287____spec__2(size_t, size_t, lean_object*); +static lean_object* l_Lean_Lsp_CreateFile_instToJsonOptions___closed__1; static lean_object* l_Lean_Lsp_instBEqCancelParams___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRange; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_hashPosition____x40_Lean_Data_Lsp_Basic___hyg_356____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentItem; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonPosition; lean_object* l_Lean_Json_getStr_x3f(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_PartialResultParams_partialResultToken_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqPosition; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__6(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____spec__1___boxed(lean_object*, lean_object*); +lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669____closed__1; lean_object* lean_string_append(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1660____boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonTextDocumentPositionParams___closed__1; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__4; +static lean_object* l_Lean_Lsp_instToJsonChangeAnnotation___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkDoneProgressOptions; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__2; +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287____spec__2___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToStringPosition___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordPosition____x40_Lean_Data_Lsp_Basic___hyg_267____boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_DeleteFile_instFromJsonOptions; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCreateFile; static lean_object* l_Lean_Lsp_instToJsonTextDocumentIdentifier___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentPositionParams; +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4(lean_object*, lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentChange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLocationLink; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_ofTextDocumentEdit(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Lsp_CreateFile_Options_ignoreIfExists___default; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonDocumentFilter___closed__1; static lean_object* l_Lean_Lsp_WorkDoneProgressBegin_kind___default___closed__1; +static lean_object* l_Lean_Lsp_instFromJsonCreateFile___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressEnd___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__3; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkDoneProgressParams; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonTextEditBatch___spec__1(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_noConfusion(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3833____boxed(lean_object*); +static lean_object* l_Lean_Lsp_instToJsonWorkspaceEdit___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordRange____x40_Lean_Data_Lsp_Basic___hyg_767____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonStaticRegistrationOptions; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_TextEdit_annotationId_x3f___default; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonPosition___closed__1; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__1; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_395____closed__1; +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_395____closed__2; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDocumentChange___boxed(lean_object*); +static lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressOptions___closed__1; +static lean_object* l_Lean_Lsp_instToJsonDocumentChange___closed__2; static lean_object* l_Lean_Lsp_MarkupKind_noConfusion___rarg___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_changeAnnotations___default; static lean_object* l_Lean_Lsp_instFromJsonTextEdit___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonStaticRegistrationOptions___closed__1; +static lean_object* l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentSelector(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonPosition___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_TextDocumentRegistrationOptions_documentSelector_x3f___default; static lean_object* l_Lean_Lsp_WorkDoneProgressReport_kind___default___closed__1; +static lean_object* l_Lean_Lsp_instToJsonDocumentChange___closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555____boxed(lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonProgressParams___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2143____boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonMarkupContent___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106_(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_ordPosition____x40_Lean_Data_Lsp_Basic___hyg_267_(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067____closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDeleteFile; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_RBNode_setBlack___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqRange; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Lsp_WorkDoneProgressOptions_workDoneProgress___default; +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonDocumentChange___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__7___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592_(uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__12(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCommand; static lean_object* l_Lean_Lsp_instHashableRange___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRenameFile; +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextEditBatch(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1466_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObj_x3f(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressEnd_kind___default; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__2; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1; static lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonRange___closed__1; +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDocumentFilter___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_DeleteFile_annotationId_x3f___default; +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressReport_kind___default; +LEAN_EXPORT lean_object* l_Lean_Lsp_RenameFile_options_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1___boxed(lean_object*, lean_object*); lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_documentChanges___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonMarkupContent; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____closed__4; static lean_object* l_Lean_Lsp_instFromJsonTextDocumentPositionParams___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_RenameFile_annotationId_x3f___default; +static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEdit___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqLocation; +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit; static lean_object* l_Lean_Lsp_instToStringTextDocumentPositionParams___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501_(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonTextEditBatch___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1; static lean_object* l_Lean_Lsp_instToJsonTextDocumentItem___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__2; static lean_object* l_Lean_Lsp_instBEqPosition___closed__1; +static lean_object* l_Lean_Lsp_instToJsonDocumentChange___closed__6; +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonRange___closed__1; +static lean_object* l_Lean_Lsp_instFromJsonPartialResultParams___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__2; +lean_object* l_Lean_Json_setObjVal_x21(lean_object*, lean_object*, lean_object*); uint64_t lean_uint64_of_nat(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_DeleteFile_instFromJsonOptions___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_435_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_ChangeAnnotation_description_x3f___default; +LEAN_EXPORT uint8_t l_Lean_Lsp_DeleteFile_Options_recursive___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextEdit; +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_changes___default; LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_noConfusion___rarg___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_116_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__2; static lean_object* l_Lean_Lsp_instBEqRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonRenameFile___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instHashableRange; static lean_object* l_Lean_Lsp_instToJsonCommand___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentPositionParams; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____boxed(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__2; +static lean_object* l_Lean_Lsp_instToJsonPartialResultParams___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_noConfusion___rarg___lambda__1___boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501____closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonLocationLink___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_CreateFile_options_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentFilter_scheme_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentFilter_pattern_x3f___default; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonTextEditBatch___spec__1(size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__6; LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressReport_percentage_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instLTPosition; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCreateFile; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____boxed(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonWorkDoneProgressOptions___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonDocumentSelector___spec__1___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519_(lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLocationLink; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressReport; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__2; LEAN_EXPORT uint64_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_hashPosition____x40_Lean_Data_Lsp_Basic___hyg_356_(lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonRenameFile; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonMarkupContent; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentEdit; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_4398____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__2; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__1; LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqLocation____x40_Lean_Data_Lsp_Basic___hyg_893_(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instOrdPosition; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentItem; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__2; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instEmptyCollectionTextEditBatch; LEAN_EXPORT lean_object* l_Lean_Lsp_instLTRange; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedCancelParams; +static lean_object* l_Lean_Lsp_instToJsonDocumentChange___closed__5; static lean_object* l_Lean_Lsp_instToJsonStaticRegistrationOptions___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1466____boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2881_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_4318_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_116____boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__2(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287____closed__3; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__5; +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__5(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Lsp_ChangeAnnotation_needsConfirmation___default; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_435____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqCancelParams; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonDeleteFile___closed__1; +static lean_object* l_Lean_Lsp_instToJsonDocumentChange___closed__3; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressOptions; lean_object* l_Lean_JsonNumber_fromNat(lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_Lsp_DeleteFile_Options_ignoreIfNotExists___default; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__2; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__6; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonMarkupKind(uint8_t); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__3; static lean_object* l_Lean_Lsp_instInhabitedCancelParams___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instLEPosition; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1; static lean_object* l_Lean_Lsp_instOrdRange___closed__1; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedLocation; static lean_object* l_Lean_Lsp_instFromJsonMarkupKind___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonDocumentSelector___spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceEdit; static lean_object* l_Lean_Lsp_instHashablePosition___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____closed__2; static lean_object* l_Lean_Lsp_instToJsonTextEdit___closed__1; static lean_object* l_Lean_Lsp_instToJsonLocationLink___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__4; LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedPosition; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotation; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressBegin; LEAN_EXPORT lean_object* l_Lean_Lsp_Command_arguments_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instLERange; +uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonMarkupContent___closed__1; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg___closed__1; static lean_object* l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier___closed__1; +static lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressParams___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonChangeAnnotation; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedCancelParams___closed__2; +static lean_object* l_Lean_Lsp_instToJsonDocumentChange___closed__7; lean_object* l_Lean_Json_mkObj(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqCancelParams____x40_Lean_Data_Lsp_Basic___hyg_26____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__9(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressEnd_message_x3f___default; static lean_object* l_Lean_Lsp_instInhabitedLocation___closed__1; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__3; +static lean_object* l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601_(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2399____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instCoeTextEditTextEditBatch(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717_(lean_object*); +static lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__1; static lean_object* l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__8(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonCancelParams___closed__1; +static lean_object* l_Lean_Lsp_instToJsonDeleteFile___closed__1; lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234_(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__2; +lean_object* l_Lean_RBNode_fold___at_Lean_RBMap_mergeBy___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDocumentChange(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1; static lean_object* l_Lean_Lsp_instFromJsonCommand___closed__1; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__2; +static lean_object* l_Lean_Lsp_DeleteFile_instToJsonOptions___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonStaticRegistrationOptions; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2143_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__2; static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____boxed(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonRenameFile___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4541_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_435____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____boxed(lean_object*); static lean_object* l_Lean_Lsp_instToStringPosition___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452_(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonWorkDoneProgressParams___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886_(lean_object*); uint64_t lean_uint64_mix_hash(uint64_t, uint64_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLocation; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_DeleteFile_instToJsonOptions; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3698_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287____closed__2; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__5; +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__3(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getBool_x3f(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkDoneProgressEnd; LEAN_EXPORT lean_object* l_Lean_Lsp_instOrdRange; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103_(lean_object*); +LEAN_EXPORT uint8_t l_Lean_Lsp_CreateFile_Options_overwrite___default; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqLocation____x40_Lean_Data_Lsp_Basic___hyg_893____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextEditBatch(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_WorkDoneProgressBegin_kind___default; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonRange; +static lean_object* l_Lean_Lsp_CreateFile_instFromJsonOptions___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonMarkupKind___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2961_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_4398_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonMarkupKind___closed__1; static lean_object* l_Lean_Lsp_instOrdPosition___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__2(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCommand; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonProgressParams(lean_object*); static lean_object* l_Lean_Lsp_instToJsonLocation___closed__1; static lean_object* l_Lean_Lsp_instFromJsonLocation___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1588_(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1660_(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonMarkupKind___closed__6; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentEdit; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954____boxed(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2; +static lean_object* l_Lean_Lsp_instCoeTextEditTextEditBatch___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextEdit; -static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2377_(lean_object*); +lean_object* l_Lean_Json_getObjVal_x3f(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instAppendTextEditBatch___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3811_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__7(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instHashablePosition; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4541____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CreateFile_instFromJsonOptions; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_395_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_VersionedTextDocumentIdentifier_version_x3f___default; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqPosition____x40_Lean_Data_Lsp_Basic___hyg_188____boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDocumentFilter; static lean_object* l_Lean_Lsp_instFromJsonTextDocumentEdit___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_DeleteFile_options_x3f___default; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonMarkupKind___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions; LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqCancelParams____x40_Lean_Data_Lsp_Basic___hyg_26_(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentItem___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonMarkupKind___boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentRegistrationOptions___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2265____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedRange; LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__1; static lean_object* l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions___closed__1; static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_MarkupKind_toCtorIdx(uint8_t); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentIdentifier; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3811____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2377____boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonMarkupKind___closed__2; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1588____boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355_(lean_object*); +uint8_t lean_string_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_StaticRegistrationOptions_id_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLocation; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceEdit; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CreateFile_annotationId_x3f___default; static lean_object* l_Lean_Lsp_instInhabitedPosition___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__2; +static lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__3; +static lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__1; static lean_object* _init_l_Lean_Lsp_instInhabitedCancelParams___closed__1() { _start: { @@ -2592,7 +2780,43 @@ x_1 = l_Lean_Lsp_instFromJsonCommand___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426____closed__1() { +static lean_object* _init_l_Lean_Lsp_TextEdit_annotationId_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_5, 0, x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__1() { _start: { lean_object* x_1; @@ -2600,10 +2824,18 @@ x_1 = lean_mk_string_from_bytes("newText", 7); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426_(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2() { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("annotationId", 12); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_2); @@ -2617,32 +2849,49 @@ lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 1, x_6); x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); -lean_dec(x_1); x_9 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_9, 0, x_8); -x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426____closed__1; +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); x_12 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_6); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_6); -x_14 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_14, 0, x_7); -lean_ctor_set(x_14, 1, x_13); -x_15 = l_List_join___rarg(x_14); -x_16 = l_Lean_Json_mkObj(x_15); -return x_16; +x_13 = lean_ctor_get(x_1, 2); +lean_inc(x_13); +lean_dec(x_1); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_14, x_13); +lean_dec(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_6); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_12); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_7); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_List_join___rarg(x_18); +x_20 = l_Lean_Json_mkObj(x_19); +return x_20; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; } } static lean_object* _init_l_Lean_Lsp_instToJsonTextEdit___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436_), 1, 0); return x_1; } } @@ -2654,7 +2903,71 @@ x_1 = l_Lean_Lsp_instToJsonTextEdit___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1466_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getStr_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -2685,7 +2998,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426____closed__1; +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__1; x_9 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_8); if (lean_obj_tag(x_9) == 0) { @@ -2709,40 +3022,82 @@ return x_12; } else { -uint8_t x_13; -x_13 = !lean_is_exclusive(x_9); -if (x_13 == 0) +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_14; lean_object* x_15; -x_14 = lean_ctor_get(x_9, 0); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_7); -lean_ctor_set(x_15, 1, x_14); -lean_ctor_set(x_9, 0, x_15); -return x_9; +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_16 = lean_ctor_get(x_9, 0); -lean_inc(x_16); -lean_dec(x_9); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_7); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_alloc_ctor(1, 1, 0); +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_18, 0, x_17); return x_18; } } +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1466____boxed(lean_object* x_1) { +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1466_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480_(x_1); lean_dec(x_1); return x_2; } @@ -2751,7 +3106,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonTextEdit___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1466____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____boxed), 1, 0); return x_1; } } @@ -2781,7 +3136,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_array_uget(x_3, x_2); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1466_(x_6); +x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480_(x_6); lean_dec(x_6); if (lean_obj_tag(x_9) == 0) { @@ -2878,7 +3233,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426_(x_5); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436_(x_5); x_9 = 1; x_10 = lean_usize_add(x_2, x_9); x_11 = lean_array_uset(x_7, x_2, x_8); @@ -2914,7 +3269,58 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonTextEditBatch___spec__1(x_4 return x_6; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(lean_object* x_1) { +static lean_object* _init_l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(0u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instEmptyCollectionTextEditBatch() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instAppendTextEditBatch___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Array_append___rarg), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instAppendTextEditBatch() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instAppendTextEditBatch___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instCoeTextEditTextEditBatch___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = lean_mk_empty_array_with_capacity(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instCoeTextEditTextEditBatch(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l_Lean_Lsp_instCoeTextEditTextEditBatch___closed__1; +x_3 = lean_array_push(x_2, x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(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; @@ -2940,7 +3346,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentIdentifier___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_), 1, 0); return x_1; } } @@ -2952,7 +3358,7 @@ x_1 = l_Lean_Lsp_instToJsonTextDocumentIdentifier___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1588_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1660_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -2998,11 +3404,11 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1588____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1660____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1588_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1660_(x_1); lean_dec(x_1); return x_2; } @@ -3011,7 +3417,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentIdentifier___closed _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1588____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1660____boxed), 1, 0); return x_1; } } @@ -3031,7 +3437,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -3061,7 +3467,7 @@ return x_9; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1() { _start: { lean_object* x_1; @@ -3069,7 +3475,7 @@ x_1 = lean_mk_string_from_bytes("version", 7); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -3088,8 +3494,8 @@ x_7 = lean_box(0); x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); -x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____spec__1(x_9, x_3); +x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____spec__1(x_9, x_3); x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -3105,7 +3511,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_), 1, 0); return x_1; } } @@ -3117,7 +3523,7 @@ x_1 = l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3181,7 +3587,7 @@ return x_14; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -3212,8 +3618,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -3265,21 +3671,21 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754_(x_1); lean_dec(x_1); return x_2; } @@ -3288,7 +3694,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____boxed), 1, 0); return x_1; } } @@ -3300,7 +3706,7 @@ x_1 = l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1() { _start: { lean_object* x_1; @@ -3308,7 +3714,7 @@ x_1 = lean_mk_string_from_bytes("textDocument", 12); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__2() { _start: { lean_object* x_1; @@ -3316,14 +3722,14 @@ x_1 = lean_mk_string_from_bytes("edits", 5); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831_(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; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_(x_2); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1; +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_(x_2); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -3341,7 +3747,7 @@ x_11 = 0; x_12 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonTextEditBatch___spec__1(x_10, x_11, x_8); x_13 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_13, 0, x_12); -x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__2; +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__2; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); @@ -3363,7 +3769,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentEdit___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831_), 1, 0); return x_1; } } @@ -3375,17 +3781,17 @@ x_1 = l_Lean_Lsp_instToJsonTextDocumentEdit___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682_(x_3); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754_(x_3); lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3419,12 +3825,12 @@ return x_15; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -3450,8 +3856,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__2(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__2(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -3503,31 +3909,31 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871_(x_1); lean_dec(x_1); return x_2; } @@ -3536,7 +3942,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentEdit___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____boxed), 1, 0); return x_1; } } @@ -3548,107 +3954,884 @@ x_1 = l_Lean_Lsp_instFromJsonTextDocumentEdit___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__1() { +static uint8_t _init_l_Lean_Lsp_ChangeAnnotation_needsConfirmation___default() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("languageId", 10); +uint8_t x_1; +x_1 = 0; return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__2() { +static lean_object* _init_l_Lean_Lsp_ChangeAnnotation_description_x3f___default() { _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("text", 4); +x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892_(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__1() { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("label", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("needsConfirmation", 17); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("description", 11); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959_(lean_object* x_1) { +_start: +{ +lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get_uint8(x_1, sizeof(void*)*2); +x_4 = lean_ctor_get(x_1, 1); lean_inc(x_2); -x_3 = lean_ctor_get(x_1, 1); -lean_inc(x_3); -x_4 = lean_ctor_get(x_1, 2); -lean_inc(x_4); -x_5 = lean_ctor_get(x_1, 3); -lean_inc(x_5); -lean_dec(x_1); -x_6 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_6, 0, x_2); -x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__1; -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_7); -lean_ctor_set(x_8, 1, x_6); -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_9); -x_11 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_11, 0, x_3); -x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__1; -x_13 = lean_alloc_ctor(0, 2, 0); +x_5 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_5, 0, x_2); +x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__1; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_10, 0, x_3); +x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__2; +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_11); +lean_ctor_set(x_13, 1, x_8); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__3; +x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_14, x_4); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_8); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_13); +lean_ctor_set(x_17, 1, x_16); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_9); +lean_ctor_set(x_18, 1, x_17); +x_19 = l_List_join___rarg(x_18); +x_20 = l_Lean_Json_mkObj(x_19); +return x_20; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonChangeAnnotation___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonChangeAnnotation() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonChangeAnnotation___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l_Lean_Json_getBool_x3f(x_3); +lean_dec(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_unbox(x_13); +lean_dec(x_13); +lean_ctor_set_uint8(x_21, sizeof(void*)*2, x_22); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_23 = lean_ctor_get(x_15, 0); +lean_inc(x_23); +lean_dec(x_15); +x_24 = lean_alloc_ctor(0, 2, 1); +lean_ctor_set(x_24, 0, x_7); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_unbox(x_13); +lean_dec(x_13); +lean_ctor_set_uint8(x_24, sizeof(void*)*2, x_25); +x_26 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_26, 0, x_24); +return x_26; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotation___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotation() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonChangeAnnotation___closed__1; +return x_1; +} +} +static uint8_t _init_l_Lean_Lsp_CreateFile_Options_overwrite___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +static uint8_t _init_l_Lean_Lsp_CreateFile_Options_ignoreIfExists___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("overwrite", 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ignoreIfExists", 14); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103_(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_2 = lean_ctor_get_uint8(x_1, 0); +x_3 = lean_ctor_get_uint8(x_1, 1); +x_4 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_4, 0, x_2); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_9, 0, x_3); +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__2; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_7); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_8); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_List_join___rarg(x_14); +x_16 = l_Lean_Json_mkObj(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_CreateFile_instToJsonOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CreateFile_instToJsonOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_CreateFile_instToJsonOptions___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2143_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_alloc_ctor(0, 0, 2); +x_16 = lean_unbox(x_7); +lean_dec(x_7); +lean_ctor_set_uint8(x_15, 0, x_16); +x_17 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_15, 1, x_17); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_9, 0); +lean_inc(x_18); +lean_dec(x_9); +x_19 = lean_alloc_ctor(0, 0, 2); +x_20 = lean_unbox(x_7); +lean_dec(x_7); +lean_ctor_set_uint8(x_19, 0, x_20); +x_21 = lean_unbox(x_18); +lean_dec(x_18); +lean_ctor_set_uint8(x_19, 1, x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_19); +return x_22; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2143____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2143_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_CreateFile_instFromJsonOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2143____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CreateFile_instFromJsonOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_CreateFile_instFromJsonOptions___closed__1; +return x_1; +} +} +static uint8_t _init_l_Lean_Lsp_DeleteFile_Options_recursive___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +static uint8_t _init_l_Lean_Lsp_DeleteFile_Options_ignoreIfNotExists___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("recursive", 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ignoreIfNotExists", 17); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225_(lean_object* x_1) { +_start: +{ +uint8_t x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_2 = lean_ctor_get_uint8(x_1, 0); +x_3 = lean_ctor_get_uint8(x_1, 1); +x_4 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_4, 0, x_2); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_9, 0, x_3); +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__2; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_7); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_7); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_8); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_List_join___rarg(x_14); +x_16 = l_Lean_Json_mkObj(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_DeleteFile_instToJsonOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_DeleteFile_instToJsonOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_DeleteFile_instToJsonOptions___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2265_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; uint8_t x_17; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_alloc_ctor(0, 0, 2); +x_16 = lean_unbox(x_7); +lean_dec(x_7); +lean_ctor_set_uint8(x_15, 0, x_16); +x_17 = lean_unbox(x_14); +lean_dec(x_14); +lean_ctor_set_uint8(x_15, 1, x_17); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; uint8_t x_21; lean_object* x_22; +x_18 = lean_ctor_get(x_9, 0); +lean_inc(x_18); +lean_dec(x_9); +x_19 = lean_alloc_ctor(0, 0, 2); +x_20 = lean_unbox(x_7); +lean_dec(x_7); +lean_ctor_set_uint8(x_19, 0, x_20); +x_21 = lean_unbox(x_18); +lean_dec(x_18); +lean_ctor_set_uint8(x_19, 1, x_21); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_19); +return x_22; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2265____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2265_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_DeleteFile_instFromJsonOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2265____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_DeleteFile_instFromJsonOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_DeleteFile_instFromJsonOptions___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CreateFile_options_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CreateFile_annotationId_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("options", 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_2); +x_5 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_5, 0, x_2); +x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__1; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1; +x_11 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____spec__1(x_10, x_3); +x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_12, x_4); x_14 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_9); -x_15 = l_Lean_JsonNumber_fromNat(x_4); -x_16 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_16, 0, x_15); -x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1; -x_18 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_18, 0, x_17); -lean_ctor_set(x_18, 1, x_16); -x_19 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_9); -x_20 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_20, 0, x_5); -x_21 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__2; -x_22 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_20); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_22); -lean_ctor_set(x_23, 1, x_9); -x_24 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_9); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_19); -lean_ctor_set(x_25, 1, x_24); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_14); -lean_ctor_set(x_26, 1, x_25); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_10); -lean_ctor_set(x_27, 1, x_26); -x_28 = l_List_join___rarg(x_27); -x_29 = l_Lean_Json_mkObj(x_28); -return x_29; +lean_ctor_set(x_14, 1, x_8); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_List_join___rarg(x_16); +x_18 = l_Lean_Json_mkObj(x_17); +return x_18; } } -static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentItem___closed__1() { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCreateFile___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____boxed), 1, 0); return x_1; } } -static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentItem() { +static lean_object* _init_l_Lean_Lsp_instToJsonCreateFile() { _start: { lean_object* x_1; -x_1 = l_Lean_Lsp_instToJsonTextDocumentItem___closed__1; +x_1 = l_Lean_Lsp_instToJsonCreateFile___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2143_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; @@ -3679,7 +4862,7508 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__1; +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCreateFile___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCreateFile() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCreateFile___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_RenameFile_options_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_RenameFile_annotationId_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("oldUri", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("newUri", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_ctor_get(x_1, 2); +x_5 = lean_ctor_get(x_1, 3); +lean_inc(x_2); +x_6 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_6, 0, x_2); +x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +lean_inc(x_3); +x_11 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_11, 0, x_3); +x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__2; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1; +x_16 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____spec__1(x_15, x_4); +x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_18 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_17, x_5); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_9); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_16); +lean_ctor_set(x_20, 1, x_19); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_14); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_10); +lean_ctor_set(x_22, 1, x_21); +x_23 = l_List_join___rarg(x_22); +x_24 = l_Lean_Json_mkObj(x_23); +return x_24; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonRenameFile___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonRenameFile() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonRenameFile___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +else +{ +uint8_t x_25; +x_25 = !lean_is_exclusive(x_21); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; +x_26 = lean_ctor_get(x_21, 0); +x_27 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_27, 0, x_7); +lean_ctor_set(x_27, 1, x_13); +lean_ctor_set(x_27, 2, x_19); +lean_ctor_set(x_27, 3, x_26); +lean_ctor_set(x_21, 0, x_27); +return x_21; +} +else +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_21, 0); +lean_inc(x_28); +lean_dec(x_21); +x_29 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_13); +lean_ctor_set(x_29, 2, x_19); +lean_ctor_set(x_29, 3, x_28); +x_30 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_30, 0, x_29); +return x_30; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRenameFile___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonRenameFile() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonRenameFile___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_DeleteFile_options_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_DeleteFile_annotationId_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_2 = lean_ctor_get(x_1, 0); +x_3 = lean_ctor_get(x_1, 1); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_2); +x_5 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_5, 0, x_2); +x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__1; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1; +x_11 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____spec__1(x_10, x_3); +x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_12, x_4); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_8); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_11); +lean_ctor_set(x_15, 1, x_14); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_9); +lean_ctor_set(x_16, 1, x_15); +x_17 = l_List_join___rarg(x_16); +x_18 = l_Lean_Json_mkObj(x_17); +return x_18; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDeleteFile___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDeleteFile() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonDeleteFile___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_fromJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2265_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonDeleteFile___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonDeleteFile() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonDeleteFile___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentChange___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("create", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentChange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Lsp_instToJsonDocumentChange___closed__1; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentChange___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("kind", 4); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentChange___closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("rename", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentChange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Lsp_instToJsonDocumentChange___closed__4; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentChange___closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("delete", 6); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonDocumentChange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Lsp_instToJsonDocumentChange___closed__6; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentChange(lean_object* x_1) { +_start: +{ +switch (lean_obj_tag(x_1)) { +case 0: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +lean_dec(x_1); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355_(x_2); +lean_dec(x_2); +x_4 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_5 = l_Lean_Lsp_instToJsonDocumentChange___closed__2; +x_6 = l_Lean_Json_setObjVal_x21(x_3, x_4, x_5); +return x_6; +} +case 1: +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507_(x_7); +lean_dec(x_7); +x_9 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_10 = l_Lean_Lsp_instToJsonDocumentChange___closed__5; +x_11 = l_Lean_Json_setObjVal_x21(x_8, x_9, x_10); +return x_11; +} +case 2: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = lean_ctor_get(x_1, 0); +lean_inc(x_12); +lean_dec(x_1); +x_13 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680_(x_12); +lean_dec(x_12); +x_14 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_15 = l_Lean_Lsp_instToJsonDocumentChange___closed__7; +x_16 = l_Lean_Json_setObjVal_x21(x_13, x_14, x_15); +return x_16; +} +default: +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_1, 0); +lean_inc(x_17); +lean_dec(x_1); +x_18 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831_(x_17); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDocumentChange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_14; lean_object* x_15; +x_14 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_15 = l_Lean_Json_getObjVal_x3f(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +lean_object* x_16; +lean_dec(x_15); +x_16 = lean_box(0); +x_2 = x_16; +goto block_13; +} +else +{ +lean_object* x_17; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +if (lean_obj_tag(x_17) == 3) +{ +lean_object* x_18; lean_object* x_19; uint8_t x_20; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +lean_dec(x_17); +x_19 = l_Lean_Lsp_instToJsonDocumentChange___closed__1; +x_20 = lean_string_dec_eq(x_18, x_19); +if (x_20 == 0) +{ +lean_object* x_21; uint8_t x_22; +x_21 = l_Lean_Lsp_instToJsonDocumentChange___closed__4; +x_22 = lean_string_dec_eq(x_18, x_21); +if (x_22 == 0) +{ +lean_object* x_23; uint8_t x_24; +x_23 = l_Lean_Lsp_instToJsonDocumentChange___closed__6; +x_24 = lean_string_dec_eq(x_18, x_23); +lean_dec(x_18); +if (x_24 == 0) +{ +lean_object* x_25; +x_25 = lean_box(0); +x_2 = x_25; +goto block_13; +} +else +{ +lean_object* x_26; +x_26 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717_(x_1); +if (lean_obj_tag(x_26) == 0) +{ +lean_object* x_27; +lean_dec(x_26); +x_27 = lean_box(0); +x_2 = x_27; +goto block_13; +} +else +{ +uint8_t x_28; +x_28 = !lean_is_exclusive(x_26); +if (x_28 == 0) +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_26, 0); +x_30 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_30, 0, x_29); +lean_ctor_set(x_26, 0, x_30); +return x_26; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_26, 0); +lean_inc(x_31); +lean_dec(x_26); +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; +} +} +} +} +else +{ +lean_object* x_34; +lean_dec(x_18); +x_34 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555_(x_1); +if (lean_obj_tag(x_34) == 0) +{ +lean_object* x_35; +lean_dec(x_34); +x_35 = lean_box(0); +x_2 = x_35; +goto block_13; +} +else +{ +uint8_t x_36; +x_36 = !lean_is_exclusive(x_34); +if (x_36 == 0) +{ +lean_object* x_37; lean_object* x_38; +x_37 = lean_ctor_get(x_34, 0); +x_38 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_34, 0, x_38); +return x_34; +} +else +{ +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_34, 0); +lean_inc(x_39); +lean_dec(x_34); +x_40 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_40, 0, x_39); +x_41 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_41, 0, x_40); +return x_41; +} +} +} +} +else +{ +lean_object* x_42; +lean_dec(x_18); +x_42 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392_(x_1); +if (lean_obj_tag(x_42) == 0) +{ +lean_object* x_43; +lean_dec(x_42); +x_43 = lean_box(0); +x_2 = x_43; +goto block_13; +} +else +{ +uint8_t x_44; +x_44 = !lean_is_exclusive(x_42); +if (x_44 == 0) +{ +lean_object* x_45; lean_object* x_46; +x_45 = lean_ctor_get(x_42, 0); +x_46 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_42, 0, x_46); +return x_42; +} +else +{ +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_42, 0); +lean_inc(x_47); +lean_dec(x_42); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +x_49 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_49, 0, x_48); +return x_49; +} +} +} +} +else +{ +lean_object* x_50; +lean_dec(x_17); +x_50 = lean_box(0); +x_2 = x_50; +goto block_13; +} +} +block_13: +{ +lean_object* x_3; +lean_dec(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871_(x_1); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +x_9 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_3, 0, x_9); +return x_3; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_3, 0); +lean_inc(x_10); +lean_dec(x_3); +x_11 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_11, 0, x_10); +x_12 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDocumentChange___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_instFromJsonDocumentChange(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_changes___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_documentChanges___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_changeAnnotations___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 2); +x_6 = lean_ctor_get(x_1, 3); +x_7 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg(x_4); +x_8 = lean_array_get_size(x_5); +x_9 = lean_usize_of_nat(x_8); +lean_dec(x_8); +x_10 = 0; +x_11 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonTextEditBatch___spec__1(x_9, x_10, x_5); +x_12 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_12, 0, x_11); +x_13 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg(x_6); +lean_ctor_set(x_1, 3, x_13); +lean_ctor_set(x_1, 2, x_12); +lean_ctor_set(x_1, 0, x_7); +return x_1; +} +else +{ +uint8_t 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; size_t x_21; size_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +x_15 = lean_ctor_get(x_1, 0); +x_16 = lean_ctor_get(x_1, 1); +x_17 = lean_ctor_get(x_1, 2); +x_18 = lean_ctor_get(x_1, 3); +lean_inc(x_18); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_dec(x_1); +x_19 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg(x_15); +x_20 = lean_array_get_size(x_17); +x_21 = lean_usize_of_nat(x_20); +lean_dec(x_20); +x_22 = 0; +x_23 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instToJsonTextEditBatch___spec__1(x_21, x_22, x_17); +x_24 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_24, 0, x_23); +x_25 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg(x_18); +x_26 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_26, 0, x_19); +lean_ctor_set(x_26, 1, x_16); +lean_ctor_set(x_26, 2, x_24); +lean_ctor_set(x_26, 3, x_25); +lean_ctor_set_uint8(x_26, sizeof(void*)*4, x_14); +return x_26; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; size_t x_8; size_t x_9; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = 1; +x_9 = lean_usize_add(x_2, x_8); +switch (lean_obj_tag(x_5)) { +case 0: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_10 = lean_ctor_get(x_5, 0); +lean_inc(x_10); +lean_dec(x_5); +x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355_(x_10); +lean_dec(x_10); +x_12 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_13 = l_Lean_Lsp_instToJsonDocumentChange___closed__2; +x_14 = l_Lean_Json_setObjVal_x21(x_11, x_12, x_13); +x_15 = lean_array_uset(x_7, x_2, x_14); +x_2 = x_9; +x_3 = x_15; +goto _start; +} +case 1: +{ +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_17 = lean_ctor_get(x_5, 0); +lean_inc(x_17); +lean_dec(x_5); +x_18 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507_(x_17); +lean_dec(x_17); +x_19 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_20 = l_Lean_Lsp_instToJsonDocumentChange___closed__5; +x_21 = l_Lean_Json_setObjVal_x21(x_18, x_19, x_20); +x_22 = lean_array_uset(x_7, x_2, x_21); +x_2 = x_9; +x_3 = x_22; +goto _start; +} +case 2: +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = lean_ctor_get(x_5, 0); +lean_inc(x_24); +lean_dec(x_5); +x_25 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2680_(x_24); +lean_dec(x_24); +x_26 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_27 = l_Lean_Lsp_instToJsonDocumentChange___closed__7; +x_28 = l_Lean_Json_setObjVal_x21(x_25, x_26, x_27); +x_29 = lean_array_uset(x_7, x_2, x_28); +x_2 = x_9; +x_3 = x_29; +goto _start; +} +default: +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_5, 0); +lean_inc(x_31); +lean_dec(x_5); +x_32 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831_(x_31); +x_33 = lean_array_uset(x_7, x_2, x_32); +x_2 = x_9; +x_3 = x_33; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg(lean_object* x_1) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_2; +x_2 = lean_box(0); +return x_2; +} +else +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_1, 0); +x_5 = lean_ctor_get(x_1, 2); +x_6 = lean_ctor_get(x_1, 3); +x_7 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg(x_4); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959_(x_5); +lean_dec(x_5); +x_9 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg(x_6); +lean_ctor_set(x_1, 3, x_9); +lean_ctor_set(x_1, 2, x_8); +lean_ctor_set(x_1, 0, x_7); +return x_1; +} +else +{ +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; +x_10 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +x_11 = lean_ctor_get(x_1, 0); +x_12 = lean_ctor_get(x_1, 1); +x_13 = lean_ctor_get(x_1, 2); +x_14 = lean_ctor_get(x_1, 3); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_dec(x_1); +x_15 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg(x_11); +x_16 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959_(x_13); +lean_dec(x_13); +x_17 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg(x_14); +x_18 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_18, 0, x_15); +lean_ctor_set(x_18, 1, x_12); +lean_ctor_set(x_18, 2, x_16); +lean_ctor_set(x_18, 3, x_17); +lean_ctor_set_uint8(x_18, sizeof(void*)*4, x_10); +return x_18; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg), 1, 0); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("changes", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("documentChanges", 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("changeAnnotations", 17); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091_(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; size_t x_11; size_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__1___rarg(x_2); +x_4 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_4, 0, x_3); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_ctor_get(x_1, 1); +lean_inc(x_9); +x_10 = lean_array_get_size(x_9); +x_11 = lean_usize_of_nat(x_10); +lean_dec(x_10); +x_12 = 0; +x_13 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__2(x_11, x_12, x_9); +x_14 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_14, 0, x_13); +x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__2; +x_16 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_16, 0, x_15); +lean_ctor_set(x_16, 1, x_14); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_7); +x_18 = lean_ctor_get(x_1, 2); +lean_inc(x_18); +lean_dec(x_1); +x_19 = l_Lean_RBNode_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__3___rarg(x_18); +x_20 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_20, 0, x_19); +x_21 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__3; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_7); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_7); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_8); +lean_ctor_set(x_26, 1, x_25); +x_27 = l_List_join___rarg(x_26); +x_28 = l_Lean_Json_mkObj(x_27); +return x_28; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____spec__2(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEdit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEdit() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonWorkspaceEdit___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +x_13 = lean_string_dec_lt(x_2, x_10); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_string_dec_eq(x_2, x_10); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_12, x_2, x_3); +x_16 = 0; +lean_ctor_set(x_1, 3, x_15); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_16); +return x_1; +} +else +{ +uint8_t x_17; +lean_dec(x_11); +lean_dec(x_10); +x_17 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_17); +return x_1; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_9, x_2, x_3); +x_19 = 0; +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +x_22 = lean_ctor_get(x_1, 2); +x_23 = lean_ctor_get(x_1, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_24 = lean_string_dec_lt(x_2, x_21); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = lean_string_dec_eq(x_2, x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_26 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_23, x_2, x_3); +x_27 = 0; +x_28 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 2, x_22); +lean_ctor_set(x_28, 3, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); +return x_28; +} +else +{ +uint8_t x_29; lean_object* x_30; +lean_dec(x_22); +lean_dec(x_21); +x_29 = 0; +x_30 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_2); +lean_ctor_set(x_30, 2, x_3); +lean_ctor_set(x_30, 3, x_23); +lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_31 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_20, x_2, x_3); +x_32 = 0; +x_33 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_21); +lean_ctor_set(x_33, 2, x_22); +lean_ctor_set(x_33, 3, x_23); +lean_ctor_set_uint8(x_33, sizeof(void*)*4, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_1); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_1, 0); +x_36 = lean_ctor_get(x_1, 1); +x_37 = lean_ctor_get(x_1, 2); +x_38 = lean_ctor_get(x_1, 3); +x_39 = lean_string_dec_lt(x_2, x_36); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = lean_string_dec_eq(x_2, x_36); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_38, x_2, x_3); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*4); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_41, 3); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_46 = lean_ctor_get(x_41, 3); +lean_dec(x_46); +x_47 = lean_ctor_get(x_41, 0); +lean_dec(x_47); +lean_ctor_set(x_41, 0, x_44); +x_48 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_48); +return x_1; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_41, 1); +x_50 = lean_ctor_get(x_41, 2); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_41); +x_51 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +lean_ctor_set(x_51, 3, x_44); +lean_ctor_set_uint8(x_51, sizeof(void*)*4, x_42); +x_52 = 1; +lean_ctor_set(x_1, 3, x_51); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_52); +return x_1; +} +} +else +{ +uint8_t x_53; +x_53 = lean_ctor_get_uint8(x_44, sizeof(void*)*4); +if (x_53 == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_41); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_55 = lean_ctor_get(x_41, 1); +x_56 = lean_ctor_get(x_41, 2); +x_57 = lean_ctor_get(x_41, 3); +lean_dec(x_57); +x_58 = lean_ctor_get(x_41, 0); +lean_dec(x_58); +x_59 = !lean_is_exclusive(x_44); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; +x_60 = lean_ctor_get(x_44, 0); +x_61 = lean_ctor_get(x_44, 1); +x_62 = lean_ctor_get(x_44, 2); +x_63 = lean_ctor_get(x_44, 3); +x_64 = 1; +lean_ctor_set(x_44, 3, x_43); +lean_ctor_set(x_44, 2, x_37); +lean_ctor_set(x_44, 1, x_36); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set_uint8(x_44, sizeof(void*)*4, x_64); +lean_ctor_set(x_41, 3, x_63); +lean_ctor_set(x_41, 2, x_62); +lean_ctor_set(x_41, 1, x_61); +lean_ctor_set(x_41, 0, x_60); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_64); +x_65 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_56); +lean_ctor_set(x_1, 1, x_55); +lean_ctor_set(x_1, 0, x_44); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_65); +return x_1; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; uint8_t x_72; +x_66 = lean_ctor_get(x_44, 0); +x_67 = lean_ctor_get(x_44, 1); +x_68 = lean_ctor_get(x_44, 2); +x_69 = lean_ctor_get(x_44, 3); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_44); +x_70 = 1; +x_71 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_71, 0, x_35); +lean_ctor_set(x_71, 1, x_36); +lean_ctor_set(x_71, 2, x_37); +lean_ctor_set(x_71, 3, x_43); +lean_ctor_set_uint8(x_71, sizeof(void*)*4, x_70); +lean_ctor_set(x_41, 3, x_69); +lean_ctor_set(x_41, 2, x_68); +lean_ctor_set(x_41, 1, x_67); +lean_ctor_set(x_41, 0, x_66); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_70); +x_72 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_56); +lean_ctor_set(x_1, 1, x_55); +lean_ctor_set(x_1, 0, x_71); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_72); +return x_1; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_73 = lean_ctor_get(x_41, 1); +x_74 = lean_ctor_get(x_41, 2); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_41); +x_75 = lean_ctor_get(x_44, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_44, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_44, 2); +lean_inc(x_77); +x_78 = lean_ctor_get(x_44, 3); +lean_inc(x_78); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + lean_ctor_release(x_44, 3); + x_79 = x_44; +} else { + lean_dec_ref(x_44); + x_79 = lean_box(0); +} +x_80 = 1; +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(1, 4, 1); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_35); +lean_ctor_set(x_81, 1, x_36); +lean_ctor_set(x_81, 2, x_37); +lean_ctor_set(x_81, 3, x_43); +lean_ctor_set_uint8(x_81, sizeof(void*)*4, x_80); +x_82 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_82, 0, x_75); +lean_ctor_set(x_82, 1, x_76); +lean_ctor_set(x_82, 2, x_77); +lean_ctor_set(x_82, 3, x_78); +lean_ctor_set_uint8(x_82, sizeof(void*)*4, x_80); +x_83 = 0; +lean_ctor_set(x_1, 3, x_82); +lean_ctor_set(x_1, 2, x_74); +lean_ctor_set(x_1, 1, x_73); +lean_ctor_set(x_1, 0, x_81); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_83); +return x_1; +} +} +else +{ +uint8_t x_84; +lean_free_object(x_1); +x_84 = !lean_is_exclusive(x_44); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_85 = lean_ctor_get(x_44, 3); +lean_dec(x_85); +x_86 = lean_ctor_get(x_44, 2); +lean_dec(x_86); +x_87 = lean_ctor_get(x_44, 1); +lean_dec(x_87); +x_88 = lean_ctor_get(x_44, 0); +lean_dec(x_88); +x_89 = 1; +lean_ctor_set(x_44, 3, x_41); +lean_ctor_set(x_44, 2, x_37); +lean_ctor_set(x_44, 1, x_36); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set_uint8(x_44, sizeof(void*)*4, x_89); +return x_44; +} +else +{ +uint8_t x_90; lean_object* x_91; +lean_dec(x_44); +x_90 = 1; +x_91 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_91, 0, x_35); +lean_ctor_set(x_91, 1, x_36); +lean_ctor_set(x_91, 2, x_37); +lean_ctor_set(x_91, 3, x_41); +lean_ctor_set_uint8(x_91, sizeof(void*)*4, x_90); +return x_91; +} +} +} +} +else +{ +uint8_t x_92; +x_92 = lean_ctor_get_uint8(x_43, sizeof(void*)*4); +if (x_92 == 0) +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_41); +if (x_93 == 0) +{ +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_41, 0); +lean_dec(x_94); +x_95 = !lean_is_exclusive(x_43); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; +x_96 = lean_ctor_get(x_43, 0); +x_97 = lean_ctor_get(x_43, 1); +x_98 = lean_ctor_get(x_43, 2); +x_99 = lean_ctor_get(x_43, 3); +x_100 = 1; +lean_ctor_set(x_43, 3, x_96); +lean_ctor_set(x_43, 2, x_37); +lean_ctor_set(x_43, 1, x_36); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_100); +lean_ctor_set(x_41, 0, x_99); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_100); +x_101 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_98); +lean_ctor_set(x_1, 1, x_97); +lean_ctor_set(x_1, 0, x_43); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_101); +return x_1; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; uint8_t x_108; +x_102 = lean_ctor_get(x_43, 0); +x_103 = lean_ctor_get(x_43, 1); +x_104 = lean_ctor_get(x_43, 2); +x_105 = lean_ctor_get(x_43, 3); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_43); +x_106 = 1; +x_107 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_107, 0, x_35); +lean_ctor_set(x_107, 1, x_36); +lean_ctor_set(x_107, 2, x_37); +lean_ctor_set(x_107, 3, x_102); +lean_ctor_set_uint8(x_107, sizeof(void*)*4, x_106); +lean_ctor_set(x_41, 0, x_105); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_106); +x_108 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_104); +lean_ctor_set(x_1, 1, x_103); +lean_ctor_set(x_1, 0, x_107); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_108); +return x_1; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_109 = lean_ctor_get(x_41, 1); +x_110 = lean_ctor_get(x_41, 2); +x_111 = lean_ctor_get(x_41, 3); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_41); +x_112 = lean_ctor_get(x_43, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_43, 1); +lean_inc(x_113); +x_114 = lean_ctor_get(x_43, 2); +lean_inc(x_114); +x_115 = lean_ctor_get(x_43, 3); +lean_inc(x_115); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_116 = x_43; +} else { + lean_dec_ref(x_43); + x_116 = lean_box(0); +} +x_117 = 1; +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(1, 4, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_35); +lean_ctor_set(x_118, 1, x_36); +lean_ctor_set(x_118, 2, x_37); +lean_ctor_set(x_118, 3, x_112); +lean_ctor_set_uint8(x_118, sizeof(void*)*4, x_117); +x_119 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_119, 0, x_115); +lean_ctor_set(x_119, 1, x_109); +lean_ctor_set(x_119, 2, x_110); +lean_ctor_set(x_119, 3, x_111); +lean_ctor_set_uint8(x_119, sizeof(void*)*4, x_117); +x_120 = 0; +lean_ctor_set(x_1, 3, x_119); +lean_ctor_set(x_1, 2, x_114); +lean_ctor_set(x_1, 1, x_113); +lean_ctor_set(x_1, 0, x_118); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_120); +return x_1; +} +} +else +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_41, 3); +lean_inc(x_121); +if (lean_obj_tag(x_121) == 0) +{ +uint8_t x_122; +lean_free_object(x_1); +x_122 = !lean_is_exclusive(x_43); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_123 = lean_ctor_get(x_43, 3); +lean_dec(x_123); +x_124 = lean_ctor_get(x_43, 2); +lean_dec(x_124); +x_125 = lean_ctor_get(x_43, 1); +lean_dec(x_125); +x_126 = lean_ctor_get(x_43, 0); +lean_dec(x_126); +x_127 = 1; +lean_ctor_set(x_43, 3, x_41); +lean_ctor_set(x_43, 2, x_37); +lean_ctor_set(x_43, 1, x_36); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_127); +return x_43; +} +else +{ +uint8_t x_128; lean_object* x_129; +lean_dec(x_43); +x_128 = 1; +x_129 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_129, 0, x_35); +lean_ctor_set(x_129, 1, x_36); +lean_ctor_set(x_129, 2, x_37); +lean_ctor_set(x_129, 3, x_41); +lean_ctor_set_uint8(x_129, sizeof(void*)*4, x_128); +return x_129; +} +} +else +{ +uint8_t x_130; +x_130 = lean_ctor_get_uint8(x_121, sizeof(void*)*4); +if (x_130 == 0) +{ +uint8_t x_131; +lean_free_object(x_1); +x_131 = !lean_is_exclusive(x_41); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_132 = lean_ctor_get(x_41, 3); +lean_dec(x_132); +x_133 = lean_ctor_get(x_41, 0); +lean_dec(x_133); +x_134 = !lean_is_exclusive(x_121); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; +x_135 = lean_ctor_get(x_121, 0); +x_136 = lean_ctor_get(x_121, 1); +x_137 = lean_ctor_get(x_121, 2); +x_138 = lean_ctor_get(x_121, 3); +x_139 = 1; +lean_inc(x_43); +lean_ctor_set(x_121, 3, x_43); +lean_ctor_set(x_121, 2, x_37); +lean_ctor_set(x_121, 1, x_36); +lean_ctor_set(x_121, 0, x_35); +x_140 = !lean_is_exclusive(x_43); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_141 = lean_ctor_get(x_43, 3); +lean_dec(x_141); +x_142 = lean_ctor_get(x_43, 2); +lean_dec(x_142); +x_143 = lean_ctor_get(x_43, 1); +lean_dec(x_143); +x_144 = lean_ctor_get(x_43, 0); +lean_dec(x_144); +lean_ctor_set_uint8(x_121, sizeof(void*)*4, x_139); +lean_ctor_set(x_43, 3, x_138); +lean_ctor_set(x_43, 2, x_137); +lean_ctor_set(x_43, 1, x_136); +lean_ctor_set(x_43, 0, x_135); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_139); +x_145 = 0; +lean_ctor_set(x_41, 3, x_43); +lean_ctor_set(x_41, 0, x_121); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_145); +return x_41; +} +else +{ +lean_object* x_146; uint8_t x_147; +lean_dec(x_43); +lean_ctor_set_uint8(x_121, sizeof(void*)*4, x_139); +x_146 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_136); +lean_ctor_set(x_146, 2, x_137); +lean_ctor_set(x_146, 3, x_138); +lean_ctor_set_uint8(x_146, sizeof(void*)*4, x_139); +x_147 = 0; +lean_ctor_set(x_41, 3, x_146); +lean_ctor_set(x_41, 0, x_121); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_147); +return x_41; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_148 = lean_ctor_get(x_121, 0); +x_149 = lean_ctor_get(x_121, 1); +x_150 = lean_ctor_get(x_121, 2); +x_151 = lean_ctor_get(x_121, 3); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_121); +x_152 = 1; +lean_inc(x_43); +x_153 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_153, 0, x_35); +lean_ctor_set(x_153, 1, x_36); +lean_ctor_set(x_153, 2, x_37); +lean_ctor_set(x_153, 3, x_43); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_154 = x_43; +} else { + lean_dec_ref(x_43); + x_154 = lean_box(0); +} +lean_ctor_set_uint8(x_153, sizeof(void*)*4, x_152); +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(1, 4, 1); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_148); +lean_ctor_set(x_155, 1, x_149); +lean_ctor_set(x_155, 2, x_150); +lean_ctor_set(x_155, 3, x_151); +lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_152); +x_156 = 0; +lean_ctor_set(x_41, 3, x_155); +lean_ctor_set(x_41, 0, x_153); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_156); +return x_41; +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; +x_157 = lean_ctor_get(x_41, 1); +x_158 = lean_ctor_get(x_41, 2); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_41); +x_159 = lean_ctor_get(x_121, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_121, 1); +lean_inc(x_160); +x_161 = lean_ctor_get(x_121, 2); +lean_inc(x_161); +x_162 = lean_ctor_get(x_121, 3); +lean_inc(x_162); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + lean_ctor_release(x_121, 2); + lean_ctor_release(x_121, 3); + x_163 = x_121; +} else { + lean_dec_ref(x_121); + x_163 = lean_box(0); +} +x_164 = 1; +lean_inc(x_43); +if (lean_is_scalar(x_163)) { + x_165 = lean_alloc_ctor(1, 4, 1); +} else { + x_165 = x_163; +} +lean_ctor_set(x_165, 0, x_35); +lean_ctor_set(x_165, 1, x_36); +lean_ctor_set(x_165, 2, x_37); +lean_ctor_set(x_165, 3, x_43); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_166 = x_43; +} else { + lean_dec_ref(x_43); + x_166 = lean_box(0); +} +lean_ctor_set_uint8(x_165, sizeof(void*)*4, x_164); +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 4, 1); +} else { + x_167 = x_166; +} +lean_ctor_set(x_167, 0, x_159); +lean_ctor_set(x_167, 1, x_160); +lean_ctor_set(x_167, 2, x_161); +lean_ctor_set(x_167, 3, x_162); +lean_ctor_set_uint8(x_167, sizeof(void*)*4, x_164); +x_168 = 0; +x_169 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_169, 0, x_165); +lean_ctor_set(x_169, 1, x_157); +lean_ctor_set(x_169, 2, x_158); +lean_ctor_set(x_169, 3, x_167); +lean_ctor_set_uint8(x_169, sizeof(void*)*4, x_168); +return x_169; +} +} +else +{ +uint8_t x_170; +x_170 = !lean_is_exclusive(x_41); +if (x_170 == 0) +{ +lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_171 = lean_ctor_get(x_41, 3); +lean_dec(x_171); +x_172 = lean_ctor_get(x_41, 0); +lean_dec(x_172); +x_173 = !lean_is_exclusive(x_43); +if (x_173 == 0) +{ +uint8_t x_174; +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_130); +x_174 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_174); +return x_1; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +x_175 = lean_ctor_get(x_43, 0); +x_176 = lean_ctor_get(x_43, 1); +x_177 = lean_ctor_get(x_43, 2); +x_178 = lean_ctor_get(x_43, 3); +lean_inc(x_178); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_43); +x_179 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_179, 0, x_175); +lean_ctor_set(x_179, 1, x_176); +lean_ctor_set(x_179, 2, x_177); +lean_ctor_set(x_179, 3, x_178); +lean_ctor_set_uint8(x_179, sizeof(void*)*4, x_130); +lean_ctor_set(x_41, 0, x_179); +x_180 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_180); +return x_1; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +x_181 = lean_ctor_get(x_41, 1); +x_182 = lean_ctor_get(x_41, 2); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_41); +x_183 = lean_ctor_get(x_43, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_43, 1); +lean_inc(x_184); +x_185 = lean_ctor_get(x_43, 2); +lean_inc(x_185); +x_186 = lean_ctor_get(x_43, 3); +lean_inc(x_186); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_187 = x_43; +} else { + lean_dec_ref(x_43); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 4, 1); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_183); +lean_ctor_set(x_188, 1, x_184); +lean_ctor_set(x_188, 2, x_185); +lean_ctor_set(x_188, 3, x_186); +lean_ctor_set_uint8(x_188, sizeof(void*)*4, x_130); +x_189 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_181); +lean_ctor_set(x_189, 2, x_182); +lean_ctor_set(x_189, 3, x_121); +lean_ctor_set_uint8(x_189, sizeof(void*)*4, x_42); +x_190 = 1; +lean_ctor_set(x_1, 3, x_189); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_190); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_191; +x_191 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_191); +return x_1; +} +} +else +{ +uint8_t x_192; +lean_dec(x_37); +lean_dec(x_36); +x_192 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_192); +return x_1; +} +} +else +{ +lean_object* x_193; uint8_t x_194; +x_193 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_35, x_2, x_3); +x_194 = lean_ctor_get_uint8(x_193, sizeof(void*)*4); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_193, 0); +lean_inc(x_195); +if (lean_obj_tag(x_195) == 0) +{ +lean_object* x_196; +x_196 = lean_ctor_get(x_193, 3); +lean_inc(x_196); +if (lean_obj_tag(x_196) == 0) +{ +uint8_t x_197; +x_197 = !lean_is_exclusive(x_193); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_193, 3); +lean_dec(x_198); +x_199 = lean_ctor_get(x_193, 0); +lean_dec(x_199); +lean_ctor_set(x_193, 0, x_196); +x_200 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_200); +return x_1; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; +x_201 = lean_ctor_get(x_193, 1); +x_202 = lean_ctor_get(x_193, 2); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_193); +x_203 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_203, 0, x_196); +lean_ctor_set(x_203, 1, x_201); +lean_ctor_set(x_203, 2, x_202); +lean_ctor_set(x_203, 3, x_196); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_194); +x_204 = 1; +lean_ctor_set(x_1, 0, x_203); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_204); +return x_1; +} +} +else +{ +uint8_t x_205; +x_205 = lean_ctor_get_uint8(x_196, sizeof(void*)*4); +if (x_205 == 0) +{ +uint8_t x_206; +x_206 = !lean_is_exclusive(x_193); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_207 = lean_ctor_get(x_193, 1); +x_208 = lean_ctor_get(x_193, 2); +x_209 = lean_ctor_get(x_193, 3); +lean_dec(x_209); +x_210 = lean_ctor_get(x_193, 0); +lean_dec(x_210); +x_211 = !lean_is_exclusive(x_196); +if (x_211 == 0) +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; uint8_t x_217; +x_212 = lean_ctor_get(x_196, 0); +x_213 = lean_ctor_get(x_196, 1); +x_214 = lean_ctor_get(x_196, 2); +x_215 = lean_ctor_get(x_196, 3); +x_216 = 1; +lean_ctor_set(x_196, 3, x_212); +lean_ctor_set(x_196, 2, x_208); +lean_ctor_set(x_196, 1, x_207); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set_uint8(x_196, sizeof(void*)*4, x_216); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_215); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_216); +x_217 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_214); +lean_ctor_set(x_1, 1, x_213); +lean_ctor_set(x_1, 0, x_196); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_217); +return x_1; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; lean_object* x_223; uint8_t x_224; +x_218 = lean_ctor_get(x_196, 0); +x_219 = lean_ctor_get(x_196, 1); +x_220 = lean_ctor_get(x_196, 2); +x_221 = lean_ctor_get(x_196, 3); +lean_inc(x_221); +lean_inc(x_220); +lean_inc(x_219); +lean_inc(x_218); +lean_dec(x_196); +x_222 = 1; +x_223 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_223, 0, x_195); +lean_ctor_set(x_223, 1, x_207); +lean_ctor_set(x_223, 2, x_208); +lean_ctor_set(x_223, 3, x_218); +lean_ctor_set_uint8(x_223, sizeof(void*)*4, x_222); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_221); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_222); +x_224 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_220); +lean_ctor_set(x_1, 1, x_219); +lean_ctor_set(x_1, 0, x_223); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_224); +return x_1; +} +} +else +{ +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; uint8_t x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_225 = lean_ctor_get(x_193, 1); +x_226 = lean_ctor_get(x_193, 2); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(x_193); +x_227 = lean_ctor_get(x_196, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_196, 1); +lean_inc(x_228); +x_229 = lean_ctor_get(x_196, 2); +lean_inc(x_229); +x_230 = lean_ctor_get(x_196, 3); +lean_inc(x_230); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + lean_ctor_release(x_196, 2); + lean_ctor_release(x_196, 3); + x_231 = x_196; +} else { + lean_dec_ref(x_196); + x_231 = lean_box(0); +} +x_232 = 1; +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(1, 4, 1); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_195); +lean_ctor_set(x_233, 1, x_225); +lean_ctor_set(x_233, 2, x_226); +lean_ctor_set(x_233, 3, x_227); +lean_ctor_set_uint8(x_233, sizeof(void*)*4, x_232); +x_234 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_234, 0, x_230); +lean_ctor_set(x_234, 1, x_36); +lean_ctor_set(x_234, 2, x_37); +lean_ctor_set(x_234, 3, x_38); +lean_ctor_set_uint8(x_234, sizeof(void*)*4, x_232); +x_235 = 0; +lean_ctor_set(x_1, 3, x_234); +lean_ctor_set(x_1, 2, x_229); +lean_ctor_set(x_1, 1, x_228); +lean_ctor_set(x_1, 0, x_233); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_235); +return x_1; +} +} +else +{ +uint8_t x_236; +lean_free_object(x_1); +x_236 = !lean_is_exclusive(x_196); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; +x_237 = lean_ctor_get(x_196, 3); +lean_dec(x_237); +x_238 = lean_ctor_get(x_196, 2); +lean_dec(x_238); +x_239 = lean_ctor_get(x_196, 1); +lean_dec(x_239); +x_240 = lean_ctor_get(x_196, 0); +lean_dec(x_240); +x_241 = 1; +lean_ctor_set(x_196, 3, x_38); +lean_ctor_set(x_196, 2, x_37); +lean_ctor_set(x_196, 1, x_36); +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set_uint8(x_196, sizeof(void*)*4, x_241); +return x_196; +} +else +{ +uint8_t x_242; lean_object* x_243; +lean_dec(x_196); +x_242 = 1; +x_243 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_243, 0, x_193); +lean_ctor_set(x_243, 1, x_36); +lean_ctor_set(x_243, 2, x_37); +lean_ctor_set(x_243, 3, x_38); +lean_ctor_set_uint8(x_243, sizeof(void*)*4, x_242); +return x_243; +} +} +} +} +else +{ +uint8_t x_244; +x_244 = lean_ctor_get_uint8(x_195, sizeof(void*)*4); +if (x_244 == 0) +{ +uint8_t x_245; +x_245 = !lean_is_exclusive(x_193); +if (x_245 == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; +x_246 = lean_ctor_get(x_193, 1); +x_247 = lean_ctor_get(x_193, 2); +x_248 = lean_ctor_get(x_193, 3); +x_249 = lean_ctor_get(x_193, 0); +lean_dec(x_249); +x_250 = !lean_is_exclusive(x_195); +if (x_250 == 0) +{ +uint8_t x_251; uint8_t x_252; +x_251 = 1; +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_251); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_248); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_251); +x_252 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_247); +lean_ctor_set(x_1, 1, x_246); +lean_ctor_set(x_1, 0, x_195); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_252); +return x_1; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; +x_253 = lean_ctor_get(x_195, 0); +x_254 = lean_ctor_get(x_195, 1); +x_255 = lean_ctor_get(x_195, 2); +x_256 = lean_ctor_get(x_195, 3); +lean_inc(x_256); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_dec(x_195); +x_257 = 1; +x_258 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_258, 0, x_253); +lean_ctor_set(x_258, 1, x_254); +lean_ctor_set(x_258, 2, x_255); +lean_ctor_set(x_258, 3, x_256); +lean_ctor_set_uint8(x_258, sizeof(void*)*4, x_257); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_248); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_257); +x_259 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_247); +lean_ctor_set(x_1, 1, x_246); +lean_ctor_set(x_1, 0, x_258); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_259); +return x_1; +} +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; +x_260 = lean_ctor_get(x_193, 1); +x_261 = lean_ctor_get(x_193, 2); +x_262 = lean_ctor_get(x_193, 3); +lean_inc(x_262); +lean_inc(x_261); +lean_inc(x_260); +lean_dec(x_193); +x_263 = lean_ctor_get(x_195, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_195, 1); +lean_inc(x_264); +x_265 = lean_ctor_get(x_195, 2); +lean_inc(x_265); +x_266 = lean_ctor_get(x_195, 3); +lean_inc(x_266); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_267 = x_195; +} else { + lean_dec_ref(x_195); + x_267 = lean_box(0); +} +x_268 = 1; +if (lean_is_scalar(x_267)) { + x_269 = lean_alloc_ctor(1, 4, 1); +} else { + x_269 = x_267; +} +lean_ctor_set(x_269, 0, x_263); +lean_ctor_set(x_269, 1, x_264); +lean_ctor_set(x_269, 2, x_265); +lean_ctor_set(x_269, 3, x_266); +lean_ctor_set_uint8(x_269, sizeof(void*)*4, x_268); +x_270 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_270, 0, x_262); +lean_ctor_set(x_270, 1, x_36); +lean_ctor_set(x_270, 2, x_37); +lean_ctor_set(x_270, 3, x_38); +lean_ctor_set_uint8(x_270, sizeof(void*)*4, x_268); +x_271 = 0; +lean_ctor_set(x_1, 3, x_270); +lean_ctor_set(x_1, 2, x_261); +lean_ctor_set(x_1, 1, x_260); +lean_ctor_set(x_1, 0, x_269); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_271); +return x_1; +} +} +else +{ +lean_object* x_272; +x_272 = lean_ctor_get(x_193, 3); +lean_inc(x_272); +if (lean_obj_tag(x_272) == 0) +{ +uint8_t x_273; +lean_free_object(x_1); +x_273 = !lean_is_exclusive(x_195); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_274 = lean_ctor_get(x_195, 3); +lean_dec(x_274); +x_275 = lean_ctor_get(x_195, 2); +lean_dec(x_275); +x_276 = lean_ctor_get(x_195, 1); +lean_dec(x_276); +x_277 = lean_ctor_get(x_195, 0); +lean_dec(x_277); +x_278 = 1; +lean_ctor_set(x_195, 3, x_38); +lean_ctor_set(x_195, 2, x_37); +lean_ctor_set(x_195, 1, x_36); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_278); +return x_195; +} +else +{ +uint8_t x_279; lean_object* x_280; +lean_dec(x_195); +x_279 = 1; +x_280 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_280, 0, x_193); +lean_ctor_set(x_280, 1, x_36); +lean_ctor_set(x_280, 2, x_37); +lean_ctor_set(x_280, 3, x_38); +lean_ctor_set_uint8(x_280, sizeof(void*)*4, x_279); +return x_280; +} +} +else +{ +uint8_t x_281; +x_281 = lean_ctor_get_uint8(x_272, sizeof(void*)*4); +if (x_281 == 0) +{ +uint8_t x_282; +lean_free_object(x_1); +x_282 = !lean_is_exclusive(x_193); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; +x_283 = lean_ctor_get(x_193, 1); +x_284 = lean_ctor_get(x_193, 2); +x_285 = lean_ctor_get(x_193, 3); +lean_dec(x_285); +x_286 = lean_ctor_get(x_193, 0); +lean_dec(x_286); +x_287 = !lean_is_exclusive(x_272); +if (x_287 == 0) +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_292; uint8_t x_293; +x_288 = lean_ctor_get(x_272, 0); +x_289 = lean_ctor_get(x_272, 1); +x_290 = lean_ctor_get(x_272, 2); +x_291 = lean_ctor_get(x_272, 3); +x_292 = 1; +lean_inc(x_195); +lean_ctor_set(x_272, 3, x_288); +lean_ctor_set(x_272, 2, x_284); +lean_ctor_set(x_272, 1, x_283); +lean_ctor_set(x_272, 0, x_195); +x_293 = !lean_is_exclusive(x_195); +if (x_293 == 0) +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_294 = lean_ctor_get(x_195, 3); +lean_dec(x_294); +x_295 = lean_ctor_get(x_195, 2); +lean_dec(x_295); +x_296 = lean_ctor_get(x_195, 1); +lean_dec(x_296); +x_297 = lean_ctor_get(x_195, 0); +lean_dec(x_297); +lean_ctor_set_uint8(x_272, sizeof(void*)*4, x_292); +lean_ctor_set(x_195, 3, x_38); +lean_ctor_set(x_195, 2, x_37); +lean_ctor_set(x_195, 1, x_36); +lean_ctor_set(x_195, 0, x_291); +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_292); +x_298 = 0; +lean_ctor_set(x_193, 3, x_195); +lean_ctor_set(x_193, 2, x_290); +lean_ctor_set(x_193, 1, x_289); +lean_ctor_set(x_193, 0, x_272); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_298); +return x_193; +} +else +{ +lean_object* x_299; uint8_t x_300; +lean_dec(x_195); +lean_ctor_set_uint8(x_272, sizeof(void*)*4, x_292); +x_299 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_299, 0, x_291); +lean_ctor_set(x_299, 1, x_36); +lean_ctor_set(x_299, 2, x_37); +lean_ctor_set(x_299, 3, x_38); +lean_ctor_set_uint8(x_299, sizeof(void*)*4, x_292); +x_300 = 0; +lean_ctor_set(x_193, 3, x_299); +lean_ctor_set(x_193, 2, x_290); +lean_ctor_set(x_193, 1, x_289); +lean_ctor_set(x_193, 0, x_272); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_300); +return x_193; +} +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; +x_301 = lean_ctor_get(x_272, 0); +x_302 = lean_ctor_get(x_272, 1); +x_303 = lean_ctor_get(x_272, 2); +x_304 = lean_ctor_get(x_272, 3); +lean_inc(x_304); +lean_inc(x_303); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_272); +x_305 = 1; +lean_inc(x_195); +x_306 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_306, 0, x_195); +lean_ctor_set(x_306, 1, x_283); +lean_ctor_set(x_306, 2, x_284); +lean_ctor_set(x_306, 3, x_301); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_307 = x_195; +} else { + lean_dec_ref(x_195); + x_307 = lean_box(0); +} +lean_ctor_set_uint8(x_306, sizeof(void*)*4, x_305); +if (lean_is_scalar(x_307)) { + x_308 = lean_alloc_ctor(1, 4, 1); +} else { + x_308 = x_307; +} +lean_ctor_set(x_308, 0, x_304); +lean_ctor_set(x_308, 1, x_36); +lean_ctor_set(x_308, 2, x_37); +lean_ctor_set(x_308, 3, x_38); +lean_ctor_set_uint8(x_308, sizeof(void*)*4, x_305); +x_309 = 0; +lean_ctor_set(x_193, 3, x_308); +lean_ctor_set(x_193, 2, x_303); +lean_ctor_set(x_193, 1, x_302); +lean_ctor_set(x_193, 0, x_306); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_309); +return x_193; +} +} +else +{ +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; uint8_t x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; lean_object* x_322; +x_310 = lean_ctor_get(x_193, 1); +x_311 = lean_ctor_get(x_193, 2); +lean_inc(x_311); +lean_inc(x_310); +lean_dec(x_193); +x_312 = lean_ctor_get(x_272, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_272, 1); +lean_inc(x_313); +x_314 = lean_ctor_get(x_272, 2); +lean_inc(x_314); +x_315 = lean_ctor_get(x_272, 3); +lean_inc(x_315); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + lean_ctor_release(x_272, 2); + lean_ctor_release(x_272, 3); + x_316 = x_272; +} else { + lean_dec_ref(x_272); + x_316 = lean_box(0); +} +x_317 = 1; +lean_inc(x_195); +if (lean_is_scalar(x_316)) { + x_318 = lean_alloc_ctor(1, 4, 1); +} else { + x_318 = x_316; +} +lean_ctor_set(x_318, 0, x_195); +lean_ctor_set(x_318, 1, x_310); +lean_ctor_set(x_318, 2, x_311); +lean_ctor_set(x_318, 3, x_312); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_319 = x_195; +} else { + lean_dec_ref(x_195); + x_319 = lean_box(0); +} +lean_ctor_set_uint8(x_318, sizeof(void*)*4, x_317); +if (lean_is_scalar(x_319)) { + x_320 = lean_alloc_ctor(1, 4, 1); +} else { + x_320 = x_319; +} +lean_ctor_set(x_320, 0, x_315); +lean_ctor_set(x_320, 1, x_36); +lean_ctor_set(x_320, 2, x_37); +lean_ctor_set(x_320, 3, x_38); +lean_ctor_set_uint8(x_320, sizeof(void*)*4, x_317); +x_321 = 0; +x_322 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_322, 0, x_318); +lean_ctor_set(x_322, 1, x_313); +lean_ctor_set(x_322, 2, x_314); +lean_ctor_set(x_322, 3, x_320); +lean_ctor_set_uint8(x_322, sizeof(void*)*4, x_321); +return x_322; +} +} +else +{ +uint8_t x_323; +x_323 = !lean_is_exclusive(x_193); +if (x_323 == 0) +{ +lean_object* x_324; lean_object* x_325; uint8_t x_326; +x_324 = lean_ctor_get(x_193, 3); +lean_dec(x_324); +x_325 = lean_ctor_get(x_193, 0); +lean_dec(x_325); +x_326 = !lean_is_exclusive(x_195); +if (x_326 == 0) +{ +uint8_t x_327; +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_281); +x_327 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_327); +return x_1; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; uint8_t x_333; +x_328 = lean_ctor_get(x_195, 0); +x_329 = lean_ctor_get(x_195, 1); +x_330 = lean_ctor_get(x_195, 2); +x_331 = lean_ctor_get(x_195, 3); +lean_inc(x_331); +lean_inc(x_330); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_195); +x_332 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_332, 0, x_328); +lean_ctor_set(x_332, 1, x_329); +lean_ctor_set(x_332, 2, x_330); +lean_ctor_set(x_332, 3, x_331); +lean_ctor_set_uint8(x_332, sizeof(void*)*4, x_281); +lean_ctor_set(x_193, 0, x_332); +x_333 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_333); +return x_1; +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; +x_334 = lean_ctor_get(x_193, 1); +x_335 = lean_ctor_get(x_193, 2); +lean_inc(x_335); +lean_inc(x_334); +lean_dec(x_193); +x_336 = lean_ctor_get(x_195, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_195, 1); +lean_inc(x_337); +x_338 = lean_ctor_get(x_195, 2); +lean_inc(x_338); +x_339 = lean_ctor_get(x_195, 3); +lean_inc(x_339); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_340 = x_195; +} else { + lean_dec_ref(x_195); + x_340 = lean_box(0); +} +if (lean_is_scalar(x_340)) { + x_341 = lean_alloc_ctor(1, 4, 1); +} else { + x_341 = x_340; +} +lean_ctor_set(x_341, 0, x_336); +lean_ctor_set(x_341, 1, x_337); +lean_ctor_set(x_341, 2, x_338); +lean_ctor_set(x_341, 3, x_339); +lean_ctor_set_uint8(x_341, sizeof(void*)*4, x_281); +x_342 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_334); +lean_ctor_set(x_342, 2, x_335); +lean_ctor_set(x_342, 3, x_272); +lean_ctor_set_uint8(x_342, sizeof(void*)*4, x_194); +x_343 = 1; +lean_ctor_set(x_1, 0, x_342); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_343); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_344; +x_344 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_344); +return x_1; +} +} +} +else +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; +x_345 = lean_ctor_get(x_1, 0); +x_346 = lean_ctor_get(x_1, 1); +x_347 = lean_ctor_get(x_1, 2); +x_348 = lean_ctor_get(x_1, 3); +lean_inc(x_348); +lean_inc(x_347); +lean_inc(x_346); +lean_inc(x_345); +lean_dec(x_1); +x_349 = lean_string_dec_lt(x_2, x_346); +if (x_349 == 0) +{ +uint8_t x_350; +x_350 = lean_string_dec_eq(x_2, x_346); +if (x_350 == 0) +{ +lean_object* x_351; uint8_t x_352; +x_351 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_348, x_2, x_3); +x_352 = lean_ctor_get_uint8(x_351, sizeof(void*)*4); +if (x_352 == 0) +{ +lean_object* x_353; +x_353 = lean_ctor_get(x_351, 0); +lean_inc(x_353); +if (lean_obj_tag(x_353) == 0) +{ +lean_object* x_354; +x_354 = lean_ctor_get(x_351, 3); +lean_inc(x_354); +if (lean_obj_tag(x_354) == 0) +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; lean_object* x_360; +x_355 = lean_ctor_get(x_351, 1); +lean_inc(x_355); +x_356 = lean_ctor_get(x_351, 2); +lean_inc(x_356); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_357 = x_351; +} else { + lean_dec_ref(x_351); + x_357 = lean_box(0); +} +if (lean_is_scalar(x_357)) { + x_358 = lean_alloc_ctor(1, 4, 1); +} else { + x_358 = x_357; +} +lean_ctor_set(x_358, 0, x_354); +lean_ctor_set(x_358, 1, x_355); +lean_ctor_set(x_358, 2, x_356); +lean_ctor_set(x_358, 3, x_354); +lean_ctor_set_uint8(x_358, sizeof(void*)*4, x_352); +x_359 = 1; +x_360 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_360, 0, x_345); +lean_ctor_set(x_360, 1, x_346); +lean_ctor_set(x_360, 2, x_347); +lean_ctor_set(x_360, 3, x_358); +lean_ctor_set_uint8(x_360, sizeof(void*)*4, x_359); +return x_360; +} +else +{ +uint8_t x_361; +x_361 = lean_ctor_get_uint8(x_354, sizeof(void*)*4); +if (x_361 == 0) +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; +x_362 = lean_ctor_get(x_351, 1); +lean_inc(x_362); +x_363 = lean_ctor_get(x_351, 2); +lean_inc(x_363); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_364 = x_351; +} else { + lean_dec_ref(x_351); + x_364 = lean_box(0); +} +x_365 = lean_ctor_get(x_354, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_354, 1); +lean_inc(x_366); +x_367 = lean_ctor_get(x_354, 2); +lean_inc(x_367); +x_368 = lean_ctor_get(x_354, 3); +lean_inc(x_368); +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + lean_ctor_release(x_354, 1); + lean_ctor_release(x_354, 2); + lean_ctor_release(x_354, 3); + x_369 = x_354; +} else { + lean_dec_ref(x_354); + x_369 = lean_box(0); +} +x_370 = 1; +if (lean_is_scalar(x_369)) { + x_371 = lean_alloc_ctor(1, 4, 1); +} else { + x_371 = x_369; +} +lean_ctor_set(x_371, 0, x_345); +lean_ctor_set(x_371, 1, x_346); +lean_ctor_set(x_371, 2, x_347); +lean_ctor_set(x_371, 3, x_353); +lean_ctor_set_uint8(x_371, sizeof(void*)*4, x_370); +if (lean_is_scalar(x_364)) { + x_372 = lean_alloc_ctor(1, 4, 1); +} else { + x_372 = x_364; +} +lean_ctor_set(x_372, 0, x_365); +lean_ctor_set(x_372, 1, x_366); +lean_ctor_set(x_372, 2, x_367); +lean_ctor_set(x_372, 3, x_368); +lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_370); +x_373 = 0; +x_374 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_374, 0, x_371); +lean_ctor_set(x_374, 1, x_362); +lean_ctor_set(x_374, 2, x_363); +lean_ctor_set(x_374, 3, x_372); +lean_ctor_set_uint8(x_374, sizeof(void*)*4, x_373); +return x_374; +} +else +{ +lean_object* x_375; uint8_t x_376; lean_object* x_377; +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + lean_ctor_release(x_354, 1); + lean_ctor_release(x_354, 2); + lean_ctor_release(x_354, 3); + x_375 = x_354; +} else { + lean_dec_ref(x_354); + x_375 = lean_box(0); +} +x_376 = 1; +if (lean_is_scalar(x_375)) { + x_377 = lean_alloc_ctor(1, 4, 1); +} else { + x_377 = x_375; +} +lean_ctor_set(x_377, 0, x_345); +lean_ctor_set(x_377, 1, x_346); +lean_ctor_set(x_377, 2, x_347); +lean_ctor_set(x_377, 3, x_351); +lean_ctor_set_uint8(x_377, sizeof(void*)*4, x_376); +return x_377; +} +} +} +else +{ +uint8_t x_378; +x_378 = lean_ctor_get_uint8(x_353, sizeof(void*)*4); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; lean_object* x_392; +x_379 = lean_ctor_get(x_351, 1); +lean_inc(x_379); +x_380 = lean_ctor_get(x_351, 2); +lean_inc(x_380); +x_381 = lean_ctor_get(x_351, 3); +lean_inc(x_381); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_382 = x_351; +} else { + lean_dec_ref(x_351); + x_382 = lean_box(0); +} +x_383 = lean_ctor_get(x_353, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_353, 1); +lean_inc(x_384); +x_385 = lean_ctor_get(x_353, 2); +lean_inc(x_385); +x_386 = lean_ctor_get(x_353, 3); +lean_inc(x_386); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_387 = x_353; +} else { + lean_dec_ref(x_353); + x_387 = lean_box(0); +} +x_388 = 1; +if (lean_is_scalar(x_387)) { + x_389 = lean_alloc_ctor(1, 4, 1); +} else { + x_389 = x_387; +} +lean_ctor_set(x_389, 0, x_345); +lean_ctor_set(x_389, 1, x_346); +lean_ctor_set(x_389, 2, x_347); +lean_ctor_set(x_389, 3, x_383); +lean_ctor_set_uint8(x_389, sizeof(void*)*4, x_388); +if (lean_is_scalar(x_382)) { + x_390 = lean_alloc_ctor(1, 4, 1); +} else { + x_390 = x_382; +} +lean_ctor_set(x_390, 0, x_386); +lean_ctor_set(x_390, 1, x_379); +lean_ctor_set(x_390, 2, x_380); +lean_ctor_set(x_390, 3, x_381); +lean_ctor_set_uint8(x_390, sizeof(void*)*4, x_388); +x_391 = 0; +x_392 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_392, 0, x_389); +lean_ctor_set(x_392, 1, x_384); +lean_ctor_set(x_392, 2, x_385); +lean_ctor_set(x_392, 3, x_390); +lean_ctor_set_uint8(x_392, sizeof(void*)*4, x_391); +return x_392; +} +else +{ +lean_object* x_393; +x_393 = lean_ctor_get(x_351, 3); +lean_inc(x_393); +if (lean_obj_tag(x_393) == 0) +{ +lean_object* x_394; uint8_t x_395; lean_object* x_396; +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_394 = x_353; +} else { + lean_dec_ref(x_353); + x_394 = lean_box(0); +} +x_395 = 1; +if (lean_is_scalar(x_394)) { + x_396 = lean_alloc_ctor(1, 4, 1); +} else { + x_396 = x_394; +} +lean_ctor_set(x_396, 0, x_345); +lean_ctor_set(x_396, 1, x_346); +lean_ctor_set(x_396, 2, x_347); +lean_ctor_set(x_396, 3, x_351); +lean_ctor_set_uint8(x_396, sizeof(void*)*4, x_395); +return x_396; +} +else +{ +uint8_t x_397; +x_397 = lean_ctor_get_uint8(x_393, sizeof(void*)*4); +if (x_397 == 0) +{ +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; uint8_t x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; lean_object* x_411; +x_398 = lean_ctor_get(x_351, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_351, 2); +lean_inc(x_399); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_400 = x_351; +} else { + lean_dec_ref(x_351); + x_400 = lean_box(0); +} +x_401 = lean_ctor_get(x_393, 0); +lean_inc(x_401); +x_402 = lean_ctor_get(x_393, 1); +lean_inc(x_402); +x_403 = lean_ctor_get(x_393, 2); +lean_inc(x_403); +x_404 = lean_ctor_get(x_393, 3); +lean_inc(x_404); +if (lean_is_exclusive(x_393)) { + lean_ctor_release(x_393, 0); + lean_ctor_release(x_393, 1); + lean_ctor_release(x_393, 2); + lean_ctor_release(x_393, 3); + x_405 = x_393; +} else { + lean_dec_ref(x_393); + x_405 = lean_box(0); +} +x_406 = 1; +lean_inc(x_353); +if (lean_is_scalar(x_405)) { + x_407 = lean_alloc_ctor(1, 4, 1); +} else { + x_407 = x_405; +} +lean_ctor_set(x_407, 0, x_345); +lean_ctor_set(x_407, 1, x_346); +lean_ctor_set(x_407, 2, x_347); +lean_ctor_set(x_407, 3, x_353); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_408 = x_353; +} else { + lean_dec_ref(x_353); + x_408 = lean_box(0); +} +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +if (lean_is_scalar(x_408)) { + x_409 = lean_alloc_ctor(1, 4, 1); +} else { + x_409 = x_408; +} +lean_ctor_set(x_409, 0, x_401); +lean_ctor_set(x_409, 1, x_402); +lean_ctor_set(x_409, 2, x_403); +lean_ctor_set(x_409, 3, x_404); +lean_ctor_set_uint8(x_409, sizeof(void*)*4, x_406); +x_410 = 0; +if (lean_is_scalar(x_400)) { + x_411 = lean_alloc_ctor(1, 4, 1); +} else { + x_411 = x_400; +} +lean_ctor_set(x_411, 0, x_407); +lean_ctor_set(x_411, 1, x_398); +lean_ctor_set(x_411, 2, x_399); +lean_ctor_set(x_411, 3, x_409); +lean_ctor_set_uint8(x_411, sizeof(void*)*4, x_410); +return x_411; +} +else +{ +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; uint8_t x_422; lean_object* x_423; +x_412 = lean_ctor_get(x_351, 1); +lean_inc(x_412); +x_413 = lean_ctor_get(x_351, 2); +lean_inc(x_413); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_414 = x_351; +} else { + lean_dec_ref(x_351); + x_414 = lean_box(0); +} +x_415 = lean_ctor_get(x_353, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_353, 1); +lean_inc(x_416); +x_417 = lean_ctor_get(x_353, 2); +lean_inc(x_417); +x_418 = lean_ctor_get(x_353, 3); +lean_inc(x_418); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_419 = x_353; +} else { + lean_dec_ref(x_353); + x_419 = lean_box(0); +} +if (lean_is_scalar(x_419)) { + x_420 = lean_alloc_ctor(1, 4, 1); +} else { + x_420 = x_419; +} +lean_ctor_set(x_420, 0, x_415); +lean_ctor_set(x_420, 1, x_416); +lean_ctor_set(x_420, 2, x_417); +lean_ctor_set(x_420, 3, x_418); +lean_ctor_set_uint8(x_420, sizeof(void*)*4, x_397); +if (lean_is_scalar(x_414)) { + x_421 = lean_alloc_ctor(1, 4, 1); +} else { + x_421 = x_414; +} +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_412); +lean_ctor_set(x_421, 2, x_413); +lean_ctor_set(x_421, 3, x_393); +lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_352); +x_422 = 1; +x_423 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_423, 0, x_345); +lean_ctor_set(x_423, 1, x_346); +lean_ctor_set(x_423, 2, x_347); +lean_ctor_set(x_423, 3, x_421); +lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); +return x_423; +} +} +} +} +} +else +{ +uint8_t x_424; lean_object* x_425; +x_424 = 1; +x_425 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_425, 0, x_345); +lean_ctor_set(x_425, 1, x_346); +lean_ctor_set(x_425, 2, x_347); +lean_ctor_set(x_425, 3, x_351); +lean_ctor_set_uint8(x_425, sizeof(void*)*4, x_424); +return x_425; +} +} +else +{ +uint8_t x_426; lean_object* x_427; +lean_dec(x_347); +lean_dec(x_346); +x_426 = 1; +x_427 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_427, 0, x_345); +lean_ctor_set(x_427, 1, x_2); +lean_ctor_set(x_427, 2, x_3); +lean_ctor_set(x_427, 3, x_348); +lean_ctor_set_uint8(x_427, sizeof(void*)*4, x_426); +return x_427; +} +} +else +{ +lean_object* x_428; uint8_t x_429; +x_428 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_345, x_2, x_3); +x_429 = lean_ctor_get_uint8(x_428, sizeof(void*)*4); +if (x_429 == 0) +{ +lean_object* x_430; +x_430 = lean_ctor_get(x_428, 0); +lean_inc(x_430); +if (lean_obj_tag(x_430) == 0) +{ +lean_object* x_431; +x_431 = lean_ctor_get(x_428, 3); +lean_inc(x_431); +if (lean_obj_tag(x_431) == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; lean_object* x_437; +x_432 = lean_ctor_get(x_428, 1); +lean_inc(x_432); +x_433 = lean_ctor_get(x_428, 2); +lean_inc(x_433); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_434 = x_428; +} else { + lean_dec_ref(x_428); + x_434 = lean_box(0); +} +if (lean_is_scalar(x_434)) { + x_435 = lean_alloc_ctor(1, 4, 1); +} else { + x_435 = x_434; +} +lean_ctor_set(x_435, 0, x_431); +lean_ctor_set(x_435, 1, x_432); +lean_ctor_set(x_435, 2, x_433); +lean_ctor_set(x_435, 3, x_431); +lean_ctor_set_uint8(x_435, sizeof(void*)*4, x_429); +x_436 = 1; +x_437 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_437, 0, x_435); +lean_ctor_set(x_437, 1, x_346); +lean_ctor_set(x_437, 2, x_347); +lean_ctor_set(x_437, 3, x_348); +lean_ctor_set_uint8(x_437, sizeof(void*)*4, x_436); +return x_437; +} +else +{ +uint8_t x_438; +x_438 = lean_ctor_get_uint8(x_431, sizeof(void*)*4); +if (x_438 == 0) +{ +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; uint8_t x_447; lean_object* x_448; lean_object* x_449; uint8_t x_450; lean_object* x_451; +x_439 = lean_ctor_get(x_428, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_428, 2); +lean_inc(x_440); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_441 = x_428; +} else { + lean_dec_ref(x_428); + x_441 = lean_box(0); +} +x_442 = lean_ctor_get(x_431, 0); +lean_inc(x_442); +x_443 = lean_ctor_get(x_431, 1); +lean_inc(x_443); +x_444 = lean_ctor_get(x_431, 2); +lean_inc(x_444); +x_445 = lean_ctor_get(x_431, 3); +lean_inc(x_445); +if (lean_is_exclusive(x_431)) { + lean_ctor_release(x_431, 0); + lean_ctor_release(x_431, 1); + lean_ctor_release(x_431, 2); + lean_ctor_release(x_431, 3); + x_446 = x_431; +} else { + lean_dec_ref(x_431); + x_446 = lean_box(0); +} +x_447 = 1; +if (lean_is_scalar(x_446)) { + x_448 = lean_alloc_ctor(1, 4, 1); +} else { + x_448 = x_446; +} +lean_ctor_set(x_448, 0, x_430); +lean_ctor_set(x_448, 1, x_439); +lean_ctor_set(x_448, 2, x_440); +lean_ctor_set(x_448, 3, x_442); +lean_ctor_set_uint8(x_448, sizeof(void*)*4, x_447); +if (lean_is_scalar(x_441)) { + x_449 = lean_alloc_ctor(1, 4, 1); +} else { + x_449 = x_441; +} +lean_ctor_set(x_449, 0, x_445); +lean_ctor_set(x_449, 1, x_346); +lean_ctor_set(x_449, 2, x_347); +lean_ctor_set(x_449, 3, x_348); +lean_ctor_set_uint8(x_449, sizeof(void*)*4, x_447); +x_450 = 0; +x_451 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_451, 0, x_448); +lean_ctor_set(x_451, 1, x_443); +lean_ctor_set(x_451, 2, x_444); +lean_ctor_set(x_451, 3, x_449); +lean_ctor_set_uint8(x_451, sizeof(void*)*4, x_450); +return x_451; +} +else +{ +lean_object* x_452; uint8_t x_453; lean_object* x_454; +if (lean_is_exclusive(x_431)) { + lean_ctor_release(x_431, 0); + lean_ctor_release(x_431, 1); + lean_ctor_release(x_431, 2); + lean_ctor_release(x_431, 3); + x_452 = x_431; +} else { + lean_dec_ref(x_431); + x_452 = lean_box(0); +} +x_453 = 1; +if (lean_is_scalar(x_452)) { + x_454 = lean_alloc_ctor(1, 4, 1); +} else { + x_454 = x_452; +} +lean_ctor_set(x_454, 0, x_428); +lean_ctor_set(x_454, 1, x_346); +lean_ctor_set(x_454, 2, x_347); +lean_ctor_set(x_454, 3, x_348); +lean_ctor_set_uint8(x_454, sizeof(void*)*4, x_453); +return x_454; +} +} +} +else +{ +uint8_t x_455; +x_455 = lean_ctor_get_uint8(x_430, sizeof(void*)*4); +if (x_455 == 0) +{ +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; uint8_t x_465; lean_object* x_466; lean_object* x_467; uint8_t x_468; lean_object* x_469; +x_456 = lean_ctor_get(x_428, 1); +lean_inc(x_456); +x_457 = lean_ctor_get(x_428, 2); +lean_inc(x_457); +x_458 = lean_ctor_get(x_428, 3); +lean_inc(x_458); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_459 = x_428; +} else { + lean_dec_ref(x_428); + x_459 = lean_box(0); +} +x_460 = lean_ctor_get(x_430, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_430, 1); +lean_inc(x_461); +x_462 = lean_ctor_get(x_430, 2); +lean_inc(x_462); +x_463 = lean_ctor_get(x_430, 3); +lean_inc(x_463); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_464 = x_430; +} else { + lean_dec_ref(x_430); + x_464 = lean_box(0); +} +x_465 = 1; +if (lean_is_scalar(x_464)) { + x_466 = lean_alloc_ctor(1, 4, 1); +} else { + x_466 = x_464; +} +lean_ctor_set(x_466, 0, x_460); +lean_ctor_set(x_466, 1, x_461); +lean_ctor_set(x_466, 2, x_462); +lean_ctor_set(x_466, 3, x_463); +lean_ctor_set_uint8(x_466, sizeof(void*)*4, x_465); +if (lean_is_scalar(x_459)) { + x_467 = lean_alloc_ctor(1, 4, 1); +} else { + x_467 = x_459; +} +lean_ctor_set(x_467, 0, x_458); +lean_ctor_set(x_467, 1, x_346); +lean_ctor_set(x_467, 2, x_347); +lean_ctor_set(x_467, 3, x_348); +lean_ctor_set_uint8(x_467, sizeof(void*)*4, x_465); +x_468 = 0; +x_469 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_469, 0, x_466); +lean_ctor_set(x_469, 1, x_456); +lean_ctor_set(x_469, 2, x_457); +lean_ctor_set(x_469, 3, x_467); +lean_ctor_set_uint8(x_469, sizeof(void*)*4, x_468); +return x_469; +} +else +{ +lean_object* x_470; +x_470 = lean_ctor_get(x_428, 3); +lean_inc(x_470); +if (lean_obj_tag(x_470) == 0) +{ +lean_object* x_471; uint8_t x_472; lean_object* x_473; +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_471 = x_430; +} else { + lean_dec_ref(x_430); + x_471 = lean_box(0); +} +x_472 = 1; +if (lean_is_scalar(x_471)) { + x_473 = lean_alloc_ctor(1, 4, 1); +} else { + x_473 = x_471; +} +lean_ctor_set(x_473, 0, x_428); +lean_ctor_set(x_473, 1, x_346); +lean_ctor_set(x_473, 2, x_347); +lean_ctor_set(x_473, 3, x_348); +lean_ctor_set_uint8(x_473, sizeof(void*)*4, x_472); +return x_473; +} +else +{ +uint8_t x_474; +x_474 = lean_ctor_get_uint8(x_470, sizeof(void*)*4); +if (x_474 == 0) +{ +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; uint8_t x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; uint8_t x_487; lean_object* x_488; +x_475 = lean_ctor_get(x_428, 1); +lean_inc(x_475); +x_476 = lean_ctor_get(x_428, 2); +lean_inc(x_476); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_477 = x_428; +} else { + lean_dec_ref(x_428); + x_477 = lean_box(0); +} +x_478 = lean_ctor_get(x_470, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_470, 1); +lean_inc(x_479); +x_480 = lean_ctor_get(x_470, 2); +lean_inc(x_480); +x_481 = lean_ctor_get(x_470, 3); +lean_inc(x_481); +if (lean_is_exclusive(x_470)) { + lean_ctor_release(x_470, 0); + lean_ctor_release(x_470, 1); + lean_ctor_release(x_470, 2); + lean_ctor_release(x_470, 3); + x_482 = x_470; +} else { + lean_dec_ref(x_470); + x_482 = lean_box(0); +} +x_483 = 1; +lean_inc(x_430); +if (lean_is_scalar(x_482)) { + x_484 = lean_alloc_ctor(1, 4, 1); +} else { + x_484 = x_482; +} +lean_ctor_set(x_484, 0, x_430); +lean_ctor_set(x_484, 1, x_475); +lean_ctor_set(x_484, 2, x_476); +lean_ctor_set(x_484, 3, x_478); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_485 = x_430; +} else { + lean_dec_ref(x_430); + x_485 = lean_box(0); +} +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_483); +if (lean_is_scalar(x_485)) { + x_486 = lean_alloc_ctor(1, 4, 1); +} else { + x_486 = x_485; +} +lean_ctor_set(x_486, 0, x_481); +lean_ctor_set(x_486, 1, x_346); +lean_ctor_set(x_486, 2, x_347); +lean_ctor_set(x_486, 3, x_348); +lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_483); +x_487 = 0; +if (lean_is_scalar(x_477)) { + x_488 = lean_alloc_ctor(1, 4, 1); +} else { + x_488 = x_477; +} +lean_ctor_set(x_488, 0, x_484); +lean_ctor_set(x_488, 1, x_479); +lean_ctor_set(x_488, 2, x_480); +lean_ctor_set(x_488, 3, x_486); +lean_ctor_set_uint8(x_488, sizeof(void*)*4, x_487); +return x_488; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; lean_object* x_500; +x_489 = lean_ctor_get(x_428, 1); +lean_inc(x_489); +x_490 = lean_ctor_get(x_428, 2); +lean_inc(x_490); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_491 = x_428; +} else { + lean_dec_ref(x_428); + x_491 = lean_box(0); +} +x_492 = lean_ctor_get(x_430, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_430, 1); +lean_inc(x_493); +x_494 = lean_ctor_get(x_430, 2); +lean_inc(x_494); +x_495 = lean_ctor_get(x_430, 3); +lean_inc(x_495); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_496 = x_430; +} else { + lean_dec_ref(x_430); + x_496 = lean_box(0); +} +if (lean_is_scalar(x_496)) { + x_497 = lean_alloc_ctor(1, 4, 1); +} else { + x_497 = x_496; +} +lean_ctor_set(x_497, 0, x_492); +lean_ctor_set(x_497, 1, x_493); +lean_ctor_set(x_497, 2, x_494); +lean_ctor_set(x_497, 3, x_495); +lean_ctor_set_uint8(x_497, sizeof(void*)*4, x_474); +if (lean_is_scalar(x_491)) { + x_498 = lean_alloc_ctor(1, 4, 1); +} else { + x_498 = x_491; +} +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_489); +lean_ctor_set(x_498, 2, x_490); +lean_ctor_set(x_498, 3, x_470); +lean_ctor_set_uint8(x_498, sizeof(void*)*4, x_429); +x_499 = 1; +x_500 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_500, 0, x_498); +lean_ctor_set(x_500, 1, x_346); +lean_ctor_set(x_500, 2, x_347); +lean_ctor_set(x_500, 3, x_348); +lean_ctor_set_uint8(x_500, sizeof(void*)*4, x_499); +return x_500; +} +} +} +} +} +else +{ +uint8_t x_501; lean_object* x_502; +x_501 = 1; +x_502 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_502, 0, x_428); +lean_ctor_set(x_502, 1, x_346); +lean_ctor_set(x_502, 2, x_347); +lean_ctor_set(x_502, 3, x_348); +lean_ctor_set_uint8(x_502, sizeof(void*)*4, x_501); +return x_502; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__3(x_1, x_2, x_3); +x_7 = l_Lean_RBNode_setBlack___rarg(x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_2); +return x_4; +} +else +{ +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_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 3); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4(x_1, x_2, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +if (lean_obj_tag(x_7) == 4) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = lean_ctor_get(x_7, 0); +lean_inc(x_14); +lean_dec(x_7); +x_15 = lean_array_get_size(x_14); +x_16 = lean_usize_of_nat(x_15); +lean_dec(x_15); +x_17 = 0; +x_18 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonTextEditBatch___spec__1(x_16, x_17, x_14); +if (lean_obj_tag(x_18) == 0) +{ +uint8_t x_19; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_6); +x_19 = !lean_is_exclusive(x_18); +if (x_19 == 0) +{ +return x_18; +} +else +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_18, 0); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_21, 0, x_20); +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; +x_22 = lean_ctor_get(x_18, 0); +lean_inc(x_22); +lean_dec(x_18); +x_23 = l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__2(x_13, x_6, x_22); +x_2 = x_23; +x_3 = x_8; +goto _start; +} +} +else +{ +uint8_t x_25; +lean_dec(x_8); +lean_dec(x_6); +x_25 = !lean_is_exclusive(x_9); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_26 = lean_ctor_get(x_9, 0); +lean_dec(x_26); +x_27 = lean_unsigned_to_nat(80u); +x_28 = l_Lean_Json_pretty(x_7, x_27); +x_29 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__1; +x_30 = lean_string_append(x_29, x_28); +lean_dec(x_28); +x_31 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__2; +x_32 = lean_string_append(x_30, x_31); +lean_ctor_set_tag(x_9, 0); +lean_ctor_set(x_9, 0, x_32); +return x_9; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_9); +x_33 = lean_unsigned_to_nat(80u); +x_34 = l_Lean_Json_pretty(x_7, x_33); +x_35 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__1; +x_36 = lean_string_append(x_35, x_34); +lean_dec(x_34); +x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__2; +x_38 = lean_string_append(x_36, x_37); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +return x_39; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 3); +lean_inc(x_7); +lean_dec(x_2); +x_8 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__5(x_1, x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +if (lean_obj_tag(x_6) == 4) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; size_t x_15; size_t x_16; lean_object* x_17; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = lean_ctor_get(x_6, 0); +lean_inc(x_13); +lean_dec(x_6); +x_14 = lean_array_get_size(x_13); +x_15 = lean_usize_of_nat(x_14); +lean_dec(x_14); +x_16 = 0; +x_17 = l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonTextEditBatch___spec__1(x_15, x_16, x_13); +if (lean_obj_tag(x_17) == 0) +{ +uint8_t x_18; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_5); +x_18 = !lean_is_exclusive(x_17); +if (x_18 == 0) +{ +return x_17; +} +else +{ +lean_object* x_19; lean_object* x_20; +x_19 = lean_ctor_get(x_17, 0); +lean_inc(x_19); +lean_dec(x_17); +x_20 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_20, 0, x_19); +return x_20; +} +} +else +{ +lean_object* x_21; lean_object* x_22; +x_21 = lean_ctor_get(x_17, 0); +lean_inc(x_21); +lean_dec(x_17); +x_22 = l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__2(x_12, x_5, x_21); +x_1 = x_22; +x_2 = x_7; +goto _start; +} +} +else +{ +uint8_t x_24; +lean_dec(x_7); +lean_dec(x_5); +x_24 = !lean_is_exclusive(x_8); +if (x_24 == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_25 = lean_ctor_get(x_8, 0); +lean_dec(x_25); +x_26 = lean_unsigned_to_nat(80u); +x_27 = l_Lean_Json_pretty(x_6, x_26); +x_28 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__1; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +x_30 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__2; +x_31 = lean_string_append(x_29, x_30); +lean_ctor_set_tag(x_8, 0); +lean_ctor_set(x_8, 0, x_31); +return x_8; +} +else +{ +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_dec(x_8); +x_32 = lean_unsigned_to_nat(80u); +x_33 = l_Lean_Json_pretty(x_6, x_32); +x_34 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__1; +x_35 = lean_string_append(x_34, x_33); +lean_dec(x_33); +x_36 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__2; +x_37 = lean_string_append(x_35, x_36); +x_38 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_38, 0, x_37); +return x_38; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = l_Lean_Json_getObj_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_box(0); +x_10 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__5(x_9, x_8); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__7(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_21; lean_object* x_22; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_21 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_22 = l_Lean_Json_getObjVal_x3f(x_6, x_21); +if (lean_obj_tag(x_22) == 0) +{ +lean_object* x_23; +lean_dec(x_22); +x_23 = lean_box(0); +x_9 = x_23; +goto block_20; +} +else +{ +lean_object* x_24; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +if (lean_obj_tag(x_24) == 3) +{ +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = l_Lean_Lsp_instToJsonDocumentChange___closed__1; +x_27 = lean_string_dec_eq(x_25, x_26); +if (x_27 == 0) +{ +lean_object* x_28; uint8_t x_29; +x_28 = l_Lean_Lsp_instToJsonDocumentChange___closed__4; +x_29 = lean_string_dec_eq(x_25, x_28); +if (x_29 == 0) +{ +lean_object* x_30; uint8_t x_31; +x_30 = l_Lean_Lsp_instToJsonDocumentChange___closed__6; +x_31 = lean_string_dec_eq(x_25, x_30); +lean_dec(x_25); +if (x_31 == 0) +{ +lean_object* x_32; +x_32 = lean_box(0); +x_9 = x_32; +goto block_20; +} +else +{ +lean_object* x_33; +x_33 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDeleteFile____x40_Lean_Data_Lsp_Basic___hyg_2717_(x_6); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; +lean_dec(x_33); +x_34 = lean_box(0); +x_9 = x_34; +goto block_20; +} +else +{ +lean_object* x_35; lean_object* x_36; size_t x_37; size_t x_38; lean_object* x_39; +lean_dec(x_6); +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_36, 0, x_35); +x_37 = 1; +x_38 = lean_usize_add(x_2, x_37); +x_39 = lean_array_uset(x_8, x_2, x_36); +x_2 = x_38; +x_3 = x_39; +goto _start; +} +} +} +else +{ +lean_object* x_41; +lean_dec(x_25); +x_41 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2555_(x_6); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; +lean_dec(x_41); +x_42 = lean_box(0); +x_9 = x_42; +goto block_20; +} +else +{ +lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; lean_object* x_47; +lean_dec(x_6); +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +lean_dec(x_41); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = 1; +x_46 = lean_usize_add(x_2, x_45); +x_47 = lean_array_uset(x_8, x_2, x_44); +x_2 = x_46; +x_3 = x_47; +goto _start; +} +} +} +else +{ +lean_object* x_49; +lean_dec(x_25); +x_49 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2392_(x_6); +if (lean_obj_tag(x_49) == 0) +{ +lean_object* x_50; +lean_dec(x_49); +x_50 = lean_box(0); +x_9 = x_50; +goto block_20; +} +else +{ +lean_object* x_51; lean_object* x_52; size_t x_53; size_t x_54; lean_object* x_55; +lean_dec(x_6); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_52, 0, x_51); +x_53 = 1; +x_54 = lean_usize_add(x_2, x_53); +x_55 = lean_array_uset(x_8, x_2, x_52); +x_2 = x_54; +x_3 = x_55; +goto _start; +} +} +} +else +{ +lean_object* x_57; +lean_dec(x_24); +x_57 = lean_box(0); +x_9 = x_57; +goto block_20; +} +} +block_20: +{ +lean_object* x_10; +lean_dec(x_9); +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871_(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +lean_dec(x_8); +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +return x_10; +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +lean_inc(x_12); +lean_dec(x_10); +x_13 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_13, 0, x_12); +return x_13; +} +} +else +{ +lean_object* x_14; lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_14 = lean_ctor_get(x_10, 0); +lean_inc(x_14); +lean_dec(x_10); +x_15 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_15, 0, x_14); +x_16 = 1; +x_17 = lean_usize_add(x_2, x_16); +x_18 = lean_array_uset(x_8, x_2, x_15); +x_2 = x_17; +x_3 = x_18; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +if (lean_obj_tag(x_3) == 4) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__7(x_6, x_7, x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_unsigned_to_nat(80u); +x_10 = l_Lean_Json_pretty(x_3, x_9); +x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__1; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331____spec__1___closed__2; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_box(0); +x_5 = 0; +x_6 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_2); +lean_ctor_set(x_6, 2, x_3); +lean_ctor_set(x_6, 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_5); +return x_6; +} +else +{ +uint8_t x_7; +x_7 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); +if (x_7 == 0) +{ +uint8_t x_8; +x_8 = !lean_is_exclusive(x_1); +if (x_8 == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_9 = lean_ctor_get(x_1, 0); +x_10 = lean_ctor_get(x_1, 1); +x_11 = lean_ctor_get(x_1, 2); +x_12 = lean_ctor_get(x_1, 3); +x_13 = lean_string_dec_lt(x_2, x_10); +if (x_13 == 0) +{ +uint8_t x_14; +x_14 = lean_string_dec_eq(x_2, x_10); +if (x_14 == 0) +{ +lean_object* x_15; uint8_t x_16; +x_15 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_12, x_2, x_3); +x_16 = 0; +lean_ctor_set(x_1, 3, x_15); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_16); +return x_1; +} +else +{ +uint8_t x_17; +lean_dec(x_11); +lean_dec(x_10); +x_17 = 0; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_17); +return x_1; +} +} +else +{ +lean_object* x_18; uint8_t x_19; +x_18 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_9, x_2, x_3); +x_19 = 0; +lean_ctor_set(x_1, 0, x_18); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_19); +return x_1; +} +} +else +{ +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_20 = lean_ctor_get(x_1, 0); +x_21 = lean_ctor_get(x_1, 1); +x_22 = lean_ctor_get(x_1, 2); +x_23 = lean_ctor_get(x_1, 3); +lean_inc(x_23); +lean_inc(x_22); +lean_inc(x_21); +lean_inc(x_20); +lean_dec(x_1); +x_24 = lean_string_dec_lt(x_2, x_21); +if (x_24 == 0) +{ +uint8_t x_25; +x_25 = lean_string_dec_eq(x_2, x_21); +if (x_25 == 0) +{ +lean_object* x_26; uint8_t x_27; lean_object* x_28; +x_26 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_23, x_2, x_3); +x_27 = 0; +x_28 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_28, 0, x_20); +lean_ctor_set(x_28, 1, x_21); +lean_ctor_set(x_28, 2, x_22); +lean_ctor_set(x_28, 3, x_26); +lean_ctor_set_uint8(x_28, sizeof(void*)*4, x_27); +return x_28; +} +else +{ +uint8_t x_29; lean_object* x_30; +lean_dec(x_22); +lean_dec(x_21); +x_29 = 0; +x_30 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_30, 0, x_20); +lean_ctor_set(x_30, 1, x_2); +lean_ctor_set(x_30, 2, x_3); +lean_ctor_set(x_30, 3, x_23); +lean_ctor_set_uint8(x_30, sizeof(void*)*4, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; uint8_t x_32; lean_object* x_33; +x_31 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_20, x_2, x_3); +x_32 = 0; +x_33 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_21); +lean_ctor_set(x_33, 2, x_22); +lean_ctor_set(x_33, 3, x_23); +lean_ctor_set_uint8(x_33, sizeof(void*)*4, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +x_34 = !lean_is_exclusive(x_1); +if (x_34 == 0) +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_35 = lean_ctor_get(x_1, 0); +x_36 = lean_ctor_get(x_1, 1); +x_37 = lean_ctor_get(x_1, 2); +x_38 = lean_ctor_get(x_1, 3); +x_39 = lean_string_dec_lt(x_2, x_36); +if (x_39 == 0) +{ +uint8_t x_40; +x_40 = lean_string_dec_eq(x_2, x_36); +if (x_40 == 0) +{ +lean_object* x_41; uint8_t x_42; +x_41 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_38, x_2, x_3); +x_42 = lean_ctor_get_uint8(x_41, sizeof(void*)*4); +if (x_42 == 0) +{ +lean_object* x_43; +x_43 = lean_ctor_get(x_41, 0); +lean_inc(x_43); +if (lean_obj_tag(x_43) == 0) +{ +lean_object* x_44; +x_44 = lean_ctor_get(x_41, 3); +lean_inc(x_44); +if (lean_obj_tag(x_44) == 0) +{ +uint8_t x_45; +x_45 = !lean_is_exclusive(x_41); +if (x_45 == 0) +{ +lean_object* x_46; lean_object* x_47; uint8_t x_48; +x_46 = lean_ctor_get(x_41, 3); +lean_dec(x_46); +x_47 = lean_ctor_get(x_41, 0); +lean_dec(x_47); +lean_ctor_set(x_41, 0, x_44); +x_48 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_48); +return x_1; +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_41, 1); +x_50 = lean_ctor_get(x_41, 2); +lean_inc(x_50); +lean_inc(x_49); +lean_dec(x_41); +x_51 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_51, 0, x_44); +lean_ctor_set(x_51, 1, x_49); +lean_ctor_set(x_51, 2, x_50); +lean_ctor_set(x_51, 3, x_44); +lean_ctor_set_uint8(x_51, sizeof(void*)*4, x_42); +x_52 = 1; +lean_ctor_set(x_1, 3, x_51); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_52); +return x_1; +} +} +else +{ +uint8_t x_53; +x_53 = lean_ctor_get_uint8(x_44, sizeof(void*)*4); +if (x_53 == 0) +{ +uint8_t x_54; +x_54 = !lean_is_exclusive(x_41); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +x_55 = lean_ctor_get(x_41, 1); +x_56 = lean_ctor_get(x_41, 2); +x_57 = lean_ctor_get(x_41, 3); +lean_dec(x_57); +x_58 = lean_ctor_get(x_41, 0); +lean_dec(x_58); +x_59 = !lean_is_exclusive(x_44); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; uint8_t x_65; +x_60 = lean_ctor_get(x_44, 0); +x_61 = lean_ctor_get(x_44, 1); +x_62 = lean_ctor_get(x_44, 2); +x_63 = lean_ctor_get(x_44, 3); +x_64 = 1; +lean_ctor_set(x_44, 3, x_43); +lean_ctor_set(x_44, 2, x_37); +lean_ctor_set(x_44, 1, x_36); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set_uint8(x_44, sizeof(void*)*4, x_64); +lean_ctor_set(x_41, 3, x_63); +lean_ctor_set(x_41, 2, x_62); +lean_ctor_set(x_41, 1, x_61); +lean_ctor_set(x_41, 0, x_60); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_64); +x_65 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_56); +lean_ctor_set(x_1, 1, x_55); +lean_ctor_set(x_1, 0, x_44); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_65); +return x_1; +} +else +{ +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; uint8_t x_70; lean_object* x_71; uint8_t x_72; +x_66 = lean_ctor_get(x_44, 0); +x_67 = lean_ctor_get(x_44, 1); +x_68 = lean_ctor_get(x_44, 2); +x_69 = lean_ctor_get(x_44, 3); +lean_inc(x_69); +lean_inc(x_68); +lean_inc(x_67); +lean_inc(x_66); +lean_dec(x_44); +x_70 = 1; +x_71 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_71, 0, x_35); +lean_ctor_set(x_71, 1, x_36); +lean_ctor_set(x_71, 2, x_37); +lean_ctor_set(x_71, 3, x_43); +lean_ctor_set_uint8(x_71, sizeof(void*)*4, x_70); +lean_ctor_set(x_41, 3, x_69); +lean_ctor_set(x_41, 2, x_68); +lean_ctor_set(x_41, 1, x_67); +lean_ctor_set(x_41, 0, x_66); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_70); +x_72 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_56); +lean_ctor_set(x_1, 1, x_55); +lean_ctor_set(x_1, 0, x_71); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_72); +return x_1; +} +} +else +{ +lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; uint8_t x_83; +x_73 = lean_ctor_get(x_41, 1); +x_74 = lean_ctor_get(x_41, 2); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_41); +x_75 = lean_ctor_get(x_44, 0); +lean_inc(x_75); +x_76 = lean_ctor_get(x_44, 1); +lean_inc(x_76); +x_77 = lean_ctor_get(x_44, 2); +lean_inc(x_77); +x_78 = lean_ctor_get(x_44, 3); +lean_inc(x_78); +if (lean_is_exclusive(x_44)) { + lean_ctor_release(x_44, 0); + lean_ctor_release(x_44, 1); + lean_ctor_release(x_44, 2); + lean_ctor_release(x_44, 3); + x_79 = x_44; +} else { + lean_dec_ref(x_44); + x_79 = lean_box(0); +} +x_80 = 1; +if (lean_is_scalar(x_79)) { + x_81 = lean_alloc_ctor(1, 4, 1); +} else { + x_81 = x_79; +} +lean_ctor_set(x_81, 0, x_35); +lean_ctor_set(x_81, 1, x_36); +lean_ctor_set(x_81, 2, x_37); +lean_ctor_set(x_81, 3, x_43); +lean_ctor_set_uint8(x_81, sizeof(void*)*4, x_80); +x_82 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_82, 0, x_75); +lean_ctor_set(x_82, 1, x_76); +lean_ctor_set(x_82, 2, x_77); +lean_ctor_set(x_82, 3, x_78); +lean_ctor_set_uint8(x_82, sizeof(void*)*4, x_80); +x_83 = 0; +lean_ctor_set(x_1, 3, x_82); +lean_ctor_set(x_1, 2, x_74); +lean_ctor_set(x_1, 1, x_73); +lean_ctor_set(x_1, 0, x_81); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_83); +return x_1; +} +} +else +{ +uint8_t x_84; +lean_free_object(x_1); +x_84 = !lean_is_exclusive(x_44); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +x_85 = lean_ctor_get(x_44, 3); +lean_dec(x_85); +x_86 = lean_ctor_get(x_44, 2); +lean_dec(x_86); +x_87 = lean_ctor_get(x_44, 1); +lean_dec(x_87); +x_88 = lean_ctor_get(x_44, 0); +lean_dec(x_88); +x_89 = 1; +lean_ctor_set(x_44, 3, x_41); +lean_ctor_set(x_44, 2, x_37); +lean_ctor_set(x_44, 1, x_36); +lean_ctor_set(x_44, 0, x_35); +lean_ctor_set_uint8(x_44, sizeof(void*)*4, x_89); +return x_44; +} +else +{ +uint8_t x_90; lean_object* x_91; +lean_dec(x_44); +x_90 = 1; +x_91 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_91, 0, x_35); +lean_ctor_set(x_91, 1, x_36); +lean_ctor_set(x_91, 2, x_37); +lean_ctor_set(x_91, 3, x_41); +lean_ctor_set_uint8(x_91, sizeof(void*)*4, x_90); +return x_91; +} +} +} +} +else +{ +uint8_t x_92; +x_92 = lean_ctor_get_uint8(x_43, sizeof(void*)*4); +if (x_92 == 0) +{ +uint8_t x_93; +x_93 = !lean_is_exclusive(x_41); +if (x_93 == 0) +{ +lean_object* x_94; uint8_t x_95; +x_94 = lean_ctor_get(x_41, 0); +lean_dec(x_94); +x_95 = !lean_is_exclusive(x_43); +if (x_95 == 0) +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; uint8_t x_100; uint8_t x_101; +x_96 = lean_ctor_get(x_43, 0); +x_97 = lean_ctor_get(x_43, 1); +x_98 = lean_ctor_get(x_43, 2); +x_99 = lean_ctor_get(x_43, 3); +x_100 = 1; +lean_ctor_set(x_43, 3, x_96); +lean_ctor_set(x_43, 2, x_37); +lean_ctor_set(x_43, 1, x_36); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_100); +lean_ctor_set(x_41, 0, x_99); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_100); +x_101 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_98); +lean_ctor_set(x_1, 1, x_97); +lean_ctor_set(x_1, 0, x_43); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_101); +return x_1; +} +else +{ +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; uint8_t x_108; +x_102 = lean_ctor_get(x_43, 0); +x_103 = lean_ctor_get(x_43, 1); +x_104 = lean_ctor_get(x_43, 2); +x_105 = lean_ctor_get(x_43, 3); +lean_inc(x_105); +lean_inc(x_104); +lean_inc(x_103); +lean_inc(x_102); +lean_dec(x_43); +x_106 = 1; +x_107 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_107, 0, x_35); +lean_ctor_set(x_107, 1, x_36); +lean_ctor_set(x_107, 2, x_37); +lean_ctor_set(x_107, 3, x_102); +lean_ctor_set_uint8(x_107, sizeof(void*)*4, x_106); +lean_ctor_set(x_41, 0, x_105); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_106); +x_108 = 0; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set(x_1, 2, x_104); +lean_ctor_set(x_1, 1, x_103); +lean_ctor_set(x_1, 0, x_107); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_108); +return x_1; +} +} +else +{ +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; uint8_t x_120; +x_109 = lean_ctor_get(x_41, 1); +x_110 = lean_ctor_get(x_41, 2); +x_111 = lean_ctor_get(x_41, 3); +lean_inc(x_111); +lean_inc(x_110); +lean_inc(x_109); +lean_dec(x_41); +x_112 = lean_ctor_get(x_43, 0); +lean_inc(x_112); +x_113 = lean_ctor_get(x_43, 1); +lean_inc(x_113); +x_114 = lean_ctor_get(x_43, 2); +lean_inc(x_114); +x_115 = lean_ctor_get(x_43, 3); +lean_inc(x_115); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_116 = x_43; +} else { + lean_dec_ref(x_43); + x_116 = lean_box(0); +} +x_117 = 1; +if (lean_is_scalar(x_116)) { + x_118 = lean_alloc_ctor(1, 4, 1); +} else { + x_118 = x_116; +} +lean_ctor_set(x_118, 0, x_35); +lean_ctor_set(x_118, 1, x_36); +lean_ctor_set(x_118, 2, x_37); +lean_ctor_set(x_118, 3, x_112); +lean_ctor_set_uint8(x_118, sizeof(void*)*4, x_117); +x_119 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_119, 0, x_115); +lean_ctor_set(x_119, 1, x_109); +lean_ctor_set(x_119, 2, x_110); +lean_ctor_set(x_119, 3, x_111); +lean_ctor_set_uint8(x_119, sizeof(void*)*4, x_117); +x_120 = 0; +lean_ctor_set(x_1, 3, x_119); +lean_ctor_set(x_1, 2, x_114); +lean_ctor_set(x_1, 1, x_113); +lean_ctor_set(x_1, 0, x_118); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_120); +return x_1; +} +} +else +{ +lean_object* x_121; +x_121 = lean_ctor_get(x_41, 3); +lean_inc(x_121); +if (lean_obj_tag(x_121) == 0) +{ +uint8_t x_122; +lean_free_object(x_1); +x_122 = !lean_is_exclusive(x_43); +if (x_122 == 0) +{ +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +x_123 = lean_ctor_get(x_43, 3); +lean_dec(x_123); +x_124 = lean_ctor_get(x_43, 2); +lean_dec(x_124); +x_125 = lean_ctor_get(x_43, 1); +lean_dec(x_125); +x_126 = lean_ctor_get(x_43, 0); +lean_dec(x_126); +x_127 = 1; +lean_ctor_set(x_43, 3, x_41); +lean_ctor_set(x_43, 2, x_37); +lean_ctor_set(x_43, 1, x_36); +lean_ctor_set(x_43, 0, x_35); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_127); +return x_43; +} +else +{ +uint8_t x_128; lean_object* x_129; +lean_dec(x_43); +x_128 = 1; +x_129 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_129, 0, x_35); +lean_ctor_set(x_129, 1, x_36); +lean_ctor_set(x_129, 2, x_37); +lean_ctor_set(x_129, 3, x_41); +lean_ctor_set_uint8(x_129, sizeof(void*)*4, x_128); +return x_129; +} +} +else +{ +uint8_t x_130; +x_130 = lean_ctor_get_uint8(x_121, sizeof(void*)*4); +if (x_130 == 0) +{ +uint8_t x_131; +lean_free_object(x_1); +x_131 = !lean_is_exclusive(x_41); +if (x_131 == 0) +{ +lean_object* x_132; lean_object* x_133; uint8_t x_134; +x_132 = lean_ctor_get(x_41, 3); +lean_dec(x_132); +x_133 = lean_ctor_get(x_41, 0); +lean_dec(x_133); +x_134 = !lean_is_exclusive(x_121); +if (x_134 == 0) +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; uint8_t x_139; uint8_t x_140; +x_135 = lean_ctor_get(x_121, 0); +x_136 = lean_ctor_get(x_121, 1); +x_137 = lean_ctor_get(x_121, 2); +x_138 = lean_ctor_get(x_121, 3); +x_139 = 1; +lean_inc(x_43); +lean_ctor_set(x_121, 3, x_43); +lean_ctor_set(x_121, 2, x_37); +lean_ctor_set(x_121, 1, x_36); +lean_ctor_set(x_121, 0, x_35); +x_140 = !lean_is_exclusive(x_43); +if (x_140 == 0) +{ +lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; uint8_t x_145; +x_141 = lean_ctor_get(x_43, 3); +lean_dec(x_141); +x_142 = lean_ctor_get(x_43, 2); +lean_dec(x_142); +x_143 = lean_ctor_get(x_43, 1); +lean_dec(x_143); +x_144 = lean_ctor_get(x_43, 0); +lean_dec(x_144); +lean_ctor_set_uint8(x_121, sizeof(void*)*4, x_139); +lean_ctor_set(x_43, 3, x_138); +lean_ctor_set(x_43, 2, x_137); +lean_ctor_set(x_43, 1, x_136); +lean_ctor_set(x_43, 0, x_135); +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_139); +x_145 = 0; +lean_ctor_set(x_41, 3, x_43); +lean_ctor_set(x_41, 0, x_121); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_145); +return x_41; +} +else +{ +lean_object* x_146; uint8_t x_147; +lean_dec(x_43); +lean_ctor_set_uint8(x_121, sizeof(void*)*4, x_139); +x_146 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_146, 0, x_135); +lean_ctor_set(x_146, 1, x_136); +lean_ctor_set(x_146, 2, x_137); +lean_ctor_set(x_146, 3, x_138); +lean_ctor_set_uint8(x_146, sizeof(void*)*4, x_139); +x_147 = 0; +lean_ctor_set(x_41, 3, x_146); +lean_ctor_set(x_41, 0, x_121); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_147); +return x_41; +} +} +else +{ +lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; uint8_t x_156; +x_148 = lean_ctor_get(x_121, 0); +x_149 = lean_ctor_get(x_121, 1); +x_150 = lean_ctor_get(x_121, 2); +x_151 = lean_ctor_get(x_121, 3); +lean_inc(x_151); +lean_inc(x_150); +lean_inc(x_149); +lean_inc(x_148); +lean_dec(x_121); +x_152 = 1; +lean_inc(x_43); +x_153 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_153, 0, x_35); +lean_ctor_set(x_153, 1, x_36); +lean_ctor_set(x_153, 2, x_37); +lean_ctor_set(x_153, 3, x_43); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_154 = x_43; +} else { + lean_dec_ref(x_43); + x_154 = lean_box(0); +} +lean_ctor_set_uint8(x_153, sizeof(void*)*4, x_152); +if (lean_is_scalar(x_154)) { + x_155 = lean_alloc_ctor(1, 4, 1); +} else { + x_155 = x_154; +} +lean_ctor_set(x_155, 0, x_148); +lean_ctor_set(x_155, 1, x_149); +lean_ctor_set(x_155, 2, x_150); +lean_ctor_set(x_155, 3, x_151); +lean_ctor_set_uint8(x_155, sizeof(void*)*4, x_152); +x_156 = 0; +lean_ctor_set(x_41, 3, x_155); +lean_ctor_set(x_41, 0, x_153); +lean_ctor_set_uint8(x_41, sizeof(void*)*4, x_156); +return x_41; +} +} +else +{ +lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; uint8_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; uint8_t x_168; lean_object* x_169; +x_157 = lean_ctor_get(x_41, 1); +x_158 = lean_ctor_get(x_41, 2); +lean_inc(x_158); +lean_inc(x_157); +lean_dec(x_41); +x_159 = lean_ctor_get(x_121, 0); +lean_inc(x_159); +x_160 = lean_ctor_get(x_121, 1); +lean_inc(x_160); +x_161 = lean_ctor_get(x_121, 2); +lean_inc(x_161); +x_162 = lean_ctor_get(x_121, 3); +lean_inc(x_162); +if (lean_is_exclusive(x_121)) { + lean_ctor_release(x_121, 0); + lean_ctor_release(x_121, 1); + lean_ctor_release(x_121, 2); + lean_ctor_release(x_121, 3); + x_163 = x_121; +} else { + lean_dec_ref(x_121); + x_163 = lean_box(0); +} +x_164 = 1; +lean_inc(x_43); +if (lean_is_scalar(x_163)) { + x_165 = lean_alloc_ctor(1, 4, 1); +} else { + x_165 = x_163; +} +lean_ctor_set(x_165, 0, x_35); +lean_ctor_set(x_165, 1, x_36); +lean_ctor_set(x_165, 2, x_37); +lean_ctor_set(x_165, 3, x_43); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_166 = x_43; +} else { + lean_dec_ref(x_43); + x_166 = lean_box(0); +} +lean_ctor_set_uint8(x_165, sizeof(void*)*4, x_164); +if (lean_is_scalar(x_166)) { + x_167 = lean_alloc_ctor(1, 4, 1); +} else { + x_167 = x_166; +} +lean_ctor_set(x_167, 0, x_159); +lean_ctor_set(x_167, 1, x_160); +lean_ctor_set(x_167, 2, x_161); +lean_ctor_set(x_167, 3, x_162); +lean_ctor_set_uint8(x_167, sizeof(void*)*4, x_164); +x_168 = 0; +x_169 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_169, 0, x_165); +lean_ctor_set(x_169, 1, x_157); +lean_ctor_set(x_169, 2, x_158); +lean_ctor_set(x_169, 3, x_167); +lean_ctor_set_uint8(x_169, sizeof(void*)*4, x_168); +return x_169; +} +} +else +{ +uint8_t x_170; +x_170 = !lean_is_exclusive(x_41); +if (x_170 == 0) +{ +lean_object* x_171; lean_object* x_172; uint8_t x_173; +x_171 = lean_ctor_get(x_41, 3); +lean_dec(x_171); +x_172 = lean_ctor_get(x_41, 0); +lean_dec(x_172); +x_173 = !lean_is_exclusive(x_43); +if (x_173 == 0) +{ +uint8_t x_174; +lean_ctor_set_uint8(x_43, sizeof(void*)*4, x_130); +x_174 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_174); +return x_1; +} +else +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; uint8_t x_180; +x_175 = lean_ctor_get(x_43, 0); +x_176 = lean_ctor_get(x_43, 1); +x_177 = lean_ctor_get(x_43, 2); +x_178 = lean_ctor_get(x_43, 3); +lean_inc(x_178); +lean_inc(x_177); +lean_inc(x_176); +lean_inc(x_175); +lean_dec(x_43); +x_179 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_179, 0, x_175); +lean_ctor_set(x_179, 1, x_176); +lean_ctor_set(x_179, 2, x_177); +lean_ctor_set(x_179, 3, x_178); +lean_ctor_set_uint8(x_179, sizeof(void*)*4, x_130); +lean_ctor_set(x_41, 0, x_179); +x_180 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_180); +return x_1; +} +} +else +{ +lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t x_190; +x_181 = lean_ctor_get(x_41, 1); +x_182 = lean_ctor_get(x_41, 2); +lean_inc(x_182); +lean_inc(x_181); +lean_dec(x_41); +x_183 = lean_ctor_get(x_43, 0); +lean_inc(x_183); +x_184 = lean_ctor_get(x_43, 1); +lean_inc(x_184); +x_185 = lean_ctor_get(x_43, 2); +lean_inc(x_185); +x_186 = lean_ctor_get(x_43, 3); +lean_inc(x_186); +if (lean_is_exclusive(x_43)) { + lean_ctor_release(x_43, 0); + lean_ctor_release(x_43, 1); + lean_ctor_release(x_43, 2); + lean_ctor_release(x_43, 3); + x_187 = x_43; +} else { + lean_dec_ref(x_43); + x_187 = lean_box(0); +} +if (lean_is_scalar(x_187)) { + x_188 = lean_alloc_ctor(1, 4, 1); +} else { + x_188 = x_187; +} +lean_ctor_set(x_188, 0, x_183); +lean_ctor_set(x_188, 1, x_184); +lean_ctor_set(x_188, 2, x_185); +lean_ctor_set(x_188, 3, x_186); +lean_ctor_set_uint8(x_188, sizeof(void*)*4, x_130); +x_189 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_189, 0, x_188); +lean_ctor_set(x_189, 1, x_181); +lean_ctor_set(x_189, 2, x_182); +lean_ctor_set(x_189, 3, x_121); +lean_ctor_set_uint8(x_189, sizeof(void*)*4, x_42); +x_190 = 1; +lean_ctor_set(x_1, 3, x_189); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_190); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_191; +x_191 = 1; +lean_ctor_set(x_1, 3, x_41); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_191); +return x_1; +} +} +else +{ +uint8_t x_192; +lean_dec(x_37); +lean_dec(x_36); +x_192 = 1; +lean_ctor_set(x_1, 2, x_3); +lean_ctor_set(x_1, 1, x_2); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_192); +return x_1; +} +} +else +{ +lean_object* x_193; uint8_t x_194; +x_193 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_35, x_2, x_3); +x_194 = lean_ctor_get_uint8(x_193, sizeof(void*)*4); +if (x_194 == 0) +{ +lean_object* x_195; +x_195 = lean_ctor_get(x_193, 0); +lean_inc(x_195); +if (lean_obj_tag(x_195) == 0) +{ +lean_object* x_196; +x_196 = lean_ctor_get(x_193, 3); +lean_inc(x_196); +if (lean_obj_tag(x_196) == 0) +{ +uint8_t x_197; +x_197 = !lean_is_exclusive(x_193); +if (x_197 == 0) +{ +lean_object* x_198; lean_object* x_199; uint8_t x_200; +x_198 = lean_ctor_get(x_193, 3); +lean_dec(x_198); +x_199 = lean_ctor_get(x_193, 0); +lean_dec(x_199); +lean_ctor_set(x_193, 0, x_196); +x_200 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_200); +return x_1; +} +else +{ +lean_object* x_201; lean_object* x_202; lean_object* x_203; uint8_t x_204; +x_201 = lean_ctor_get(x_193, 1); +x_202 = lean_ctor_get(x_193, 2); +lean_inc(x_202); +lean_inc(x_201); +lean_dec(x_193); +x_203 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_203, 0, x_196); +lean_ctor_set(x_203, 1, x_201); +lean_ctor_set(x_203, 2, x_202); +lean_ctor_set(x_203, 3, x_196); +lean_ctor_set_uint8(x_203, sizeof(void*)*4, x_194); +x_204 = 1; +lean_ctor_set(x_1, 0, x_203); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_204); +return x_1; +} +} +else +{ +uint8_t x_205; +x_205 = lean_ctor_get_uint8(x_196, sizeof(void*)*4); +if (x_205 == 0) +{ +uint8_t x_206; +x_206 = !lean_is_exclusive(x_193); +if (x_206 == 0) +{ +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; uint8_t x_211; +x_207 = lean_ctor_get(x_193, 1); +x_208 = lean_ctor_get(x_193, 2); +x_209 = lean_ctor_get(x_193, 3); +lean_dec(x_209); +x_210 = lean_ctor_get(x_193, 0); +lean_dec(x_210); +x_211 = !lean_is_exclusive(x_196); +if (x_211 == 0) +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; uint8_t x_216; uint8_t x_217; +x_212 = lean_ctor_get(x_196, 0); +x_213 = lean_ctor_get(x_196, 1); +x_214 = lean_ctor_get(x_196, 2); +x_215 = lean_ctor_get(x_196, 3); +x_216 = 1; +lean_ctor_set(x_196, 3, x_212); +lean_ctor_set(x_196, 2, x_208); +lean_ctor_set(x_196, 1, x_207); +lean_ctor_set(x_196, 0, x_195); +lean_ctor_set_uint8(x_196, sizeof(void*)*4, x_216); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_215); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_216); +x_217 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_214); +lean_ctor_set(x_1, 1, x_213); +lean_ctor_set(x_1, 0, x_196); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_217); +return x_1; +} +else +{ +lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; uint8_t x_222; lean_object* x_223; uint8_t x_224; +x_218 = lean_ctor_get(x_196, 0); +x_219 = lean_ctor_get(x_196, 1); +x_220 = lean_ctor_get(x_196, 2); +x_221 = lean_ctor_get(x_196, 3); +lean_inc(x_221); +lean_inc(x_220); +lean_inc(x_219); +lean_inc(x_218); +lean_dec(x_196); +x_222 = 1; +x_223 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_223, 0, x_195); +lean_ctor_set(x_223, 1, x_207); +lean_ctor_set(x_223, 2, x_208); +lean_ctor_set(x_223, 3, x_218); +lean_ctor_set_uint8(x_223, sizeof(void*)*4, x_222); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_221); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_222); +x_224 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_220); +lean_ctor_set(x_1, 1, x_219); +lean_ctor_set(x_1, 0, x_223); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_224); +return x_1; +} +} +else +{ +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; uint8_t x_232; lean_object* x_233; lean_object* x_234; uint8_t x_235; +x_225 = lean_ctor_get(x_193, 1); +x_226 = lean_ctor_get(x_193, 2); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(x_193); +x_227 = lean_ctor_get(x_196, 0); +lean_inc(x_227); +x_228 = lean_ctor_get(x_196, 1); +lean_inc(x_228); +x_229 = lean_ctor_get(x_196, 2); +lean_inc(x_229); +x_230 = lean_ctor_get(x_196, 3); +lean_inc(x_230); +if (lean_is_exclusive(x_196)) { + lean_ctor_release(x_196, 0); + lean_ctor_release(x_196, 1); + lean_ctor_release(x_196, 2); + lean_ctor_release(x_196, 3); + x_231 = x_196; +} else { + lean_dec_ref(x_196); + x_231 = lean_box(0); +} +x_232 = 1; +if (lean_is_scalar(x_231)) { + x_233 = lean_alloc_ctor(1, 4, 1); +} else { + x_233 = x_231; +} +lean_ctor_set(x_233, 0, x_195); +lean_ctor_set(x_233, 1, x_225); +lean_ctor_set(x_233, 2, x_226); +lean_ctor_set(x_233, 3, x_227); +lean_ctor_set_uint8(x_233, sizeof(void*)*4, x_232); +x_234 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_234, 0, x_230); +lean_ctor_set(x_234, 1, x_36); +lean_ctor_set(x_234, 2, x_37); +lean_ctor_set(x_234, 3, x_38); +lean_ctor_set_uint8(x_234, sizeof(void*)*4, x_232); +x_235 = 0; +lean_ctor_set(x_1, 3, x_234); +lean_ctor_set(x_1, 2, x_229); +lean_ctor_set(x_1, 1, x_228); +lean_ctor_set(x_1, 0, x_233); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_235); +return x_1; +} +} +else +{ +uint8_t x_236; +lean_free_object(x_1); +x_236 = !lean_is_exclusive(x_196); +if (x_236 == 0) +{ +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; +x_237 = lean_ctor_get(x_196, 3); +lean_dec(x_237); +x_238 = lean_ctor_get(x_196, 2); +lean_dec(x_238); +x_239 = lean_ctor_get(x_196, 1); +lean_dec(x_239); +x_240 = lean_ctor_get(x_196, 0); +lean_dec(x_240); +x_241 = 1; +lean_ctor_set(x_196, 3, x_38); +lean_ctor_set(x_196, 2, x_37); +lean_ctor_set(x_196, 1, x_36); +lean_ctor_set(x_196, 0, x_193); +lean_ctor_set_uint8(x_196, sizeof(void*)*4, x_241); +return x_196; +} +else +{ +uint8_t x_242; lean_object* x_243; +lean_dec(x_196); +x_242 = 1; +x_243 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_243, 0, x_193); +lean_ctor_set(x_243, 1, x_36); +lean_ctor_set(x_243, 2, x_37); +lean_ctor_set(x_243, 3, x_38); +lean_ctor_set_uint8(x_243, sizeof(void*)*4, x_242); +return x_243; +} +} +} +} +else +{ +uint8_t x_244; +x_244 = lean_ctor_get_uint8(x_195, sizeof(void*)*4); +if (x_244 == 0) +{ +uint8_t x_245; +x_245 = !lean_is_exclusive(x_193); +if (x_245 == 0) +{ +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; uint8_t x_250; +x_246 = lean_ctor_get(x_193, 1); +x_247 = lean_ctor_get(x_193, 2); +x_248 = lean_ctor_get(x_193, 3); +x_249 = lean_ctor_get(x_193, 0); +lean_dec(x_249); +x_250 = !lean_is_exclusive(x_195); +if (x_250 == 0) +{ +uint8_t x_251; uint8_t x_252; +x_251 = 1; +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_251); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_248); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_251); +x_252 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_247); +lean_ctor_set(x_1, 1, x_246); +lean_ctor_set(x_1, 0, x_195); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_252); +return x_1; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; uint8_t x_257; lean_object* x_258; uint8_t x_259; +x_253 = lean_ctor_get(x_195, 0); +x_254 = lean_ctor_get(x_195, 1); +x_255 = lean_ctor_get(x_195, 2); +x_256 = lean_ctor_get(x_195, 3); +lean_inc(x_256); +lean_inc(x_255); +lean_inc(x_254); +lean_inc(x_253); +lean_dec(x_195); +x_257 = 1; +x_258 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_258, 0, x_253); +lean_ctor_set(x_258, 1, x_254); +lean_ctor_set(x_258, 2, x_255); +lean_ctor_set(x_258, 3, x_256); +lean_ctor_set_uint8(x_258, sizeof(void*)*4, x_257); +lean_ctor_set(x_193, 3, x_38); +lean_ctor_set(x_193, 2, x_37); +lean_ctor_set(x_193, 1, x_36); +lean_ctor_set(x_193, 0, x_248); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_257); +x_259 = 0; +lean_ctor_set(x_1, 3, x_193); +lean_ctor_set(x_1, 2, x_247); +lean_ctor_set(x_1, 1, x_246); +lean_ctor_set(x_1, 0, x_258); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_259); +return x_1; +} +} +else +{ +lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; lean_object* x_269; lean_object* x_270; uint8_t x_271; +x_260 = lean_ctor_get(x_193, 1); +x_261 = lean_ctor_get(x_193, 2); +x_262 = lean_ctor_get(x_193, 3); +lean_inc(x_262); +lean_inc(x_261); +lean_inc(x_260); +lean_dec(x_193); +x_263 = lean_ctor_get(x_195, 0); +lean_inc(x_263); +x_264 = lean_ctor_get(x_195, 1); +lean_inc(x_264); +x_265 = lean_ctor_get(x_195, 2); +lean_inc(x_265); +x_266 = lean_ctor_get(x_195, 3); +lean_inc(x_266); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_267 = x_195; +} else { + lean_dec_ref(x_195); + x_267 = lean_box(0); +} +x_268 = 1; +if (lean_is_scalar(x_267)) { + x_269 = lean_alloc_ctor(1, 4, 1); +} else { + x_269 = x_267; +} +lean_ctor_set(x_269, 0, x_263); +lean_ctor_set(x_269, 1, x_264); +lean_ctor_set(x_269, 2, x_265); +lean_ctor_set(x_269, 3, x_266); +lean_ctor_set_uint8(x_269, sizeof(void*)*4, x_268); +x_270 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_270, 0, x_262); +lean_ctor_set(x_270, 1, x_36); +lean_ctor_set(x_270, 2, x_37); +lean_ctor_set(x_270, 3, x_38); +lean_ctor_set_uint8(x_270, sizeof(void*)*4, x_268); +x_271 = 0; +lean_ctor_set(x_1, 3, x_270); +lean_ctor_set(x_1, 2, x_261); +lean_ctor_set(x_1, 1, x_260); +lean_ctor_set(x_1, 0, x_269); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_271); +return x_1; +} +} +else +{ +lean_object* x_272; +x_272 = lean_ctor_get(x_193, 3); +lean_inc(x_272); +if (lean_obj_tag(x_272) == 0) +{ +uint8_t x_273; +lean_free_object(x_1); +x_273 = !lean_is_exclusive(x_195); +if (x_273 == 0) +{ +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; uint8_t x_278; +x_274 = lean_ctor_get(x_195, 3); +lean_dec(x_274); +x_275 = lean_ctor_get(x_195, 2); +lean_dec(x_275); +x_276 = lean_ctor_get(x_195, 1); +lean_dec(x_276); +x_277 = lean_ctor_get(x_195, 0); +lean_dec(x_277); +x_278 = 1; +lean_ctor_set(x_195, 3, x_38); +lean_ctor_set(x_195, 2, x_37); +lean_ctor_set(x_195, 1, x_36); +lean_ctor_set(x_195, 0, x_193); +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_278); +return x_195; +} +else +{ +uint8_t x_279; lean_object* x_280; +lean_dec(x_195); +x_279 = 1; +x_280 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_280, 0, x_193); +lean_ctor_set(x_280, 1, x_36); +lean_ctor_set(x_280, 2, x_37); +lean_ctor_set(x_280, 3, x_38); +lean_ctor_set_uint8(x_280, sizeof(void*)*4, x_279); +return x_280; +} +} +else +{ +uint8_t x_281; +x_281 = lean_ctor_get_uint8(x_272, sizeof(void*)*4); +if (x_281 == 0) +{ +uint8_t x_282; +lean_free_object(x_1); +x_282 = !lean_is_exclusive(x_193); +if (x_282 == 0) +{ +lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; uint8_t x_287; +x_283 = lean_ctor_get(x_193, 1); +x_284 = lean_ctor_get(x_193, 2); +x_285 = lean_ctor_get(x_193, 3); +lean_dec(x_285); +x_286 = lean_ctor_get(x_193, 0); +lean_dec(x_286); +x_287 = !lean_is_exclusive(x_272); +if (x_287 == 0) +{ +lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; uint8_t x_292; uint8_t x_293; +x_288 = lean_ctor_get(x_272, 0); +x_289 = lean_ctor_get(x_272, 1); +x_290 = lean_ctor_get(x_272, 2); +x_291 = lean_ctor_get(x_272, 3); +x_292 = 1; +lean_inc(x_195); +lean_ctor_set(x_272, 3, x_288); +lean_ctor_set(x_272, 2, x_284); +lean_ctor_set(x_272, 1, x_283); +lean_ctor_set(x_272, 0, x_195); +x_293 = !lean_is_exclusive(x_195); +if (x_293 == 0) +{ +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_294 = lean_ctor_get(x_195, 3); +lean_dec(x_294); +x_295 = lean_ctor_get(x_195, 2); +lean_dec(x_295); +x_296 = lean_ctor_get(x_195, 1); +lean_dec(x_296); +x_297 = lean_ctor_get(x_195, 0); +lean_dec(x_297); +lean_ctor_set_uint8(x_272, sizeof(void*)*4, x_292); +lean_ctor_set(x_195, 3, x_38); +lean_ctor_set(x_195, 2, x_37); +lean_ctor_set(x_195, 1, x_36); +lean_ctor_set(x_195, 0, x_291); +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_292); +x_298 = 0; +lean_ctor_set(x_193, 3, x_195); +lean_ctor_set(x_193, 2, x_290); +lean_ctor_set(x_193, 1, x_289); +lean_ctor_set(x_193, 0, x_272); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_298); +return x_193; +} +else +{ +lean_object* x_299; uint8_t x_300; +lean_dec(x_195); +lean_ctor_set_uint8(x_272, sizeof(void*)*4, x_292); +x_299 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_299, 0, x_291); +lean_ctor_set(x_299, 1, x_36); +lean_ctor_set(x_299, 2, x_37); +lean_ctor_set(x_299, 3, x_38); +lean_ctor_set_uint8(x_299, sizeof(void*)*4, x_292); +x_300 = 0; +lean_ctor_set(x_193, 3, x_299); +lean_ctor_set(x_193, 2, x_290); +lean_ctor_set(x_193, 1, x_289); +lean_ctor_set(x_193, 0, x_272); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_300); +return x_193; +} +} +else +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; uint8_t x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; +x_301 = lean_ctor_get(x_272, 0); +x_302 = lean_ctor_get(x_272, 1); +x_303 = lean_ctor_get(x_272, 2); +x_304 = lean_ctor_get(x_272, 3); +lean_inc(x_304); +lean_inc(x_303); +lean_inc(x_302); +lean_inc(x_301); +lean_dec(x_272); +x_305 = 1; +lean_inc(x_195); +x_306 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_306, 0, x_195); +lean_ctor_set(x_306, 1, x_283); +lean_ctor_set(x_306, 2, x_284); +lean_ctor_set(x_306, 3, x_301); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_307 = x_195; +} else { + lean_dec_ref(x_195); + x_307 = lean_box(0); +} +lean_ctor_set_uint8(x_306, sizeof(void*)*4, x_305); +if (lean_is_scalar(x_307)) { + x_308 = lean_alloc_ctor(1, 4, 1); +} else { + x_308 = x_307; +} +lean_ctor_set(x_308, 0, x_304); +lean_ctor_set(x_308, 1, x_36); +lean_ctor_set(x_308, 2, x_37); +lean_ctor_set(x_308, 3, x_38); +lean_ctor_set_uint8(x_308, sizeof(void*)*4, x_305); +x_309 = 0; +lean_ctor_set(x_193, 3, x_308); +lean_ctor_set(x_193, 2, x_303); +lean_ctor_set(x_193, 1, x_302); +lean_ctor_set(x_193, 0, x_306); +lean_ctor_set_uint8(x_193, sizeof(void*)*4, x_309); +return x_193; +} +} +else +{ +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; uint8_t x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; uint8_t x_321; lean_object* x_322; +x_310 = lean_ctor_get(x_193, 1); +x_311 = lean_ctor_get(x_193, 2); +lean_inc(x_311); +lean_inc(x_310); +lean_dec(x_193); +x_312 = lean_ctor_get(x_272, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_272, 1); +lean_inc(x_313); +x_314 = lean_ctor_get(x_272, 2); +lean_inc(x_314); +x_315 = lean_ctor_get(x_272, 3); +lean_inc(x_315); +if (lean_is_exclusive(x_272)) { + lean_ctor_release(x_272, 0); + lean_ctor_release(x_272, 1); + lean_ctor_release(x_272, 2); + lean_ctor_release(x_272, 3); + x_316 = x_272; +} else { + lean_dec_ref(x_272); + x_316 = lean_box(0); +} +x_317 = 1; +lean_inc(x_195); +if (lean_is_scalar(x_316)) { + x_318 = lean_alloc_ctor(1, 4, 1); +} else { + x_318 = x_316; +} +lean_ctor_set(x_318, 0, x_195); +lean_ctor_set(x_318, 1, x_310); +lean_ctor_set(x_318, 2, x_311); +lean_ctor_set(x_318, 3, x_312); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_319 = x_195; +} else { + lean_dec_ref(x_195); + x_319 = lean_box(0); +} +lean_ctor_set_uint8(x_318, sizeof(void*)*4, x_317); +if (lean_is_scalar(x_319)) { + x_320 = lean_alloc_ctor(1, 4, 1); +} else { + x_320 = x_319; +} +lean_ctor_set(x_320, 0, x_315); +lean_ctor_set(x_320, 1, x_36); +lean_ctor_set(x_320, 2, x_37); +lean_ctor_set(x_320, 3, x_38); +lean_ctor_set_uint8(x_320, sizeof(void*)*4, x_317); +x_321 = 0; +x_322 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_322, 0, x_318); +lean_ctor_set(x_322, 1, x_313); +lean_ctor_set(x_322, 2, x_314); +lean_ctor_set(x_322, 3, x_320); +lean_ctor_set_uint8(x_322, sizeof(void*)*4, x_321); +return x_322; +} +} +else +{ +uint8_t x_323; +x_323 = !lean_is_exclusive(x_193); +if (x_323 == 0) +{ +lean_object* x_324; lean_object* x_325; uint8_t x_326; +x_324 = lean_ctor_get(x_193, 3); +lean_dec(x_324); +x_325 = lean_ctor_get(x_193, 0); +lean_dec(x_325); +x_326 = !lean_is_exclusive(x_195); +if (x_326 == 0) +{ +uint8_t x_327; +lean_ctor_set_uint8(x_195, sizeof(void*)*4, x_281); +x_327 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_327); +return x_1; +} +else +{ +lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; uint8_t x_333; +x_328 = lean_ctor_get(x_195, 0); +x_329 = lean_ctor_get(x_195, 1); +x_330 = lean_ctor_get(x_195, 2); +x_331 = lean_ctor_get(x_195, 3); +lean_inc(x_331); +lean_inc(x_330); +lean_inc(x_329); +lean_inc(x_328); +lean_dec(x_195); +x_332 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_332, 0, x_328); +lean_ctor_set(x_332, 1, x_329); +lean_ctor_set(x_332, 2, x_330); +lean_ctor_set(x_332, 3, x_331); +lean_ctor_set_uint8(x_332, sizeof(void*)*4, x_281); +lean_ctor_set(x_193, 0, x_332); +x_333 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_333); +return x_1; +} +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; uint8_t x_343; +x_334 = lean_ctor_get(x_193, 1); +x_335 = lean_ctor_get(x_193, 2); +lean_inc(x_335); +lean_inc(x_334); +lean_dec(x_193); +x_336 = lean_ctor_get(x_195, 0); +lean_inc(x_336); +x_337 = lean_ctor_get(x_195, 1); +lean_inc(x_337); +x_338 = lean_ctor_get(x_195, 2); +lean_inc(x_338); +x_339 = lean_ctor_get(x_195, 3); +lean_inc(x_339); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + lean_ctor_release(x_195, 2); + lean_ctor_release(x_195, 3); + x_340 = x_195; +} else { + lean_dec_ref(x_195); + x_340 = lean_box(0); +} +if (lean_is_scalar(x_340)) { + x_341 = lean_alloc_ctor(1, 4, 1); +} else { + x_341 = x_340; +} +lean_ctor_set(x_341, 0, x_336); +lean_ctor_set(x_341, 1, x_337); +lean_ctor_set(x_341, 2, x_338); +lean_ctor_set(x_341, 3, x_339); +lean_ctor_set_uint8(x_341, sizeof(void*)*4, x_281); +x_342 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_334); +lean_ctor_set(x_342, 2, x_335); +lean_ctor_set(x_342, 3, x_272); +lean_ctor_set_uint8(x_342, sizeof(void*)*4, x_194); +x_343 = 1; +lean_ctor_set(x_1, 0, x_342); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_343); +return x_1; +} +} +} +} +} +} +else +{ +uint8_t x_344; +x_344 = 1; +lean_ctor_set(x_1, 0, x_193); +lean_ctor_set_uint8(x_1, sizeof(void*)*4, x_344); +return x_1; +} +} +} +else +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; uint8_t x_349; +x_345 = lean_ctor_get(x_1, 0); +x_346 = lean_ctor_get(x_1, 1); +x_347 = lean_ctor_get(x_1, 2); +x_348 = lean_ctor_get(x_1, 3); +lean_inc(x_348); +lean_inc(x_347); +lean_inc(x_346); +lean_inc(x_345); +lean_dec(x_1); +x_349 = lean_string_dec_lt(x_2, x_346); +if (x_349 == 0) +{ +uint8_t x_350; +x_350 = lean_string_dec_eq(x_2, x_346); +if (x_350 == 0) +{ +lean_object* x_351; uint8_t x_352; +x_351 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_348, x_2, x_3); +x_352 = lean_ctor_get_uint8(x_351, sizeof(void*)*4); +if (x_352 == 0) +{ +lean_object* x_353; +x_353 = lean_ctor_get(x_351, 0); +lean_inc(x_353); +if (lean_obj_tag(x_353) == 0) +{ +lean_object* x_354; +x_354 = lean_ctor_get(x_351, 3); +lean_inc(x_354); +if (lean_obj_tag(x_354) == 0) +{ +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; uint8_t x_359; lean_object* x_360; +x_355 = lean_ctor_get(x_351, 1); +lean_inc(x_355); +x_356 = lean_ctor_get(x_351, 2); +lean_inc(x_356); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_357 = x_351; +} else { + lean_dec_ref(x_351); + x_357 = lean_box(0); +} +if (lean_is_scalar(x_357)) { + x_358 = lean_alloc_ctor(1, 4, 1); +} else { + x_358 = x_357; +} +lean_ctor_set(x_358, 0, x_354); +lean_ctor_set(x_358, 1, x_355); +lean_ctor_set(x_358, 2, x_356); +lean_ctor_set(x_358, 3, x_354); +lean_ctor_set_uint8(x_358, sizeof(void*)*4, x_352); +x_359 = 1; +x_360 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_360, 0, x_345); +lean_ctor_set(x_360, 1, x_346); +lean_ctor_set(x_360, 2, x_347); +lean_ctor_set(x_360, 3, x_358); +lean_ctor_set_uint8(x_360, sizeof(void*)*4, x_359); +return x_360; +} +else +{ +uint8_t x_361; +x_361 = lean_ctor_get_uint8(x_354, sizeof(void*)*4); +if (x_361 == 0) +{ +lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; +x_362 = lean_ctor_get(x_351, 1); +lean_inc(x_362); +x_363 = lean_ctor_get(x_351, 2); +lean_inc(x_363); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_364 = x_351; +} else { + lean_dec_ref(x_351); + x_364 = lean_box(0); +} +x_365 = lean_ctor_get(x_354, 0); +lean_inc(x_365); +x_366 = lean_ctor_get(x_354, 1); +lean_inc(x_366); +x_367 = lean_ctor_get(x_354, 2); +lean_inc(x_367); +x_368 = lean_ctor_get(x_354, 3); +lean_inc(x_368); +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + lean_ctor_release(x_354, 1); + lean_ctor_release(x_354, 2); + lean_ctor_release(x_354, 3); + x_369 = x_354; +} else { + lean_dec_ref(x_354); + x_369 = lean_box(0); +} +x_370 = 1; +if (lean_is_scalar(x_369)) { + x_371 = lean_alloc_ctor(1, 4, 1); +} else { + x_371 = x_369; +} +lean_ctor_set(x_371, 0, x_345); +lean_ctor_set(x_371, 1, x_346); +lean_ctor_set(x_371, 2, x_347); +lean_ctor_set(x_371, 3, x_353); +lean_ctor_set_uint8(x_371, sizeof(void*)*4, x_370); +if (lean_is_scalar(x_364)) { + x_372 = lean_alloc_ctor(1, 4, 1); +} else { + x_372 = x_364; +} +lean_ctor_set(x_372, 0, x_365); +lean_ctor_set(x_372, 1, x_366); +lean_ctor_set(x_372, 2, x_367); +lean_ctor_set(x_372, 3, x_368); +lean_ctor_set_uint8(x_372, sizeof(void*)*4, x_370); +x_373 = 0; +x_374 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_374, 0, x_371); +lean_ctor_set(x_374, 1, x_362); +lean_ctor_set(x_374, 2, x_363); +lean_ctor_set(x_374, 3, x_372); +lean_ctor_set_uint8(x_374, sizeof(void*)*4, x_373); +return x_374; +} +else +{ +lean_object* x_375; uint8_t x_376; lean_object* x_377; +if (lean_is_exclusive(x_354)) { + lean_ctor_release(x_354, 0); + lean_ctor_release(x_354, 1); + lean_ctor_release(x_354, 2); + lean_ctor_release(x_354, 3); + x_375 = x_354; +} else { + lean_dec_ref(x_354); + x_375 = lean_box(0); +} +x_376 = 1; +if (lean_is_scalar(x_375)) { + x_377 = lean_alloc_ctor(1, 4, 1); +} else { + x_377 = x_375; +} +lean_ctor_set(x_377, 0, x_345); +lean_ctor_set(x_377, 1, x_346); +lean_ctor_set(x_377, 2, x_347); +lean_ctor_set(x_377, 3, x_351); +lean_ctor_set_uint8(x_377, sizeof(void*)*4, x_376); +return x_377; +} +} +} +else +{ +uint8_t x_378; +x_378 = lean_ctor_get_uint8(x_353, sizeof(void*)*4); +if (x_378 == 0) +{ +lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; uint8_t x_388; lean_object* x_389; lean_object* x_390; uint8_t x_391; lean_object* x_392; +x_379 = lean_ctor_get(x_351, 1); +lean_inc(x_379); +x_380 = lean_ctor_get(x_351, 2); +lean_inc(x_380); +x_381 = lean_ctor_get(x_351, 3); +lean_inc(x_381); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_382 = x_351; +} else { + lean_dec_ref(x_351); + x_382 = lean_box(0); +} +x_383 = lean_ctor_get(x_353, 0); +lean_inc(x_383); +x_384 = lean_ctor_get(x_353, 1); +lean_inc(x_384); +x_385 = lean_ctor_get(x_353, 2); +lean_inc(x_385); +x_386 = lean_ctor_get(x_353, 3); +lean_inc(x_386); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_387 = x_353; +} else { + lean_dec_ref(x_353); + x_387 = lean_box(0); +} +x_388 = 1; +if (lean_is_scalar(x_387)) { + x_389 = lean_alloc_ctor(1, 4, 1); +} else { + x_389 = x_387; +} +lean_ctor_set(x_389, 0, x_345); +lean_ctor_set(x_389, 1, x_346); +lean_ctor_set(x_389, 2, x_347); +lean_ctor_set(x_389, 3, x_383); +lean_ctor_set_uint8(x_389, sizeof(void*)*4, x_388); +if (lean_is_scalar(x_382)) { + x_390 = lean_alloc_ctor(1, 4, 1); +} else { + x_390 = x_382; +} +lean_ctor_set(x_390, 0, x_386); +lean_ctor_set(x_390, 1, x_379); +lean_ctor_set(x_390, 2, x_380); +lean_ctor_set(x_390, 3, x_381); +lean_ctor_set_uint8(x_390, sizeof(void*)*4, x_388); +x_391 = 0; +x_392 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_392, 0, x_389); +lean_ctor_set(x_392, 1, x_384); +lean_ctor_set(x_392, 2, x_385); +lean_ctor_set(x_392, 3, x_390); +lean_ctor_set_uint8(x_392, sizeof(void*)*4, x_391); +return x_392; +} +else +{ +lean_object* x_393; +x_393 = lean_ctor_get(x_351, 3); +lean_inc(x_393); +if (lean_obj_tag(x_393) == 0) +{ +lean_object* x_394; uint8_t x_395; lean_object* x_396; +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_394 = x_353; +} else { + lean_dec_ref(x_353); + x_394 = lean_box(0); +} +x_395 = 1; +if (lean_is_scalar(x_394)) { + x_396 = lean_alloc_ctor(1, 4, 1); +} else { + x_396 = x_394; +} +lean_ctor_set(x_396, 0, x_345); +lean_ctor_set(x_396, 1, x_346); +lean_ctor_set(x_396, 2, x_347); +lean_ctor_set(x_396, 3, x_351); +lean_ctor_set_uint8(x_396, sizeof(void*)*4, x_395); +return x_396; +} +else +{ +uint8_t x_397; +x_397 = lean_ctor_get_uint8(x_393, sizeof(void*)*4); +if (x_397 == 0) +{ +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; uint8_t x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; uint8_t x_410; lean_object* x_411; +x_398 = lean_ctor_get(x_351, 1); +lean_inc(x_398); +x_399 = lean_ctor_get(x_351, 2); +lean_inc(x_399); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_400 = x_351; +} else { + lean_dec_ref(x_351); + x_400 = lean_box(0); +} +x_401 = lean_ctor_get(x_393, 0); +lean_inc(x_401); +x_402 = lean_ctor_get(x_393, 1); +lean_inc(x_402); +x_403 = lean_ctor_get(x_393, 2); +lean_inc(x_403); +x_404 = lean_ctor_get(x_393, 3); +lean_inc(x_404); +if (lean_is_exclusive(x_393)) { + lean_ctor_release(x_393, 0); + lean_ctor_release(x_393, 1); + lean_ctor_release(x_393, 2); + lean_ctor_release(x_393, 3); + x_405 = x_393; +} else { + lean_dec_ref(x_393); + x_405 = lean_box(0); +} +x_406 = 1; +lean_inc(x_353); +if (lean_is_scalar(x_405)) { + x_407 = lean_alloc_ctor(1, 4, 1); +} else { + x_407 = x_405; +} +lean_ctor_set(x_407, 0, x_345); +lean_ctor_set(x_407, 1, x_346); +lean_ctor_set(x_407, 2, x_347); +lean_ctor_set(x_407, 3, x_353); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_408 = x_353; +} else { + lean_dec_ref(x_353); + x_408 = lean_box(0); +} +lean_ctor_set_uint8(x_407, sizeof(void*)*4, x_406); +if (lean_is_scalar(x_408)) { + x_409 = lean_alloc_ctor(1, 4, 1); +} else { + x_409 = x_408; +} +lean_ctor_set(x_409, 0, x_401); +lean_ctor_set(x_409, 1, x_402); +lean_ctor_set(x_409, 2, x_403); +lean_ctor_set(x_409, 3, x_404); +lean_ctor_set_uint8(x_409, sizeof(void*)*4, x_406); +x_410 = 0; +if (lean_is_scalar(x_400)) { + x_411 = lean_alloc_ctor(1, 4, 1); +} else { + x_411 = x_400; +} +lean_ctor_set(x_411, 0, x_407); +lean_ctor_set(x_411, 1, x_398); +lean_ctor_set(x_411, 2, x_399); +lean_ctor_set(x_411, 3, x_409); +lean_ctor_set_uint8(x_411, sizeof(void*)*4, x_410); +return x_411; +} +else +{ +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; uint8_t x_422; lean_object* x_423; +x_412 = lean_ctor_get(x_351, 1); +lean_inc(x_412); +x_413 = lean_ctor_get(x_351, 2); +lean_inc(x_413); +if (lean_is_exclusive(x_351)) { + lean_ctor_release(x_351, 0); + lean_ctor_release(x_351, 1); + lean_ctor_release(x_351, 2); + lean_ctor_release(x_351, 3); + x_414 = x_351; +} else { + lean_dec_ref(x_351); + x_414 = lean_box(0); +} +x_415 = lean_ctor_get(x_353, 0); +lean_inc(x_415); +x_416 = lean_ctor_get(x_353, 1); +lean_inc(x_416); +x_417 = lean_ctor_get(x_353, 2); +lean_inc(x_417); +x_418 = lean_ctor_get(x_353, 3); +lean_inc(x_418); +if (lean_is_exclusive(x_353)) { + lean_ctor_release(x_353, 0); + lean_ctor_release(x_353, 1); + lean_ctor_release(x_353, 2); + lean_ctor_release(x_353, 3); + x_419 = x_353; +} else { + lean_dec_ref(x_353); + x_419 = lean_box(0); +} +if (lean_is_scalar(x_419)) { + x_420 = lean_alloc_ctor(1, 4, 1); +} else { + x_420 = x_419; +} +lean_ctor_set(x_420, 0, x_415); +lean_ctor_set(x_420, 1, x_416); +lean_ctor_set(x_420, 2, x_417); +lean_ctor_set(x_420, 3, x_418); +lean_ctor_set_uint8(x_420, sizeof(void*)*4, x_397); +if (lean_is_scalar(x_414)) { + x_421 = lean_alloc_ctor(1, 4, 1); +} else { + x_421 = x_414; +} +lean_ctor_set(x_421, 0, x_420); +lean_ctor_set(x_421, 1, x_412); +lean_ctor_set(x_421, 2, x_413); +lean_ctor_set(x_421, 3, x_393); +lean_ctor_set_uint8(x_421, sizeof(void*)*4, x_352); +x_422 = 1; +x_423 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_423, 0, x_345); +lean_ctor_set(x_423, 1, x_346); +lean_ctor_set(x_423, 2, x_347); +lean_ctor_set(x_423, 3, x_421); +lean_ctor_set_uint8(x_423, sizeof(void*)*4, x_422); +return x_423; +} +} +} +} +} +else +{ +uint8_t x_424; lean_object* x_425; +x_424 = 1; +x_425 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_425, 0, x_345); +lean_ctor_set(x_425, 1, x_346); +lean_ctor_set(x_425, 2, x_347); +lean_ctor_set(x_425, 3, x_351); +lean_ctor_set_uint8(x_425, sizeof(void*)*4, x_424); +return x_425; +} +} +else +{ +uint8_t x_426; lean_object* x_427; +lean_dec(x_347); +lean_dec(x_346); +x_426 = 1; +x_427 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_427, 0, x_345); +lean_ctor_set(x_427, 1, x_2); +lean_ctor_set(x_427, 2, x_3); +lean_ctor_set(x_427, 3, x_348); +lean_ctor_set_uint8(x_427, sizeof(void*)*4, x_426); +return x_427; +} +} +else +{ +lean_object* x_428; uint8_t x_429; +x_428 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_345, x_2, x_3); +x_429 = lean_ctor_get_uint8(x_428, sizeof(void*)*4); +if (x_429 == 0) +{ +lean_object* x_430; +x_430 = lean_ctor_get(x_428, 0); +lean_inc(x_430); +if (lean_obj_tag(x_430) == 0) +{ +lean_object* x_431; +x_431 = lean_ctor_get(x_428, 3); +lean_inc(x_431); +if (lean_obj_tag(x_431) == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; lean_object* x_437; +x_432 = lean_ctor_get(x_428, 1); +lean_inc(x_432); +x_433 = lean_ctor_get(x_428, 2); +lean_inc(x_433); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_434 = x_428; +} else { + lean_dec_ref(x_428); + x_434 = lean_box(0); +} +if (lean_is_scalar(x_434)) { + x_435 = lean_alloc_ctor(1, 4, 1); +} else { + x_435 = x_434; +} +lean_ctor_set(x_435, 0, x_431); +lean_ctor_set(x_435, 1, x_432); +lean_ctor_set(x_435, 2, x_433); +lean_ctor_set(x_435, 3, x_431); +lean_ctor_set_uint8(x_435, sizeof(void*)*4, x_429); +x_436 = 1; +x_437 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_437, 0, x_435); +lean_ctor_set(x_437, 1, x_346); +lean_ctor_set(x_437, 2, x_347); +lean_ctor_set(x_437, 3, x_348); +lean_ctor_set_uint8(x_437, sizeof(void*)*4, x_436); +return x_437; +} +else +{ +uint8_t x_438; +x_438 = lean_ctor_get_uint8(x_431, sizeof(void*)*4); +if (x_438 == 0) +{ +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; uint8_t x_447; lean_object* x_448; lean_object* x_449; uint8_t x_450; lean_object* x_451; +x_439 = lean_ctor_get(x_428, 1); +lean_inc(x_439); +x_440 = lean_ctor_get(x_428, 2); +lean_inc(x_440); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_441 = x_428; +} else { + lean_dec_ref(x_428); + x_441 = lean_box(0); +} +x_442 = lean_ctor_get(x_431, 0); +lean_inc(x_442); +x_443 = lean_ctor_get(x_431, 1); +lean_inc(x_443); +x_444 = lean_ctor_get(x_431, 2); +lean_inc(x_444); +x_445 = lean_ctor_get(x_431, 3); +lean_inc(x_445); +if (lean_is_exclusive(x_431)) { + lean_ctor_release(x_431, 0); + lean_ctor_release(x_431, 1); + lean_ctor_release(x_431, 2); + lean_ctor_release(x_431, 3); + x_446 = x_431; +} else { + lean_dec_ref(x_431); + x_446 = lean_box(0); +} +x_447 = 1; +if (lean_is_scalar(x_446)) { + x_448 = lean_alloc_ctor(1, 4, 1); +} else { + x_448 = x_446; +} +lean_ctor_set(x_448, 0, x_430); +lean_ctor_set(x_448, 1, x_439); +lean_ctor_set(x_448, 2, x_440); +lean_ctor_set(x_448, 3, x_442); +lean_ctor_set_uint8(x_448, sizeof(void*)*4, x_447); +if (lean_is_scalar(x_441)) { + x_449 = lean_alloc_ctor(1, 4, 1); +} else { + x_449 = x_441; +} +lean_ctor_set(x_449, 0, x_445); +lean_ctor_set(x_449, 1, x_346); +lean_ctor_set(x_449, 2, x_347); +lean_ctor_set(x_449, 3, x_348); +lean_ctor_set_uint8(x_449, sizeof(void*)*4, x_447); +x_450 = 0; +x_451 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_451, 0, x_448); +lean_ctor_set(x_451, 1, x_443); +lean_ctor_set(x_451, 2, x_444); +lean_ctor_set(x_451, 3, x_449); +lean_ctor_set_uint8(x_451, sizeof(void*)*4, x_450); +return x_451; +} +else +{ +lean_object* x_452; uint8_t x_453; lean_object* x_454; +if (lean_is_exclusive(x_431)) { + lean_ctor_release(x_431, 0); + lean_ctor_release(x_431, 1); + lean_ctor_release(x_431, 2); + lean_ctor_release(x_431, 3); + x_452 = x_431; +} else { + lean_dec_ref(x_431); + x_452 = lean_box(0); +} +x_453 = 1; +if (lean_is_scalar(x_452)) { + x_454 = lean_alloc_ctor(1, 4, 1); +} else { + x_454 = x_452; +} +lean_ctor_set(x_454, 0, x_428); +lean_ctor_set(x_454, 1, x_346); +lean_ctor_set(x_454, 2, x_347); +lean_ctor_set(x_454, 3, x_348); +lean_ctor_set_uint8(x_454, sizeof(void*)*4, x_453); +return x_454; +} +} +} +else +{ +uint8_t x_455; +x_455 = lean_ctor_get_uint8(x_430, sizeof(void*)*4); +if (x_455 == 0) +{ +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; uint8_t x_465; lean_object* x_466; lean_object* x_467; uint8_t x_468; lean_object* x_469; +x_456 = lean_ctor_get(x_428, 1); +lean_inc(x_456); +x_457 = lean_ctor_get(x_428, 2); +lean_inc(x_457); +x_458 = lean_ctor_get(x_428, 3); +lean_inc(x_458); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_459 = x_428; +} else { + lean_dec_ref(x_428); + x_459 = lean_box(0); +} +x_460 = lean_ctor_get(x_430, 0); +lean_inc(x_460); +x_461 = lean_ctor_get(x_430, 1); +lean_inc(x_461); +x_462 = lean_ctor_get(x_430, 2); +lean_inc(x_462); +x_463 = lean_ctor_get(x_430, 3); +lean_inc(x_463); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_464 = x_430; +} else { + lean_dec_ref(x_430); + x_464 = lean_box(0); +} +x_465 = 1; +if (lean_is_scalar(x_464)) { + x_466 = lean_alloc_ctor(1, 4, 1); +} else { + x_466 = x_464; +} +lean_ctor_set(x_466, 0, x_460); +lean_ctor_set(x_466, 1, x_461); +lean_ctor_set(x_466, 2, x_462); +lean_ctor_set(x_466, 3, x_463); +lean_ctor_set_uint8(x_466, sizeof(void*)*4, x_465); +if (lean_is_scalar(x_459)) { + x_467 = lean_alloc_ctor(1, 4, 1); +} else { + x_467 = x_459; +} +lean_ctor_set(x_467, 0, x_458); +lean_ctor_set(x_467, 1, x_346); +lean_ctor_set(x_467, 2, x_347); +lean_ctor_set(x_467, 3, x_348); +lean_ctor_set_uint8(x_467, sizeof(void*)*4, x_465); +x_468 = 0; +x_469 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_469, 0, x_466); +lean_ctor_set(x_469, 1, x_456); +lean_ctor_set(x_469, 2, x_457); +lean_ctor_set(x_469, 3, x_467); +lean_ctor_set_uint8(x_469, sizeof(void*)*4, x_468); +return x_469; +} +else +{ +lean_object* x_470; +x_470 = lean_ctor_get(x_428, 3); +lean_inc(x_470); +if (lean_obj_tag(x_470) == 0) +{ +lean_object* x_471; uint8_t x_472; lean_object* x_473; +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_471 = x_430; +} else { + lean_dec_ref(x_430); + x_471 = lean_box(0); +} +x_472 = 1; +if (lean_is_scalar(x_471)) { + x_473 = lean_alloc_ctor(1, 4, 1); +} else { + x_473 = x_471; +} +lean_ctor_set(x_473, 0, x_428); +lean_ctor_set(x_473, 1, x_346); +lean_ctor_set(x_473, 2, x_347); +lean_ctor_set(x_473, 3, x_348); +lean_ctor_set_uint8(x_473, sizeof(void*)*4, x_472); +return x_473; +} +else +{ +uint8_t x_474; +x_474 = lean_ctor_get_uint8(x_470, sizeof(void*)*4); +if (x_474 == 0) +{ +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; uint8_t x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; uint8_t x_487; lean_object* x_488; +x_475 = lean_ctor_get(x_428, 1); +lean_inc(x_475); +x_476 = lean_ctor_get(x_428, 2); +lean_inc(x_476); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_477 = x_428; +} else { + lean_dec_ref(x_428); + x_477 = lean_box(0); +} +x_478 = lean_ctor_get(x_470, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_470, 1); +lean_inc(x_479); +x_480 = lean_ctor_get(x_470, 2); +lean_inc(x_480); +x_481 = lean_ctor_get(x_470, 3); +lean_inc(x_481); +if (lean_is_exclusive(x_470)) { + lean_ctor_release(x_470, 0); + lean_ctor_release(x_470, 1); + lean_ctor_release(x_470, 2); + lean_ctor_release(x_470, 3); + x_482 = x_470; +} else { + lean_dec_ref(x_470); + x_482 = lean_box(0); +} +x_483 = 1; +lean_inc(x_430); +if (lean_is_scalar(x_482)) { + x_484 = lean_alloc_ctor(1, 4, 1); +} else { + x_484 = x_482; +} +lean_ctor_set(x_484, 0, x_430); +lean_ctor_set(x_484, 1, x_475); +lean_ctor_set(x_484, 2, x_476); +lean_ctor_set(x_484, 3, x_478); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_485 = x_430; +} else { + lean_dec_ref(x_430); + x_485 = lean_box(0); +} +lean_ctor_set_uint8(x_484, sizeof(void*)*4, x_483); +if (lean_is_scalar(x_485)) { + x_486 = lean_alloc_ctor(1, 4, 1); +} else { + x_486 = x_485; +} +lean_ctor_set(x_486, 0, x_481); +lean_ctor_set(x_486, 1, x_346); +lean_ctor_set(x_486, 2, x_347); +lean_ctor_set(x_486, 3, x_348); +lean_ctor_set_uint8(x_486, sizeof(void*)*4, x_483); +x_487 = 0; +if (lean_is_scalar(x_477)) { + x_488 = lean_alloc_ctor(1, 4, 1); +} else { + x_488 = x_477; +} +lean_ctor_set(x_488, 0, x_484); +lean_ctor_set(x_488, 1, x_479); +lean_ctor_set(x_488, 2, x_480); +lean_ctor_set(x_488, 3, x_486); +lean_ctor_set_uint8(x_488, sizeof(void*)*4, x_487); +return x_488; +} +else +{ +lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; uint8_t x_499; lean_object* x_500; +x_489 = lean_ctor_get(x_428, 1); +lean_inc(x_489); +x_490 = lean_ctor_get(x_428, 2); +lean_inc(x_490); +if (lean_is_exclusive(x_428)) { + lean_ctor_release(x_428, 0); + lean_ctor_release(x_428, 1); + lean_ctor_release(x_428, 2); + lean_ctor_release(x_428, 3); + x_491 = x_428; +} else { + lean_dec_ref(x_428); + x_491 = lean_box(0); +} +x_492 = lean_ctor_get(x_430, 0); +lean_inc(x_492); +x_493 = lean_ctor_get(x_430, 1); +lean_inc(x_493); +x_494 = lean_ctor_get(x_430, 2); +lean_inc(x_494); +x_495 = lean_ctor_get(x_430, 3); +lean_inc(x_495); +if (lean_is_exclusive(x_430)) { + lean_ctor_release(x_430, 0); + lean_ctor_release(x_430, 1); + lean_ctor_release(x_430, 2); + lean_ctor_release(x_430, 3); + x_496 = x_430; +} else { + lean_dec_ref(x_430); + x_496 = lean_box(0); +} +if (lean_is_scalar(x_496)) { + x_497 = lean_alloc_ctor(1, 4, 1); +} else { + x_497 = x_496; +} +lean_ctor_set(x_497, 0, x_492); +lean_ctor_set(x_497, 1, x_493); +lean_ctor_set(x_497, 2, x_494); +lean_ctor_set(x_497, 3, x_495); +lean_ctor_set_uint8(x_497, sizeof(void*)*4, x_474); +if (lean_is_scalar(x_491)) { + x_498 = lean_alloc_ctor(1, 4, 1); +} else { + x_498 = x_491; +} +lean_ctor_set(x_498, 0, x_497); +lean_ctor_set(x_498, 1, x_489); +lean_ctor_set(x_498, 2, x_490); +lean_ctor_set(x_498, 3, x_470); +lean_ctor_set_uint8(x_498, sizeof(void*)*4, x_429); +x_499 = 1; +x_500 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_500, 0, x_498); +lean_ctor_set(x_500, 1, x_346); +lean_ctor_set(x_500, 2, x_347); +lean_ctor_set(x_500, 3, x_348); +lean_ctor_set_uint8(x_500, sizeof(void*)*4, x_499); +return x_500; +} +} +} +} +} +else +{ +uint8_t x_501; lean_object* x_502; +x_501 = 1; +x_502 = lean_alloc_ctor(1, 4, 1); +lean_ctor_set(x_502, 0, x_428); +lean_ctor_set(x_502, 1, x_346); +lean_ctor_set(x_502, 2, x_347); +lean_ctor_set(x_502, 3, x_348); +lean_ctor_set_uint8(x_502, sizeof(void*)*4, x_501); +return x_502; +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = l_Lean_RBNode_isRed___rarg(x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_1, x_2, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = l_Lean_RBNode_ins___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__10(x_1, x_2, x_3); +x_7 = l_Lean_RBNode_setBlack___rarg(x_6); +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_4, 0, x_2); +return x_4; +} +else +{ +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_5); +x_6 = lean_ctor_get(x_3, 1); +lean_inc(x_6); +x_7 = lean_ctor_get(x_3, 2); +lean_inc(x_7); +x_8 = lean_ctor_get(x_3, 3); +lean_inc(x_8); +lean_dec(x_3); +x_9 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11(x_1, x_2, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003_(x_7); +lean_dec(x_7); +if (lean_obj_tag(x_14) == 0) +{ +uint8_t x_15; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_6); +x_15 = !lean_is_exclusive(x_14); +if (x_15 == 0) +{ +return x_14; +} +else +{ +lean_object* x_16; lean_object* x_17; +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +x_17 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_17, 0, x_16); +return x_17; +} +} +else +{ +lean_object* x_18; lean_object* x_19; +x_18 = lean_ctor_get(x_14, 0); +lean_inc(x_18); +lean_dec(x_14); +x_19 = l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__9(x_13, x_6, x_18); +x_2 = x_19; +x_3 = x_8; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__12(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_1); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_ctor_get(x_2, 1); +lean_inc(x_5); +x_6 = lean_ctor_get(x_2, 2); +lean_inc(x_6); +x_7 = lean_ctor_get(x_2, 3); +lean_inc(x_7); +lean_dec(x_2); +x_8 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__12(x_1, x_4); +if (lean_obj_tag(x_8) == 0) +{ +uint8_t x_9; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +x_9 = !lean_is_exclusive(x_8); +if (x_9 == 0) +{ +return x_8; +} +else +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_8, 0); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_11, 0, x_10); +return x_11; +} +} +else +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_8, 0); +lean_inc(x_12); +lean_dec(x_8); +x_13 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003_(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_13) == 0) +{ +uint8_t x_14; +lean_dec(x_12); +lean_dec(x_7); +lean_dec(x_5); +x_14 = !lean_is_exclusive(x_13); +if (x_14 == 0) +{ +return x_13; +} +else +{ +lean_object* x_15; lean_object* x_16; +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_16, 0, x_15); +return x_16; +} +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_13, 0); +lean_inc(x_17); +lean_dec(x_13); +x_18 = l_Lean_RBNode_insert___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__9(x_12, x_5, x_17); +x_1 = x_18; +x_2 = x_7; +goto _start; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__8(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = l_Lean_Json_getObj_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_4) == 0) +{ +uint8_t x_5; +x_5 = !lean_is_exclusive(x_4); +if (x_5 == 0) +{ +return x_4; +} +else +{ +lean_object* x_6; lean_object* x_7; +x_6 = lean_ctor_get(x_4, 0); +lean_inc(x_6); +lean_dec(x_4); +x_7 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_7, 0, x_6); +return x_7; +} +} +else +{ +lean_object* x_8; lean_object* x_9; lean_object* x_10; +x_8 = lean_ctor_get(x_4, 0); +lean_inc(x_8); +lean_dec(x_4); +x_9 = lean_box(0); +x_10 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__12(x_9, x_8); +return x_10; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__1; +lean_inc(x_1); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__2; +lean_inc(x_1); +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__6(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__8(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__4(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__7(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_RBNode_foldM___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142____spec__11(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEdit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEdit() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonWorkspaceEdit___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1; +x_3 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +lean_ctor_set(x_3, 2, x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit___closed__1; +return x_1; +} +} +LEAN_EXPORT uint8_t l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; +x_3 = lean_string_dec_lt(x_1, x_2); +if (x_3 == 0) +{ +uint8_t x_4; +x_4 = lean_string_dec_eq(x_1, x_2); +if (x_4 == 0) +{ +uint8_t x_5; +x_5 = 2; +return x_5; +} +else +{ +uint8_t x_6; +x_6 = 1; +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = 0; +return x_7; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Array_append___rarg(x_2, x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_inc(x_3); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__1___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__2___boxed), 3, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__3___boxed), 3, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__1; +x_6 = l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__2; +x_7 = l_Lean_RBNode_fold___at_Lean_RBMap_mergeBy___spec__1___rarg(x_5, x_6, x_3, x_4); +x_8 = lean_ctor_get(x_1, 1); +lean_inc(x_8); +x_9 = lean_ctor_get(x_2, 1); +lean_inc(x_9); +x_10 = l_Array_append___rarg(x_8, x_9); +x_11 = lean_ctor_get(x_1, 2); +lean_inc(x_11); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 2); +lean_inc(x_12); +lean_dec(x_2); +x_13 = l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__3; +x_14 = l_Lean_RBNode_fold___at_Lean_RBMap_mergeBy___spec__1___rarg(x_5, x_13, x_11, x_12); +x_15 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_15, 0, x_7); +lean_ctor_set(x_15, 1, x_10); +lean_ctor_set(x_15, 2, x_14); +return x_15; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__2(x_1, x_2, x_3); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___lambda__3(x_1, x_2, x_3); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEdit_ofTextDocumentEdit(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = lean_box(0); +x_3 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_3, 0, x_1); +x_4 = l_Lean_Lsp_instCoeTextEditTextEditBatch___closed__1; +x_5 = lean_array_push(x_4, x_3); +x_6 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_5); +lean_ctor_set(x_6, 2, x_2); +return x_6; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("languageId", 10); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("text", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_4); +x_5 = lean_ctor_get(x_1, 3); +lean_inc(x_5); +lean_dec(x_1); +x_6 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_6, 0, x_2); +x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_11, 0, x_3); +x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__1; +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +x_15 = l_Lean_JsonNumber_fromNat(x_4); +x_16 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_16, 0, x_15); +x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_16); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_9); +x_20 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_20, 0, x_5); +x_21 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__2; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_9); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_9); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_14); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_10); +lean_ctor_set(x_27, 1, x_26); +x_28 = l_List_join___rarg(x_27); +x_29 = l_Lean_Json_mkObj(x_28); +return x_29; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentItem___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentItem() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonTextDocumentItem___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__1; x_9 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_8); if (lean_obj_tag(x_9) == 0) { @@ -3707,7 +12391,7 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); -x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1; +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1; x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_435____spec__1(x_1, x_14); if (lean_obj_tag(x_15) == 0) { @@ -3736,7 +12420,7 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_ctor_get(x_15, 0); lean_inc(x_19); lean_dec(x_15); -x_20 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__2; +x_20 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__2; x_21 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_20); if (lean_obj_tag(x_21) == 0) { @@ -3797,11 +12481,11 @@ return x_30; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388_(x_1); lean_dec(x_1); return x_2; } @@ -3810,7 +12494,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentItem___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388____boxed), 1, 0); return x_1; } } @@ -3822,7 +12506,7 @@ x_1 = l_Lean_Lsp_instFromJsonTextDocumentItem___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501____closed__1() { _start: { lean_object* x_1; @@ -3830,14 +12514,14 @@ x_1 = lean_mk_string_from_bytes("position", 8); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1; +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -3849,7 +12533,7 @@ x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); lean_dec(x_1); x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPosition____x40_Lean_Data_Lsp_Basic___hyg_395_(x_8); -x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067____closed__1; +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501____closed__1; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -3871,7 +12555,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentPositionParams___clos _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501_), 1, 0); return x_1; } } @@ -3883,22 +12567,22 @@ x_1 = l_Lean_Lsp_instToJsonTextDocumentPositionParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1588_(x_3); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1660_(x_3); lean_dec(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -3924,7 +12608,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067____closed__1; +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501____closed__1; x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { @@ -3977,21 +12661,21 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541_(x_1); lean_dec(x_1); return x_2; } @@ -4000,7 +12684,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentPositionParams___cl _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____boxed), 1, 0); return x_1; } } @@ -4074,35 +12758,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -x_5 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_5, 0, x_4); -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_box(0); -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} -} -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__1() { _start: { lean_object* x_1; @@ -4110,7 +12766,7 @@ x_1 = lean_mk_string_from_bytes("language", 8); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__2() { _start: { lean_object* x_1; @@ -4118,7 +12774,7 @@ x_1 = lean_mk_string_from_bytes("scheme", 6); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__3() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__3() { _start: { lean_object* x_1; @@ -4126,19 +12782,19 @@ x_1 = lean_mk_string_from_bytes("pattern", 7); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__1; -x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_3, x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_3, x_2); x_5 = lean_ctor_get(x_1, 1); -x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__2; -x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_6, x_5); +x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_6, x_5); x_8 = lean_ctor_get(x_1, 2); -x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__3; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_9, x_8); +x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__3; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_9, x_8); x_11 = lean_box(0); x_12 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_12, 0, x_10); @@ -4154,20 +12810,11 @@ x_16 = l_Lean_Json_mkObj(x_15); return x_16; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668_(x_1); lean_dec(x_1); return x_2; } @@ -4176,7 +12823,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonDocumentFilter___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____boxed), 1, 0); return x_1; } } @@ -4188,76 +12835,12 @@ x_1 = l_Lean_Lsp_instToJsonDocumentFilter___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValD(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1___closed__1; -return x_4; -} -else -{ -lean_object* x_5; -x_5 = l_Lean_Json_getStr_x3f(x_3); -lean_dec(x_3); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -return x_5; -} -else -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_7); -return x_8; -} -} -else -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_5, 0); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_5, 0); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3698_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -4283,8 +12866,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -4311,8 +12894,8 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); -x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__3; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_14); +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_14); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -4368,21 +12951,11 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3698____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3698_(x_1); lean_dec(x_1); return x_2; } @@ -4391,7 +12964,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonDocumentFilter___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3698____boxed), 1, 0); return x_1; } } @@ -4421,7 +12994,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_array_uget(x_3, x_2); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264_(x_6); +x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3698_(x_6); lean_dec(x_6); if (lean_obj_tag(x_9) == 0) { @@ -4518,7 +13091,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234_(x_5); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668_(x_5); lean_dec(x_5); x_9 = 1; x_10 = lean_usize_add(x_2, x_9); @@ -4563,12 +13136,12 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2377_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3811_(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; x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__1; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_2, x_1); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_2, x_1); x_4 = lean_box(0); x_5 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_5, 0, x_3); @@ -4578,11 +13151,11 @@ x_7 = l_Lean_Json_mkObj(x_6); return x_7; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2377____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3811____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2377_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3811_(x_1); lean_dec(x_1); return x_2; } @@ -4591,7 +13164,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonStaticRegistrationOptions___close _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2377____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3811____boxed), 1, 0); return x_1; } } @@ -4603,12 +13176,12 @@ x_1 = l_Lean_Lsp_instToJsonStaticRegistrationOptions___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2399_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3833_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCancelParams____x40_Lean_Data_Lsp_Basic___hyg_87____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -4649,11 +13222,11 @@ return x_9; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2399____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3833____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2399_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3833_(x_1); lean_dec(x_1); return x_2; } @@ -4662,7 +13235,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonStaticRegistrationOptions___clo _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2399____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonStaticRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3833____boxed), 1, 0); return x_1; } } @@ -4682,7 +13255,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -4716,7 +13289,7 @@ return x_12; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____closed__1() { _start: { lean_object* x_1; @@ -4724,12 +13297,12 @@ x_1 = lean_mk_string_from_bytes("documentSelector", 16); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886_(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; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____closed__1; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____spec__1(x_2, x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____closed__1; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____spec__1(x_2, x_1); x_4 = lean_box(0); x_5 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_5, 0, x_3); @@ -4743,7 +13316,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886_), 1, 0); return x_1; } } @@ -4755,7 +13328,7 @@ x_1 = l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -4841,12 +13414,12 @@ return x_25; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -4887,21 +13460,21 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908_(x_1); lean_dec(x_1); return x_2; } @@ -4910,7 +13483,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentRegistrationOptions _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____boxed), 1, 0); return x_1; } } @@ -5155,7 +13728,7 @@ x_3 = l_Lean_Lsp_instToJsonMarkupKind(x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1() { _start: { lean_object* x_1; @@ -5163,19 +13736,11 @@ x_1 = lean_mk_string_from_bytes("value", 5); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("kind", 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__3() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2; +x_1 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; x_2 = l_Lean_Lsp_instToJsonMarkupKind___closed__1; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5183,23 +13748,23 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__4() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__2; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__5() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2; +x_1 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; x_2 = l_Lean_Lsp_instToJsonMarkupKind___closed__2; x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5207,19 +13772,19 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__6() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__5; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__4; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035_(lean_object* x_1) { _start: { uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; @@ -5229,7 +13794,7 @@ x_4 = lean_ctor_get(x_1, 0); lean_inc(x_4); x_5 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_5, 0, x_4); -x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1; +x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -5242,7 +13807,7 @@ lean_ctor_set(x_9, 1, x_3); if (x_2 == 0) { lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; -x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__4; +x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__3; x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -5253,7 +13818,7 @@ return x_13; else { lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__6; +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__5; x_15 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_9); @@ -5263,11 +13828,11 @@ return x_17; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035_(x_1); lean_dec(x_1); return x_2; } @@ -5276,7 +13841,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonMarkupContent___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____boxed), 1, 0); return x_1; } } @@ -5288,7 +13853,7 @@ x_1 = l_Lean_Lsp_instToJsonMarkupContent___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -5337,12 +13902,12 @@ return x_12; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____spec__1(x_1, x_2); +x_2 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -5368,7 +13933,7 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1; +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1; x_9 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_8); if (lean_obj_tag(x_9) == 0) { @@ -5425,21 +13990,21 @@ return x_20; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075_(x_1); lean_dec(x_1); return x_2; } @@ -5448,7 +14013,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonMarkupContent___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075____boxed), 1, 0); return x_1; } } @@ -5460,7 +14025,7 @@ x_1 = l_Lean_Lsp_instFromJsonMarkupContent___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg___closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg___closed__1() { _start: { lean_object* x_1; @@ -5468,7 +14033,7 @@ x_1 = lean_mk_string_from_bytes("token", 5); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; @@ -5479,7 +14044,7 @@ lean_inc(x_4); lean_dec(x_2); x_5 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_5, 0, x_3); -x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg___closed__1; +x_6 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg___closed__1; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -5488,7 +14053,7 @@ x_9 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); x_10 = lean_apply_1(x_1, x_4); -x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1; +x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1; x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_11); lean_ctor_set(x_12, 1, x_10); @@ -5506,11 +14071,11 @@ x_17 = l_Lean_Json_mkObj(x_16); return x_17; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg), 2, 0); return x_2; } } @@ -5518,7 +14083,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonProgressParams___rarg(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -5571,7 +14136,7 @@ x_1 = lean_box(0); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1() { _start: { lean_object* x_1; @@ -5579,7 +14144,7 @@ x_1 = lean_mk_string_from_bytes("message", 7); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__2() { _start: { lean_object* x_1; @@ -5587,7 +14152,7 @@ x_1 = lean_mk_string_from_bytes("cancellable", 11); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__3() { +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__3() { _start: { lean_object* x_1; @@ -5595,7 +14160,7 @@ x_1 = lean_mk_string_from_bytes("percentage", 10); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; 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; @@ -5609,7 +14174,7 @@ lean_inc(x_5); lean_dec(x_1); x_6 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_6, 0, x_2); -x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2; +x_7 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; x_8 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_8, 0, x_7); lean_ctor_set(x_8, 1, x_6); @@ -5617,20 +14182,20 @@ x_9 = lean_box(0); x_10 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_10, 0, x_8); lean_ctor_set(x_10, 1, x_9); -x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1; -x_12 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_11, x_3); +x_11 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1; +x_12 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_11, x_3); lean_dec(x_3); x_13 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_13, 0, x_4); -x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__2; +x_14 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__2; x_15 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_15, 0, x_14); lean_ctor_set(x_15, 1, x_13); x_16 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_9); -x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__3; -x_18 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____spec__1(x_17, x_5); +x_17 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__3; +x_18 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____spec__1(x_17, x_5); x_19 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_19, 0, x_18); lean_ctor_set(x_19, 1, x_9); @@ -5652,7 +14217,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__ _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250_), 1, 0); return x_1; } } @@ -5680,7 +14245,7 @@ x_1 = l_Lean_Lsp_WorkDoneProgressBegin_kind___default___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2881_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_4318_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; @@ -5696,7 +14261,7 @@ lean_inc(x_6); lean_dec(x_2); x_7 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_7, 0, x_3); -x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2; +x_8 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; x_9 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_9, 0, x_8); lean_ctor_set(x_9, 1, x_7); @@ -5704,20 +14269,20 @@ x_10 = lean_box(0); x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); -x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1; -x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_12, x_4); +x_12 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1; +x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_12, x_4); lean_dec(x_4); x_14 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_14, 0, x_5); -x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__2; +x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__2; x_16 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_16, 0, x_15); lean_ctor_set(x_16, 1, x_14); x_17 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_10); -x_18 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__3; -x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____spec__1(x_18, x_6); +x_18 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__3; +x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____spec__1(x_18, x_6); x_20 = lean_ctor_get(x_1, 1); lean_inc(x_20); lean_dec(x_1); @@ -5754,7 +14319,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressBegin___closed__1 _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_2881_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressBegin____x40_Lean_Data_Lsp_Basic___hyg_4318_), 1, 0); return x_1; } } @@ -5782,7 +14347,7 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2961_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_4398_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -5791,7 +14356,7 @@ x_3 = lean_ctor_get(x_1, 1); lean_inc(x_2); x_4 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_4, 0, x_2); -x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2; +x_5 = l_Lean_Lsp_instToJsonDocumentChange___closed__3; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_5); lean_ctor_set(x_6, 1, x_4); @@ -5799,8 +14364,8 @@ x_7 = lean_box(0); x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); -x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_9, x_3); +x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_9, x_3); x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -5812,11 +14377,11 @@ x_14 = l_Lean_Json_mkObj(x_13); return x_14; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2961____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_4398____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2961_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_4398_(x_1); lean_dec(x_1); return x_2; } @@ -5825,7 +14390,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressEnd___closed__1() _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_2961____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressEnd____x40_Lean_Data_Lsp_Basic___hyg_4398____boxed), 1, 0); return x_1; } } @@ -5837,6 +14402,506 @@ x_1 = l_Lean_Lsp_instToJsonWorkDoneProgressEnd___closed__1; return x_1; } } +static lean_object* _init_l_Lean_Lsp_WorkDoneProgressParams_workDoneToken_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_5, 0, x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("workDoneToken", 13); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444_(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; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____closed__1; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(x_2, x_1); +x_4 = lean_box(0); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = l_List_join___rarg(x_5); +x_7 = l_Lean_Json_mkObj(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressParams() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonWorkDoneProgressParams___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getStr_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkDoneProgressParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkDoneProgressParams() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonWorkDoneProgressParams___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_PartialResultParams_partialResultToken_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("partialResultToken", 18); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519_(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; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____closed__1; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(x_2, x_1); +x_4 = lean_box(0); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = l_List_join___rarg(x_5); +x_7 = l_Lean_Json_mkObj(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonPartialResultParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonPartialResultParams() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonPartialResultParams___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4541_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4541____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4541_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonPartialResultParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4541____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonPartialResultParams() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonPartialResultParams___closed__1; +return x_1; +} +} +static uint8_t _init_l_Lean_Lsp_WorkDoneProgressOptions_workDoneProgress___default() { +_start: +{ +uint8_t x_1; +x_1 = 0; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("workDoneProgress", 16); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592_(uint8_t x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592_(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkDoneProgressOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonWorkDoneProgressOptions___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4621_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4621____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4621_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkDoneProgressOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4621____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkDoneProgressOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonWorkDoneProgressOptions___closed__1; +return x_1; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Json(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_JsonRpc(uint8_t builtin, lean_object*); @@ -6012,8 +15077,12 @@ l_Lean_Lsp_instFromJsonCommand___closed__1 = _init_l_Lean_Lsp_instFromJsonComman lean_mark_persistent(l_Lean_Lsp_instFromJsonCommand___closed__1); l_Lean_Lsp_instFromJsonCommand = _init_l_Lean_Lsp_instFromJsonCommand(); lean_mark_persistent(l_Lean_Lsp_instFromJsonCommand); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1426____closed__1); +l_Lean_Lsp_TextEdit_annotationId_x3f___default = _init_l_Lean_Lsp_TextEdit_annotationId_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_TextEdit_annotationId_x3f___default); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____closed__2); l_Lean_Lsp_instToJsonTextEdit___closed__1 = _init_l_Lean_Lsp_instToJsonTextEdit___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextEdit___closed__1); l_Lean_Lsp_instToJsonTextEdit = _init_l_Lean_Lsp_instToJsonTextEdit(); @@ -6022,6 +15091,16 @@ l_Lean_Lsp_instFromJsonTextEdit___closed__1 = _init_l_Lean_Lsp_instFromJsonTextE lean_mark_persistent(l_Lean_Lsp_instFromJsonTextEdit___closed__1); l_Lean_Lsp_instFromJsonTextEdit = _init_l_Lean_Lsp_instFromJsonTextEdit(); lean_mark_persistent(l_Lean_Lsp_instFromJsonTextEdit); +l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1 = _init_l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instEmptyCollectionTextEditBatch___closed__1); +l_Lean_Lsp_instEmptyCollectionTextEditBatch = _init_l_Lean_Lsp_instEmptyCollectionTextEditBatch(); +lean_mark_persistent(l_Lean_Lsp_instEmptyCollectionTextEditBatch); +l_Lean_Lsp_instAppendTextEditBatch___closed__1 = _init_l_Lean_Lsp_instAppendTextEditBatch___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instAppendTextEditBatch___closed__1); +l_Lean_Lsp_instAppendTextEditBatch = _init_l_Lean_Lsp_instAppendTextEditBatch(); +lean_mark_persistent(l_Lean_Lsp_instAppendTextEditBatch); +l_Lean_Lsp_instCoeTextEditTextEditBatch___closed__1 = _init_l_Lean_Lsp_instCoeTextEditTextEditBatch___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instCoeTextEditTextEditBatch___closed__1); l_Lean_Lsp_instToJsonTextDocumentIdentifier___closed__1 = _init_l_Lean_Lsp_instToJsonTextDocumentIdentifier___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentIdentifier___closed__1); l_Lean_Lsp_instToJsonTextDocumentIdentifier = _init_l_Lean_Lsp_instToJsonTextDocumentIdentifier(); @@ -6032,8 +15111,8 @@ l_Lean_Lsp_instFromJsonTextDocumentIdentifier = _init_l_Lean_Lsp_instFromJsonTex lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentIdentifier); l_Lean_Lsp_VersionedTextDocumentIdentifier_version_x3f___default = _init_l_Lean_Lsp_VersionedTextDocumentIdentifier_version_x3f___default(); lean_mark_persistent(l_Lean_Lsp_VersionedTextDocumentIdentifier_version_x3f___default); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____closed__1); l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier___closed__1 = _init_l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier___closed__1); l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier = _init_l_Lean_Lsp_instToJsonVersionedTextDocumentIdentifier(); @@ -6042,10 +15121,10 @@ l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier___closed__1 = _init_l_Lea lean_mark_persistent(l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier___closed__1); l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier = _init_l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier(); lean_mark_persistent(l_Lean_Lsp_instFromJsonVersionedTextDocumentIdentifier); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__1); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1759____closed__2); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1831____closed__2); l_Lean_Lsp_instToJsonTextDocumentEdit___closed__1 = _init_l_Lean_Lsp_instToJsonTextDocumentEdit___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentEdit___closed__1); l_Lean_Lsp_instToJsonTextDocumentEdit = _init_l_Lean_Lsp_instToJsonTextDocumentEdit(); @@ -6054,10 +15133,141 @@ l_Lean_Lsp_instFromJsonTextDocumentEdit___closed__1 = _init_l_Lean_Lsp_instFromJ lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentEdit___closed__1); l_Lean_Lsp_instFromJsonTextDocumentEdit = _init_l_Lean_Lsp_instFromJsonTextDocumentEdit(); lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentEdit); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__1); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892____closed__2); +l_Lean_Lsp_ChangeAnnotation_needsConfirmation___default = _init_l_Lean_Lsp_ChangeAnnotation_needsConfirmation___default(); +l_Lean_Lsp_ChangeAnnotation_description_x3f___default = _init_l_Lean_Lsp_ChangeAnnotation_description_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_ChangeAnnotation_description_x3f___default); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__2); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_1959____closed__3); +l_Lean_Lsp_instToJsonChangeAnnotation___closed__1 = _init_l_Lean_Lsp_instToJsonChangeAnnotation___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonChangeAnnotation___closed__1); +l_Lean_Lsp_instToJsonChangeAnnotation = _init_l_Lean_Lsp_instToJsonChangeAnnotation(); +lean_mark_persistent(l_Lean_Lsp_instToJsonChangeAnnotation); +l_Lean_Lsp_instFromJsonChangeAnnotation___closed__1 = _init_l_Lean_Lsp_instFromJsonChangeAnnotation___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotation___closed__1); +l_Lean_Lsp_instFromJsonChangeAnnotation = _init_l_Lean_Lsp_instFromJsonChangeAnnotation(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotation); +l_Lean_Lsp_CreateFile_Options_overwrite___default = _init_l_Lean_Lsp_CreateFile_Options_overwrite___default(); +l_Lean_Lsp_CreateFile_Options_ignoreIfExists___default = _init_l_Lean_Lsp_CreateFile_Options_ignoreIfExists___default(); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_CreateFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2103____closed__2); +l_Lean_Lsp_CreateFile_instToJsonOptions___closed__1 = _init_l_Lean_Lsp_CreateFile_instToJsonOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_CreateFile_instToJsonOptions___closed__1); +l_Lean_Lsp_CreateFile_instToJsonOptions = _init_l_Lean_Lsp_CreateFile_instToJsonOptions(); +lean_mark_persistent(l_Lean_Lsp_CreateFile_instToJsonOptions); +l_Lean_Lsp_CreateFile_instFromJsonOptions___closed__1 = _init_l_Lean_Lsp_CreateFile_instFromJsonOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_CreateFile_instFromJsonOptions___closed__1); +l_Lean_Lsp_CreateFile_instFromJsonOptions = _init_l_Lean_Lsp_CreateFile_instFromJsonOptions(); +lean_mark_persistent(l_Lean_Lsp_CreateFile_instFromJsonOptions); +l_Lean_Lsp_DeleteFile_Options_recursive___default = _init_l_Lean_Lsp_DeleteFile_Options_recursive___default(); +l_Lean_Lsp_DeleteFile_Options_ignoreIfNotExists___default = _init_l_Lean_Lsp_DeleteFile_Options_ignoreIfNotExists___default(); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_DeleteFile_toJsonOptions____x40_Lean_Data_Lsp_Basic___hyg_2225____closed__2); +l_Lean_Lsp_DeleteFile_instToJsonOptions___closed__1 = _init_l_Lean_Lsp_DeleteFile_instToJsonOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_DeleteFile_instToJsonOptions___closed__1); +l_Lean_Lsp_DeleteFile_instToJsonOptions = _init_l_Lean_Lsp_DeleteFile_instToJsonOptions(); +lean_mark_persistent(l_Lean_Lsp_DeleteFile_instToJsonOptions); +l_Lean_Lsp_DeleteFile_instFromJsonOptions___closed__1 = _init_l_Lean_Lsp_DeleteFile_instFromJsonOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_DeleteFile_instFromJsonOptions___closed__1); +l_Lean_Lsp_DeleteFile_instFromJsonOptions = _init_l_Lean_Lsp_DeleteFile_instFromJsonOptions(); +lean_mark_persistent(l_Lean_Lsp_DeleteFile_instFromJsonOptions); +l_Lean_Lsp_CreateFile_options_x3f___default = _init_l_Lean_Lsp_CreateFile_options_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CreateFile_options_x3f___default); +l_Lean_Lsp_CreateFile_annotationId_x3f___default = _init_l_Lean_Lsp_CreateFile_annotationId_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CreateFile_annotationId_x3f___default); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCreateFile____x40_Lean_Data_Lsp_Basic___hyg_2355____closed__1); +l_Lean_Lsp_instToJsonCreateFile___closed__1 = _init_l_Lean_Lsp_instToJsonCreateFile___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCreateFile___closed__1); +l_Lean_Lsp_instToJsonCreateFile = _init_l_Lean_Lsp_instToJsonCreateFile(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCreateFile); +l_Lean_Lsp_instFromJsonCreateFile___closed__1 = _init_l_Lean_Lsp_instFromJsonCreateFile___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCreateFile___closed__1); +l_Lean_Lsp_instFromJsonCreateFile = _init_l_Lean_Lsp_instFromJsonCreateFile(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCreateFile); +l_Lean_Lsp_RenameFile_options_x3f___default = _init_l_Lean_Lsp_RenameFile_options_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_RenameFile_options_x3f___default); +l_Lean_Lsp_RenameFile_annotationId_x3f___default = _init_l_Lean_Lsp_RenameFile_annotationId_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_RenameFile_annotationId_x3f___default); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRenameFile____x40_Lean_Data_Lsp_Basic___hyg_2507____closed__2); +l_Lean_Lsp_instToJsonRenameFile___closed__1 = _init_l_Lean_Lsp_instToJsonRenameFile___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonRenameFile___closed__1); +l_Lean_Lsp_instToJsonRenameFile = _init_l_Lean_Lsp_instToJsonRenameFile(); +lean_mark_persistent(l_Lean_Lsp_instToJsonRenameFile); +l_Lean_Lsp_instFromJsonRenameFile___closed__1 = _init_l_Lean_Lsp_instFromJsonRenameFile___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRenameFile___closed__1); +l_Lean_Lsp_instFromJsonRenameFile = _init_l_Lean_Lsp_instFromJsonRenameFile(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonRenameFile); +l_Lean_Lsp_DeleteFile_options_x3f___default = _init_l_Lean_Lsp_DeleteFile_options_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_DeleteFile_options_x3f___default); +l_Lean_Lsp_DeleteFile_annotationId_x3f___default = _init_l_Lean_Lsp_DeleteFile_annotationId_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_DeleteFile_annotationId_x3f___default); +l_Lean_Lsp_instToJsonDeleteFile___closed__1 = _init_l_Lean_Lsp_instToJsonDeleteFile___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDeleteFile___closed__1); +l_Lean_Lsp_instToJsonDeleteFile = _init_l_Lean_Lsp_instToJsonDeleteFile(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDeleteFile); +l_Lean_Lsp_instFromJsonDeleteFile___closed__1 = _init_l_Lean_Lsp_instFromJsonDeleteFile___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonDeleteFile___closed__1); +l_Lean_Lsp_instFromJsonDeleteFile = _init_l_Lean_Lsp_instFromJsonDeleteFile(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonDeleteFile); +l_Lean_Lsp_instToJsonDocumentChange___closed__1 = _init_l_Lean_Lsp_instToJsonDocumentChange___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentChange___closed__1); +l_Lean_Lsp_instToJsonDocumentChange___closed__2 = _init_l_Lean_Lsp_instToJsonDocumentChange___closed__2(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentChange___closed__2); +l_Lean_Lsp_instToJsonDocumentChange___closed__3 = _init_l_Lean_Lsp_instToJsonDocumentChange___closed__3(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentChange___closed__3); +l_Lean_Lsp_instToJsonDocumentChange___closed__4 = _init_l_Lean_Lsp_instToJsonDocumentChange___closed__4(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentChange___closed__4); +l_Lean_Lsp_instToJsonDocumentChange___closed__5 = _init_l_Lean_Lsp_instToJsonDocumentChange___closed__5(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentChange___closed__5); +l_Lean_Lsp_instToJsonDocumentChange___closed__6 = _init_l_Lean_Lsp_instToJsonDocumentChange___closed__6(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentChange___closed__6); +l_Lean_Lsp_instToJsonDocumentChange___closed__7 = _init_l_Lean_Lsp_instToJsonDocumentChange___closed__7(); +lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentChange___closed__7); +l_Lean_Lsp_WorkspaceEdit_changes___default = _init_l_Lean_Lsp_WorkspaceEdit_changes___default(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_changes___default); +l_Lean_Lsp_WorkspaceEdit_documentChanges___default = _init_l_Lean_Lsp_WorkspaceEdit_documentChanges___default(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_documentChanges___default); +l_Lean_Lsp_WorkspaceEdit_changeAnnotations___default = _init_l_Lean_Lsp_WorkspaceEdit_changeAnnotations___default(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_changeAnnotations___default); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__2); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091____closed__3); +l_Lean_Lsp_instToJsonWorkspaceEdit___closed__1 = _init_l_Lean_Lsp_instToJsonWorkspaceEdit___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEdit___closed__1); +l_Lean_Lsp_instToJsonWorkspaceEdit = _init_l_Lean_Lsp_instToJsonWorkspaceEdit(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEdit); +l_Lean_Lsp_instFromJsonWorkspaceEdit___closed__1 = _init_l_Lean_Lsp_instFromJsonWorkspaceEdit___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEdit___closed__1); +l_Lean_Lsp_instFromJsonWorkspaceEdit = _init_l_Lean_Lsp_instFromJsonWorkspaceEdit(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEdit); +l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit___closed__1 = _init_l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit___closed__1(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit___closed__1); +l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit = _init_l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_instEmptyCollectionWorkspaceEdit); +l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__1 = _init_l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__1(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__1); +l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__2 = _init_l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__2(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__2); +l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__3 = _init_l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__3(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEdit_instAppendWorkspaceEdit___closed__3); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326____closed__2); l_Lean_Lsp_instToJsonTextDocumentItem___closed__1 = _init_l_Lean_Lsp_instToJsonTextDocumentItem___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentItem___closed__1); l_Lean_Lsp_instToJsonTextDocumentItem = _init_l_Lean_Lsp_instToJsonTextDocumentItem(); @@ -6066,8 +15276,8 @@ l_Lean_Lsp_instFromJsonTextDocumentItem___closed__1 = _init_l_Lean_Lsp_instFromJ lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentItem___closed__1); l_Lean_Lsp_instFromJsonTextDocumentItem = _init_l_Lean_Lsp_instFromJsonTextDocumentItem(); lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentItem); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2067____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3501____closed__1); l_Lean_Lsp_instToJsonTextDocumentPositionParams___closed__1 = _init_l_Lean_Lsp_instToJsonTextDocumentPositionParams___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentPositionParams___closed__1); l_Lean_Lsp_instToJsonTextDocumentPositionParams = _init_l_Lean_Lsp_instToJsonTextDocumentPositionParams(); @@ -6084,12 +15294,12 @@ l_Lean_Lsp_DocumentFilter_scheme_x3f___default = _init_l_Lean_Lsp_DocumentFilter lean_mark_persistent(l_Lean_Lsp_DocumentFilter_scheme_x3f___default); l_Lean_Lsp_DocumentFilter_pattern_x3f___default = _init_l_Lean_Lsp_DocumentFilter_pattern_x3f___default(); lean_mark_persistent(l_Lean_Lsp_DocumentFilter_pattern_x3f___default); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__1); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__2); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__3(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____closed__3); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__2); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_3668____closed__3); l_Lean_Lsp_instToJsonDocumentFilter___closed__1 = _init_l_Lean_Lsp_instToJsonDocumentFilter___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonDocumentFilter___closed__1); l_Lean_Lsp_instToJsonDocumentFilter = _init_l_Lean_Lsp_instToJsonDocumentFilter(); @@ -6110,8 +15320,8 @@ l_Lean_Lsp_instFromJsonStaticRegistrationOptions = _init_l_Lean_Lsp_instFromJson lean_mark_persistent(l_Lean_Lsp_instFromJsonStaticRegistrationOptions); l_Lean_Lsp_TextDocumentRegistrationOptions_documentSelector_x3f___default = _init_l_Lean_Lsp_TextDocumentRegistrationOptions_documentSelector_x3f___default(); lean_mark_persistent(l_Lean_Lsp_TextDocumentRegistrationOptions_documentSelector_x3f___default); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2452____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3886____closed__1); l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions___closed__1 = _init_l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions___closed__1); l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions = _init_l_Lean_Lsp_instToJsonTextDocumentRegistrationOptions(); @@ -6138,18 +15348,16 @@ l_Lean_Lsp_instToJsonMarkupKind___closed__1 = _init_l_Lean_Lsp_instToJsonMarkupK lean_mark_persistent(l_Lean_Lsp_instToJsonMarkupKind___closed__1); l_Lean_Lsp_instToJsonMarkupKind___closed__2 = _init_l_Lean_Lsp_instToJsonMarkupKind___closed__2(); lean_mark_persistent(l_Lean_Lsp_instToJsonMarkupKind___closed__2); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__1); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__2); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__3(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__3); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__4 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__4(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__4); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__5 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__5(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__5); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__6 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__6(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601____closed__6); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__2); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__3); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__4 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__4(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__4); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__5 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__5(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035____closed__5); l_Lean_Lsp_instToJsonMarkupContent___closed__1 = _init_l_Lean_Lsp_instToJsonMarkupContent___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonMarkupContent___closed__1); l_Lean_Lsp_instToJsonMarkupContent = _init_l_Lean_Lsp_instToJsonMarkupContent(); @@ -6158,8 +15366,8 @@ l_Lean_Lsp_instFromJsonMarkupContent___closed__1 = _init_l_Lean_Lsp_instFromJson lean_mark_persistent(l_Lean_Lsp_instFromJsonMarkupContent___closed__1); l_Lean_Lsp_instFromJsonMarkupContent = _init_l_Lean_Lsp_instFromJsonMarkupContent(); lean_mark_persistent(l_Lean_Lsp_instFromJsonMarkupContent); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg___closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_2722____rarg___closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg___closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4159____rarg___closed__1); l_Lean_Lsp_WorkDoneProgressReport_kind___default___closed__1 = _init_l_Lean_Lsp_WorkDoneProgressReport_kind___default___closed__1(); lean_mark_persistent(l_Lean_Lsp_WorkDoneProgressReport_kind___default___closed__1); l_Lean_Lsp_WorkDoneProgressReport_kind___default = _init_l_Lean_Lsp_WorkDoneProgressReport_kind___default(); @@ -6169,12 +15377,12 @@ lean_mark_persistent(l_Lean_Lsp_WorkDoneProgressReport_message_x3f___default); l_Lean_Lsp_WorkDoneProgressReport_cancellable___default = _init_l_Lean_Lsp_WorkDoneProgressReport_cancellable___default(); l_Lean_Lsp_WorkDoneProgressReport_percentage_x3f___default = _init_l_Lean_Lsp_WorkDoneProgressReport_percentage_x3f___default(); lean_mark_persistent(l_Lean_Lsp_WorkDoneProgressReport_percentage_x3f___default); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__1); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__2); -l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__3(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_2813____closed__3); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__1); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__2 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__2); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__3 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressReport____x40_Lean_Data_Lsp_Basic___hyg_4250____closed__3); l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__1 = _init_l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressReport___closed__1); l_Lean_Lsp_instToJsonWorkDoneProgressReport = _init_l_Lean_Lsp_instToJsonWorkDoneProgressReport(); @@ -6195,6 +15403,41 @@ l_Lean_Lsp_instToJsonWorkDoneProgressEnd___closed__1 = _init_l_Lean_Lsp_instToJs lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressEnd___closed__1); l_Lean_Lsp_instToJsonWorkDoneProgressEnd = _init_l_Lean_Lsp_instToJsonWorkDoneProgressEnd(); lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressEnd); +l_Lean_Lsp_WorkDoneProgressParams_workDoneToken_x3f___default = _init_l_Lean_Lsp_WorkDoneProgressParams_workDoneToken_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_WorkDoneProgressParams_workDoneToken_x3f___default); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____closed__1); +l_Lean_Lsp_instToJsonWorkDoneProgressParams___closed__1 = _init_l_Lean_Lsp_instToJsonWorkDoneProgressParams___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressParams___closed__1); +l_Lean_Lsp_instToJsonWorkDoneProgressParams = _init_l_Lean_Lsp_instToJsonWorkDoneProgressParams(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressParams); +l_Lean_Lsp_instFromJsonWorkDoneProgressParams___closed__1 = _init_l_Lean_Lsp_instFromJsonWorkDoneProgressParams___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkDoneProgressParams___closed__1); +l_Lean_Lsp_instFromJsonWorkDoneProgressParams = _init_l_Lean_Lsp_instFromJsonWorkDoneProgressParams(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkDoneProgressParams); +l_Lean_Lsp_PartialResultParams_partialResultToken_x3f___default = _init_l_Lean_Lsp_PartialResultParams_partialResultToken_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_PartialResultParams_partialResultToken_x3f___default); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonPartialResultParams____x40_Lean_Data_Lsp_Basic___hyg_4519____closed__1); +l_Lean_Lsp_instToJsonPartialResultParams___closed__1 = _init_l_Lean_Lsp_instToJsonPartialResultParams___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonPartialResultParams___closed__1); +l_Lean_Lsp_instToJsonPartialResultParams = _init_l_Lean_Lsp_instToJsonPartialResultParams(); +lean_mark_persistent(l_Lean_Lsp_instToJsonPartialResultParams); +l_Lean_Lsp_instFromJsonPartialResultParams___closed__1 = _init_l_Lean_Lsp_instFromJsonPartialResultParams___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonPartialResultParams___closed__1); +l_Lean_Lsp_instFromJsonPartialResultParams = _init_l_Lean_Lsp_instFromJsonPartialResultParams(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonPartialResultParams); +l_Lean_Lsp_WorkDoneProgressOptions_workDoneProgress___default = _init_l_Lean_Lsp_WorkDoneProgressOptions_workDoneProgress___default(); +l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____closed__1 = _init_l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressOptions____x40_Lean_Data_Lsp_Basic___hyg_4592____closed__1); +l_Lean_Lsp_instToJsonWorkDoneProgressOptions___closed__1 = _init_l_Lean_Lsp_instToJsonWorkDoneProgressOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressOptions___closed__1); +l_Lean_Lsp_instToJsonWorkDoneProgressOptions = _init_l_Lean_Lsp_instToJsonWorkDoneProgressOptions(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkDoneProgressOptions); +l_Lean_Lsp_instFromJsonWorkDoneProgressOptions___closed__1 = _init_l_Lean_Lsp_instFromJsonWorkDoneProgressOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkDoneProgressOptions___closed__1); +l_Lean_Lsp_instFromJsonWorkDoneProgressOptions = _init_l_Lean_Lsp_instFromJsonWorkDoneProgressOptions(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkDoneProgressOptions); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c index 7e34f4c5f8..3849dc2492 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Capabilities.c +++ b/stage0/stdlib/Lean/Data/Lsp/Capabilities.c @@ -1,6 +1,6 @@ // Lean compiler output // Module: Lean.Data.Lsp.Capabilities -// Imports: Init Lean.Data.JsonRpc Lean.Data.Lsp.TextSync Lean.Data.Lsp.LanguageFeatures +// Imports: Init Lean.Data.JsonRpc Lean.Data.Lsp.TextSync Lean.Data.Lsp.LanguageFeatures Lean.Data.Lsp.CodeActions #include #if defined(__clang__) #pragma clang diagnostic ignored "-Wunused-parameter" @@ -14,138 +14,194 @@ extern "C" { #endif LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_94____spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_declarationProvider___default; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__1; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__3(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_documentSymbolProvider___default; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__8; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242_(uint8_t); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__2; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__2; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274_(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_94_(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____closed__1; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_ServerCapabilities_semanticTokensProvider_x3f___default; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__9; +lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449_(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__1; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__4; +static lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__1; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__12; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerCapabilities; static lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5454_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_workspaceSymbolProvider___default; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_hoverProvider___default; lean_object* l_List_join___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_typeDefinitionProvider___default; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__5; LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_documentHighlightProvider___default; -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____closed__1; +static lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____boxed(lean_object*); +lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionClientCapabilities; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__3___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__5; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_119_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559_(lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5378_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__3; static lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__2___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__2; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__7; LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_referencesProvider___default; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__3; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_WindowClientCapabilities_showDocument_x3f___default; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonClientCapabilities; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_119____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____boxed(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceClientCapabilities_workspaceEdit_x3f___default; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_453_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonClientCapabilities; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__6; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_303____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__10; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerCapabilities; static lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionClientCapabilities_completionItem_x3f___default; static lean_object* l_Lean_Lsp_instToJsonServerCapabilities___closed__1; +lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_TextDocumentClientCapabilities_completion_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEditClientCapabilities_resourceOperations_x3f___default; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonChangeAnnotationSupport; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__1; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__13; LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_definitionProvider___default; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_ServerCapabilities_foldingRangeProvider___default; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemCapabilities; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWindowClientCapabilities; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWindowClientCapabilities; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_271_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEditClientCapabilities_changeAnnotationSupport_x3f___default; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_303_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____boxed(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__10; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentClientCapabilities; LEAN_EXPORT lean_object* l_Lean_Lsp_ServerCapabilities_textDocumentSync_x3f___default; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431_(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonServerCapabilities___closed__1; lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43_(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__2___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780_(lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__6; +static lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378_(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonShowDocumentClientCapabilities; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__3; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_94____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_94____closed__1; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__7; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_271____boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_window_x3f___default; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_TextDocumentClientCapabilities_codeAction_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCompletionItemCapabilities; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__11; -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__11; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_WorkspaceEditClientCapabilities_documentChanges_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_ClientCapabilities_workspace_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonClientCapabilities___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____boxed(lean_object*); -lean_object* l_Lean_Json_getBool_x3f(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____boxed(lean_object*); lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_809_(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__2; static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonClientCapabilities___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities; LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItemCapabilities_insertReplaceSupport_x3f___default; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_ChangeAnnotationSupport_groupsOnLabel_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Lsp_ServerCapabilities_codeActionProvider_x3f___default; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__9; LEAN_EXPORT lean_object* l_Lean_Lsp_ServerCapabilities_completionProvider_x3f___default; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____spec__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__12; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_453____boxed(lean_object*); +static lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__1; +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__8; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_94____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__4(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonChangeAnnotationSupport; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__2; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonWorkspaceClientCapabilities; static lean_object* _init_l_Lean_Lsp_CompletionItemCapabilities_insertReplaceSupport_x3f___default() { _start: { @@ -154,34 +210,6 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_alloc_ctor(1, 0, 1); -x_6 = lean_unbox(x_4); -lean_ctor_set_uint8(x_5, 0, x_6); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_5); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_7); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -} -} static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____closed__1() { _start: { @@ -195,7 +223,7 @@ _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; x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____closed__1; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(x_2, x_1); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_2, x_1); x_4 = lean_box(0); x_5 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_5, 0, x_3); @@ -205,15 +233,6 @@ x_7 = l_Lean_Json_mkObj(x_6); return x_7; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____boxed(lean_object* x_1) { _start: { @@ -239,86 +258,12 @@ x_1 = l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__1; return x_1; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = lean_box(0); -x_2 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValD(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; -return x_4; -} -else -{ -lean_object* x_5; -x_5 = l_Lean_Json_getBool_x3f(x_3); -lean_dec(x_3); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -return x_5; -} -else -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_7); -return x_8; -} -} -else -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_5, 0); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_5, 0); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -} -} -} LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -359,16 +304,6 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____boxed(lean_object* x_1) { _start: { @@ -485,6 +420,16 @@ x_1 = l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1; return x_1; } } +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1(lean_object* x_1, lean_object* x_2) { _start: { @@ -493,7 +438,7 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; return x_4; } else @@ -638,7 +583,15 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____spec__1(lean_object* x_1, lean_object* x_2) { +static lean_object* _init_l_Lean_Lsp_TextDocumentClientCapabilities_codeAction_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -664,7 +617,35 @@ return x_8; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____closed__1() { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__1() { _start: { lean_object* x_1; @@ -672,44 +653,54 @@ x_1 = lean_mk_string_from_bytes("completion", 10); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169_(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__2() { _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; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____closed__1; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____spec__1(x_2, x_1); -x_4 = lean_box(0); -x_5 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_5, 0, x_3); -lean_ctor_set(x_5, 1, x_4); -x_6 = l_List_join___rarg(x_5); -x_7 = l_Lean_Json_mkObj(x_6); -return x_7; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("codeAction", 10); +return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179_(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; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__1(x_3, x_2); +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +lean_dec(x_1); +x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__2(x_6, x_5); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_4); +lean_ctor_set(x_10, 1, x_9); +x_11 = l_List_join___rarg(x_10); +x_12 = l_Lean_Json_mkObj(x_11); +return x_12; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____spec__1(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169_(x_1); -lean_dec(x_1); -return x_2; -} -} static lean_object* _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179_), 1, 0); return x_1; } } @@ -721,7 +712,7 @@ x_1 = l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -729,7 +720,7 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; return x_4; } else @@ -785,292 +776,7 @@ return x_14; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____spec__1(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -lean_dec(x_3); -x_6 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_6, 0, x_5); -return x_6; -} -} -else -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -return x_3; -} -else -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -lean_dec(x_3); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191_(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191____boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__1; -return x_1; -} -} -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("support", 7); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242_(uint8_t x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_2 = lean_alloc_ctor(1, 0, 1); -lean_ctor_set_uint8(x_2, 0, x_1); -x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____closed__1; -x_4 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_2); -x_5 = lean_box(0); -x_6 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_5); -x_7 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_7, 0, x_6); -lean_ctor_set(x_7, 1, x_5); -x_8 = l_List_join___rarg(x_7); -x_9 = l_Lean_Json_mkObj(x_8); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____boxed(lean_object* x_1) { -_start: -{ -uint8_t x_2; lean_object* x_3; -x_2 = lean_unbox(x_1); -lean_dec(x_1); -x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242_(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1; -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_271_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -lean_dec(x_3); -x_6 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_6, 0, x_5); -return x_6; -} -} -else -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -return x_3; -} -else -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -lean_dec(x_3); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_271____boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_271_(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_271____boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__1; -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_WindowClientCapabilities_showDocument_x3f___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = lean_unbox(x_4); -lean_dec(x_4); -x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242_(x_5); -x_7 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_7, 0, x_1); -lean_ctor_set(x_7, 1, x_6); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_7); -lean_ctor_set(x_9, 1, x_8); -return x_9; -} -} -} -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("showDocument", 12); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324_(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; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____closed__1; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____spec__1(x_2, x_1); -x_4 = lean_box(0); -x_5 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_5, 0, x_3); -lean_ctor_set(x_5, 1, x_4); -x_6 = l_List_join___rarg(x_5); -x_7 = l_Lean_Json_mkObj(x_6); -return x_7; -} -} -static lean_object* _init_l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324_), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_instToJsonWindowClientCapabilities() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -1078,13 +784,13 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; return x_4; } else { lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_271_(x_3); +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449_(x_3); lean_dec(x_3); if (lean_obj_tag(x_5) == 0) { @@ -1134,358 +840,12 @@ return x_14; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____spec__1(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -uint8_t x_4; -x_4 = !lean_is_exclusive(x_3); -if (x_4 == 0) -{ -return x_3; -} -else -{ -lean_object* x_5; lean_object* x_6; -x_5 = lean_ctor_get(x_3, 0); -lean_inc(x_5); -lean_dec(x_3); -x_6 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_6, 0, x_5); -return x_6; -} -} -else -{ -uint8_t x_7; -x_7 = !lean_is_exclusive(x_3); -if (x_7 == 0) -{ -return x_3; -} -else -{ -lean_object* x_8; lean_object* x_9; -x_8 = lean_ctor_get(x_3, 0); -lean_inc(x_8); -lean_dec(x_3); -x_9 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_9, 0, x_8); -return x_9; -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____boxed(lean_object* x_1) { -_start: -{ -lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346_(x_1); -lean_dec(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346____boxed), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__1; -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_ClientCapabilities_window_x3f___default() { -_start: -{ -lean_object* x_1; -x_1 = lean_box(0); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_2, 0); -x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169_(x_4); -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_box(0); -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; -} -else -{ -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = lean_ctor_get(x_2, 0); -lean_inc(x_4); -lean_dec(x_2); -x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324_(x_4); -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_box(0); -x_8 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_8, 0, x_6); -lean_ctor_set(x_8, 1, x_7); -return x_8; -} -} -} -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("textDocument", 12); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__2() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("window", 6); -return x_1; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409_(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; -x_2 = lean_ctor_get(x_1, 0); -lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__1; -x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__1(x_3, x_2); -lean_dec(x_2); -x_5 = lean_ctor_get(x_1, 1); -lean_inc(x_5); -lean_dec(x_1); -x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__2; -x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__2(x_6, x_5); -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_7); -lean_ctor_set(x_9, 1, x_8); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_4); -lean_ctor_set(x_10, 1, x_9); -x_11 = l_List_join___rarg(x_10); -x_12 = l_Lean_Json_mkObj(x_11); -return x_12; -} -} -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____spec__1(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409_), 1, 0); -return x_1; -} -} -static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities() { -_start: -{ -lean_object* x_1; -x_1 = l_Lean_Lsp_instToJsonClientCapabilities___closed__1; -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValD(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; -return x_4; -} -else -{ -lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_191_(x_3); -lean_dec(x_3); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -return x_5; -} -else -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_7); -return x_8; -} -} -else -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_5, 0); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_5, 0); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -} -} -} -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValD(x_1, x_2); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; -return x_4; -} -else -{ -lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_346_(x_3); -lean_dec(x_3); -if (lean_obj_tag(x_5) == 0) -{ -uint8_t x_6; -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) -{ -return x_5; -} -else -{ -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -lean_inc(x_7); -lean_dec(x_5); -x_8 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_8, 0, x_7); -return x_8; -} -} -else -{ -uint8_t x_9; -x_9 = !lean_is_exclusive(x_5); -if (x_9 == 0) -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_5, 0); -x_11 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_5, 0, x_11); -return x_5; -} -else -{ -lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_12 = lean_ctor_get(x_5, 0); -lean_inc(x_12); -lean_dec(x_5); -x_13 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_13, 0, x_12); -x_14 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -} -} -} -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435_(lean_object* x_1) { -_start: -{ -lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -1511,8 +871,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__2(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__2(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -1564,31 +924,1684 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435_(x_1); +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("support", 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274_(uint8_t x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_2 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_2, 0, x_1); +x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____boxed(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; +x_2 = lean_unbox(x_1); +lean_dec(x_1); +x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274_(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_303_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_303____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_303_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_303____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WindowClientCapabilities_showDocument_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_unbox(x_4); +lean_dec(x_4); +x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274_(x_5); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_6); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("showDocument", 12); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356_(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; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____closed__1; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____spec__1(x_2, x_1); +x_4 = lean_box(0); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = l_List_join___rarg(x_5); +x_7 = l_Lean_Json_mkObj(x_6); +return x_7; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWindowClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_303_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_ChangeAnnotationSupport_groupsOnLabel_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("groupsOnLabel", 13); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431_(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; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____closed__1; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_2, x_1); +x_4 = lean_box(0); +x_5 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_5, 0, x_3); +lean_ctor_set(x_5, 1, x_4); +x_6 = l_List_join___rarg(x_5); +x_7 = l_Lean_Json_mkObj(x_6); +return x_7; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_453_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_453____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_453_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_453____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEditClientCapabilities_documentChanges_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEditClientCapabilities_changeAnnotationSupport_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceEditClientCapabilities_resourceOperations_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("documentChanges", 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("changeAnnotationSupport", 23); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("resourceOperations", 18); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_3, x_2); +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____spec__1(x_6, x_5); +lean_dec(x_5); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +lean_dec(x_1); +x_9 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__3; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_119____spec__1(x_9, x_8); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_7); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_List_join___rarg(x_14); +x_16 = l_Lean_Json_mkObj(x_15); +return x_16; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_453_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_WorkspaceClientCapabilities_workspaceEdit_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("applyEdit", 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("workspaceEdit", 13); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656_(lean_object* x_1) { +_start: +{ +uint8_t x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_2 = lean_ctor_get_uint8(x_1, sizeof(void*)*1); +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +lean_dec(x_1); +x_4 = lean_alloc_ctor(1, 0, 1); +lean_ctor_set_uint8(x_4, 0, x_2); +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__1; +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_4); +x_7 = lean_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +x_9 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__2; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____spec__1(x_9, x_3); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_7); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_8); +lean_ctor_set(x_12, 1, x_11); +x_13 = l_List_join___rarg(x_12); +x_14 = l_Lean_Json_mkObj(x_13); +return x_14; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_559_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_15, 0, x_14); +x_16 = lean_unbox(x_7); +lean_dec(x_7); +lean_ctor_set_uint8(x_15, sizeof(void*)*1, x_16); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; +x_17 = lean_ctor_get(x_9, 0); +lean_inc(x_17); +lean_dec(x_9); +x_18 = lean_alloc_ctor(0, 1, 1); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_unbox(x_7); +lean_dec(x_7); +lean_ctor_set_uint8(x_18, sizeof(void*)*1, x_19); +x_20 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_20, 0, x_18); +return x_20; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_ClientCapabilities_window_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_ClientCapabilities_workspace_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("textDocument", 12); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("window", 6); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("workspace", 9); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__1(x_3, x_2); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__2(x_6, x_5); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +lean_dec(x_1); +x_9 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__3; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____spec__3(x_9, x_8); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_7); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_14, 0, x_4); +lean_ctor_set(x_14, 1, x_13); +x_15 = l_List_join___rarg(x_14); +x_16 = l_Lean_Json_mkObj(x_15); +return x_16; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonClientCapabilities___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_205_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_378_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_689_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__2(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__3(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810_(x_1); lean_dec(x_1); return x_2; } @@ -1597,7 +2610,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonClientCapabilities___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810____boxed), 1, 0); return x_1; } } @@ -1705,7 +2718,15 @@ x_1 = lean_box(0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__1(lean_object* x_1, lean_object* x_2) { +static lean_object* _init_l_Lean_Lsp_ServerCapabilities_codeActionProvider_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -1733,7 +2754,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -1761,7 +2782,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -1789,7 +2810,35 @@ return x_8; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__1() { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__1() { _start: { lean_object* x_1; @@ -1797,7 +2846,7 @@ x_1 = lean_mk_string_from_bytes("textDocumentSync", 16); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__2() { _start: { lean_object* x_1; @@ -1805,7 +2854,7 @@ x_1 = lean_mk_string_from_bytes("completionProvider", 18); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__3() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__3() { _start: { lean_object* x_1; @@ -1813,7 +2862,7 @@ x_1 = lean_mk_string_from_bytes("hoverProvider", 13); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__4() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__4() { _start: { lean_object* x_1; @@ -1821,7 +2870,7 @@ x_1 = lean_mk_string_from_bytes("documentHighlightProvider", 25); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__5() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__5() { _start: { lean_object* x_1; @@ -1829,7 +2878,7 @@ x_1 = lean_mk_string_from_bytes("documentSymbolProvider", 22); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__6() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__6() { _start: { lean_object* x_1; @@ -1837,7 +2886,7 @@ x_1 = lean_mk_string_from_bytes("definitionProvider", 18); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__7() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__7() { _start: { lean_object* x_1; @@ -1845,7 +2894,7 @@ x_1 = lean_mk_string_from_bytes("declarationProvider", 19); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__8() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__8() { _start: { lean_object* x_1; @@ -1853,7 +2902,7 @@ x_1 = lean_mk_string_from_bytes("typeDefinitionProvider", 22); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__9() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__9() { _start: { lean_object* x_1; @@ -1861,7 +2910,7 @@ x_1 = lean_mk_string_from_bytes("referencesProvider", 18); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__10() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__10() { _start: { lean_object* x_1; @@ -1869,7 +2918,7 @@ x_1 = lean_mk_string_from_bytes("workspaceSymbolProvider", 23); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__11() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__11() { _start: { lean_object* x_1; @@ -1877,7 +2926,7 @@ x_1 = lean_mk_string_from_bytes("foldingRangeProvider", 20); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__12() { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__12() { _start: { lean_object* x_1; @@ -1885,22 +2934,30 @@ x_1 = lean_mk_string_from_bytes("semanticTokensProvider", 22); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607_(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__13() { _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; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("codeActionProvider", 18); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010_(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; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; uint8_t x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__1; -x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__1(x_3, x_2); +x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__1(x_3, x_2); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); -x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__2; -x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__2(x_6, x_5); -x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*3); +x_6 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__2(x_6, x_5); +x_8 = lean_ctor_get_uint8(x_1, sizeof(void*)*4); x_9 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_9, 0, x_8); -x_10 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__3; +x_10 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__3; x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_9); @@ -1908,80 +2965,80 @@ x_12 = lean_box(0); x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); -x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 1); +x_14 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 1); x_15 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_15, 0, x_14); -x_16 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__4; +x_16 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__4; x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_16); lean_ctor_set(x_17, 1, x_15); x_18 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_12); -x_19 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 2); +x_19 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 2); x_20 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_20, 0, x_19); -x_21 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__5; +x_21 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__5; x_22 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_22, 0, x_21); lean_ctor_set(x_22, 1, x_20); x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_12); -x_24 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 3); +x_24 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 3); x_25 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_25, 0, x_24); -x_26 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__6; +x_26 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__6; x_27 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_27, 0, x_26); lean_ctor_set(x_27, 1, x_25); x_28 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_28, 0, x_27); lean_ctor_set(x_28, 1, x_12); -x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 4); +x_29 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 4); x_30 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_30, 0, x_29); -x_31 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__7; +x_31 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__7; x_32 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_32, 0, x_31); lean_ctor_set(x_32, 1, x_30); x_33 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_33, 0, x_32); lean_ctor_set(x_33, 1, x_12); -x_34 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 5); +x_34 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 5); x_35 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_35, 0, x_34); -x_36 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__8; +x_36 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__8; x_37 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_37, 0, x_36); lean_ctor_set(x_37, 1, x_35); x_38 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_38, 0, x_37); lean_ctor_set(x_38, 1, x_12); -x_39 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 6); +x_39 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 6); x_40 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_40, 0, x_39); -x_41 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__9; +x_41 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__9; x_42 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_42, 0, x_41); lean_ctor_set(x_42, 1, x_40); x_43 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_43, 0, x_42); lean_ctor_set(x_43, 1, x_12); -x_44 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 7); +x_44 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 7); x_45 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_45, 0, x_44); -x_46 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__10; +x_46 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__10; x_47 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_47, 0, x_46); lean_ctor_set(x_47, 1, x_45); x_48 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_48, 0, x_47); lean_ctor_set(x_48, 1, x_12); -x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +x_49 = lean_ctor_get_uint8(x_1, sizeof(void*)*4 + 8); x_50 = lean_alloc_ctor(1, 0, 1); lean_ctor_set_uint8(x_50, 0, x_49); -x_51 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__11; +x_51 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__11; x_52 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); @@ -1990,55 +3047,62 @@ lean_ctor_set(x_53, 0, x_52); lean_ctor_set(x_53, 1, x_12); x_54 = lean_ctor_get(x_1, 2); lean_inc(x_54); +x_55 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__12; +x_56 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__3(x_55, x_54); +x_57 = lean_ctor_get(x_1, 3); +lean_inc(x_57); lean_dec(x_1); -x_55 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__12; -x_56 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____spec__3(x_55, x_54); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_56); -lean_ctor_set(x_57, 1, x_12); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_53); -lean_ctor_set(x_58, 1, x_57); -x_59 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_59, 0, x_48); -lean_ctor_set(x_59, 1, x_58); +x_58 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__13; +x_59 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____spec__4(x_58, x_57); x_60 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_60, 0, x_43); -lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_12); x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_38); +lean_ctor_set(x_61, 0, x_56); lean_ctor_set(x_61, 1, x_60); x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_33); +lean_ctor_set(x_62, 0, x_53); lean_ctor_set(x_62, 1, x_61); x_63 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_63, 0, x_28); +lean_ctor_set(x_63, 0, x_48); lean_ctor_set(x_63, 1, x_62); x_64 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_64, 0, x_23); +lean_ctor_set(x_64, 0, x_43); lean_ctor_set(x_64, 1, x_63); x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_18); +lean_ctor_set(x_65, 0, x_38); lean_ctor_set(x_65, 1, x_64); x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_13); +lean_ctor_set(x_66, 0, x_33); lean_ctor_set(x_66, 1, x_65); x_67 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_67, 0, x_7); +lean_ctor_set(x_67, 0, x_28); lean_ctor_set(x_67, 1, x_66); x_68 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_68, 0, x_4); +lean_ctor_set(x_68, 0, x_23); lean_ctor_set(x_68, 1, x_67); -x_69 = l_List_join___rarg(x_68); -x_70 = l_Lean_Json_mkObj(x_69); -return x_70; +x_69 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_69, 0, x_18); +lean_ctor_set(x_69, 1, x_68); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_13); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_7); +lean_ctor_set(x_71, 1, x_70); +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_4); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_List_join___rarg(x_72); +x_74 = l_Lean_Json_mkObj(x_73); +return x_74; } } static lean_object* _init_l_Lean_Lsp_instToJsonServerCapabilities___closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010_), 1, 0); return x_1; } } @@ -2050,7 +3114,7 @@ x_1 = l_Lean_Lsp_instToJsonServerCapabilities___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -2058,7 +3122,7 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; return x_4; } else @@ -2114,7 +3178,7 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -2122,7 +3186,7 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; return x_4; } else @@ -2178,7 +3242,7 @@ return x_14; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -2186,7 +3250,7 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; return x_4; } else @@ -2242,12 +3306,76 @@ return x_14; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__1(x_1, x_2); +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -2273,8 +3401,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__2(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__2(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -2301,8 +3429,8 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); -x_14 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__3; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_14); +x_14 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_14); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -2330,8 +3458,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_ctor_get(x_15, 0); lean_inc(x_19); lean_dec(x_15); -x_20 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__4; -x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_20); +x_20 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__4; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_20); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; @@ -2360,8 +3488,8 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_ctor_get(x_21, 0); lean_inc(x_25); lean_dec(x_21); -x_26 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__5; -x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_26); +x_26 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__5; +x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_26); if (lean_obj_tag(x_27) == 0) { uint8_t x_28; @@ -2391,8 +3519,8 @@ lean_object* x_31; lean_object* x_32; lean_object* x_33; x_31 = lean_ctor_get(x_27, 0); lean_inc(x_31); lean_dec(x_27); -x_32 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__6; -x_33 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_32); +x_32 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__6; +x_33 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_32); if (lean_obj_tag(x_33) == 0) { uint8_t x_34; @@ -2423,8 +3551,8 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; x_37 = lean_ctor_get(x_33, 0); lean_inc(x_37); lean_dec(x_33); -x_38 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__7; -x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_38); +x_38 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__7; +x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_38); if (lean_obj_tag(x_39) == 0) { uint8_t x_40; @@ -2456,8 +3584,8 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; x_43 = lean_ctor_get(x_39, 0); lean_inc(x_43); lean_dec(x_39); -x_44 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__8; -x_45 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_44); +x_44 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__8; +x_45 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_44); if (lean_obj_tag(x_45) == 0) { uint8_t x_46; @@ -2490,8 +3618,8 @@ lean_object* x_49; lean_object* x_50; lean_object* x_51; x_49 = lean_ctor_get(x_45, 0); lean_inc(x_49); lean_dec(x_45); -x_50 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__9; -x_51 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_50); +x_50 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__9; +x_51 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_50); if (lean_obj_tag(x_51) == 0) { uint8_t x_52; @@ -2525,8 +3653,8 @@ lean_object* x_55; lean_object* x_56; lean_object* x_57; x_55 = lean_ctor_get(x_51, 0); lean_inc(x_55); lean_dec(x_51); -x_56 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__10; -x_57 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_56); +x_56 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__10; +x_57 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_56); if (lean_obj_tag(x_57) == 0) { uint8_t x_58; @@ -2561,8 +3689,8 @@ lean_object* x_61; lean_object* x_62; lean_object* x_63; x_61 = lean_ctor_get(x_57, 0); lean_inc(x_61); lean_dec(x_57); -x_62 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__11; -x_63 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_62); +x_62 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__11; +x_63 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_62); if (lean_obj_tag(x_63) == 0) { uint8_t x_64; @@ -2598,8 +3726,8 @@ lean_object* x_67; lean_object* x_68; lean_object* x_69; x_67 = lean_ctor_get(x_63, 0); lean_inc(x_67); lean_dec(x_63); -x_68 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__12; -x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__3(x_1, x_68); +x_68 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__12; +x_69 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__3(x_1, x_68); if (lean_obj_tag(x_69) == 0) { uint8_t x_70; @@ -2632,86 +3760,127 @@ return x_72; } else { -uint8_t x_73; -x_73 = !lean_is_exclusive(x_69); -if (x_73 == 0) +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_69, 0); +lean_inc(x_73); +lean_dec(x_69); +x_74 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__13; +x_75 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__4(x_1, x_74); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_74; lean_object* x_75; uint8_t x_76; uint8_t x_77; uint8_t x_78; uint8_t x_79; uint8_t x_80; uint8_t x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; -x_74 = lean_ctor_get(x_69, 0); -x_75 = lean_alloc_ctor(0, 3, 9); -lean_ctor_set(x_75, 0, x_7); -lean_ctor_set(x_75, 1, x_13); -lean_ctor_set(x_75, 2, x_74); -x_76 = lean_unbox(x_19); -lean_dec(x_19); -lean_ctor_set_uint8(x_75, sizeof(void*)*3, x_76); -x_77 = lean_unbox(x_25); -lean_dec(x_25); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 1, x_77); -x_78 = lean_unbox(x_31); -lean_dec(x_31); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 2, x_78); -x_79 = lean_unbox(x_37); -lean_dec(x_37); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 3, x_79); -x_80 = lean_unbox(x_43); -lean_dec(x_43); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 4, x_80); -x_81 = lean_unbox(x_49); -lean_dec(x_49); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 5, x_81); -x_82 = lean_unbox(x_55); -lean_dec(x_55); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 6, x_82); -x_83 = lean_unbox(x_61); -lean_dec(x_61); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 7, x_83); -x_84 = lean_unbox(x_67); +uint8_t x_76; +lean_dec(x_73); lean_dec(x_67); -lean_ctor_set_uint8(x_75, sizeof(void*)*3 + 8, x_84); -lean_ctor_set(x_69, 0, x_75); -return x_69; +lean_dec(x_61); +lean_dec(x_55); +lean_dec(x_49); +lean_dec(x_43); +lean_dec(x_37); +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_76 = !lean_is_exclusive(x_75); +if (x_76 == 0) +{ +return x_75; } else { -lean_object* x_85; lean_object* x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; uint8_t x_91; uint8_t x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; lean_object* x_96; -x_85 = lean_ctor_get(x_69, 0); -lean_inc(x_85); -lean_dec(x_69); -x_86 = lean_alloc_ctor(0, 3, 9); -lean_ctor_set(x_86, 0, x_7); -lean_ctor_set(x_86, 1, x_13); -lean_ctor_set(x_86, 2, x_85); -x_87 = lean_unbox(x_19); +lean_object* x_77; lean_object* x_78; +x_77 = lean_ctor_get(x_75, 0); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_78, 0, x_77); +return x_78; +} +} +else +{ +uint8_t x_79; +x_79 = !lean_is_exclusive(x_75); +if (x_79 == 0) +{ +lean_object* x_80; lean_object* x_81; uint8_t x_82; uint8_t x_83; uint8_t x_84; uint8_t x_85; uint8_t x_86; uint8_t x_87; uint8_t x_88; uint8_t x_89; uint8_t x_90; +x_80 = lean_ctor_get(x_75, 0); +x_81 = lean_alloc_ctor(0, 4, 9); +lean_ctor_set(x_81, 0, x_7); +lean_ctor_set(x_81, 1, x_13); +lean_ctor_set(x_81, 2, x_73); +lean_ctor_set(x_81, 3, x_80); +x_82 = lean_unbox(x_19); lean_dec(x_19); -lean_ctor_set_uint8(x_86, sizeof(void*)*3, x_87); -x_88 = lean_unbox(x_25); +lean_ctor_set_uint8(x_81, sizeof(void*)*4, x_82); +x_83 = lean_unbox(x_25); lean_dec(x_25); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 1, x_88); -x_89 = lean_unbox(x_31); +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 1, x_83); +x_84 = lean_unbox(x_31); lean_dec(x_31); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 2, x_89); -x_90 = lean_unbox(x_37); +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 2, x_84); +x_85 = lean_unbox(x_37); lean_dec(x_37); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 3, x_90); -x_91 = lean_unbox(x_43); +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 3, x_85); +x_86 = lean_unbox(x_43); lean_dec(x_43); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 4, x_91); -x_92 = lean_unbox(x_49); +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 4, x_86); +x_87 = lean_unbox(x_49); lean_dec(x_49); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 5, x_92); -x_93 = lean_unbox(x_55); +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 5, x_87); +x_88 = lean_unbox(x_55); lean_dec(x_55); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 6, x_93); -x_94 = lean_unbox(x_61); +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 6, x_88); +x_89 = lean_unbox(x_61); lean_dec(x_61); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 7, x_94); -x_95 = lean_unbox(x_67); +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 7, x_89); +x_90 = lean_unbox(x_67); lean_dec(x_67); -lean_ctor_set_uint8(x_86, sizeof(void*)*3 + 8, x_95); -x_96 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_96, 0, x_86); -return x_96; +lean_ctor_set_uint8(x_81, sizeof(void*)*4 + 8, x_90); +lean_ctor_set(x_75, 0, x_81); +return x_75; +} +else +{ +lean_object* x_91; lean_object* x_92; uint8_t x_93; uint8_t x_94; uint8_t x_95; uint8_t x_96; uint8_t x_97; uint8_t x_98; uint8_t x_99; uint8_t x_100; uint8_t x_101; lean_object* x_102; +x_91 = lean_ctor_get(x_75, 0); +lean_inc(x_91); +lean_dec(x_75); +x_92 = lean_alloc_ctor(0, 4, 9); +lean_ctor_set(x_92, 0, x_7); +lean_ctor_set(x_92, 1, x_13); +lean_ctor_set(x_92, 2, x_73); +lean_ctor_set(x_92, 3, x_91); +x_93 = lean_unbox(x_19); +lean_dec(x_19); +lean_ctor_set_uint8(x_92, sizeof(void*)*4, x_93); +x_94 = lean_unbox(x_25); +lean_dec(x_25); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 1, x_94); +x_95 = lean_unbox(x_31); +lean_dec(x_31); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 2, x_95); +x_96 = lean_unbox(x_37); +lean_dec(x_37); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 3, x_96); +x_97 = lean_unbox(x_43); +lean_dec(x_43); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 4, x_97); +x_98 = lean_unbox(x_49); +lean_dec(x_49); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 5, x_98); +x_99 = lean_unbox(x_55); +lean_dec(x_55); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 6, x_99); +x_100 = lean_unbox(x_61); +lean_dec(x_61); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 7, x_100); +x_101 = lean_unbox(x_67); +lean_dec(x_67); +lean_ctor_set_uint8(x_92, sizeof(void*)*4 + 8, x_101); +x_102 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_102, 0, x_92); +return x_102; } } } @@ -2727,41 +3896,52 @@ return x_96; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____spec__3(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____spec__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736_(x_1); +x_2 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143_(x_1); lean_dec(x_1); return x_2; } @@ -2770,7 +3950,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonServerCapabilities___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143____boxed), 1, 0); return x_1; } } @@ -2786,6 +3966,7 @@ lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_JsonRpc(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_TextSync(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp_LanguageFeatures(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Lsp_CodeActions(uint8_t builtin, lean_object*); static bool _G_initialized = false; LEAN_EXPORT lean_object* initialize_Lean_Data_Lsp_Capabilities(uint8_t builtin, lean_object* w) { lean_object * res; @@ -2803,6 +3984,9 @@ lean_dec_ref(res); res = initialize_Lean_Data_Lsp_LanguageFeatures(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +res = initialize_Lean_Data_Lsp_CodeActions(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Lsp_CompletionItemCapabilities_insertReplaceSupport_x3f___default = _init_l_Lean_Lsp_CompletionItemCapabilities_insertReplaceSupport_x3f___default(); lean_mark_persistent(l_Lean_Lsp_CompletionItemCapabilities_insertReplaceSupport_x3f___default); l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____closed__1(); @@ -2811,8 +3995,6 @@ l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__1 = _init_l_Lean_Lsp_i lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemCapabilities___closed__1); l_Lean_Lsp_instToJsonCompletionItemCapabilities = _init_l_Lean_Lsp_instToJsonCompletionItemCapabilities(); lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionItemCapabilities); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1___closed__1); l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__1 = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionItemCapabilities___closed__1); l_Lean_Lsp_instFromJsonCompletionItemCapabilities = _init_l_Lean_Lsp_instFromJsonCompletionItemCapabilities(); @@ -2825,14 +4007,20 @@ l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1 = _init_l_Lean_Lsp lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionClientCapabilities___closed__1); l_Lean_Lsp_instToJsonCompletionClientCapabilities = _init_l_Lean_Lsp_instToJsonCompletionClientCapabilities(); lean_mark_persistent(l_Lean_Lsp_instToJsonCompletionClientCapabilities); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_116____spec__1___closed__1); l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__1 = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__1(); lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities___closed__1); l_Lean_Lsp_instFromJsonCompletionClientCapabilities = _init_l_Lean_Lsp_instFromJsonCompletionClientCapabilities(); lean_mark_persistent(l_Lean_Lsp_instFromJsonCompletionClientCapabilities); l_Lean_Lsp_TextDocumentClientCapabilities_completion_x3f___default = _init_l_Lean_Lsp_TextDocumentClientCapabilities_completion_x3f___default(); lean_mark_persistent(l_Lean_Lsp_TextDocumentClientCapabilities_completion_x3f___default); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_169____closed__1); +l_Lean_Lsp_TextDocumentClientCapabilities_codeAction_x3f___default = _init_l_Lean_Lsp_TextDocumentClientCapabilities_codeAction_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_TextDocumentClientCapabilities_codeAction_x3f___default); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__1); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__2 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonTextDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_179____closed__2); l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonTextDocumentClientCapabilities___closed__1); l_Lean_Lsp_instToJsonTextDocumentClientCapabilities = _init_l_Lean_Lsp_instToJsonTextDocumentClientCapabilities(); @@ -2841,8 +4029,8 @@ l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__1 = _init_l_Lean lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities___closed__1); l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities = _init_l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities(); lean_mark_persistent(l_Lean_Lsp_instFromJsonTextDocumentClientCapabilities); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_242____closed__1); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonShowDocumentClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_274____closed__1); l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonShowDocumentClientCapabilities___closed__1); l_Lean_Lsp_instToJsonShowDocumentClientCapabilities = _init_l_Lean_Lsp_instToJsonShowDocumentClientCapabilities(); @@ -2853,8 +4041,8 @@ l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities = _init_l_Lean_Lsp_instFro lean_mark_persistent(l_Lean_Lsp_instFromJsonShowDocumentClientCapabilities); l_Lean_Lsp_WindowClientCapabilities_showDocument_x3f___default = _init_l_Lean_Lsp_WindowClientCapabilities_showDocument_x3f___default(); lean_mark_persistent(l_Lean_Lsp_WindowClientCapabilities_showDocument_x3f___default); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_324____closed__1); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWindowClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_356____closed__1); l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonWindowClientCapabilities___closed__1); l_Lean_Lsp_instToJsonWindowClientCapabilities = _init_l_Lean_Lsp_instToJsonWindowClientCapabilities(); @@ -2863,14 +4051,64 @@ l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__1 = _init_l_Lean_Lsp_i lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities___closed__1); l_Lean_Lsp_instFromJsonWindowClientCapabilities = _init_l_Lean_Lsp_instFromJsonWindowClientCapabilities(); lean_mark_persistent(l_Lean_Lsp_instFromJsonWindowClientCapabilities); +l_Lean_Lsp_ChangeAnnotationSupport_groupsOnLabel_x3f___default = _init_l_Lean_Lsp_ChangeAnnotationSupport_groupsOnLabel_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_ChangeAnnotationSupport_groupsOnLabel_x3f___default); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonChangeAnnotationSupport____x40_Lean_Data_Lsp_Capabilities___hyg_431____closed__1); +l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__1 = _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonChangeAnnotationSupport___closed__1); +l_Lean_Lsp_instToJsonChangeAnnotationSupport = _init_l_Lean_Lsp_instToJsonChangeAnnotationSupport(); +lean_mark_persistent(l_Lean_Lsp_instToJsonChangeAnnotationSupport); +l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__1 = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport___closed__1); +l_Lean_Lsp_instFromJsonChangeAnnotationSupport = _init_l_Lean_Lsp_instFromJsonChangeAnnotationSupport(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonChangeAnnotationSupport); +l_Lean_Lsp_WorkspaceEditClientCapabilities_documentChanges_x3f___default = _init_l_Lean_Lsp_WorkspaceEditClientCapabilities_documentChanges_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEditClientCapabilities_documentChanges_x3f___default); +l_Lean_Lsp_WorkspaceEditClientCapabilities_changeAnnotationSupport_x3f___default = _init_l_Lean_Lsp_WorkspaceEditClientCapabilities_changeAnnotationSupport_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEditClientCapabilities_changeAnnotationSupport_x3f___default); +l_Lean_Lsp_WorkspaceEditClientCapabilities_resourceOperations_x3f___default = _init_l_Lean_Lsp_WorkspaceEditClientCapabilities_resourceOperations_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceEditClientCapabilities_resourceOperations_x3f___default); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__1); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__2 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__2); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__3 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceEditClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_529____closed__3); +l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities___closed__1); +l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities = _init_l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceEditClientCapabilities); +l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__1 = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities___closed__1); +l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities = _init_l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceEditClientCapabilities); +l_Lean_Lsp_WorkspaceClientCapabilities_workspaceEdit_x3f___default = _init_l_Lean_Lsp_WorkspaceClientCapabilities_workspaceEdit_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_WorkspaceClientCapabilities_workspaceEdit_x3f___default); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__1); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__2 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonWorkspaceClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_656____closed__2); +l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceClientCapabilities___closed__1); +l_Lean_Lsp_instToJsonWorkspaceClientCapabilities = _init_l_Lean_Lsp_instToJsonWorkspaceClientCapabilities(); +lean_mark_persistent(l_Lean_Lsp_instToJsonWorkspaceClientCapabilities); +l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__1 = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities___closed__1); +l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities = _init_l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonWorkspaceClientCapabilities); l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default = _init_l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default(); lean_mark_persistent(l_Lean_Lsp_ClientCapabilities_textDocument_x3f___default); l_Lean_Lsp_ClientCapabilities_window_x3f___default = _init_l_Lean_Lsp_ClientCapabilities_window_x3f___default(); lean_mark_persistent(l_Lean_Lsp_ClientCapabilities_window_x3f___default); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__1); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__2 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409____closed__2); +l_Lean_Lsp_ClientCapabilities_workspace_x3f___default = _init_l_Lean_Lsp_ClientCapabilities_workspace_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_ClientCapabilities_workspace_x3f___default); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__1); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__2 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__2); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__3 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780____closed__3); l_Lean_Lsp_instToJsonClientCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonClientCapabilities___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonClientCapabilities___closed__1); l_Lean_Lsp_instToJsonClientCapabilities = _init_l_Lean_Lsp_instToJsonClientCapabilities(); @@ -2894,30 +4132,34 @@ l_Lean_Lsp_ServerCapabilities_workspaceSymbolProvider___default = _init_l_Lean_L l_Lean_Lsp_ServerCapabilities_foldingRangeProvider___default = _init_l_Lean_Lsp_ServerCapabilities_foldingRangeProvider___default(); l_Lean_Lsp_ServerCapabilities_semanticTokensProvider_x3f___default = _init_l_Lean_Lsp_ServerCapabilities_semanticTokensProvider_x3f___default(); lean_mark_persistent(l_Lean_Lsp_ServerCapabilities_semanticTokensProvider_x3f___default); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__1); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__2 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__2); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__3 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__3(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__3); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__4 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__4(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__4); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__5 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__5(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__5); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__6 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__6(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__6); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__7 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__7(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__7); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__8 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__8(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__8); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__9 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__9(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__9); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__10 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__10(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__10); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__11 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__11(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__11); -l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__12 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__12(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607____closed__12); +l_Lean_Lsp_ServerCapabilities_codeActionProvider_x3f___default = _init_l_Lean_Lsp_ServerCapabilities_codeActionProvider_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_ServerCapabilities_codeActionProvider_x3f___default); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__1 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__1); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__2 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__2); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__3 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__3); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__4 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__4(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__4); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__5 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__5(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__5); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__6 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__6(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__6); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__7 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__7(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__7); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__8 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__8(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__8); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__9 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__9(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__9); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__10 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__10(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__10); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__11 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__11(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__11); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__12 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__12(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__12); +l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__13 = _init_l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__13(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010____closed__13); l_Lean_Lsp_instToJsonServerCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonServerCapabilities___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonServerCapabilities___closed__1); l_Lean_Lsp_instToJsonServerCapabilities = _init_l_Lean_Lsp_instToJsonServerCapabilities(); diff --git a/stage0/stdlib/Lean/Data/Lsp/CodeActions.c b/stage0/stdlib/Lean/Data/Lsp/CodeActions.c new file mode 100644 index 0000000000..6d93370578 --- /dev/null +++ b/stage0/stdlib/Lean/Data/Lsp/CodeActions.c @@ -0,0 +1,4952 @@ +// Lean compiler output +// Module: Lean.Data.Lsp.CodeActions +// Imports: Init Lean.Data.Json Lean.Data.Lsp.Basic Lean.Data.Lsp.Diagnostics +#include +#if defined(__clang__) +#pragma clang diagnostic ignored "-Wunused-parameter" +#pragma clang diagnostic ignored "-Wunused-label" +#elif defined(__GNUC__) && !defined(__CLANG__) +#pragma GCC diagnostic ignored "-Wunused-parameter" +#pragma GCC diagnostic ignored "-Wunused-label" +#pragma GCC diagnostic ignored "-Wunused-but-set-variable" +#endif +#ifdef __cplusplus +extern "C" { +#endif +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionClientCapabilities_dataSupport_x3f___default; +static lean_object* l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__6(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867_(lean_object*); +size_t lean_usize_add(size_t, size_t); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__5; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__3___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__3; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___lambda__1(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionClientCapabilities_codeActionLiteralSupport_x3f___default; +static lean_object* l_Lean_Lsp_instFromJsonCodeActionDisabled___closed__1; +lean_object* lean_array_uget(lean_object*, size_t); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonCodeActionContext___closed__1; +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____closed__1; +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__1; +static lean_object* l_Lean_Lsp_instToJsonResolveSupport___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3(size_t, size_t, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonCodeActionOptions___closed__1; +lean_object* l_Lean_Json_getNat_x3f(lean_object*); +lean_object* lean_array_uset(lean_object*, size_t, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__4; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__4; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__5(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__2; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2; +static lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2; +static lean_object* l_Lean_Lsp_instToJsonCodeActionOptions___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____closed__1; +static lean_object* l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__4; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__5(lean_object*, lean_object*); +lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4(size_t, size_t, lean_object*); +lean_object* l_Lean_Json_getStr_x3f(lean_object*); +lean_object* lean_array_get_size(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default; +lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonResolveSupport; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__2___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__5; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeAction_kind_x3f___default; +static lean_object* l_Lean_Lsp_instFromJsonCodeActionContext___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind___boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__6; +lean_object* l_List_join___rarg(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186____spec__1___boxed(lean_object*, lean_object*, lean_object*); +uint8_t lean_usize_dec_lt(size_t, size_t); +static lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1; +static lean_object* l_Lean_Lsp_instFromJsonCodeActionLiteralSupport___closed__1; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__1; +static lean_object* l_Lean_Lsp_instToJsonCodeActionDisabled___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionContext; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeAction; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__2; +static lean_object* l_Lean_Lsp_instToJsonCodeAction___closed__1; +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionContext; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionClientCapabilities_honorsChangeAnnotations_x3f___default; +static lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__1; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__3; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__7; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289_(lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonCodeActionClientCapabilities___closed__1; +uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____boxed(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonCodeActionParams___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeAction_isPreferred_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionDisabled; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__3; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionContext_triggerKind_x3f___default; +static lean_object* l_Lean_Lsp_instFromJsonCodeAction___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionContext_only_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__4___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_toCtorIdx___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionClientCapabilities_disabledSupport_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__5___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__1(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__5; +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091_(lean_object*); +static lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__2; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__4(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____spec__1(lean_object*, lean_object*); +lean_object* l_Nat_repr(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionClientCapabilities_isPreferredSupport_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeAction_diagnostics_x3f___default; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__2___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__1; +static lean_object* l_Lean_Lsp_instFromJsonCodeActionClientCapabilities___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionParams; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionDisabled; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611_(lean_object*); +static lean_object* l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__3(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionLiteralSupport; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__6(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__6; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionOptions; +static lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__3; +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__4; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion(lean_object*); +size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1347_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__2; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597____spec__2(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__1; +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1267_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_738_(lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonResolveSupport___closed__1; +lean_object* l_Lean_JsonNumber_fromNat(lean_object*); +lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____boxed(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_511_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionClientCapabilities; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__3(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__2(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__3; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonCodeActionParams___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Json_mkObj(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionLiteralSupport; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionParams; +lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___lambda__1___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__1___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__4; +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionOptions_resolveProvider_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonResolveSupport; +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionOptions_codeActionKinds_x3f___default; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeAction_edit_x3f___default; +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____boxed(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__2___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeAction_data_x3f___default; +static lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186____spec__1(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_401_(lean_object*); +lean_object* l_Lean_Json_getBool_x3f(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__2(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeAction_disabled_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__2; +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__3; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__6___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeAction_command_x3f___default; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionData; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__4(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instToJsonCodeActionData___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeAction; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionOptions; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Lsp_instFromJsonCodeActionData___closed__1; +static lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__7; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_toCtorIdx(uint8_t); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionData; +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionClientCapabilities; +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionClientCapabilities_resolveSupport_x3f___default; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__3(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_toCtorIdx(uint8_t x_1) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = lean_unsigned_to_nat(0u); +return x_2; +} +else +{ +lean_object* x_3; +x_3 = lean_unsigned_to_nat(1u); +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_toCtorIdx___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_Lsp_CodeActionTriggerKind_toCtorIdx(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___lambda__1(lean_object* x_1) { +_start: +{ +lean_inc(x_1); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___lambda__1___boxed), 1, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg(uint8_t x_1, uint8_t x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; +x_4 = l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___closed__1; +return x_4; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___boxed), 3, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___lambda__1___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___lambda__1(x_1); +lean_dec(x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; uint8_t x_5; lean_object* x_6; +x_4 = lean_unbox(x_1); +lean_dec(x_1); +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(1u); +x_2 = l_Lean_JsonNumber_fromNat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__1; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(2u); +x_2 = l_Lean_JsonNumber_fromNat(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__3; +x_2 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind(uint8_t x_1) { +_start: +{ +if (x_1 == 0) +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__2; +return x_2; +} +else +{ +lean_object* x_3; +x_3 = l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__4; +return x_3; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCodeActionTriggerKind___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_Lsp_instToJsonCodeActionTriggerKind(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Unexpected CodeActionTriggerKind ", 33); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("", 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__3() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 1; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__4() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Json_getNat_x3f(x_1); +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_2); +if (x_3 == 0) +{ +return x_2; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_2); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = lean_ctor_get(x_2, 0); +x_8 = lean_unsigned_to_nat(1u); +x_9 = lean_nat_dec_eq(x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; uint8_t x_11; +x_10 = lean_unsigned_to_nat(2u); +x_11 = lean_nat_dec_eq(x_7, x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; +x_12 = l_Nat_repr(x_7); +x_13 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1; +x_14 = lean_string_append(x_13, x_12); +lean_dec(x_12); +x_15 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2; +x_16 = lean_string_append(x_14, x_15); +lean_ctor_set_tag(x_2, 0); +lean_ctor_set(x_2, 0, x_16); +return x_2; +} +else +{ +lean_object* x_17; +lean_free_object(x_2); +lean_dec(x_7); +x_17 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__3; +return x_17; +} +} +else +{ +lean_object* x_18; +lean_free_object(x_2); +lean_dec(x_7); +x_18 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__4; +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; uint8_t x_21; +x_19 = lean_ctor_get(x_2, 0); +lean_inc(x_19); +lean_dec(x_2); +x_20 = lean_unsigned_to_nat(1u); +x_21 = lean_nat_dec_eq(x_19, x_20); +if (x_21 == 0) +{ +lean_object* x_22; uint8_t x_23; +x_22 = lean_unsigned_to_nat(2u); +x_23 = lean_nat_dec_eq(x_19, x_22); +if (x_23 == 0) +{ +lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_24 = l_Nat_repr(x_19); +x_25 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1; +x_26 = lean_string_append(x_25, x_24); +lean_dec(x_24); +x_27 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2; +x_28 = lean_string_append(x_26, x_27); +x_29 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_29, 0, x_28); +return x_29; +} +else +{ +lean_object* x_30; +lean_dec(x_19); +x_30 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__3; +return x_30; +} +} +else +{ +lean_object* x_31; +lean_dec(x_19); +x_31 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__4; +return x_31; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonCodeActionTriggerKind___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionContext_only_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionContext_triggerKind_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l_Lean_Json_getStr_x3f(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_15; +x_3 = x_16; +goto _start; +} +} +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = lean_box(0); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("expected JSON array, got '", 26); +return x_1; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("'", 1); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +switch (lean_obj_tag(x_3)) { +case 0: +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +case 4: +{ +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_get_size(x_5); +x_7 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_8 = 0; +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__2(x_7, x_8, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +default: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_unsigned_to_nat(80u); +x_20 = l_Lean_Json_pretty(x_3, x_19); +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2; +x_22 = lean_string_append(x_21, x_20); +lean_dec(x_20); +x_23 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3; +x_24 = lean_string_append(x_22, x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +} +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 1; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__1; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__3() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__3; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getNat_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; uint8_t x_12; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_unsigned_to_nat(1u); +x_12 = lean_nat_dec_eq(x_10, x_11); +if (x_12 == 0) +{ +lean_object* x_13; uint8_t x_14; +x_13 = lean_unsigned_to_nat(2u); +x_14 = lean_nat_dec_eq(x_10, x_13); +if (x_14 == 0) +{ +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_15 = l_Nat_repr(x_10); +x_16 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1; +x_17 = lean_string_append(x_16, x_15); +lean_dec(x_15); +x_18 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2; +x_19 = lean_string_append(x_17, x_18); +lean_ctor_set_tag(x_5, 0); +lean_ctor_set(x_5, 0, x_19); +return x_5; +} +else +{ +lean_object* x_20; +lean_free_object(x_5); +lean_dec(x_10); +x_20 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__2; +return x_20; +} +} +else +{ +lean_object* x_21; +lean_free_object(x_5); +lean_dec(x_10); +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__4; +return x_21; +} +} +else +{ +lean_object* x_22; lean_object* x_23; uint8_t x_24; +x_22 = lean_ctor_get(x_5, 0); +lean_inc(x_22); +lean_dec(x_5); +x_23 = lean_unsigned_to_nat(1u); +x_24 = lean_nat_dec_eq(x_22, x_23); +if (x_24 == 0) +{ +lean_object* x_25; uint8_t x_26; +x_25 = lean_unsigned_to_nat(2u); +x_26 = lean_nat_dec_eq(x_22, x_25); +if (x_26 == 0) +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_27 = l_Nat_repr(x_22); +x_28 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1; +x_29 = lean_string_append(x_28, x_27); +lean_dec(x_27); +x_30 = l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2; +x_31 = lean_string_append(x_29, x_30); +x_32 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_32, 0, x_31); +return x_32; +} +else +{ +lean_object* x_33; +lean_dec(x_22); +x_33 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__2; +return x_33; +} +} +else +{ +lean_object* x_34; +lean_dec(x_22); +x_34 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__4; +return x_34; +} +} +} +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("diagnostics", 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("only", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("triggerKind", 11); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1; +lean_inc(x_1); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__2(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +lean_dec(x_1); +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3(x_1, x_14); +lean_dec(x_1); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionContext___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionContext() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionContext___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__2(x_6, x_7, x_4); +x_9 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_box(0); +x_6 = lean_unbox(x_4); +if (x_6 == 0) +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__2; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_1); +lean_ctor_set(x_8, 1, x_7); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_5); +return x_9; +} +else +{ +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__4; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_1); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_5); +return x_12; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; size_t x_4; size_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_array_get_size(x_2); +x_4 = lean_usize_of_nat(x_3); +lean_dec(x_3); +x_5 = 0; +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3(x_4, x_5, x_2); +x_7 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_7, 0, x_6); +x_8 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1; +x_9 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_9, 0, x_8); +lean_ctor_set(x_9, 1, x_7); +x_10 = lean_box(0); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_9); +lean_ctor_set(x_11, 1, x_10); +x_12 = lean_ctor_get(x_1, 1); +lean_inc(x_12); +x_13 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__2; +x_14 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__1(x_13, x_12); +x_15 = lean_ctor_get(x_1, 2); +lean_inc(x_15); +lean_dec(x_1); +x_16 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__3; +x_17 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__3(x_16, x_15); +lean_dec(x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_10); +x_19 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_19, 0, x_14); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_19); +x_21 = l_List_join___rarg(x_20); +x_22 = l_Lean_Json_mkObj(x_21); +return x_22; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__2(x_4, x_5, x_3); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__3(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionContext___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionContext() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionContext___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133_(x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("workDoneToken", 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("partialResultToken", 18); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("textDocument", 12); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("range", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("context", 7); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__4; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(x_1, x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +x_26 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__5; +x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____spec__1(x_1, x_26); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +return x_27; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +return x_30; +} +} +else +{ +uint8_t x_31; +x_31 = !lean_is_exclusive(x_27); +if (x_31 == 0) +{ +lean_object* x_32; lean_object* x_33; +x_32 = lean_ctor_get(x_27, 0); +x_33 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_33, 0, x_7); +lean_ctor_set(x_33, 1, x_13); +lean_ctor_set(x_33, 2, x_19); +lean_ctor_set(x_33, 3, x_25); +lean_ctor_set(x_33, 4, x_32); +lean_ctor_set(x_27, 0, x_33); +return x_27; +} +else +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_27, 0); +lean_inc(x_34); +lean_dec(x_27); +x_35 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_35, 0, x_7); +lean_ctor_set(x_35, 1, x_13); +lean_ctor_set(x_35, 2, x_19); +lean_ctor_set(x_35, 3, x_25); +lean_ctor_set(x_35, 4, x_34); +x_36 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_36, 0, x_35); +return x_36; +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionParams() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionParams___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_401_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(x_3, x_2); +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(x_6, x_5); +lean_dec(x_5); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_8); +x_10 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__3; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_ctor_get(x_1, 3); +lean_inc(x_14); +x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_14); +x_16 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__4; +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_12); +x_19 = lean_ctor_get(x_1, 4); +lean_inc(x_19); +lean_dec(x_1); +x_20 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209_(x_19); +x_21 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__5; +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_20); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_12); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_12); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_18); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_13); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_7); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_4); +lean_ctor_set(x_28, 1, x_27); +x_29 = l_List_join___rarg(x_28); +x_30 = l_Lean_Json_mkObj(x_29); +return x_30; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionParams___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_401_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionParams() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionParams___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("reason", 6); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionDisabled___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionDisabled() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionDisabled___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_511_(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; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionDisabled___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_511_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionDisabled() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionDisabled___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionOptions_codeActionKinds_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionOptions_resolveProvider_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = lean_ctor_get(x_2, 0); +x_5 = lean_alloc_ctor(1, 0, 1); +x_6 = lean_unbox(x_4); +lean_ctor_set_uint8(x_5, 0, x_6); +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_1); +lean_ctor_set(x_7, 1, x_5); +x_8 = lean_box(0); +x_9 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_9, 0, x_7); +lean_ctor_set(x_9, 1, x_8); +return x_9; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("workDoneProgress", 16); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("codeActionKinds", 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("resolveProvider", 15); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* 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_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = lean_ctor_get(x_1, 1); +lean_inc(x_3); +x_4 = lean_ctor_get(x_1, 2); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_alloc_ctor(1, 0, 1); +x_6 = lean_unbox(x_2); +lean_dec(x_2); +lean_ctor_set_uint8(x_5, 0, x_6); +x_7 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__2; +x_12 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__1(x_11, x_3); +x_13 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__3; +x_14 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_13, x_4); +lean_dec(x_4); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_9); +x_16 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_16, 0, x_12); +lean_ctor_set(x_16, 1, x_15); +x_17 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_17, 0, x_10); +lean_ctor_set(x_17, 1, x_16); +x_18 = l_List_join___rarg(x_17); +x_19 = l_Lean_Json_mkObj(x_18); +return x_19; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionOptions___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getBool_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +uint8_t x_19; +x_19 = !lean_is_exclusive(x_15); +if (x_19 == 0) +{ +lean_object* x_20; lean_object* x_21; +x_20 = lean_ctor_get(x_15, 0); +x_21 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_21, 0, x_7); +lean_ctor_set(x_21, 1, x_13); +lean_ctor_set(x_21, 2, x_20); +lean_ctor_set(x_15, 0, x_21); +return x_15; +} +else +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_15, 0); +lean_inc(x_22); +lean_dec(x_15); +x_23 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_23, 0, x_7); +lean_ctor_set(x_23, 1, x_13); +lean_ctor_set(x_23, 2, x_22); +x_24 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionOptions___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionOptions() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionOptions___closed__1; +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("uri", 3); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionData___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionData() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionData___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_738_(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; +x_2 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_2, 0, x_1); +x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionData___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_738_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionData() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionData___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeAction_kind_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeAction_diagnostics_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeAction_isPreferred_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeAction_disabled_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeAction_edit_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeAction_command_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeAction_data_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +x_5 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_5, 0, x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3(x_6, x_7, x_4); +x_9 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_10, 0, x_1); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_box(0); +x_12 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_12, 0, x_10); +lean_ctor_set(x_12, 1, x_11); +return x_12; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_511_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3091_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1287_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_738_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("title", 5); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("kind", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("isPreferred", 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("disabled", 8); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("edit", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("command", 7); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("data", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(x_3, x_2); +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4444____spec__1(x_6, x_5); +lean_dec(x_5); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_9, 0, x_8); +x_10 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__1; +x_11 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = lean_box(0); +x_13 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_13, 0, x_11); +lean_ctor_set(x_13, 1, x_12); +x_14 = lean_ctor_get(x_1, 3); +lean_inc(x_14); +x_15 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__2; +x_16 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__1(x_15, x_14); +lean_dec(x_14); +x_17 = lean_ctor_get(x_1, 4); +lean_inc(x_17); +x_18 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1; +x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__2(x_18, x_17); +x_20 = lean_ctor_get(x_1, 5); +lean_inc(x_20); +x_21 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__3; +x_22 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_21, x_20); +lean_dec(x_20); +x_23 = lean_ctor_get(x_1, 6); +lean_inc(x_23); +x_24 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__4; +x_25 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__3(x_24, x_23); +x_26 = lean_ctor_get(x_1, 7); +lean_inc(x_26); +x_27 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__5; +x_28 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__4(x_27, x_26); +x_29 = lean_ctor_get(x_1, 8); +lean_inc(x_29); +x_30 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__6; +x_31 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__5(x_30, x_29); +x_32 = lean_ctor_get(x_1, 9); +lean_inc(x_32); +lean_dec(x_1); +x_33 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__7; +x_34 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__6(x_33, x_32); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_12); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_31); +lean_ctor_set(x_36, 1, x_35); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_28); +lean_ctor_set(x_37, 1, x_36); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_25); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_22); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_19); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_16); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_13); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_7); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_4); +lean_ctor_set(x_44, 1, x_43); +x_45 = l_List_join___rarg(x_44); +x_46 = l_Lean_Json_mkObj(x_45); +return x_46; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____spec__1(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeAction___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeAction() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeAction___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l_Lean_Json_getStr_x3f(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +switch (lean_obj_tag(x_3)) { +case 0: +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +case 4: +{ +lean_object* x_5; lean_object* x_6; size_t x_7; size_t x_8; lean_object* x_9; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_array_get_size(x_5); +x_7 = lean_usize_of_nat(x_6); +lean_dec(x_6); +x_8 = 0; +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4(x_7, x_8, x_5); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +uint8_t x_13; +x_13 = !lean_is_exclusive(x_9); +if (x_13 == 0) +{ +lean_object* x_14; lean_object* x_15; +x_14 = lean_ctor_get(x_9, 0); +x_15 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_9, 0, x_15); +return x_9; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_9, 0); +lean_inc(x_16); +lean_dec(x_9); +x_17 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_17, 0, x_16); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +} +default: +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_19 = lean_unsigned_to_nat(80u); +x_20 = l_Lean_Json_pretty(x_3, x_19); +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2; +x_22 = lean_string_append(x_21, x_20); +lean_dec(x_20); +x_23 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3; +x_24 = lean_string_append(x_22, x_23); +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__3(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkspaceEdit____x40_Lean_Data_Lsp_Basic___hyg_3142_(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__5(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonCommand____x40_Lean_Data_Lsp_Basic___hyg_1331_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__6(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonWorkDoneProgressParams____x40_Lean_Data_Lsp_Basic___hyg_4466____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__1; +x_15 = l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__2; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__1(x_1, x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +x_26 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1; +x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__2(x_1, x_26); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +return x_27; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +lean_dec(x_27); +x_32 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__3; +x_33 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_32); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +return x_33; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_33, 0); +lean_inc(x_37); +lean_dec(x_33); +x_38 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__4; +x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__3(x_1, x_38); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +lean_dec(x_37); +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +return x_39; +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_42, 0, x_41); +return x_42; +} +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_39, 0); +lean_inc(x_43); +lean_dec(x_39); +x_44 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__5; +x_45 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__4(x_1, x_44); +if (lean_obj_tag(x_45) == 0) +{ +uint8_t x_46; +lean_dec(x_43); +lean_dec(x_37); +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_46 = !lean_is_exclusive(x_45); +if (x_46 == 0) +{ +return x_45; +} +else +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_45, 0); +lean_inc(x_47); +lean_dec(x_45); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +else +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_49 = lean_ctor_get(x_45, 0); +lean_inc(x_49); +lean_dec(x_45); +x_50 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__6; +x_51 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__5(x_1, x_50); +if (lean_obj_tag(x_51) == 0) +{ +uint8_t x_52; +lean_dec(x_49); +lean_dec(x_43); +lean_dec(x_37); +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) +{ +return x_51; +} +else +{ +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_51, 0); +lean_inc(x_53); +lean_dec(x_51); +x_54 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_54, 0, x_53); +return x_54; +} +} +else +{ +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_51, 0); +lean_inc(x_55); +lean_dec(x_51); +x_56 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__7; +x_57 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__6(x_1, x_56); +if (lean_obj_tag(x_57) == 0) +{ +uint8_t x_58; +lean_dec(x_55); +lean_dec(x_49); +lean_dec(x_43); +lean_dec(x_37); +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_58 = !lean_is_exclusive(x_57); +if (x_58 == 0) +{ +return x_57; +} +else +{ +lean_object* x_59; lean_object* x_60; +x_59 = lean_ctor_get(x_57, 0); +lean_inc(x_59); +lean_dec(x_57); +x_60 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_60, 0, x_59); +return x_60; +} +} +else +{ +uint8_t x_61; +x_61 = !lean_is_exclusive(x_57); +if (x_61 == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_57, 0); +x_63 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_63, 0, x_7); +lean_ctor_set(x_63, 1, x_13); +lean_ctor_set(x_63, 2, x_19); +lean_ctor_set(x_63, 3, x_25); +lean_ctor_set(x_63, 4, x_31); +lean_ctor_set(x_63, 5, x_37); +lean_ctor_set(x_63, 6, x_43); +lean_ctor_set(x_63, 7, x_49); +lean_ctor_set(x_63, 8, x_55); +lean_ctor_set(x_63, 9, x_62); +lean_ctor_set(x_57, 0, x_63); +return x_57; +} +else +{ +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_57, 0); +lean_inc(x_64); +lean_dec(x_57); +x_65 = lean_alloc_ctor(0, 10, 0); +lean_ctor_set(x_65, 0, x_7); +lean_ctor_set(x_65, 1, x_13); +lean_ctor_set(x_65, 2, x_19); +lean_ctor_set(x_65, 3, x_25); +lean_ctor_set(x_65, 4, x_31); +lean_ctor_set(x_65, 5, x_37); +lean_ctor_set(x_65, 6, x_43); +lean_ctor_set(x_65, 7, x_49); +lean_ctor_set(x_65, 8, x_55); +lean_ctor_set(x_65, 9, x_64); +x_66 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_66, 0, x_65); +return x_66; +} +} +} +} +} +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__4___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__4(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__5___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__5(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__6___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____spec__6(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeAction___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_932____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeAction() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeAction___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__2(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +lean_object* x_5; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_6 = lean_array_uget(x_3, x_2); +x_7 = lean_unsigned_to_nat(0u); +x_8 = lean_array_uset(x_3, x_2, x_7); +x_9 = l_Lean_Json_getStr_x3f(x_6); +lean_dec(x_6); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_8); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; size_t x_14; size_t x_15; lean_object* x_16; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = 1; +x_15 = lean_usize_add(x_2, x_14); +x_16 = lean_array_uset(x_8, x_2, x_13); +x_2 = x_15; +x_3 = x_16; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +if (lean_obj_tag(x_3) == 4) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__2(x_6, x_7, x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_unsigned_to_nat(80u); +x_10 = l_Lean_Json_pretty(x_3, x_9); +x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("properties", 10); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____spec__2(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonResolveSupport___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonResolveSupport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonResolveSupport___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186____spec__1(size_t x_1, size_t x_2, lean_object* x_3) { +_start: +{ +uint8_t x_4; +x_4 = lean_usize_dec_lt(x_2, x_1); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; +x_5 = lean_array_uget(x_3, x_2); +x_6 = lean_unsigned_to_nat(0u); +x_7 = lean_array_uset(x_3, x_2, x_6); +x_8 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_8, 0, x_5); +x_9 = 1; +x_10 = lean_usize_add(x_2, x_9); +x_11 = lean_array_uset(x_7, x_2, x_8); +x_2 = x_10; +x_3 = x_11; +goto _start; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186_(lean_object* x_1) { +_start: +{ +lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_2 = lean_array_get_size(x_1); +x_3 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_4 = 0; +x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186____spec__1(x_3, x_4, x_1); +x_6 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_List_join___rarg(x_11); +x_13 = l_Lean_Json_mkObj(x_12); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186____spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +size_t x_4; size_t x_5; lean_object* x_6; +x_4 = lean_unbox_usize(x_1); +lean_dec(x_1); +x_5 = lean_unbox_usize(x_2); +lean_dec(x_2); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186____spec__1(x_4, x_5, x_3); +return x_6; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonResolveSupport___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonResolveSupport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonResolveSupport___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 4) +{ +lean_object* x_4; lean_object* x_5; size_t x_6; size_t x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_3, 0); +lean_inc(x_4); +lean_dec(x_3); +x_5 = lean_array_get_size(x_4); +x_6 = lean_usize_of_nat(x_5); +lean_dec(x_5); +x_7 = 0; +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__2(x_6, x_7, x_4); +return x_8; +} +else +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_9 = lean_unsigned_to_nat(80u); +x_10 = l_Lean_Json_pretty(x_3, x_9); +x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2; +x_12 = lean_string_append(x_11, x_10); +lean_dec(x_10); +x_13 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3; +x_14 = lean_string_append(x_12, x_13); +x_15 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_15, 0, x_14); +return x_15; +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("valueSet", 8); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1267_(lean_object* x_1) { +_start: +{ +lean_object* x_2; size_t x_3; size_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_2 = lean_array_get_size(x_1); +x_3 = lean_usize_of_nat(x_2); +lean_dec(x_2); +x_4 = 0; +x_5 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_209____spec__2(x_3, x_4, x_1); +x_6 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_6, 0, x_5); +x_7 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____closed__1; +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_6); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_10, 0, x_8); +lean_ctor_set(x_10, 1, x_9); +x_11 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_11, 1, x_9); +x_12 = l_List_join___rarg(x_11); +x_13 = l_Lean_Json_mkObj(x_12); +return x_13; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1267_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +x_4 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227_(x_3); +lean_dec(x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("codeActionKind", 14); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +uint8_t x_7; +x_7 = !lean_is_exclusive(x_3); +if (x_7 == 0) +{ +return x_3; +} +else +{ +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_3, 0); +lean_inc(x_8); +lean_dec(x_3); +x_9 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_9, 0, x_8); +return x_9; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupport___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionLiteralSupport___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1347_(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; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1267_(x_1); +x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____closed__1; +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_5); +x_8 = l_List_join___rarg(x_7); +x_9 = l_Lean_Json_mkObj(x_8); +return x_9; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1347_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupport() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1() { +_start: +{ +uint8_t x_1; lean_object* x_2; lean_object* x_3; +x_1 = 0; +x_2 = lean_box(x_1); +x_3 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_3, 0, x_2); +return x_3; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_isPreferredSupport_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_disabledSupport_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_dataSupport_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_honorsChangeAnnotations_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1; +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_codeActionLiteralSupport_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_CodeActionClientCapabilities_resolveSupport_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307_(x_3); +lean_dec(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146_(x_3); +if (lean_obj_tag(x_5) == 0) +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) +{ +return x_5; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +lean_dec(x_5); +x_8 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +else +{ +uint8_t x_9; +x_9 = !lean_is_exclusive(x_5); +if (x_9 == 0) +{ +lean_object* x_10; lean_object* x_11; +x_10 = lean_ctor_get(x_5, 0); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_10); +lean_ctor_set(x_5, 0, x_11); +return x_5; +} +else +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_5, 0); +lean_inc(x_12); +lean_dec(x_5); +x_13 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_13, 0, x_12); +x_14 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +} +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("dynamicRegistration", 19); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__2() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("isPreferredSupport", 18); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("disabledSupport", 15); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__4() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("dataSupport", 11); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("honorsChangeAnnotations", 23); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__6() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("codeActionLiteralSupport", 24); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__7() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("resolveSupport", 14); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__1; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +uint8_t x_4; +x_4 = !lean_is_exclusive(x_3); +if (x_4 == 0) +{ +return x_3; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_ctor_get(x_3, 0); +lean_inc(x_5); +lean_dec(x_3); +x_6 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_7 = lean_ctor_get(x_3, 0); +lean_inc(x_7); +lean_dec(x_3); +x_8 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_8); +if (lean_obj_tag(x_9) == 0) +{ +uint8_t x_10; +lean_dec(x_7); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) +{ +return x_9; +} +else +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +lean_dec(x_9); +x_14 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_14); +if (lean_obj_tag(x_15) == 0) +{ +uint8_t x_16; +lean_dec(x_13); +lean_dec(x_7); +x_16 = !lean_is_exclusive(x_15); +if (x_16 == 0) +{ +return x_15; +} +else +{ +lean_object* x_17; lean_object* x_18; +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +x_18 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_18, 0, x_17); +return x_18; +} +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_15, 0); +lean_inc(x_19); +lean_dec(x_15); +x_20 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__4; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_20); +if (lean_obj_tag(x_21) == 0) +{ +uint8_t x_22; +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +return x_21; +} +else +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_24, 0, x_23); +return x_24; +} +} +else +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_21, 0); +lean_inc(x_25); +lean_dec(x_21); +x_26 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__5; +x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_26); +if (lean_obj_tag(x_27) == 0) +{ +uint8_t x_28; +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) +{ +return x_27; +} +else +{ +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +lean_inc(x_29); +lean_dec(x_27); +x_30 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_30, 0, x_29); +return x_30; +} +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +lean_dec(x_27); +x_32 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__6; +x_33 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__1(x_1, x_32); +if (lean_obj_tag(x_33) == 0) +{ +uint8_t x_34; +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_34 = !lean_is_exclusive(x_33); +if (x_34 == 0) +{ +return x_33; +} +else +{ +lean_object* x_35; lean_object* x_36; +x_35 = lean_ctor_get(x_33, 0); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_36, 0, x_35); +return x_36; +} +} +else +{ +lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_37 = lean_ctor_get(x_33, 0); +lean_inc(x_37); +lean_dec(x_33); +x_38 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__7; +x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__2(x_1, x_38); +if (lean_obj_tag(x_39) == 0) +{ +uint8_t x_40; +lean_dec(x_37); +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_7); +x_40 = !lean_is_exclusive(x_39); +if (x_40 == 0) +{ +return x_39; +} +else +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_39, 0); +lean_inc(x_41); +lean_dec(x_39); +x_42 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_42, 0, x_41); +return x_42; +} +} +else +{ +uint8_t x_43; +x_43 = !lean_is_exclusive(x_39); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_39, 0); +x_45 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_45, 0, x_7); +lean_ctor_set(x_45, 1, x_13); +lean_ctor_set(x_45, 2, x_19); +lean_ctor_set(x_45, 3, x_25); +lean_ctor_set(x_45, 4, x_31); +lean_ctor_set(x_45, 5, x_37); +lean_ctor_set(x_45, 6, x_44); +lean_ctor_set(x_39, 0, x_45); +return x_39; +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_39, 0); +lean_inc(x_46); +lean_dec(x_39); +x_47 = lean_alloc_ctor(0, 7, 0); +lean_ctor_set(x_47, 0, x_7); +lean_ctor_set(x_47, 1, x_13); +lean_ctor_set(x_47, 2, x_19); +lean_ctor_set(x_47, 3, x_25); +lean_ctor_set(x_47, 4, x_31); +lean_ctor_set(x_47, 5, x_37); +lean_ctor_set(x_47, 6, x_46); +x_48 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_48, 0, x_47); +return x_48; +} +} +} +} +} +} +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__1(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____spec__2(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449_(x_1); +lean_dec(x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____boxed), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instFromJsonCodeActionClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instFromJsonCodeActionClientCapabilities___closed__1; +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1347_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597____spec__2(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +lean_dec(x_1); +x_3 = lean_box(0); +return x_3; +} +else +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +lean_dec(x_2); +x_5 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1186_(x_4); +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_box(0); +x_8 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_8, 0, x_6); +lean_ctor_set(x_8, 1, x_7); +return x_8; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_2 = lean_ctor_get(x_1, 0); +lean_inc(x_2); +x_3 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__1; +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_3, x_2); +lean_dec(x_2); +x_5 = lean_ctor_get(x_1, 1); +lean_inc(x_5); +x_6 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__2; +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_6, x_5); +lean_dec(x_5); +x_8 = lean_ctor_get(x_1, 2); +lean_inc(x_8); +x_9 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__3; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_9, x_8); +lean_dec(x_8); +x_11 = lean_ctor_get(x_1, 3); +lean_inc(x_11); +x_12 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__4; +x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_12, x_11); +lean_dec(x_11); +x_14 = lean_ctor_get(x_1, 4); +lean_inc(x_14); +x_15 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__5; +x_16 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_15, x_14); +lean_dec(x_14); +x_17 = lean_ctor_get(x_1, 5); +lean_inc(x_17); +x_18 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__6; +x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597____spec__1(x_18, x_17); +x_20 = lean_ctor_get(x_1, 6); +lean_inc(x_20); +lean_dec(x_1); +x_21 = l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__7; +x_22 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597____spec__2(x_21, x_20); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_19); +lean_ctor_set(x_25, 1, x_24); +x_26 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_26, 0, x_16); +lean_ctor_set(x_26, 1, x_25); +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_13); +lean_ctor_set(x_27, 1, x_26); +x_28 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_28, 0, x_10); +lean_ctor_set(x_28, 1, x_27); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_7); +lean_ctor_set(x_29, 1, x_28); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_4); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_List_join___rarg(x_30); +x_32 = l_Lean_Json_mkObj(x_31); +return x_32; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionClientCapabilities___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1597_), 1, 0); +return x_1; +} +} +static lean_object* _init_l_Lean_Lsp_instToJsonCodeActionClientCapabilities() { +_start: +{ +lean_object* x_1; +x_1 = l_Lean_Lsp_instToJsonCodeActionClientCapabilities___closed__1; +return x_1; +} +} +lean_object* initialize_Init(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Json(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Lsp_Basic(uint8_t builtin, lean_object*); +lean_object* initialize_Lean_Data_Lsp_Diagnostics(uint8_t builtin, lean_object*); +static bool _G_initialized = false; +LEAN_EXPORT lean_object* initialize_Lean_Data_Lsp_CodeActions(uint8_t builtin, lean_object* w) { +lean_object * res; +if (_G_initialized) return lean_io_result_mk_ok(lean_box(0)); +_G_initialized = true; +res = initialize_Init(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Json(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Lsp_Basic(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +res = initialize_Lean_Data_Lsp_Diagnostics(builtin, lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___closed__1 = _init_l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___closed__1(); +lean_mark_persistent(l_Lean_Lsp_CodeActionTriggerKind_noConfusion___rarg___closed__1); +l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__1); +l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__2 = _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__2(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__2); +l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__3 = _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__3(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__3); +l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__4 = _init_l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__4(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionTriggerKind___closed__4); +l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__1); +l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2 = _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__2); +l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__3 = _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__3(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__3); +l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__4 = _init_l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__4(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionTriggerKind___closed__4); +l_Lean_Lsp_CodeActionContext_only_x3f___default = _init_l_Lean_Lsp_CodeActionContext_only_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionContext_only_x3f___default); +l_Lean_Lsp_CodeActionContext_triggerKind_x3f___default = _init_l_Lean_Lsp_CodeActionContext_triggerKind_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionContext_triggerKind_x3f___default); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__1); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__2); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__1___closed__3); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__1); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__2(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__2); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__3(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__3); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__4 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__4(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____spec__3___closed__4); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__1); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__2 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__2); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__3 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionContext____x40_Lean_Data_Lsp_CodeActions___hyg_133____closed__3); +l_Lean_Lsp_instFromJsonCodeActionContext___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionContext___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionContext___closed__1); +l_Lean_Lsp_instFromJsonCodeActionContext = _init_l_Lean_Lsp_instFromJsonCodeActionContext(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionContext); +l_Lean_Lsp_instToJsonCodeActionContext___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionContext___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionContext___closed__1); +l_Lean_Lsp_instToJsonCodeActionContext = _init_l_Lean_Lsp_instToJsonCodeActionContext(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionContext); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__1); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__2); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__3 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__3); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__4 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__4(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__4); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__5 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__5(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionParams____x40_Lean_Data_Lsp_CodeActions___hyg_289____closed__5); +l_Lean_Lsp_instFromJsonCodeActionParams___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionParams___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionParams___closed__1); +l_Lean_Lsp_instFromJsonCodeActionParams = _init_l_Lean_Lsp_instFromJsonCodeActionParams(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionParams); +l_Lean_Lsp_instToJsonCodeActionParams___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionParams___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionParams___closed__1); +l_Lean_Lsp_instToJsonCodeActionParams = _init_l_Lean_Lsp_instToJsonCodeActionParams(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionParams); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionDisabled____x40_Lean_Data_Lsp_CodeActions___hyg_471____closed__1); +l_Lean_Lsp_instFromJsonCodeActionDisabled___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionDisabled___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionDisabled___closed__1); +l_Lean_Lsp_instFromJsonCodeActionDisabled = _init_l_Lean_Lsp_instFromJsonCodeActionDisabled(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionDisabled); +l_Lean_Lsp_instToJsonCodeActionDisabled___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionDisabled___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionDisabled___closed__1); +l_Lean_Lsp_instToJsonCodeActionDisabled = _init_l_Lean_Lsp_instToJsonCodeActionDisabled(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionDisabled); +l_Lean_Lsp_CodeActionOptions_codeActionKinds_x3f___default = _init_l_Lean_Lsp_CodeActionOptions_codeActionKinds_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionOptions_codeActionKinds_x3f___default); +l_Lean_Lsp_CodeActionOptions_resolveProvider_x3f___default = _init_l_Lean_Lsp_CodeActionOptions_resolveProvider_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionOptions_resolveProvider_x3f___default); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__1); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__2 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__2); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__3 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____closed__3); +l_Lean_Lsp_instToJsonCodeActionOptions___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionOptions___closed__1); +l_Lean_Lsp_instToJsonCodeActionOptions = _init_l_Lean_Lsp_instToJsonCodeActionOptions(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionOptions); +l_Lean_Lsp_instFromJsonCodeActionOptions___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionOptions___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionOptions___closed__1); +l_Lean_Lsp_instFromJsonCodeActionOptions = _init_l_Lean_Lsp_instFromJsonCodeActionOptions(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionOptions); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionData____x40_Lean_Data_Lsp_CodeActions___hyg_698____closed__1); +l_Lean_Lsp_instFromJsonCodeActionData___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionData___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionData___closed__1); +l_Lean_Lsp_instFromJsonCodeActionData = _init_l_Lean_Lsp_instFromJsonCodeActionData(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionData); +l_Lean_Lsp_instToJsonCodeActionData___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionData___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionData___closed__1); +l_Lean_Lsp_instToJsonCodeActionData = _init_l_Lean_Lsp_instToJsonCodeActionData(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionData); +l_Lean_Lsp_CodeAction_kind_x3f___default = _init_l_Lean_Lsp_CodeAction_kind_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeAction_kind_x3f___default); +l_Lean_Lsp_CodeAction_diagnostics_x3f___default = _init_l_Lean_Lsp_CodeAction_diagnostics_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeAction_diagnostics_x3f___default); +l_Lean_Lsp_CodeAction_isPreferred_x3f___default = _init_l_Lean_Lsp_CodeAction_isPreferred_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeAction_isPreferred_x3f___default); +l_Lean_Lsp_CodeAction_disabled_x3f___default = _init_l_Lean_Lsp_CodeAction_disabled_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeAction_disabled_x3f___default); +l_Lean_Lsp_CodeAction_edit_x3f___default = _init_l_Lean_Lsp_CodeAction_edit_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeAction_edit_x3f___default); +l_Lean_Lsp_CodeAction_command_x3f___default = _init_l_Lean_Lsp_CodeAction_command_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeAction_command_x3f___default); +l_Lean_Lsp_CodeAction_data_x3f___default = _init_l_Lean_Lsp_CodeAction_data_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeAction_data_x3f___default); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__1); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__2 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__2); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__3 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__3); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__4 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__4(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__4); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__5 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__5(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__5); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__6 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__6(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__6); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__7 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__7(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeAction____x40_Lean_Data_Lsp_CodeActions___hyg_867____closed__7); +l_Lean_Lsp_instToJsonCodeAction___closed__1 = _init_l_Lean_Lsp_instToJsonCodeAction___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeAction___closed__1); +l_Lean_Lsp_instToJsonCodeAction = _init_l_Lean_Lsp_instToJsonCodeAction(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeAction); +l_Lean_Lsp_instFromJsonCodeAction___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeAction___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeAction___closed__1); +l_Lean_Lsp_instFromJsonCodeAction = _init_l_Lean_Lsp_instFromJsonCodeAction(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeAction); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonResolveSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1146____closed__1); +l_Lean_Lsp_instFromJsonResolveSupport___closed__1 = _init_l_Lean_Lsp_instFromJsonResolveSupport___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonResolveSupport___closed__1); +l_Lean_Lsp_instFromJsonResolveSupport = _init_l_Lean_Lsp_instFromJsonResolveSupport(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonResolveSupport); +l_Lean_Lsp_instToJsonResolveSupport___closed__1 = _init_l_Lean_Lsp_instToJsonResolveSupport___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonResolveSupport___closed__1); +l_Lean_Lsp_instToJsonResolveSupport = _init_l_Lean_Lsp_instToJsonResolveSupport(); +lean_mark_persistent(l_Lean_Lsp_instToJsonResolveSupport); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupportValueSet____x40_Lean_Data_Lsp_CodeActions___hyg_1227____closed__1); +l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet___closed__1); +l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet = _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionLiteralSupportValueSet); +l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet___closed__1); +l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet = _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionLiteralSupportValueSet); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionLiteralSupport____x40_Lean_Data_Lsp_CodeActions___hyg_1307____closed__1); +l_Lean_Lsp_instFromJsonCodeActionLiteralSupport___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupport___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionLiteralSupport___closed__1); +l_Lean_Lsp_instFromJsonCodeActionLiteralSupport = _init_l_Lean_Lsp_instFromJsonCodeActionLiteralSupport(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionLiteralSupport); +l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionLiteralSupport___closed__1); +l_Lean_Lsp_instToJsonCodeActionLiteralSupport = _init_l_Lean_Lsp_instToJsonCodeActionLiteralSupport(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionLiteralSupport); +l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1 = _init_l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default___closed__1); +l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default = _init_l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_dynamicRegistration_x3f___default); +l_Lean_Lsp_CodeActionClientCapabilities_isPreferredSupport_x3f___default = _init_l_Lean_Lsp_CodeActionClientCapabilities_isPreferredSupport_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_isPreferredSupport_x3f___default); +l_Lean_Lsp_CodeActionClientCapabilities_disabledSupport_x3f___default = _init_l_Lean_Lsp_CodeActionClientCapabilities_disabledSupport_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_disabledSupport_x3f___default); +l_Lean_Lsp_CodeActionClientCapabilities_dataSupport_x3f___default = _init_l_Lean_Lsp_CodeActionClientCapabilities_dataSupport_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_dataSupport_x3f___default); +l_Lean_Lsp_CodeActionClientCapabilities_honorsChangeAnnotations_x3f___default = _init_l_Lean_Lsp_CodeActionClientCapabilities_honorsChangeAnnotations_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_honorsChangeAnnotations_x3f___default); +l_Lean_Lsp_CodeActionClientCapabilities_codeActionLiteralSupport_x3f___default = _init_l_Lean_Lsp_CodeActionClientCapabilities_codeActionLiteralSupport_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_codeActionLiteralSupport_x3f___default); +l_Lean_Lsp_CodeActionClientCapabilities_resolveSupport_x3f___default = _init_l_Lean_Lsp_CodeActionClientCapabilities_resolveSupport_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_CodeActionClientCapabilities_resolveSupport_x3f___default); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__1 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__1); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__2 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__2); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__3 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__3); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__4 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__4(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__4); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__5 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__5(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__5); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__6 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__6(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__6); +l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__7 = _init_l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__7(); +lean_mark_persistent(l___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionClientCapabilities____x40_Lean_Data_Lsp_CodeActions___hyg_1449____closed__7); +l_Lean_Lsp_instFromJsonCodeActionClientCapabilities___closed__1 = _init_l_Lean_Lsp_instFromJsonCodeActionClientCapabilities___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionClientCapabilities___closed__1); +l_Lean_Lsp_instFromJsonCodeActionClientCapabilities = _init_l_Lean_Lsp_instFromJsonCodeActionClientCapabilities(); +lean_mark_persistent(l_Lean_Lsp_instFromJsonCodeActionClientCapabilities); +l_Lean_Lsp_instToJsonCodeActionClientCapabilities___closed__1 = _init_l_Lean_Lsp_instToJsonCodeActionClientCapabilities___closed__1(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionClientCapabilities___closed__1); +l_Lean_Lsp_instToJsonCodeActionClientCapabilities = _init_l_Lean_Lsp_instToJsonCodeActionClientCapabilities(); +lean_mark_persistent(l_Lean_Lsp_instToJsonCodeActionClientCapabilities); +return lean_io_result_mk_ok(lean_box(0)); +} +#ifdef __cplusplus +} +#endif diff --git a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c index dcbf7f63d6..dc700102b6 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c +++ b/stage0/stdlib/Lean/Data/Lsp/Diagnostics.c @@ -14,226 +14,240 @@ extern "C" { #endif static lean_object* l_Lean_Lsp_instFromJsonDiagnosticCode___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_relatedInformation_x3f___default; -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__6___boxed(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__6; +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__8(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_data_x3f___default; size_t lean_usize_add(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticCode___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_noConfusion___rarg(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_616_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_code_x3f___default; -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__7; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__7; lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_972_(lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__6(size_t, size_t, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedDiagnosticTag; LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticTag; static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__6; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticCode(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticWith(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__2___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__3; static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__3; +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__4; +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3(size_t, size_t, lean_object*); lean_object* l_Lean_Json_getNat_x3f(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__6(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__5(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_(lean_object*); -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__6(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_(lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation; +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticCode; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__3; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___boxed(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__3(lean_object*, lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_656____boxed(lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1; static lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__1; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_537_(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange_x3f___default(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4(size_t, size_t, lean_object*); lean_object* lean_array_get_size(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6; lean_object* lean_string_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticCode(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticWith(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedDiagnosticCode; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__2(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__2(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__6___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__3___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__2; -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg(uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__4; lean_object* l_List_join___rarg(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__2___boxed(lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__1(lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticRelatedInformation; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__3___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__4(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1; +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__3; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__6(size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____rarg___boxed(lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__4(size_t, size_t, lean_object*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_SearchPath_findAllWithExt___spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticRelatedInformation; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__1___boxed(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4; +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___rarg(lean_object*); static lean_object* l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__5(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_201____boxed(lean_object*, lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__2(lean_object*, lean_object*); lean_object* l_Lean_Json_getInt_x3f(lean_object*); -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticRelatedInformation___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__8___boxed(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_656____spec__1___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__5; +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1; uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(lean_object*, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticRelatedInformation; LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedPublishDiagnosticsParams; +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_toCtorIdx(uint8_t); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonPublishDiagnosticsParams___closed__1; -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_656_(lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_18____boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_severity_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticTag(uint8_t); -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__5___boxed(lean_object*, lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__9; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__3(size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____rarg(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instBEqDiagnosticTag___closed__1; +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___rarg___boxed(lean_object*); size_t lean_usize_of_nat(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__7(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__4(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_405____boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange(lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__4(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instBEqDiagnosticSeverity___closed__1; uint8_t l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqLocation____x40_Lean_Data_Lsp_Basic___hyg_893_(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__4(size_t, size_t, lean_object*); +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonPublishDiagnosticsParams; -LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____rarg(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticRelatedInformation___closed__1; static lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__3; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__3___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_616____closed__2; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__1; LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticCode____x40_Lean_Data_Lsp_Diagnostics___hyg_201_(lean_object*, lean_object*); lean_object* l_Lean_JsonNumber_fromNat(lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticWith(lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticSeverity____x40_Lean_Data_Lsp_Diagnostics___hyg_18_(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____rarg(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonPublishDiagnosticsParams; static lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__2; static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_616____closed__1; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__4; LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticSeverity; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity(uint8_t); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__2; -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_toCtorIdx(uint8_t); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__1(lean_object*, lean_object*); LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticTag____x40_Lean_Data_Lsp_Diagnostics___hyg_405_(uint8_t, uint8_t); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__2___boxed(lean_object*, lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__2; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4___boxed(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__3(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__5; static lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__4___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__7; LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedDiagnosticWith(lean_object*); lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____rarg(lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticWith___rarg(lean_object*); +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_source_x3f___default; -LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___default(lean_object*); static lean_object* l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__3; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____rarg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__2; -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__6; static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__6; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_noConfusion(lean_object*); -static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__4; static lean_object* l_Lean_Lsp_instBEqDiagnosticRelatedInformation___closed__1; static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__8; -LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___default___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticSeverity_noConfusion___rarg___lambda__1(lean_object*); -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__1; +LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instBEqDiagnosticCode___closed__1; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__6___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedDiagnosticCode___closed__1; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__5(lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__6(size_t, size_t, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__3___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__3; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__4(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticTag(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticTag_toCtorIdx___boxed(lean_object*); static lean_object* l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1; static lean_object* l_Lean_Lsp_instInhabitedDiagnosticCode___closed__2; +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__5; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticWith___rarg(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__1___boxed(lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826_(lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__5; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonDiagnosticSeverity___closed__5; -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2; +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__2; uint8_t lean_int_dec_eq(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__7___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_tags_x3f___default; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__5___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__5(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_instInhabitedDiagnosticSeverity; +static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__3(lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticTag___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedDiagnosticWith___rarg(lean_object*); lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqPublishDiagnosticsParams; -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111_(lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139_(lean_object*); +uint8_t l___private_Lean_Data_Json_Basic_0__Lean_Json_beq_x27(lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__2(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__4; +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__3___boxed(lean_object*); +LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394_(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticWith___rarg(lean_object*); -static lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__3; uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__1(lean_object*, lean_object*); +static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_537____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_656____spec__1(lean_object*, lean_object*); @@ -1500,19 +1514,12 @@ x_1 = l_Lean_Lsp_instFromJsonDiagnosticRelatedInformation___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___default(lean_object* x_1) { -_start: -{ -lean_inc(x_1); -return x_1; -} -} -LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___default___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange_x3f___default(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l_Lean_Lsp_DiagnosticWith_fullRange___default(x_1); -lean_dec(x_1); +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); return x_2; } } @@ -1556,21 +1563,30 @@ x_1 = lean_box(0); return x_1; } } +static lean_object* _init_l_Lean_Lsp_DiagnosticWith_data_x3f___default() { +_start: +{ +lean_object* x_1; +x_1 = lean_box(0); +return x_1; +} +} LEAN_EXPORT lean_object* l_Lean_Lsp_instInhabitedDiagnosticWith___rarg(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = lean_box(0); x_3 = l_Lean_Lsp_instInhabitedDiagnosticRelatedInformation___closed__2; -x_4 = lean_alloc_ctor(0, 8, 0); +x_4 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_4, 0, x_3); -lean_ctor_set(x_4, 1, x_3); +lean_ctor_set(x_4, 1, x_2); lean_ctor_set(x_4, 2, x_2); lean_ctor_set(x_4, 3, x_2); lean_ctor_set(x_4, 4, x_2); lean_ctor_set(x_4, 5, x_1); lean_ctor_set(x_4, 6, x_2); lean_ctor_set(x_4, 7, x_2); +lean_ctor_set(x_4, 8, x_2); return x_4; } } @@ -1582,7 +1598,44 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instInhabitedDiagnosticWith___rarg), return x_2; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__1(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +else +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_2, 0); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(x_6, x_7); +return x_8; +} +} +} +} +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1629,7 +1682,7 @@ return x_10; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1666,7 +1719,7 @@ return x_8; } } } -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____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_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____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; @@ -1710,7 +1763,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__4(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1760,7 +1813,7 @@ else { lean_object* x_12; uint8_t x_13; x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__4(x_6, x_7, lean_box(0), x_6, x_7, x_12); +x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__5(x_6, x_7, lean_box(0), x_6, x_7, x_12); lean_dec(x_6); return x_13; } @@ -1768,7 +1821,7 @@ return x_13; } } } -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { lean_object* x_7; uint8_t x_8; @@ -1810,7 +1863,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__5(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__6(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -1860,7 +1913,7 @@ else { lean_object* x_12; uint8_t x_13; x_12 = lean_unsigned_to_nat(0u); -x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__6(x_6, x_7, lean_box(0), x_6, x_7, x_12); +x_13 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__7(x_6, x_7, lean_box(0), x_6, x_7, x_12); lean_dec(x_6); return x_13; } @@ -1868,10 +1921,47 @@ return x_13; } } } -LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__8(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +if (lean_obj_tag(x_1) == 0) +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_3; +x_3 = 1; +return x_3; +} +else +{ +uint8_t x_4; +x_4 = 0; +return x_4; +} +} +else +{ +if (lean_obj_tag(x_2) == 0) +{ +uint8_t x_5; +x_5 = 0; +return x_5; +} +else +{ +lean_object* x_6; lean_object* x_7; uint8_t x_8; +x_6 = lean_ctor_get(x_1, 0); +x_7 = lean_ctor_get(x_2, 0); +x_8 = l___private_Lean_Data_Json_Basic_0__Lean_Json_beq_x27(x_6, x_7); +return x_8; +} +} +} +} +LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +_start: +{ +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); x_5 = lean_ctor_get(x_2, 1); @@ -1888,69 +1978,50 @@ x_10 = lean_ctor_get(x_2, 6); lean_inc(x_10); x_11 = lean_ctor_get(x_2, 7); lean_inc(x_11); -lean_dec(x_2); -x_12 = lean_ctor_get(x_3, 0); +x_12 = lean_ctor_get(x_2, 8); lean_inc(x_12); -x_13 = lean_ctor_get(x_3, 1); +lean_dec(x_2); +x_13 = lean_ctor_get(x_3, 0); lean_inc(x_13); -x_14 = lean_ctor_get(x_3, 2); +x_14 = lean_ctor_get(x_3, 1); lean_inc(x_14); -x_15 = lean_ctor_get(x_3, 3); +x_15 = lean_ctor_get(x_3, 2); lean_inc(x_15); -x_16 = lean_ctor_get(x_3, 4); +x_16 = lean_ctor_get(x_3, 3); lean_inc(x_16); -x_17 = lean_ctor_get(x_3, 5); +x_17 = lean_ctor_get(x_3, 4); lean_inc(x_17); -x_18 = lean_ctor_get(x_3, 6); +x_18 = lean_ctor_get(x_3, 5); lean_inc(x_18); -x_19 = lean_ctor_get(x_3, 7); +x_19 = lean_ctor_get(x_3, 6); lean_inc(x_19); +x_20 = lean_ctor_get(x_3, 7); +lean_inc(x_20); +x_21 = lean_ctor_get(x_3, 8); +lean_inc(x_21); lean_dec(x_3); -x_20 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(x_4, x_12); -lean_dec(x_12); +x_22 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(x_4, x_13); +lean_dec(x_13); lean_dec(x_4); -if (x_20 == 0) -{ -uint8_t x_21; -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_1); -x_21 = 0; -return x_21; -} -else -{ -uint8_t x_22; -x_22 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(x_5, x_13); -lean_dec(x_13); -lean_dec(x_5); if (x_22 == 0) { uint8_t x_23; +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); lean_dec(x_1); x_23 = 0; return x_23; @@ -1958,20 +2029,26 @@ return x_23; else { uint8_t x_24; -x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__1(x_6, x_14); +x_24 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__1(x_5, x_14); +lean_dec(x_14); +lean_dec(x_5); if (x_24 == 0) { uint8_t x_25; +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); lean_dec(x_1); x_25 = 0; return x_25; @@ -1979,20 +2056,22 @@ return x_25; else { uint8_t x_26; -x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__2(x_7, x_15); -lean_dec(x_15); -lean_dec(x_7); +x_26 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__2(x_6, x_15); if (x_26 == 0) { uint8_t x_27; +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); lean_dec(x_1); x_27 = 0; return x_27; @@ -2000,57 +2079,100 @@ return x_27; else { uint8_t x_28; -x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_SearchPath_findAllWithExt___spec__1(x_8, x_16); +x_28 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__3(x_7, x_16); lean_dec(x_16); -lean_dec(x_8); +lean_dec(x_7); if (x_28 == 0) { uint8_t x_29; +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); lean_dec(x_1); x_29 = 0; return x_29; } else { -lean_object* x_30; uint8_t x_31; -x_30 = lean_apply_2(x_1, x_9, x_17); -x_31 = lean_unbox(x_30); -lean_dec(x_30); -if (x_31 == 0) +uint8_t x_30; +x_30 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_SearchPath_findAllWithExt___spec__1(x_8, x_17); +lean_dec(x_17); +lean_dec(x_8); +if (x_30 == 0) { -uint8_t x_32; +uint8_t x_31; +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); lean_dec(x_18); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_32 = 0; -return x_32; +lean_dec(x_9); +lean_dec(x_1); +x_31 = 0; +return x_31; } else { -uint8_t x_33; -x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__3(x_10, x_18); -lean_dec(x_18); +lean_object* x_32; uint8_t x_33; +x_32 = lean_apply_2(x_1, x_9, x_18); +x_33 = lean_unbox(x_32); +lean_dec(x_32); if (x_33 == 0) { uint8_t x_34; +lean_dec(x_21); +lean_dec(x_20); lean_dec(x_19); +lean_dec(x_12); lean_dec(x_11); +lean_dec(x_10); x_34 = 0; return x_34; } else { uint8_t x_35; -x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__5(x_11, x_19); +x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__4(x_10, x_19); lean_dec(x_19); -return x_35; +if (x_35 == 0) +{ +uint8_t x_36; +lean_dec(x_21); +lean_dec(x_20); +lean_dec(x_12); +lean_dec(x_11); +x_36 = 0; +return x_36; +} +else +{ +uint8_t x_37; +x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__6(x_11, x_20); +lean_dec(x_20); +if (x_37 == 0) +{ +uint8_t x_38; +lean_dec(x_21); +lean_dec(x_12); +x_38 = 0; +return x_38; +} +else +{ +uint8_t x_39; +x_39 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__8(x_12, x_21); +lean_dec(x_21); +lean_dec(x_12); +return x_39; } } } @@ -2060,39 +2182,51 @@ return x_35; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826_(lean_object* x_1) { +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____rarg___boxed), 3, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____rarg___boxed), 3, 0); return x_2; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__1(x_1, x_2); -x_4 = lean_box(x_3); -return x_4; -} -} -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__2(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____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_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__2(x_1, x_2); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__3(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____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: { uint8_t x_7; lean_object* x_8; -x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__4(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__5(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -2101,21 +2235,21 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__3(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__4(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__7___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { uint8_t x_7; lean_object* x_8; -x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__6(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__7(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -2124,21 +2258,32 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__5___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__6___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__5(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__6(x_1, x_2); lean_dec(x_2); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__8___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +uint8_t x_3; lean_object* x_4; +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__8(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +x_4 = lean_box(x_3); +return x_4; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { uint8_t x_4; lean_object* x_5; -x_4 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____rarg(x_1, x_2, x_3); +x_4 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____rarg(x_1, x_2, x_3); x_5 = lean_box(x_4); return x_5; } @@ -2147,7 +2292,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqDiagnosticWith___rarg(lean_object* x_ _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____rarg___boxed), 3, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____rarg___boxed), 3, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2160,7 +2305,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instBEqDiagnosticWith___rarg), 1, 0) return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2229,7 +2374,7 @@ return x_18; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2281,7 +2426,7 @@ return x_15; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -2321,7 +2466,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2341,7 +2486,7 @@ x_5 = lean_array_get_size(x_4); x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__4(x_6, x_7, x_4); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__4(x_6, x_7, x_4); x_9 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_9, 0, x_8); x_10 = lean_alloc_ctor(0, 2, 0); @@ -2355,7 +2500,7 @@ return x_12; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -2380,7 +2525,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__5(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__5(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -2400,7 +2545,7 @@ x_5 = lean_array_get_size(x_4); x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__6(x_6, x_7, x_4); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__6(x_6, x_7, x_4); x_9 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_9, 0, x_8); x_10 = lean_alloc_ctor(0, 2, 0); @@ -2414,7 +2559,7 @@ return x_12; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1() { _start: { lean_object* x_1; @@ -2422,7 +2567,7 @@ x_1 = lean_mk_string_from_bytes("range", 5); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2() { _start: { lean_object* x_1; @@ -2430,7 +2575,7 @@ x_1 = lean_mk_string_from_bytes("fullRange", 9); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3() { _start: { lean_object* x_1; @@ -2438,7 +2583,7 @@ x_1 = lean_mk_string_from_bytes("severity", 8); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4() { _start: { lean_object* x_1; @@ -2446,7 +2591,7 @@ x_1 = lean_mk_string_from_bytes("code", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5() { _start: { lean_object* x_1; @@ -2454,7 +2599,7 @@ x_1 = lean_mk_string_from_bytes("source", 6); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6() { _start: { lean_object* x_1; @@ -2462,7 +2607,7 @@ x_1 = lean_mk_string_from_bytes("tags", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7() { _start: { lean_object* x_1; @@ -2470,14 +2615,22 @@ x_1 = lean_mk_string_from_bytes("relatedInformation", 18); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg(lean_object* x_1, lean_object* x_2) { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8() { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; 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_1; +x_1 = lean_mk_string_from_bytes("data", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_3); -x_5 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1; +x_5 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_5); lean_ctor_set(x_6, 1, x_4); @@ -2487,104 +2640,106 @@ lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); x_9 = lean_ctor_get(x_2, 1); lean_inc(x_9); -x_10 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_9); -x_11 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2; -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_7); -x_14 = lean_ctor_get(x_2, 2); -lean_inc(x_14); -x_15 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3; -x_16 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__1(x_15, x_14); -lean_dec(x_14); -x_17 = lean_ctor_get(x_2, 3); -lean_inc(x_17); -x_18 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4; -x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__2(x_18, x_17); -lean_dec(x_17); -x_20 = lean_ctor_get(x_2, 4); -lean_inc(x_20); -x_21 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5; -x_22 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_21, x_20); -lean_dec(x_20); -x_23 = lean_ctor_get(x_2, 5); -lean_inc(x_23); -x_24 = lean_apply_1(x_1, x_23); -x_25 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_616____closed__2; -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_24); -x_27 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_7); -x_28 = lean_ctor_get(x_2, 6); -lean_inc(x_28); -x_29 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6; -x_30 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__3(x_29, x_28); -x_31 = lean_ctor_get(x_2, 7); -lean_inc(x_31); +x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2; +x_11 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____spec__1(x_10, x_9); +x_12 = lean_ctor_get(x_2, 2); +lean_inc(x_12); +x_13 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3; +x_14 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__1(x_13, x_12); +lean_dec(x_12); +x_15 = lean_ctor_get(x_2, 3); +lean_inc(x_15); +x_16 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4; +x_17 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__2(x_16, x_15); +lean_dec(x_15); +x_18 = lean_ctor_get(x_2, 4); +lean_inc(x_18); +x_19 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5; +x_20 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_19, x_18); +lean_dec(x_18); +x_21 = lean_ctor_get(x_2, 5); +lean_inc(x_21); +x_22 = lean_apply_1(x_1, x_21); +x_23 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_616____closed__2; +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_22); +x_25 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_25, 0, x_24); +lean_ctor_set(x_25, 1, x_7); +x_26 = lean_ctor_get(x_2, 6); +lean_inc(x_26); +x_27 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6; +x_28 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__3(x_27, x_26); +x_29 = lean_ctor_get(x_2, 7); +lean_inc(x_29); +x_30 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7; +x_31 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__5(x_30, x_29); +x_32 = lean_ctor_get(x_2, 8); +lean_inc(x_32); lean_dec(x_2); -x_32 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7; -x_33 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__5(x_32, x_31); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_7); +x_33 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8; +x_34 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_33, x_32); +lean_dec(x_32); x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_30); -lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_7); x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_27); +lean_ctor_set(x_36, 0, x_31); lean_ctor_set(x_36, 1, x_35); x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_22); +lean_ctor_set(x_37, 0, x_28); lean_ctor_set(x_37, 1, x_36); x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_19); +lean_ctor_set(x_38, 0, x_25); lean_ctor_set(x_38, 1, x_37); x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_16); +lean_ctor_set(x_39, 0, x_20); lean_ctor_set(x_39, 1, x_38); x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_13); +lean_ctor_set(x_40, 0, x_17); lean_ctor_set(x_40, 1, x_39); x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_8); +lean_ctor_set(x_41, 0, x_14); lean_ctor_set(x_41, 1, x_40); -x_42 = l_List_join___rarg(x_41); -x_43 = l_Lean_Json_mkObj(x_42); -return x_43; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_11); +lean_ctor_set(x_42, 1, x_41); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_8); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_List_join___rarg(x_43); +x_45 = l_Lean_Json_mkObj(x_44); +return x_45; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg), 2, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg), 2, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__1(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__2(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__2(x_1, x_2); lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -2592,11 +2747,11 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__4(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__4(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -2604,7 +2759,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__6(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__6(x_4, x_5, x_3); return x_6; } } @@ -2612,7 +2767,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDiagnosticWith___rarg(lean_object* _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg), 2, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -2625,7 +2780,7 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instToJsonDiagnosticWith___rarg), 1, return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1() { _start: { lean_object* x_1; lean_object* x_2; @@ -2635,7 +2790,7 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__2() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__2() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -2646,17 +2801,17 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__3() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__3() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__2; +x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__2; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__4() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -2667,17 +2822,17 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__5() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__5() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__4; +x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__4; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__6() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__6() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -2688,17 +2843,17 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__7() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__6; +x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__6; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__8() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__8() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -2709,17 +2864,17 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__9() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__8; +x_1 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__8; x_2 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -2727,7 +2882,7 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1; return x_4; } else @@ -2814,7 +2969,7 @@ else lean_object* x_37; lean_free_object(x_5); lean_dec(x_3); -x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__3; +x_37 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__3; return x_37; } } @@ -2824,7 +2979,7 @@ lean_object* x_38; lean_free_object(x_5); lean_dec(x_22); lean_dec(x_3); -x_38 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__5; +x_38 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__5; return x_38; } } @@ -2834,7 +2989,7 @@ lean_object* x_39; lean_free_object(x_5); lean_dec(x_22); lean_dec(x_3); -x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__7; +x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__7; return x_39; } } @@ -2844,7 +2999,7 @@ lean_object* x_40; lean_free_object(x_5); lean_dec(x_22); lean_dec(x_3); -x_40 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__9; +x_40 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__9; return x_40; } } @@ -2890,7 +3045,7 @@ else { lean_object* x_57; lean_dec(x_3); -x_57 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__3; +x_57 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__3; return x_57; } } @@ -2899,7 +3054,7 @@ else lean_object* x_58; lean_dec(x_41); lean_dec(x_3); -x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__5; +x_58 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__5; return x_58; } } @@ -2908,7 +3063,7 @@ else lean_object* x_59; lean_dec(x_41); lean_dec(x_3); -x_59 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__7; +x_59 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__7; return x_59; } } @@ -2917,7 +3072,7 @@ else lean_object* x_60; lean_dec(x_41); lean_dec(x_3); -x_60 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__9; +x_60 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__9; return x_60; } } @@ -2925,7 +3080,7 @@ return x_60; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -2934,7 +3089,7 @@ switch (lean_obj_tag(x_3)) { case 0: { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1; return x_4; } case 2: @@ -3009,7 +3164,7 @@ return x_30; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -3088,7 +3243,7 @@ goto _start; } } } -static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1() { +static lean_object* _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1() { _start: { lean_object* x_1; @@ -3096,7 +3251,7 @@ x_1 = lean_mk_string_from_bytes("expected JSON array, got '", 26); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3105,7 +3260,7 @@ switch (lean_obj_tag(x_3)) { case 0: { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1; return x_4; } case 4: @@ -3118,7 +3273,7 @@ x_6 = lean_array_get_size(x_5); x_7 = lean_usize_of_nat(x_6); lean_dec(x_6); x_8 = 0; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__4(x_7, x_8, x_5); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__4(x_7, x_8, x_5); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -3170,7 +3325,7 @@ default: lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_19 = lean_unsigned_to_nat(80u); x_20 = l_Lean_Json_pretty(x_3, x_19); -x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1; x_22 = lean_string_append(x_21, x_20); lean_dec(x_20); x_23 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; @@ -3182,7 +3337,7 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__6(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -3238,7 +3393,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__5(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__5(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -3247,7 +3402,7 @@ switch (lean_obj_tag(x_3)) { case 0: { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1; return x_4; } case 4: @@ -3260,7 +3415,7 @@ x_6 = lean_array_get_size(x_5); x_7 = lean_usize_of_nat(x_6); lean_dec(x_6); x_8 = 0; -x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__6(x_7, x_8, x_5); +x_9 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__6(x_7, x_8, x_5); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -3312,7 +3467,7 @@ default: lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; x_19 = lean_unsigned_to_nat(80u); x_20 = l_Lean_Json_pretty(x_3, x_19); -x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1; x_22 = lean_string_append(x_21, x_20); lean_dec(x_20); x_23 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; @@ -3324,11 +3479,33 @@ return x_25; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____rarg(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__7(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_Json_getObjValD(x_1, x_2); +if (lean_obj_tag(x_3) == 0) +{ +lean_object* x_4; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1; +return x_4; +} +else +{ +lean_object* x_5; lean_object* x_6; +x_5 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_5, 0, x_3); +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_5); +return x_6; +} +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____rarg(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; -x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1; +x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1; x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(x_2, x_3); if (lean_obj_tag(x_4) == 0) { @@ -3356,8 +3533,8 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; x_8 = lean_ctor_get(x_4, 0); lean_inc(x_8); lean_dec(x_4); -x_9 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2; -x_10 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(x_2, x_9); +x_9 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2; +x_10 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1(x_2, x_9); if (lean_obj_tag(x_10) == 0) { uint8_t x_11; @@ -3385,8 +3562,8 @@ lean_object* x_14; lean_object* x_15; lean_object* x_16; x_14 = lean_ctor_get(x_10, 0); lean_inc(x_14); lean_dec(x_10); -x_15 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3; -x_16 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1(x_2, x_15); +x_15 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3; +x_16 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1(x_2, x_15); if (lean_obj_tag(x_16) == 0) { uint8_t x_17; @@ -3415,8 +3592,8 @@ lean_object* x_20; lean_object* x_21; lean_object* x_22; x_20 = lean_ctor_get(x_16, 0); lean_inc(x_20); lean_dec(x_16); -x_21 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4; -x_22 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__2(x_2, x_21); +x_21 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4; +x_22 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__2(x_2, x_21); if (lean_obj_tag(x_22) == 0) { uint8_t x_23; @@ -3446,8 +3623,8 @@ lean_object* x_26; lean_object* x_27; lean_object* x_28; x_26 = lean_ctor_get(x_22, 0); lean_inc(x_26); lean_dec(x_22); -x_27 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5; -x_28 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_2, x_27); +x_27 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5; +x_28 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_2, x_27); if (lean_obj_tag(x_28) == 0) { uint8_t x_29; @@ -3510,8 +3687,8 @@ lean_object* x_38; lean_object* x_39; lean_object* x_40; x_38 = lean_ctor_get(x_34, 0); lean_inc(x_38); lean_dec(x_34); -x_39 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6; -x_40 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3(x_2, x_39); +x_39 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6; +x_40 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3(x_2, x_39); if (lean_obj_tag(x_40) == 0) { uint8_t x_41; @@ -3543,8 +3720,8 @@ lean_object* x_44; lean_object* x_45; lean_object* x_46; x_44 = lean_ctor_get(x_40, 0); lean_inc(x_44); lean_dec(x_40); -x_45 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7; -x_46 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__5(x_2, x_45); +x_45 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7; +x_46 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__5(x_2, x_45); if (lean_obj_tag(x_46) == 0) { uint8_t x_47; @@ -3573,42 +3750,49 @@ return x_49; } else { -uint8_t x_50; -x_50 = !lean_is_exclusive(x_46); -if (x_50 == 0) +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_ctor_get(x_46, 0); +lean_inc(x_50); +lean_dec(x_46); +x_51 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8; +x_52 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__7(x_2, x_51); +x_53 = !lean_is_exclusive(x_52); +if (x_53 == 0) { -lean_object* x_51; lean_object* x_52; -x_51 = lean_ctor_get(x_46, 0); -x_52 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_52, 0, x_8); -lean_ctor_set(x_52, 1, x_14); -lean_ctor_set(x_52, 2, x_20); -lean_ctor_set(x_52, 3, x_26); -lean_ctor_set(x_52, 4, x_32); -lean_ctor_set(x_52, 5, x_38); -lean_ctor_set(x_52, 6, x_44); -lean_ctor_set(x_52, 7, x_51); -lean_ctor_set(x_46, 0, x_52); -return x_46; +lean_object* x_54; lean_object* x_55; +x_54 = lean_ctor_get(x_52, 0); +x_55 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_55, 0, x_8); +lean_ctor_set(x_55, 1, x_14); +lean_ctor_set(x_55, 2, x_20); +lean_ctor_set(x_55, 3, x_26); +lean_ctor_set(x_55, 4, x_32); +lean_ctor_set(x_55, 5, x_38); +lean_ctor_set(x_55, 6, x_44); +lean_ctor_set(x_55, 7, x_50); +lean_ctor_set(x_55, 8, x_54); +lean_ctor_set(x_52, 0, x_55); +return x_52; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_46, 0); -lean_inc(x_53); -lean_dec(x_46); -x_54 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_54, 0, x_8); -lean_ctor_set(x_54, 1, x_14); -lean_ctor_set(x_54, 2, x_20); -lean_ctor_set(x_54, 3, x_26); -lean_ctor_set(x_54, 4, x_32); -lean_ctor_set(x_54, 5, x_38); -lean_ctor_set(x_54, 6, x_44); -lean_ctor_set(x_54, 7, x_53); -x_55 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_55, 0, x_54); -return x_55; +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_52, 0); +lean_inc(x_56); +lean_dec(x_52); +x_57 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_57, 0, x_8); +lean_ctor_set(x_57, 1, x_14); +lean_ctor_set(x_57, 2, x_20); +lean_ctor_set(x_57, 3, x_26); +lean_ctor_set(x_57, 4, x_32); +lean_ctor_set(x_57, 5, x_38); +lean_ctor_set(x_57, 6, x_44); +lean_ctor_set(x_57, 7, x_50); +lean_ctor_set(x_57, 8, x_56); +x_58 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_58, 0, x_57); +return x_58; } } } @@ -3620,35 +3804,35 @@ return x_55; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139_(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____rarg___boxed), 2, 0); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____rarg___boxed), 2, 0); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__2(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__2(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -3656,21 +3840,21 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__4(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__4(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -3678,25 +3862,35 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__6(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__6(x_4, x_5, x_3); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__5___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__5___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__5(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__5(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____rarg___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__7___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____rarg(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__7(x_1, x_2); +lean_dec(x_2); +lean_dec(x_1); +return x_3; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____rarg___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____rarg(x_1, x_2); lean_dec(x_2); return x_3; } @@ -3705,7 +3899,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDiagnosticWith___rarg(lean_objec _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____rarg___boxed), 2, 1); +x_2 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____rarg___boxed), 2, 1); lean_closure_set(x_2, 0, x_1); return x_2; } @@ -3718,6 +3912,44 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_instFromJsonDiagnosticWith___rarg), return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___rarg(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 1); +if (lean_obj_tag(x_2) == 0) +{ +lean_object* x_3; +x_3 = lean_ctor_get(x_1, 0); +lean_inc(x_3); +return x_3; +} +else +{ +lean_object* x_4; +x_4 = lean_ctor_get(x_2, 0); +lean_inc(x_4); +return x_4; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_alloc_closure((void*)(l_Lean_Lsp_DiagnosticWith_fullRange___rarg___boxed), 1, 0); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___rarg___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_DiagnosticWith_fullRange___rarg(x_1); +lean_dec(x_1); +return x_2; +} +} static lean_object* _init_l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default() { _start: { @@ -3757,7 +3989,7 @@ x_1 = l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__2; return x_1; } } -LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -3794,10 +4026,10 @@ return x_8; } } } -LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__2(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 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; uint8_t x_21; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); x_4 = lean_ctor_get(x_1, 1); @@ -3814,164 +4046,196 @@ x_9 = lean_ctor_get(x_1, 6); lean_inc(x_9); x_10 = lean_ctor_get(x_1, 7); lean_inc(x_10); -lean_dec(x_1); -x_11 = lean_ctor_get(x_2, 0); +x_11 = lean_ctor_get(x_1, 8); lean_inc(x_11); -x_12 = lean_ctor_get(x_2, 1); +lean_dec(x_1); +x_12 = lean_ctor_get(x_2, 0); lean_inc(x_12); -x_13 = lean_ctor_get(x_2, 2); +x_13 = lean_ctor_get(x_2, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_2, 3); +x_14 = lean_ctor_get(x_2, 2); lean_inc(x_14); -x_15 = lean_ctor_get(x_2, 4); +x_15 = lean_ctor_get(x_2, 3); lean_inc(x_15); -x_16 = lean_ctor_get(x_2, 5); +x_16 = lean_ctor_get(x_2, 4); lean_inc(x_16); -x_17 = lean_ctor_get(x_2, 6); +x_17 = lean_ctor_get(x_2, 5); lean_inc(x_17); -x_18 = lean_ctor_get(x_2, 7); +x_18 = lean_ctor_get(x_2, 6); lean_inc(x_18); +x_19 = lean_ctor_get(x_2, 7); +lean_inc(x_19); +x_20 = lean_ctor_get(x_2, 8); +lean_inc(x_20); lean_dec(x_2); -x_19 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(x_3, x_11); -lean_dec(x_11); +x_21 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(x_3, x_12); +lean_dec(x_12); lean_dec(x_3); -if (x_19 == 0) -{ -uint8_t x_20; -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -x_20 = 0; -return x_20; -} -else -{ -uint8_t x_21; -x_21 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_beqRange____x40_Lean_Data_Lsp_Basic___hyg_551_(x_4, x_12); -lean_dec(x_12); -lean_dec(x_4); if (x_21 == 0) { uint8_t x_22; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); +lean_dec(x_4); x_22 = 0; return x_22; } else { uint8_t x_23; -x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__1(x_5, x_13); +x_23 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__1(x_4, x_13); +lean_dec(x_13); +lean_dec(x_4); if (x_23 == 0) { uint8_t x_24; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); x_24 = 0; return x_24; } else { uint8_t x_25; -x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__2(x_6, x_14); -lean_dec(x_14); -lean_dec(x_6); +x_25 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__2(x_5, x_14); if (x_25 == 0) { uint8_t x_26; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); +lean_dec(x_6); x_26 = 0; return x_26; } else { uint8_t x_27; -x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_SearchPath_findAllWithExt___spec__1(x_7, x_15); +x_27 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__3(x_6, x_15); lean_dec(x_15); -lean_dec(x_7); +lean_dec(x_6); if (x_27 == 0) { uint8_t x_28; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); +lean_dec(x_7); x_28 = 0; return x_28; } else { uint8_t x_29; -x_29 = lean_string_dec_eq(x_8, x_16); +x_29 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_SearchPath_findAllWithExt___spec__1(x_7, x_16); lean_dec(x_16); -lean_dec(x_8); +lean_dec(x_7); if (x_29 == 0) { uint8_t x_30; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); lean_dec(x_17); +lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); x_30 = 0; return x_30; } else { uint8_t x_31; -x_31 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__3(x_9, x_17); +x_31 = lean_string_dec_eq(x_8, x_17); lean_dec(x_17); +lean_dec(x_8); if (x_31 == 0) { uint8_t x_32; +lean_dec(x_20); +lean_dec(x_19); lean_dec(x_18); +lean_dec(x_11); lean_dec(x_10); +lean_dec(x_9); x_32 = 0; return x_32; } else { uint8_t x_33; -x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____spec__5(x_10, x_18); +x_33 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__4(x_9, x_18); lean_dec(x_18); -return x_33; +if (x_33 == 0) +{ +uint8_t x_34; +lean_dec(x_20); +lean_dec(x_19); +lean_dec(x_11); +lean_dec(x_10); +x_34 = 0; +return x_34; +} +else +{ +uint8_t x_35; +x_35 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__6(x_10, x_19); +lean_dec(x_19); +if (x_35 == 0) +{ +uint8_t x_36; +lean_dec(x_20); +lean_dec(x_11); +x_36 = 0; +return x_36; +} +else +{ +uint8_t x_37; +x_37 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____spec__8(x_11, x_20); +lean_dec(x_20); +lean_dec(x_11); +return x_37; } } } @@ -3981,7 +4245,8 @@ return x_33; } } } -LEAN_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____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_EXPORT uint8_t l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____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; @@ -4000,7 +4265,7 @@ else lean_object* x_10; lean_object* x_11; uint8_t x_12; x_10 = lean_array_fget(x_4, x_6); x_11 = lean_array_fget(x_5, x_6); -x_12 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__2(x_10, x_11); +x_12 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__2(x_10, x_11); if (x_12 == 0) { uint8_t x_13; @@ -4021,7 +4286,7 @@ goto _start; } } } -LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334_(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394_(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; @@ -4055,7 +4320,7 @@ return x_10; else { uint8_t x_11; -x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__1(x_4, x_7); +x_11 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__1(x_4, x_7); lean_dec(x_7); lean_dec(x_4); if (x_11 == 0) @@ -4086,7 +4351,7 @@ else { lean_object* x_17; uint8_t x_18; x_17 = lean_unsigned_to_nat(0u); -x_18 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__3(x_5, x_8, lean_box(0), x_5, x_8, x_17); +x_18 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__3(x_5, x_8, lean_box(0), x_5, x_8, x_17); lean_dec(x_8); lean_dec(x_5); return x_18; @@ -4095,31 +4360,31 @@ return x_18; } } } -LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__1(x_1, x_2); +x_3 = l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__2___boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_826____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__2(x_1, x_2); +x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_839____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__2(x_1, x_2); x_4 = lean_box(x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____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_EXPORT lean_object* l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____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: { uint8_t x_7; lean_object* x_8; -x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____spec__3(x_1, x_2, x_3, x_4, x_5, x_6); +x_7 = l_Array_isEqvAux___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____spec__3(x_1, x_2, x_3, x_4, x_5, x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); @@ -4128,11 +4393,11 @@ x_8 = lean_box(x_7); return x_8; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; -x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334_(x_1, x_2); +x_3 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394_(x_1, x_2); x_4 = lean_box(x_3); return x_4; } @@ -4141,7 +4406,7 @@ static lean_object* _init_l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1 _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1334____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_beqPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1394____boxed), 2, 0); return x_1; } } @@ -4153,7 +4418,7 @@ x_1 = l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -4185,14 +4450,14 @@ return x_10; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__2(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__2(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 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_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_2); -x_4 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1; +x_4 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); lean_ctor_set(x_5, 1, x_3); @@ -4202,79 +4467,81 @@ lean_ctor_set(x_7, 0, x_5); lean_ctor_set(x_7, 1, x_6); x_8 = lean_ctor_get(x_1, 1); lean_inc(x_8); -x_9 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_8); -x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2; -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -x_12 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_6); -x_13 = lean_ctor_get(x_1, 2); -lean_inc(x_13); -x_14 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3; -x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__1(x_14, x_13); -lean_dec(x_13); -x_16 = lean_ctor_get(x_1, 3); -lean_inc(x_16); -x_17 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4; -x_18 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__2(x_17, x_16); -lean_dec(x_16); -x_19 = lean_ctor_get(x_1, 4); -lean_inc(x_19); -x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5; -x_21 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_20, x_19); -lean_dec(x_19); -x_22 = lean_ctor_get(x_1, 5); -lean_inc(x_22); -x_23 = lean_alloc_ctor(3, 1, 0); +x_9 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2; +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1106____spec__1(x_9, x_8); +x_11 = lean_ctor_get(x_1, 2); +lean_inc(x_11); +x_12 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3; +x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__1(x_12, x_11); +lean_dec(x_11); +x_14 = lean_ctor_get(x_1, 3); +lean_inc(x_14); +x_15 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4; +x_16 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__2(x_15, x_14); +lean_dec(x_14); +x_17 = lean_ctor_get(x_1, 4); +lean_inc(x_17); +x_18 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5; +x_19 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_18, x_17); +lean_dec(x_17); +x_20 = lean_ctor_get(x_1, 5); +lean_inc(x_20); +x_21 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_21, 0, x_20); +x_22 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_616____closed__2; +x_23 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_23, 0, x_22); -x_24 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_616____closed__2; -x_25 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_23); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_6); -x_27 = lean_ctor_get(x_1, 6); -lean_inc(x_27); -x_28 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6; -x_29 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__3(x_28, x_27); -x_30 = lean_ctor_get(x_1, 7); -lean_inc(x_30); +lean_ctor_set(x_23, 1, x_21); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_6); +x_25 = lean_ctor_get(x_1, 6); +lean_inc(x_25); +x_26 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6; +x_27 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__3(x_26, x_25); +x_28 = lean_ctor_get(x_1, 7); +lean_inc(x_28); +x_29 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7; +x_30 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____spec__5(x_29, x_28); +x_31 = lean_ctor_get(x_1, 8); +lean_inc(x_31); lean_dec(x_1); -x_31 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7; -x_32 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____spec__5(x_31, x_30); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_6); +x_32 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8; +x_33 = l_Lean_Json_opt___at_Lean_JsonRpc_instToJsonMessage___spec__2(x_32, x_31); +lean_dec(x_31); x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_29); -lean_ctor_set(x_34, 1, x_33); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_6); x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_26); +lean_ctor_set(x_35, 0, x_30); lean_ctor_set(x_35, 1, x_34); x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_21); +lean_ctor_set(x_36, 0, x_27); lean_ctor_set(x_36, 1, x_35); x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_18); +lean_ctor_set(x_37, 0, x_24); lean_ctor_set(x_37, 1, x_36); x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_15); +lean_ctor_set(x_38, 0, x_19); lean_ctor_set(x_38, 1, x_37); x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_12); +lean_ctor_set(x_39, 0, x_16); lean_ctor_set(x_39, 1, x_38); x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_7); +lean_ctor_set(x_40, 0, x_13); lean_ctor_set(x_40, 1, x_39); -x_41 = l_List_join___rarg(x_40); -x_42 = l_Lean_Json_mkObj(x_41); -return x_42; +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_10); +lean_ctor_set(x_41, 1, x_40); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_7); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_List_join___rarg(x_42); +x_44 = l_Lean_Json_mkObj(x_43); +return x_44; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4289,7 +4556,7 @@ lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; size_t x x_5 = lean_array_uget(x_3, x_2); x_6 = lean_unsigned_to_nat(0u); x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__2(x_5); +x_8 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__2(x_5); x_9 = 1; x_10 = lean_usize_add(x_2, x_9); x_11 = lean_array_uset(x_7, x_2, x_8); @@ -4299,7 +4566,7 @@ goto _start; } } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__1() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__1() { _start: { lean_object* x_1; @@ -4307,7 +4574,7 @@ x_1 = lean_mk_string_from_bytes("uri", 3); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__2() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__2() { _start: { lean_object* x_1; @@ -4315,7 +4582,7 @@ x_1 = lean_mk_string_from_bytes("version", 7); return x_1; } } -static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__3() { +static lean_object* _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__3() { _start: { lean_object* x_1; @@ -4323,7 +4590,7 @@ x_1 = lean_mk_string_from_bytes("diagnostics", 11); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491_(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; size_t x_13; size_t 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; @@ -4336,7 +4603,7 @@ lean_inc(x_4); lean_dec(x_1); x_5 = lean_alloc_ctor(3, 1, 0); lean_ctor_set(x_5, 0, x_2); -x_6 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__1; +x_6 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__1; x_7 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_7, 0, x_6); lean_ctor_set(x_7, 1, x_5); @@ -4344,17 +4611,17 @@ x_8 = lean_box(0); x_9 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_9, 0, x_7); lean_ctor_set(x_9, 1, x_8); -x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__2; -x_11 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__1(x_10, x_3); +x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__2; +x_11 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1(x_10, x_3); lean_dec(x_3); x_12 = lean_array_get_size(x_4); x_13 = lean_usize_of_nat(x_12); lean_dec(x_12); x_14 = 0; -x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__3(x_13, x_14, x_4); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3(x_13, x_14, x_4); x_16 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_16, 0, x_15); -x_17 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__3; +x_17 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__3; x_18 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_18, 0, x_17); lean_ctor_set(x_18, 1, x_16); @@ -4375,16 +4642,16 @@ x_24 = l_Lean_Json_mkObj(x_23); return x_24; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__1(x_1, x_2); +x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1(x_1, x_2); lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -4392,7 +4659,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____spec__3(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__3(x_4, x_5, x_3); return x_6; } } @@ -4400,7 +4667,7 @@ static lean_object* _init_l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491_), 1, 0); return x_1; } } @@ -4412,7 +4679,7 @@ x_1 = l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__1(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__1(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -4420,7 +4687,7 @@ x_3 = l_Lean_Json_getObjValD(x_1, x_2); if (lean_obj_tag(x_3) == 0) { lean_object* x_4; -x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1; +x_4 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1; return x_4; } else @@ -4476,11 +4743,11 @@ return x_14; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__3(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__3(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1; +x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1; x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(x_1, x_2); if (lean_obj_tag(x_3) == 0) { @@ -4507,8 +4774,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__2(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocationLink____x40_Lean_Data_Lsp_Basic___hyg_1161____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -4535,8 +4802,8 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); -x_14 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1(x_1, x_14); +x_14 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1(x_1, x_14); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -4564,8 +4831,8 @@ lean_object* x_19; lean_object* x_20; lean_object* x_21; x_19 = lean_ctor_get(x_15, 0); lean_inc(x_19); lean_dec(x_15); -x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4; -x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__2(x_1, x_20); +x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4; +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__2(x_1, x_20); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; @@ -4594,8 +4861,8 @@ lean_object* x_25; lean_object* x_26; lean_object* x_27; x_25 = lean_ctor_get(x_21, 0); lean_inc(x_25); lean_dec(x_21); -x_26 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5; -x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_26); +x_26 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5; +x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_26); if (lean_obj_tag(x_27) == 0) { uint8_t x_28; @@ -4657,8 +4924,8 @@ lean_object* x_37; lean_object* x_38; lean_object* x_39; x_37 = lean_ctor_get(x_33, 0); lean_inc(x_37); lean_dec(x_33); -x_38 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6; -x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3(x_1, x_38); +x_38 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6; +x_39 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3(x_1, x_38); if (lean_obj_tag(x_39) == 0) { uint8_t x_40; @@ -4690,8 +4957,8 @@ lean_object* x_43; lean_object* x_44; lean_object* x_45; x_43 = lean_ctor_get(x_39, 0); lean_inc(x_43); lean_dec(x_39); -x_44 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7; -x_45 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__5(x_1, x_44); +x_44 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7; +x_45 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__5(x_1, x_44); if (lean_obj_tag(x_45) == 0) { uint8_t x_46; @@ -4720,42 +4987,49 @@ return x_48; } else { -uint8_t x_49; -x_49 = !lean_is_exclusive(x_45); -if (x_49 == 0) +lean_object* x_49; lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_49 = lean_ctor_get(x_45, 0); +lean_inc(x_49); +lean_dec(x_45); +x_50 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8; +x_51 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__7(x_1, x_50); +x_52 = !lean_is_exclusive(x_51); +if (x_52 == 0) { -lean_object* x_50; lean_object* x_51; -x_50 = lean_ctor_get(x_45, 0); -x_51 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_51, 0, x_7); -lean_ctor_set(x_51, 1, x_13); -lean_ctor_set(x_51, 2, x_19); -lean_ctor_set(x_51, 3, x_25); -lean_ctor_set(x_51, 4, x_31); -lean_ctor_set(x_51, 5, x_37); -lean_ctor_set(x_51, 6, x_43); -lean_ctor_set(x_51, 7, x_50); -lean_ctor_set(x_45, 0, x_51); -return x_45; +lean_object* x_53; lean_object* x_54; +x_53 = lean_ctor_get(x_51, 0); +x_54 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_54, 0, x_7); +lean_ctor_set(x_54, 1, x_13); +lean_ctor_set(x_54, 2, x_19); +lean_ctor_set(x_54, 3, x_25); +lean_ctor_set(x_54, 4, x_31); +lean_ctor_set(x_54, 5, x_37); +lean_ctor_set(x_54, 6, x_43); +lean_ctor_set(x_54, 7, x_49); +lean_ctor_set(x_54, 8, x_53); +lean_ctor_set(x_51, 0, x_54); +return x_51; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_45, 0); -lean_inc(x_52); -lean_dec(x_45); -x_53 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_53, 0, x_7); -lean_ctor_set(x_53, 1, x_13); -lean_ctor_set(x_53, 2, x_19); -lean_ctor_set(x_53, 3, x_25); -lean_ctor_set(x_53, 4, x_31); -lean_ctor_set(x_53, 5, x_37); -lean_ctor_set(x_53, 6, x_43); -lean_ctor_set(x_53, 7, x_52); -x_54 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_54, 0, x_53); -return x_54; +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_51, 0); +lean_inc(x_55); +lean_dec(x_51); +x_56 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_56, 0, x_7); +lean_ctor_set(x_56, 1, x_13); +lean_ctor_set(x_56, 2, x_19); +lean_ctor_set(x_56, 3, x_25); +lean_ctor_set(x_56, 4, x_31); +lean_ctor_set(x_56, 5, x_37); +lean_ctor_set(x_56, 6, x_43); +lean_ctor_set(x_56, 7, x_49); +lean_ctor_set(x_56, 8, x_55); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_56); +return x_57; } } } @@ -4767,7 +5041,7 @@ return x_54; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -4785,7 +5059,7 @@ lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; x_6 = lean_array_uget(x_3, x_2); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_3, x_2, x_7); -x_9 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__3(x_6); +x_9 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__3(x_6); lean_dec(x_6); if (lean_obj_tag(x_9) == 0) { @@ -4823,7 +5097,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__2(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__2(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; @@ -4840,7 +5114,7 @@ x_5 = lean_array_get_size(x_4); x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__4(x_6, x_7, x_4); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4(x_6, x_7, x_4); return x_8; } else @@ -4848,7 +5122,7 @@ else lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; x_9 = lean_unsigned_to_nat(80u); x_10 = l_Lean_Json_pretty(x_3, x_9); -x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1; +x_11 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1; x_12 = lean_string_append(x_11, x_10); lean_dec(x_10); x_13 = l_Lean_Lsp_instFromJsonDiagnosticSeverity___closed__2; @@ -4859,11 +5133,11 @@ return x_15; } } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__1; +x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__1; x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonLocation____x40_Lean_Data_Lsp_Basic___hyg_1012____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { @@ -4891,8 +5165,8 @@ lean_object* x_7; lean_object* x_8; lean_object* x_9; x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); -x_8 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__1(x_1, x_8); +x_8 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__2; +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -4920,8 +5194,8 @@ lean_object* x_13; lean_object* x_14; lean_object* x_15; x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); -x_14 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__3; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__2(x_1, x_14); +x_14 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__3; +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__2(x_1, x_14); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -4977,26 +5251,26 @@ return x_24; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__1___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__1___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__1(x_1, x_2); lean_dec(x_2); lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__3___boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__3___boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__3(x_1); +x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__3(x_1); lean_dec(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -5004,7 +5278,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475____spec__4(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535____spec__4(x_4, x_5, x_3); return x_6; } } @@ -5012,7 +5286,7 @@ static lean_object* _init_l_Lean_Lsp_instFromJsonPublishDiagnosticsParams___clos _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_), 1, 0); return x_1; } } @@ -5147,40 +5421,44 @@ l_Lean_Lsp_DiagnosticWith_tags_x3f___default = _init_l_Lean_Lsp_DiagnosticWith_t lean_mark_persistent(l_Lean_Lsp_DiagnosticWith_tags_x3f___default); l_Lean_Lsp_DiagnosticWith_relatedInformation_x3f___default = _init_l_Lean_Lsp_DiagnosticWith_relatedInformation_x3f___default(); lean_mark_persistent(l_Lean_Lsp_DiagnosticWith_relatedInformation_x3f___default); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__1); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__2); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__3); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__4); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__5); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__6); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1028____rarg___closed__7); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__1); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__2(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__2); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__3(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__3); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__4 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__4(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__4); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__5 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__5(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__5); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__6 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__6(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__6); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__7 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__7(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__7); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__8 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__8(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__8); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__9 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__9(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__1___closed__9); -l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1(); -lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1111____spec__3___closed__1); +l_Lean_Lsp_DiagnosticWith_data_x3f___default = _init_l_Lean_Lsp_DiagnosticWith_data_x3f___default(); +lean_mark_persistent(l_Lean_Lsp_DiagnosticWith_data_x3f___default); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__1); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__2); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__3); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__4); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__5); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__6); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__7); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1059____rarg___closed__8); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__1); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__2 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__2(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__2); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__3 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__3(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__3); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__4 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__4(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__4); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__5 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__5(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__5); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__6 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__6(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__6); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__7 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__7(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__7); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__8 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__8(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__8); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__9 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__9(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__1___closed__9); +l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1 = _init_l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1(); +lean_mark_persistent(l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticWith____x40_Lean_Data_Lsp_Diagnostics___hyg_1139____spec__3___closed__1); l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default = _init_l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default(); lean_mark_persistent(l_Lean_Lsp_PublishDiagnosticsParams_version_x3f___default); l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__1 = _init_l_Lean_Lsp_instInhabitedPublishDiagnosticsParams___closed__1(); @@ -5193,12 +5471,12 @@ l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1 = _init_l_Lean_Lsp_instBE lean_mark_persistent(l_Lean_Lsp_instBEqPublishDiagnosticsParams___closed__1); l_Lean_Lsp_instBEqPublishDiagnosticsParams = _init_l_Lean_Lsp_instBEqPublishDiagnosticsParams(); lean_mark_persistent(l_Lean_Lsp_instBEqPublishDiagnosticsParams); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__1(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__1); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__2 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__2(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__2); -l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__3 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__3(); -lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431____closed__3); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__1 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__1(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__1); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__2 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__2(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__2); +l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__3 = _init_l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__3(); +lean_mark_persistent(l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____closed__3); l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1 = _init_l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1(); lean_mark_persistent(l_Lean_Lsp_instToJsonPublishDiagnosticsParams___closed__1); l_Lean_Lsp_instToJsonPublishDiagnosticsParams = _init_l_Lean_Lsp_instToJsonPublishDiagnosticsParams(); diff --git a/stage0/stdlib/Lean/Data/Lsp/Extra.c b/stage0/stdlib/Lean/Data/Lsp/Extra.c index a67898b2f5..5a800ddeea 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Extra.c +++ b/stage0/stdlib/Lean/Data/Lsp/Extra.c @@ -14,6 +14,7 @@ extern "C" { #endif LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonLeanFileProgressProcessingInfo____x40_Lean_Data_Lsp_Extra___hyg_352_(lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_reprLineRange____x40_Lean_Data_Lsp_Extra___hyg_1644____closed__7; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainTermGoal____x40_Lean_Data_Lsp_Extra___hyg_865____boxed(lean_object*); @@ -36,6 +37,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_WaitForDiagnostics_noConfusion(lean_object*, LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressProcessingInfo____x40_Lean_Data_Lsp_Extra___hyg_294_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instBEqLeanFileProgressKind; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcConnectParams____x40_Lean_Data_Lsp_Extra___hyg_974_(lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressKind(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonWaitForDiagnosticsParams____x40_Lean_Data_Lsp_Extra___hyg_24____closed__1; static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_reprLineRange____x40_Lean_Data_Lsp_Extra___hyg_1644____closed__10; @@ -107,7 +109,6 @@ lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonWaitForDiagnostics(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonPlainGoal___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonLeanFileProgressKind___boxed(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonRpcConnectParams___closed__1; static lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressKind___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcKeepAliveParams____x40_Lean_Data_Lsp_Extra___hyg_1517_(lean_object*); @@ -151,7 +152,7 @@ size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonLeanFileProgressProcessingInfo____x40_Lean_Data_Lsp_Extra___hyg_352____closed__3; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressProcessingInfo____x40_Lean_Data_Lsp_Extra___hyg_294____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_reprLineRange____x40_Lean_Data_Lsp_Extra___hyg_1644____closed__8; -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_reprLineRange____x40_Lean_Data_Lsp_Extra___hyg_1644____closed__2; static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonLeanFileProgressProcessingInfo; @@ -224,11 +225,10 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_LeanFileProgressKind_noConfusion___rarg(uint static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1158____closed__2; static lean_object* l_Lean_Lsp_instReprLineRange___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____spec__2(size_t, size_t, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcConnectParams____x40_Lean_Data_Lsp_Extra___hyg_1014_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonRpcCallParams____x40_Lean_Data_Lsp_Extra___hyg_1158____closed__1; static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonPlainGoal____x40_Lean_Data_Lsp_Extra___hyg_639____closed__2; -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_reprLineRange____x40_Lean_Data_Lsp_Extra___hyg_1644____closed__13; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_toJsonRpcConnected____x40_Lean_Data_Lsp_Extra___hyg_1094_(uint64_t); @@ -1441,7 +1441,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -1580,7 +1580,7 @@ _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; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_(x_2); x_4 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -1658,7 +1658,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -1768,7 +1768,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -2139,7 +2139,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -2249,7 +2249,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -2982,7 +2982,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -3191,7 +3191,7 @@ x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_3); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_3); x_5 = l___private_Lean_Data_Lsp_Extra_0__Lean_Lsp_fromJsonLeanFileProgressParams____x40_Lean_Data_Lsp_Extra___hyg_412____closed__1; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_5); diff --git a/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c b/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c index beb6ef084e..c3b93bc9db 100644 --- a/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c +++ b/stage0/stdlib/Lean/Data/Lsp/InitShutdown.c @@ -15,6 +15,7 @@ extern "C" { #endif static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__4; static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__1; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_750_(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__5; @@ -29,6 +30,7 @@ static lean_object* l_Lean_Lsp_instToJsonInitializationOptions___closed__1; lean_object* lean_array_uget(lean_object*, size_t); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_750____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeResult_serverInfo_x3f___default; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__8; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_638_(lean_object*); @@ -39,6 +41,7 @@ static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonIni LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonInitializeParams___spec__7(size_t, size_t, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonServerInfo; lean_object* l_Lean_Json_getStr_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializedParams___boxed(lean_object*); @@ -51,14 +54,12 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___lambda__1___boxed lean_object* l_List_join___rarg(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__4; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_750____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializedParams(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonServerInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializeParams; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializedParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializationOptions; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_605____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_noConfusion___rarg___boxed(lean_object*); @@ -70,6 +71,7 @@ lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonWorkspaceFold LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___lambda__1(lean_object*); LEAN_EXPORT uint8_t l_Lean_Lsp_InitializeParams_trace___default; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_276____boxed(lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6___closed__2; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__4___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__6; @@ -78,8 +80,10 @@ static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__1; static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_750____spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_toCtorIdx(uint8_t); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_717____spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4(size_t, size_t, lean_object*); lean_object* l_Lean_Json_getInt_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__6___closed__1; @@ -88,16 +92,17 @@ static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonIni LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_ServerInfo_version_x3f___default; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__2(lean_object*, lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_717____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__5___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializedParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializationOptions; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonInitializeResult; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__5___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_250____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_605_(lean_object*); +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_276_(lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__10; @@ -105,21 +110,18 @@ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonI static lean_object* l_Lean_Lsp_instFromJsonClientInfo___closed__1; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__7; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_250____closed__2; -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_toCtorIdx___boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__11; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_750____spec__2___boxed(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780_(lean_object*); lean_object* l_Lean_Json_getObjValD(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__5(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_750____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonInitializeResult; static lean_object* l_Lean_Lsp_Trace_noConfusion___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonInitializeResult____x40_Lean_Data_Lsp_InitShutdown___hyg_750____spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonClientInfo; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTrace(lean_object*); lean_object* l_Lean_Json_mkObj(lean_object*); @@ -135,19 +137,17 @@ static lean_object* l_Lean_Lsp_instToJsonInitializeParams___closed__1; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__5; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonServerInfo; LEAN_EXPORT lean_object* l_Lean_Lsp_InitializedParams_noConfusion___rarg(lean_object*); -lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_rootUri_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_initializationOptions_x3f___default; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Lsp_instFromJsonInitializeParams___spec__7___boxed(lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_64_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_noConfusion___rarg(uint8_t, uint8_t, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_250_(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonTrace___closed__8; -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_fromJsonServerInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_638____boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonInitializationOptions___closed__1; @@ -156,7 +156,6 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_InitializeParams_workspaceFolders_x3f___defa LEAN_EXPORT lean_object* l_Lean_Lsp_ClientInfo_version_x3f___default; LEAN_EXPORT lean_object* l_Lean_Lsp_Trace_toCtorIdx___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_Lsp_instFromJsonInitializeParams___spec__3(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonClientInfo___closed__1; static lean_object* l_Lean_Lsp_Trace_hasToJson___closed__3; static lean_object* l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__12; @@ -207,7 +206,7 @@ x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27____closed__2; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_9, x_3); +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_9, x_3); x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -276,7 +275,7 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_8); +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -674,12 +673,12 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_obj x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_250____closed__1; -x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649____spec__1(x_3, x_2); +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721____spec__1(x_3, x_2); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_dec(x_1); x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_250____closed__2; -x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_19____spec__1(x_6, x_5); +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_toJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_574____spec__1(x_6, x_5); lean_dec(x_5); x_8 = lean_box(0); x_9 = lean_alloc_ctor(1, 2, 0); @@ -714,7 +713,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_250____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -741,7 +740,7 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializationOptions____x40_Lean_Data_Lsp_InitShutdown___hyg_250____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonCompletionItemCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_41____spec__1(x_1, x_8); +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_CodeActions_0__Lean_Lsp_fromJsonCodeActionOptions____x40_Lean_Data_Lsp_CodeActions___hyg_611____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -878,38 +877,6 @@ return x_3; } else { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_4 = lean_ctor_get(x_2, 0); -x_5 = lean_unsigned_to_nat(0u); -lean_inc(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_4); -lean_ctor_set(x_6, 1, x_5); -x_7 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_7, 0, x_6); -x_8 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_8, 0, x_1); -lean_ctor_set(x_8, 1, x_7); -x_9 = lean_box(0); -x_10 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_10, 0, x_8); -lean_ctor_set(x_10, 1, x_9); -return x_10; -} -} -} -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2(lean_object* x_1, lean_object* x_2) { -_start: -{ -if (lean_obj_tag(x_2) == 0) -{ -lean_object* x_3; -lean_dec(x_1); -x_3 = lean_box(0); -return x_3; -} -else -{ lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_2, 0); x_5 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27_(x_4); @@ -924,7 +891,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -952,7 +919,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__5(size_t x_1, size_t x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4(size_t x_1, size_t x_2, lean_object* x_3) { _start: { uint8_t x_4; @@ -978,7 +945,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__3(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_2) == 0) @@ -998,7 +965,7 @@ x_5 = lean_array_get_size(x_4); x_6 = lean_usize_of_nat(x_5); lean_dec(x_5); x_7 = 0; -x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__5(x_6, x_7, x_4); +x_8 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4(x_6, x_7, x_4); x_9 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_9, 0, x_8); x_10 = lean_alloc_ctor(0, 2, 0); @@ -1147,25 +1114,25 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_obj x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__1; -x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__1(x_3, x_2); +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491____spec__1(x_3, x_2); lean_dec(x_2); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); x_6 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__2; -x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2(x_6, x_5); +x_7 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__1(x_6, x_5); lean_dec(x_5); x_8 = lean_ctor_get(x_1, 2); lean_inc(x_8); x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__3; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_9, x_8); +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_9, x_8); lean_dec(x_8); x_11 = lean_ctor_get(x_1, 3); lean_inc(x_11); x_12 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__4; -x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__3(x_12, x_11); +x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2(x_12, x_11); x_14 = lean_ctor_get(x_1, 4); lean_inc(x_14); -x_15 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_409_(x_14); +x_15 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_780_(x_14); x_16 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__5; x_17 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_17, 0, x_16); @@ -1179,7 +1146,7 @@ x_21 = lean_ctor_get(x_1, 5); lean_inc(x_21); lean_dec(x_1); x_22 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__6; -x_23 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4(x_22, x_21); +x_23 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__3(x_22, x_21); x_24 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_24, 0, x_23); lean_ctor_set(x_24, 1, x_18); @@ -1274,16 +1241,7 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__2(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { size_t x_4; size_t x_5; lean_object* x_6; @@ -1291,7 +1249,7 @@ x_4 = lean_unbox_usize(x_1); lean_dec(x_1); x_5 = lean_unbox_usize(x_2); lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__5(x_4, x_5, x_3); +x_6 = l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____spec__4(x_4, x_5, x_3); return x_6; } } @@ -1346,7 +1304,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_435_(x_3); +x_4 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonClientCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_810_(x_3); lean_dec(x_3); return x_4; } @@ -2562,7 +2520,7 @@ x_8 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_8, 0, x_6); lean_ctor_set(x_8, 1, x_7); x_9 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27____closed__2; -x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_9, x_3); +x_10 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_9, x_3); x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_10); lean_ctor_set(x_11, 1, x_7); @@ -2631,7 +2589,7 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); x_8 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonClientInfo____x40_Lean_Data_Lsp_InitShutdown___hyg_27____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_8); +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -2756,7 +2714,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_607_(x_2); +x_3 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_toJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1010_(x_2); x_4 = l___private_Lean_Data_Lsp_InitShutdown_0__Lean_Lsp_toJsonInitializeParams____x40_Lean_Data_Lsp_InitShutdown___hyg_407____closed__5; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -2812,7 +2770,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_736_(x_3); +x_4 = l___private_Lean_Data_Lsp_Capabilities_0__Lean_Lsp_fromJsonServerCapabilities____x40_Lean_Data_Lsp_Capabilities___hyg_1143_(x_3); lean_dec(x_3); return x_4; } diff --git a/stage0/stdlib/Lean/Data/Lsp/Ipc.c b/stage0/stdlib/Lean/Data/Lsp/Ipc.c index d2fae444c7..f20492dcdc 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Ipc.c +++ b/stage0/stdlib/Lean/Data/Lsp/Ipc.c @@ -20,7 +20,7 @@ uint8_t l___private_Lean_Data_JsonRpc_0__Lean_JsonRpc_beqRequestID____x40_Lean_D LEAN_EXPORT lean_object* l_IO_FS_Stream_writeLspRequest___at_Lean_Lsp_Ipc_collectDiagnostics___spec__2(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_Ipc_ipcStdioConfig___closed__1; static lean_object* l_Lean_Lsp_Ipc_collectDiagnostics___closed__1; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_Ipc_readResponseAs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Lsp_Ipc_collectDiagnostics___spec__3(lean_object*); lean_object* l_IO_FS_Stream_readLspMessage(lean_object*, lean_object*); @@ -311,7 +311,7 @@ lean_inc(x_18); lean_dec(x_17); x_19 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_19, 0, x_18); -x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_(x_19); +x_20 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_(x_19); if (lean_obj_tag(x_20) == 0) { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; @@ -408,7 +408,7 @@ lean_inc(x_42); lean_dec(x_17); x_43 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_43, 0, x_42); -x_44 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_(x_43); +x_44 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_(x_43); if (lean_obj_tag(x_44) == 0) { lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; @@ -541,7 +541,7 @@ lean_inc(x_74); lean_dec(x_73); x_75 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_75, 0, x_74); -x_76 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_(x_75); +x_76 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_(x_75); if (lean_obj_tag(x_76) == 0) { lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; @@ -633,7 +633,7 @@ lean_inc(x_96); lean_dec(x_73); x_97 = lean_alloc_ctor(5, 1, 0); lean_ctor_set(x_97, 0, x_96); -x_98 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1475_(x_97); +x_98 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1535_(x_97); if (lean_obj_tag(x_98) == 0) { 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; diff --git a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c index 971a5d45ae..6ee9fbf6ce 100644 --- a/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c +++ b/stage0/stdlib/Lean/Data/Lsp/LanguageFeatures.c @@ -36,6 +36,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionItemKind(uint8_t); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__88; static lean_object* l_Lean_Lsp_instToJsonReferenceContext___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__15___boxed(lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5955____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__4___boxed(lean_object*, lean_object*, lean_object*); @@ -158,6 +159,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__92; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__134; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3493____closed__25; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__1___boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461____closed__3; @@ -292,6 +294,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionOptions_triggerCharacters_x3f___de LEAN_EXPORT lean_object* l_Lean_Lsp_instReprCompletionItemKind; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDocumentHighlightParams; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensLegend____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5253_(lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenModifier____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4670____closed__3; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenModifier____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4753____lambda__7(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenModifier____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4753____lambda__9___closed__1; @@ -355,7 +358,6 @@ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprC LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1651____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__116; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__112; -lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonSemanticTokenModifier; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3493____closed__16; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__4(lean_object*, lean_object*, lean_object*); @@ -406,6 +408,7 @@ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprC static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1651____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenModifier____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4753____lambda__5___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__90; +lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__17___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__23; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__17___closed__1; @@ -420,7 +423,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_ LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461____spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__41; LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolKind_toCtorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1573____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__23___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentSymbolAux____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3198_(lean_object*); @@ -493,7 +495,7 @@ static lean_object* l_Lean_Lsp_instFromJsonSemanticTokensOptions___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__130; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3493____closed__11; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__99; -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__33; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3493____closed__31; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2505____spec__1___boxed(lean_object*, lean_object*); @@ -516,7 +518,7 @@ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJ static lean_object* l_Lean_Lsp_instFromJsonCompletionOptions___closed__1; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__29; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461_(lean_object*); -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_CompletionItemKind_toCtorIdx(uint8_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonCompletionParams; LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentSymbolAux_detail_x3f___default; @@ -551,7 +553,6 @@ static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprC static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3667____lambda__9___closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_DocumentHighlightKind_noConfusion___rarg(uint8_t, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonHoverParams; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5378____closed__1; LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toNat(uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenModifier____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4753____lambda__9(lean_object*, lean_object*, lean_object*); @@ -607,7 +608,7 @@ static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__39; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1651____spec__2(size_t, size_t, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3493____closed__34; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenModifier____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4670____closed__12; -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__11; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonFoldingRangeParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5826____boxed(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3493____closed__21; @@ -681,7 +682,6 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_SemanticTokenModifier_toCtorIdx___boxed(lean LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonTypeDefinitionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2308_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokenType____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3493____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSemanticTokensParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5556_(lean_object*); -lean_object* l_Lean_Json_getBool_x3f(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5724____spec__2(size_t, size_t, lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__1; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__109; @@ -731,14 +731,12 @@ static lean_object* l_Lean_Lsp_SemanticTokenType_names___closed__9; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonFoldingRange____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5955_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceContext____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2417____closed__1; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5724_(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__9; static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__40; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceContext____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2417____boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDeclarationParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2090____boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonSymbolKind___closed__27; -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_SymbolTag_noConfusion(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokenModifier____x40_Lean_Data_Lsp_LanguageFeatures___hyg_4753____lambda__1___closed__2; static lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_reprCompletionItemKind____x40_Lean_Data_Lsp_LanguageFeatures___hyg_311____closed__65; @@ -1005,16 +1003,6 @@ return x_25; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l_Lean_Json_getBool_x3f(x_3); -lean_dec(x_3); -return x_4; -} -} static lean_object* _init_l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____closed__1() { _start: { @@ -1099,7 +1087,7 @@ x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____closed__3; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_14); +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_14); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -1181,16 +1169,6 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____boxed(lean_object* x_1) { _start: { @@ -4440,7 +4418,7 @@ return x_4; else { lean_object* x_5; -x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641_(x_3); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075_(x_3); lean_dec(x_3); if (lean_obj_tag(x_5) == 0) { @@ -4702,7 +4680,7 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_8); +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -4922,7 +4900,7 @@ else { lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_2, 0); -x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601_(x_4); +x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035_(x_4); x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_1); lean_ctor_set(x_6, 1, x_5); @@ -5024,7 +5002,7 @@ x_11 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_11, 0, x_9); lean_ctor_set(x_11, 1, x_10); x_12 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461____closed__2; -x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_12, x_3); +x_13 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_12, x_3); lean_dec(x_3); x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461____closed__3; x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1573____spec__1(x_14, x_4); @@ -5222,7 +5200,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionList____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1651____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -5451,7 +5429,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -5561,7 +5539,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -5638,7 +5616,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2601_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4035_(x_2); lean_dec(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1879____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); @@ -5685,7 +5663,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_2641_(x_3); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonMarkupContent____x40_Lean_Data_Lsp_Basic___hyg_4075_(x_3); lean_dec(x_3); return x_4; } @@ -5814,7 +5792,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -5924,7 +5902,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -5976,7 +5954,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -6086,7 +6064,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -6138,7 +6116,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -6248,7 +6226,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -6300,7 +6278,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -6410,7 +6388,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -6470,7 +6448,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonReferenceContext____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2417____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -6607,7 +6585,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -6765,7 +6743,7 @@ x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_3); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_3); x_5 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_6 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_6, 0, x_5); @@ -6950,7 +6928,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -7060,7 +7038,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -7389,7 +7367,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -7459,7 +7437,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_ _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; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_1); x_3 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); @@ -8448,7 +8426,7 @@ x_13 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_13, 0, x_11); lean_ctor_set(x_13, 1, x_12); x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461____closed__2; -x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_14, x_4); +x_15 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_14, x_4); lean_dec(x_4); x_16 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_6); x_17 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1879____closed__2; @@ -8809,7 +8787,7 @@ x_12 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_12, 0, x_10); lean_ctor_set(x_12, 1, x_11); x_13 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionItem____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1461____closed__2; -x_14 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_13, x_3); +x_14 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_13, x_3); lean_dec(x_3); x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_5); x_16 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1879____closed__2; @@ -9288,7 +9266,7 @@ x_23 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_23, 0, x_22); lean_ctor_set(x_23, 1, x_10); x_24 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonSymbolInformation____x40_Lean_Data_Lsp_LanguageFeatures___hyg_3423____closed__3; -x_25 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_24, x_6); +x_25 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_24, x_6); lean_dec(x_6); x_26 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_26, 0, x_25); @@ -13497,7 +13475,7 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); x_8 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonHover____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1879____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_8); +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; @@ -13525,7 +13503,7 @@ x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); x_14 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokensOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5378____closed__2; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionOptions____x40_Lean_Data_Lsp_LanguageFeatures___hyg_43____spec__3(x_1, x_14); +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_14); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -13695,7 +13673,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -13765,7 +13743,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_ _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; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_1); x_3 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); @@ -13803,7 +13781,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -13913,7 +13891,7 @@ _start: lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_2); x_4 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -14081,7 +14059,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5724____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2264____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1480____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -14223,7 +14201,7 @@ lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_obj x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); x_3 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonSemanticTokens____x40_Lean_Data_Lsp_LanguageFeatures___hyg_5724____closed__1; -x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonDocumentFilter____x40_Lean_Data_Lsp_Basic___hyg_2234____spec__1(x_3, x_2); +x_4 = l_Lean_Json_opt___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextEdit____x40_Lean_Data_Lsp_Basic___hyg_1436____spec__1(x_3, x_2); lean_dec(x_2); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); @@ -14287,7 +14265,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -14357,7 +14335,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_ _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; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_1); x_3 = l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonCompletionParams____x40_Lean_Data_Lsp_LanguageFeatures___hyg_1760____closed__1; x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); diff --git a/stage0/stdlib/Lean/Data/Lsp/TextSync.c b/stage0/stdlib/Lean/Data/Lsp/TextSync.c index 587d81d83e..c4da2aefe2 100644 --- a/stage0/stdlib/Lean/Data/Lsp/TextSync.c +++ b/stage0/stdlib/Lean/Data/Lsp/TextSync.c @@ -15,6 +15,7 @@ extern "C" { #endif static lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__2; static lean_object* l_Lean_Lsp_instToJsonDidOpenTextDocumentParams___closed__1; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentContentChangeEvent___closed__2; static lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__4; @@ -24,6 +25,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentContentChangeEvent__ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_549____boxed(lean_object*); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Lsp_instFromJsonTextDocumentContentChangeEvent___closed__1; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonSaveOptions; lean_object* l_Lean_Json_getNat_x3f(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -40,8 +42,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJson static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__7; static lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__3; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___boxed(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1___boxed(lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1(lean_object*, lean_object*); lean_object* l_List_join___rarg(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncKind(lean_object*); @@ -49,9 +49,10 @@ static lean_object* l_Lean_Lsp_instToJsonSaveOptions___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncOptions; LEAN_EXPORT lean_object* l_Lean_Lsp_TextDocumentSyncKind_toCtorIdx(uint8_t); -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892_(lean_object*); -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_440____closed__1; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__10; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDidCloseTextDocumentParams; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -60,7 +61,6 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind(uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_480____spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDidOpenTextDocumentParams; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_480____spec__2___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_809____boxed(lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at_Lean_JsonRpc_instFromJsonMessage___spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentChangeRegistrationOptions____x40_Lean_Data_Lsp_TextSync___hyg_214____closed__1; @@ -72,7 +72,7 @@ static lean_object* l_Lean_Lsp_instFromJsonDidChangeTextDocumentParams___closed_ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidCloseTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_658_(lean_object*); size_t lean_usize_of_nat(lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentChangeRegistrationOptions____x40_Lean_Data_Lsp_TextSync___hyg_214____closed__2; -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDidChangeTextDocumentParams; static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_480____spec__1___closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_TextDocumentSyncKind_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -100,7 +100,7 @@ static lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncKind___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidCloseTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_658____boxed(lean_object*); static lean_object* l_Lean_Lsp_instToJsonDidCloseTextDocumentParams___closed__1; static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__3; -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1(lean_object*, lean_object*); +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1(lean_object*, lean_object*); lean_object* l_Lean_Json_pretty(lean_object*, lean_object*); static lean_object* l_Lean_Lsp_instToJsonDidChangeTextDocumentParams___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidCloseTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_629_(lean_object*); @@ -114,7 +114,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJson LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_124_(lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__2; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentContentChangeEvent(lean_object*); -lean_object* l_Lean_Json_getBool_x3f(lean_object*); static lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__1; static lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncKind___closed__4; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentSyncKind___boxed(lean_object*); @@ -122,10 +121,9 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJson lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonTextDocumentChangeRegistrationOptions; LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidChangeTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_480_(lean_object*); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__8; static lean_object* l_Lean_Lsp_instFromJsonDidOpenTextDocumentParams___closed__1; -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonDidOpenTextDocumentParams; LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonDidCloseTextDocumentParams; static lean_object* l_Lean_Lsp_instToJsonTextDocumentSyncKind___closed__6; @@ -453,7 +451,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDi _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; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1892_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3326_(x_1); x_3 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_124____closed__1; x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); @@ -491,7 +489,7 @@ _start: { lean_object* x_3; lean_object* x_4; x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_1954_(x_3); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentItem____x40_Lean_Data_Lsp_Basic___hyg_3388_(x_3); lean_dec(x_3); return x_4; } @@ -670,7 +668,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonTextDocumentChangeRegistrationOptions____x40_Lean_Data_Lsp_TextSync___hyg_214____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_2474____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentRegistrationOptions____x40_Lean_Data_Lsp_Basic___hyg_3908____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -1072,7 +1070,7 @@ _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; size_t x_10; size_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; x_2 = lean_ctor_get(x_1, 0); lean_inc(x_2); -x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1649_(x_2); +x_3 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1721_(x_2); x_4 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_124____closed__1; x_5 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_5, 0, x_4); @@ -1307,7 +1305,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_124____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1799____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentEdit____x40_Lean_Data_Lsp_Basic___hyg_1871____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -1471,22 +1469,12 @@ x_1 = l_Lean_Lsp_instToJsonSaveOptions___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; lean_object* x_4; -x_3 = l_Lean_Json_getObjValD(x_1, x_2); -x_4 = l_Lean_Json_getBool_x3f(x_3); -lean_dec(x_3); -return x_4; -} -} LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_549____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -1527,16 +1515,6 @@ return x_9; } } } -LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1(x_1, x_2); -lean_dec(x_2); -lean_dec(x_1); -return x_3; -} -} LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____boxed(lean_object* x_1) { _start: { @@ -1566,7 +1544,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDi _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; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1559_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1631_(x_1); x_3 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_124____closed__1; x_4 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_4, 0, x_3); @@ -1604,7 +1582,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_124____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -2011,7 +1989,7 @@ _start: { lean_object* x_2; lean_object* x_3; x_2 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__1; -x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1(x_1, x_2); +x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -2066,7 +2044,7 @@ x_13 = lean_ctor_get(x_9, 0); lean_inc(x_13); lean_dec(x_9); x_14 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__2; -x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1(x_1, x_14); +x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_14); if (lean_obj_tag(x_15) == 0) { uint8_t x_16; @@ -2095,7 +2073,7 @@ x_19 = lean_ctor_get(x_15, 0); lean_inc(x_19); lean_dec(x_15); x_20 = l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_toJsonTextDocumentSyncOptions____x40_Lean_Data_Lsp_TextSync___hyg_743____closed__3; -x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonSaveOptions____x40_Lean_Data_Lsp_TextSync___hyg_578____spec__1(x_1, x_20); +x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonChangeAnnotation____x40_Lean_Data_Lsp_Basic___hyg_2003____spec__1(x_1, x_20); if (lean_obj_tag(x_21) == 0) { uint8_t x_22; diff --git a/stage0/stdlib/Lean/Data/Lsp/Workspace.c b/stage0/stdlib/Lean/Data/Lsp/Workspace.c index 334e7efd85..6d4960bb98 100644 --- a/stage0/stdlib/Lean/Data/Lsp/Workspace.c +++ b/stage0/stdlib/Lean/Data/Lsp/Workspace.c @@ -42,7 +42,6 @@ static lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFile static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__2; lean_object* l_List_join___rarg(lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_toJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_622____spec__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonWorkspaceFolder____x40_Lean_Data_Lsp_Workspace___hyg_64____boxed(lean_object*); static lean_object* l_Lean_Lsp_instFromJsonFileChangeType___closed__4; @@ -58,6 +57,7 @@ static lean_object* l_Lean_Lsp_instFromJsonWorkspaceFolder___closed__1; static lean_object* l_Lean_Lsp_instToJsonFileChangeType___closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonDidChangeWatchedFilesParams____x40_Lean_Data_Lsp_Workspace___hyg_582____spec__2(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFromJsonFileSystemWatcher; +lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileEvent____x40_Lean_Data_Lsp_Workspace___hyg_472____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFileEvent; LEAN_EXPORT lean_object* l_Lean_Lsp_instToJsonFileSystemWatcher; @@ -368,7 +368,7 @@ x_7 = lean_ctor_get(x_3, 0); lean_inc(x_7); lean_dec(x_3); x_8 = l___private_Lean_Data_Lsp_Workspace_0__Lean_Lsp_fromJsonFileSystemWatcher____x40_Lean_Data_Lsp_Workspace___hyg_143____closed__2; -x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1682____spec__1(x_1, x_8); +x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonVersionedTextDocumentIdentifier____x40_Lean_Data_Lsp_Basic___hyg_1754____spec__1(x_1, x_8); if (lean_obj_tag(x_9) == 0) { uint8_t x_10; diff --git a/stage0/stdlib/Lean/Elab/App.c b/stage0/stdlib/Lean/Elab/App.c index 264f4e10fc..7fc67ccbb1 100644 --- a/stage0/stdlib/Lean/Elab/App.c +++ b/stage0/stdlib/Lean/Elab/App.c @@ -134,7 +134,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabDotIdent_declRange___close LEAN_EXPORT uint8_t l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_isNextOutParamOfLocalInstanceAndResult_isResultType(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_shouldPropagateExpectedTypeFor___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_App_0__Lean_Elab_Term_resolveLVal___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_toMessageList(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Term_elabAppArgs_elabAsElim_x3f___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -16843,15 +16843,16 @@ return x_19; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_App_0__Lean_Elab_Term_ElabAppArgs_processExplictArg___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { diff --git a/stage0/stdlib/Lean/Elab/AuxDef.c b/stage0/stdlib/Lean/Elab/AuxDef.c index 79ca442bca..ca83510561 100644 --- a/stage0/stdlib/Lean/Elab/AuxDef.c +++ b/stage0/stdlib/Lean/Elab/AuxDef.c @@ -29,7 +29,7 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___boxed(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabAuxDef_declRange___closed__7; static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__1; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); extern lean_object* l_Lean_Elab_Command_commandElabAttribute; static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__13; static lean_object* l_Lean_Elab_Command_aux__def___closed__43; @@ -44,7 +44,7 @@ LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command static lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__8; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_aux__def___closed__35; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_aux__def___closed__16; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -772,25 +772,27 @@ x_4 = l_Lean_Elab_Command_getRef(x_1, x_2, x_3); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_SourceInfo_fromRef(x_6); -lean_ctor_set(x_4, 0, x_7); +x_7 = 0; +x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7); +lean_ctor_set(x_4, 0, x_8); return x_4; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 1); +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_dec(x_4); -x_10 = l_Lean_SourceInfo_fromRef(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_9, 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); +return x_13; } } } @@ -1020,7 +1022,7 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabAuxDef___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; 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_140; size_t x_141; size_t x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; uint8_t x_146; lean_object* x_147; +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_141; size_t x_142; size_t x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; uint8_t x_147; lean_object* x_148; x_9 = lean_unsigned_to_nat(3u); x_10 = l_Lean_Syntax_getArg(x_1, x_9); x_11 = lean_unsigned_to_nat(5u); @@ -1029,74 +1031,74 @@ x_13 = lean_unsigned_to_nat(7u); x_14 = l_Lean_Syntax_getArg(x_1, x_13); x_15 = l_Lean_Syntax_getArgs(x_10); lean_dec(x_10); -x_140 = lean_array_get_size(x_15); -x_141 = lean_usize_of_nat(x_140); -lean_dec(x_140); -x_142 = 0; +x_141 = lean_array_get_size(x_15); +x_142 = lean_usize_of_nat(x_141); +lean_dec(x_141); +x_143 = 0; lean_inc(x_15); -x_143 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5(x_141, x_142, x_15); -x_144 = lean_array_get_size(x_143); -x_145 = lean_unsigned_to_nat(0u); -x_146 = lean_nat_dec_lt(x_145, x_144); -x_147 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_8); -if (x_146 == 0) +x_144 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabAuxDef___spec__5(x_142, x_143, x_15); +x_145 = lean_array_get_size(x_144); +x_146 = lean_unsigned_to_nat(0u); +x_147 = lean_nat_dec_lt(x_146, x_145); +x_148 = l_Lean_Elab_Command_getMainModule___rarg(x_7, x_8); +if (x_147 == 0) { -lean_object* x_148; lean_object* x_149; lean_object* x_150; +lean_object* x_149; lean_object* x_150; lean_object* x_151; +lean_dec(x_145); lean_dec(x_144); -lean_dec(x_143); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -x_149 = lean_ctor_get(x_147, 1); +x_149 = lean_ctor_get(x_148, 0); lean_inc(x_149); -lean_dec(x_147); -x_150 = lean_box(0); -x_16 = x_150; -x_17 = x_148; -x_18 = x_149; -goto block_139; +x_150 = lean_ctor_get(x_148, 1); +lean_inc(x_150); +lean_dec(x_148); +x_151 = lean_box(0); +x_16 = x_151; +x_17 = x_149; +x_18 = x_150; +goto block_140; } else { -uint8_t x_151; -x_151 = lean_nat_dec_le(x_144, x_144); -if (x_151 == 0) +uint8_t x_152; +x_152 = lean_nat_dec_le(x_145, x_145); +if (x_152 == 0) { -lean_object* x_152; lean_object* x_153; lean_object* x_154; +lean_object* x_153; lean_object* x_154; lean_object* x_155; +lean_dec(x_145); lean_dec(x_144); -lean_dec(x_143); -x_152 = lean_ctor_get(x_147, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_147, 1); +x_153 = lean_ctor_get(x_148, 0); lean_inc(x_153); -lean_dec(x_147); -x_154 = lean_box(0); -x_16 = x_154; -x_17 = x_152; -x_18 = x_153; -goto block_139; +x_154 = lean_ctor_get(x_148, 1); +lean_inc(x_154); +lean_dec(x_148); +x_155 = lean_box(0); +x_16 = x_155; +x_17 = x_153; +x_18 = x_154; +goto block_140; } else { -lean_object* x_155; lean_object* x_156; size_t x_157; lean_object* x_158; lean_object* x_159; -x_155 = lean_ctor_get(x_147, 0); -lean_inc(x_155); -x_156 = lean_ctor_get(x_147, 1); +lean_object* x_156; lean_object* x_157; size_t x_158; lean_object* x_159; lean_object* x_160; +x_156 = lean_ctor_get(x_148, 0); lean_inc(x_156); -lean_dec(x_147); -x_157 = lean_usize_of_nat(x_144); +x_157 = lean_ctor_get(x_148, 1); +lean_inc(x_157); +lean_dec(x_148); +x_158 = lean_usize_of_nat(x_145); +lean_dec(x_145); +x_159 = lean_box(0); +x_160 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6(x_144, x_143, x_158, x_159); lean_dec(x_144); -x_158 = lean_box(0); -x_159 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabAuxDef___spec__6(x_143, x_142, x_157, x_158); -lean_dec(x_143); -x_16 = x_159; -x_17 = x_155; -x_18 = x_156; -goto block_139; +x_16 = x_160; +x_17 = x_156; +x_18 = x_157; +goto block_140; } } -block_139: +block_140: { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; 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; x_19 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__2; x_20 = l_Lean_Name_append(x_19, x_17); x_21 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__4; @@ -1177,174 +1179,175 @@ x_64 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_64, 0, x_63); lean_ctor_set(x_64, 1, x_55); lean_ctor_set(x_64, 2, x_15); -x_65 = l_Lean_mkIdentFrom(x_64, x_39); -x_66 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__13; -x_67 = lean_array_push(x_66, x_65); +x_65 = 1; +x_66 = l_Lean_mkIdentFrom(x_64, x_39, x_65); +x_67 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__13; +x_68 = lean_array_push(x_67, x_66); lean_inc(x_57); -x_68 = lean_array_push(x_67, x_57); +x_69 = lean_array_push(x_68, x_57); lean_inc(x_41); -x_69 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_69, 0, x_41); -lean_ctor_set(x_69, 1, x_62); -lean_ctor_set(x_69, 2, x_68); -x_70 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__14; +x_70 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_70, 0, x_41); +lean_ctor_set(x_70, 1, x_62); +lean_ctor_set(x_70, 2, x_69); +x_71 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__14; lean_inc(x_50); -x_71 = l_Lean_Name_str___override(x_50, x_70); -x_72 = l_Lean_Elab_Command_aux__def___closed__20; -x_73 = l_Lean_Name_str___override(x_48, x_72); -x_74 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__15; -x_75 = l_Lean_Name_str___override(x_73, x_74); -x_76 = l_Lean_Elab_Command_aux__def___closed__36; +x_72 = l_Lean_Name_str___override(x_50, x_71); +x_73 = l_Lean_Elab_Command_aux__def___closed__20; +x_74 = l_Lean_Name_str___override(x_48, x_73); +x_75 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__15; +x_76 = l_Lean_Name_str___override(x_74, x_75); +x_77 = l_Lean_Elab_Command_aux__def___closed__36; lean_inc(x_41); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_41); -lean_ctor_set(x_77, 1, x_76); -x_78 = lean_array_push(x_66, x_77); -x_79 = lean_array_push(x_78, x_12); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_41); +lean_ctor_set(x_78, 1, x_77); +x_79 = lean_array_push(x_67, x_78); +x_80 = lean_array_push(x_79, x_12); lean_inc(x_41); -x_80 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_80, 0, x_41); -lean_ctor_set(x_80, 1, x_75); -lean_ctor_set(x_80, 2, x_79); -x_81 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__16; -x_82 = lean_array_push(x_81, x_80); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_41); +lean_ctor_set(x_81, 1, x_76); +lean_ctor_set(x_81, 2, x_80); +x_82 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__16; +x_83 = lean_array_push(x_82, x_81); lean_inc(x_41); -x_83 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_83, 0, x_41); -lean_ctor_set(x_83, 1, x_55); -lean_ctor_set(x_83, 2, x_82); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_41); +lean_ctor_set(x_84, 1, x_55); +lean_ctor_set(x_84, 2, x_83); lean_inc(x_57); -x_84 = lean_array_push(x_66, x_57); -x_85 = lean_array_push(x_84, x_83); +x_85 = lean_array_push(x_67, x_57); +x_86 = lean_array_push(x_85, x_84); lean_inc(x_41); -x_86 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_86, 0, x_41); -lean_ctor_set(x_86, 1, x_71); -lean_ctor_set(x_86, 2, x_85); -x_87 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__17; -x_88 = l_Lean_Name_str___override(x_50, x_87); -x_89 = l_Lean_Elab_Command_aux__def___closed__43; +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_41); +lean_ctor_set(x_87, 1, x_72); +lean_ctor_set(x_87, 2, x_86); +x_88 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__17; +x_89 = l_Lean_Name_str___override(x_50, x_88); +x_90 = l_Lean_Elab_Command_aux__def___closed__43; lean_inc(x_41); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_41); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__18; -x_92 = lean_array_push(x_91, x_90); -x_93 = lean_array_push(x_92, x_14); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_41); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__18; +x_93 = lean_array_push(x_92, x_91); +x_94 = lean_array_push(x_93, x_14); lean_inc(x_57); -x_94 = lean_array_push(x_93, x_57); +x_95 = lean_array_push(x_94, x_57); lean_inc(x_41); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_41); -lean_ctor_set(x_95, 1, x_88); -lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__19; -x_97 = lean_array_push(x_96, x_60); -x_98 = lean_array_push(x_97, x_69); -x_99 = lean_array_push(x_98, x_86); -x_100 = lean_array_push(x_99, x_95); -lean_inc(x_57); -x_101 = lean_array_push(x_100, x_57); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_41); +lean_ctor_set(x_96, 1, x_89); +lean_ctor_set(x_96, 2, x_95); +x_97 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__19; +x_98 = lean_array_push(x_97, x_60); +x_99 = lean_array_push(x_98, x_70); +x_100 = lean_array_push(x_99, x_87); +x_101 = lean_array_push(x_100, x_96); lean_inc(x_57); x_102 = lean_array_push(x_101, x_57); lean_inc(x_57); x_103 = lean_array_push(x_102, x_57); +lean_inc(x_57); +x_104 = lean_array_push(x_103, x_57); lean_inc(x_41); -x_104 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_104, 0, x_41); -lean_ctor_set(x_104, 1, x_59); -lean_ctor_set(x_104, 2, x_103); +x_105 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_105, 0, x_41); +lean_ctor_set(x_105, 1, x_59); +lean_ctor_set(x_105, 2, x_104); if (lean_obj_tag(x_3) == 0) { -x_105 = x_56; -goto block_136; +x_106 = x_56; +goto block_137; } else { -lean_object* x_137; lean_object* x_138; -x_137 = lean_ctor_get(x_3, 0); -lean_inc(x_137); +lean_object* x_138; lean_object* x_139; +x_138 = lean_ctor_get(x_3, 0); +lean_inc(x_138); lean_dec(x_3); -x_138 = lean_array_push(x_81, x_137); -x_105 = x_138; -goto block_136; +x_139 = lean_array_push(x_82, x_138); +x_106 = x_139; +goto block_137; } -block_136: +block_137: { -lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_106 = l_Array_append___rarg(x_56, x_105); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_107 = l_Array_append___rarg(x_56, x_106); lean_inc(x_41); -x_107 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_107, 0, x_41); -lean_ctor_set(x_107, 1, x_55); -lean_ctor_set(x_107, 2, x_106); -x_108 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__10; -x_109 = lean_array_push(x_108, x_107); +x_108 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_108, 0, x_41); +lean_ctor_set(x_108, 1, x_55); +lean_ctor_set(x_108, 2, x_107); +x_109 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__10; +x_110 = lean_array_push(x_109, x_108); if (lean_obj_tag(x_5) == 0) { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_110 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__20; +lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; +x_111 = l_Lean_Elab_Command_elabAuxDef___lambda__1___closed__20; lean_inc(x_41); -x_111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_111, 0, x_41); -lean_ctor_set(x_111, 1, x_55); -lean_ctor_set(x_111, 2, x_110); -x_112 = lean_array_push(x_109, x_111); -lean_inc(x_57); -x_113 = lean_array_push(x_112, x_57); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_41); +lean_ctor_set(x_112, 1, x_55); +lean_ctor_set(x_112, 2, x_111); +x_113 = lean_array_push(x_110, x_112); lean_inc(x_57); x_114 = lean_array_push(x_113, x_57); lean_inc(x_57); x_115 = lean_array_push(x_114, x_57); +lean_inc(x_57); x_116 = lean_array_push(x_115, x_57); +x_117 = lean_array_push(x_116, x_57); lean_inc(x_41); -x_117 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_117, 0, x_41); -lean_ctor_set(x_117, 1, x_54); -lean_ctor_set(x_117, 2, x_116); -x_118 = lean_array_push(x_66, x_117); -x_119 = lean_array_push(x_118, x_104); -x_120 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_120, 0, x_41); -lean_ctor_set(x_120, 1, x_52); -lean_ctor_set(x_120, 2, x_119); -x_121 = l_Lean_Elab_Command_elabCommand(x_120, x_6, x_7, x_46); -return x_121; +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_41); +lean_ctor_set(x_118, 1, x_54); +lean_ctor_set(x_118, 2, x_117); +x_119 = lean_array_push(x_67, x_118); +x_120 = lean_array_push(x_119, x_105); +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_41); +lean_ctor_set(x_121, 1, x_52); +lean_ctor_set(x_121, 2, x_120); +x_122 = l_Lean_Elab_Command_elabCommand(x_121, x_6, x_7, x_46); +return x_122; } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_122 = lean_ctor_get(x_5, 0); -lean_inc(x_122); +lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_123 = lean_ctor_get(x_5, 0); +lean_inc(x_123); lean_dec(x_5); -x_123 = lean_array_push(x_81, x_122); -x_124 = l_Array_append___rarg(x_56, x_123); +x_124 = lean_array_push(x_82, x_123); +x_125 = l_Array_append___rarg(x_56, x_124); lean_inc(x_41); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_41); -lean_ctor_set(x_125, 1, x_55); -lean_ctor_set(x_125, 2, x_124); -x_126 = lean_array_push(x_109, x_125); -lean_inc(x_57); -x_127 = lean_array_push(x_126, x_57); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_41); +lean_ctor_set(x_126, 1, x_55); +lean_ctor_set(x_126, 2, x_125); +x_127 = lean_array_push(x_110, x_126); lean_inc(x_57); x_128 = lean_array_push(x_127, x_57); lean_inc(x_57); x_129 = lean_array_push(x_128, x_57); +lean_inc(x_57); x_130 = lean_array_push(x_129, x_57); +x_131 = lean_array_push(x_130, x_57); lean_inc(x_41); -x_131 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_131, 0, x_41); -lean_ctor_set(x_131, 1, x_54); -lean_ctor_set(x_131, 2, x_130); -x_132 = lean_array_push(x_66, x_131); -x_133 = lean_array_push(x_132, x_104); -x_134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_134, 0, x_41); -lean_ctor_set(x_134, 1, x_52); -lean_ctor_set(x_134, 2, x_133); -x_135 = l_Lean_Elab_Command_elabCommand(x_134, x_6, x_7, x_46); -return x_135; +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_41); +lean_ctor_set(x_132, 1, x_54); +lean_ctor_set(x_132, 2, x_131); +x_133 = lean_array_push(x_67, x_132); +x_134 = lean_array_push(x_133, x_105); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_41); +lean_ctor_set(x_135, 1, x_52); +lean_ctor_set(x_135, 2, x_134); +x_136 = l_Lean_Elab_Command_elabCommand(x_135, x_6, x_7, x_46); +return x_136; } } } diff --git a/stage0/stdlib/Lean/Elab/Binders.c b/stage0/stdlib/Lean/Elab/Binders.c index def7c08caa..f0fedbc687 100644 --- a/stage0/stdlib/Lean/Elab/Binders.c +++ b/stage0/stdlib/Lean/Elab/Binders.c @@ -45,7 +45,7 @@ lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_o lean_object* lean_erase_macro_scopes(lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__1; static lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__1___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLCtx___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__3___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabLetDeclAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -149,20 +149,22 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetTmpDecl(lean_object*, lean_obje LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_elabFun___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_checkLocalInstanceParameters___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5(lean_object*, size_t, size_t, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__1; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabFunBinders___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_declareTacticSyntax___closed__2; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__22; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__18; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__14; static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__3; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__55; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(lean_object*, uint8_t, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandExplicitFun_declRange___closed__4; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetFunDecl_declRange___closed__5; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall___closed__1; lean_object* l_Lean_compileDecl(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__15; @@ -183,10 +185,10 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__46; lean_object* l_Lean_Meta_isClass_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabFun(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__2; lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_withAuxDecl___spec__3___rarg(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun___closed__2; LEAN_EXPORT lean_object* l_Lean_mkFreshId___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_FunBinders_elabFunBinderViews___spec__2___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3(lean_object*, size_t, size_t, lean_object*); @@ -251,7 +253,6 @@ static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic lean_object* l_Lean_Meta_restoreSynthInstanceCache(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__49; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__4; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_FunBinders_elabFunBindersAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__13; @@ -298,7 +299,6 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__33; static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__1; static lean_object* l_Lean_Elab_Term_expandForall___closed__5; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__1___rarg___closed__1; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_expandForall_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___closed__4; @@ -306,6 +306,7 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__14; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__28; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getBinderIds___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandMatchAltsWhereDecls_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__3; static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__13; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__5; static lean_object* l_Lean_Elab_Term_elabLetDeclAux___closed__1; @@ -344,8 +345,8 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunB LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(lean_object*, size_t, size_t, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun_declRange___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_10280_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_10290_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946_(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__6(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__20; @@ -363,7 +364,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclAux___lambda__7___boxed(lea static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__4; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_precheckFun___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__4; -static lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Term_elabFun_declRange___closed__6; @@ -387,7 +387,6 @@ lean_object* l_Lean_Syntax_getId(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandWhereDecls___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandLetEqnsDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabFunBinders(lean_object*); static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandMatchAltsIntoMatchAux___closed__1; static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__32; @@ -395,6 +394,7 @@ static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclCore___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow_declRange___closed__6; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__1___rarg___closed__2; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__5; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop___rarg___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_precheckFun___spec__5___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_expandWhereDecls___closed__2; @@ -491,11 +491,11 @@ extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow_declRange___closed__5; lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7(lean_object*, size_t, size_t, lean_object*, lean_object*); -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabFun___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_elabFun___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_elabForall_declRange___closed__7; @@ -528,7 +528,7 @@ lean_object* l_Lean_Syntax_getNumArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_precheckFun___spec__1___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBinderViews_loop(lean_object*); static lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__2___closed__6; -lean_object* l_Lean_mkHole(lean_object*); +lean_object* l_Lean_mkHole(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabArrow_declRange(lean_object*); extern lean_object* l_Lean_Elab_macroAttribute; @@ -729,7 +729,6 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Binders_0_ static lean_object* l___regBuiltin_Lean_Elab_Term_expandFun_declRange___closed__5; lean_object* l_Lean_throwError___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabLetDeclCore___closed__3; -static lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__1; static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__4; static lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_declareTacticSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -760,15 +759,14 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandMatchAltsIntoMatch___boxed(lean_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandForall___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandFunBinders_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange(lean_object*); lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__36; LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabFun___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__4; static lean_object* l___regBuiltin_Lean_Elab_Term_precheckFun___closed__3; uint8_t lean_string_dec_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabDepArrow_docString(lean_object*); static lean_object* l_Lean_Elab_Term_quoteAutoTactic___closed__45; @@ -795,9 +793,10 @@ return x_7; } else { -lean_object* x_8; -x_8 = l_Lean_mkHole(x_1); -return x_8; +uint8_t x_8; lean_object* x_9; +x_8 = 0; +x_9 = l_Lean_mkHole(x_1, x_8); +return x_9; } } } @@ -891,59 +890,59 @@ x_5 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___at___priva return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___rarg(x_6, x_7, x_8); -if (lean_obj_tag(x_9) == 0) +lean_object* x_10; +x_10 = l_Lean_Elab_Term_mkFreshBinderName___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__2___rarg(x_7, x_8, x_9); +if (lean_obj_tag(x_10) == 0) { -uint8_t x_10; -x_10 = !lean_is_exclusive(x_9); -if (x_10 == 0) +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) { -lean_object* x_11; lean_object* x_12; -x_11 = lean_ctor_get(x_9, 0); -x_12 = l_Lean_mkIdentFrom(x_1, x_11); -lean_ctor_set(x_9, 0, x_12); -return x_9; +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_mkIdentFrom(x_1, x_12, x_2); +lean_ctor_set(x_10, 0, x_13); +return x_10; } 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_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); +lean_inc(x_15); lean_inc(x_14); -lean_inc(x_13); -lean_dec(x_9); -x_15 = l_Lean_mkIdentFrom(x_1, x_13); -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_14); -return x_16; +lean_dec(x_10); +x_16 = l_Lean_mkIdentFrom(x_1, x_14, x_2); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; } } else { -uint8_t x_17; +uint8_t x_18; lean_dec(x_1); -x_17 = !lean_is_exclusive(x_9); -if (x_17 == 0) +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) { -return x_9; +return x_10; } else { -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_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); lean_inc(x_19); -lean_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; +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; } } } @@ -1032,6 +1031,10 @@ if (x_10 == 0) lean_object* x_11; lean_dec(x_7); lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); x_11 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_11, 0, x_1); lean_ctor_set(x_11, 1, x_8); @@ -1039,9 +1042,14 @@ return x_11; } else { -lean_object* x_12; -x_12 = l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -return x_12; +uint8_t x_12; lean_object* x_13; +x_12 = 1; +x_13 = l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(x_1, x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +return x_13; } } } @@ -1066,28 +1074,18 @@ lean_dec(x_1); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +uint8_t x_10; lean_object* x_11; +x_10 = lean_unbox(x_2); +lean_dec(x_2); +x_11 = l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(x_1, x_10, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -lean_dec(x_2); -return x_9; -} -} -LEAN_EXPORT lean_object* l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { -_start: -{ -lean_object* x_9; -x_9 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_9; +return x_11; } } static lean_object* _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandOptIdent___closed__1() { @@ -1147,48 +1145,50 @@ uint8_t x_15; x_15 = !lean_is_exclusive(x_14); if (x_15 == 0) { -lean_object* x_16; lean_object* x_17; +lean_object* x_16; uint8_t x_17; lean_object* x_18; x_16 = lean_ctor_get(x_14, 0); -x_17 = l_Lean_mkIdentFrom(x_1, x_16); -lean_ctor_set(x_14, 0, x_17); +x_17 = 0; +x_18 = l_Lean_mkIdentFrom(x_1, x_16, x_17); +lean_ctor_set(x_14, 0, x_18); return x_14; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_14, 0); -x_19 = lean_ctor_get(x_14, 1); +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +x_19 = lean_ctor_get(x_14, 0); +x_20 = lean_ctor_get(x_14, 1); +lean_inc(x_20); lean_inc(x_19); -lean_inc(x_18); lean_dec(x_14); -x_20 = l_Lean_mkIdentFrom(x_1, x_18); -x_21 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_21, 0, x_20); -lean_ctor_set(x_21, 1, x_19); -return x_21; +x_21 = 0; +x_22 = l_Lean_mkIdentFrom(x_1, x_19, x_21); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_20); +return x_23; } } else { -uint8_t x_22; +uint8_t x_24; lean_dec(x_1); -x_22 = !lean_is_exclusive(x_14); -if (x_22 == 0) +x_24 = !lean_is_exclusive(x_14); +if (x_24 == 0) { return x_14; } 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_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_14, 0); +x_26 = lean_ctor_get(x_14, 1); +lean_inc(x_26); +lean_inc(x_25); 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_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -3495,7 +3495,7 @@ lean_dec(x_8); x_29 = !lean_is_exclusive(x_28); if (x_29 == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; x_30 = lean_ctor_get(x_28, 0); x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); @@ -3511,218 +3511,220 @@ lean_ctor_set(x_37, 0, x_25); lean_ctor_set(x_37, 1, x_35); lean_ctor_set(x_37, 2, x_34); lean_ctor_set(x_37, 3, x_36); -x_38 = l_Lean_mkIdentFrom(x_20, x_22); -x_39 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -x_40 = lean_array_push(x_39, x_1); -x_41 = lean_array_push(x_40, x_38); -x_42 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_38 = 0; +x_39 = l_Lean_mkIdentFrom(x_20, x_22, x_38); +x_40 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +x_41 = lean_array_push(x_40, x_1); +x_42 = lean_array_push(x_41, x_39); +x_43 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; lean_inc(x_25); -x_43 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_43, 0, x_25); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_43, 2, x_41); -x_44 = lean_array_push(x_39, x_37); -x_45 = lean_array_push(x_44, x_43); -x_46 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_25); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_45); -lean_ctor_set(x_28, 0, x_47); +x_44 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_44, 0, x_25); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_42); +x_45 = lean_array_push(x_40, x_37); +x_46 = lean_array_push(x_45, x_44); +x_47 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_25); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_46); +lean_ctor_set(x_28, 0, x_48); return x_28; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_48 = lean_ctor_get(x_28, 0); -x_49 = lean_ctor_get(x_28, 1); -lean_inc(x_49); -lean_inc(x_48); -lean_dec(x_28); -x_50 = lean_ctor_get(x_48, 0); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; +x_49 = lean_ctor_get(x_28, 0); +x_50 = lean_ctor_get(x_28, 1); lean_inc(x_50); -lean_dec(x_48); -x_51 = lean_environment_main_module(x_50); -x_52 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__7; -x_53 = l_Lean_addMacroScope(x_51, x_52, x_27); -x_54 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6; -x_55 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__9; +lean_inc(x_49); +lean_dec(x_28); +x_51 = lean_ctor_get(x_49, 0); +lean_inc(x_51); +lean_dec(x_49); +x_52 = lean_environment_main_module(x_51); +x_53 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__7; +x_54 = l_Lean_addMacroScope(x_52, x_53, x_27); +x_55 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__6; +x_56 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__9; lean_inc(x_25); -x_56 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_56, 0, x_25); -lean_ctor_set(x_56, 1, x_54); -lean_ctor_set(x_56, 2, x_53); -lean_ctor_set(x_56, 3, x_55); -x_57 = l_Lean_mkIdentFrom(x_20, x_22); -x_58 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -x_59 = lean_array_push(x_58, x_1); -x_60 = lean_array_push(x_59, x_57); -x_61 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_57 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_57, 0, x_25); +lean_ctor_set(x_57, 1, x_55); +lean_ctor_set(x_57, 2, x_54); +lean_ctor_set(x_57, 3, x_56); +x_58 = 0; +x_59 = l_Lean_mkIdentFrom(x_20, x_22, x_58); +x_60 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +x_61 = lean_array_push(x_60, x_1); +x_62 = lean_array_push(x_61, x_59); +x_63 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; lean_inc(x_25); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_25); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_60); -x_63 = lean_array_push(x_58, x_56); -x_64 = lean_array_push(x_63, x_62); -x_65 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; -x_66 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_66, 0, x_25); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_64); -x_67 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_67, 0, x_66); -lean_ctor_set(x_67, 1, x_49); -return x_67; +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_25); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_62); +x_65 = lean_array_push(x_60, x_57); +x_66 = lean_array_push(x_65, x_64); +x_67 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_25); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_66); +x_69 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_50); +return x_69; } } else { -uint8_t x_68; +uint8_t x_70; lean_dec(x_20); lean_dec(x_8); lean_dec(x_7); lean_dec(x_1); -x_68 = !lean_is_exclusive(x_21); -if (x_68 == 0) +x_70 = !lean_is_exclusive(x_21); +if (x_70 == 0) { return x_21; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_21, 0); -x_70 = lean_ctor_get(x_21, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_ctor_get(x_21, 0); +x_72 = lean_ctor_get(x_21, 1); +lean_inc(x_72); +lean_inc(x_71); lean_dec(x_21); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_73 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +return x_73; } } } } else { -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; uint8_t x_79; +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; lean_dec(x_13); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_72 = lean_unsigned_to_nat(1u); -x_73 = l_Lean_Syntax_getArg(x_12, x_72); +x_74 = lean_unsigned_to_nat(1u); +x_75 = l_Lean_Syntax_getArg(x_12, x_74); lean_dec(x_12); lean_inc(x_7); -x_74 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_7, x_8, x_9); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_ctor_get(x_7, 10); +x_76 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_7, x_8, x_9); +x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = lean_ctor_get(x_7, 10); +lean_inc(x_79); lean_dec(x_7); -x_78 = lean_st_ref_get(x_8, x_76); +x_80 = lean_st_ref_get(x_8, x_78); lean_dec(x_8); -x_79 = !lean_is_exclusive(x_78); -if (x_79 == 0) +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_80 = lean_ctor_get(x_78, 0); -x_81 = lean_ctor_get(x_80, 0); -lean_inc(x_81); -lean_dec(x_80); -x_82 = lean_environment_main_module(x_81); -x_83 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__13; -x_84 = l_Lean_addMacroScope(x_82, x_83, x_77); -x_85 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12; -x_86 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__15; -lean_inc(x_75); -x_87 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_87, 0, x_75); -lean_ctor_set(x_87, 1, x_85); -lean_ctor_set(x_87, 2, x_84); -lean_ctor_set(x_87, 3, x_86); -x_88 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -x_89 = lean_array_push(x_88, x_1); -x_90 = lean_array_push(x_89, x_73); -x_91 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -lean_inc(x_75); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_75); -lean_ctor_set(x_92, 1, x_91); -lean_ctor_set(x_92, 2, x_90); -x_93 = lean_array_push(x_88, x_87); -x_94 = lean_array_push(x_93, x_92); -x_95 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; -x_96 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_96, 0, x_75); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_96, 2, x_94); -lean_ctor_set(x_78, 0, x_96); -return x_78; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_82 = lean_ctor_get(x_80, 0); +x_83 = lean_ctor_get(x_82, 0); +lean_inc(x_83); +lean_dec(x_82); +x_84 = lean_environment_main_module(x_83); +x_85 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__13; +x_86 = l_Lean_addMacroScope(x_84, x_85, x_79); +x_87 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12; +x_88 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__15; +lean_inc(x_77); +x_89 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_89, 0, x_77); +lean_ctor_set(x_89, 1, x_87); +lean_ctor_set(x_89, 2, x_86); +lean_ctor_set(x_89, 3, x_88); +x_90 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +x_91 = lean_array_push(x_90, x_1); +x_92 = lean_array_push(x_91, x_75); +x_93 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +lean_inc(x_77); +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_77); +lean_ctor_set(x_94, 1, x_93); +lean_ctor_set(x_94, 2, x_92); +x_95 = lean_array_push(x_90, x_89); +x_96 = lean_array_push(x_95, x_94); +x_97 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_77); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +lean_ctor_set(x_80, 0, x_98); +return x_80; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; -x_97 = lean_ctor_get(x_78, 0); -x_98 = lean_ctor_get(x_78, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_78); -x_99 = lean_ctor_get(x_97, 0); +lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; +x_99 = lean_ctor_get(x_80, 0); +x_100 = lean_ctor_get(x_80, 1); +lean_inc(x_100); lean_inc(x_99); -lean_dec(x_97); -x_100 = lean_environment_main_module(x_99); -x_101 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__13; -x_102 = l_Lean_addMacroScope(x_100, x_101, x_77); -x_103 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12; -x_104 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__15; -lean_inc(x_75); -x_105 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_105, 0, x_75); -lean_ctor_set(x_105, 1, x_103); -lean_ctor_set(x_105, 2, x_102); -lean_ctor_set(x_105, 3, x_104); -x_106 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -x_107 = lean_array_push(x_106, x_1); -x_108 = lean_array_push(x_107, x_73); -x_109 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -lean_inc(x_75); -x_110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_110, 0, x_75); -lean_ctor_set(x_110, 1, x_109); -lean_ctor_set(x_110, 2, x_108); -x_111 = lean_array_push(x_106, x_105); -x_112 = lean_array_push(x_111, x_110); -x_113 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; -x_114 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_114, 0, x_75); -lean_ctor_set(x_114, 1, x_113); -lean_ctor_set(x_114, 2, x_112); -x_115 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_115, 0, x_114); -lean_ctor_set(x_115, 1, x_98); -return x_115; +lean_dec(x_80); +x_101 = lean_ctor_get(x_99, 0); +lean_inc(x_101); +lean_dec(x_99); +x_102 = lean_environment_main_module(x_101); +x_103 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__13; +x_104 = l_Lean_addMacroScope(x_102, x_103, x_79); +x_105 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__12; +x_106 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderModifier___closed__15; +lean_inc(x_77); +x_107 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_107, 0, x_77); +lean_ctor_set(x_107, 1, x_105); +lean_ctor_set(x_107, 2, x_104); +lean_ctor_set(x_107, 3, x_106); +x_108 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +x_109 = lean_array_push(x_108, x_1); +x_110 = lean_array_push(x_109, x_75); +x_111 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +lean_inc(x_77); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_77); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_112, 2, x_110); +x_113 = lean_array_push(x_108, x_107); +x_114 = lean_array_push(x_113, x_112); +x_115 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__2; +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_77); +lean_ctor_set(x_116, 1, x_115); +lean_ctor_set(x_116, 2, x_114); +x_117 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_117, 0, x_116); +lean_ctor_set(x_117, 1, x_100); +return x_117; } } } else { -lean_object* x_116; +lean_object* x_118; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_1); -lean_ctor_set(x_116, 1, x_9); -return x_116; +x_118 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_118, 0, x_1); +lean_ctor_set(x_118, 1, x_9); +return x_118; } } } @@ -3930,6 +3932,10 @@ if (x_12 == 0) lean_object* x_13; lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_11); @@ -3943,6 +3949,10 @@ x_15 = lean_unsigned_to_nat(0u); x_16 = lean_array_uset(x_4, x_3, x_15); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_14); x_17 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_17) == 0) @@ -3976,6 +3986,10 @@ lean_dec(x_16); lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); x_27 = !lean_is_exclusive(x_17); if (x_27 == 0) { @@ -4008,6 +4022,10 @@ if (x_12 == 0) lean_object* x_13; lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); x_13 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_13, 0, x_4); lean_ctor_set(x_13, 1, x_11); @@ -4021,6 +4039,10 @@ x_15 = lean_unsigned_to_nat(0u); x_16 = lean_array_uset(x_4, x_3, x_15); lean_inc(x_10); lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); lean_inc(x_14); x_17 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_17) == 0) @@ -4054,6 +4076,10 @@ lean_dec(x_16); lean_dec(x_14); lean_dec(x_10); lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); x_27 = !lean_is_exclusive(x_17); if (x_27 == 0) { @@ -4103,6 +4129,10 @@ x_16 = lean_unsigned_to_nat(0u); x_17 = lean_array_uset(x_5, x_4, x_16); lean_inc(x_11); lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); lean_inc(x_15); x_18 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_15, x_6, x_7, x_8, x_9, x_10, x_11, x_12); if (lean_obj_tag(x_18) == 0) @@ -4440,10 +4470,6 @@ x_54 = lean_usize_of_nat(x_53); lean_dec(x_53); x_55 = 0; x_56 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__2(x_52, x_54, x_55, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_50); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_52); return x_56; } @@ -4507,10 +4533,6 @@ x_69 = lean_usize_of_nat(x_68); lean_dec(x_68); x_70 = 0; x_71 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__3(x_67, x_69, x_70, x_64, x_2, x_3, x_4, x_5, x_6, x_7, x_65); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); lean_dec(x_67); return x_71; } @@ -4617,158 +4639,154 @@ lean_object* x_93; lean_dec(x_9); lean_inc(x_1); x_93 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); if (lean_obj_tag(x_93) == 0) { uint8_t x_94; x_94 = !lean_is_exclusive(x_93); if (x_94 == 0) { -lean_object* x_95; lean_object* x_96; uint8_t x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_object* x_95; uint8_t x_96; lean_object* x_97; uint8_t x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; x_95 = lean_ctor_get(x_93, 0); +x_96 = 0; lean_inc(x_1); -x_96 = l_Lean_mkHole(x_1); -x_97 = 0; -x_98 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_98, 0, x_1); -lean_ctor_set(x_98, 1, x_95); -lean_ctor_set(x_98, 2, x_96); -lean_ctor_set_uint8(x_98, sizeof(void*)*3, x_97); -x_99 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_100 = lean_array_push(x_99, x_98); -lean_ctor_set(x_93, 0, x_100); +x_97 = l_Lean_mkHole(x_1, x_96); +x_98 = 0; +x_99 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_99, 0, x_1); +lean_ctor_set(x_99, 1, x_95); +lean_ctor_set(x_99, 2, x_97); +lean_ctor_set_uint8(x_99, sizeof(void*)*3, x_98); +x_100 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_101 = lean_array_push(x_100, x_99); +lean_ctor_set(x_93, 0, x_101); return x_93; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; -x_101 = lean_ctor_get(x_93, 0); -x_102 = lean_ctor_get(x_93, 1); +lean_object* x_102; lean_object* x_103; uint8_t x_104; lean_object* x_105; uint8_t x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; +x_102 = lean_ctor_get(x_93, 0); +x_103 = lean_ctor_get(x_93, 1); +lean_inc(x_103); lean_inc(x_102); -lean_inc(x_101); lean_dec(x_93); -lean_inc(x_1); -x_103 = l_Lean_mkHole(x_1); x_104 = 0; -x_105 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_105, 0, x_1); -lean_ctor_set(x_105, 1, x_101); -lean_ctor_set(x_105, 2, x_103); -lean_ctor_set_uint8(x_105, sizeof(void*)*3, x_104); -x_106 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_107 = lean_array_push(x_106, x_105); -x_108 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_108, 0, x_107); -lean_ctor_set(x_108, 1, x_102); -return x_108; +lean_inc(x_1); +x_105 = l_Lean_mkHole(x_1, x_104); +x_106 = 0; +x_107 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_107, 0, x_1); +lean_ctor_set(x_107, 1, x_102); +lean_ctor_set(x_107, 2, x_105); +lean_ctor_set_uint8(x_107, sizeof(void*)*3, x_106); +x_108 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_109 = lean_array_push(x_108, x_107); +x_110 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_103); +return x_110; } } else { -uint8_t x_109; +uint8_t x_111; lean_dec(x_1); -x_109 = !lean_is_exclusive(x_93); -if (x_109 == 0) +x_111 = !lean_is_exclusive(x_93); +if (x_111 == 0) { return x_93; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; -x_110 = lean_ctor_get(x_93, 0); -x_111 = lean_ctor_get(x_93, 1); -lean_inc(x_111); -lean_inc(x_110); +lean_object* x_112; lean_object* x_113; lean_object* x_114; +x_112 = lean_ctor_get(x_93, 0); +x_113 = lean_ctor_get(x_93, 1); +lean_inc(x_113); +lean_inc(x_112); lean_dec(x_93); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_110); -lean_ctor_set(x_112, 1, x_111); -return x_112; +x_114 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_114, 0, x_112); +lean_ctor_set(x_114, 1, x_113); +return x_114; } } } } else { -lean_object* x_113; +lean_object* x_115; lean_dec(x_9); lean_inc(x_1); -x_113 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -if (lean_obj_tag(x_113) == 0) +x_115 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_115) == 0) { -uint8_t x_114; -x_114 = !lean_is_exclusive(x_113); -if (x_114 == 0) +uint8_t x_116; +x_116 = !lean_is_exclusive(x_115); +if (x_116 == 0) { -lean_object* x_115; lean_object* x_116; uint8_t x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; -x_115 = lean_ctor_get(x_113, 0); +lean_object* x_117; uint8_t x_118; lean_object* x_119; uint8_t x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; +x_117 = lean_ctor_get(x_115, 0); +x_118 = 0; lean_inc(x_1); -x_116 = l_Lean_mkHole(x_1); -x_117 = 0; -x_118 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_118, 0, x_1); -lean_ctor_set(x_118, 1, x_115); -lean_ctor_set(x_118, 2, x_116); -lean_ctor_set_uint8(x_118, sizeof(void*)*3, x_117); -x_119 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_120 = lean_array_push(x_119, x_118); -lean_ctor_set(x_113, 0, x_120); -return x_113; +x_119 = l_Lean_mkHole(x_1, x_118); +x_120 = 0; +x_121 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_121, 0, x_1); +lean_ctor_set(x_121, 1, x_117); +lean_ctor_set(x_121, 2, x_119); +lean_ctor_set_uint8(x_121, sizeof(void*)*3, x_120); +x_122 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_123 = lean_array_push(x_122, x_121); +lean_ctor_set(x_115, 0, x_123); +return x_115; } else { -lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; -x_121 = lean_ctor_get(x_113, 0); -x_122 = lean_ctor_get(x_113, 1); -lean_inc(x_122); -lean_inc(x_121); -lean_dec(x_113); +lean_object* x_124; lean_object* x_125; uint8_t x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; +x_124 = lean_ctor_get(x_115, 0); +x_125 = lean_ctor_get(x_115, 1); +lean_inc(x_125); +lean_inc(x_124); +lean_dec(x_115); +x_126 = 0; lean_inc(x_1); -x_123 = l_Lean_mkHole(x_1); -x_124 = 0; -x_125 = lean_alloc_ctor(0, 3, 1); -lean_ctor_set(x_125, 0, x_1); -lean_ctor_set(x_125, 1, x_121); -lean_ctor_set(x_125, 2, x_123); -lean_ctor_set_uint8(x_125, sizeof(void*)*3, x_124); -x_126 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_127 = lean_array_push(x_126, x_125); -x_128 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_122); -return x_128; -} -} -else -{ -uint8_t x_129; -lean_dec(x_1); -x_129 = !lean_is_exclusive(x_113); -if (x_129 == 0) -{ -return x_113; -} -else -{ -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_113, 0); -x_131 = lean_ctor_get(x_113, 1); -lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_113); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); +x_127 = l_Lean_mkHole(x_1, x_126); +x_128 = 0; +x_129 = lean_alloc_ctor(0, 3, 1); +lean_ctor_set(x_129, 0, x_1); +lean_ctor_set(x_129, 1, x_124); +lean_ctor_set(x_129, 2, x_127); +lean_ctor_set_uint8(x_129, sizeof(void*)*3, x_128); +x_130 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_131 = lean_array_push(x_130, x_129); +x_132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_125); return x_132; } } +else +{ +uint8_t x_133; +lean_dec(x_1); +x_133 = !lean_is_exclusive(x_115); +if (x_133 == 0) +{ +return x_115; +} +else +{ +lean_object* x_134; lean_object* x_135; lean_object* x_136; +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_alloc_ctor(1, 2, 0); +lean_ctor_set(x_136, 0, x_134); +lean_ctor_set(x_136, 1, x_135); +return x_136; +} +} } } } @@ -4795,10 +4813,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__2(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_1); return x_14; } @@ -4812,10 +4826,6 @@ lean_dec(x_2); x_13 = lean_unbox_usize(x_3); lean_dec(x_3); x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___spec__3(x_1, x_12, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); lean_dec(x_1); return x_14; } @@ -5056,7 +5066,7 @@ lean_dec(x_1); return x_10; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__1() { _start: { lean_object* x_1; @@ -5064,17 +5074,17 @@ x_1 = lean_mk_string_from_bytes("checkBinderAnnotations", 22); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__3() { _start: { lean_object* x_1; @@ -5082,7 +5092,7 @@ x_1 = lean_mk_string_from_bytes("", 0); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__4() { _start: { lean_object* x_1; @@ -5090,13 +5100,13 @@ x_1 = lean_mk_string_from_bytes("check whether type is a class instance whenever return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__5() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__5() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__3; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__4; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -5105,12 +5115,12 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__5; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__5; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(x_2, x_3, x_1); return x_4; } @@ -8240,33 +8250,33 @@ return x_19; } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_4; uint8_t x_5; -x_4 = l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_expandFunBinders_loop___spec__2(x_2, x_3); -x_5 = !lean_is_exclusive(x_4); -if (x_5 == 0) +lean_object* x_5; uint8_t x_6; +x_5 = l_Lean_Elab_Term_mkFreshBinderName___at_Lean_Elab_Term_expandFunBinders_loop___spec__2(x_3, x_4); +x_6 = !lean_is_exclusive(x_5); +if (x_6 == 0) { -lean_object* x_6; lean_object* x_7; -x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_mkIdentFrom(x_1, x_6); -lean_ctor_set(x_4, 0, x_7); -return x_4; +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_5, 0); +x_8 = l_Lean_mkIdentFrom(x_1, x_7, x_2); +lean_ctor_set(x_5, 0, x_8); +return x_5; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 1); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_ctor_get(x_5, 0); +x_10 = lean_ctor_get(x_5, 1); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); -lean_dec(x_4); -x_10 = l_Lean_mkIdentFrom(x_1, x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +lean_dec(x_5); +x_11 = l_Lean_mkIdentFrom(x_1, x_9, x_2); +x_12 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_12, 0, x_11); +lean_ctor_set(x_12, 1, x_10); +return x_12; } } } @@ -8309,18 +8319,19 @@ return x_4; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; x_6 = lean_array_uget(x_4, x_3); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = 0; lean_inc(x_1); -x_9 = l_Lean_mkHole(x_1); -x_10 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_9); -x_11 = 1; -x_12 = lean_usize_add(x_3, x_11); -x_13 = lean_array_uset(x_8, x_3, x_10); -x_3 = x_12; -x_4 = x_13; +x_10 = l_Lean_mkHole(x_1, x_9); +x_11 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_10); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_14 = lean_array_uset(x_8, x_3, x_11); +x_3 = x_13; +x_4 = x_14; goto _start; } } @@ -8337,18 +8348,19 @@ return x_4; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; x_6 = lean_array_uget(x_4, x_3); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = 0; lean_inc(x_1); -x_9 = l_Lean_mkHole(x_1); -x_10 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_9); -x_11 = 1; -x_12 = lean_usize_add(x_3, x_11); -x_13 = lean_array_uset(x_8, x_3, x_10); -x_3 = x_12; -x_4 = x_13; +x_10 = l_Lean_mkHole(x_1, x_9); +x_11 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_10); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_14 = lean_array_uset(x_8, x_3, x_11); +x_3 = x_13; +x_4 = x_14; goto _start; } } @@ -8365,18 +8377,19 @@ return x_4; } else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; +lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; x_6 = lean_array_uget(x_4, x_3); x_7 = lean_unsigned_to_nat(0u); x_8 = lean_array_uset(x_4, x_3, x_7); +x_9 = 0; lean_inc(x_1); -x_9 = l_Lean_mkHole(x_1); -x_10 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_9); -x_11 = 1; -x_12 = lean_usize_add(x_3, x_11); -x_13 = lean_array_uset(x_8, x_3, x_10); -x_3 = x_12; -x_4 = x_13; +x_10 = l_Lean_mkHole(x_1, x_9); +x_11 = l_Lean_Elab_Term_mkExplicitBinder(x_6, x_10); +x_12 = 1; +x_13 = lean_usize_add(x_3, x_12); +x_14 = lean_array_uset(x_8, x_3, x_11); +x_3 = x_13; +x_4 = x_14; goto _start; } } @@ -8682,5328 +8695,5337 @@ x_19 = lean_string_dec_eq(x_17, x_18); lean_dec(x_17); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +uint8_t x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_20 = 0; lean_inc(x_5); lean_inc(x_14); -x_20 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +x_21 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_20, x_5, x_6); +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = lean_unsigned_to_nat(1u); -x_24 = lean_nat_add(x_3, x_23); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_unsigned_to_nat(1u); +x_25 = lean_nat_add(x_3, x_24); lean_dec(x_3); lean_inc(x_14); -x_25 = l_Lean_mkHole(x_14); -lean_inc(x_21); -x_26 = l_Lean_Elab_Term_mkExplicitBinder(x_21, x_25); -x_27 = lean_array_push(x_4, x_26); +x_26 = l_Lean_mkHole(x_14, x_20); +lean_inc(x_22); +x_27 = l_Lean_Elab_Term_mkExplicitBinder(x_22, x_26); +x_28 = lean_array_push(x_4, x_27); lean_inc(x_5); -x_28 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_24, x_27, x_5, x_22); -if (lean_obj_tag(x_28) == 0) +x_29 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_25, x_28, x_5, x_23); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_29, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -x_31 = lean_ctor_get(x_28, 1); +x_31 = lean_ctor_get(x_30, 1); lean_inc(x_31); -lean_dec(x_28); -x_32 = !lean_is_exclusive(x_29); -if (x_32 == 0) -{ -lean_object* x_33; uint8_t x_34; -x_33 = lean_ctor_get(x_29, 1); -lean_dec(x_33); -x_34 = !lean_is_exclusive(x_30); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; lean_object* x_37; uint8_t x_38; -x_35 = lean_ctor_get(x_30, 0); -x_36 = lean_ctor_get(x_30, 1); -lean_dec(x_36); -x_37 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_31); -x_38 = !lean_is_exclusive(x_37); -if (x_38 == 0) -{ -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; 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; uint8_t x_84; lean_object* x_85; -x_39 = lean_ctor_get(x_37, 0); -x_40 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_39); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_43 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_39); -x_44 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_44, 0, x_39); -lean_ctor_set(x_44, 1, x_42); -lean_ctor_set(x_44, 2, x_43); -x_45 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_44); -x_46 = lean_array_push(x_45, x_44); -x_47 = lean_array_push(x_46, x_21); -x_48 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_39); -x_49 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_49, 0, x_39); -lean_ctor_set(x_49, 1, x_48); -lean_ctor_set(x_49, 2, x_47); -x_50 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_51 = lean_array_push(x_50, x_49); -lean_inc(x_39); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_39); -lean_ctor_set(x_52, 1, x_42); -lean_ctor_set(x_52, 2, x_51); -x_53 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_39); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_39); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_39); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_39); -lean_ctor_set(x_56, 1, x_55); -x_57 = lean_array_push(x_50, x_14); -lean_inc(x_39); -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_39); -lean_ctor_set(x_58, 1, x_42); -lean_ctor_set(x_58, 2, x_57); -x_59 = lean_array_push(x_50, x_58); -lean_inc(x_39); -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_39); -lean_ctor_set(x_60, 1, x_42); -lean_ctor_set(x_60, 2, x_59); -x_61 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_39); -x_62 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_62, 0, x_39); -lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_64 = lean_array_push(x_63, x_56); -x_65 = lean_array_push(x_64, x_60); -x_66 = lean_array_push(x_65, x_62); -x_67 = lean_array_push(x_66, x_35); -x_68 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_39); -x_69 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_69, 0, x_39); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_67); -x_70 = lean_array_push(x_50, x_69); -lean_inc(x_39); -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_39); -lean_ctor_set(x_71, 1, x_42); -lean_ctor_set(x_71, 2, x_70); -x_72 = lean_array_push(x_50, x_71); -x_73 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_39); -x_74 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_74, 0, x_39); -lean_ctor_set(x_74, 1, x_73); -lean_ctor_set(x_74, 2, x_72); -x_75 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_76 = lean_array_push(x_75, x_41); -lean_inc(x_44); -x_77 = lean_array_push(x_76, x_44); -x_78 = lean_array_push(x_77, x_44); -x_79 = lean_array_push(x_78, x_52); -x_80 = lean_array_push(x_79, x_54); -x_81 = lean_array_push(x_80, x_74); -x_82 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_83 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_83, 0, x_39); -lean_ctor_set(x_83, 1, x_82); -lean_ctor_set(x_83, 2, x_81); -x_84 = 1; -x_85 = lean_box(x_84); -lean_ctor_set(x_30, 1, x_85); -lean_ctor_set(x_30, 0, x_83); -lean_ctor_set(x_37, 0, x_29); -return x_37; -} -else -{ -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; uint8_t x_132; lean_object* x_133; lean_object* x_134; -x_86 = lean_ctor_get(x_37, 0); -x_87 = lean_ctor_get(x_37, 1); -lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_37); -x_88 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_86); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_86); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_91 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_86); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_86); -lean_ctor_set(x_92, 1, x_90); -lean_ctor_set(x_92, 2, x_91); -x_93 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_92); -x_94 = lean_array_push(x_93, x_92); -x_95 = lean_array_push(x_94, x_21); -x_96 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_86); -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_86); -lean_ctor_set(x_97, 1, x_96); -lean_ctor_set(x_97, 2, x_95); -x_98 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_99 = lean_array_push(x_98, x_97); -lean_inc(x_86); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_86); -lean_ctor_set(x_100, 1, x_90); -lean_ctor_set(x_100, 2, x_99); -x_101 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_86); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_86); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_86); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_86); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_array_push(x_98, x_14); -lean_inc(x_86); -x_106 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_106, 0, x_86); -lean_ctor_set(x_106, 1, x_90); -lean_ctor_set(x_106, 2, x_105); -x_107 = lean_array_push(x_98, x_106); -lean_inc(x_86); -x_108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_108, 0, x_86); -lean_ctor_set(x_108, 1, x_90); -lean_ctor_set(x_108, 2, x_107); -x_109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_86); -x_110 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_110, 0, x_86); -lean_ctor_set(x_110, 1, x_109); -x_111 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_112 = lean_array_push(x_111, x_104); -x_113 = lean_array_push(x_112, x_108); -x_114 = lean_array_push(x_113, x_110); -x_115 = lean_array_push(x_114, x_35); -x_116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_86); -x_117 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_117, 0, x_86); -lean_ctor_set(x_117, 1, x_116); -lean_ctor_set(x_117, 2, x_115); -x_118 = lean_array_push(x_98, x_117); -lean_inc(x_86); -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_86); -lean_ctor_set(x_119, 1, x_90); -lean_ctor_set(x_119, 2, x_118); -x_120 = lean_array_push(x_98, x_119); -x_121 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_86); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_86); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set(x_122, 2, x_120); -x_123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_124 = lean_array_push(x_123, x_89); -lean_inc(x_92); -x_125 = lean_array_push(x_124, x_92); -x_126 = lean_array_push(x_125, x_92); -x_127 = lean_array_push(x_126, x_100); -x_128 = lean_array_push(x_127, x_102); -x_129 = lean_array_push(x_128, x_122); -x_130 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_131 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_131, 0, x_86); -lean_ctor_set(x_131, 1, x_130); -lean_ctor_set(x_131, 2, x_129); -x_132 = 1; -x_133 = lean_box(x_132); -lean_ctor_set(x_30, 1, x_133); -lean_ctor_set(x_30, 0, x_131); -x_134 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_134, 0, x_29); -lean_ctor_set(x_134, 1, x_87); -return x_134; -} -} -else -{ -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; uint8_t x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; -x_135 = lean_ctor_get(x_30, 0); -lean_inc(x_135); -lean_dec(x_30); -x_136 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_31); -x_137 = lean_ctor_get(x_136, 0); -lean_inc(x_137); -x_138 = lean_ctor_get(x_136, 1); -lean_inc(x_138); -if (lean_is_exclusive(x_136)) { - lean_ctor_release(x_136, 0); - lean_ctor_release(x_136, 1); - x_139 = x_136; -} else { - lean_dec_ref(x_136); - x_139 = lean_box(0); -} -x_140 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_137); -x_141 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_141, 0, x_137); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_143 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_137); -x_144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_144, 0, x_137); -lean_ctor_set(x_144, 1, x_142); -lean_ctor_set(x_144, 2, x_143); -x_145 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_144); -x_146 = lean_array_push(x_145, x_144); -x_147 = lean_array_push(x_146, x_21); -x_148 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_137); -x_149 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_149, 0, x_137); -lean_ctor_set(x_149, 1, x_148); -lean_ctor_set(x_149, 2, x_147); -x_150 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_151 = lean_array_push(x_150, x_149); -lean_inc(x_137); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_137); -lean_ctor_set(x_152, 1, x_142); -lean_ctor_set(x_152, 2, x_151); -x_153 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_137); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_137); -lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_137); -x_156 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_156, 0, x_137); -lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_150, x_14); -lean_inc(x_137); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_137); -lean_ctor_set(x_158, 1, x_142); -lean_ctor_set(x_158, 2, x_157); -x_159 = lean_array_push(x_150, x_158); -lean_inc(x_137); -x_160 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_160, 0, x_137); -lean_ctor_set(x_160, 1, x_142); -lean_ctor_set(x_160, 2, x_159); -x_161 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_137); -x_162 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_162, 0, x_137); -lean_ctor_set(x_162, 1, x_161); -x_163 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_164 = lean_array_push(x_163, x_156); -x_165 = lean_array_push(x_164, x_160); -x_166 = lean_array_push(x_165, x_162); -x_167 = lean_array_push(x_166, x_135); -x_168 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_137); -x_169 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_169, 0, x_137); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_167); -x_170 = lean_array_push(x_150, x_169); -lean_inc(x_137); -x_171 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_171, 0, x_137); -lean_ctor_set(x_171, 1, x_142); -lean_ctor_set(x_171, 2, x_170); -x_172 = lean_array_push(x_150, x_171); -x_173 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_137); -x_174 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_174, 0, x_137); -lean_ctor_set(x_174, 1, x_173); -lean_ctor_set(x_174, 2, x_172); -x_175 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_176 = lean_array_push(x_175, x_141); -lean_inc(x_144); -x_177 = lean_array_push(x_176, x_144); -x_178 = lean_array_push(x_177, x_144); -x_179 = lean_array_push(x_178, x_152); -x_180 = lean_array_push(x_179, x_154); -x_181 = lean_array_push(x_180, x_174); -x_182 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_183 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_183, 0, x_137); -lean_ctor_set(x_183, 1, x_182); -lean_ctor_set(x_183, 2, x_181); -x_184 = 1; -x_185 = lean_box(x_184); -x_186 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_186, 0, x_183); -lean_ctor_set(x_186, 1, x_185); -lean_ctor_set(x_29, 1, x_186); -if (lean_is_scalar(x_139)) { - x_187 = lean_alloc_ctor(0, 2, 0); -} else { - x_187 = x_139; -} -lean_ctor_set(x_187, 0, x_29); -lean_ctor_set(x_187, 1, x_138); -return x_187; -} -} -else -{ -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; 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; uint8_t x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; -x_188 = lean_ctor_get(x_29, 0); -lean_inc(x_188); +x_32 = lean_ctor_get(x_29, 1); +lean_inc(x_32); lean_dec(x_29); +x_33 = !lean_is_exclusive(x_30); +if (x_33 == 0) +{ +lean_object* x_34; uint8_t x_35; +x_34 = lean_ctor_get(x_30, 1); +lean_dec(x_34); +x_35 = !lean_is_exclusive(x_31); +if (x_35 == 0) +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_31, 0); +x_37 = lean_ctor_get(x_31, 1); +lean_dec(x_37); +x_38 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_32); +x_39 = !lean_is_exclusive(x_38); +if (x_39 == 0) +{ +lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_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; uint8_t x_85; lean_object* x_86; +x_40 = lean_ctor_get(x_38, 0); +x_41 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_40); +x_42 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_44 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_40); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_40); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_45, 2, x_44); +x_46 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_45); +x_47 = lean_array_push(x_46, x_45); +x_48 = lean_array_push(x_47, x_22); +x_49 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_40); +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_40); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_48); +x_51 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_52 = lean_array_push(x_51, x_50); +lean_inc(x_40); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_40); +lean_ctor_set(x_53, 1, x_43); +lean_ctor_set(x_53, 2, x_52); +x_54 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_40); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_40); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_40); +x_57 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_57, 0, x_40); +lean_ctor_set(x_57, 1, x_56); +x_58 = lean_array_push(x_51, x_14); +lean_inc(x_40); +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_40); +lean_ctor_set(x_59, 1, x_43); +lean_ctor_set(x_59, 2, x_58); +x_60 = lean_array_push(x_51, x_59); +lean_inc(x_40); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_40); +lean_ctor_set(x_61, 1, x_43); +lean_ctor_set(x_61, 2, x_60); +x_62 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_40); +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_40); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_65 = lean_array_push(x_64, x_57); +x_66 = lean_array_push(x_65, x_61); +x_67 = lean_array_push(x_66, x_63); +x_68 = lean_array_push(x_67, x_36); +x_69 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_40); +x_70 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_70, 0, x_40); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_70, 2, x_68); +x_71 = lean_array_push(x_51, x_70); +lean_inc(x_40); +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_40); +lean_ctor_set(x_72, 1, x_43); +lean_ctor_set(x_72, 2, x_71); +x_73 = lean_array_push(x_51, x_72); +x_74 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_40); +x_75 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_75, 0, x_40); +lean_ctor_set(x_75, 1, x_74); +lean_ctor_set(x_75, 2, x_73); +x_76 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_77 = lean_array_push(x_76, x_42); +lean_inc(x_45); +x_78 = lean_array_push(x_77, x_45); +x_79 = lean_array_push(x_78, x_45); +x_80 = lean_array_push(x_79, x_53); +x_81 = lean_array_push(x_80, x_55); +x_82 = lean_array_push(x_81, x_75); +x_83 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_40); +lean_ctor_set(x_84, 1, x_83); +lean_ctor_set(x_84, 2, x_82); +x_85 = 1; +x_86 = lean_box(x_85); +lean_ctor_set(x_31, 1, x_86); +lean_ctor_set(x_31, 0, x_84); +lean_ctor_set(x_38, 0, x_30); +return x_38; +} +else +{ +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; uint8_t x_133; lean_object* x_134; lean_object* x_135; +x_87 = lean_ctor_get(x_38, 0); +x_88 = lean_ctor_get(x_38, 1); +lean_inc(x_88); +lean_inc(x_87); +lean_dec(x_38); +x_89 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_87); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_87); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_92 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_87); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_87); +lean_ctor_set(x_93, 1, x_91); +lean_ctor_set(x_93, 2, x_92); +x_94 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_93); +x_95 = lean_array_push(x_94, x_93); +x_96 = lean_array_push(x_95, x_22); +x_97 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_87); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_87); +lean_ctor_set(x_98, 1, x_97); +lean_ctor_set(x_98, 2, x_96); +x_99 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_100 = lean_array_push(x_99, x_98); +lean_inc(x_87); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_87); +lean_ctor_set(x_101, 1, x_91); +lean_ctor_set(x_101, 2, x_100); +x_102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_87); +x_103 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_103, 0, x_87); +lean_ctor_set(x_103, 1, x_102); +x_104 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_87); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_87); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_array_push(x_99, x_14); +lean_inc(x_87); +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_87); +lean_ctor_set(x_107, 1, x_91); +lean_ctor_set(x_107, 2, x_106); +x_108 = lean_array_push(x_99, x_107); +lean_inc(x_87); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_87); +lean_ctor_set(x_109, 1, x_91); +lean_ctor_set(x_109, 2, x_108); +x_110 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_87); +x_111 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_111, 0, x_87); +lean_ctor_set(x_111, 1, x_110); +x_112 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_113 = lean_array_push(x_112, x_105); +x_114 = lean_array_push(x_113, x_109); +x_115 = lean_array_push(x_114, x_111); +x_116 = lean_array_push(x_115, x_36); +x_117 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_87); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_87); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set(x_118, 2, x_116); +x_119 = lean_array_push(x_99, x_118); +lean_inc(x_87); +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_87); +lean_ctor_set(x_120, 1, x_91); +lean_ctor_set(x_120, 2, x_119); +x_121 = lean_array_push(x_99, x_120); +x_122 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_87); +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_87); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_123, 2, x_121); +x_124 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_125 = lean_array_push(x_124, x_90); +lean_inc(x_93); +x_126 = lean_array_push(x_125, x_93); +x_127 = lean_array_push(x_126, x_93); +x_128 = lean_array_push(x_127, x_101); +x_129 = lean_array_push(x_128, x_103); +x_130 = lean_array_push(x_129, x_123); +x_131 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_87); +lean_ctor_set(x_132, 1, x_131); +lean_ctor_set(x_132, 2, x_130); +x_133 = 1; +x_134 = lean_box(x_133); +lean_ctor_set(x_31, 1, x_134); +lean_ctor_set(x_31, 0, x_132); +x_135 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_135, 0, x_30); +lean_ctor_set(x_135, 1, x_88); +return x_135; +} +} +else +{ +lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; uint8_t x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; +x_136 = lean_ctor_get(x_31, 0); +lean_inc(x_136); +lean_dec(x_31); +x_137 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_32); +x_138 = lean_ctor_get(x_137, 0); +lean_inc(x_138); +x_139 = lean_ctor_get(x_137, 1); +lean_inc(x_139); +if (lean_is_exclusive(x_137)) { + lean_ctor_release(x_137, 0); + lean_ctor_release(x_137, 1); + x_140 = x_137; +} else { + lean_dec_ref(x_137); + x_140 = lean_box(0); +} +x_141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_138); +x_142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_142, 0, x_138); +lean_ctor_set(x_142, 1, x_141); +x_143 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_144 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_138); +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_138); +lean_ctor_set(x_145, 1, x_143); +lean_ctor_set(x_145, 2, x_144); +x_146 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_145); +x_147 = lean_array_push(x_146, x_145); +x_148 = lean_array_push(x_147, x_22); +x_149 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_138); +x_150 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_150, 0, x_138); +lean_ctor_set(x_150, 1, x_149); +lean_ctor_set(x_150, 2, x_148); +x_151 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_152 = lean_array_push(x_151, x_150); +lean_inc(x_138); +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_138); +lean_ctor_set(x_153, 1, x_143); +lean_ctor_set(x_153, 2, x_152); +x_154 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_138); +x_155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_155, 0, x_138); +lean_ctor_set(x_155, 1, x_154); +x_156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_138); +x_157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_157, 0, x_138); +lean_ctor_set(x_157, 1, x_156); +x_158 = lean_array_push(x_151, x_14); +lean_inc(x_138); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_138); +lean_ctor_set(x_159, 1, x_143); +lean_ctor_set(x_159, 2, x_158); +x_160 = lean_array_push(x_151, x_159); +lean_inc(x_138); +x_161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_161, 0, x_138); +lean_ctor_set(x_161, 1, x_143); +lean_ctor_set(x_161, 2, x_160); +x_162 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_138); +x_163 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_163, 0, x_138); +lean_ctor_set(x_163, 1, x_162); +x_164 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_165 = lean_array_push(x_164, x_157); +x_166 = lean_array_push(x_165, x_161); +x_167 = lean_array_push(x_166, x_163); +x_168 = lean_array_push(x_167, x_136); +x_169 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_138); +x_170 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_170, 0, x_138); +lean_ctor_set(x_170, 1, x_169); +lean_ctor_set(x_170, 2, x_168); +x_171 = lean_array_push(x_151, x_170); +lean_inc(x_138); +x_172 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_172, 0, x_138); +lean_ctor_set(x_172, 1, x_143); +lean_ctor_set(x_172, 2, x_171); +x_173 = lean_array_push(x_151, x_172); +x_174 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_138); +x_175 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_175, 0, x_138); +lean_ctor_set(x_175, 1, x_174); +lean_ctor_set(x_175, 2, x_173); +x_176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_177 = lean_array_push(x_176, x_142); +lean_inc(x_145); +x_178 = lean_array_push(x_177, x_145); +x_179 = lean_array_push(x_178, x_145); +x_180 = lean_array_push(x_179, x_153); +x_181 = lean_array_push(x_180, x_155); +x_182 = lean_array_push(x_181, x_175); +x_183 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_184 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_184, 0, x_138); +lean_ctor_set(x_184, 1, x_183); +lean_ctor_set(x_184, 2, x_182); +x_185 = 1; +x_186 = lean_box(x_185); +x_187 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_187, 0, x_184); +lean_ctor_set(x_187, 1, x_186); +lean_ctor_set(x_30, 1, x_187); +if (lean_is_scalar(x_140)) { + x_188 = lean_alloc_ctor(0, 2, 0); +} else { + x_188 = x_140; +} +lean_ctor_set(x_188, 0, x_30); +lean_ctor_set(x_188, 1, x_139); +return x_188; +} +} +else +{ +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; uint8_t x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; x_189 = lean_ctor_get(x_30, 0); lean_inc(x_189); -if (lean_is_exclusive(x_30)) { - lean_ctor_release(x_30, 0); - lean_ctor_release(x_30, 1); - x_190 = x_30; +lean_dec(x_30); +x_190 = lean_ctor_get(x_31, 0); +lean_inc(x_190); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_191 = x_31; } else { - lean_dec_ref(x_30); - x_190 = lean_box(0); + lean_dec_ref(x_31); + x_191 = lean_box(0); } -x_191 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_31); -x_192 = lean_ctor_get(x_191, 0); -lean_inc(x_192); -x_193 = lean_ctor_get(x_191, 1); +x_192 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_32); +x_193 = lean_ctor_get(x_192, 0); lean_inc(x_193); -if (lean_is_exclusive(x_191)) { - lean_ctor_release(x_191, 0); - lean_ctor_release(x_191, 1); - x_194 = x_191; +x_194 = lean_ctor_get(x_192, 1); +lean_inc(x_194); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_195 = x_192; } else { - lean_dec_ref(x_191); - x_194 = lean_box(0); + lean_dec_ref(x_192); + x_195 = lean_box(0); } -x_195 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_192); -x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_192); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_198 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_192); -x_199 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_199, 0, x_192); -lean_ctor_set(x_199, 1, x_197); -lean_ctor_set(x_199, 2, x_198); -x_200 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_199); -x_201 = lean_array_push(x_200, x_199); -x_202 = lean_array_push(x_201, x_21); -x_203 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_192); -x_204 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_204, 0, x_192); -lean_ctor_set(x_204, 1, x_203); -lean_ctor_set(x_204, 2, x_202); -x_205 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_206 = lean_array_push(x_205, x_204); -lean_inc(x_192); -x_207 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_207, 0, x_192); -lean_ctor_set(x_207, 1, x_197); -lean_ctor_set(x_207, 2, x_206); -x_208 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_192); -x_209 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_209, 0, x_192); -lean_ctor_set(x_209, 1, x_208); -x_210 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_192); -x_211 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_211, 0, x_192); -lean_ctor_set(x_211, 1, x_210); -x_212 = lean_array_push(x_205, x_14); -lean_inc(x_192); -x_213 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_213, 0, x_192); -lean_ctor_set(x_213, 1, x_197); -lean_ctor_set(x_213, 2, x_212); -x_214 = lean_array_push(x_205, x_213); -lean_inc(x_192); -x_215 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_215, 0, x_192); -lean_ctor_set(x_215, 1, x_197); -lean_ctor_set(x_215, 2, x_214); -x_216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_192); -x_217 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_217, 0, x_192); -lean_ctor_set(x_217, 1, x_216); -x_218 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_219 = lean_array_push(x_218, x_211); -x_220 = lean_array_push(x_219, x_215); -x_221 = lean_array_push(x_220, x_217); -x_222 = lean_array_push(x_221, x_189); -x_223 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_192); -x_224 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_224, 0, x_192); -lean_ctor_set(x_224, 1, x_223); -lean_ctor_set(x_224, 2, x_222); -x_225 = lean_array_push(x_205, x_224); -lean_inc(x_192); -x_226 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_226, 0, x_192); -lean_ctor_set(x_226, 1, x_197); -lean_ctor_set(x_226, 2, x_225); -x_227 = lean_array_push(x_205, x_226); -x_228 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_192); -x_229 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_229, 0, x_192); -lean_ctor_set(x_229, 1, x_228); -lean_ctor_set(x_229, 2, x_227); -x_230 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_231 = lean_array_push(x_230, x_196); -lean_inc(x_199); -x_232 = lean_array_push(x_231, x_199); -x_233 = lean_array_push(x_232, x_199); -x_234 = lean_array_push(x_233, x_207); -x_235 = lean_array_push(x_234, x_209); -x_236 = lean_array_push(x_235, x_229); -x_237 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_238 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_238, 0, x_192); -lean_ctor_set(x_238, 1, x_237); -lean_ctor_set(x_238, 2, x_236); -x_239 = 1; -x_240 = lean_box(x_239); -if (lean_is_scalar(x_190)) { - x_241 = lean_alloc_ctor(0, 2, 0); +x_196 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_193); +x_197 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_197, 0, x_193); +lean_ctor_set(x_197, 1, x_196); +x_198 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_199 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_193); +x_200 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_200, 0, x_193); +lean_ctor_set(x_200, 1, x_198); +lean_ctor_set(x_200, 2, x_199); +x_201 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_200); +x_202 = lean_array_push(x_201, x_200); +x_203 = lean_array_push(x_202, x_22); +x_204 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_193); +x_205 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_205, 0, x_193); +lean_ctor_set(x_205, 1, x_204); +lean_ctor_set(x_205, 2, x_203); +x_206 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_207 = lean_array_push(x_206, x_205); +lean_inc(x_193); +x_208 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_208, 0, x_193); +lean_ctor_set(x_208, 1, x_198); +lean_ctor_set(x_208, 2, x_207); +x_209 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_193); +x_210 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_210, 0, x_193); +lean_ctor_set(x_210, 1, x_209); +x_211 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_193); +x_212 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_212, 0, x_193); +lean_ctor_set(x_212, 1, x_211); +x_213 = lean_array_push(x_206, x_14); +lean_inc(x_193); +x_214 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_214, 0, x_193); +lean_ctor_set(x_214, 1, x_198); +lean_ctor_set(x_214, 2, x_213); +x_215 = lean_array_push(x_206, x_214); +lean_inc(x_193); +x_216 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_216, 0, x_193); +lean_ctor_set(x_216, 1, x_198); +lean_ctor_set(x_216, 2, x_215); +x_217 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_193); +x_218 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_218, 0, x_193); +lean_ctor_set(x_218, 1, x_217); +x_219 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_220 = lean_array_push(x_219, x_212); +x_221 = lean_array_push(x_220, x_216); +x_222 = lean_array_push(x_221, x_218); +x_223 = lean_array_push(x_222, x_190); +x_224 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_193); +x_225 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_225, 0, x_193); +lean_ctor_set(x_225, 1, x_224); +lean_ctor_set(x_225, 2, x_223); +x_226 = lean_array_push(x_206, x_225); +lean_inc(x_193); +x_227 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_227, 0, x_193); +lean_ctor_set(x_227, 1, x_198); +lean_ctor_set(x_227, 2, x_226); +x_228 = lean_array_push(x_206, x_227); +x_229 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_193); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_193); +lean_ctor_set(x_230, 1, x_229); +lean_ctor_set(x_230, 2, x_228); +x_231 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_232 = lean_array_push(x_231, x_197); +lean_inc(x_200); +x_233 = lean_array_push(x_232, x_200); +x_234 = lean_array_push(x_233, x_200); +x_235 = lean_array_push(x_234, x_208); +x_236 = lean_array_push(x_235, x_210); +x_237 = lean_array_push(x_236, x_230); +x_238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_239 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_239, 0, x_193); +lean_ctor_set(x_239, 1, x_238); +lean_ctor_set(x_239, 2, x_237); +x_240 = 1; +x_241 = lean_box(x_240); +if (lean_is_scalar(x_191)) { + x_242 = lean_alloc_ctor(0, 2, 0); } else { - x_241 = x_190; + x_242 = x_191; } -lean_ctor_set(x_241, 0, x_238); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_242, 0, x_188); +lean_ctor_set(x_242, 0, x_239); lean_ctor_set(x_242, 1, x_241); -if (lean_is_scalar(x_194)) { - x_243 = lean_alloc_ctor(0, 2, 0); +x_243 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_243, 0, x_189); +lean_ctor_set(x_243, 1, x_242); +if (lean_is_scalar(x_195)) { + x_244 = lean_alloc_ctor(0, 2, 0); } else { - x_243 = x_194; + x_244 = x_195; } -lean_ctor_set(x_243, 0, x_242); -lean_ctor_set(x_243, 1, x_193); -return x_243; +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_194); +return x_244; } } else { -uint8_t x_244; -lean_dec(x_21); +uint8_t x_245; +lean_dec(x_22); lean_dec(x_14); lean_dec(x_5); -x_244 = !lean_is_exclusive(x_28); -if (x_244 == 0) +x_245 = !lean_is_exclusive(x_29); +if (x_245 == 0) { -return x_28; +return x_29; } else { -lean_object* x_245; lean_object* x_246; lean_object* x_247; -x_245 = lean_ctor_get(x_28, 0); -x_246 = lean_ctor_get(x_28, 1); +lean_object* x_246; lean_object* x_247; lean_object* x_248; +x_246 = lean_ctor_get(x_29, 0); +x_247 = lean_ctor_get(x_29, 1); +lean_inc(x_247); lean_inc(x_246); -lean_inc(x_245); -lean_dec(x_28); -x_247 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_247, 0, x_245); -lean_ctor_set(x_247, 1, x_246); -return x_247; +lean_dec(x_29); +x_248 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_248, 0, x_246); +lean_ctor_set(x_248, 1, x_247); +return x_248; } } } else { -lean_object* x_248; lean_object* x_249; lean_object* x_250; -x_248 = lean_unsigned_to_nat(1u); -x_249 = lean_nat_add(x_3, x_248); +lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_249 = lean_unsigned_to_nat(1u); +x_250 = lean_nat_add(x_3, x_249); lean_dec(x_3); -x_250 = lean_array_push(x_4, x_14); -x_3 = x_249; -x_4 = x_250; +x_251 = lean_array_push(x_4, x_14); +x_3 = x_250; +x_4 = x_251; goto _start; } } case 1: { -lean_object* x_252; -x_252 = lean_ctor_get(x_16, 0); -lean_inc(x_252); -if (lean_obj_tag(x_252) == 1) -{ lean_object* x_253; -x_253 = lean_ctor_get(x_252, 0); +x_253 = lean_ctor_get(x_16, 0); lean_inc(x_253); if (lean_obj_tag(x_253) == 1) { lean_object* x_254; x_254 = lean_ctor_get(x_253, 0); lean_inc(x_254); -if (lean_obj_tag(x_254) == 0) +if (lean_obj_tag(x_254) == 1) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; uint8_t x_260; -x_255 = lean_ctor_get(x_15, 1); +lean_object* x_255; +x_255 = lean_ctor_get(x_254, 0); lean_inc(x_255); -lean_dec(x_15); -x_256 = lean_ctor_get(x_16, 1); +if (lean_obj_tag(x_255) == 0) +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t x_261; +x_256 = lean_ctor_get(x_15, 1); lean_inc(x_256); -lean_dec(x_16); -x_257 = lean_ctor_get(x_252, 1); +lean_dec(x_15); +x_257 = lean_ctor_get(x_16, 1); lean_inc(x_257); -lean_dec(x_252); +lean_dec(x_16); x_258 = lean_ctor_get(x_253, 1); lean_inc(x_258); lean_dec(x_253); -x_259 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1; -x_260 = lean_string_dec_eq(x_258, x_259); -lean_dec(x_258); -if (x_260 == 0) +x_259 = lean_ctor_get(x_254, 1); +lean_inc(x_259); +lean_dec(x_254); +x_260 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__1; +x_261 = lean_string_dec_eq(x_259, x_260); +lean_dec(x_259); +if (x_261 == 0) { -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; +uint8_t 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_dec(x_258); lean_dec(x_257); lean_dec(x_256); -lean_dec(x_255); +x_262 = 0; lean_inc(x_5); lean_inc(x_14); -x_261 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = lean_unsigned_to_nat(1u); -x_265 = lean_nat_add(x_3, x_264); +x_263 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_262, x_5, x_6); +x_264 = lean_ctor_get(x_263, 0); +lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +lean_dec(x_263); +x_266 = lean_unsigned_to_nat(1u); +x_267 = lean_nat_add(x_3, x_266); lean_dec(x_3); lean_inc(x_14); -x_266 = l_Lean_mkHole(x_14); -lean_inc(x_262); -x_267 = l_Lean_Elab_Term_mkExplicitBinder(x_262, x_266); -x_268 = lean_array_push(x_4, x_267); +x_268 = l_Lean_mkHole(x_14, x_262); +lean_inc(x_264); +x_269 = l_Lean_Elab_Term_mkExplicitBinder(x_264, x_268); +x_270 = lean_array_push(x_4, x_269); lean_inc(x_5); -x_269 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_265, x_268, x_5, x_263); -if (lean_obj_tag(x_269) == 0) +x_271 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_267, x_270, x_5, x_265); +if (lean_obj_tag(x_271) == 0) { -lean_object* x_270; lean_object* x_271; lean_object* x_272; uint8_t x_273; -x_270 = lean_ctor_get(x_269, 0); -lean_inc(x_270); -x_271 = lean_ctor_get(x_270, 1); -lean_inc(x_271); -x_272 = lean_ctor_get(x_269, 1); +lean_object* x_272; lean_object* x_273; lean_object* x_274; uint8_t x_275; +x_272 = lean_ctor_get(x_271, 0); lean_inc(x_272); -lean_dec(x_269); -x_273 = !lean_is_exclusive(x_270); -if (x_273 == 0) -{ -lean_object* x_274; uint8_t x_275; -x_274 = lean_ctor_get(x_270, 1); -lean_dec(x_274); -x_275 = !lean_is_exclusive(x_271); +x_273 = lean_ctor_get(x_272, 1); +lean_inc(x_273); +x_274 = lean_ctor_get(x_271, 1); +lean_inc(x_274); +lean_dec(x_271); +x_275 = !lean_is_exclusive(x_272); if (x_275 == 0) { -lean_object* x_276; lean_object* x_277; lean_object* x_278; uint8_t x_279; -x_276 = lean_ctor_get(x_271, 0); -x_277 = lean_ctor_get(x_271, 1); -lean_dec(x_277); -x_278 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_272); -x_279 = !lean_is_exclusive(x_278); -if (x_279 == 0) +lean_object* x_276; uint8_t x_277; +x_276 = lean_ctor_get(x_272, 1); +lean_dec(x_276); +x_277 = !lean_is_exclusive(x_273); +if (x_277 == 0) { -lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; uint8_t x_325; lean_object* x_326; -x_280 = lean_ctor_get(x_278, 0); -x_281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_280); -x_282 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_282, 0, x_280); -lean_ctor_set(x_282, 1, x_281); -x_283 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_284 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_280); -x_285 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_285, 0, x_280); -lean_ctor_set(x_285, 1, x_283); -lean_ctor_set(x_285, 2, x_284); -x_286 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_285); -x_287 = lean_array_push(x_286, x_285); -x_288 = lean_array_push(x_287, x_262); -x_289 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_280); -x_290 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_290, 0, x_280); -lean_ctor_set(x_290, 1, x_289); -lean_ctor_set(x_290, 2, x_288); -x_291 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_292 = lean_array_push(x_291, x_290); -lean_inc(x_280); -x_293 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_293, 0, x_280); -lean_ctor_set(x_293, 1, x_283); -lean_ctor_set(x_293, 2, x_292); -x_294 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_280); -x_295 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_295, 0, x_280); -lean_ctor_set(x_295, 1, x_294); -x_296 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_280); +lean_object* x_278; lean_object* x_279; lean_object* x_280; uint8_t x_281; +x_278 = lean_ctor_get(x_273, 0); +x_279 = lean_ctor_get(x_273, 1); +lean_dec(x_279); +x_280 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_274); +x_281 = !lean_is_exclusive(x_280); +if (x_281 == 0) +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; uint8_t x_327; lean_object* x_328; +x_282 = lean_ctor_get(x_280, 0); +x_283 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_282); +x_284 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_284, 0, x_282); +lean_ctor_set(x_284, 1, x_283); +x_285 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_286 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_282); +x_287 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_287, 0, x_282); +lean_ctor_set(x_287, 1, x_285); +lean_ctor_set(x_287, 2, x_286); +x_288 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_287); +x_289 = lean_array_push(x_288, x_287); +x_290 = lean_array_push(x_289, x_264); +x_291 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_282); +x_292 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_292, 0, x_282); +lean_ctor_set(x_292, 1, x_291); +lean_ctor_set(x_292, 2, x_290); +x_293 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_294 = lean_array_push(x_293, x_292); +lean_inc(x_282); +x_295 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_295, 0, x_282); +lean_ctor_set(x_295, 1, x_285); +lean_ctor_set(x_295, 2, x_294); +x_296 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_282); x_297 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_297, 0, x_280); +lean_ctor_set(x_297, 0, x_282); lean_ctor_set(x_297, 1, x_296); -x_298 = lean_array_push(x_291, x_14); -lean_inc(x_280); -x_299 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_299, 0, x_280); -lean_ctor_set(x_299, 1, x_283); -lean_ctor_set(x_299, 2, x_298); -x_300 = lean_array_push(x_291, x_299); -lean_inc(x_280); +x_298 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_282); +x_299 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_299, 0, x_282); +lean_ctor_set(x_299, 1, x_298); +x_300 = lean_array_push(x_293, x_14); +lean_inc(x_282); x_301 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_301, 0, x_280); -lean_ctor_set(x_301, 1, x_283); +lean_ctor_set(x_301, 0, x_282); +lean_ctor_set(x_301, 1, x_285); lean_ctor_set(x_301, 2, x_300); -x_302 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_280); -x_303 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_303, 0, x_280); -lean_ctor_set(x_303, 1, x_302); -x_304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_305 = lean_array_push(x_304, x_297); -x_306 = lean_array_push(x_305, x_301); -x_307 = lean_array_push(x_306, x_303); -x_308 = lean_array_push(x_307, x_276); -x_309 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_280); -x_310 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_310, 0, x_280); -lean_ctor_set(x_310, 1, x_309); -lean_ctor_set(x_310, 2, x_308); -x_311 = lean_array_push(x_291, x_310); -lean_inc(x_280); +x_302 = lean_array_push(x_293, x_301); +lean_inc(x_282); +x_303 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_303, 0, x_282); +lean_ctor_set(x_303, 1, x_285); +lean_ctor_set(x_303, 2, x_302); +x_304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_282); +x_305 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_305, 0, x_282); +lean_ctor_set(x_305, 1, x_304); +x_306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_307 = lean_array_push(x_306, x_299); +x_308 = lean_array_push(x_307, x_303); +x_309 = lean_array_push(x_308, x_305); +x_310 = lean_array_push(x_309, x_278); +x_311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_282); x_312 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_312, 0, x_280); -lean_ctor_set(x_312, 1, x_283); -lean_ctor_set(x_312, 2, x_311); -x_313 = lean_array_push(x_291, x_312); -x_314 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_280); -x_315 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_315, 0, x_280); -lean_ctor_set(x_315, 1, x_314); -lean_ctor_set(x_315, 2, x_313); -x_316 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_317 = lean_array_push(x_316, x_282); -lean_inc(x_285); -x_318 = lean_array_push(x_317, x_285); -x_319 = lean_array_push(x_318, x_285); -x_320 = lean_array_push(x_319, x_293); -x_321 = lean_array_push(x_320, x_295); -x_322 = lean_array_push(x_321, x_315); -x_323 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_324 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_324, 0, x_280); -lean_ctor_set(x_324, 1, x_323); -lean_ctor_set(x_324, 2, x_322); -x_325 = 1; -x_326 = lean_box(x_325); -lean_ctor_set(x_271, 1, x_326); -lean_ctor_set(x_271, 0, x_324); -lean_ctor_set(x_278, 0, x_270); -return x_278; +lean_ctor_set(x_312, 0, x_282); +lean_ctor_set(x_312, 1, x_311); +lean_ctor_set(x_312, 2, x_310); +x_313 = lean_array_push(x_293, x_312); +lean_inc(x_282); +x_314 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_314, 0, x_282); +lean_ctor_set(x_314, 1, x_285); +lean_ctor_set(x_314, 2, x_313); +x_315 = lean_array_push(x_293, x_314); +x_316 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_282); +x_317 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_317, 0, x_282); +lean_ctor_set(x_317, 1, x_316); +lean_ctor_set(x_317, 2, x_315); +x_318 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_319 = lean_array_push(x_318, x_284); +lean_inc(x_287); +x_320 = lean_array_push(x_319, x_287); +x_321 = lean_array_push(x_320, x_287); +x_322 = lean_array_push(x_321, x_295); +x_323 = lean_array_push(x_322, x_297); +x_324 = lean_array_push(x_323, x_317); +x_325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_326 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_326, 0, x_282); +lean_ctor_set(x_326, 1, x_325); +lean_ctor_set(x_326, 2, x_324); +x_327 = 1; +x_328 = lean_box(x_327); +lean_ctor_set(x_273, 1, x_328); +lean_ctor_set(x_273, 0, x_326); +lean_ctor_set(x_280, 0, x_272); +return x_280; } else { -lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; lean_object* x_375; -x_327 = lean_ctor_get(x_278, 0); -x_328 = lean_ctor_get(x_278, 1); -lean_inc(x_328); -lean_inc(x_327); -lean_dec(x_278); -x_329 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_327); -x_330 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_330, 0, x_327); -lean_ctor_set(x_330, 1, x_329); -x_331 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_332 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_327); -x_333 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_333, 0, x_327); -lean_ctor_set(x_333, 1, x_331); -lean_ctor_set(x_333, 2, x_332); -x_334 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_333); -x_335 = lean_array_push(x_334, x_333); -x_336 = lean_array_push(x_335, x_262); -x_337 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_327); -x_338 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_338, 0, x_327); -lean_ctor_set(x_338, 1, x_337); -lean_ctor_set(x_338, 2, x_336); -x_339 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_340 = lean_array_push(x_339, x_338); -lean_inc(x_327); -x_341 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_341, 0, x_327); -lean_ctor_set(x_341, 1, x_331); -lean_ctor_set(x_341, 2, x_340); -x_342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_327); -x_343 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_343, 0, x_327); -lean_ctor_set(x_343, 1, x_342); -x_344 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_327); +lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; uint8_t x_375; lean_object* x_376; lean_object* x_377; +x_329 = lean_ctor_get(x_280, 0); +x_330 = lean_ctor_get(x_280, 1); +lean_inc(x_330); +lean_inc(x_329); +lean_dec(x_280); +x_331 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_329); +x_332 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_332, 0, x_329); +lean_ctor_set(x_332, 1, x_331); +x_333 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_334 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_329); +x_335 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_335, 0, x_329); +lean_ctor_set(x_335, 1, x_333); +lean_ctor_set(x_335, 2, x_334); +x_336 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_335); +x_337 = lean_array_push(x_336, x_335); +x_338 = lean_array_push(x_337, x_264); +x_339 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_329); +x_340 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_340, 0, x_329); +lean_ctor_set(x_340, 1, x_339); +lean_ctor_set(x_340, 2, x_338); +x_341 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_342 = lean_array_push(x_341, x_340); +lean_inc(x_329); +x_343 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_343, 0, x_329); +lean_ctor_set(x_343, 1, x_333); +lean_ctor_set(x_343, 2, x_342); +x_344 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_329); x_345 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_345, 0, x_327); +lean_ctor_set(x_345, 0, x_329); lean_ctor_set(x_345, 1, x_344); -x_346 = lean_array_push(x_339, x_14); -lean_inc(x_327); -x_347 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_347, 0, x_327); -lean_ctor_set(x_347, 1, x_331); -lean_ctor_set(x_347, 2, x_346); -x_348 = lean_array_push(x_339, x_347); -lean_inc(x_327); +x_346 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_329); +x_347 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_347, 0, x_329); +lean_ctor_set(x_347, 1, x_346); +x_348 = lean_array_push(x_341, x_14); +lean_inc(x_329); x_349 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_349, 0, x_327); -lean_ctor_set(x_349, 1, x_331); +lean_ctor_set(x_349, 0, x_329); +lean_ctor_set(x_349, 1, x_333); lean_ctor_set(x_349, 2, x_348); -x_350 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_327); -x_351 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_351, 0, x_327); -lean_ctor_set(x_351, 1, x_350); -x_352 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_353 = lean_array_push(x_352, x_345); -x_354 = lean_array_push(x_353, x_349); -x_355 = lean_array_push(x_354, x_351); -x_356 = lean_array_push(x_355, x_276); -x_357 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_327); -x_358 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_358, 0, x_327); -lean_ctor_set(x_358, 1, x_357); -lean_ctor_set(x_358, 2, x_356); -x_359 = lean_array_push(x_339, x_358); -lean_inc(x_327); +x_350 = lean_array_push(x_341, x_349); +lean_inc(x_329); +x_351 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_351, 0, x_329); +lean_ctor_set(x_351, 1, x_333); +lean_ctor_set(x_351, 2, x_350); +x_352 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_329); +x_353 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_353, 0, x_329); +lean_ctor_set(x_353, 1, x_352); +x_354 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_355 = lean_array_push(x_354, x_347); +x_356 = lean_array_push(x_355, x_351); +x_357 = lean_array_push(x_356, x_353); +x_358 = lean_array_push(x_357, x_278); +x_359 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_329); x_360 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_360, 0, x_327); -lean_ctor_set(x_360, 1, x_331); -lean_ctor_set(x_360, 2, x_359); -x_361 = lean_array_push(x_339, x_360); -x_362 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_327); -x_363 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_363, 0, x_327); -lean_ctor_set(x_363, 1, x_362); -lean_ctor_set(x_363, 2, x_361); -x_364 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_365 = lean_array_push(x_364, x_330); -lean_inc(x_333); -x_366 = lean_array_push(x_365, x_333); -x_367 = lean_array_push(x_366, x_333); -x_368 = lean_array_push(x_367, x_341); -x_369 = lean_array_push(x_368, x_343); -x_370 = lean_array_push(x_369, x_363); -x_371 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_372 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_372, 0, x_327); -lean_ctor_set(x_372, 1, x_371); -lean_ctor_set(x_372, 2, x_370); -x_373 = 1; -x_374 = lean_box(x_373); -lean_ctor_set(x_271, 1, x_374); -lean_ctor_set(x_271, 0, x_372); -x_375 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_375, 0, x_270); -lean_ctor_set(x_375, 1, x_328); -return x_375; +lean_ctor_set(x_360, 0, x_329); +lean_ctor_set(x_360, 1, x_359); +lean_ctor_set(x_360, 2, x_358); +x_361 = lean_array_push(x_341, x_360); +lean_inc(x_329); +x_362 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_362, 0, x_329); +lean_ctor_set(x_362, 1, x_333); +lean_ctor_set(x_362, 2, x_361); +x_363 = lean_array_push(x_341, x_362); +x_364 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_329); +x_365 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_365, 0, x_329); +lean_ctor_set(x_365, 1, x_364); +lean_ctor_set(x_365, 2, x_363); +x_366 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_367 = lean_array_push(x_366, x_332); +lean_inc(x_335); +x_368 = lean_array_push(x_367, x_335); +x_369 = lean_array_push(x_368, x_335); +x_370 = lean_array_push(x_369, x_343); +x_371 = lean_array_push(x_370, x_345); +x_372 = lean_array_push(x_371, x_365); +x_373 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_374 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_374, 0, x_329); +lean_ctor_set(x_374, 1, x_373); +lean_ctor_set(x_374, 2, x_372); +x_375 = 1; +x_376 = lean_box(x_375); +lean_ctor_set(x_273, 1, x_376); +lean_ctor_set(x_273, 0, x_374); +x_377 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_377, 0, x_272); +lean_ctor_set(x_377, 1, x_330); +return x_377; } } else { -lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; uint8_t x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; -x_376 = lean_ctor_get(x_271, 0); -lean_inc(x_376); -lean_dec(x_271); -x_377 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_272); -x_378 = lean_ctor_get(x_377, 0); +lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; uint8_t x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; +x_378 = lean_ctor_get(x_273, 0); lean_inc(x_378); -x_379 = lean_ctor_get(x_377, 1); -lean_inc(x_379); -if (lean_is_exclusive(x_377)) { - lean_ctor_release(x_377, 0); - lean_ctor_release(x_377, 1); - x_380 = x_377; +lean_dec(x_273); +x_379 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_274); +x_380 = lean_ctor_get(x_379, 0); +lean_inc(x_380); +x_381 = lean_ctor_get(x_379, 1); +lean_inc(x_381); +if (lean_is_exclusive(x_379)) { + lean_ctor_release(x_379, 0); + lean_ctor_release(x_379, 1); + x_382 = x_379; } else { - lean_dec_ref(x_377); - x_380 = lean_box(0); + lean_dec_ref(x_379); + x_382 = lean_box(0); } -x_381 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_378); -x_382 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_382, 0, x_378); -lean_ctor_set(x_382, 1, x_381); -x_383 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_384 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_378); -x_385 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_385, 0, x_378); -lean_ctor_set(x_385, 1, x_383); -lean_ctor_set(x_385, 2, x_384); -x_386 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_385); -x_387 = lean_array_push(x_386, x_385); -x_388 = lean_array_push(x_387, x_262); -x_389 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_378); -x_390 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_390, 0, x_378); -lean_ctor_set(x_390, 1, x_389); -lean_ctor_set(x_390, 2, x_388); -x_391 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_392 = lean_array_push(x_391, x_390); -lean_inc(x_378); -x_393 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_393, 0, x_378); -lean_ctor_set(x_393, 1, x_383); -lean_ctor_set(x_393, 2, x_392); -x_394 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_378); -x_395 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_395, 0, x_378); -lean_ctor_set(x_395, 1, x_394); -x_396 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_378); +x_383 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_380); +x_384 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_384, 0, x_380); +lean_ctor_set(x_384, 1, x_383); +x_385 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_386 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_380); +x_387 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_387, 0, x_380); +lean_ctor_set(x_387, 1, x_385); +lean_ctor_set(x_387, 2, x_386); +x_388 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_387); +x_389 = lean_array_push(x_388, x_387); +x_390 = lean_array_push(x_389, x_264); +x_391 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_380); +x_392 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_392, 0, x_380); +lean_ctor_set(x_392, 1, x_391); +lean_ctor_set(x_392, 2, x_390); +x_393 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_394 = lean_array_push(x_393, x_392); +lean_inc(x_380); +x_395 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_395, 0, x_380); +lean_ctor_set(x_395, 1, x_385); +lean_ctor_set(x_395, 2, x_394); +x_396 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_380); x_397 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_397, 0, x_378); +lean_ctor_set(x_397, 0, x_380); lean_ctor_set(x_397, 1, x_396); -x_398 = lean_array_push(x_391, x_14); -lean_inc(x_378); -x_399 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_399, 0, x_378); -lean_ctor_set(x_399, 1, x_383); -lean_ctor_set(x_399, 2, x_398); -x_400 = lean_array_push(x_391, x_399); -lean_inc(x_378); +x_398 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_380); +x_399 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_399, 0, x_380); +lean_ctor_set(x_399, 1, x_398); +x_400 = lean_array_push(x_393, x_14); +lean_inc(x_380); x_401 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_401, 0, x_378); -lean_ctor_set(x_401, 1, x_383); +lean_ctor_set(x_401, 0, x_380); +lean_ctor_set(x_401, 1, x_385); lean_ctor_set(x_401, 2, x_400); -x_402 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_378); -x_403 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_403, 0, x_378); -lean_ctor_set(x_403, 1, x_402); -x_404 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_405 = lean_array_push(x_404, x_397); -x_406 = lean_array_push(x_405, x_401); -x_407 = lean_array_push(x_406, x_403); -x_408 = lean_array_push(x_407, x_376); -x_409 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_378); -x_410 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_410, 0, x_378); -lean_ctor_set(x_410, 1, x_409); -lean_ctor_set(x_410, 2, x_408); -x_411 = lean_array_push(x_391, x_410); -lean_inc(x_378); +x_402 = lean_array_push(x_393, x_401); +lean_inc(x_380); +x_403 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_403, 0, x_380); +lean_ctor_set(x_403, 1, x_385); +lean_ctor_set(x_403, 2, x_402); +x_404 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_380); +x_405 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_405, 0, x_380); +lean_ctor_set(x_405, 1, x_404); +x_406 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_407 = lean_array_push(x_406, x_399); +x_408 = lean_array_push(x_407, x_403); +x_409 = lean_array_push(x_408, x_405); +x_410 = lean_array_push(x_409, x_378); +x_411 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_380); x_412 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_412, 0, x_378); -lean_ctor_set(x_412, 1, x_383); -lean_ctor_set(x_412, 2, x_411); -x_413 = lean_array_push(x_391, x_412); -x_414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_378); -x_415 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_415, 0, x_378); -lean_ctor_set(x_415, 1, x_414); -lean_ctor_set(x_415, 2, x_413); -x_416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_417 = lean_array_push(x_416, x_382); -lean_inc(x_385); -x_418 = lean_array_push(x_417, x_385); -x_419 = lean_array_push(x_418, x_385); -x_420 = lean_array_push(x_419, x_393); -x_421 = lean_array_push(x_420, x_395); -x_422 = lean_array_push(x_421, x_415); -x_423 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_424 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_424, 0, x_378); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set(x_424, 2, x_422); -x_425 = 1; -x_426 = lean_box(x_425); -x_427 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_427, 0, x_424); -lean_ctor_set(x_427, 1, x_426); -lean_ctor_set(x_270, 1, x_427); -if (lean_is_scalar(x_380)) { - x_428 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_412, 0, x_380); +lean_ctor_set(x_412, 1, x_411); +lean_ctor_set(x_412, 2, x_410); +x_413 = lean_array_push(x_393, x_412); +lean_inc(x_380); +x_414 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_414, 0, x_380); +lean_ctor_set(x_414, 1, x_385); +lean_ctor_set(x_414, 2, x_413); +x_415 = lean_array_push(x_393, x_414); +x_416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_380); +x_417 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_417, 0, x_380); +lean_ctor_set(x_417, 1, x_416); +lean_ctor_set(x_417, 2, x_415); +x_418 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_419 = lean_array_push(x_418, x_384); +lean_inc(x_387); +x_420 = lean_array_push(x_419, x_387); +x_421 = lean_array_push(x_420, x_387); +x_422 = lean_array_push(x_421, x_395); +x_423 = lean_array_push(x_422, x_397); +x_424 = lean_array_push(x_423, x_417); +x_425 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_426 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_426, 0, x_380); +lean_ctor_set(x_426, 1, x_425); +lean_ctor_set(x_426, 2, x_424); +x_427 = 1; +x_428 = lean_box(x_427); +x_429 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_429, 0, x_426); +lean_ctor_set(x_429, 1, x_428); +lean_ctor_set(x_272, 1, x_429); +if (lean_is_scalar(x_382)) { + x_430 = lean_alloc_ctor(0, 2, 0); } else { - x_428 = x_380; + x_430 = x_382; } -lean_ctor_set(x_428, 0, x_270); -lean_ctor_set(x_428, 1, x_379); -return x_428; +lean_ctor_set(x_430, 0, x_272); +lean_ctor_set(x_430, 1, x_381); +return x_430; } } else { -lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; uint8_t x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; -x_429 = lean_ctor_get(x_270, 0); -lean_inc(x_429); -lean_dec(x_270); -x_430 = lean_ctor_get(x_271, 0); -lean_inc(x_430); -if (lean_is_exclusive(x_271)) { - lean_ctor_release(x_271, 0); - lean_ctor_release(x_271, 1); - x_431 = x_271; +lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; uint8_t x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; +x_431 = lean_ctor_get(x_272, 0); +lean_inc(x_431); +lean_dec(x_272); +x_432 = lean_ctor_get(x_273, 0); +lean_inc(x_432); +if (lean_is_exclusive(x_273)) { + lean_ctor_release(x_273, 0); + lean_ctor_release(x_273, 1); + x_433 = x_273; } else { - lean_dec_ref(x_271); - x_431 = lean_box(0); + lean_dec_ref(x_273); + x_433 = lean_box(0); } -x_432 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_272); -x_433 = lean_ctor_get(x_432, 0); -lean_inc(x_433); -x_434 = lean_ctor_get(x_432, 1); -lean_inc(x_434); -if (lean_is_exclusive(x_432)) { - lean_ctor_release(x_432, 0); - lean_ctor_release(x_432, 1); - x_435 = x_432; +x_434 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_274); +x_435 = lean_ctor_get(x_434, 0); +lean_inc(x_435); +x_436 = lean_ctor_get(x_434, 1); +lean_inc(x_436); +if (lean_is_exclusive(x_434)) { + lean_ctor_release(x_434, 0); + lean_ctor_release(x_434, 1); + x_437 = x_434; } else { - lean_dec_ref(x_432); - x_435 = lean_box(0); + lean_dec_ref(x_434); + x_437 = lean_box(0); } -x_436 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_433); -x_437 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_437, 0, x_433); -lean_ctor_set(x_437, 1, x_436); -x_438 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_439 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_433); -x_440 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_440, 0, x_433); -lean_ctor_set(x_440, 1, x_438); -lean_ctor_set(x_440, 2, x_439); -x_441 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_440); -x_442 = lean_array_push(x_441, x_440); -x_443 = lean_array_push(x_442, x_262); -x_444 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_433); -x_445 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_445, 0, x_433); -lean_ctor_set(x_445, 1, x_444); -lean_ctor_set(x_445, 2, x_443); -x_446 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_447 = lean_array_push(x_446, x_445); -lean_inc(x_433); -x_448 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_448, 0, x_433); -lean_ctor_set(x_448, 1, x_438); -lean_ctor_set(x_448, 2, x_447); -x_449 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_433); -x_450 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_450, 0, x_433); -lean_ctor_set(x_450, 1, x_449); -x_451 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_433); +x_438 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_435); +x_439 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_439, 0, x_435); +lean_ctor_set(x_439, 1, x_438); +x_440 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_441 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_435); +x_442 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_442, 0, x_435); +lean_ctor_set(x_442, 1, x_440); +lean_ctor_set(x_442, 2, x_441); +x_443 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_442); +x_444 = lean_array_push(x_443, x_442); +x_445 = lean_array_push(x_444, x_264); +x_446 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_435); +x_447 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_447, 0, x_435); +lean_ctor_set(x_447, 1, x_446); +lean_ctor_set(x_447, 2, x_445); +x_448 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_449 = lean_array_push(x_448, x_447); +lean_inc(x_435); +x_450 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_450, 0, x_435); +lean_ctor_set(x_450, 1, x_440); +lean_ctor_set(x_450, 2, x_449); +x_451 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_435); x_452 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_452, 0, x_433); +lean_ctor_set(x_452, 0, x_435); lean_ctor_set(x_452, 1, x_451); -x_453 = lean_array_push(x_446, x_14); -lean_inc(x_433); -x_454 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_454, 0, x_433); -lean_ctor_set(x_454, 1, x_438); -lean_ctor_set(x_454, 2, x_453); -x_455 = lean_array_push(x_446, x_454); -lean_inc(x_433); +x_453 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_435); +x_454 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_454, 0, x_435); +lean_ctor_set(x_454, 1, x_453); +x_455 = lean_array_push(x_448, x_14); +lean_inc(x_435); x_456 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_456, 0, x_433); -lean_ctor_set(x_456, 1, x_438); +lean_ctor_set(x_456, 0, x_435); +lean_ctor_set(x_456, 1, x_440); lean_ctor_set(x_456, 2, x_455); -x_457 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_433); -x_458 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_458, 0, x_433); -lean_ctor_set(x_458, 1, x_457); -x_459 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_460 = lean_array_push(x_459, x_452); -x_461 = lean_array_push(x_460, x_456); -x_462 = lean_array_push(x_461, x_458); -x_463 = lean_array_push(x_462, x_430); -x_464 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_433); -x_465 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_465, 0, x_433); -lean_ctor_set(x_465, 1, x_464); -lean_ctor_set(x_465, 2, x_463); -x_466 = lean_array_push(x_446, x_465); -lean_inc(x_433); +x_457 = lean_array_push(x_448, x_456); +lean_inc(x_435); +x_458 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_458, 0, x_435); +lean_ctor_set(x_458, 1, x_440); +lean_ctor_set(x_458, 2, x_457); +x_459 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_435); +x_460 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_460, 0, x_435); +lean_ctor_set(x_460, 1, x_459); +x_461 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_462 = lean_array_push(x_461, x_454); +x_463 = lean_array_push(x_462, x_458); +x_464 = lean_array_push(x_463, x_460); +x_465 = lean_array_push(x_464, x_432); +x_466 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_435); x_467 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_467, 0, x_433); -lean_ctor_set(x_467, 1, x_438); -lean_ctor_set(x_467, 2, x_466); -x_468 = lean_array_push(x_446, x_467); -x_469 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_433); -x_470 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_470, 0, x_433); -lean_ctor_set(x_470, 1, x_469); -lean_ctor_set(x_470, 2, x_468); -x_471 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_472 = lean_array_push(x_471, x_437); -lean_inc(x_440); -x_473 = lean_array_push(x_472, x_440); -x_474 = lean_array_push(x_473, x_440); -x_475 = lean_array_push(x_474, x_448); -x_476 = lean_array_push(x_475, x_450); -x_477 = lean_array_push(x_476, x_470); -x_478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_479 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_479, 0, x_433); -lean_ctor_set(x_479, 1, x_478); -lean_ctor_set(x_479, 2, x_477); -x_480 = 1; -x_481 = lean_box(x_480); -if (lean_is_scalar(x_431)) { - x_482 = lean_alloc_ctor(0, 2, 0); -} else { - x_482 = x_431; -} -lean_ctor_set(x_482, 0, x_479); -lean_ctor_set(x_482, 1, x_481); -x_483 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_483, 0, x_429); -lean_ctor_set(x_483, 1, x_482); -if (lean_is_scalar(x_435)) { +lean_ctor_set(x_467, 0, x_435); +lean_ctor_set(x_467, 1, x_466); +lean_ctor_set(x_467, 2, x_465); +x_468 = lean_array_push(x_448, x_467); +lean_inc(x_435); +x_469 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_469, 0, x_435); +lean_ctor_set(x_469, 1, x_440); +lean_ctor_set(x_469, 2, x_468); +x_470 = lean_array_push(x_448, x_469); +x_471 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_435); +x_472 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_472, 0, x_435); +lean_ctor_set(x_472, 1, x_471); +lean_ctor_set(x_472, 2, x_470); +x_473 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_474 = lean_array_push(x_473, x_439); +lean_inc(x_442); +x_475 = lean_array_push(x_474, x_442); +x_476 = lean_array_push(x_475, x_442); +x_477 = lean_array_push(x_476, x_450); +x_478 = lean_array_push(x_477, x_452); +x_479 = lean_array_push(x_478, x_472); +x_480 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_481 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_481, 0, x_435); +lean_ctor_set(x_481, 1, x_480); +lean_ctor_set(x_481, 2, x_479); +x_482 = 1; +x_483 = lean_box(x_482); +if (lean_is_scalar(x_433)) { x_484 = lean_alloc_ctor(0, 2, 0); } else { - x_484 = x_435; + x_484 = x_433; } -lean_ctor_set(x_484, 0, x_483); -lean_ctor_set(x_484, 1, x_434); -return x_484; +lean_ctor_set(x_484, 0, x_481); +lean_ctor_set(x_484, 1, x_483); +x_485 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_485, 0, x_431); +lean_ctor_set(x_485, 1, x_484); +if (lean_is_scalar(x_437)) { + x_486 = lean_alloc_ctor(0, 2, 0); +} else { + x_486 = x_437; +} +lean_ctor_set(x_486, 0, x_485); +lean_ctor_set(x_486, 1, x_436); +return x_486; } } else { -uint8_t x_485; -lean_dec(x_262); +uint8_t x_487; +lean_dec(x_264); lean_dec(x_14); lean_dec(x_5); -x_485 = !lean_is_exclusive(x_269); -if (x_485 == 0) +x_487 = !lean_is_exclusive(x_271); +if (x_487 == 0) { -return x_269; +return x_271; } else { -lean_object* x_486; lean_object* x_487; lean_object* x_488; -x_486 = lean_ctor_get(x_269, 0); -x_487 = lean_ctor_get(x_269, 1); -lean_inc(x_487); -lean_inc(x_486); -lean_dec(x_269); -x_488 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_488, 0, x_486); -lean_ctor_set(x_488, 1, x_487); -return x_488; +lean_object* x_488; lean_object* x_489; lean_object* x_490; +x_488 = lean_ctor_get(x_271, 0); +x_489 = lean_ctor_get(x_271, 1); +lean_inc(x_489); +lean_inc(x_488); +lean_dec(x_271); +x_490 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_490, 0, x_488); +lean_ctor_set(x_490, 1, x_489); +return x_490; } } } else { -lean_object* x_489; uint8_t x_490; -x_489 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__3; -x_490 = lean_string_dec_eq(x_257, x_489); +lean_object* x_491; uint8_t x_492; +x_491 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__3; +x_492 = lean_string_dec_eq(x_258, x_491); +lean_dec(x_258); +if (x_492 == 0) +{ +uint8_t 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_dec(x_257); -if (x_490 == 0) -{ -lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_dec(x_256); -lean_dec(x_255); +x_493 = 0; lean_inc(x_5); lean_inc(x_14); -x_491 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_492 = lean_ctor_get(x_491, 0); -lean_inc(x_492); -x_493 = lean_ctor_get(x_491, 1); -lean_inc(x_493); -lean_dec(x_491); -x_494 = lean_unsigned_to_nat(1u); -x_495 = lean_nat_add(x_3, x_494); +x_494 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_493, x_5, x_6); +x_495 = lean_ctor_get(x_494, 0); +lean_inc(x_495); +x_496 = lean_ctor_get(x_494, 1); +lean_inc(x_496); +lean_dec(x_494); +x_497 = lean_unsigned_to_nat(1u); +x_498 = lean_nat_add(x_3, x_497); lean_dec(x_3); lean_inc(x_14); -x_496 = l_Lean_mkHole(x_14); -lean_inc(x_492); -x_497 = l_Lean_Elab_Term_mkExplicitBinder(x_492, x_496); -x_498 = lean_array_push(x_4, x_497); +x_499 = l_Lean_mkHole(x_14, x_493); +lean_inc(x_495); +x_500 = l_Lean_Elab_Term_mkExplicitBinder(x_495, x_499); +x_501 = lean_array_push(x_4, x_500); lean_inc(x_5); -x_499 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_495, x_498, x_5, x_493); -if (lean_obj_tag(x_499) == 0) +x_502 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_498, x_501, x_5, x_496); +if (lean_obj_tag(x_502) == 0) { -lean_object* x_500; lean_object* x_501; lean_object* x_502; uint8_t x_503; -x_500 = lean_ctor_get(x_499, 0); -lean_inc(x_500); -x_501 = lean_ctor_get(x_500, 1); -lean_inc(x_501); -x_502 = lean_ctor_get(x_499, 1); -lean_inc(x_502); -lean_dec(x_499); -x_503 = !lean_is_exclusive(x_500); -if (x_503 == 0) +lean_object* x_503; lean_object* x_504; lean_object* x_505; uint8_t x_506; +x_503 = lean_ctor_get(x_502, 0); +lean_inc(x_503); +x_504 = lean_ctor_get(x_503, 1); +lean_inc(x_504); +x_505 = lean_ctor_get(x_502, 1); +lean_inc(x_505); +lean_dec(x_502); +x_506 = !lean_is_exclusive(x_503); +if (x_506 == 0) { -lean_object* x_504; uint8_t x_505; -x_504 = lean_ctor_get(x_500, 1); -lean_dec(x_504); -x_505 = !lean_is_exclusive(x_501); -if (x_505 == 0) -{ -lean_object* x_506; lean_object* x_507; lean_object* x_508; uint8_t x_509; -x_506 = lean_ctor_get(x_501, 0); -x_507 = lean_ctor_get(x_501, 1); +lean_object* x_507; uint8_t x_508; +x_507 = lean_ctor_get(x_503, 1); lean_dec(x_507); -x_508 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_502); -x_509 = !lean_is_exclusive(x_508); -if (x_509 == 0) +x_508 = !lean_is_exclusive(x_504); +if (x_508 == 0) { -lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; uint8_t x_555; lean_object* x_556; -x_510 = lean_ctor_get(x_508, 0); -x_511 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_510); -x_512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_512, 0, x_510); -lean_ctor_set(x_512, 1, x_511); -x_513 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_514 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_510); -x_515 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_515, 0, x_510); -lean_ctor_set(x_515, 1, x_513); -lean_ctor_set(x_515, 2, x_514); -x_516 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_515); -x_517 = lean_array_push(x_516, x_515); -x_518 = lean_array_push(x_517, x_492); -x_519 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_510); -x_520 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_520, 0, x_510); -lean_ctor_set(x_520, 1, x_519); -lean_ctor_set(x_520, 2, x_518); -x_521 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_522 = lean_array_push(x_521, x_520); -lean_inc(x_510); +lean_object* x_509; lean_object* x_510; lean_object* x_511; uint8_t x_512; +x_509 = lean_ctor_get(x_504, 0); +x_510 = lean_ctor_get(x_504, 1); +lean_dec(x_510); +x_511 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_505); +x_512 = !lean_is_exclusive(x_511); +if (x_512 == 0) +{ +lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; uint8_t x_558; lean_object* x_559; +x_513 = lean_ctor_get(x_511, 0); +x_514 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_513); +x_515 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_515, 0, x_513); +lean_ctor_set(x_515, 1, x_514); +x_516 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_517 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_513); +x_518 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_518, 0, x_513); +lean_ctor_set(x_518, 1, x_516); +lean_ctor_set(x_518, 2, x_517); +x_519 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_518); +x_520 = lean_array_push(x_519, x_518); +x_521 = lean_array_push(x_520, x_495); +x_522 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_513); x_523 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_523, 0, x_510); -lean_ctor_set(x_523, 1, x_513); -lean_ctor_set(x_523, 2, x_522); -x_524 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_510); -x_525 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_525, 0, x_510); -lean_ctor_set(x_525, 1, x_524); -x_526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_510); -x_527 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_527, 0, x_510); -lean_ctor_set(x_527, 1, x_526); -x_528 = lean_array_push(x_521, x_14); -lean_inc(x_510); -x_529 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_529, 0, x_510); -lean_ctor_set(x_529, 1, x_513); -lean_ctor_set(x_529, 2, x_528); -x_530 = lean_array_push(x_521, x_529); -lean_inc(x_510); -x_531 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_531, 0, x_510); -lean_ctor_set(x_531, 1, x_513); -lean_ctor_set(x_531, 2, x_530); -x_532 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_510); -x_533 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_533, 0, x_510); -lean_ctor_set(x_533, 1, x_532); -x_534 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_535 = lean_array_push(x_534, x_527); -x_536 = lean_array_push(x_535, x_531); -x_537 = lean_array_push(x_536, x_533); -x_538 = lean_array_push(x_537, x_506); -x_539 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_510); -x_540 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_540, 0, x_510); -lean_ctor_set(x_540, 1, x_539); -lean_ctor_set(x_540, 2, x_538); -x_541 = lean_array_push(x_521, x_540); -lean_inc(x_510); -x_542 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_542, 0, x_510); -lean_ctor_set(x_542, 1, x_513); -lean_ctor_set(x_542, 2, x_541); -x_543 = lean_array_push(x_521, x_542); -x_544 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_510); +lean_ctor_set(x_523, 0, x_513); +lean_ctor_set(x_523, 1, x_522); +lean_ctor_set(x_523, 2, x_521); +x_524 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_525 = lean_array_push(x_524, x_523); +lean_inc(x_513); +x_526 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_526, 0, x_513); +lean_ctor_set(x_526, 1, x_516); +lean_ctor_set(x_526, 2, x_525); +x_527 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_513); +x_528 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_528, 0, x_513); +lean_ctor_set(x_528, 1, x_527); +x_529 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_513); +x_530 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_530, 0, x_513); +lean_ctor_set(x_530, 1, x_529); +x_531 = lean_array_push(x_524, x_14); +lean_inc(x_513); +x_532 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_532, 0, x_513); +lean_ctor_set(x_532, 1, x_516); +lean_ctor_set(x_532, 2, x_531); +x_533 = lean_array_push(x_524, x_532); +lean_inc(x_513); +x_534 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_534, 0, x_513); +lean_ctor_set(x_534, 1, x_516); +lean_ctor_set(x_534, 2, x_533); +x_535 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_513); +x_536 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_536, 0, x_513); +lean_ctor_set(x_536, 1, x_535); +x_537 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_538 = lean_array_push(x_537, x_530); +x_539 = lean_array_push(x_538, x_534); +x_540 = lean_array_push(x_539, x_536); +x_541 = lean_array_push(x_540, x_509); +x_542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_513); +x_543 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_543, 0, x_513); +lean_ctor_set(x_543, 1, x_542); +lean_ctor_set(x_543, 2, x_541); +x_544 = lean_array_push(x_524, x_543); +lean_inc(x_513); x_545 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_545, 0, x_510); -lean_ctor_set(x_545, 1, x_544); -lean_ctor_set(x_545, 2, x_543); -x_546 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_547 = lean_array_push(x_546, x_512); -lean_inc(x_515); -x_548 = lean_array_push(x_547, x_515); -x_549 = lean_array_push(x_548, x_515); -x_550 = lean_array_push(x_549, x_523); -x_551 = lean_array_push(x_550, x_525); -x_552 = lean_array_push(x_551, x_545); -x_553 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_554 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_554, 0, x_510); -lean_ctor_set(x_554, 1, x_553); -lean_ctor_set(x_554, 2, x_552); -x_555 = 1; -x_556 = lean_box(x_555); -lean_ctor_set(x_501, 1, x_556); -lean_ctor_set(x_501, 0, x_554); -lean_ctor_set(x_508, 0, x_500); -return x_508; +lean_ctor_set(x_545, 0, x_513); +lean_ctor_set(x_545, 1, x_516); +lean_ctor_set(x_545, 2, x_544); +x_546 = lean_array_push(x_524, x_545); +x_547 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_513); +x_548 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_548, 0, x_513); +lean_ctor_set(x_548, 1, x_547); +lean_ctor_set(x_548, 2, x_546); +x_549 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_550 = lean_array_push(x_549, x_515); +lean_inc(x_518); +x_551 = lean_array_push(x_550, x_518); +x_552 = lean_array_push(x_551, x_518); +x_553 = lean_array_push(x_552, x_526); +x_554 = lean_array_push(x_553, x_528); +x_555 = lean_array_push(x_554, x_548); +x_556 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_557 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_557, 0, x_513); +lean_ctor_set(x_557, 1, x_556); +lean_ctor_set(x_557, 2, x_555); +x_558 = 1; +x_559 = lean_box(x_558); +lean_ctor_set(x_504, 1, x_559); +lean_ctor_set(x_504, 0, x_557); +lean_ctor_set(x_511, 0, x_503); +return x_511; } else { -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; uint8_t x_603; lean_object* x_604; lean_object* x_605; -x_557 = lean_ctor_get(x_508, 0); -x_558 = lean_ctor_get(x_508, 1); -lean_inc(x_558); -lean_inc(x_557); -lean_dec(x_508); -x_559 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_557); -x_560 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_560, 0, x_557); -lean_ctor_set(x_560, 1, x_559); -x_561 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_562 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_557); -x_563 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_563, 0, x_557); -lean_ctor_set(x_563, 1, x_561); -lean_ctor_set(x_563, 2, x_562); -x_564 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_563); -x_565 = lean_array_push(x_564, x_563); -x_566 = lean_array_push(x_565, x_492); -x_567 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_557); -x_568 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_568, 0, x_557); -lean_ctor_set(x_568, 1, x_567); -lean_ctor_set(x_568, 2, x_566); -x_569 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_570 = lean_array_push(x_569, x_568); -lean_inc(x_557); +lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; uint8_t x_606; lean_object* x_607; lean_object* x_608; +x_560 = lean_ctor_get(x_511, 0); +x_561 = lean_ctor_get(x_511, 1); +lean_inc(x_561); +lean_inc(x_560); +lean_dec(x_511); +x_562 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_560); +x_563 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_563, 0, x_560); +lean_ctor_set(x_563, 1, x_562); +x_564 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_565 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_560); +x_566 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_566, 0, x_560); +lean_ctor_set(x_566, 1, x_564); +lean_ctor_set(x_566, 2, x_565); +x_567 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_566); +x_568 = lean_array_push(x_567, x_566); +x_569 = lean_array_push(x_568, x_495); +x_570 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_560); x_571 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_571, 0, x_557); -lean_ctor_set(x_571, 1, x_561); -lean_ctor_set(x_571, 2, x_570); -x_572 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_557); -x_573 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_573, 0, x_557); -lean_ctor_set(x_573, 1, x_572); -x_574 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_557); -x_575 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_575, 0, x_557); -lean_ctor_set(x_575, 1, x_574); -x_576 = lean_array_push(x_569, x_14); -lean_inc(x_557); -x_577 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_577, 0, x_557); -lean_ctor_set(x_577, 1, x_561); -lean_ctor_set(x_577, 2, x_576); -x_578 = lean_array_push(x_569, x_577); -lean_inc(x_557); -x_579 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_579, 0, x_557); -lean_ctor_set(x_579, 1, x_561); -lean_ctor_set(x_579, 2, x_578); -x_580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_557); -x_581 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_581, 0, x_557); -lean_ctor_set(x_581, 1, x_580); -x_582 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_583 = lean_array_push(x_582, x_575); -x_584 = lean_array_push(x_583, x_579); -x_585 = lean_array_push(x_584, x_581); -x_586 = lean_array_push(x_585, x_506); -x_587 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_557); -x_588 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_588, 0, x_557); -lean_ctor_set(x_588, 1, x_587); -lean_ctor_set(x_588, 2, x_586); -x_589 = lean_array_push(x_569, x_588); -lean_inc(x_557); -x_590 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_590, 0, x_557); -lean_ctor_set(x_590, 1, x_561); -lean_ctor_set(x_590, 2, x_589); -x_591 = lean_array_push(x_569, x_590); -x_592 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_557); +lean_ctor_set(x_571, 0, x_560); +lean_ctor_set(x_571, 1, x_570); +lean_ctor_set(x_571, 2, x_569); +x_572 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_573 = lean_array_push(x_572, x_571); +lean_inc(x_560); +x_574 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_574, 0, x_560); +lean_ctor_set(x_574, 1, x_564); +lean_ctor_set(x_574, 2, x_573); +x_575 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_560); +x_576 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_576, 0, x_560); +lean_ctor_set(x_576, 1, x_575); +x_577 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_560); +x_578 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_578, 0, x_560); +lean_ctor_set(x_578, 1, x_577); +x_579 = lean_array_push(x_572, x_14); +lean_inc(x_560); +x_580 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_580, 0, x_560); +lean_ctor_set(x_580, 1, x_564); +lean_ctor_set(x_580, 2, x_579); +x_581 = lean_array_push(x_572, x_580); +lean_inc(x_560); +x_582 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_582, 0, x_560); +lean_ctor_set(x_582, 1, x_564); +lean_ctor_set(x_582, 2, x_581); +x_583 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_560); +x_584 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_584, 0, x_560); +lean_ctor_set(x_584, 1, x_583); +x_585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_586 = lean_array_push(x_585, x_578); +x_587 = lean_array_push(x_586, x_582); +x_588 = lean_array_push(x_587, x_584); +x_589 = lean_array_push(x_588, x_509); +x_590 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_560); +x_591 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_591, 0, x_560); +lean_ctor_set(x_591, 1, x_590); +lean_ctor_set(x_591, 2, x_589); +x_592 = lean_array_push(x_572, x_591); +lean_inc(x_560); x_593 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_593, 0, x_557); -lean_ctor_set(x_593, 1, x_592); -lean_ctor_set(x_593, 2, x_591); -x_594 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_595 = lean_array_push(x_594, x_560); -lean_inc(x_563); -x_596 = lean_array_push(x_595, x_563); -x_597 = lean_array_push(x_596, x_563); -x_598 = lean_array_push(x_597, x_571); -x_599 = lean_array_push(x_598, x_573); -x_600 = lean_array_push(x_599, x_593); -x_601 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_602 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_602, 0, x_557); -lean_ctor_set(x_602, 1, x_601); -lean_ctor_set(x_602, 2, x_600); -x_603 = 1; -x_604 = lean_box(x_603); -lean_ctor_set(x_501, 1, x_604); -lean_ctor_set(x_501, 0, x_602); -x_605 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_605, 0, x_500); -lean_ctor_set(x_605, 1, x_558); -return x_605; +lean_ctor_set(x_593, 0, x_560); +lean_ctor_set(x_593, 1, x_564); +lean_ctor_set(x_593, 2, x_592); +x_594 = lean_array_push(x_572, x_593); +x_595 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_560); +x_596 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_596, 0, x_560); +lean_ctor_set(x_596, 1, x_595); +lean_ctor_set(x_596, 2, x_594); +x_597 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_598 = lean_array_push(x_597, x_563); +lean_inc(x_566); +x_599 = lean_array_push(x_598, x_566); +x_600 = lean_array_push(x_599, x_566); +x_601 = lean_array_push(x_600, x_574); +x_602 = lean_array_push(x_601, x_576); +x_603 = lean_array_push(x_602, x_596); +x_604 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_605 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_605, 0, x_560); +lean_ctor_set(x_605, 1, x_604); +lean_ctor_set(x_605, 2, x_603); +x_606 = 1; +x_607 = lean_box(x_606); +lean_ctor_set(x_504, 1, x_607); +lean_ctor_set(x_504, 0, x_605); +x_608 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_608, 0, x_503); +lean_ctor_set(x_608, 1, x_561); +return x_608; } } else { -lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; uint8_t x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; -x_606 = lean_ctor_get(x_501, 0); -lean_inc(x_606); -lean_dec(x_501); -x_607 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_502); -x_608 = lean_ctor_get(x_607, 0); -lean_inc(x_608); -x_609 = lean_ctor_get(x_607, 1); +lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; uint8_t x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; +x_609 = lean_ctor_get(x_504, 0); lean_inc(x_609); -if (lean_is_exclusive(x_607)) { - lean_ctor_release(x_607, 0); - lean_ctor_release(x_607, 1); - x_610 = x_607; +lean_dec(x_504); +x_610 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_505); +x_611 = lean_ctor_get(x_610, 0); +lean_inc(x_611); +x_612 = lean_ctor_get(x_610, 1); +lean_inc(x_612); +if (lean_is_exclusive(x_610)) { + lean_ctor_release(x_610, 0); + lean_ctor_release(x_610, 1); + x_613 = x_610; } else { - lean_dec_ref(x_607); - x_610 = lean_box(0); + lean_dec_ref(x_610); + x_613 = lean_box(0); } -x_611 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_608); -x_612 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_612, 0, x_608); -lean_ctor_set(x_612, 1, x_611); -x_613 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_614 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_608); -x_615 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_615, 0, x_608); -lean_ctor_set(x_615, 1, x_613); -lean_ctor_set(x_615, 2, x_614); -x_616 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_615); -x_617 = lean_array_push(x_616, x_615); -x_618 = lean_array_push(x_617, x_492); -x_619 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_608); -x_620 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_620, 0, x_608); -lean_ctor_set(x_620, 1, x_619); -lean_ctor_set(x_620, 2, x_618); -x_621 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_622 = lean_array_push(x_621, x_620); -lean_inc(x_608); +x_614 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_611); +x_615 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_615, 0, x_611); +lean_ctor_set(x_615, 1, x_614); +x_616 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_617 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_611); +x_618 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_618, 0, x_611); +lean_ctor_set(x_618, 1, x_616); +lean_ctor_set(x_618, 2, x_617); +x_619 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_618); +x_620 = lean_array_push(x_619, x_618); +x_621 = lean_array_push(x_620, x_495); +x_622 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_611); x_623 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_623, 0, x_608); -lean_ctor_set(x_623, 1, x_613); -lean_ctor_set(x_623, 2, x_622); -x_624 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_608); -x_625 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_625, 0, x_608); -lean_ctor_set(x_625, 1, x_624); -x_626 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_608); -x_627 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_627, 0, x_608); -lean_ctor_set(x_627, 1, x_626); -x_628 = lean_array_push(x_621, x_14); -lean_inc(x_608); -x_629 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_629, 0, x_608); -lean_ctor_set(x_629, 1, x_613); -lean_ctor_set(x_629, 2, x_628); -x_630 = lean_array_push(x_621, x_629); -lean_inc(x_608); -x_631 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_631, 0, x_608); -lean_ctor_set(x_631, 1, x_613); -lean_ctor_set(x_631, 2, x_630); -x_632 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_608); -x_633 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_633, 0, x_608); -lean_ctor_set(x_633, 1, x_632); -x_634 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_635 = lean_array_push(x_634, x_627); -x_636 = lean_array_push(x_635, x_631); -x_637 = lean_array_push(x_636, x_633); -x_638 = lean_array_push(x_637, x_606); -x_639 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_608); -x_640 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_640, 0, x_608); -lean_ctor_set(x_640, 1, x_639); -lean_ctor_set(x_640, 2, x_638); -x_641 = lean_array_push(x_621, x_640); -lean_inc(x_608); -x_642 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_642, 0, x_608); -lean_ctor_set(x_642, 1, x_613); -lean_ctor_set(x_642, 2, x_641); -x_643 = lean_array_push(x_621, x_642); -x_644 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_608); +lean_ctor_set(x_623, 0, x_611); +lean_ctor_set(x_623, 1, x_622); +lean_ctor_set(x_623, 2, x_621); +x_624 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_625 = lean_array_push(x_624, x_623); +lean_inc(x_611); +x_626 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_626, 0, x_611); +lean_ctor_set(x_626, 1, x_616); +lean_ctor_set(x_626, 2, x_625); +x_627 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_611); +x_628 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_628, 0, x_611); +lean_ctor_set(x_628, 1, x_627); +x_629 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_611); +x_630 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_630, 0, x_611); +lean_ctor_set(x_630, 1, x_629); +x_631 = lean_array_push(x_624, x_14); +lean_inc(x_611); +x_632 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_632, 0, x_611); +lean_ctor_set(x_632, 1, x_616); +lean_ctor_set(x_632, 2, x_631); +x_633 = lean_array_push(x_624, x_632); +lean_inc(x_611); +x_634 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_634, 0, x_611); +lean_ctor_set(x_634, 1, x_616); +lean_ctor_set(x_634, 2, x_633); +x_635 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_611); +x_636 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_636, 0, x_611); +lean_ctor_set(x_636, 1, x_635); +x_637 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_638 = lean_array_push(x_637, x_630); +x_639 = lean_array_push(x_638, x_634); +x_640 = lean_array_push(x_639, x_636); +x_641 = lean_array_push(x_640, x_609); +x_642 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_611); +x_643 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_643, 0, x_611); +lean_ctor_set(x_643, 1, x_642); +lean_ctor_set(x_643, 2, x_641); +x_644 = lean_array_push(x_624, x_643); +lean_inc(x_611); x_645 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_645, 0, x_608); -lean_ctor_set(x_645, 1, x_644); -lean_ctor_set(x_645, 2, x_643); -x_646 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_647 = lean_array_push(x_646, x_612); -lean_inc(x_615); -x_648 = lean_array_push(x_647, x_615); -x_649 = lean_array_push(x_648, x_615); -x_650 = lean_array_push(x_649, x_623); -x_651 = lean_array_push(x_650, x_625); -x_652 = lean_array_push(x_651, x_645); -x_653 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_654 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_654, 0, x_608); -lean_ctor_set(x_654, 1, x_653); -lean_ctor_set(x_654, 2, x_652); -x_655 = 1; -x_656 = lean_box(x_655); -x_657 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_657, 0, x_654); +lean_ctor_set(x_645, 0, x_611); +lean_ctor_set(x_645, 1, x_616); +lean_ctor_set(x_645, 2, x_644); +x_646 = lean_array_push(x_624, x_645); +x_647 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_611); +x_648 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_648, 0, x_611); +lean_ctor_set(x_648, 1, x_647); +lean_ctor_set(x_648, 2, x_646); +x_649 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_650 = lean_array_push(x_649, x_615); +lean_inc(x_618); +x_651 = lean_array_push(x_650, x_618); +x_652 = lean_array_push(x_651, x_618); +x_653 = lean_array_push(x_652, x_626); +x_654 = lean_array_push(x_653, x_628); +x_655 = lean_array_push(x_654, x_648); +x_656 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_657 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_657, 0, x_611); lean_ctor_set(x_657, 1, x_656); -lean_ctor_set(x_500, 1, x_657); -if (lean_is_scalar(x_610)) { - x_658 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_657, 2, x_655); +x_658 = 1; +x_659 = lean_box(x_658); +x_660 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_660, 0, x_657); +lean_ctor_set(x_660, 1, x_659); +lean_ctor_set(x_503, 1, x_660); +if (lean_is_scalar(x_613)) { + x_661 = lean_alloc_ctor(0, 2, 0); } else { - x_658 = x_610; + x_661 = x_613; } -lean_ctor_set(x_658, 0, x_500); -lean_ctor_set(x_658, 1, x_609); -return x_658; +lean_ctor_set(x_661, 0, x_503); +lean_ctor_set(x_661, 1, x_612); +return x_661; } } else { -lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; uint8_t x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; -x_659 = lean_ctor_get(x_500, 0); -lean_inc(x_659); -lean_dec(x_500); -x_660 = lean_ctor_get(x_501, 0); -lean_inc(x_660); -if (lean_is_exclusive(x_501)) { - lean_ctor_release(x_501, 0); - lean_ctor_release(x_501, 1); - x_661 = x_501; +lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; uint8_t x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; +x_662 = lean_ctor_get(x_503, 0); +lean_inc(x_662); +lean_dec(x_503); +x_663 = lean_ctor_get(x_504, 0); +lean_inc(x_663); +if (lean_is_exclusive(x_504)) { + lean_ctor_release(x_504, 0); + lean_ctor_release(x_504, 1); + x_664 = x_504; } else { - lean_dec_ref(x_501); - x_661 = lean_box(0); + lean_dec_ref(x_504); + x_664 = lean_box(0); } -x_662 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_502); -x_663 = lean_ctor_get(x_662, 0); -lean_inc(x_663); -x_664 = lean_ctor_get(x_662, 1); -lean_inc(x_664); -if (lean_is_exclusive(x_662)) { - lean_ctor_release(x_662, 0); - lean_ctor_release(x_662, 1); - x_665 = x_662; +x_665 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_505); +x_666 = lean_ctor_get(x_665, 0); +lean_inc(x_666); +x_667 = lean_ctor_get(x_665, 1); +lean_inc(x_667); +if (lean_is_exclusive(x_665)) { + lean_ctor_release(x_665, 0); + lean_ctor_release(x_665, 1); + x_668 = x_665; } else { - lean_dec_ref(x_662); - x_665 = lean_box(0); + lean_dec_ref(x_665); + x_668 = lean_box(0); } -x_666 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_663); -x_667 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_667, 0, x_663); -lean_ctor_set(x_667, 1, x_666); -x_668 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_669 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_663); -x_670 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_670, 0, x_663); -lean_ctor_set(x_670, 1, x_668); -lean_ctor_set(x_670, 2, x_669); -x_671 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_670); -x_672 = lean_array_push(x_671, x_670); -x_673 = lean_array_push(x_672, x_492); -x_674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_663); -x_675 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_675, 0, x_663); -lean_ctor_set(x_675, 1, x_674); -lean_ctor_set(x_675, 2, x_673); -x_676 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_677 = lean_array_push(x_676, x_675); -lean_inc(x_663); +x_669 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_666); +x_670 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_670, 0, x_666); +lean_ctor_set(x_670, 1, x_669); +x_671 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_672 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_666); +x_673 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_673, 0, x_666); +lean_ctor_set(x_673, 1, x_671); +lean_ctor_set(x_673, 2, x_672); +x_674 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_673); +x_675 = lean_array_push(x_674, x_673); +x_676 = lean_array_push(x_675, x_495); +x_677 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_666); x_678 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_678, 0, x_663); -lean_ctor_set(x_678, 1, x_668); -lean_ctor_set(x_678, 2, x_677); -x_679 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_663); -x_680 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_680, 0, x_663); -lean_ctor_set(x_680, 1, x_679); -x_681 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_663); -x_682 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_682, 0, x_663); -lean_ctor_set(x_682, 1, x_681); -x_683 = lean_array_push(x_676, x_14); -lean_inc(x_663); -x_684 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_684, 0, x_663); -lean_ctor_set(x_684, 1, x_668); -lean_ctor_set(x_684, 2, x_683); -x_685 = lean_array_push(x_676, x_684); -lean_inc(x_663); -x_686 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_686, 0, x_663); -lean_ctor_set(x_686, 1, x_668); -lean_ctor_set(x_686, 2, x_685); -x_687 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_663); -x_688 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_688, 0, x_663); -lean_ctor_set(x_688, 1, x_687); -x_689 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_690 = lean_array_push(x_689, x_682); -x_691 = lean_array_push(x_690, x_686); -x_692 = lean_array_push(x_691, x_688); -x_693 = lean_array_push(x_692, x_660); -x_694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_663); -x_695 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_695, 0, x_663); -lean_ctor_set(x_695, 1, x_694); -lean_ctor_set(x_695, 2, x_693); -x_696 = lean_array_push(x_676, x_695); -lean_inc(x_663); -x_697 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_697, 0, x_663); -lean_ctor_set(x_697, 1, x_668); -lean_ctor_set(x_697, 2, x_696); -x_698 = lean_array_push(x_676, x_697); -x_699 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_663); +lean_ctor_set(x_678, 0, x_666); +lean_ctor_set(x_678, 1, x_677); +lean_ctor_set(x_678, 2, x_676); +x_679 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_680 = lean_array_push(x_679, x_678); +lean_inc(x_666); +x_681 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_681, 0, x_666); +lean_ctor_set(x_681, 1, x_671); +lean_ctor_set(x_681, 2, x_680); +x_682 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_666); +x_683 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_683, 0, x_666); +lean_ctor_set(x_683, 1, x_682); +x_684 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_666); +x_685 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_685, 0, x_666); +lean_ctor_set(x_685, 1, x_684); +x_686 = lean_array_push(x_679, x_14); +lean_inc(x_666); +x_687 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_687, 0, x_666); +lean_ctor_set(x_687, 1, x_671); +lean_ctor_set(x_687, 2, x_686); +x_688 = lean_array_push(x_679, x_687); +lean_inc(x_666); +x_689 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_689, 0, x_666); +lean_ctor_set(x_689, 1, x_671); +lean_ctor_set(x_689, 2, x_688); +x_690 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_666); +x_691 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_691, 0, x_666); +lean_ctor_set(x_691, 1, x_690); +x_692 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_693 = lean_array_push(x_692, x_685); +x_694 = lean_array_push(x_693, x_689); +x_695 = lean_array_push(x_694, x_691); +x_696 = lean_array_push(x_695, x_663); +x_697 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_666); +x_698 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_698, 0, x_666); +lean_ctor_set(x_698, 1, x_697); +lean_ctor_set(x_698, 2, x_696); +x_699 = lean_array_push(x_679, x_698); +lean_inc(x_666); x_700 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_700, 0, x_663); -lean_ctor_set(x_700, 1, x_699); -lean_ctor_set(x_700, 2, x_698); -x_701 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_702 = lean_array_push(x_701, x_667); -lean_inc(x_670); -x_703 = lean_array_push(x_702, x_670); -x_704 = lean_array_push(x_703, x_670); -x_705 = lean_array_push(x_704, x_678); -x_706 = lean_array_push(x_705, x_680); -x_707 = lean_array_push(x_706, x_700); -x_708 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_709 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_709, 0, x_663); -lean_ctor_set(x_709, 1, x_708); -lean_ctor_set(x_709, 2, x_707); -x_710 = 1; -x_711 = lean_box(x_710); -if (lean_is_scalar(x_661)) { - x_712 = lean_alloc_ctor(0, 2, 0); -} else { - x_712 = x_661; -} -lean_ctor_set(x_712, 0, x_709); +lean_ctor_set(x_700, 0, x_666); +lean_ctor_set(x_700, 1, x_671); +lean_ctor_set(x_700, 2, x_699); +x_701 = lean_array_push(x_679, x_700); +x_702 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_666); +x_703 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_703, 0, x_666); +lean_ctor_set(x_703, 1, x_702); +lean_ctor_set(x_703, 2, x_701); +x_704 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_705 = lean_array_push(x_704, x_670); +lean_inc(x_673); +x_706 = lean_array_push(x_705, x_673); +x_707 = lean_array_push(x_706, x_673); +x_708 = lean_array_push(x_707, x_681); +x_709 = lean_array_push(x_708, x_683); +x_710 = lean_array_push(x_709, x_703); +x_711 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_712 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_712, 0, x_666); lean_ctor_set(x_712, 1, x_711); -x_713 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_713, 0, x_659); -lean_ctor_set(x_713, 1, x_712); -if (lean_is_scalar(x_665)) { - x_714 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_712, 2, x_710); +x_713 = 1; +x_714 = lean_box(x_713); +if (lean_is_scalar(x_664)) { + x_715 = lean_alloc_ctor(0, 2, 0); } else { - x_714 = x_665; + x_715 = x_664; } -lean_ctor_set(x_714, 0, x_713); -lean_ctor_set(x_714, 1, x_664); -return x_714; +lean_ctor_set(x_715, 0, x_712); +lean_ctor_set(x_715, 1, x_714); +x_716 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_716, 0, x_662); +lean_ctor_set(x_716, 1, x_715); +if (lean_is_scalar(x_668)) { + x_717 = lean_alloc_ctor(0, 2, 0); +} else { + x_717 = x_668; +} +lean_ctor_set(x_717, 0, x_716); +lean_ctor_set(x_717, 1, x_667); +return x_717; } } else { -uint8_t x_715; -lean_dec(x_492); +uint8_t x_718; +lean_dec(x_495); lean_dec(x_14); lean_dec(x_5); -x_715 = !lean_is_exclusive(x_499); -if (x_715 == 0) +x_718 = !lean_is_exclusive(x_502); +if (x_718 == 0) { -return x_499; +return x_502; } else { -lean_object* x_716; lean_object* x_717; lean_object* x_718; -x_716 = lean_ctor_get(x_499, 0); -x_717 = lean_ctor_get(x_499, 1); -lean_inc(x_717); -lean_inc(x_716); -lean_dec(x_499); -x_718 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_718, 0, x_716); -lean_ctor_set(x_718, 1, x_717); -return x_718; +lean_object* x_719; lean_object* x_720; lean_object* x_721; +x_719 = lean_ctor_get(x_502, 0); +x_720 = lean_ctor_get(x_502, 1); +lean_inc(x_720); +lean_inc(x_719); +lean_dec(x_502); +x_721 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_721, 0, x_719); +lean_ctor_set(x_721, 1, x_720); +return x_721; } } } else { -lean_object* x_719; uint8_t x_720; -x_719 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__5; -x_720 = lean_string_dec_eq(x_256, x_719); +lean_object* x_722; uint8_t x_723; +x_722 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__5; +x_723 = lean_string_dec_eq(x_257, x_722); +lean_dec(x_257); +if (x_723 == 0) +{ +uint8_t x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_dec(x_256); -if (x_720 == 0) -{ -lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; -lean_dec(x_255); +x_724 = 0; lean_inc(x_5); lean_inc(x_14); -x_721 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_722 = lean_ctor_get(x_721, 0); -lean_inc(x_722); -x_723 = lean_ctor_get(x_721, 1); -lean_inc(x_723); -lean_dec(x_721); -x_724 = lean_unsigned_to_nat(1u); -x_725 = lean_nat_add(x_3, x_724); +x_725 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_724, x_5, x_6); +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_728 = lean_unsigned_to_nat(1u); +x_729 = lean_nat_add(x_3, x_728); lean_dec(x_3); lean_inc(x_14); -x_726 = l_Lean_mkHole(x_14); -lean_inc(x_722); -x_727 = l_Lean_Elab_Term_mkExplicitBinder(x_722, x_726); -x_728 = lean_array_push(x_4, x_727); +x_730 = l_Lean_mkHole(x_14, x_724); +lean_inc(x_726); +x_731 = l_Lean_Elab_Term_mkExplicitBinder(x_726, x_730); +x_732 = lean_array_push(x_4, x_731); lean_inc(x_5); -x_729 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_725, x_728, x_5, x_723); -if (lean_obj_tag(x_729) == 0) +x_733 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_729, x_732, x_5, x_727); +if (lean_obj_tag(x_733) == 0) { -lean_object* x_730; lean_object* x_731; lean_object* x_732; uint8_t x_733; -x_730 = lean_ctor_get(x_729, 0); -lean_inc(x_730); -x_731 = lean_ctor_get(x_730, 1); -lean_inc(x_731); -x_732 = lean_ctor_get(x_729, 1); -lean_inc(x_732); -lean_dec(x_729); -x_733 = !lean_is_exclusive(x_730); -if (x_733 == 0) +lean_object* x_734; lean_object* x_735; lean_object* x_736; uint8_t x_737; +x_734 = lean_ctor_get(x_733, 0); +lean_inc(x_734); +x_735 = lean_ctor_get(x_734, 1); +lean_inc(x_735); +x_736 = lean_ctor_get(x_733, 1); +lean_inc(x_736); +lean_dec(x_733); +x_737 = !lean_is_exclusive(x_734); +if (x_737 == 0) { -lean_object* x_734; uint8_t x_735; -x_734 = lean_ctor_get(x_730, 1); -lean_dec(x_734); -x_735 = !lean_is_exclusive(x_731); -if (x_735 == 0) -{ -lean_object* x_736; lean_object* x_737; lean_object* x_738; uint8_t x_739; -x_736 = lean_ctor_get(x_731, 0); -x_737 = lean_ctor_get(x_731, 1); -lean_dec(x_737); -x_738 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_732); -x_739 = !lean_is_exclusive(x_738); +lean_object* x_738; uint8_t x_739; +x_738 = lean_ctor_get(x_734, 1); +lean_dec(x_738); +x_739 = !lean_is_exclusive(x_735); if (x_739 == 0) { -lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; uint8_t x_785; lean_object* x_786; -x_740 = lean_ctor_get(x_738, 0); -x_741 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_740); -x_742 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_742, 0, x_740); -lean_ctor_set(x_742, 1, x_741); -x_743 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_744 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_740); -x_745 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_745, 0, x_740); -lean_ctor_set(x_745, 1, x_743); -lean_ctor_set(x_745, 2, x_744); -x_746 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_745); -x_747 = lean_array_push(x_746, x_745); -x_748 = lean_array_push(x_747, x_722); -x_749 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_740); -x_750 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_750, 0, x_740); -lean_ctor_set(x_750, 1, x_749); -lean_ctor_set(x_750, 2, x_748); -x_751 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_752 = lean_array_push(x_751, x_750); -lean_inc(x_740); -x_753 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_753, 0, x_740); -lean_ctor_set(x_753, 1, x_743); -lean_ctor_set(x_753, 2, x_752); -x_754 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_740); -x_755 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_755, 0, x_740); -lean_ctor_set(x_755, 1, x_754); -x_756 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_740); -x_757 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_757, 0, x_740); -lean_ctor_set(x_757, 1, x_756); -x_758 = lean_array_push(x_751, x_14); -lean_inc(x_740); -x_759 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_759, 0, x_740); -lean_ctor_set(x_759, 1, x_743); -lean_ctor_set(x_759, 2, x_758); -x_760 = lean_array_push(x_751, x_759); -lean_inc(x_740); -x_761 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_761, 0, x_740); -lean_ctor_set(x_761, 1, x_743); -lean_ctor_set(x_761, 2, x_760); -x_762 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_740); -x_763 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_763, 0, x_740); -lean_ctor_set(x_763, 1, x_762); -x_764 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_765 = lean_array_push(x_764, x_757); -x_766 = lean_array_push(x_765, x_761); -x_767 = lean_array_push(x_766, x_763); -x_768 = lean_array_push(x_767, x_736); -x_769 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_740); -x_770 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_770, 0, x_740); -lean_ctor_set(x_770, 1, x_769); -lean_ctor_set(x_770, 2, x_768); -x_771 = lean_array_push(x_751, x_770); -lean_inc(x_740); -x_772 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_772, 0, x_740); -lean_ctor_set(x_772, 1, x_743); -lean_ctor_set(x_772, 2, x_771); -x_773 = lean_array_push(x_751, x_772); -x_774 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_740); -x_775 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_775, 0, x_740); -lean_ctor_set(x_775, 1, x_774); -lean_ctor_set(x_775, 2, x_773); -x_776 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_777 = lean_array_push(x_776, x_742); -lean_inc(x_745); -x_778 = lean_array_push(x_777, x_745); -x_779 = lean_array_push(x_778, x_745); -x_780 = lean_array_push(x_779, x_753); -x_781 = lean_array_push(x_780, x_755); -x_782 = lean_array_push(x_781, x_775); -x_783 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_784 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_784, 0, x_740); -lean_ctor_set(x_784, 1, x_783); -lean_ctor_set(x_784, 2, x_782); -x_785 = 1; -x_786 = lean_box(x_785); -lean_ctor_set(x_731, 1, x_786); -lean_ctor_set(x_731, 0, x_784); -lean_ctor_set(x_738, 0, x_730); -return x_738; +lean_object* x_740; lean_object* x_741; lean_object* x_742; uint8_t x_743; +x_740 = lean_ctor_get(x_735, 0); +x_741 = lean_ctor_get(x_735, 1); +lean_dec(x_741); +x_742 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_736); +x_743 = !lean_is_exclusive(x_742); +if (x_743 == 0) +{ +lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; uint8_t x_789; lean_object* x_790; +x_744 = lean_ctor_get(x_742, 0); +x_745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_744); +x_746 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_746, 0, x_744); +lean_ctor_set(x_746, 1, x_745); +x_747 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_748 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_744); +x_749 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_749, 0, x_744); +lean_ctor_set(x_749, 1, x_747); +lean_ctor_set(x_749, 2, x_748); +x_750 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_749); +x_751 = lean_array_push(x_750, x_749); +x_752 = lean_array_push(x_751, x_726); +x_753 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_744); +x_754 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_754, 0, x_744); +lean_ctor_set(x_754, 1, x_753); +lean_ctor_set(x_754, 2, x_752); +x_755 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_756 = lean_array_push(x_755, x_754); +lean_inc(x_744); +x_757 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_757, 0, x_744); +lean_ctor_set(x_757, 1, x_747); +lean_ctor_set(x_757, 2, x_756); +x_758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_744); +x_759 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_759, 0, x_744); +lean_ctor_set(x_759, 1, x_758); +x_760 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_744); +x_761 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_761, 0, x_744); +lean_ctor_set(x_761, 1, x_760); +x_762 = lean_array_push(x_755, x_14); +lean_inc(x_744); +x_763 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_763, 0, x_744); +lean_ctor_set(x_763, 1, x_747); +lean_ctor_set(x_763, 2, x_762); +x_764 = lean_array_push(x_755, x_763); +lean_inc(x_744); +x_765 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_765, 0, x_744); +lean_ctor_set(x_765, 1, x_747); +lean_ctor_set(x_765, 2, x_764); +x_766 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_744); +x_767 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_767, 0, x_744); +lean_ctor_set(x_767, 1, x_766); +x_768 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_769 = lean_array_push(x_768, x_761); +x_770 = lean_array_push(x_769, x_765); +x_771 = lean_array_push(x_770, x_767); +x_772 = lean_array_push(x_771, x_740); +x_773 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_744); +x_774 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_774, 0, x_744); +lean_ctor_set(x_774, 1, x_773); +lean_ctor_set(x_774, 2, x_772); +x_775 = lean_array_push(x_755, x_774); +lean_inc(x_744); +x_776 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_776, 0, x_744); +lean_ctor_set(x_776, 1, x_747); +lean_ctor_set(x_776, 2, x_775); +x_777 = lean_array_push(x_755, x_776); +x_778 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_744); +x_779 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_779, 0, x_744); +lean_ctor_set(x_779, 1, x_778); +lean_ctor_set(x_779, 2, x_777); +x_780 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_781 = lean_array_push(x_780, x_746); +lean_inc(x_749); +x_782 = lean_array_push(x_781, x_749); +x_783 = lean_array_push(x_782, x_749); +x_784 = lean_array_push(x_783, x_757); +x_785 = lean_array_push(x_784, x_759); +x_786 = lean_array_push(x_785, x_779); +x_787 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_788 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_788, 0, x_744); +lean_ctor_set(x_788, 1, x_787); +lean_ctor_set(x_788, 2, x_786); +x_789 = 1; +x_790 = lean_box(x_789); +lean_ctor_set(x_735, 1, x_790); +lean_ctor_set(x_735, 0, x_788); +lean_ctor_set(x_742, 0, x_734); +return x_742; } else { -lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; uint8_t x_833; lean_object* x_834; lean_object* x_835; -x_787 = lean_ctor_get(x_738, 0); -x_788 = lean_ctor_get(x_738, 1); -lean_inc(x_788); -lean_inc(x_787); -lean_dec(x_738); -x_789 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_787); -x_790 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_790, 0, x_787); -lean_ctor_set(x_790, 1, x_789); -x_791 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_792 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_787); -x_793 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_793, 0, x_787); -lean_ctor_set(x_793, 1, x_791); -lean_ctor_set(x_793, 2, x_792); -x_794 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_793); -x_795 = lean_array_push(x_794, x_793); -x_796 = lean_array_push(x_795, x_722); -x_797 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_787); -x_798 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_798, 0, x_787); -lean_ctor_set(x_798, 1, x_797); -lean_ctor_set(x_798, 2, x_796); -x_799 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_800 = lean_array_push(x_799, x_798); -lean_inc(x_787); -x_801 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_801, 0, x_787); -lean_ctor_set(x_801, 1, x_791); -lean_ctor_set(x_801, 2, x_800); -x_802 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_787); -x_803 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_803, 0, x_787); -lean_ctor_set(x_803, 1, x_802); -x_804 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_787); -x_805 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_805, 0, x_787); -lean_ctor_set(x_805, 1, x_804); -x_806 = lean_array_push(x_799, x_14); -lean_inc(x_787); -x_807 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_807, 0, x_787); -lean_ctor_set(x_807, 1, x_791); -lean_ctor_set(x_807, 2, x_806); -x_808 = lean_array_push(x_799, x_807); -lean_inc(x_787); -x_809 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_809, 0, x_787); -lean_ctor_set(x_809, 1, x_791); -lean_ctor_set(x_809, 2, x_808); -x_810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_787); -x_811 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_811, 0, x_787); -lean_ctor_set(x_811, 1, x_810); -x_812 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_813 = lean_array_push(x_812, x_805); -x_814 = lean_array_push(x_813, x_809); -x_815 = lean_array_push(x_814, x_811); -x_816 = lean_array_push(x_815, x_736); -x_817 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_787); -x_818 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_818, 0, x_787); -lean_ctor_set(x_818, 1, x_817); -lean_ctor_set(x_818, 2, x_816); -x_819 = lean_array_push(x_799, x_818); -lean_inc(x_787); -x_820 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_820, 0, x_787); -lean_ctor_set(x_820, 1, x_791); -lean_ctor_set(x_820, 2, x_819); -x_821 = lean_array_push(x_799, x_820); -x_822 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_787); -x_823 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_823, 0, x_787); -lean_ctor_set(x_823, 1, x_822); -lean_ctor_set(x_823, 2, x_821); -x_824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_825 = lean_array_push(x_824, x_790); -lean_inc(x_793); -x_826 = lean_array_push(x_825, x_793); -x_827 = lean_array_push(x_826, x_793); -x_828 = lean_array_push(x_827, x_801); -x_829 = lean_array_push(x_828, x_803); -x_830 = lean_array_push(x_829, x_823); -x_831 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_832 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_832, 0, x_787); -lean_ctor_set(x_832, 1, x_831); -lean_ctor_set(x_832, 2, x_830); -x_833 = 1; -x_834 = lean_box(x_833); -lean_ctor_set(x_731, 1, x_834); -lean_ctor_set(x_731, 0, x_832); -x_835 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_835, 0, x_730); -lean_ctor_set(x_835, 1, x_788); -return x_835; +lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; uint8_t x_837; lean_object* x_838; lean_object* x_839; +x_791 = lean_ctor_get(x_742, 0); +x_792 = lean_ctor_get(x_742, 1); +lean_inc(x_792); +lean_inc(x_791); +lean_dec(x_742); +x_793 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_791); +x_794 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_794, 0, x_791); +lean_ctor_set(x_794, 1, x_793); +x_795 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_796 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_791); +x_797 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_797, 0, x_791); +lean_ctor_set(x_797, 1, x_795); +lean_ctor_set(x_797, 2, x_796); +x_798 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_797); +x_799 = lean_array_push(x_798, x_797); +x_800 = lean_array_push(x_799, x_726); +x_801 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_791); +x_802 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_802, 0, x_791); +lean_ctor_set(x_802, 1, x_801); +lean_ctor_set(x_802, 2, x_800); +x_803 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_804 = lean_array_push(x_803, x_802); +lean_inc(x_791); +x_805 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_805, 0, x_791); +lean_ctor_set(x_805, 1, x_795); +lean_ctor_set(x_805, 2, x_804); +x_806 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_791); +x_807 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_807, 0, x_791); +lean_ctor_set(x_807, 1, x_806); +x_808 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_791); +x_809 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_809, 0, x_791); +lean_ctor_set(x_809, 1, x_808); +x_810 = lean_array_push(x_803, x_14); +lean_inc(x_791); +x_811 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_811, 0, x_791); +lean_ctor_set(x_811, 1, x_795); +lean_ctor_set(x_811, 2, x_810); +x_812 = lean_array_push(x_803, x_811); +lean_inc(x_791); +x_813 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_813, 0, x_791); +lean_ctor_set(x_813, 1, x_795); +lean_ctor_set(x_813, 2, x_812); +x_814 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_791); +x_815 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_815, 0, x_791); +lean_ctor_set(x_815, 1, x_814); +x_816 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_817 = lean_array_push(x_816, x_809); +x_818 = lean_array_push(x_817, x_813); +x_819 = lean_array_push(x_818, x_815); +x_820 = lean_array_push(x_819, x_740); +x_821 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_791); +x_822 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_822, 0, x_791); +lean_ctor_set(x_822, 1, x_821); +lean_ctor_set(x_822, 2, x_820); +x_823 = lean_array_push(x_803, x_822); +lean_inc(x_791); +x_824 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_824, 0, x_791); +lean_ctor_set(x_824, 1, x_795); +lean_ctor_set(x_824, 2, x_823); +x_825 = lean_array_push(x_803, x_824); +x_826 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_791); +x_827 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_827, 0, x_791); +lean_ctor_set(x_827, 1, x_826); +lean_ctor_set(x_827, 2, x_825); +x_828 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_829 = lean_array_push(x_828, x_794); +lean_inc(x_797); +x_830 = lean_array_push(x_829, x_797); +x_831 = lean_array_push(x_830, x_797); +x_832 = lean_array_push(x_831, x_805); +x_833 = lean_array_push(x_832, x_807); +x_834 = lean_array_push(x_833, x_827); +x_835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_836 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_836, 0, x_791); +lean_ctor_set(x_836, 1, x_835); +lean_ctor_set(x_836, 2, x_834); +x_837 = 1; +x_838 = lean_box(x_837); +lean_ctor_set(x_735, 1, x_838); +lean_ctor_set(x_735, 0, x_836); +x_839 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_839, 0, x_734); +lean_ctor_set(x_839, 1, x_792); +return x_839; } } else { -lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; uint8_t x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; -x_836 = lean_ctor_get(x_731, 0); -lean_inc(x_836); -lean_dec(x_731); -x_837 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_732); -x_838 = lean_ctor_get(x_837, 0); -lean_inc(x_838); -x_839 = lean_ctor_get(x_837, 1); -lean_inc(x_839); -if (lean_is_exclusive(x_837)) { - lean_ctor_release(x_837, 0); - lean_ctor_release(x_837, 1); - x_840 = x_837; +lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; lean_object* x_887; lean_object* x_888; uint8_t x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; +x_840 = lean_ctor_get(x_735, 0); +lean_inc(x_840); +lean_dec(x_735); +x_841 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_736); +x_842 = lean_ctor_get(x_841, 0); +lean_inc(x_842); +x_843 = lean_ctor_get(x_841, 1); +lean_inc(x_843); +if (lean_is_exclusive(x_841)) { + lean_ctor_release(x_841, 0); + lean_ctor_release(x_841, 1); + x_844 = x_841; } else { - lean_dec_ref(x_837); - x_840 = lean_box(0); + lean_dec_ref(x_841); + x_844 = lean_box(0); } -x_841 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_838); -x_842 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_842, 0, x_838); -lean_ctor_set(x_842, 1, x_841); -x_843 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_844 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_838); -x_845 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_845, 0, x_838); -lean_ctor_set(x_845, 1, x_843); -lean_ctor_set(x_845, 2, x_844); -x_846 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_845); -x_847 = lean_array_push(x_846, x_845); -x_848 = lean_array_push(x_847, x_722); -x_849 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_838); -x_850 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_850, 0, x_838); -lean_ctor_set(x_850, 1, x_849); -lean_ctor_set(x_850, 2, x_848); -x_851 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_852 = lean_array_push(x_851, x_850); -lean_inc(x_838); -x_853 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_853, 0, x_838); -lean_ctor_set(x_853, 1, x_843); -lean_ctor_set(x_853, 2, x_852); -x_854 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_838); -x_855 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_855, 0, x_838); -lean_ctor_set(x_855, 1, x_854); -x_856 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_838); -x_857 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_857, 0, x_838); -lean_ctor_set(x_857, 1, x_856); -x_858 = lean_array_push(x_851, x_14); -lean_inc(x_838); -x_859 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_859, 0, x_838); -lean_ctor_set(x_859, 1, x_843); -lean_ctor_set(x_859, 2, x_858); -x_860 = lean_array_push(x_851, x_859); -lean_inc(x_838); -x_861 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_861, 0, x_838); -lean_ctor_set(x_861, 1, x_843); -lean_ctor_set(x_861, 2, x_860); -x_862 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_838); -x_863 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_863, 0, x_838); -lean_ctor_set(x_863, 1, x_862); -x_864 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_865 = lean_array_push(x_864, x_857); -x_866 = lean_array_push(x_865, x_861); -x_867 = lean_array_push(x_866, x_863); -x_868 = lean_array_push(x_867, x_836); -x_869 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_838); -x_870 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_870, 0, x_838); -lean_ctor_set(x_870, 1, x_869); -lean_ctor_set(x_870, 2, x_868); -x_871 = lean_array_push(x_851, x_870); -lean_inc(x_838); -x_872 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_872, 0, x_838); -lean_ctor_set(x_872, 1, x_843); -lean_ctor_set(x_872, 2, x_871); -x_873 = lean_array_push(x_851, x_872); -x_874 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_838); -x_875 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_875, 0, x_838); -lean_ctor_set(x_875, 1, x_874); -lean_ctor_set(x_875, 2, x_873); -x_876 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_877 = lean_array_push(x_876, x_842); -lean_inc(x_845); -x_878 = lean_array_push(x_877, x_845); -x_879 = lean_array_push(x_878, x_845); -x_880 = lean_array_push(x_879, x_853); -x_881 = lean_array_push(x_880, x_855); -x_882 = lean_array_push(x_881, x_875); -x_883 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_884 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_884, 0, x_838); -lean_ctor_set(x_884, 1, x_883); -lean_ctor_set(x_884, 2, x_882); -x_885 = 1; -x_886 = lean_box(x_885); -x_887 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_887, 0, x_884); -lean_ctor_set(x_887, 1, x_886); -lean_ctor_set(x_730, 1, x_887); -if (lean_is_scalar(x_840)) { - x_888 = lean_alloc_ctor(0, 2, 0); +x_845 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_842); +x_846 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_846, 0, x_842); +lean_ctor_set(x_846, 1, x_845); +x_847 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_848 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_842); +x_849 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_849, 0, x_842); +lean_ctor_set(x_849, 1, x_847); +lean_ctor_set(x_849, 2, x_848); +x_850 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_849); +x_851 = lean_array_push(x_850, x_849); +x_852 = lean_array_push(x_851, x_726); +x_853 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_842); +x_854 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_854, 0, x_842); +lean_ctor_set(x_854, 1, x_853); +lean_ctor_set(x_854, 2, x_852); +x_855 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_856 = lean_array_push(x_855, x_854); +lean_inc(x_842); +x_857 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_857, 0, x_842); +lean_ctor_set(x_857, 1, x_847); +lean_ctor_set(x_857, 2, x_856); +x_858 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_842); +x_859 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_859, 0, x_842); +lean_ctor_set(x_859, 1, x_858); +x_860 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_842); +x_861 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_861, 0, x_842); +lean_ctor_set(x_861, 1, x_860); +x_862 = lean_array_push(x_855, x_14); +lean_inc(x_842); +x_863 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_863, 0, x_842); +lean_ctor_set(x_863, 1, x_847); +lean_ctor_set(x_863, 2, x_862); +x_864 = lean_array_push(x_855, x_863); +lean_inc(x_842); +x_865 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_865, 0, x_842); +lean_ctor_set(x_865, 1, x_847); +lean_ctor_set(x_865, 2, x_864); +x_866 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_842); +x_867 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_867, 0, x_842); +lean_ctor_set(x_867, 1, x_866); +x_868 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_869 = lean_array_push(x_868, x_861); +x_870 = lean_array_push(x_869, x_865); +x_871 = lean_array_push(x_870, x_867); +x_872 = lean_array_push(x_871, x_840); +x_873 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_842); +x_874 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_874, 0, x_842); +lean_ctor_set(x_874, 1, x_873); +lean_ctor_set(x_874, 2, x_872); +x_875 = lean_array_push(x_855, x_874); +lean_inc(x_842); +x_876 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_876, 0, x_842); +lean_ctor_set(x_876, 1, x_847); +lean_ctor_set(x_876, 2, x_875); +x_877 = lean_array_push(x_855, x_876); +x_878 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_842); +x_879 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_879, 0, x_842); +lean_ctor_set(x_879, 1, x_878); +lean_ctor_set(x_879, 2, x_877); +x_880 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_881 = lean_array_push(x_880, x_846); +lean_inc(x_849); +x_882 = lean_array_push(x_881, x_849); +x_883 = lean_array_push(x_882, x_849); +x_884 = lean_array_push(x_883, x_857); +x_885 = lean_array_push(x_884, x_859); +x_886 = lean_array_push(x_885, x_879); +x_887 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_888 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_888, 0, x_842); +lean_ctor_set(x_888, 1, x_887); +lean_ctor_set(x_888, 2, x_886); +x_889 = 1; +x_890 = lean_box(x_889); +x_891 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_891, 0, x_888); +lean_ctor_set(x_891, 1, x_890); +lean_ctor_set(x_734, 1, x_891); +if (lean_is_scalar(x_844)) { + x_892 = lean_alloc_ctor(0, 2, 0); } else { - x_888 = x_840; + x_892 = x_844; } -lean_ctor_set(x_888, 0, x_730); -lean_ctor_set(x_888, 1, x_839); -return x_888; +lean_ctor_set(x_892, 0, x_734); +lean_ctor_set(x_892, 1, x_843); +return x_892; } } else { -lean_object* x_889; lean_object* x_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; uint8_t x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; -x_889 = lean_ctor_get(x_730, 0); -lean_inc(x_889); -lean_dec(x_730); -x_890 = lean_ctor_get(x_731, 0); -lean_inc(x_890); -if (lean_is_exclusive(x_731)) { - lean_ctor_release(x_731, 0); - lean_ctor_release(x_731, 1); - x_891 = x_731; -} else { - lean_dec_ref(x_731); - x_891 = lean_box(0); -} -x_892 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_732); -x_893 = lean_ctor_get(x_892, 0); +lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; 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; uint8_t x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; +x_893 = lean_ctor_get(x_734, 0); lean_inc(x_893); -x_894 = lean_ctor_get(x_892, 1); +lean_dec(x_734); +x_894 = lean_ctor_get(x_735, 0); lean_inc(x_894); -if (lean_is_exclusive(x_892)) { - lean_ctor_release(x_892, 0); - lean_ctor_release(x_892, 1); - x_895 = x_892; +if (lean_is_exclusive(x_735)) { + lean_ctor_release(x_735, 0); + lean_ctor_release(x_735, 1); + x_895 = x_735; } else { - lean_dec_ref(x_892); + lean_dec_ref(x_735); x_895 = lean_box(0); } -x_896 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_893); -x_897 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_897, 0, x_893); -lean_ctor_set(x_897, 1, x_896); -x_898 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_899 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_893); -x_900 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_900, 0, x_893); -lean_ctor_set(x_900, 1, x_898); -lean_ctor_set(x_900, 2, x_899); -x_901 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_900); -x_902 = lean_array_push(x_901, x_900); -x_903 = lean_array_push(x_902, x_722); -x_904 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_893); -x_905 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_905, 0, x_893); -lean_ctor_set(x_905, 1, x_904); -lean_ctor_set(x_905, 2, x_903); -x_906 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_907 = lean_array_push(x_906, x_905); -lean_inc(x_893); -x_908 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_908, 0, x_893); -lean_ctor_set(x_908, 1, x_898); -lean_ctor_set(x_908, 2, x_907); -x_909 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_893); -x_910 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_910, 0, x_893); -lean_ctor_set(x_910, 1, x_909); -x_911 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_893); -x_912 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_912, 0, x_893); -lean_ctor_set(x_912, 1, x_911); -x_913 = lean_array_push(x_906, x_14); -lean_inc(x_893); -x_914 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_914, 0, x_893); -lean_ctor_set(x_914, 1, x_898); -lean_ctor_set(x_914, 2, x_913); -x_915 = lean_array_push(x_906, x_914); -lean_inc(x_893); -x_916 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_916, 0, x_893); -lean_ctor_set(x_916, 1, x_898); -lean_ctor_set(x_916, 2, x_915); -x_917 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_893); -x_918 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_918, 0, x_893); -lean_ctor_set(x_918, 1, x_917); -x_919 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_920 = lean_array_push(x_919, x_912); -x_921 = lean_array_push(x_920, x_916); -x_922 = lean_array_push(x_921, x_918); -x_923 = lean_array_push(x_922, x_890); -x_924 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_893); -x_925 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_925, 0, x_893); -lean_ctor_set(x_925, 1, x_924); -lean_ctor_set(x_925, 2, x_923); -x_926 = lean_array_push(x_906, x_925); -lean_inc(x_893); -x_927 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_927, 0, x_893); -lean_ctor_set(x_927, 1, x_898); -lean_ctor_set(x_927, 2, x_926); -x_928 = lean_array_push(x_906, x_927); -x_929 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_893); -x_930 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_930, 0, x_893); -lean_ctor_set(x_930, 1, x_929); -lean_ctor_set(x_930, 2, x_928); -x_931 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_932 = lean_array_push(x_931, x_897); -lean_inc(x_900); -x_933 = lean_array_push(x_932, x_900); -x_934 = lean_array_push(x_933, x_900); -x_935 = lean_array_push(x_934, x_908); -x_936 = lean_array_push(x_935, x_910); -x_937 = lean_array_push(x_936, x_930); -x_938 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_939 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_939, 0, x_893); -lean_ctor_set(x_939, 1, x_938); -lean_ctor_set(x_939, 2, x_937); -x_940 = 1; -x_941 = lean_box(x_940); -if (lean_is_scalar(x_891)) { - x_942 = lean_alloc_ctor(0, 2, 0); +x_896 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_736); +x_897 = lean_ctor_get(x_896, 0); +lean_inc(x_897); +x_898 = lean_ctor_get(x_896, 1); +lean_inc(x_898); +if (lean_is_exclusive(x_896)) { + lean_ctor_release(x_896, 0); + lean_ctor_release(x_896, 1); + x_899 = x_896; } else { - x_942 = x_891; + lean_dec_ref(x_896); + x_899 = lean_box(0); } -lean_ctor_set(x_942, 0, x_939); -lean_ctor_set(x_942, 1, x_941); -x_943 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_943, 0, x_889); +x_900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_897); +x_901 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_901, 0, x_897); +lean_ctor_set(x_901, 1, x_900); +x_902 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_903 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_897); +x_904 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_904, 0, x_897); +lean_ctor_set(x_904, 1, x_902); +lean_ctor_set(x_904, 2, x_903); +x_905 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_904); +x_906 = lean_array_push(x_905, x_904); +x_907 = lean_array_push(x_906, x_726); +x_908 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_897); +x_909 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_909, 0, x_897); +lean_ctor_set(x_909, 1, x_908); +lean_ctor_set(x_909, 2, x_907); +x_910 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_911 = lean_array_push(x_910, x_909); +lean_inc(x_897); +x_912 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_912, 0, x_897); +lean_ctor_set(x_912, 1, x_902); +lean_ctor_set(x_912, 2, x_911); +x_913 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_897); +x_914 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_914, 0, x_897); +lean_ctor_set(x_914, 1, x_913); +x_915 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_897); +x_916 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_916, 0, x_897); +lean_ctor_set(x_916, 1, x_915); +x_917 = lean_array_push(x_910, x_14); +lean_inc(x_897); +x_918 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_918, 0, x_897); +lean_ctor_set(x_918, 1, x_902); +lean_ctor_set(x_918, 2, x_917); +x_919 = lean_array_push(x_910, x_918); +lean_inc(x_897); +x_920 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_920, 0, x_897); +lean_ctor_set(x_920, 1, x_902); +lean_ctor_set(x_920, 2, x_919); +x_921 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_897); +x_922 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_922, 0, x_897); +lean_ctor_set(x_922, 1, x_921); +x_923 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_924 = lean_array_push(x_923, x_916); +x_925 = lean_array_push(x_924, x_920); +x_926 = lean_array_push(x_925, x_922); +x_927 = lean_array_push(x_926, x_894); +x_928 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_897); +x_929 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_929, 0, x_897); +lean_ctor_set(x_929, 1, x_928); +lean_ctor_set(x_929, 2, x_927); +x_930 = lean_array_push(x_910, x_929); +lean_inc(x_897); +x_931 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_931, 0, x_897); +lean_ctor_set(x_931, 1, x_902); +lean_ctor_set(x_931, 2, x_930); +x_932 = lean_array_push(x_910, x_931); +x_933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_897); +x_934 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_934, 0, x_897); +lean_ctor_set(x_934, 1, x_933); +lean_ctor_set(x_934, 2, x_932); +x_935 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_936 = lean_array_push(x_935, x_901); +lean_inc(x_904); +x_937 = lean_array_push(x_936, x_904); +x_938 = lean_array_push(x_937, x_904); +x_939 = lean_array_push(x_938, x_912); +x_940 = lean_array_push(x_939, x_914); +x_941 = lean_array_push(x_940, x_934); +x_942 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_943 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_943, 0, x_897); lean_ctor_set(x_943, 1, x_942); +lean_ctor_set(x_943, 2, x_941); +x_944 = 1; +x_945 = lean_box(x_944); if (lean_is_scalar(x_895)) { - x_944 = lean_alloc_ctor(0, 2, 0); + x_946 = lean_alloc_ctor(0, 2, 0); } else { - x_944 = x_895; + x_946 = x_895; } -lean_ctor_set(x_944, 0, x_943); -lean_ctor_set(x_944, 1, x_894); -return x_944; +lean_ctor_set(x_946, 0, x_943); +lean_ctor_set(x_946, 1, x_945); +x_947 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_947, 0, x_893); +lean_ctor_set(x_947, 1, x_946); +if (lean_is_scalar(x_899)) { + x_948 = lean_alloc_ctor(0, 2, 0); +} else { + x_948 = x_899; } -} -else -{ -uint8_t x_945; -lean_dec(x_722); -lean_dec(x_14); -lean_dec(x_5); -x_945 = !lean_is_exclusive(x_729); -if (x_945 == 0) -{ -return x_729; -} -else -{ -lean_object* x_946; lean_object* x_947; lean_object* x_948; -x_946 = lean_ctor_get(x_729, 0); -x_947 = lean_ctor_get(x_729, 1); -lean_inc(x_947); -lean_inc(x_946); -lean_dec(x_729); -x_948 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_948, 0, x_946); -lean_ctor_set(x_948, 1, x_947); +lean_ctor_set(x_948, 0, x_947); +lean_ctor_set(x_948, 1, x_898); return x_948; } } +else +{ +uint8_t x_949; +lean_dec(x_726); +lean_dec(x_14); +lean_dec(x_5); +x_949 = !lean_is_exclusive(x_733); +if (x_949 == 0) +{ +return x_733; } else { -lean_object* x_949; uint8_t x_950; -x_949 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__3; -x_950 = lean_string_dec_eq(x_255, x_949); -if (x_950 == 0) -{ -lean_object* x_951; uint8_t x_952; -x_951 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__5; -x_952 = lean_string_dec_eq(x_255, x_951); -if (x_952 == 0) +lean_object* x_950; lean_object* x_951; lean_object* x_952; +x_950 = lean_ctor_get(x_733, 0); +x_951 = lean_ctor_get(x_733, 1); +lean_inc(x_951); +lean_inc(x_950); +lean_dec(x_733); +x_952 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_952, 0, x_950); +lean_ctor_set(x_952, 1, x_951); +return x_952; +} +} +} +else { lean_object* x_953; uint8_t x_954; -x_953 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__7; -x_954 = lean_string_dec_eq(x_255, x_953); +x_953 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__3; +x_954 = lean_string_dec_eq(x_256, x_953); if (x_954 == 0) { lean_object* x_955; uint8_t x_956; -x_955 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__1; -x_956 = lean_string_dec_eq(x_255, x_955); +x_955 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__5; +x_956 = lean_string_dec_eq(x_256, x_955); if (x_956 == 0) { lean_object* x_957; uint8_t x_958; -x_957 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__7; -x_958 = lean_string_dec_eq(x_255, x_957); +x_957 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__7; +x_958 = lean_string_dec_eq(x_256, x_957); if (x_958 == 0) { lean_object* x_959; uint8_t x_960; -x_959 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; -x_960 = lean_string_dec_eq(x_255, x_959); -lean_dec(x_255); +x_959 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_toBinderViews___closed__1; +x_960 = lean_string_dec_eq(x_256, x_959); if (x_960 == 0) { -lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; +lean_object* x_961; uint8_t x_962; +x_961 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___closed__7; +x_962 = lean_string_dec_eq(x_256, x_961); +if (x_962 == 0) +{ +lean_object* x_963; uint8_t x_964; +x_963 = l_Lean_Elab_Term_expandFunBinders_loop___closed__14; +x_964 = lean_string_dec_eq(x_256, x_963); +lean_dec(x_256); +if (x_964 == 0) +{ +uint8_t x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; +x_965 = 0; lean_inc(x_5); lean_inc(x_14); -x_961 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_962 = lean_ctor_get(x_961, 0); -lean_inc(x_962); -x_963 = lean_ctor_get(x_961, 1); -lean_inc(x_963); -lean_dec(x_961); -x_964 = lean_unsigned_to_nat(1u); -x_965 = lean_nat_add(x_3, x_964); +x_966 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_965, x_5, x_6); +x_967 = lean_ctor_get(x_966, 0); +lean_inc(x_967); +x_968 = lean_ctor_get(x_966, 1); +lean_inc(x_968); +lean_dec(x_966); +x_969 = lean_unsigned_to_nat(1u); +x_970 = lean_nat_add(x_3, x_969); lean_dec(x_3); lean_inc(x_14); -x_966 = l_Lean_mkHole(x_14); -lean_inc(x_962); -x_967 = l_Lean_Elab_Term_mkExplicitBinder(x_962, x_966); -x_968 = lean_array_push(x_4, x_967); +x_971 = l_Lean_mkHole(x_14, x_965); +lean_inc(x_967); +x_972 = l_Lean_Elab_Term_mkExplicitBinder(x_967, x_971); +x_973 = lean_array_push(x_4, x_972); lean_inc(x_5); -x_969 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_965, x_968, x_5, x_963); -if (lean_obj_tag(x_969) == 0) +x_974 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_970, x_973, x_5, x_968); +if (lean_obj_tag(x_974) == 0) { -lean_object* x_970; lean_object* x_971; lean_object* x_972; uint8_t x_973; -x_970 = lean_ctor_get(x_969, 0); -lean_inc(x_970); -x_971 = lean_ctor_get(x_970, 1); -lean_inc(x_971); -x_972 = lean_ctor_get(x_969, 1); -lean_inc(x_972); -lean_dec(x_969); -x_973 = !lean_is_exclusive(x_970); -if (x_973 == 0) -{ -lean_object* x_974; uint8_t x_975; -x_974 = lean_ctor_get(x_970, 1); +lean_object* x_975; lean_object* x_976; lean_object* x_977; uint8_t x_978; +x_975 = lean_ctor_get(x_974, 0); +lean_inc(x_975); +x_976 = lean_ctor_get(x_975, 1); +lean_inc(x_976); +x_977 = lean_ctor_get(x_974, 1); +lean_inc(x_977); lean_dec(x_974); -x_975 = !lean_is_exclusive(x_971); -if (x_975 == 0) +x_978 = !lean_is_exclusive(x_975); +if (x_978 == 0) { -lean_object* x_976; lean_object* x_977; lean_object* x_978; uint8_t x_979; -x_976 = lean_ctor_get(x_971, 0); -x_977 = lean_ctor_get(x_971, 1); -lean_dec(x_977); -x_978 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_972); -x_979 = !lean_is_exclusive(x_978); -if (x_979 == 0) +lean_object* x_979; uint8_t x_980; +x_979 = lean_ctor_get(x_975, 1); +lean_dec(x_979); +x_980 = !lean_is_exclusive(x_976); +if (x_980 == 0) { -lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; uint8_t x_1025; lean_object* x_1026; -x_980 = lean_ctor_get(x_978, 0); -x_981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_980); -x_982 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_982, 0, x_980); -lean_ctor_set(x_982, 1, x_981); -x_983 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_984 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_980); -x_985 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_985, 0, x_980); -lean_ctor_set(x_985, 1, x_983); -lean_ctor_set(x_985, 2, x_984); -x_986 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_object* x_981; lean_object* x_982; lean_object* x_983; uint8_t x_984; +x_981 = lean_ctor_get(x_976, 0); +x_982 = lean_ctor_get(x_976, 1); +lean_dec(x_982); +x_983 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_977); +x_984 = !lean_is_exclusive(x_983); +if (x_984 == 0) +{ +lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; uint8_t x_1030; lean_object* x_1031; +x_985 = lean_ctor_get(x_983, 0); +x_986 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_985); +x_987 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_987, 0, x_985); +lean_ctor_set(x_987, 1, x_986); +x_988 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_989 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; lean_inc(x_985); -x_987 = lean_array_push(x_986, x_985); -x_988 = lean_array_push(x_987, x_962); -x_989 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_980); x_990 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_990, 0, x_980); -lean_ctor_set(x_990, 1, x_989); -lean_ctor_set(x_990, 2, x_988); -x_991 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +lean_ctor_set(x_990, 0, x_985); +lean_ctor_set(x_990, 1, x_988); +lean_ctor_set(x_990, 2, x_989); +x_991 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_990); x_992 = lean_array_push(x_991, x_990); -lean_inc(x_980); -x_993 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_993, 0, x_980); -lean_ctor_set(x_993, 1, x_983); -lean_ctor_set(x_993, 2, x_992); -x_994 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_980); -x_995 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_995, 0, x_980); +x_993 = lean_array_push(x_992, x_967); +x_994 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_985); +x_995 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_995, 0, x_985); lean_ctor_set(x_995, 1, x_994); -x_996 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_980); -x_997 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_997, 0, x_980); -lean_ctor_set(x_997, 1, x_996); -x_998 = lean_array_push(x_991, x_14); -lean_inc(x_980); -x_999 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_999, 0, x_980); -lean_ctor_set(x_999, 1, x_983); -lean_ctor_set(x_999, 2, x_998); -x_1000 = lean_array_push(x_991, x_999); -lean_inc(x_980); -x_1001 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1001, 0, x_980); -lean_ctor_set(x_1001, 1, x_983); -lean_ctor_set(x_1001, 2, x_1000); -x_1002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_980); -x_1003 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1003, 0, x_980); -lean_ctor_set(x_1003, 1, x_1002); -x_1004 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1005 = lean_array_push(x_1004, x_997); -x_1006 = lean_array_push(x_1005, x_1001); -x_1007 = lean_array_push(x_1006, x_1003); -x_1008 = lean_array_push(x_1007, x_976); -x_1009 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_980); -x_1010 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1010, 0, x_980); -lean_ctor_set(x_1010, 1, x_1009); -lean_ctor_set(x_1010, 2, x_1008); -x_1011 = lean_array_push(x_991, x_1010); -lean_inc(x_980); -x_1012 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1012, 0, x_980); -lean_ctor_set(x_1012, 1, x_983); -lean_ctor_set(x_1012, 2, x_1011); -x_1013 = lean_array_push(x_991, x_1012); -x_1014 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_980); +lean_ctor_set(x_995, 2, x_993); +x_996 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_997 = lean_array_push(x_996, x_995); +lean_inc(x_985); +x_998 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_998, 0, x_985); +lean_ctor_set(x_998, 1, x_988); +lean_ctor_set(x_998, 2, x_997); +x_999 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_985); +x_1000 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1000, 0, x_985); +lean_ctor_set(x_1000, 1, x_999); +x_1001 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_985); +x_1002 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1002, 0, x_985); +lean_ctor_set(x_1002, 1, x_1001); +x_1003 = lean_array_push(x_996, x_14); +lean_inc(x_985); +x_1004 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1004, 0, x_985); +lean_ctor_set(x_1004, 1, x_988); +lean_ctor_set(x_1004, 2, x_1003); +x_1005 = lean_array_push(x_996, x_1004); +lean_inc(x_985); +x_1006 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1006, 0, x_985); +lean_ctor_set(x_1006, 1, x_988); +lean_ctor_set(x_1006, 2, x_1005); +x_1007 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_985); +x_1008 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1008, 0, x_985); +lean_ctor_set(x_1008, 1, x_1007); +x_1009 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1010 = lean_array_push(x_1009, x_1002); +x_1011 = lean_array_push(x_1010, x_1006); +x_1012 = lean_array_push(x_1011, x_1008); +x_1013 = lean_array_push(x_1012, x_981); +x_1014 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_985); x_1015 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1015, 0, x_980); +lean_ctor_set(x_1015, 0, x_985); lean_ctor_set(x_1015, 1, x_1014); lean_ctor_set(x_1015, 2, x_1013); -x_1016 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1017 = lean_array_push(x_1016, x_982); +x_1016 = lean_array_push(x_996, x_1015); lean_inc(x_985); -x_1018 = lean_array_push(x_1017, x_985); -x_1019 = lean_array_push(x_1018, x_985); -x_1020 = lean_array_push(x_1019, x_993); -x_1021 = lean_array_push(x_1020, x_995); -x_1022 = lean_array_push(x_1021, x_1015); -x_1023 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1024 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1024, 0, x_980); -lean_ctor_set(x_1024, 1, x_1023); -lean_ctor_set(x_1024, 2, x_1022); -x_1025 = 1; -x_1026 = lean_box(x_1025); -lean_ctor_set(x_971, 1, x_1026); -lean_ctor_set(x_971, 0, x_1024); -lean_ctor_set(x_978, 0, x_970); -return x_978; +x_1017 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1017, 0, x_985); +lean_ctor_set(x_1017, 1, x_988); +lean_ctor_set(x_1017, 2, x_1016); +x_1018 = lean_array_push(x_996, x_1017); +x_1019 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_985); +x_1020 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1020, 0, x_985); +lean_ctor_set(x_1020, 1, x_1019); +lean_ctor_set(x_1020, 2, x_1018); +x_1021 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1022 = lean_array_push(x_1021, x_987); +lean_inc(x_990); +x_1023 = lean_array_push(x_1022, x_990); +x_1024 = lean_array_push(x_1023, x_990); +x_1025 = lean_array_push(x_1024, x_998); +x_1026 = lean_array_push(x_1025, x_1000); +x_1027 = lean_array_push(x_1026, x_1020); +x_1028 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1029 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1029, 0, x_985); +lean_ctor_set(x_1029, 1, x_1028); +lean_ctor_set(x_1029, 2, x_1027); +x_1030 = 1; +x_1031 = lean_box(x_1030); +lean_ctor_set(x_976, 1, x_1031); +lean_ctor_set(x_976, 0, x_1029); +lean_ctor_set(x_983, 0, x_975); +return x_983; } else { -lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; uint8_t x_1073; lean_object* x_1074; lean_object* x_1075; -x_1027 = lean_ctor_get(x_978, 0); -x_1028 = lean_ctor_get(x_978, 1); -lean_inc(x_1028); -lean_inc(x_1027); -lean_dec(x_978); -x_1029 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1027); -x_1030 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1030, 0, x_1027); -lean_ctor_set(x_1030, 1, x_1029); -x_1031 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1032 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1027); -x_1033 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1033, 0, x_1027); -lean_ctor_set(x_1033, 1, x_1031); -lean_ctor_set(x_1033, 2, x_1032); -x_1034 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; uint8_t x_1078; lean_object* x_1079; lean_object* x_1080; +x_1032 = lean_ctor_get(x_983, 0); +x_1033 = lean_ctor_get(x_983, 1); lean_inc(x_1033); -x_1035 = lean_array_push(x_1034, x_1033); -x_1036 = lean_array_push(x_1035, x_962); -x_1037 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1027); +lean_inc(x_1032); +lean_dec(x_983); +x_1034 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1032); +x_1035 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1035, 0, x_1032); +lean_ctor_set(x_1035, 1, x_1034); +x_1036 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1037 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1032); x_1038 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1038, 0, x_1027); -lean_ctor_set(x_1038, 1, x_1037); -lean_ctor_set(x_1038, 2, x_1036); -x_1039 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +lean_ctor_set(x_1038, 0, x_1032); +lean_ctor_set(x_1038, 1, x_1036); +lean_ctor_set(x_1038, 2, x_1037); +x_1039 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1038); x_1040 = lean_array_push(x_1039, x_1038); -lean_inc(x_1027); -x_1041 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1041, 0, x_1027); -lean_ctor_set(x_1041, 1, x_1031); -lean_ctor_set(x_1041, 2, x_1040); -x_1042 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1027); -x_1043 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1043, 0, x_1027); +x_1041 = lean_array_push(x_1040, x_967); +x_1042 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1032); +x_1043 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1043, 0, x_1032); lean_ctor_set(x_1043, 1, x_1042); -x_1044 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1027); -x_1045 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1045, 0, x_1027); -lean_ctor_set(x_1045, 1, x_1044); -x_1046 = lean_array_push(x_1039, x_14); -lean_inc(x_1027); -x_1047 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1047, 0, x_1027); -lean_ctor_set(x_1047, 1, x_1031); -lean_ctor_set(x_1047, 2, x_1046); -x_1048 = lean_array_push(x_1039, x_1047); -lean_inc(x_1027); -x_1049 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1049, 0, x_1027); -lean_ctor_set(x_1049, 1, x_1031); -lean_ctor_set(x_1049, 2, x_1048); -x_1050 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1027); -x_1051 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1051, 0, x_1027); -lean_ctor_set(x_1051, 1, x_1050); -x_1052 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1053 = lean_array_push(x_1052, x_1045); -x_1054 = lean_array_push(x_1053, x_1049); -x_1055 = lean_array_push(x_1054, x_1051); -x_1056 = lean_array_push(x_1055, x_976); -x_1057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1027); -x_1058 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1058, 0, x_1027); -lean_ctor_set(x_1058, 1, x_1057); -lean_ctor_set(x_1058, 2, x_1056); -x_1059 = lean_array_push(x_1039, x_1058); -lean_inc(x_1027); -x_1060 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1060, 0, x_1027); -lean_ctor_set(x_1060, 1, x_1031); -lean_ctor_set(x_1060, 2, x_1059); -x_1061 = lean_array_push(x_1039, x_1060); -x_1062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1027); +lean_ctor_set(x_1043, 2, x_1041); +x_1044 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1045 = lean_array_push(x_1044, x_1043); +lean_inc(x_1032); +x_1046 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1046, 0, x_1032); +lean_ctor_set(x_1046, 1, x_1036); +lean_ctor_set(x_1046, 2, x_1045); +x_1047 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1032); +x_1048 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1048, 0, x_1032); +lean_ctor_set(x_1048, 1, x_1047); +x_1049 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1032); +x_1050 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1050, 0, x_1032); +lean_ctor_set(x_1050, 1, x_1049); +x_1051 = lean_array_push(x_1044, x_14); +lean_inc(x_1032); +x_1052 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1052, 0, x_1032); +lean_ctor_set(x_1052, 1, x_1036); +lean_ctor_set(x_1052, 2, x_1051); +x_1053 = lean_array_push(x_1044, x_1052); +lean_inc(x_1032); +x_1054 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1054, 0, x_1032); +lean_ctor_set(x_1054, 1, x_1036); +lean_ctor_set(x_1054, 2, x_1053); +x_1055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1032); +x_1056 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1056, 0, x_1032); +lean_ctor_set(x_1056, 1, x_1055); +x_1057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1058 = lean_array_push(x_1057, x_1050); +x_1059 = lean_array_push(x_1058, x_1054); +x_1060 = lean_array_push(x_1059, x_1056); +x_1061 = lean_array_push(x_1060, x_981); +x_1062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1032); x_1063 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1063, 0, x_1027); +lean_ctor_set(x_1063, 0, x_1032); lean_ctor_set(x_1063, 1, x_1062); lean_ctor_set(x_1063, 2, x_1061); -x_1064 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1065 = lean_array_push(x_1064, x_1030); -lean_inc(x_1033); -x_1066 = lean_array_push(x_1065, x_1033); -x_1067 = lean_array_push(x_1066, x_1033); -x_1068 = lean_array_push(x_1067, x_1041); -x_1069 = lean_array_push(x_1068, x_1043); -x_1070 = lean_array_push(x_1069, x_1063); -x_1071 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1072 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1072, 0, x_1027); -lean_ctor_set(x_1072, 1, x_1071); -lean_ctor_set(x_1072, 2, x_1070); -x_1073 = 1; -x_1074 = lean_box(x_1073); -lean_ctor_set(x_971, 1, x_1074); -lean_ctor_set(x_971, 0, x_1072); -x_1075 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1075, 0, x_970); -lean_ctor_set(x_1075, 1, x_1028); -return x_1075; +x_1064 = lean_array_push(x_1044, x_1063); +lean_inc(x_1032); +x_1065 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1065, 0, x_1032); +lean_ctor_set(x_1065, 1, x_1036); +lean_ctor_set(x_1065, 2, x_1064); +x_1066 = lean_array_push(x_1044, x_1065); +x_1067 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1032); +x_1068 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1068, 0, x_1032); +lean_ctor_set(x_1068, 1, x_1067); +lean_ctor_set(x_1068, 2, x_1066); +x_1069 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1070 = lean_array_push(x_1069, x_1035); +lean_inc(x_1038); +x_1071 = lean_array_push(x_1070, x_1038); +x_1072 = lean_array_push(x_1071, x_1038); +x_1073 = lean_array_push(x_1072, x_1046); +x_1074 = lean_array_push(x_1073, x_1048); +x_1075 = lean_array_push(x_1074, x_1068); +x_1076 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1077 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1077, 0, x_1032); +lean_ctor_set(x_1077, 1, x_1076); +lean_ctor_set(x_1077, 2, x_1075); +x_1078 = 1; +x_1079 = lean_box(x_1078); +lean_ctor_set(x_976, 1, x_1079); +lean_ctor_set(x_976, 0, x_1077); +x_1080 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1080, 0, x_975); +lean_ctor_set(x_1080, 1, x_1033); +return x_1080; } } else { -lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; uint8_t x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; -x_1076 = lean_ctor_get(x_971, 0); -lean_inc(x_1076); -lean_dec(x_971); -x_1077 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_972); -x_1078 = lean_ctor_get(x_1077, 0); -lean_inc(x_1078); -x_1079 = lean_ctor_get(x_1077, 1); -lean_inc(x_1079); -if (lean_is_exclusive(x_1077)) { - lean_ctor_release(x_1077, 0); - lean_ctor_release(x_1077, 1); - x_1080 = x_1077; +lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; uint8_t x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; +x_1081 = lean_ctor_get(x_976, 0); +lean_inc(x_1081); +lean_dec(x_976); +x_1082 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_977); +x_1083 = lean_ctor_get(x_1082, 0); +lean_inc(x_1083); +x_1084 = lean_ctor_get(x_1082, 1); +lean_inc(x_1084); +if (lean_is_exclusive(x_1082)) { + lean_ctor_release(x_1082, 0); + lean_ctor_release(x_1082, 1); + x_1085 = x_1082; } else { - lean_dec_ref(x_1077); - x_1080 = lean_box(0); + lean_dec_ref(x_1082); + x_1085 = lean_box(0); } -x_1081 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1078); -x_1082 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1082, 0, x_1078); -lean_ctor_set(x_1082, 1, x_1081); -x_1083 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1084 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1078); -x_1085 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1085, 0, x_1078); -lean_ctor_set(x_1085, 1, x_1083); -lean_ctor_set(x_1085, 2, x_1084); -x_1086 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1085); -x_1087 = lean_array_push(x_1086, x_1085); -x_1088 = lean_array_push(x_1087, x_962); -x_1089 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1078); +x_1086 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1083); +x_1087 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1087, 0, x_1083); +lean_ctor_set(x_1087, 1, x_1086); +x_1088 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1089 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1083); x_1090 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1090, 0, x_1078); -lean_ctor_set(x_1090, 1, x_1089); -lean_ctor_set(x_1090, 2, x_1088); -x_1091 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +lean_ctor_set(x_1090, 0, x_1083); +lean_ctor_set(x_1090, 1, x_1088); +lean_ctor_set(x_1090, 2, x_1089); +x_1091 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1090); x_1092 = lean_array_push(x_1091, x_1090); -lean_inc(x_1078); -x_1093 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1093, 0, x_1078); -lean_ctor_set(x_1093, 1, x_1083); -lean_ctor_set(x_1093, 2, x_1092); -x_1094 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1078); -x_1095 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1095, 0, x_1078); +x_1093 = lean_array_push(x_1092, x_967); +x_1094 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1083); +x_1095 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1095, 0, x_1083); lean_ctor_set(x_1095, 1, x_1094); -x_1096 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1078); -x_1097 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1097, 0, x_1078); -lean_ctor_set(x_1097, 1, x_1096); -x_1098 = lean_array_push(x_1091, x_14); -lean_inc(x_1078); -x_1099 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1099, 0, x_1078); -lean_ctor_set(x_1099, 1, x_1083); -lean_ctor_set(x_1099, 2, x_1098); -x_1100 = lean_array_push(x_1091, x_1099); -lean_inc(x_1078); -x_1101 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1101, 0, x_1078); -lean_ctor_set(x_1101, 1, x_1083); -lean_ctor_set(x_1101, 2, x_1100); -x_1102 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1078); -x_1103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1103, 0, x_1078); -lean_ctor_set(x_1103, 1, x_1102); -x_1104 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1105 = lean_array_push(x_1104, x_1097); -x_1106 = lean_array_push(x_1105, x_1101); -x_1107 = lean_array_push(x_1106, x_1103); -x_1108 = lean_array_push(x_1107, x_1076); -x_1109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1078); -x_1110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1110, 0, x_1078); -lean_ctor_set(x_1110, 1, x_1109); -lean_ctor_set(x_1110, 2, x_1108); -x_1111 = lean_array_push(x_1091, x_1110); -lean_inc(x_1078); -x_1112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1112, 0, x_1078); -lean_ctor_set(x_1112, 1, x_1083); -lean_ctor_set(x_1112, 2, x_1111); -x_1113 = lean_array_push(x_1091, x_1112); -x_1114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1078); +lean_ctor_set(x_1095, 2, x_1093); +x_1096 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1097 = lean_array_push(x_1096, x_1095); +lean_inc(x_1083); +x_1098 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1098, 0, x_1083); +lean_ctor_set(x_1098, 1, x_1088); +lean_ctor_set(x_1098, 2, x_1097); +x_1099 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1083); +x_1100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1100, 0, x_1083); +lean_ctor_set(x_1100, 1, x_1099); +x_1101 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1083); +x_1102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1102, 0, x_1083); +lean_ctor_set(x_1102, 1, x_1101); +x_1103 = lean_array_push(x_1096, x_14); +lean_inc(x_1083); +x_1104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1104, 0, x_1083); +lean_ctor_set(x_1104, 1, x_1088); +lean_ctor_set(x_1104, 2, x_1103); +x_1105 = lean_array_push(x_1096, x_1104); +lean_inc(x_1083); +x_1106 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1106, 0, x_1083); +lean_ctor_set(x_1106, 1, x_1088); +lean_ctor_set(x_1106, 2, x_1105); +x_1107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1083); +x_1108 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1108, 0, x_1083); +lean_ctor_set(x_1108, 1, x_1107); +x_1109 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1110 = lean_array_push(x_1109, x_1102); +x_1111 = lean_array_push(x_1110, x_1106); +x_1112 = lean_array_push(x_1111, x_1108); +x_1113 = lean_array_push(x_1112, x_1081); +x_1114 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1083); x_1115 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1115, 0, x_1078); +lean_ctor_set(x_1115, 0, x_1083); lean_ctor_set(x_1115, 1, x_1114); lean_ctor_set(x_1115, 2, x_1113); -x_1116 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1117 = lean_array_push(x_1116, x_1082); -lean_inc(x_1085); -x_1118 = lean_array_push(x_1117, x_1085); -x_1119 = lean_array_push(x_1118, x_1085); -x_1120 = lean_array_push(x_1119, x_1093); -x_1121 = lean_array_push(x_1120, x_1095); -x_1122 = lean_array_push(x_1121, x_1115); -x_1123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1124 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1124, 0, x_1078); -lean_ctor_set(x_1124, 1, x_1123); -lean_ctor_set(x_1124, 2, x_1122); -x_1125 = 1; -x_1126 = lean_box(x_1125); -x_1127 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1127, 0, x_1124); -lean_ctor_set(x_1127, 1, x_1126); -lean_ctor_set(x_970, 1, x_1127); -if (lean_is_scalar(x_1080)) { - x_1128 = lean_alloc_ctor(0, 2, 0); +x_1116 = lean_array_push(x_1096, x_1115); +lean_inc(x_1083); +x_1117 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1117, 0, x_1083); +lean_ctor_set(x_1117, 1, x_1088); +lean_ctor_set(x_1117, 2, x_1116); +x_1118 = lean_array_push(x_1096, x_1117); +x_1119 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1083); +x_1120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1120, 0, x_1083); +lean_ctor_set(x_1120, 1, x_1119); +lean_ctor_set(x_1120, 2, x_1118); +x_1121 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1122 = lean_array_push(x_1121, x_1087); +lean_inc(x_1090); +x_1123 = lean_array_push(x_1122, x_1090); +x_1124 = lean_array_push(x_1123, x_1090); +x_1125 = lean_array_push(x_1124, x_1098); +x_1126 = lean_array_push(x_1125, x_1100); +x_1127 = lean_array_push(x_1126, x_1120); +x_1128 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1129, 0, x_1083); +lean_ctor_set(x_1129, 1, x_1128); +lean_ctor_set(x_1129, 2, x_1127); +x_1130 = 1; +x_1131 = lean_box(x_1130); +x_1132 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1132, 0, x_1129); +lean_ctor_set(x_1132, 1, x_1131); +lean_ctor_set(x_975, 1, x_1132); +if (lean_is_scalar(x_1085)) { + x_1133 = lean_alloc_ctor(0, 2, 0); } else { - x_1128 = x_1080; + x_1133 = x_1085; } -lean_ctor_set(x_1128, 0, x_970); -lean_ctor_set(x_1128, 1, x_1079); -return x_1128; +lean_ctor_set(x_1133, 0, x_975); +lean_ctor_set(x_1133, 1, x_1084); +return x_1133; } } else { -lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; uint8_t x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; -x_1129 = lean_ctor_get(x_970, 0); -lean_inc(x_1129); -lean_dec(x_970); -x_1130 = lean_ctor_get(x_971, 0); -lean_inc(x_1130); -if (lean_is_exclusive(x_971)) { - lean_ctor_release(x_971, 0); - lean_ctor_release(x_971, 1); - x_1131 = x_971; -} else { - lean_dec_ref(x_971); - x_1131 = lean_box(0); -} -x_1132 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_972); -x_1133 = lean_ctor_get(x_1132, 0); -lean_inc(x_1133); -x_1134 = lean_ctor_get(x_1132, 1); +lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; uint8_t x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; +x_1134 = lean_ctor_get(x_975, 0); lean_inc(x_1134); -if (lean_is_exclusive(x_1132)) { - lean_ctor_release(x_1132, 0); - lean_ctor_release(x_1132, 1); - x_1135 = x_1132; +lean_dec(x_975); +x_1135 = lean_ctor_get(x_976, 0); +lean_inc(x_1135); +if (lean_is_exclusive(x_976)) { + lean_ctor_release(x_976, 0); + lean_ctor_release(x_976, 1); + x_1136 = x_976; } else { - lean_dec_ref(x_1132); - x_1135 = lean_box(0); + lean_dec_ref(x_976); + x_1136 = lean_box(0); } -x_1136 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1133); -x_1137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1137, 0, x_1133); -lean_ctor_set(x_1137, 1, x_1136); -x_1138 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1139 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1133); -x_1140 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1140, 0, x_1133); -lean_ctor_set(x_1140, 1, x_1138); -lean_ctor_set(x_1140, 2, x_1139); -x_1141 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1140); -x_1142 = lean_array_push(x_1141, x_1140); -x_1143 = lean_array_push(x_1142, x_962); -x_1144 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1133); +x_1137 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_977); +x_1138 = lean_ctor_get(x_1137, 0); +lean_inc(x_1138); +x_1139 = lean_ctor_get(x_1137, 1); +lean_inc(x_1139); +if (lean_is_exclusive(x_1137)) { + lean_ctor_release(x_1137, 0); + lean_ctor_release(x_1137, 1); + x_1140 = x_1137; +} else { + lean_dec_ref(x_1137); + x_1140 = lean_box(0); +} +x_1141 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1138); +x_1142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1142, 0, x_1138); +lean_ctor_set(x_1142, 1, x_1141); +x_1143 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1144 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1138); x_1145 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1145, 0, x_1133); -lean_ctor_set(x_1145, 1, x_1144); -lean_ctor_set(x_1145, 2, x_1143); -x_1146 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +lean_ctor_set(x_1145, 0, x_1138); +lean_ctor_set(x_1145, 1, x_1143); +lean_ctor_set(x_1145, 2, x_1144); +x_1146 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1145); x_1147 = lean_array_push(x_1146, x_1145); -lean_inc(x_1133); -x_1148 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1148, 0, x_1133); -lean_ctor_set(x_1148, 1, x_1138); -lean_ctor_set(x_1148, 2, x_1147); -x_1149 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1133); -x_1150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1150, 0, x_1133); +x_1148 = lean_array_push(x_1147, x_967); +x_1149 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1138); +x_1150 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1150, 0, x_1138); lean_ctor_set(x_1150, 1, x_1149); -x_1151 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1133); -x_1152 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1152, 0, x_1133); -lean_ctor_set(x_1152, 1, x_1151); -x_1153 = lean_array_push(x_1146, x_14); -lean_inc(x_1133); -x_1154 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1154, 0, x_1133); -lean_ctor_set(x_1154, 1, x_1138); -lean_ctor_set(x_1154, 2, x_1153); -x_1155 = lean_array_push(x_1146, x_1154); -lean_inc(x_1133); -x_1156 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1156, 0, x_1133); -lean_ctor_set(x_1156, 1, x_1138); -lean_ctor_set(x_1156, 2, x_1155); -x_1157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1133); -x_1158 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1158, 0, x_1133); -lean_ctor_set(x_1158, 1, x_1157); -x_1159 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1160 = lean_array_push(x_1159, x_1152); -x_1161 = lean_array_push(x_1160, x_1156); -x_1162 = lean_array_push(x_1161, x_1158); -x_1163 = lean_array_push(x_1162, x_1130); -x_1164 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1133); -x_1165 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1165, 0, x_1133); -lean_ctor_set(x_1165, 1, x_1164); -lean_ctor_set(x_1165, 2, x_1163); -x_1166 = lean_array_push(x_1146, x_1165); -lean_inc(x_1133); -x_1167 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1167, 0, x_1133); -lean_ctor_set(x_1167, 1, x_1138); -lean_ctor_set(x_1167, 2, x_1166); -x_1168 = lean_array_push(x_1146, x_1167); -x_1169 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1133); +lean_ctor_set(x_1150, 2, x_1148); +x_1151 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1152 = lean_array_push(x_1151, x_1150); +lean_inc(x_1138); +x_1153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1153, 0, x_1138); +lean_ctor_set(x_1153, 1, x_1143); +lean_ctor_set(x_1153, 2, x_1152); +x_1154 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1138); +x_1155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1155, 0, x_1138); +lean_ctor_set(x_1155, 1, x_1154); +x_1156 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1138); +x_1157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1157, 0, x_1138); +lean_ctor_set(x_1157, 1, x_1156); +x_1158 = lean_array_push(x_1151, x_14); +lean_inc(x_1138); +x_1159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1159, 0, x_1138); +lean_ctor_set(x_1159, 1, x_1143); +lean_ctor_set(x_1159, 2, x_1158); +x_1160 = lean_array_push(x_1151, x_1159); +lean_inc(x_1138); +x_1161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1161, 0, x_1138); +lean_ctor_set(x_1161, 1, x_1143); +lean_ctor_set(x_1161, 2, x_1160); +x_1162 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1138); +x_1163 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1163, 0, x_1138); +lean_ctor_set(x_1163, 1, x_1162); +x_1164 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1165 = lean_array_push(x_1164, x_1157); +x_1166 = lean_array_push(x_1165, x_1161); +x_1167 = lean_array_push(x_1166, x_1163); +x_1168 = lean_array_push(x_1167, x_1135); +x_1169 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1138); x_1170 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1170, 0, x_1133); +lean_ctor_set(x_1170, 0, x_1138); lean_ctor_set(x_1170, 1, x_1169); lean_ctor_set(x_1170, 2, x_1168); -x_1171 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1172 = lean_array_push(x_1171, x_1137); -lean_inc(x_1140); -x_1173 = lean_array_push(x_1172, x_1140); -x_1174 = lean_array_push(x_1173, x_1140); -x_1175 = lean_array_push(x_1174, x_1148); -x_1176 = lean_array_push(x_1175, x_1150); -x_1177 = lean_array_push(x_1176, x_1170); -x_1178 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1179 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1179, 0, x_1133); -lean_ctor_set(x_1179, 1, x_1178); -lean_ctor_set(x_1179, 2, x_1177); -x_1180 = 1; -x_1181 = lean_box(x_1180); -if (lean_is_scalar(x_1131)) { - x_1182 = lean_alloc_ctor(0, 2, 0); +x_1171 = lean_array_push(x_1151, x_1170); +lean_inc(x_1138); +x_1172 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1172, 0, x_1138); +lean_ctor_set(x_1172, 1, x_1143); +lean_ctor_set(x_1172, 2, x_1171); +x_1173 = lean_array_push(x_1151, x_1172); +x_1174 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1138); +x_1175 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1175, 0, x_1138); +lean_ctor_set(x_1175, 1, x_1174); +lean_ctor_set(x_1175, 2, x_1173); +x_1176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1177 = lean_array_push(x_1176, x_1142); +lean_inc(x_1145); +x_1178 = lean_array_push(x_1177, x_1145); +x_1179 = lean_array_push(x_1178, x_1145); +x_1180 = lean_array_push(x_1179, x_1153); +x_1181 = lean_array_push(x_1180, x_1155); +x_1182 = lean_array_push(x_1181, x_1175); +x_1183 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1184 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1184, 0, x_1138); +lean_ctor_set(x_1184, 1, x_1183); +lean_ctor_set(x_1184, 2, x_1182); +x_1185 = 1; +x_1186 = lean_box(x_1185); +if (lean_is_scalar(x_1136)) { + x_1187 = lean_alloc_ctor(0, 2, 0); } else { - x_1182 = x_1131; + x_1187 = x_1136; } -lean_ctor_set(x_1182, 0, x_1179); -lean_ctor_set(x_1182, 1, x_1181); -x_1183 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1183, 0, x_1129); -lean_ctor_set(x_1183, 1, x_1182); -if (lean_is_scalar(x_1135)) { - x_1184 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1187, 0, x_1184); +lean_ctor_set(x_1187, 1, x_1186); +x_1188 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1188, 0, x_1134); +lean_ctor_set(x_1188, 1, x_1187); +if (lean_is_scalar(x_1140)) { + x_1189 = lean_alloc_ctor(0, 2, 0); } else { - x_1184 = x_1135; + x_1189 = x_1140; } -lean_ctor_set(x_1184, 0, x_1183); -lean_ctor_set(x_1184, 1, x_1134); -return x_1184; +lean_ctor_set(x_1189, 0, x_1188); +lean_ctor_set(x_1189, 1, x_1139); +return x_1189; } } else { -uint8_t x_1185; -lean_dec(x_962); +uint8_t x_1190; +lean_dec(x_967); lean_dec(x_14); lean_dec(x_5); -x_1185 = !lean_is_exclusive(x_969); -if (x_1185 == 0) +x_1190 = !lean_is_exclusive(x_974); +if (x_1190 == 0) { -return x_969; +return x_974; } else { -lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; -x_1186 = lean_ctor_get(x_969, 0); -x_1187 = lean_ctor_get(x_969, 1); -lean_inc(x_1187); -lean_inc(x_1186); -lean_dec(x_969); -x_1188 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1188, 0, x_1186); -lean_ctor_set(x_1188, 1, x_1187); -return x_1188; +lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; +x_1191 = lean_ctor_get(x_974, 0); +x_1192 = lean_ctor_get(x_974, 1); +lean_inc(x_1192); +lean_inc(x_1191); +lean_dec(x_974); +x_1193 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1193, 0, x_1191); +lean_ctor_set(x_1193, 1, x_1192); +return x_1193; } } } else { -lean_object* x_1189; lean_object* x_1190; uint8_t x_1191; -x_1189 = lean_unsigned_to_nat(1u); -x_1190 = l_Lean_Syntax_getArg(x_14, x_1189); -x_1191 = l_Lean_Syntax_isNone(x_1190); -if (x_1191 == 0) +lean_object* x_1194; lean_object* x_1195; uint8_t x_1196; +x_1194 = lean_unsigned_to_nat(1u); +x_1195 = l_Lean_Syntax_getArg(x_14, x_1194); +x_1196 = l_Lean_Syntax_isNone(x_1195); +if (x_1196 == 0) { -lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; uint8_t x_1195; -x_1192 = lean_unsigned_to_nat(0u); -x_1193 = l_Lean_Syntax_getArg(x_1190, x_1192); -x_1194 = l_Lean_Syntax_getArg(x_1190, x_1189); -lean_dec(x_1190); -x_1195 = l_Lean_Syntax_isNone(x_1194); -if (x_1195 == 0) +lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; uint8_t x_1200; +x_1197 = lean_unsigned_to_nat(0u); +x_1198 = l_Lean_Syntax_getArg(x_1195, x_1197); +x_1199 = l_Lean_Syntax_getArg(x_1195, x_1194); +lean_dec(x_1195); +x_1200 = l_Lean_Syntax_isNone(x_1199); +if (x_1200 == 0) { -lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; uint8_t x_1199; -x_1196 = l_Lean_Syntax_getArg(x_1194, x_1192); -lean_dec(x_1194); -lean_inc(x_1196); -x_1197 = l_Lean_Syntax_getKind(x_1196); -x_1198 = l_Lean_Elab_Term_expandFunBinders_loop___closed__16; -x_1199 = lean_name_eq(x_1197, x_1198); -lean_dec(x_1197); -if (x_1199 == 0) +lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; uint8_t x_1204; +x_1201 = l_Lean_Syntax_getArg(x_1199, x_1197); +lean_dec(x_1199); +lean_inc(x_1201); +x_1202 = l_Lean_Syntax_getKind(x_1201); +x_1203 = l_Lean_Elab_Term_expandFunBinders_loop___closed__16; +x_1204 = lean_name_eq(x_1202, x_1203); +lean_dec(x_1202); +if (x_1204 == 0) { -lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; -lean_dec(x_1196); -lean_dec(x_1193); +uint8_t x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; +lean_dec(x_1201); +lean_dec(x_1198); +x_1205 = 0; lean_inc(x_5); lean_inc(x_14); -x_1200 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_1201 = lean_ctor_get(x_1200, 0); -lean_inc(x_1201); -x_1202 = lean_ctor_get(x_1200, 1); -lean_inc(x_1202); -lean_dec(x_1200); -x_1203 = lean_nat_add(x_3, x_1189); +x_1206 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_1205, x_5, x_6); +x_1207 = lean_ctor_get(x_1206, 0); +lean_inc(x_1207); +x_1208 = lean_ctor_get(x_1206, 1); +lean_inc(x_1208); +lean_dec(x_1206); +x_1209 = lean_nat_add(x_3, x_1194); lean_dec(x_3); lean_inc(x_14); -x_1204 = l_Lean_mkHole(x_14); -lean_inc(x_1201); -x_1205 = l_Lean_Elab_Term_mkExplicitBinder(x_1201, x_1204); -x_1206 = lean_array_push(x_4, x_1205); +x_1210 = l_Lean_mkHole(x_14, x_1205); +lean_inc(x_1207); +x_1211 = l_Lean_Elab_Term_mkExplicitBinder(x_1207, x_1210); +x_1212 = lean_array_push(x_4, x_1211); lean_inc(x_5); -x_1207 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1203, x_1206, x_5, x_1202); -if (lean_obj_tag(x_1207) == 0) -{ -lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; uint8_t x_1211; -x_1208 = lean_ctor_get(x_1207, 0); -lean_inc(x_1208); -x_1209 = lean_ctor_get(x_1208, 1); -lean_inc(x_1209); -x_1210 = lean_ctor_get(x_1207, 1); -lean_inc(x_1210); -lean_dec(x_1207); -x_1211 = !lean_is_exclusive(x_1208); -if (x_1211 == 0) -{ -lean_object* x_1212; uint8_t x_1213; -x_1212 = lean_ctor_get(x_1208, 1); -lean_dec(x_1212); -x_1213 = !lean_is_exclusive(x_1209); -if (x_1213 == 0) +x_1213 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1209, x_1212, x_5, x_1208); +if (lean_obj_tag(x_1213) == 0) { lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; uint8_t x_1217; -x_1214 = lean_ctor_get(x_1209, 0); -x_1215 = lean_ctor_get(x_1209, 1); -lean_dec(x_1215); -x_1216 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1210); -x_1217 = !lean_is_exclusive(x_1216); +x_1214 = lean_ctor_get(x_1213, 0); +lean_inc(x_1214); +x_1215 = lean_ctor_get(x_1214, 1); +lean_inc(x_1215); +x_1216 = lean_ctor_get(x_1213, 1); +lean_inc(x_1216); +lean_dec(x_1213); +x_1217 = !lean_is_exclusive(x_1214); if (x_1217 == 0) { -lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; uint8_t x_1263; lean_object* x_1264; -x_1218 = lean_ctor_get(x_1216, 0); -x_1219 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1218); -x_1220 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1220, 0, x_1218); -lean_ctor_set(x_1220, 1, x_1219); -x_1221 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1222 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1218); -x_1223 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1223, 0, x_1218); -lean_ctor_set(x_1223, 1, x_1221); -lean_ctor_set(x_1223, 2, x_1222); -x_1224 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1223); -x_1225 = lean_array_push(x_1224, x_1223); -x_1226 = lean_array_push(x_1225, x_1201); -x_1227 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1218); -x_1228 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1228, 0, x_1218); -lean_ctor_set(x_1228, 1, x_1227); -lean_ctor_set(x_1228, 2, x_1226); -x_1229 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1230 = lean_array_push(x_1229, x_1228); -lean_inc(x_1218); -x_1231 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1231, 0, x_1218); -lean_ctor_set(x_1231, 1, x_1221); -lean_ctor_set(x_1231, 2, x_1230); -x_1232 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1218); -x_1233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1233, 0, x_1218); -lean_ctor_set(x_1233, 1, x_1232); -x_1234 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1218); -x_1235 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1235, 0, x_1218); -lean_ctor_set(x_1235, 1, x_1234); -x_1236 = lean_array_push(x_1229, x_14); -lean_inc(x_1218); +lean_object* x_1218; uint8_t x_1219; +x_1218 = lean_ctor_get(x_1214, 1); +lean_dec(x_1218); +x_1219 = !lean_is_exclusive(x_1215); +if (x_1219 == 0) +{ +lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; uint8_t x_1223; +x_1220 = lean_ctor_get(x_1215, 0); +x_1221 = lean_ctor_get(x_1215, 1); +lean_dec(x_1221); +x_1222 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1216); +x_1223 = !lean_is_exclusive(x_1222); +if (x_1223 == 0) +{ +lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; uint8_t x_1269; lean_object* x_1270; +x_1224 = lean_ctor_get(x_1222, 0); +x_1225 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1224); +x_1226 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1226, 0, x_1224); +lean_ctor_set(x_1226, 1, x_1225); +x_1227 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1228 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1224); +x_1229 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1229, 0, x_1224); +lean_ctor_set(x_1229, 1, x_1227); +lean_ctor_set(x_1229, 2, x_1228); +x_1230 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1229); +x_1231 = lean_array_push(x_1230, x_1229); +x_1232 = lean_array_push(x_1231, x_1207); +x_1233 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1224); +x_1234 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1234, 0, x_1224); +lean_ctor_set(x_1234, 1, x_1233); +lean_ctor_set(x_1234, 2, x_1232); +x_1235 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1236 = lean_array_push(x_1235, x_1234); +lean_inc(x_1224); x_1237 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1237, 0, x_1218); -lean_ctor_set(x_1237, 1, x_1221); +lean_ctor_set(x_1237, 0, x_1224); +lean_ctor_set(x_1237, 1, x_1227); lean_ctor_set(x_1237, 2, x_1236); -x_1238 = lean_array_push(x_1229, x_1237); -lean_inc(x_1218); -x_1239 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1239, 0, x_1218); -lean_ctor_set(x_1239, 1, x_1221); -lean_ctor_set(x_1239, 2, x_1238); -x_1240 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1218); +x_1238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1224); +x_1239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1239, 0, x_1224); +lean_ctor_set(x_1239, 1, x_1238); +x_1240 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1224); x_1241 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1241, 0, x_1218); +lean_ctor_set(x_1241, 0, x_1224); lean_ctor_set(x_1241, 1, x_1240); -x_1242 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1243 = lean_array_push(x_1242, x_1235); -x_1244 = lean_array_push(x_1243, x_1239); -x_1245 = lean_array_push(x_1244, x_1241); -x_1246 = lean_array_push(x_1245, x_1214); -x_1247 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1218); -x_1248 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1248, 0, x_1218); -lean_ctor_set(x_1248, 1, x_1247); -lean_ctor_set(x_1248, 2, x_1246); -x_1249 = lean_array_push(x_1229, x_1248); -lean_inc(x_1218); -x_1250 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1250, 0, x_1218); -lean_ctor_set(x_1250, 1, x_1221); -lean_ctor_set(x_1250, 2, x_1249); -x_1251 = lean_array_push(x_1229, x_1250); -x_1252 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1218); -x_1253 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1253, 0, x_1218); -lean_ctor_set(x_1253, 1, x_1252); -lean_ctor_set(x_1253, 2, x_1251); -x_1254 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1255 = lean_array_push(x_1254, x_1220); -lean_inc(x_1223); -x_1256 = lean_array_push(x_1255, x_1223); -x_1257 = lean_array_push(x_1256, x_1223); -x_1258 = lean_array_push(x_1257, x_1231); -x_1259 = lean_array_push(x_1258, x_1233); -x_1260 = lean_array_push(x_1259, x_1253); -x_1261 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1262 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1262, 0, x_1218); -lean_ctor_set(x_1262, 1, x_1261); -lean_ctor_set(x_1262, 2, x_1260); -x_1263 = 1; -x_1264 = lean_box(x_1263); -lean_ctor_set(x_1209, 1, x_1264); -lean_ctor_set(x_1209, 0, x_1262); -lean_ctor_set(x_1216, 0, x_1208); -return x_1216; -} -else -{ -lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; uint8_t x_1311; lean_object* x_1312; lean_object* x_1313; -x_1265 = lean_ctor_get(x_1216, 0); -x_1266 = lean_ctor_get(x_1216, 1); -lean_inc(x_1266); -lean_inc(x_1265); -lean_dec(x_1216); -x_1267 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1265); -x_1268 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1268, 0, x_1265); +x_1242 = lean_array_push(x_1235, x_14); +lean_inc(x_1224); +x_1243 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1243, 0, x_1224); +lean_ctor_set(x_1243, 1, x_1227); +lean_ctor_set(x_1243, 2, x_1242); +x_1244 = lean_array_push(x_1235, x_1243); +lean_inc(x_1224); +x_1245 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1245, 0, x_1224); +lean_ctor_set(x_1245, 1, x_1227); +lean_ctor_set(x_1245, 2, x_1244); +x_1246 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1224); +x_1247 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1247, 0, x_1224); +lean_ctor_set(x_1247, 1, x_1246); +x_1248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1249 = lean_array_push(x_1248, x_1241); +x_1250 = lean_array_push(x_1249, x_1245); +x_1251 = lean_array_push(x_1250, x_1247); +x_1252 = lean_array_push(x_1251, x_1220); +x_1253 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1224); +x_1254 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1254, 0, x_1224); +lean_ctor_set(x_1254, 1, x_1253); +lean_ctor_set(x_1254, 2, x_1252); +x_1255 = lean_array_push(x_1235, x_1254); +lean_inc(x_1224); +x_1256 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1256, 0, x_1224); +lean_ctor_set(x_1256, 1, x_1227); +lean_ctor_set(x_1256, 2, x_1255); +x_1257 = lean_array_push(x_1235, x_1256); +x_1258 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1224); +x_1259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1259, 0, x_1224); +lean_ctor_set(x_1259, 1, x_1258); +lean_ctor_set(x_1259, 2, x_1257); +x_1260 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1261 = lean_array_push(x_1260, x_1226); +lean_inc(x_1229); +x_1262 = lean_array_push(x_1261, x_1229); +x_1263 = lean_array_push(x_1262, x_1229); +x_1264 = lean_array_push(x_1263, x_1237); +x_1265 = lean_array_push(x_1264, x_1239); +x_1266 = lean_array_push(x_1265, x_1259); +x_1267 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1268 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1268, 0, x_1224); lean_ctor_set(x_1268, 1, x_1267); -x_1269 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1270 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1265); -x_1271 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1271, 0, x_1265); -lean_ctor_set(x_1271, 1, x_1269); -lean_ctor_set(x_1271, 2, x_1270); -x_1272 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_ctor_set(x_1268, 2, x_1266); +x_1269 = 1; +x_1270 = lean_box(x_1269); +lean_ctor_set(x_1215, 1, x_1270); +lean_ctor_set(x_1215, 0, x_1268); +lean_ctor_set(x_1222, 0, x_1214); +return x_1222; +} +else +{ +lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; lean_object* x_1278; lean_object* x_1279; lean_object* x_1280; lean_object* x_1281; lean_object* x_1282; lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; lean_object* x_1308; lean_object* x_1309; lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; uint8_t x_1317; lean_object* x_1318; lean_object* x_1319; +x_1271 = lean_ctor_get(x_1222, 0); +x_1272 = lean_ctor_get(x_1222, 1); +lean_inc(x_1272); +lean_inc(x_1271); +lean_dec(x_1222); +x_1273 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1271); +x_1274 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1274, 0, x_1271); +lean_ctor_set(x_1274, 1, x_1273); +x_1275 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1276 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1271); +x_1277 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1277, 0, x_1271); +lean_ctor_set(x_1277, 1, x_1275); +lean_ctor_set(x_1277, 2, x_1276); +x_1278 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1277); +x_1279 = lean_array_push(x_1278, x_1277); +x_1280 = lean_array_push(x_1279, x_1207); +x_1281 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1271); +x_1282 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1282, 0, x_1271); +lean_ctor_set(x_1282, 1, x_1281); +lean_ctor_set(x_1282, 2, x_1280); +x_1283 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1284 = lean_array_push(x_1283, x_1282); lean_inc(x_1271); -x_1273 = lean_array_push(x_1272, x_1271); -x_1274 = lean_array_push(x_1273, x_1201); -x_1275 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1265); -x_1276 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1276, 0, x_1265); -lean_ctor_set(x_1276, 1, x_1275); -lean_ctor_set(x_1276, 2, x_1274); -x_1277 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1278 = lean_array_push(x_1277, x_1276); -lean_inc(x_1265); -x_1279 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1279, 0, x_1265); -lean_ctor_set(x_1279, 1, x_1269); -lean_ctor_set(x_1279, 2, x_1278); -x_1280 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1265); -x_1281 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1281, 0, x_1265); -lean_ctor_set(x_1281, 1, x_1280); -x_1282 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1265); -x_1283 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1283, 0, x_1265); -lean_ctor_set(x_1283, 1, x_1282); -x_1284 = lean_array_push(x_1277, x_14); -lean_inc(x_1265); x_1285 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1285, 0, x_1265); -lean_ctor_set(x_1285, 1, x_1269); +lean_ctor_set(x_1285, 0, x_1271); +lean_ctor_set(x_1285, 1, x_1275); lean_ctor_set(x_1285, 2, x_1284); -x_1286 = lean_array_push(x_1277, x_1285); -lean_inc(x_1265); -x_1287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1287, 0, x_1265); -lean_ctor_set(x_1287, 1, x_1269); -lean_ctor_set(x_1287, 2, x_1286); -x_1288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1265); -x_1289 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1289, 0, x_1265); -lean_ctor_set(x_1289, 1, x_1288); -x_1290 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1291 = lean_array_push(x_1290, x_1283); -x_1292 = lean_array_push(x_1291, x_1287); -x_1293 = lean_array_push(x_1292, x_1289); -x_1294 = lean_array_push(x_1293, x_1214); -x_1295 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1265); -x_1296 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1296, 0, x_1265); -lean_ctor_set(x_1296, 1, x_1295); -lean_ctor_set(x_1296, 2, x_1294); -x_1297 = lean_array_push(x_1277, x_1296); -lean_inc(x_1265); -x_1298 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1298, 0, x_1265); -lean_ctor_set(x_1298, 1, x_1269); -lean_ctor_set(x_1298, 2, x_1297); -x_1299 = lean_array_push(x_1277, x_1298); -x_1300 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1265); -x_1301 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1301, 0, x_1265); -lean_ctor_set(x_1301, 1, x_1300); -lean_ctor_set(x_1301, 2, x_1299); -x_1302 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1303 = lean_array_push(x_1302, x_1268); +x_1286 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; lean_inc(x_1271); -x_1304 = lean_array_push(x_1303, x_1271); -x_1305 = lean_array_push(x_1304, x_1271); -x_1306 = lean_array_push(x_1305, x_1279); -x_1307 = lean_array_push(x_1306, x_1281); -x_1308 = lean_array_push(x_1307, x_1301); -x_1309 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1310 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1310, 0, x_1265); -lean_ctor_set(x_1310, 1, x_1309); -lean_ctor_set(x_1310, 2, x_1308); -x_1311 = 1; -x_1312 = lean_box(x_1311); -lean_ctor_set(x_1209, 1, x_1312); -lean_ctor_set(x_1209, 0, x_1310); -x_1313 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1313, 0, x_1208); -lean_ctor_set(x_1313, 1, x_1266); -return x_1313; +x_1287 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1287, 0, x_1271); +lean_ctor_set(x_1287, 1, x_1286); +x_1288 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1271); +x_1289 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1289, 0, x_1271); +lean_ctor_set(x_1289, 1, x_1288); +x_1290 = lean_array_push(x_1283, x_14); +lean_inc(x_1271); +x_1291 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1291, 0, x_1271); +lean_ctor_set(x_1291, 1, x_1275); +lean_ctor_set(x_1291, 2, x_1290); +x_1292 = lean_array_push(x_1283, x_1291); +lean_inc(x_1271); +x_1293 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1293, 0, x_1271); +lean_ctor_set(x_1293, 1, x_1275); +lean_ctor_set(x_1293, 2, x_1292); +x_1294 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1271); +x_1295 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1295, 0, x_1271); +lean_ctor_set(x_1295, 1, x_1294); +x_1296 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1297 = lean_array_push(x_1296, x_1289); +x_1298 = lean_array_push(x_1297, x_1293); +x_1299 = lean_array_push(x_1298, x_1295); +x_1300 = lean_array_push(x_1299, x_1220); +x_1301 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1271); +x_1302 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1302, 0, x_1271); +lean_ctor_set(x_1302, 1, x_1301); +lean_ctor_set(x_1302, 2, x_1300); +x_1303 = lean_array_push(x_1283, x_1302); +lean_inc(x_1271); +x_1304 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1304, 0, x_1271); +lean_ctor_set(x_1304, 1, x_1275); +lean_ctor_set(x_1304, 2, x_1303); +x_1305 = lean_array_push(x_1283, x_1304); +x_1306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1271); +x_1307 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1307, 0, x_1271); +lean_ctor_set(x_1307, 1, x_1306); +lean_ctor_set(x_1307, 2, x_1305); +x_1308 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1309 = lean_array_push(x_1308, x_1274); +lean_inc(x_1277); +x_1310 = lean_array_push(x_1309, x_1277); +x_1311 = lean_array_push(x_1310, x_1277); +x_1312 = lean_array_push(x_1311, x_1285); +x_1313 = lean_array_push(x_1312, x_1287); +x_1314 = lean_array_push(x_1313, x_1307); +x_1315 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1316 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1316, 0, x_1271); +lean_ctor_set(x_1316, 1, x_1315); +lean_ctor_set(x_1316, 2, x_1314); +x_1317 = 1; +x_1318 = lean_box(x_1317); +lean_ctor_set(x_1215, 1, x_1318); +lean_ctor_set(x_1215, 0, x_1316); +x_1319 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1319, 0, x_1214); +lean_ctor_set(x_1319, 1, x_1272); +return x_1319; } } else { -lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; uint8_t x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; -x_1314 = lean_ctor_get(x_1209, 0); -lean_inc(x_1314); -lean_dec(x_1209); -x_1315 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1210); -x_1316 = lean_ctor_get(x_1315, 0); -lean_inc(x_1316); -x_1317 = lean_ctor_get(x_1315, 1); -lean_inc(x_1317); -if (lean_is_exclusive(x_1315)) { - lean_ctor_release(x_1315, 0); - lean_ctor_release(x_1315, 1); - x_1318 = x_1315; -} else { - lean_dec_ref(x_1315); - x_1318 = lean_box(0); -} -x_1319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1316); -x_1320 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1320, 0, x_1316); -lean_ctor_set(x_1320, 1, x_1319); -x_1321 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1322 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1316); -x_1323 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1323, 0, x_1316); -lean_ctor_set(x_1323, 1, x_1321); -lean_ctor_set(x_1323, 2, x_1322); -x_1324 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_object* x_1320; lean_object* x_1321; lean_object* x_1322; lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; lean_object* x_1334; lean_object* x_1335; lean_object* x_1336; lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1340; lean_object* x_1341; lean_object* x_1342; lean_object* x_1343; lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; lean_object* x_1352; lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; lean_object* x_1367; lean_object* x_1368; uint8_t x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; +x_1320 = lean_ctor_get(x_1215, 0); +lean_inc(x_1320); +lean_dec(x_1215); +x_1321 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1216); +x_1322 = lean_ctor_get(x_1321, 0); +lean_inc(x_1322); +x_1323 = lean_ctor_get(x_1321, 1); lean_inc(x_1323); -x_1325 = lean_array_push(x_1324, x_1323); -x_1326 = lean_array_push(x_1325, x_1201); -x_1327 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1316); -x_1328 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1328, 0, x_1316); -lean_ctor_set(x_1328, 1, x_1327); -lean_ctor_set(x_1328, 2, x_1326); -x_1329 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1330 = lean_array_push(x_1329, x_1328); -lean_inc(x_1316); -x_1331 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1331, 0, x_1316); -lean_ctor_set(x_1331, 1, x_1321); -lean_ctor_set(x_1331, 2, x_1330); -x_1332 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1316); -x_1333 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1333, 0, x_1316); -lean_ctor_set(x_1333, 1, x_1332); -x_1334 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1316); -x_1335 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1335, 0, x_1316); -lean_ctor_set(x_1335, 1, x_1334); -x_1336 = lean_array_push(x_1329, x_14); -lean_inc(x_1316); +if (lean_is_exclusive(x_1321)) { + lean_ctor_release(x_1321, 0); + lean_ctor_release(x_1321, 1); + x_1324 = x_1321; +} else { + lean_dec_ref(x_1321); + x_1324 = lean_box(0); +} +x_1325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1322); +x_1326 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1326, 0, x_1322); +lean_ctor_set(x_1326, 1, x_1325); +x_1327 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1328 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1322); +x_1329 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1329, 0, x_1322); +lean_ctor_set(x_1329, 1, x_1327); +lean_ctor_set(x_1329, 2, x_1328); +x_1330 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1329); +x_1331 = lean_array_push(x_1330, x_1329); +x_1332 = lean_array_push(x_1331, x_1207); +x_1333 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1322); +x_1334 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1334, 0, x_1322); +lean_ctor_set(x_1334, 1, x_1333); +lean_ctor_set(x_1334, 2, x_1332); +x_1335 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1336 = lean_array_push(x_1335, x_1334); +lean_inc(x_1322); x_1337 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1337, 0, x_1316); -lean_ctor_set(x_1337, 1, x_1321); +lean_ctor_set(x_1337, 0, x_1322); +lean_ctor_set(x_1337, 1, x_1327); lean_ctor_set(x_1337, 2, x_1336); -x_1338 = lean_array_push(x_1329, x_1337); -lean_inc(x_1316); -x_1339 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1339, 0, x_1316); -lean_ctor_set(x_1339, 1, x_1321); -lean_ctor_set(x_1339, 2, x_1338); -x_1340 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1316); +x_1338 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1322); +x_1339 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1339, 0, x_1322); +lean_ctor_set(x_1339, 1, x_1338); +x_1340 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1322); x_1341 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1341, 0, x_1316); +lean_ctor_set(x_1341, 0, x_1322); lean_ctor_set(x_1341, 1, x_1340); -x_1342 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1343 = lean_array_push(x_1342, x_1335); -x_1344 = lean_array_push(x_1343, x_1339); -x_1345 = lean_array_push(x_1344, x_1341); -x_1346 = lean_array_push(x_1345, x_1314); -x_1347 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1316); -x_1348 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1348, 0, x_1316); -lean_ctor_set(x_1348, 1, x_1347); -lean_ctor_set(x_1348, 2, x_1346); -x_1349 = lean_array_push(x_1329, x_1348); -lean_inc(x_1316); -x_1350 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1350, 0, x_1316); -lean_ctor_set(x_1350, 1, x_1321); -lean_ctor_set(x_1350, 2, x_1349); -x_1351 = lean_array_push(x_1329, x_1350); -x_1352 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1316); -x_1353 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1353, 0, x_1316); -lean_ctor_set(x_1353, 1, x_1352); -lean_ctor_set(x_1353, 2, x_1351); -x_1354 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1355 = lean_array_push(x_1354, x_1320); -lean_inc(x_1323); -x_1356 = lean_array_push(x_1355, x_1323); -x_1357 = lean_array_push(x_1356, x_1323); -x_1358 = lean_array_push(x_1357, x_1331); -x_1359 = lean_array_push(x_1358, x_1333); -x_1360 = lean_array_push(x_1359, x_1353); -x_1361 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1362 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1362, 0, x_1316); -lean_ctor_set(x_1362, 1, x_1361); -lean_ctor_set(x_1362, 2, x_1360); -x_1363 = 1; -x_1364 = lean_box(x_1363); -x_1365 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1365, 0, x_1362); -lean_ctor_set(x_1365, 1, x_1364); -lean_ctor_set(x_1208, 1, x_1365); -if (lean_is_scalar(x_1318)) { - x_1366 = lean_alloc_ctor(0, 2, 0); +x_1342 = lean_array_push(x_1335, x_14); +lean_inc(x_1322); +x_1343 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1343, 0, x_1322); +lean_ctor_set(x_1343, 1, x_1327); +lean_ctor_set(x_1343, 2, x_1342); +x_1344 = lean_array_push(x_1335, x_1343); +lean_inc(x_1322); +x_1345 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1345, 0, x_1322); +lean_ctor_set(x_1345, 1, x_1327); +lean_ctor_set(x_1345, 2, x_1344); +x_1346 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1322); +x_1347 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1347, 0, x_1322); +lean_ctor_set(x_1347, 1, x_1346); +x_1348 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1349 = lean_array_push(x_1348, x_1341); +x_1350 = lean_array_push(x_1349, x_1345); +x_1351 = lean_array_push(x_1350, x_1347); +x_1352 = lean_array_push(x_1351, x_1320); +x_1353 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1322); +x_1354 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1354, 0, x_1322); +lean_ctor_set(x_1354, 1, x_1353); +lean_ctor_set(x_1354, 2, x_1352); +x_1355 = lean_array_push(x_1335, x_1354); +lean_inc(x_1322); +x_1356 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1356, 0, x_1322); +lean_ctor_set(x_1356, 1, x_1327); +lean_ctor_set(x_1356, 2, x_1355); +x_1357 = lean_array_push(x_1335, x_1356); +x_1358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1322); +x_1359 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1359, 0, x_1322); +lean_ctor_set(x_1359, 1, x_1358); +lean_ctor_set(x_1359, 2, x_1357); +x_1360 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1361 = lean_array_push(x_1360, x_1326); +lean_inc(x_1329); +x_1362 = lean_array_push(x_1361, x_1329); +x_1363 = lean_array_push(x_1362, x_1329); +x_1364 = lean_array_push(x_1363, x_1337); +x_1365 = lean_array_push(x_1364, x_1339); +x_1366 = lean_array_push(x_1365, x_1359); +x_1367 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1368 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1368, 0, x_1322); +lean_ctor_set(x_1368, 1, x_1367); +lean_ctor_set(x_1368, 2, x_1366); +x_1369 = 1; +x_1370 = lean_box(x_1369); +x_1371 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1371, 0, x_1368); +lean_ctor_set(x_1371, 1, x_1370); +lean_ctor_set(x_1214, 1, x_1371); +if (lean_is_scalar(x_1324)) { + x_1372 = lean_alloc_ctor(0, 2, 0); } else { - x_1366 = x_1318; + x_1372 = x_1324; } -lean_ctor_set(x_1366, 0, x_1208); -lean_ctor_set(x_1366, 1, x_1317); -return x_1366; +lean_ctor_set(x_1372, 0, x_1214); +lean_ctor_set(x_1372, 1, x_1323); +return x_1372; } } else { -lean_object* x_1367; lean_object* x_1368; lean_object* x_1369; lean_object* x_1370; lean_object* x_1371; lean_object* x_1372; lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; uint8_t x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; -x_1367 = lean_ctor_get(x_1208, 0); -lean_inc(x_1367); -lean_dec(x_1208); -x_1368 = lean_ctor_get(x_1209, 0); -lean_inc(x_1368); -if (lean_is_exclusive(x_1209)) { - lean_ctor_release(x_1209, 0); - lean_ctor_release(x_1209, 1); - x_1369 = x_1209; +lean_object* x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; lean_object* x_1377; lean_object* x_1378; lean_object* x_1379; lean_object* x_1380; lean_object* x_1381; lean_object* x_1382; lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; lean_object* x_1401; lean_object* x_1402; lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; lean_object* x_1412; lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1419; lean_object* x_1420; lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; uint8_t x_1424; lean_object* x_1425; lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; +x_1373 = lean_ctor_get(x_1214, 0); +lean_inc(x_1373); +lean_dec(x_1214); +x_1374 = lean_ctor_get(x_1215, 0); +lean_inc(x_1374); +if (lean_is_exclusive(x_1215)) { + lean_ctor_release(x_1215, 0); + lean_ctor_release(x_1215, 1); + x_1375 = x_1215; } else { - lean_dec_ref(x_1209); - x_1369 = lean_box(0); + lean_dec_ref(x_1215); + x_1375 = lean_box(0); } -x_1370 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1210); -x_1371 = lean_ctor_get(x_1370, 0); -lean_inc(x_1371); -x_1372 = lean_ctor_get(x_1370, 1); -lean_inc(x_1372); -if (lean_is_exclusive(x_1370)) { - lean_ctor_release(x_1370, 0); - lean_ctor_release(x_1370, 1); - x_1373 = x_1370; -} else { - lean_dec_ref(x_1370); - x_1373 = lean_box(0); -} -x_1374 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1371); -x_1375 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1375, 0, x_1371); -lean_ctor_set(x_1375, 1, x_1374); -x_1376 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1377 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1371); -x_1378 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1378, 0, x_1371); -lean_ctor_set(x_1378, 1, x_1376); -lean_ctor_set(x_1378, 2, x_1377); -x_1379 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +x_1376 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1216); +x_1377 = lean_ctor_get(x_1376, 0); +lean_inc(x_1377); +x_1378 = lean_ctor_get(x_1376, 1); lean_inc(x_1378); -x_1380 = lean_array_push(x_1379, x_1378); -x_1381 = lean_array_push(x_1380, x_1201); -x_1382 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1371); -x_1383 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1383, 0, x_1371); -lean_ctor_set(x_1383, 1, x_1382); -lean_ctor_set(x_1383, 2, x_1381); -x_1384 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1385 = lean_array_push(x_1384, x_1383); -lean_inc(x_1371); -x_1386 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1386, 0, x_1371); -lean_ctor_set(x_1386, 1, x_1376); -lean_ctor_set(x_1386, 2, x_1385); -x_1387 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1371); -x_1388 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1388, 0, x_1371); -lean_ctor_set(x_1388, 1, x_1387); -x_1389 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1371); -x_1390 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1390, 0, x_1371); -lean_ctor_set(x_1390, 1, x_1389); -x_1391 = lean_array_push(x_1384, x_14); -lean_inc(x_1371); +if (lean_is_exclusive(x_1376)) { + lean_ctor_release(x_1376, 0); + lean_ctor_release(x_1376, 1); + x_1379 = x_1376; +} else { + lean_dec_ref(x_1376); + x_1379 = lean_box(0); +} +x_1380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1377); +x_1381 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1381, 0, x_1377); +lean_ctor_set(x_1381, 1, x_1380); +x_1382 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1383 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1377); +x_1384 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1384, 0, x_1377); +lean_ctor_set(x_1384, 1, x_1382); +lean_ctor_set(x_1384, 2, x_1383); +x_1385 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1384); +x_1386 = lean_array_push(x_1385, x_1384); +x_1387 = lean_array_push(x_1386, x_1207); +x_1388 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1377); +x_1389 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1389, 0, x_1377); +lean_ctor_set(x_1389, 1, x_1388); +lean_ctor_set(x_1389, 2, x_1387); +x_1390 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1391 = lean_array_push(x_1390, x_1389); +lean_inc(x_1377); x_1392 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1392, 0, x_1371); -lean_ctor_set(x_1392, 1, x_1376); +lean_ctor_set(x_1392, 0, x_1377); +lean_ctor_set(x_1392, 1, x_1382); lean_ctor_set(x_1392, 2, x_1391); -x_1393 = lean_array_push(x_1384, x_1392); -lean_inc(x_1371); -x_1394 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1394, 0, x_1371); -lean_ctor_set(x_1394, 1, x_1376); -lean_ctor_set(x_1394, 2, x_1393); -x_1395 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1371); +x_1393 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1377); +x_1394 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1394, 0, x_1377); +lean_ctor_set(x_1394, 1, x_1393); +x_1395 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1377); x_1396 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1396, 0, x_1371); +lean_ctor_set(x_1396, 0, x_1377); lean_ctor_set(x_1396, 1, x_1395); -x_1397 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1398 = lean_array_push(x_1397, x_1390); -x_1399 = lean_array_push(x_1398, x_1394); -x_1400 = lean_array_push(x_1399, x_1396); -x_1401 = lean_array_push(x_1400, x_1368); -x_1402 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1371); -x_1403 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1403, 0, x_1371); -lean_ctor_set(x_1403, 1, x_1402); -lean_ctor_set(x_1403, 2, x_1401); -x_1404 = lean_array_push(x_1384, x_1403); -lean_inc(x_1371); -x_1405 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1405, 0, x_1371); -lean_ctor_set(x_1405, 1, x_1376); -lean_ctor_set(x_1405, 2, x_1404); -x_1406 = lean_array_push(x_1384, x_1405); -x_1407 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1371); -x_1408 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1408, 0, x_1371); -lean_ctor_set(x_1408, 1, x_1407); -lean_ctor_set(x_1408, 2, x_1406); -x_1409 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1410 = lean_array_push(x_1409, x_1375); -lean_inc(x_1378); -x_1411 = lean_array_push(x_1410, x_1378); -x_1412 = lean_array_push(x_1411, x_1378); -x_1413 = lean_array_push(x_1412, x_1386); -x_1414 = lean_array_push(x_1413, x_1388); -x_1415 = lean_array_push(x_1414, x_1408); -x_1416 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1417 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1417, 0, x_1371); -lean_ctor_set(x_1417, 1, x_1416); -lean_ctor_set(x_1417, 2, x_1415); -x_1418 = 1; -x_1419 = lean_box(x_1418); -if (lean_is_scalar(x_1369)) { - x_1420 = lean_alloc_ctor(0, 2, 0); +x_1397 = lean_array_push(x_1390, x_14); +lean_inc(x_1377); +x_1398 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1398, 0, x_1377); +lean_ctor_set(x_1398, 1, x_1382); +lean_ctor_set(x_1398, 2, x_1397); +x_1399 = lean_array_push(x_1390, x_1398); +lean_inc(x_1377); +x_1400 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1400, 0, x_1377); +lean_ctor_set(x_1400, 1, x_1382); +lean_ctor_set(x_1400, 2, x_1399); +x_1401 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1377); +x_1402 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1402, 0, x_1377); +lean_ctor_set(x_1402, 1, x_1401); +x_1403 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1404 = lean_array_push(x_1403, x_1396); +x_1405 = lean_array_push(x_1404, x_1400); +x_1406 = lean_array_push(x_1405, x_1402); +x_1407 = lean_array_push(x_1406, x_1374); +x_1408 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1377); +x_1409 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1409, 0, x_1377); +lean_ctor_set(x_1409, 1, x_1408); +lean_ctor_set(x_1409, 2, x_1407); +x_1410 = lean_array_push(x_1390, x_1409); +lean_inc(x_1377); +x_1411 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1411, 0, x_1377); +lean_ctor_set(x_1411, 1, x_1382); +lean_ctor_set(x_1411, 2, x_1410); +x_1412 = lean_array_push(x_1390, x_1411); +x_1413 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1377); +x_1414 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1414, 0, x_1377); +lean_ctor_set(x_1414, 1, x_1413); +lean_ctor_set(x_1414, 2, x_1412); +x_1415 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1416 = lean_array_push(x_1415, x_1381); +lean_inc(x_1384); +x_1417 = lean_array_push(x_1416, x_1384); +x_1418 = lean_array_push(x_1417, x_1384); +x_1419 = lean_array_push(x_1418, x_1392); +x_1420 = lean_array_push(x_1419, x_1394); +x_1421 = lean_array_push(x_1420, x_1414); +x_1422 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1423 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1423, 0, x_1377); +lean_ctor_set(x_1423, 1, x_1422); +lean_ctor_set(x_1423, 2, x_1421); +x_1424 = 1; +x_1425 = lean_box(x_1424); +if (lean_is_scalar(x_1375)) { + x_1426 = lean_alloc_ctor(0, 2, 0); } else { - x_1420 = x_1369; + x_1426 = x_1375; } -lean_ctor_set(x_1420, 0, x_1417); -lean_ctor_set(x_1420, 1, x_1419); -x_1421 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1421, 0, x_1367); -lean_ctor_set(x_1421, 1, x_1420); -if (lean_is_scalar(x_1373)) { - x_1422 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1426, 0, x_1423); +lean_ctor_set(x_1426, 1, x_1425); +x_1427 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1427, 0, x_1373); +lean_ctor_set(x_1427, 1, x_1426); +if (lean_is_scalar(x_1379)) { + x_1428 = lean_alloc_ctor(0, 2, 0); } else { - x_1422 = x_1373; + x_1428 = x_1379; } -lean_ctor_set(x_1422, 0, x_1421); -lean_ctor_set(x_1422, 1, x_1372); -return x_1422; +lean_ctor_set(x_1428, 0, x_1427); +lean_ctor_set(x_1428, 1, x_1378); +return x_1428; } } else { -uint8_t x_1423; -lean_dec(x_1201); +uint8_t x_1429; +lean_dec(x_1207); lean_dec(x_14); lean_dec(x_5); -x_1423 = !lean_is_exclusive(x_1207); -if (x_1423 == 0) +x_1429 = !lean_is_exclusive(x_1213); +if (x_1429 == 0) { -return x_1207; +return x_1213; } else { -lean_object* x_1424; lean_object* x_1425; lean_object* x_1426; -x_1424 = lean_ctor_get(x_1207, 0); -x_1425 = lean_ctor_get(x_1207, 1); -lean_inc(x_1425); -lean_inc(x_1424); -lean_dec(x_1207); -x_1426 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1426, 0, x_1424); -lean_ctor_set(x_1426, 1, x_1425); -return x_1426; -} -} -} -else -{ -lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; -x_1427 = l_Lean_Syntax_getArg(x_1196, x_1189); -lean_dec(x_1196); -x_1428 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(x_1193, x_5, x_6); -x_1429 = lean_ctor_get(x_1428, 0); -lean_inc(x_1429); -if (lean_obj_tag(x_1429) == 0) -{ -lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; -lean_dec(x_1427); -x_1430 = lean_ctor_get(x_1428, 1); +lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; +x_1430 = lean_ctor_get(x_1213, 0); +x_1431 = lean_ctor_get(x_1213, 1); +lean_inc(x_1431); lean_inc(x_1430); -lean_dec(x_1428); -lean_inc(x_5); -lean_inc(x_14); -x_1431 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_1430); -x_1432 = lean_ctor_get(x_1431, 0); -lean_inc(x_1432); -x_1433 = lean_ctor_get(x_1431, 1); -lean_inc(x_1433); -lean_dec(x_1431); -x_1434 = lean_nat_add(x_3, x_1189); -lean_dec(x_3); -lean_inc(x_14); -x_1435 = l_Lean_mkHole(x_14); -lean_inc(x_1432); -x_1436 = l_Lean_Elab_Term_mkExplicitBinder(x_1432, x_1435); -x_1437 = lean_array_push(x_4, x_1436); -lean_inc(x_5); -x_1438 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1434, x_1437, x_5, x_1433); -if (lean_obj_tag(x_1438) == 0) +lean_dec(x_1213); +x_1432 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1432, 0, x_1430); +lean_ctor_set(x_1432, 1, x_1431); +return x_1432; +} +} +} +else { -lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; uint8_t x_1442; +lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; +x_1433 = l_Lean_Syntax_getArg(x_1201, x_1194); +lean_dec(x_1201); +x_1434 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(x_1198, x_5, x_6); +x_1435 = lean_ctor_get(x_1434, 0); +lean_inc(x_1435); +if (lean_obj_tag(x_1435) == 0) +{ +lean_object* x_1436; uint8_t x_1437; lean_object* x_1438; lean_object* x_1439; lean_object* x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; lean_object* x_1444; lean_object* x_1445; +lean_dec(x_1433); +x_1436 = lean_ctor_get(x_1434, 1); +lean_inc(x_1436); +lean_dec(x_1434); +x_1437 = 0; +lean_inc(x_5); +lean_inc(x_14); +x_1438 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_1437, x_5, x_1436); x_1439 = lean_ctor_get(x_1438, 0); lean_inc(x_1439); -x_1440 = lean_ctor_get(x_1439, 1); +x_1440 = lean_ctor_get(x_1438, 1); lean_inc(x_1440); -x_1441 = lean_ctor_get(x_1438, 1); -lean_inc(x_1441); lean_dec(x_1438); -x_1442 = !lean_is_exclusive(x_1439); -if (x_1442 == 0) +x_1441 = lean_nat_add(x_3, x_1194); +lean_dec(x_3); +lean_inc(x_14); +x_1442 = l_Lean_mkHole(x_14, x_1437); +lean_inc(x_1439); +x_1443 = l_Lean_Elab_Term_mkExplicitBinder(x_1439, x_1442); +x_1444 = lean_array_push(x_4, x_1443); +lean_inc(x_5); +x_1445 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1441, x_1444, x_5, x_1440); +if (lean_obj_tag(x_1445) == 0) { -lean_object* x_1443; uint8_t x_1444; -x_1443 = lean_ctor_get(x_1439, 1); -lean_dec(x_1443); -x_1444 = !lean_is_exclusive(x_1440); -if (x_1444 == 0) +lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; uint8_t x_1449; +x_1446 = lean_ctor_get(x_1445, 0); +lean_inc(x_1446); +x_1447 = lean_ctor_get(x_1446, 1); +lean_inc(x_1447); +x_1448 = lean_ctor_get(x_1445, 1); +lean_inc(x_1448); +lean_dec(x_1445); +x_1449 = !lean_is_exclusive(x_1446); +if (x_1449 == 0) { -lean_object* x_1445; lean_object* x_1446; lean_object* x_1447; uint8_t x_1448; -x_1445 = lean_ctor_get(x_1440, 0); -x_1446 = lean_ctor_get(x_1440, 1); -lean_dec(x_1446); -x_1447 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1441); -x_1448 = !lean_is_exclusive(x_1447); -if (x_1448 == 0) +lean_object* x_1450; uint8_t x_1451; +x_1450 = lean_ctor_get(x_1446, 1); +lean_dec(x_1450); +x_1451 = !lean_is_exclusive(x_1447); +if (x_1451 == 0) { -lean_object* x_1449; lean_object* x_1450; lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; uint8_t x_1494; lean_object* x_1495; -x_1449 = lean_ctor_get(x_1447, 0); -x_1450 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1449); -x_1451 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1451, 0, x_1449); -lean_ctor_set(x_1451, 1, x_1450); -x_1452 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1453 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1449); -x_1454 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1454, 0, x_1449); -lean_ctor_set(x_1454, 1, x_1452); -lean_ctor_set(x_1454, 2, x_1453); -x_1455 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1454); -x_1456 = lean_array_push(x_1455, x_1454); -x_1457 = lean_array_push(x_1456, x_1432); -x_1458 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1449); -x_1459 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1459, 0, x_1449); -lean_ctor_set(x_1459, 1, x_1458); -lean_ctor_set(x_1459, 2, x_1457); -x_1460 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1461 = lean_array_push(x_1460, x_1459); -lean_inc(x_1449); -x_1462 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1462, 0, x_1449); -lean_ctor_set(x_1462, 1, x_1452); -lean_ctor_set(x_1462, 2, x_1461); -x_1463 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1449); -x_1464 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1464, 0, x_1449); -lean_ctor_set(x_1464, 1, x_1463); -x_1465 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1449); -x_1466 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1466, 0, x_1449); +lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; uint8_t x_1455; +x_1452 = lean_ctor_get(x_1447, 0); +x_1453 = lean_ctor_get(x_1447, 1); +lean_dec(x_1453); +x_1454 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1448); +x_1455 = !lean_is_exclusive(x_1454); +if (x_1455 == 0) +{ +lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; lean_object* x_1477; lean_object* x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; lean_object* x_1483; lean_object* x_1484; lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; uint8_t x_1501; lean_object* x_1502; +x_1456 = lean_ctor_get(x_1454, 0); +x_1457 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1456); +x_1458 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1458, 0, x_1456); +lean_ctor_set(x_1458, 1, x_1457); +x_1459 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1460 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1456); +x_1461 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1461, 0, x_1456); +lean_ctor_set(x_1461, 1, x_1459); +lean_ctor_set(x_1461, 2, x_1460); +x_1462 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1461); +x_1463 = lean_array_push(x_1462, x_1461); +x_1464 = lean_array_push(x_1463, x_1439); +x_1465 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1456); +x_1466 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1466, 0, x_1456); lean_ctor_set(x_1466, 1, x_1465); -x_1467 = lean_array_push(x_1460, x_14); -lean_inc(x_1449); -x_1468 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1468, 0, x_1449); -lean_ctor_set(x_1468, 1, x_1452); -lean_ctor_set(x_1468, 2, x_1467); -x_1469 = lean_array_push(x_1460, x_1468); -lean_inc(x_1449); -x_1470 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1470, 0, x_1449); -lean_ctor_set(x_1470, 1, x_1452); -lean_ctor_set(x_1470, 2, x_1469); -x_1471 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1449); -x_1472 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1472, 0, x_1449); -lean_ctor_set(x_1472, 1, x_1471); -x_1473 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1474 = lean_array_push(x_1473, x_1466); -x_1475 = lean_array_push(x_1474, x_1470); -x_1476 = lean_array_push(x_1475, x_1472); -x_1477 = lean_array_push(x_1476, x_1445); -x_1478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1449); -x_1479 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1479, 0, x_1449); +lean_ctor_set(x_1466, 2, x_1464); +x_1467 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1468 = lean_array_push(x_1467, x_1466); +lean_inc(x_1456); +x_1469 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1469, 0, x_1456); +lean_ctor_set(x_1469, 1, x_1459); +lean_ctor_set(x_1469, 2, x_1468); +x_1470 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1456); +x_1471 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1471, 0, x_1456); +lean_ctor_set(x_1471, 1, x_1470); +x_1472 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1456); +x_1473 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1473, 0, x_1456); +lean_ctor_set(x_1473, 1, x_1472); +x_1474 = lean_array_push(x_1467, x_14); +lean_inc(x_1456); +x_1475 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1475, 0, x_1456); +lean_ctor_set(x_1475, 1, x_1459); +lean_ctor_set(x_1475, 2, x_1474); +x_1476 = lean_array_push(x_1467, x_1475); +lean_inc(x_1456); +x_1477 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1477, 0, x_1456); +lean_ctor_set(x_1477, 1, x_1459); +lean_ctor_set(x_1477, 2, x_1476); +x_1478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1456); +x_1479 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1479, 0, x_1456); lean_ctor_set(x_1479, 1, x_1478); -lean_ctor_set(x_1479, 2, x_1477); -x_1480 = lean_array_push(x_1460, x_1479); -lean_inc(x_1449); -x_1481 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1481, 0, x_1449); -lean_ctor_set(x_1481, 1, x_1452); -lean_ctor_set(x_1481, 2, x_1480); -x_1482 = lean_array_push(x_1460, x_1481); -x_1483 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1449); -x_1484 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1484, 0, x_1449); -lean_ctor_set(x_1484, 1, x_1483); -lean_ctor_set(x_1484, 2, x_1482); -x_1485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1486 = lean_array_push(x_1485, x_1451); -lean_inc(x_1454); -x_1487 = lean_array_push(x_1486, x_1454); -x_1488 = lean_array_push(x_1487, x_1454); -x_1489 = lean_array_push(x_1488, x_1462); -x_1490 = lean_array_push(x_1489, x_1464); -x_1491 = lean_array_push(x_1490, x_1484); -x_1492 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1493 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1493, 0, x_1449); -lean_ctor_set(x_1493, 1, x_1492); -lean_ctor_set(x_1493, 2, x_1491); -x_1494 = 1; -x_1495 = lean_box(x_1494); -lean_ctor_set(x_1440, 1, x_1495); -lean_ctor_set(x_1440, 0, x_1493); -lean_ctor_set(x_1447, 0, x_1439); -return x_1447; +x_1480 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1481 = lean_array_push(x_1480, x_1473); +x_1482 = lean_array_push(x_1481, x_1477); +x_1483 = lean_array_push(x_1482, x_1479); +x_1484 = lean_array_push(x_1483, x_1452); +x_1485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1456); +x_1486 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1486, 0, x_1456); +lean_ctor_set(x_1486, 1, x_1485); +lean_ctor_set(x_1486, 2, x_1484); +x_1487 = lean_array_push(x_1467, x_1486); +lean_inc(x_1456); +x_1488 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1488, 0, x_1456); +lean_ctor_set(x_1488, 1, x_1459); +lean_ctor_set(x_1488, 2, x_1487); +x_1489 = lean_array_push(x_1467, x_1488); +x_1490 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1456); +x_1491 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1491, 0, x_1456); +lean_ctor_set(x_1491, 1, x_1490); +lean_ctor_set(x_1491, 2, x_1489); +x_1492 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1493 = lean_array_push(x_1492, x_1458); +lean_inc(x_1461); +x_1494 = lean_array_push(x_1493, x_1461); +x_1495 = lean_array_push(x_1494, x_1461); +x_1496 = lean_array_push(x_1495, x_1469); +x_1497 = lean_array_push(x_1496, x_1471); +x_1498 = lean_array_push(x_1497, x_1491); +x_1499 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1500 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1500, 0, x_1456); +lean_ctor_set(x_1500, 1, x_1499); +lean_ctor_set(x_1500, 2, x_1498); +x_1501 = 1; +x_1502 = lean_box(x_1501); +lean_ctor_set(x_1447, 1, x_1502); +lean_ctor_set(x_1447, 0, x_1500); +lean_ctor_set(x_1454, 0, x_1446); +return x_1454; } else { -lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; uint8_t x_1542; lean_object* x_1543; lean_object* x_1544; -x_1496 = lean_ctor_get(x_1447, 0); -x_1497 = lean_ctor_get(x_1447, 1); -lean_inc(x_1497); -lean_inc(x_1496); -lean_dec(x_1447); -x_1498 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1496); -x_1499 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1499, 0, x_1496); -lean_ctor_set(x_1499, 1, x_1498); -x_1500 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1501 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1496); -x_1502 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1502, 0, x_1496); -lean_ctor_set(x_1502, 1, x_1500); -lean_ctor_set(x_1502, 2, x_1501); -x_1503 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1502); -x_1504 = lean_array_push(x_1503, x_1502); -x_1505 = lean_array_push(x_1504, x_1432); -x_1506 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1496); -x_1507 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1507, 0, x_1496); -lean_ctor_set(x_1507, 1, x_1506); -lean_ctor_set(x_1507, 2, x_1505); -x_1508 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1509 = lean_array_push(x_1508, x_1507); -lean_inc(x_1496); -x_1510 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1510, 0, x_1496); -lean_ctor_set(x_1510, 1, x_1500); -lean_ctor_set(x_1510, 2, x_1509); -x_1511 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1496); -x_1512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1512, 0, x_1496); -lean_ctor_set(x_1512, 1, x_1511); -x_1513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1496); -x_1514 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1514, 0, x_1496); +lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; lean_object* x_1511; lean_object* x_1512; lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; lean_object* x_1517; lean_object* x_1518; lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; lean_object* x_1522; lean_object* x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; uint8_t x_1549; lean_object* x_1550; lean_object* x_1551; +x_1503 = lean_ctor_get(x_1454, 0); +x_1504 = lean_ctor_get(x_1454, 1); +lean_inc(x_1504); +lean_inc(x_1503); +lean_dec(x_1454); +x_1505 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1503); +x_1506 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1506, 0, x_1503); +lean_ctor_set(x_1506, 1, x_1505); +x_1507 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1508 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1503); +x_1509 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1509, 0, x_1503); +lean_ctor_set(x_1509, 1, x_1507); +lean_ctor_set(x_1509, 2, x_1508); +x_1510 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1509); +x_1511 = lean_array_push(x_1510, x_1509); +x_1512 = lean_array_push(x_1511, x_1439); +x_1513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1503); +x_1514 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1514, 0, x_1503); lean_ctor_set(x_1514, 1, x_1513); -x_1515 = lean_array_push(x_1508, x_14); -lean_inc(x_1496); -x_1516 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1516, 0, x_1496); -lean_ctor_set(x_1516, 1, x_1500); -lean_ctor_set(x_1516, 2, x_1515); -x_1517 = lean_array_push(x_1508, x_1516); -lean_inc(x_1496); -x_1518 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1518, 0, x_1496); -lean_ctor_set(x_1518, 1, x_1500); -lean_ctor_set(x_1518, 2, x_1517); -x_1519 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1496); -x_1520 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1520, 0, x_1496); -lean_ctor_set(x_1520, 1, x_1519); -x_1521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1522 = lean_array_push(x_1521, x_1514); -x_1523 = lean_array_push(x_1522, x_1518); -x_1524 = lean_array_push(x_1523, x_1520); -x_1525 = lean_array_push(x_1524, x_1445); -x_1526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1496); -x_1527 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1527, 0, x_1496); +lean_ctor_set(x_1514, 2, x_1512); +x_1515 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1516 = lean_array_push(x_1515, x_1514); +lean_inc(x_1503); +x_1517 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1517, 0, x_1503); +lean_ctor_set(x_1517, 1, x_1507); +lean_ctor_set(x_1517, 2, x_1516); +x_1518 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1503); +x_1519 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1519, 0, x_1503); +lean_ctor_set(x_1519, 1, x_1518); +x_1520 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1503); +x_1521 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1521, 0, x_1503); +lean_ctor_set(x_1521, 1, x_1520); +x_1522 = lean_array_push(x_1515, x_14); +lean_inc(x_1503); +x_1523 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1523, 0, x_1503); +lean_ctor_set(x_1523, 1, x_1507); +lean_ctor_set(x_1523, 2, x_1522); +x_1524 = lean_array_push(x_1515, x_1523); +lean_inc(x_1503); +x_1525 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1525, 0, x_1503); +lean_ctor_set(x_1525, 1, x_1507); +lean_ctor_set(x_1525, 2, x_1524); +x_1526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1503); +x_1527 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1527, 0, x_1503); lean_ctor_set(x_1527, 1, x_1526); -lean_ctor_set(x_1527, 2, x_1525); -x_1528 = lean_array_push(x_1508, x_1527); -lean_inc(x_1496); -x_1529 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1529, 0, x_1496); -lean_ctor_set(x_1529, 1, x_1500); -lean_ctor_set(x_1529, 2, x_1528); -x_1530 = lean_array_push(x_1508, x_1529); -x_1531 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1496); -x_1532 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1532, 0, x_1496); -lean_ctor_set(x_1532, 1, x_1531); -lean_ctor_set(x_1532, 2, x_1530); -x_1533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1534 = lean_array_push(x_1533, x_1499); -lean_inc(x_1502); -x_1535 = lean_array_push(x_1534, x_1502); -x_1536 = lean_array_push(x_1535, x_1502); -x_1537 = lean_array_push(x_1536, x_1510); -x_1538 = lean_array_push(x_1537, x_1512); -x_1539 = lean_array_push(x_1538, x_1532); -x_1540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1541 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1541, 0, x_1496); -lean_ctor_set(x_1541, 1, x_1540); -lean_ctor_set(x_1541, 2, x_1539); -x_1542 = 1; -x_1543 = lean_box(x_1542); -lean_ctor_set(x_1440, 1, x_1543); -lean_ctor_set(x_1440, 0, x_1541); -x_1544 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1544, 0, x_1439); -lean_ctor_set(x_1544, 1, x_1497); -return x_1544; +x_1528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1529 = lean_array_push(x_1528, x_1521); +x_1530 = lean_array_push(x_1529, x_1525); +x_1531 = lean_array_push(x_1530, x_1527); +x_1532 = lean_array_push(x_1531, x_1452); +x_1533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1503); +x_1534 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1534, 0, x_1503); +lean_ctor_set(x_1534, 1, x_1533); +lean_ctor_set(x_1534, 2, x_1532); +x_1535 = lean_array_push(x_1515, x_1534); +lean_inc(x_1503); +x_1536 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1536, 0, x_1503); +lean_ctor_set(x_1536, 1, x_1507); +lean_ctor_set(x_1536, 2, x_1535); +x_1537 = lean_array_push(x_1515, x_1536); +x_1538 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1503); +x_1539 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1539, 0, x_1503); +lean_ctor_set(x_1539, 1, x_1538); +lean_ctor_set(x_1539, 2, x_1537); +x_1540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1541 = lean_array_push(x_1540, x_1506); +lean_inc(x_1509); +x_1542 = lean_array_push(x_1541, x_1509); +x_1543 = lean_array_push(x_1542, x_1509); +x_1544 = lean_array_push(x_1543, x_1517); +x_1545 = lean_array_push(x_1544, x_1519); +x_1546 = lean_array_push(x_1545, x_1539); +x_1547 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1548 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1548, 0, x_1503); +lean_ctor_set(x_1548, 1, x_1547); +lean_ctor_set(x_1548, 2, x_1546); +x_1549 = 1; +x_1550 = lean_box(x_1549); +lean_ctor_set(x_1447, 1, x_1550); +lean_ctor_set(x_1447, 0, x_1548); +x_1551 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1551, 0, x_1446); +lean_ctor_set(x_1551, 1, x_1504); +return x_1551; } } else { -lean_object* x_1545; lean_object* x_1546; lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1550; lean_object* x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; uint8_t x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; -x_1545 = lean_ctor_get(x_1440, 0); -lean_inc(x_1545); -lean_dec(x_1440); -x_1546 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1441); -x_1547 = lean_ctor_get(x_1546, 0); -lean_inc(x_1547); -x_1548 = lean_ctor_get(x_1546, 1); -lean_inc(x_1548); -if (lean_is_exclusive(x_1546)) { - lean_ctor_release(x_1546, 0); - lean_ctor_release(x_1546, 1); - x_1549 = x_1546; -} else { - lean_dec_ref(x_1546); - x_1549 = lean_box(0); -} -x_1550 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1547); -x_1551 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1551, 0, x_1547); -lean_ctor_set(x_1551, 1, x_1550); -x_1552 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1553 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1547); -x_1554 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1554, 0, x_1547); -lean_ctor_set(x_1554, 1, x_1552); -lean_ctor_set(x_1554, 2, x_1553); -x_1555 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; lean_object* x_1565; lean_object* x_1566; lean_object* x_1567; lean_object* x_1568; lean_object* x_1569; lean_object* x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; uint8_t x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; +x_1552 = lean_ctor_get(x_1447, 0); +lean_inc(x_1552); +lean_dec(x_1447); +x_1553 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1448); +x_1554 = lean_ctor_get(x_1553, 0); lean_inc(x_1554); -x_1556 = lean_array_push(x_1555, x_1554); -x_1557 = lean_array_push(x_1556, x_1432); -x_1558 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1547); -x_1559 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1559, 0, x_1547); -lean_ctor_set(x_1559, 1, x_1558); -lean_ctor_set(x_1559, 2, x_1557); -x_1560 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1561 = lean_array_push(x_1560, x_1559); -lean_inc(x_1547); -x_1562 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1562, 0, x_1547); -lean_ctor_set(x_1562, 1, x_1552); -lean_ctor_set(x_1562, 2, x_1561); -x_1563 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1547); -x_1564 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1564, 0, x_1547); -lean_ctor_set(x_1564, 1, x_1563); -x_1565 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1547); -x_1566 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1566, 0, x_1547); +x_1555 = lean_ctor_get(x_1553, 1); +lean_inc(x_1555); +if (lean_is_exclusive(x_1553)) { + lean_ctor_release(x_1553, 0); + lean_ctor_release(x_1553, 1); + x_1556 = x_1553; +} else { + lean_dec_ref(x_1553); + x_1556 = lean_box(0); +} +x_1557 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1554); +x_1558 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1558, 0, x_1554); +lean_ctor_set(x_1558, 1, x_1557); +x_1559 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1560 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1554); +x_1561 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1561, 0, x_1554); +lean_ctor_set(x_1561, 1, x_1559); +lean_ctor_set(x_1561, 2, x_1560); +x_1562 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1561); +x_1563 = lean_array_push(x_1562, x_1561); +x_1564 = lean_array_push(x_1563, x_1439); +x_1565 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1554); +x_1566 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1566, 0, x_1554); lean_ctor_set(x_1566, 1, x_1565); -x_1567 = lean_array_push(x_1560, x_14); -lean_inc(x_1547); -x_1568 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1568, 0, x_1547); -lean_ctor_set(x_1568, 1, x_1552); -lean_ctor_set(x_1568, 2, x_1567); -x_1569 = lean_array_push(x_1560, x_1568); -lean_inc(x_1547); -x_1570 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1570, 0, x_1547); -lean_ctor_set(x_1570, 1, x_1552); -lean_ctor_set(x_1570, 2, x_1569); -x_1571 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1547); -x_1572 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1572, 0, x_1547); -lean_ctor_set(x_1572, 1, x_1571); -x_1573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1574 = lean_array_push(x_1573, x_1566); -x_1575 = lean_array_push(x_1574, x_1570); -x_1576 = lean_array_push(x_1575, x_1572); -x_1577 = lean_array_push(x_1576, x_1545); -x_1578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1547); -x_1579 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1579, 0, x_1547); -lean_ctor_set(x_1579, 1, x_1578); -lean_ctor_set(x_1579, 2, x_1577); -x_1580 = lean_array_push(x_1560, x_1579); -lean_inc(x_1547); -x_1581 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1581, 0, x_1547); -lean_ctor_set(x_1581, 1, x_1552); -lean_ctor_set(x_1581, 2, x_1580); -x_1582 = lean_array_push(x_1560, x_1581); -x_1583 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1547); -x_1584 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1584, 0, x_1547); -lean_ctor_set(x_1584, 1, x_1583); -lean_ctor_set(x_1584, 2, x_1582); -x_1585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1586 = lean_array_push(x_1585, x_1551); +lean_ctor_set(x_1566, 2, x_1564); +x_1567 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1568 = lean_array_push(x_1567, x_1566); lean_inc(x_1554); -x_1587 = lean_array_push(x_1586, x_1554); -x_1588 = lean_array_push(x_1587, x_1554); -x_1589 = lean_array_push(x_1588, x_1562); -x_1590 = lean_array_push(x_1589, x_1564); -x_1591 = lean_array_push(x_1590, x_1584); -x_1592 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1593 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1593, 0, x_1547); -lean_ctor_set(x_1593, 1, x_1592); -lean_ctor_set(x_1593, 2, x_1591); -x_1594 = 1; -x_1595 = lean_box(x_1594); -x_1596 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1596, 0, x_1593); -lean_ctor_set(x_1596, 1, x_1595); -lean_ctor_set(x_1439, 1, x_1596); -if (lean_is_scalar(x_1549)) { - x_1597 = lean_alloc_ctor(0, 2, 0); +x_1569 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1569, 0, x_1554); +lean_ctor_set(x_1569, 1, x_1559); +lean_ctor_set(x_1569, 2, x_1568); +x_1570 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1554); +x_1571 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1571, 0, x_1554); +lean_ctor_set(x_1571, 1, x_1570); +x_1572 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1554); +x_1573 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1573, 0, x_1554); +lean_ctor_set(x_1573, 1, x_1572); +x_1574 = lean_array_push(x_1567, x_14); +lean_inc(x_1554); +x_1575 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1575, 0, x_1554); +lean_ctor_set(x_1575, 1, x_1559); +lean_ctor_set(x_1575, 2, x_1574); +x_1576 = lean_array_push(x_1567, x_1575); +lean_inc(x_1554); +x_1577 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1577, 0, x_1554); +lean_ctor_set(x_1577, 1, x_1559); +lean_ctor_set(x_1577, 2, x_1576); +x_1578 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1554); +x_1579 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1579, 0, x_1554); +lean_ctor_set(x_1579, 1, x_1578); +x_1580 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1581 = lean_array_push(x_1580, x_1573); +x_1582 = lean_array_push(x_1581, x_1577); +x_1583 = lean_array_push(x_1582, x_1579); +x_1584 = lean_array_push(x_1583, x_1552); +x_1585 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1554); +x_1586 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1586, 0, x_1554); +lean_ctor_set(x_1586, 1, x_1585); +lean_ctor_set(x_1586, 2, x_1584); +x_1587 = lean_array_push(x_1567, x_1586); +lean_inc(x_1554); +x_1588 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1588, 0, x_1554); +lean_ctor_set(x_1588, 1, x_1559); +lean_ctor_set(x_1588, 2, x_1587); +x_1589 = lean_array_push(x_1567, x_1588); +x_1590 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1554); +x_1591 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1591, 0, x_1554); +lean_ctor_set(x_1591, 1, x_1590); +lean_ctor_set(x_1591, 2, x_1589); +x_1592 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1593 = lean_array_push(x_1592, x_1558); +lean_inc(x_1561); +x_1594 = lean_array_push(x_1593, x_1561); +x_1595 = lean_array_push(x_1594, x_1561); +x_1596 = lean_array_push(x_1595, x_1569); +x_1597 = lean_array_push(x_1596, x_1571); +x_1598 = lean_array_push(x_1597, x_1591); +x_1599 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1600 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1600, 0, x_1554); +lean_ctor_set(x_1600, 1, x_1599); +lean_ctor_set(x_1600, 2, x_1598); +x_1601 = 1; +x_1602 = lean_box(x_1601); +x_1603 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1603, 0, x_1600); +lean_ctor_set(x_1603, 1, x_1602); +lean_ctor_set(x_1446, 1, x_1603); +if (lean_is_scalar(x_1556)) { + x_1604 = lean_alloc_ctor(0, 2, 0); } else { - x_1597 = x_1549; + x_1604 = x_1556; } -lean_ctor_set(x_1597, 0, x_1439); -lean_ctor_set(x_1597, 1, x_1548); -return x_1597; +lean_ctor_set(x_1604, 0, x_1446); +lean_ctor_set(x_1604, 1, x_1555); +return x_1604; } } else { -lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; uint8_t x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; -x_1598 = lean_ctor_get(x_1439, 0); -lean_inc(x_1598); -lean_dec(x_1439); -x_1599 = lean_ctor_get(x_1440, 0); -lean_inc(x_1599); -if (lean_is_exclusive(x_1440)) { - lean_ctor_release(x_1440, 0); - lean_ctor_release(x_1440, 1); - x_1600 = x_1440; +lean_object* x_1605; lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; lean_object* x_1625; lean_object* x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; lean_object* x_1630; lean_object* x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; uint8_t x_1656; lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; +x_1605 = lean_ctor_get(x_1446, 0); +lean_inc(x_1605); +lean_dec(x_1446); +x_1606 = lean_ctor_get(x_1447, 0); +lean_inc(x_1606); +if (lean_is_exclusive(x_1447)) { + lean_ctor_release(x_1447, 0); + lean_ctor_release(x_1447, 1); + x_1607 = x_1447; } else { - lean_dec_ref(x_1440); - x_1600 = lean_box(0); + lean_dec_ref(x_1447); + x_1607 = lean_box(0); } -x_1601 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1441); -x_1602 = lean_ctor_get(x_1601, 0); -lean_inc(x_1602); -x_1603 = lean_ctor_get(x_1601, 1); -lean_inc(x_1603); -if (lean_is_exclusive(x_1601)) { - lean_ctor_release(x_1601, 0); - lean_ctor_release(x_1601, 1); - x_1604 = x_1601; -} else { - lean_dec_ref(x_1601); - x_1604 = lean_box(0); -} -x_1605 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1602); -x_1606 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1606, 0, x_1602); -lean_ctor_set(x_1606, 1, x_1605); -x_1607 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1608 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1602); -x_1609 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1609, 0, x_1602); -lean_ctor_set(x_1609, 1, x_1607); -lean_ctor_set(x_1609, 2, x_1608); -x_1610 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +x_1608 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1448); +x_1609 = lean_ctor_get(x_1608, 0); lean_inc(x_1609); -x_1611 = lean_array_push(x_1610, x_1609); -x_1612 = lean_array_push(x_1611, x_1432); -x_1613 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1602); -x_1614 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1614, 0, x_1602); -lean_ctor_set(x_1614, 1, x_1613); -lean_ctor_set(x_1614, 2, x_1612); -x_1615 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1616 = lean_array_push(x_1615, x_1614); -lean_inc(x_1602); -x_1617 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1617, 0, x_1602); -lean_ctor_set(x_1617, 1, x_1607); -lean_ctor_set(x_1617, 2, x_1616); -x_1618 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1602); -x_1619 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1619, 0, x_1602); -lean_ctor_set(x_1619, 1, x_1618); -x_1620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1602); -x_1621 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1621, 0, x_1602); +x_1610 = lean_ctor_get(x_1608, 1); +lean_inc(x_1610); +if (lean_is_exclusive(x_1608)) { + lean_ctor_release(x_1608, 0); + lean_ctor_release(x_1608, 1); + x_1611 = x_1608; +} else { + lean_dec_ref(x_1608); + x_1611 = lean_box(0); +} +x_1612 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1609); +x_1613 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1613, 0, x_1609); +lean_ctor_set(x_1613, 1, x_1612); +x_1614 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1615 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1609); +x_1616 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1616, 0, x_1609); +lean_ctor_set(x_1616, 1, x_1614); +lean_ctor_set(x_1616, 2, x_1615); +x_1617 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1616); +x_1618 = lean_array_push(x_1617, x_1616); +x_1619 = lean_array_push(x_1618, x_1439); +x_1620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1609); +x_1621 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1621, 0, x_1609); lean_ctor_set(x_1621, 1, x_1620); -x_1622 = lean_array_push(x_1615, x_14); -lean_inc(x_1602); -x_1623 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1623, 0, x_1602); -lean_ctor_set(x_1623, 1, x_1607); -lean_ctor_set(x_1623, 2, x_1622); -x_1624 = lean_array_push(x_1615, x_1623); -lean_inc(x_1602); -x_1625 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1625, 0, x_1602); -lean_ctor_set(x_1625, 1, x_1607); -lean_ctor_set(x_1625, 2, x_1624); -x_1626 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1602); -x_1627 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1627, 0, x_1602); -lean_ctor_set(x_1627, 1, x_1626); -x_1628 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1629 = lean_array_push(x_1628, x_1621); -x_1630 = lean_array_push(x_1629, x_1625); -x_1631 = lean_array_push(x_1630, x_1627); -x_1632 = lean_array_push(x_1631, x_1599); -x_1633 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1602); -x_1634 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1634, 0, x_1602); -lean_ctor_set(x_1634, 1, x_1633); -lean_ctor_set(x_1634, 2, x_1632); -x_1635 = lean_array_push(x_1615, x_1634); -lean_inc(x_1602); -x_1636 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1636, 0, x_1602); -lean_ctor_set(x_1636, 1, x_1607); -lean_ctor_set(x_1636, 2, x_1635); -x_1637 = lean_array_push(x_1615, x_1636); -x_1638 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1602); -x_1639 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1639, 0, x_1602); -lean_ctor_set(x_1639, 1, x_1638); -lean_ctor_set(x_1639, 2, x_1637); -x_1640 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1641 = lean_array_push(x_1640, x_1606); +lean_ctor_set(x_1621, 2, x_1619); +x_1622 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1623 = lean_array_push(x_1622, x_1621); lean_inc(x_1609); -x_1642 = lean_array_push(x_1641, x_1609); -x_1643 = lean_array_push(x_1642, x_1609); -x_1644 = lean_array_push(x_1643, x_1617); -x_1645 = lean_array_push(x_1644, x_1619); -x_1646 = lean_array_push(x_1645, x_1639); -x_1647 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1648 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1648, 0, x_1602); -lean_ctor_set(x_1648, 1, x_1647); -lean_ctor_set(x_1648, 2, x_1646); -x_1649 = 1; -x_1650 = lean_box(x_1649); -if (lean_is_scalar(x_1600)) { - x_1651 = lean_alloc_ctor(0, 2, 0); +x_1624 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1624, 0, x_1609); +lean_ctor_set(x_1624, 1, x_1614); +lean_ctor_set(x_1624, 2, x_1623); +x_1625 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1609); +x_1626 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1626, 0, x_1609); +lean_ctor_set(x_1626, 1, x_1625); +x_1627 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1609); +x_1628 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1628, 0, x_1609); +lean_ctor_set(x_1628, 1, x_1627); +x_1629 = lean_array_push(x_1622, x_14); +lean_inc(x_1609); +x_1630 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1630, 0, x_1609); +lean_ctor_set(x_1630, 1, x_1614); +lean_ctor_set(x_1630, 2, x_1629); +x_1631 = lean_array_push(x_1622, x_1630); +lean_inc(x_1609); +x_1632 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1632, 0, x_1609); +lean_ctor_set(x_1632, 1, x_1614); +lean_ctor_set(x_1632, 2, x_1631); +x_1633 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1609); +x_1634 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1634, 0, x_1609); +lean_ctor_set(x_1634, 1, x_1633); +x_1635 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1636 = lean_array_push(x_1635, x_1628); +x_1637 = lean_array_push(x_1636, x_1632); +x_1638 = lean_array_push(x_1637, x_1634); +x_1639 = lean_array_push(x_1638, x_1606); +x_1640 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1609); +x_1641 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1641, 0, x_1609); +lean_ctor_set(x_1641, 1, x_1640); +lean_ctor_set(x_1641, 2, x_1639); +x_1642 = lean_array_push(x_1622, x_1641); +lean_inc(x_1609); +x_1643 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1643, 0, x_1609); +lean_ctor_set(x_1643, 1, x_1614); +lean_ctor_set(x_1643, 2, x_1642); +x_1644 = lean_array_push(x_1622, x_1643); +x_1645 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1609); +x_1646 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1646, 0, x_1609); +lean_ctor_set(x_1646, 1, x_1645); +lean_ctor_set(x_1646, 2, x_1644); +x_1647 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1648 = lean_array_push(x_1647, x_1613); +lean_inc(x_1616); +x_1649 = lean_array_push(x_1648, x_1616); +x_1650 = lean_array_push(x_1649, x_1616); +x_1651 = lean_array_push(x_1650, x_1624); +x_1652 = lean_array_push(x_1651, x_1626); +x_1653 = lean_array_push(x_1652, x_1646); +x_1654 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1655 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1655, 0, x_1609); +lean_ctor_set(x_1655, 1, x_1654); +lean_ctor_set(x_1655, 2, x_1653); +x_1656 = 1; +x_1657 = lean_box(x_1656); +if (lean_is_scalar(x_1607)) { + x_1658 = lean_alloc_ctor(0, 2, 0); } else { - x_1651 = x_1600; + x_1658 = x_1607; } -lean_ctor_set(x_1651, 0, x_1648); -lean_ctor_set(x_1651, 1, x_1650); -x_1652 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1652, 0, x_1598); -lean_ctor_set(x_1652, 1, x_1651); -if (lean_is_scalar(x_1604)) { - x_1653 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1658, 0, x_1655); +lean_ctor_set(x_1658, 1, x_1657); +x_1659 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1659, 0, x_1605); +lean_ctor_set(x_1659, 1, x_1658); +if (lean_is_scalar(x_1611)) { + x_1660 = lean_alloc_ctor(0, 2, 0); } else { - x_1653 = x_1604; + x_1660 = x_1611; } -lean_ctor_set(x_1653, 0, x_1652); -lean_ctor_set(x_1653, 1, x_1603); -return x_1653; +lean_ctor_set(x_1660, 0, x_1659); +lean_ctor_set(x_1660, 1, x_1610); +return x_1660; } } else { -uint8_t x_1654; -lean_dec(x_1432); +uint8_t x_1661; +lean_dec(x_1439); lean_dec(x_14); lean_dec(x_5); -x_1654 = !lean_is_exclusive(x_1438); -if (x_1654 == 0) +x_1661 = !lean_is_exclusive(x_1445); +if (x_1661 == 0) { -return x_1438; +return x_1445; } else { -lean_object* x_1655; lean_object* x_1656; lean_object* x_1657; -x_1655 = lean_ctor_get(x_1438, 0); -x_1656 = lean_ctor_get(x_1438, 1); -lean_inc(x_1656); -lean_inc(x_1655); -lean_dec(x_1438); -x_1657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1657, 0, x_1655); -lean_ctor_set(x_1657, 1, x_1656); -return x_1657; +lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; +x_1662 = lean_ctor_get(x_1445, 0); +x_1663 = lean_ctor_get(x_1445, 1); +lean_inc(x_1663); +lean_inc(x_1662); +lean_dec(x_1445); +x_1664 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1664, 0, x_1662); +lean_ctor_set(x_1664, 1, x_1663); +return x_1664; } } } else { -lean_object* x_1658; lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; size_t x_1662; size_t x_1663; lean_object* x_1664; lean_object* x_1665; +lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; size_t x_1669; size_t x_1670; lean_object* x_1671; lean_object* x_1672; lean_dec(x_14); -x_1658 = lean_ctor_get(x_1428, 1); -lean_inc(x_1658); -lean_dec(x_1428); -x_1659 = lean_ctor_get(x_1429, 0); -lean_inc(x_1659); -lean_dec(x_1429); -x_1660 = lean_nat_add(x_3, x_1189); +x_1665 = lean_ctor_get(x_1434, 1); +lean_inc(x_1665); +lean_dec(x_1434); +x_1666 = lean_ctor_get(x_1435, 0); +lean_inc(x_1666); +lean_dec(x_1435); +x_1667 = lean_nat_add(x_3, x_1194); lean_dec(x_3); -x_1661 = lean_array_get_size(x_1659); -x_1662 = lean_usize_of_nat(x_1661); -lean_dec(x_1661); -x_1663 = 0; -x_1664 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3(x_1427, x_1662, x_1663, x_1659); -x_1665 = l_Array_append___rarg(x_4, x_1664); -x_3 = x_1660; -x_4 = x_1665; -x_6 = x_1658; -goto _start; -} -} -} -else -{ -lean_object* x_1667; lean_object* x_1668; -lean_dec(x_1194); -x_1667 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(x_1193, x_5, x_6); -x_1668 = lean_ctor_get(x_1667, 0); -lean_inc(x_1668); -if (lean_obj_tag(x_1668) == 0) -{ -lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; lean_object* x_1672; lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; lean_object* x_1677; -x_1669 = lean_ctor_get(x_1667, 1); -lean_inc(x_1669); -lean_dec(x_1667); -lean_inc(x_5); -lean_inc(x_14); -x_1670 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_1669); -x_1671 = lean_ctor_get(x_1670, 0); -lean_inc(x_1671); -x_1672 = lean_ctor_get(x_1670, 1); -lean_inc(x_1672); -lean_dec(x_1670); -x_1673 = lean_nat_add(x_3, x_1189); -lean_dec(x_3); -lean_inc(x_14); -x_1674 = l_Lean_mkHole(x_14); -lean_inc(x_1671); -x_1675 = l_Lean_Elab_Term_mkExplicitBinder(x_1671, x_1674); -x_1676 = lean_array_push(x_4, x_1675); -lean_inc(x_5); -x_1677 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1673, x_1676, x_5, x_1672); -if (lean_obj_tag(x_1677) == 0) -{ -lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; uint8_t x_1681; -x_1678 = lean_ctor_get(x_1677, 0); -lean_inc(x_1678); -x_1679 = lean_ctor_get(x_1678, 1); -lean_inc(x_1679); -x_1680 = lean_ctor_get(x_1677, 1); -lean_inc(x_1680); -lean_dec(x_1677); -x_1681 = !lean_is_exclusive(x_1678); -if (x_1681 == 0) -{ -lean_object* x_1682; uint8_t x_1683; -x_1682 = lean_ctor_get(x_1678, 1); -lean_dec(x_1682); -x_1683 = !lean_is_exclusive(x_1679); -if (x_1683 == 0) -{ -lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; uint8_t x_1687; -x_1684 = lean_ctor_get(x_1679, 0); -x_1685 = lean_ctor_get(x_1679, 1); -lean_dec(x_1685); -x_1686 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1680); -x_1687 = !lean_is_exclusive(x_1686); -if (x_1687 == 0) -{ -lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; uint8_t x_1733; lean_object* x_1734; -x_1688 = lean_ctor_get(x_1686, 0); -x_1689 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1688); -x_1690 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1690, 0, x_1688); -lean_ctor_set(x_1690, 1, x_1689); -x_1691 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1692 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1688); -x_1693 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1693, 0, x_1688); -lean_ctor_set(x_1693, 1, x_1691); -lean_ctor_set(x_1693, 2, x_1692); -x_1694 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1693); -x_1695 = lean_array_push(x_1694, x_1693); -x_1696 = lean_array_push(x_1695, x_1671); -x_1697 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1688); -x_1698 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1698, 0, x_1688); -lean_ctor_set(x_1698, 1, x_1697); -lean_ctor_set(x_1698, 2, x_1696); -x_1699 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1700 = lean_array_push(x_1699, x_1698); -lean_inc(x_1688); -x_1701 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1701, 0, x_1688); -lean_ctor_set(x_1701, 1, x_1691); -lean_ctor_set(x_1701, 2, x_1700); -x_1702 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1688); -x_1703 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1703, 0, x_1688); -lean_ctor_set(x_1703, 1, x_1702); -x_1704 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1688); -x_1705 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1705, 0, x_1688); -lean_ctor_set(x_1705, 1, x_1704); -x_1706 = lean_array_push(x_1699, x_14); -lean_inc(x_1688); -x_1707 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1707, 0, x_1688); -lean_ctor_set(x_1707, 1, x_1691); -lean_ctor_set(x_1707, 2, x_1706); -x_1708 = lean_array_push(x_1699, x_1707); -lean_inc(x_1688); -x_1709 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1709, 0, x_1688); -lean_ctor_set(x_1709, 1, x_1691); -lean_ctor_set(x_1709, 2, x_1708); -x_1710 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1688); -x_1711 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1711, 0, x_1688); -lean_ctor_set(x_1711, 1, x_1710); -x_1712 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1713 = lean_array_push(x_1712, x_1705); -x_1714 = lean_array_push(x_1713, x_1709); -x_1715 = lean_array_push(x_1714, x_1711); -x_1716 = lean_array_push(x_1715, x_1684); -x_1717 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1688); -x_1718 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1718, 0, x_1688); -lean_ctor_set(x_1718, 1, x_1717); -lean_ctor_set(x_1718, 2, x_1716); -x_1719 = lean_array_push(x_1699, x_1718); -lean_inc(x_1688); -x_1720 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1720, 0, x_1688); -lean_ctor_set(x_1720, 1, x_1691); -lean_ctor_set(x_1720, 2, x_1719); -x_1721 = lean_array_push(x_1699, x_1720); -x_1722 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1688); -x_1723 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1723, 0, x_1688); -lean_ctor_set(x_1723, 1, x_1722); -lean_ctor_set(x_1723, 2, x_1721); -x_1724 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1725 = lean_array_push(x_1724, x_1690); -lean_inc(x_1693); -x_1726 = lean_array_push(x_1725, x_1693); -x_1727 = lean_array_push(x_1726, x_1693); -x_1728 = lean_array_push(x_1727, x_1701); -x_1729 = lean_array_push(x_1728, x_1703); -x_1730 = lean_array_push(x_1729, x_1723); -x_1731 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1732 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1732, 0, x_1688); -lean_ctor_set(x_1732, 1, x_1731); -lean_ctor_set(x_1732, 2, x_1730); -x_1733 = 1; -x_1734 = lean_box(x_1733); -lean_ctor_set(x_1679, 1, x_1734); -lean_ctor_set(x_1679, 0, x_1732); -lean_ctor_set(x_1686, 0, x_1678); -return x_1686; -} -else -{ -lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; uint8_t x_1781; lean_object* x_1782; lean_object* x_1783; -x_1735 = lean_ctor_get(x_1686, 0); -x_1736 = lean_ctor_get(x_1686, 1); -lean_inc(x_1736); -lean_inc(x_1735); -lean_dec(x_1686); -x_1737 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1735); -x_1738 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1738, 0, x_1735); -lean_ctor_set(x_1738, 1, x_1737); -x_1739 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1740 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1735); -x_1741 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1741, 0, x_1735); -lean_ctor_set(x_1741, 1, x_1739); -lean_ctor_set(x_1741, 2, x_1740); -x_1742 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1741); -x_1743 = lean_array_push(x_1742, x_1741); -x_1744 = lean_array_push(x_1743, x_1671); -x_1745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1735); -x_1746 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1746, 0, x_1735); -lean_ctor_set(x_1746, 1, x_1745); -lean_ctor_set(x_1746, 2, x_1744); -x_1747 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1748 = lean_array_push(x_1747, x_1746); -lean_inc(x_1735); -x_1749 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1749, 0, x_1735); -lean_ctor_set(x_1749, 1, x_1739); -lean_ctor_set(x_1749, 2, x_1748); -x_1750 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1735); -x_1751 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1751, 0, x_1735); -lean_ctor_set(x_1751, 1, x_1750); -x_1752 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1735); -x_1753 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1753, 0, x_1735); -lean_ctor_set(x_1753, 1, x_1752); -x_1754 = lean_array_push(x_1747, x_14); -lean_inc(x_1735); -x_1755 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1755, 0, x_1735); -lean_ctor_set(x_1755, 1, x_1739); -lean_ctor_set(x_1755, 2, x_1754); -x_1756 = lean_array_push(x_1747, x_1755); -lean_inc(x_1735); -x_1757 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1757, 0, x_1735); -lean_ctor_set(x_1757, 1, x_1739); -lean_ctor_set(x_1757, 2, x_1756); -x_1758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1735); -x_1759 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1759, 0, x_1735); -lean_ctor_set(x_1759, 1, x_1758); -x_1760 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1761 = lean_array_push(x_1760, x_1753); -x_1762 = lean_array_push(x_1761, x_1757); -x_1763 = lean_array_push(x_1762, x_1759); -x_1764 = lean_array_push(x_1763, x_1684); -x_1765 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1735); -x_1766 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1766, 0, x_1735); -lean_ctor_set(x_1766, 1, x_1765); -lean_ctor_set(x_1766, 2, x_1764); -x_1767 = lean_array_push(x_1747, x_1766); -lean_inc(x_1735); -x_1768 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1768, 0, x_1735); -lean_ctor_set(x_1768, 1, x_1739); -lean_ctor_set(x_1768, 2, x_1767); -x_1769 = lean_array_push(x_1747, x_1768); -x_1770 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1735); -x_1771 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1771, 0, x_1735); -lean_ctor_set(x_1771, 1, x_1770); -lean_ctor_set(x_1771, 2, x_1769); -x_1772 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1773 = lean_array_push(x_1772, x_1738); -lean_inc(x_1741); -x_1774 = lean_array_push(x_1773, x_1741); -x_1775 = lean_array_push(x_1774, x_1741); -x_1776 = lean_array_push(x_1775, x_1749); -x_1777 = lean_array_push(x_1776, x_1751); -x_1778 = lean_array_push(x_1777, x_1771); -x_1779 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1780 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1780, 0, x_1735); -lean_ctor_set(x_1780, 1, x_1779); -lean_ctor_set(x_1780, 2, x_1778); -x_1781 = 1; -x_1782 = lean_box(x_1781); -lean_ctor_set(x_1679, 1, x_1782); -lean_ctor_set(x_1679, 0, x_1780); -x_1783 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1783, 0, x_1678); -lean_ctor_set(x_1783, 1, x_1736); -return x_1783; -} -} -else -{ -lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; lean_object* x_1791; lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; uint8_t x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; -x_1784 = lean_ctor_get(x_1679, 0); -lean_inc(x_1784); -lean_dec(x_1679); -x_1785 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1680); -x_1786 = lean_ctor_get(x_1785, 0); -lean_inc(x_1786); -x_1787 = lean_ctor_get(x_1785, 1); -lean_inc(x_1787); -if (lean_is_exclusive(x_1785)) { - lean_ctor_release(x_1785, 0); - lean_ctor_release(x_1785, 1); - x_1788 = x_1785; -} else { - lean_dec_ref(x_1785); - x_1788 = lean_box(0); -} -x_1789 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1786); -x_1790 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1790, 0, x_1786); -lean_ctor_set(x_1790, 1, x_1789); -x_1791 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1792 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1786); -x_1793 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1793, 0, x_1786); -lean_ctor_set(x_1793, 1, x_1791); -lean_ctor_set(x_1793, 2, x_1792); -x_1794 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1793); -x_1795 = lean_array_push(x_1794, x_1793); -x_1796 = lean_array_push(x_1795, x_1671); -x_1797 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1786); -x_1798 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1798, 0, x_1786); -lean_ctor_set(x_1798, 1, x_1797); -lean_ctor_set(x_1798, 2, x_1796); -x_1799 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1800 = lean_array_push(x_1799, x_1798); -lean_inc(x_1786); -x_1801 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1801, 0, x_1786); -lean_ctor_set(x_1801, 1, x_1791); -lean_ctor_set(x_1801, 2, x_1800); -x_1802 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1786); -x_1803 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1803, 0, x_1786); -lean_ctor_set(x_1803, 1, x_1802); -x_1804 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1786); -x_1805 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1805, 0, x_1786); -lean_ctor_set(x_1805, 1, x_1804); -x_1806 = lean_array_push(x_1799, x_14); -lean_inc(x_1786); -x_1807 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1807, 0, x_1786); -lean_ctor_set(x_1807, 1, x_1791); -lean_ctor_set(x_1807, 2, x_1806); -x_1808 = lean_array_push(x_1799, x_1807); -lean_inc(x_1786); -x_1809 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1809, 0, x_1786); -lean_ctor_set(x_1809, 1, x_1791); -lean_ctor_set(x_1809, 2, x_1808); -x_1810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1786); -x_1811 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1811, 0, x_1786); -lean_ctor_set(x_1811, 1, x_1810); -x_1812 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1813 = lean_array_push(x_1812, x_1805); -x_1814 = lean_array_push(x_1813, x_1809); -x_1815 = lean_array_push(x_1814, x_1811); -x_1816 = lean_array_push(x_1815, x_1784); -x_1817 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1786); -x_1818 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1818, 0, x_1786); -lean_ctor_set(x_1818, 1, x_1817); -lean_ctor_set(x_1818, 2, x_1816); -x_1819 = lean_array_push(x_1799, x_1818); -lean_inc(x_1786); -x_1820 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1820, 0, x_1786); -lean_ctor_set(x_1820, 1, x_1791); -lean_ctor_set(x_1820, 2, x_1819); -x_1821 = lean_array_push(x_1799, x_1820); -x_1822 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1786); -x_1823 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1823, 0, x_1786); -lean_ctor_set(x_1823, 1, x_1822); -lean_ctor_set(x_1823, 2, x_1821); -x_1824 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1825 = lean_array_push(x_1824, x_1790); -lean_inc(x_1793); -x_1826 = lean_array_push(x_1825, x_1793); -x_1827 = lean_array_push(x_1826, x_1793); -x_1828 = lean_array_push(x_1827, x_1801); -x_1829 = lean_array_push(x_1828, x_1803); -x_1830 = lean_array_push(x_1829, x_1823); -x_1831 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1832 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1832, 0, x_1786); -lean_ctor_set(x_1832, 1, x_1831); -lean_ctor_set(x_1832, 2, x_1830); -x_1833 = 1; -x_1834 = lean_box(x_1833); -x_1835 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1835, 0, x_1832); -lean_ctor_set(x_1835, 1, x_1834); -lean_ctor_set(x_1678, 1, x_1835); -if (lean_is_scalar(x_1788)) { - x_1836 = lean_alloc_ctor(0, 2, 0); -} else { - x_1836 = x_1788; -} -lean_ctor_set(x_1836, 0, x_1678); -lean_ctor_set(x_1836, 1, x_1787); -return x_1836; -} -} -else -{ -lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; uint8_t x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; -x_1837 = lean_ctor_get(x_1678, 0); -lean_inc(x_1837); -lean_dec(x_1678); -x_1838 = lean_ctor_get(x_1679, 0); -lean_inc(x_1838); -if (lean_is_exclusive(x_1679)) { - lean_ctor_release(x_1679, 0); - lean_ctor_release(x_1679, 1); - x_1839 = x_1679; -} else { - lean_dec_ref(x_1679); - x_1839 = lean_box(0); -} -x_1840 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1680); -x_1841 = lean_ctor_get(x_1840, 0); -lean_inc(x_1841); -x_1842 = lean_ctor_get(x_1840, 1); -lean_inc(x_1842); -if (lean_is_exclusive(x_1840)) { - lean_ctor_release(x_1840, 0); - lean_ctor_release(x_1840, 1); - x_1843 = x_1840; -} else { - lean_dec_ref(x_1840); - x_1843 = lean_box(0); -} -x_1844 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1841); -x_1845 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1845, 0, x_1841); -lean_ctor_set(x_1845, 1, x_1844); -x_1846 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1847 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1841); -x_1848 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1848, 0, x_1841); -lean_ctor_set(x_1848, 1, x_1846); -lean_ctor_set(x_1848, 2, x_1847); -x_1849 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1848); -x_1850 = lean_array_push(x_1849, x_1848); -x_1851 = lean_array_push(x_1850, x_1671); -x_1852 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1841); -x_1853 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1853, 0, x_1841); -lean_ctor_set(x_1853, 1, x_1852); -lean_ctor_set(x_1853, 2, x_1851); -x_1854 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1855 = lean_array_push(x_1854, x_1853); -lean_inc(x_1841); -x_1856 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1856, 0, x_1841); -lean_ctor_set(x_1856, 1, x_1846); -lean_ctor_set(x_1856, 2, x_1855); -x_1857 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1841); -x_1858 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1858, 0, x_1841); -lean_ctor_set(x_1858, 1, x_1857); -x_1859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1841); -x_1860 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1860, 0, x_1841); -lean_ctor_set(x_1860, 1, x_1859); -x_1861 = lean_array_push(x_1854, x_14); -lean_inc(x_1841); -x_1862 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1862, 0, x_1841); -lean_ctor_set(x_1862, 1, x_1846); -lean_ctor_set(x_1862, 2, x_1861); -x_1863 = lean_array_push(x_1854, x_1862); -lean_inc(x_1841); -x_1864 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1864, 0, x_1841); -lean_ctor_set(x_1864, 1, x_1846); -lean_ctor_set(x_1864, 2, x_1863); -x_1865 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1841); -x_1866 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1866, 0, x_1841); -lean_ctor_set(x_1866, 1, x_1865); -x_1867 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1868 = lean_array_push(x_1867, x_1860); -x_1869 = lean_array_push(x_1868, x_1864); -x_1870 = lean_array_push(x_1869, x_1866); -x_1871 = lean_array_push(x_1870, x_1838); -x_1872 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1841); -x_1873 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1873, 0, x_1841); -lean_ctor_set(x_1873, 1, x_1872); -lean_ctor_set(x_1873, 2, x_1871); -x_1874 = lean_array_push(x_1854, x_1873); -lean_inc(x_1841); -x_1875 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1875, 0, x_1841); -lean_ctor_set(x_1875, 1, x_1846); -lean_ctor_set(x_1875, 2, x_1874); -x_1876 = lean_array_push(x_1854, x_1875); -x_1877 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1841); -x_1878 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1878, 0, x_1841); -lean_ctor_set(x_1878, 1, x_1877); -lean_ctor_set(x_1878, 2, x_1876); -x_1879 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1880 = lean_array_push(x_1879, x_1845); -lean_inc(x_1848); -x_1881 = lean_array_push(x_1880, x_1848); -x_1882 = lean_array_push(x_1881, x_1848); -x_1883 = lean_array_push(x_1882, x_1856); -x_1884 = lean_array_push(x_1883, x_1858); -x_1885 = lean_array_push(x_1884, x_1878); -x_1886 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_1887 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1887, 0, x_1841); -lean_ctor_set(x_1887, 1, x_1886); -lean_ctor_set(x_1887, 2, x_1885); -x_1888 = 1; -x_1889 = lean_box(x_1888); -if (lean_is_scalar(x_1839)) { - x_1890 = lean_alloc_ctor(0, 2, 0); -} else { - x_1890 = x_1839; -} -lean_ctor_set(x_1890, 0, x_1887); -lean_ctor_set(x_1890, 1, x_1889); -x_1891 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1891, 0, x_1837); -lean_ctor_set(x_1891, 1, x_1890); -if (lean_is_scalar(x_1843)) { - x_1892 = lean_alloc_ctor(0, 2, 0); -} else { - x_1892 = x_1843; -} -lean_ctor_set(x_1892, 0, x_1891); -lean_ctor_set(x_1892, 1, x_1842); -return x_1892; -} -} -else -{ -uint8_t x_1893; -lean_dec(x_1671); -lean_dec(x_14); -lean_dec(x_5); -x_1893 = !lean_is_exclusive(x_1677); -if (x_1893 == 0) -{ -return x_1677; -} -else -{ -lean_object* x_1894; lean_object* x_1895; lean_object* x_1896; -x_1894 = lean_ctor_get(x_1677, 0); -x_1895 = lean_ctor_get(x_1677, 1); -lean_inc(x_1895); -lean_inc(x_1894); -lean_dec(x_1677); -x_1896 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_1896, 0, x_1894); -lean_ctor_set(x_1896, 1, x_1895); -return x_1896; -} -} -} -else -{ -lean_object* x_1897; lean_object* x_1898; uint8_t x_1899; lean_object* x_1900; lean_object* x_2136; uint8_t x_2137; -x_1897 = lean_ctor_get(x_1667, 1); -lean_inc(x_1897); -lean_dec(x_1667); -x_1898 = lean_ctor_get(x_1668, 0); -lean_inc(x_1898); +x_1668 = lean_array_get_size(x_1666); +x_1669 = lean_usize_of_nat(x_1668); lean_dec(x_1668); -x_2136 = lean_array_get_size(x_1898); -x_2137 = lean_nat_dec_lt(x_1192, x_2136); -if (x_2137 == 0) -{ -lean_object* x_2138; size_t x_2139; size_t x_2140; lean_object* x_2141; lean_object* x_2142; -x_2138 = lean_nat_add(x_3, x_1189); -lean_dec(x_3); -x_2139 = lean_usize_of_nat(x_2136); -lean_dec(x_2136); -x_2140 = 0; -x_2141 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5(x_14, x_2139, x_2140, x_1898); -x_2142 = l_Array_append___rarg(x_4, x_2141); -x_3 = x_2138; -x_4 = x_2142; -x_6 = x_1897; +x_1670 = 0; +x_1671 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3(x_1433, x_1669, x_1670, x_1666); +x_1672 = l_Array_append___rarg(x_4, x_1671); +x_3 = x_1667; +x_4 = x_1672; +x_6 = x_1665; goto _start; } +} +} else { -uint8_t x_2144; -x_2144 = lean_nat_dec_le(x_2136, x_2136); -if (x_2144 == 0) +lean_object* x_1674; lean_object* x_1675; +lean_dec(x_1199); +x_1674 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_getFunBinderIds_x3f(x_1198, x_5, x_6); +x_1675 = lean_ctor_get(x_1674, 0); +lean_inc(x_1675); +if (lean_obj_tag(x_1675) == 0) { -lean_object* x_2145; size_t x_2146; size_t x_2147; lean_object* x_2148; lean_object* x_2149; -x_2145 = lean_nat_add(x_3, x_1189); -lean_dec(x_3); -x_2146 = lean_usize_of_nat(x_2136); -lean_dec(x_2136); -x_2147 = 0; -x_2148 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6(x_14, x_2146, x_2147, x_1898); -x_2149 = l_Array_append___rarg(x_4, x_2148); -x_3 = x_2145; -x_4 = x_2149; -x_6 = x_1897; -goto _start; -} -else -{ -size_t x_2151; size_t x_2152; lean_object* x_2153; -x_2151 = 0; -x_2152 = lean_usize_of_nat(x_2136); -lean_dec(x_2136); +lean_object* x_1676; uint8_t x_1677; lean_object* x_1678; lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; +x_1676 = lean_ctor_get(x_1674, 1); +lean_inc(x_1676); +lean_dec(x_1674); +x_1677 = 0; lean_inc(x_5); -x_2153 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7(x_1898, x_2151, x_2152, x_5, x_1897); -if (lean_obj_tag(x_2153) == 0) +lean_inc(x_14); +x_1678 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_1677, x_5, x_1676); +x_1679 = lean_ctor_get(x_1678, 0); +lean_inc(x_1679); +x_1680 = lean_ctor_get(x_1678, 1); +lean_inc(x_1680); +lean_dec(x_1678); +x_1681 = lean_nat_add(x_3, x_1194); +lean_dec(x_3); +lean_inc(x_14); +x_1682 = l_Lean_mkHole(x_14, x_1677); +lean_inc(x_1679); +x_1683 = l_Lean_Elab_Term_mkExplicitBinder(x_1679, x_1682); +x_1684 = lean_array_push(x_4, x_1683); +lean_inc(x_5); +x_1685 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1681, x_1684, x_5, x_1680); +if (lean_obj_tag(x_1685) == 0) { -lean_object* x_2154; uint8_t x_2155; -x_2154 = lean_ctor_get(x_2153, 0); -lean_inc(x_2154); -x_2155 = lean_unbox(x_2154); -lean_dec(x_2154); -if (x_2155 == 0) +lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; uint8_t x_1689; +x_1686 = lean_ctor_get(x_1685, 0); +lean_inc(x_1686); +x_1687 = lean_ctor_get(x_1686, 1); +lean_inc(x_1687); +x_1688 = lean_ctor_get(x_1685, 1); +lean_inc(x_1688); +lean_dec(x_1685); +x_1689 = !lean_is_exclusive(x_1686); +if (x_1689 == 0) { -lean_object* x_2156; uint8_t x_2157; -x_2156 = lean_ctor_get(x_2153, 1); -lean_inc(x_2156); -lean_dec(x_2153); -x_2157 = 1; -x_1899 = x_2157; -x_1900 = x_2156; -goto block_2135; +lean_object* x_1690; uint8_t x_1691; +x_1690 = lean_ctor_get(x_1686, 1); +lean_dec(x_1690); +x_1691 = !lean_is_exclusive(x_1687); +if (x_1691 == 0) +{ +lean_object* x_1692; lean_object* x_1693; lean_object* x_1694; uint8_t x_1695; +x_1692 = lean_ctor_get(x_1687, 0); +x_1693 = lean_ctor_get(x_1687, 1); +lean_dec(x_1693); +x_1694 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1688); +x_1695 = !lean_is_exclusive(x_1694); +if (x_1695 == 0) +{ +lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; lean_object* x_1702; lean_object* x_1703; lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; lean_object* x_1707; lean_object* x_1708; lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; lean_object* x_1717; lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; uint8_t x_1741; lean_object* x_1742; +x_1696 = lean_ctor_get(x_1694, 0); +x_1697 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1696); +x_1698 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1698, 0, x_1696); +lean_ctor_set(x_1698, 1, x_1697); +x_1699 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1700 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1696); +x_1701 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1701, 0, x_1696); +lean_ctor_set(x_1701, 1, x_1699); +lean_ctor_set(x_1701, 2, x_1700); +x_1702 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1701); +x_1703 = lean_array_push(x_1702, x_1701); +x_1704 = lean_array_push(x_1703, x_1679); +x_1705 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1696); +x_1706 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1706, 0, x_1696); +lean_ctor_set(x_1706, 1, x_1705); +lean_ctor_set(x_1706, 2, x_1704); +x_1707 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1708 = lean_array_push(x_1707, x_1706); +lean_inc(x_1696); +x_1709 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1709, 0, x_1696); +lean_ctor_set(x_1709, 1, x_1699); +lean_ctor_set(x_1709, 2, x_1708); +x_1710 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1696); +x_1711 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1711, 0, x_1696); +lean_ctor_set(x_1711, 1, x_1710); +x_1712 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1696); +x_1713 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1713, 0, x_1696); +lean_ctor_set(x_1713, 1, x_1712); +x_1714 = lean_array_push(x_1707, x_14); +lean_inc(x_1696); +x_1715 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1715, 0, x_1696); +lean_ctor_set(x_1715, 1, x_1699); +lean_ctor_set(x_1715, 2, x_1714); +x_1716 = lean_array_push(x_1707, x_1715); +lean_inc(x_1696); +x_1717 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1717, 0, x_1696); +lean_ctor_set(x_1717, 1, x_1699); +lean_ctor_set(x_1717, 2, x_1716); +x_1718 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1696); +x_1719 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1719, 0, x_1696); +lean_ctor_set(x_1719, 1, x_1718); +x_1720 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1721 = lean_array_push(x_1720, x_1713); +x_1722 = lean_array_push(x_1721, x_1717); +x_1723 = lean_array_push(x_1722, x_1719); +x_1724 = lean_array_push(x_1723, x_1692); +x_1725 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1696); +x_1726 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1726, 0, x_1696); +lean_ctor_set(x_1726, 1, x_1725); +lean_ctor_set(x_1726, 2, x_1724); +x_1727 = lean_array_push(x_1707, x_1726); +lean_inc(x_1696); +x_1728 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1728, 0, x_1696); +lean_ctor_set(x_1728, 1, x_1699); +lean_ctor_set(x_1728, 2, x_1727); +x_1729 = lean_array_push(x_1707, x_1728); +x_1730 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1696); +x_1731 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1731, 0, x_1696); +lean_ctor_set(x_1731, 1, x_1730); +lean_ctor_set(x_1731, 2, x_1729); +x_1732 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1733 = lean_array_push(x_1732, x_1698); +lean_inc(x_1701); +x_1734 = lean_array_push(x_1733, x_1701); +x_1735 = lean_array_push(x_1734, x_1701); +x_1736 = lean_array_push(x_1735, x_1709); +x_1737 = lean_array_push(x_1736, x_1711); +x_1738 = lean_array_push(x_1737, x_1731); +x_1739 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1740 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1740, 0, x_1696); +lean_ctor_set(x_1740, 1, x_1739); +lean_ctor_set(x_1740, 2, x_1738); +x_1741 = 1; +x_1742 = lean_box(x_1741); +lean_ctor_set(x_1687, 1, x_1742); +lean_ctor_set(x_1687, 0, x_1740); +lean_ctor_set(x_1694, 0, x_1686); +return x_1694; } else { -lean_object* x_2158; uint8_t x_2159; -x_2158 = lean_ctor_get(x_2153, 1); -lean_inc(x_2158); -lean_dec(x_2153); -x_2159 = 0; -x_1899 = x_2159; -x_1900 = x_2158; -goto block_2135; +lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; lean_object* x_1752; lean_object* x_1753; lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; lean_object* x_1786; lean_object* x_1787; lean_object* x_1788; uint8_t x_1789; lean_object* x_1790; lean_object* x_1791; +x_1743 = lean_ctor_get(x_1694, 0); +x_1744 = lean_ctor_get(x_1694, 1); +lean_inc(x_1744); +lean_inc(x_1743); +lean_dec(x_1694); +x_1745 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1743); +x_1746 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1746, 0, x_1743); +lean_ctor_set(x_1746, 1, x_1745); +x_1747 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1748 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1743); +x_1749 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1749, 0, x_1743); +lean_ctor_set(x_1749, 1, x_1747); +lean_ctor_set(x_1749, 2, x_1748); +x_1750 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1749); +x_1751 = lean_array_push(x_1750, x_1749); +x_1752 = lean_array_push(x_1751, x_1679); +x_1753 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1743); +x_1754 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1754, 0, x_1743); +lean_ctor_set(x_1754, 1, x_1753); +lean_ctor_set(x_1754, 2, x_1752); +x_1755 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1756 = lean_array_push(x_1755, x_1754); +lean_inc(x_1743); +x_1757 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1757, 0, x_1743); +lean_ctor_set(x_1757, 1, x_1747); +lean_ctor_set(x_1757, 2, x_1756); +x_1758 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1743); +x_1759 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1759, 0, x_1743); +lean_ctor_set(x_1759, 1, x_1758); +x_1760 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1743); +x_1761 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1761, 0, x_1743); +lean_ctor_set(x_1761, 1, x_1760); +x_1762 = lean_array_push(x_1755, x_14); +lean_inc(x_1743); +x_1763 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1763, 0, x_1743); +lean_ctor_set(x_1763, 1, x_1747); +lean_ctor_set(x_1763, 2, x_1762); +x_1764 = lean_array_push(x_1755, x_1763); +lean_inc(x_1743); +x_1765 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1765, 0, x_1743); +lean_ctor_set(x_1765, 1, x_1747); +lean_ctor_set(x_1765, 2, x_1764); +x_1766 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1743); +x_1767 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1767, 0, x_1743); +lean_ctor_set(x_1767, 1, x_1766); +x_1768 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1769 = lean_array_push(x_1768, x_1761); +x_1770 = lean_array_push(x_1769, x_1765); +x_1771 = lean_array_push(x_1770, x_1767); +x_1772 = lean_array_push(x_1771, x_1692); +x_1773 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1743); +x_1774 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1774, 0, x_1743); +lean_ctor_set(x_1774, 1, x_1773); +lean_ctor_set(x_1774, 2, x_1772); +x_1775 = lean_array_push(x_1755, x_1774); +lean_inc(x_1743); +x_1776 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1776, 0, x_1743); +lean_ctor_set(x_1776, 1, x_1747); +lean_ctor_set(x_1776, 2, x_1775); +x_1777 = lean_array_push(x_1755, x_1776); +x_1778 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1743); +x_1779 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1779, 0, x_1743); +lean_ctor_set(x_1779, 1, x_1778); +lean_ctor_set(x_1779, 2, x_1777); +x_1780 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1781 = lean_array_push(x_1780, x_1746); +lean_inc(x_1749); +x_1782 = lean_array_push(x_1781, x_1749); +x_1783 = lean_array_push(x_1782, x_1749); +x_1784 = lean_array_push(x_1783, x_1757); +x_1785 = lean_array_push(x_1784, x_1759); +x_1786 = lean_array_push(x_1785, x_1779); +x_1787 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1788 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1788, 0, x_1743); +lean_ctor_set(x_1788, 1, x_1787); +lean_ctor_set(x_1788, 2, x_1786); +x_1789 = 1; +x_1790 = lean_box(x_1789); +lean_ctor_set(x_1687, 1, x_1790); +lean_ctor_set(x_1687, 0, x_1788); +x_1791 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1791, 0, x_1686); +lean_ctor_set(x_1791, 1, x_1744); +return x_1791; } } else { -uint8_t x_2160; -lean_dec(x_1898); +lean_object* x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; lean_object* x_1797; lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; uint8_t x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; +x_1792 = lean_ctor_get(x_1687, 0); +lean_inc(x_1792); +lean_dec(x_1687); +x_1793 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1688); +x_1794 = lean_ctor_get(x_1793, 0); +lean_inc(x_1794); +x_1795 = lean_ctor_get(x_1793, 1); +lean_inc(x_1795); +if (lean_is_exclusive(x_1793)) { + lean_ctor_release(x_1793, 0); + lean_ctor_release(x_1793, 1); + x_1796 = x_1793; +} else { + lean_dec_ref(x_1793); + x_1796 = lean_box(0); +} +x_1797 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1794); +x_1798 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1798, 0, x_1794); +lean_ctor_set(x_1798, 1, x_1797); +x_1799 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1800 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1794); +x_1801 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1801, 0, x_1794); +lean_ctor_set(x_1801, 1, x_1799); +lean_ctor_set(x_1801, 2, x_1800); +x_1802 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1801); +x_1803 = lean_array_push(x_1802, x_1801); +x_1804 = lean_array_push(x_1803, x_1679); +x_1805 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1794); +x_1806 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1806, 0, x_1794); +lean_ctor_set(x_1806, 1, x_1805); +lean_ctor_set(x_1806, 2, x_1804); +x_1807 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1808 = lean_array_push(x_1807, x_1806); +lean_inc(x_1794); +x_1809 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1809, 0, x_1794); +lean_ctor_set(x_1809, 1, x_1799); +lean_ctor_set(x_1809, 2, x_1808); +x_1810 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1794); +x_1811 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1811, 0, x_1794); +lean_ctor_set(x_1811, 1, x_1810); +x_1812 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1794); +x_1813 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1813, 0, x_1794); +lean_ctor_set(x_1813, 1, x_1812); +x_1814 = lean_array_push(x_1807, x_14); +lean_inc(x_1794); +x_1815 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1815, 0, x_1794); +lean_ctor_set(x_1815, 1, x_1799); +lean_ctor_set(x_1815, 2, x_1814); +x_1816 = lean_array_push(x_1807, x_1815); +lean_inc(x_1794); +x_1817 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1817, 0, x_1794); +lean_ctor_set(x_1817, 1, x_1799); +lean_ctor_set(x_1817, 2, x_1816); +x_1818 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1794); +x_1819 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1819, 0, x_1794); +lean_ctor_set(x_1819, 1, x_1818); +x_1820 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1821 = lean_array_push(x_1820, x_1813); +x_1822 = lean_array_push(x_1821, x_1817); +x_1823 = lean_array_push(x_1822, x_1819); +x_1824 = lean_array_push(x_1823, x_1792); +x_1825 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1794); +x_1826 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1826, 0, x_1794); +lean_ctor_set(x_1826, 1, x_1825); +lean_ctor_set(x_1826, 2, x_1824); +x_1827 = lean_array_push(x_1807, x_1826); +lean_inc(x_1794); +x_1828 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1828, 0, x_1794); +lean_ctor_set(x_1828, 1, x_1799); +lean_ctor_set(x_1828, 2, x_1827); +x_1829 = lean_array_push(x_1807, x_1828); +x_1830 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1794); +x_1831 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1831, 0, x_1794); +lean_ctor_set(x_1831, 1, x_1830); +lean_ctor_set(x_1831, 2, x_1829); +x_1832 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1833 = lean_array_push(x_1832, x_1798); +lean_inc(x_1801); +x_1834 = lean_array_push(x_1833, x_1801); +x_1835 = lean_array_push(x_1834, x_1801); +x_1836 = lean_array_push(x_1835, x_1809); +x_1837 = lean_array_push(x_1836, x_1811); +x_1838 = lean_array_push(x_1837, x_1831); +x_1839 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1840 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1840, 0, x_1794); +lean_ctor_set(x_1840, 1, x_1839); +lean_ctor_set(x_1840, 2, x_1838); +x_1841 = 1; +x_1842 = lean_box(x_1841); +x_1843 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1843, 0, x_1840); +lean_ctor_set(x_1843, 1, x_1842); +lean_ctor_set(x_1686, 1, x_1843); +if (lean_is_scalar(x_1796)) { + x_1844 = lean_alloc_ctor(0, 2, 0); +} else { + x_1844 = x_1796; +} +lean_ctor_set(x_1844, 0, x_1686); +lean_ctor_set(x_1844, 1, x_1795); +return x_1844; +} +} +else +{ +lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; lean_object* x_1855; lean_object* x_1856; lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; lean_object* x_1866; lean_object* x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; lean_object* x_1871; lean_object* x_1872; lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; lean_object* x_1889; lean_object* x_1890; lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; lean_object* x_1894; lean_object* x_1895; uint8_t x_1896; lean_object* x_1897; lean_object* x_1898; lean_object* x_1899; lean_object* x_1900; +x_1845 = lean_ctor_get(x_1686, 0); +lean_inc(x_1845); +lean_dec(x_1686); +x_1846 = lean_ctor_get(x_1687, 0); +lean_inc(x_1846); +if (lean_is_exclusive(x_1687)) { + lean_ctor_release(x_1687, 0); + lean_ctor_release(x_1687, 1); + x_1847 = x_1687; +} else { + lean_dec_ref(x_1687); + x_1847 = lean_box(0); +} +x_1848 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1688); +x_1849 = lean_ctor_get(x_1848, 0); +lean_inc(x_1849); +x_1850 = lean_ctor_get(x_1848, 1); +lean_inc(x_1850); +if (lean_is_exclusive(x_1848)) { + lean_ctor_release(x_1848, 0); + lean_ctor_release(x_1848, 1); + x_1851 = x_1848; +} else { + lean_dec_ref(x_1848); + x_1851 = lean_box(0); +} +x_1852 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1849); +x_1853 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1853, 0, x_1849); +lean_ctor_set(x_1853, 1, x_1852); +x_1854 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1855 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1849); +x_1856 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1856, 0, x_1849); +lean_ctor_set(x_1856, 1, x_1854); +lean_ctor_set(x_1856, 2, x_1855); +x_1857 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1856); +x_1858 = lean_array_push(x_1857, x_1856); +x_1859 = lean_array_push(x_1858, x_1679); +x_1860 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1849); +x_1861 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1861, 0, x_1849); +lean_ctor_set(x_1861, 1, x_1860); +lean_ctor_set(x_1861, 2, x_1859); +x_1862 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1863 = lean_array_push(x_1862, x_1861); +lean_inc(x_1849); +x_1864 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1864, 0, x_1849); +lean_ctor_set(x_1864, 1, x_1854); +lean_ctor_set(x_1864, 2, x_1863); +x_1865 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1849); +x_1866 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1866, 0, x_1849); +lean_ctor_set(x_1866, 1, x_1865); +x_1867 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1849); +x_1868 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1868, 0, x_1849); +lean_ctor_set(x_1868, 1, x_1867); +x_1869 = lean_array_push(x_1862, x_14); +lean_inc(x_1849); +x_1870 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1870, 0, x_1849); +lean_ctor_set(x_1870, 1, x_1854); +lean_ctor_set(x_1870, 2, x_1869); +x_1871 = lean_array_push(x_1862, x_1870); +lean_inc(x_1849); +x_1872 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1872, 0, x_1849); +lean_ctor_set(x_1872, 1, x_1854); +lean_ctor_set(x_1872, 2, x_1871); +x_1873 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1849); +x_1874 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1874, 0, x_1849); +lean_ctor_set(x_1874, 1, x_1873); +x_1875 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1876 = lean_array_push(x_1875, x_1868); +x_1877 = lean_array_push(x_1876, x_1872); +x_1878 = lean_array_push(x_1877, x_1874); +x_1879 = lean_array_push(x_1878, x_1846); +x_1880 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1849); +x_1881 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1881, 0, x_1849); +lean_ctor_set(x_1881, 1, x_1880); +lean_ctor_set(x_1881, 2, x_1879); +x_1882 = lean_array_push(x_1862, x_1881); +lean_inc(x_1849); +x_1883 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1883, 0, x_1849); +lean_ctor_set(x_1883, 1, x_1854); +lean_ctor_set(x_1883, 2, x_1882); +x_1884 = lean_array_push(x_1862, x_1883); +x_1885 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1849); +x_1886 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1886, 0, x_1849); +lean_ctor_set(x_1886, 1, x_1885); +lean_ctor_set(x_1886, 2, x_1884); +x_1887 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1888 = lean_array_push(x_1887, x_1853); +lean_inc(x_1856); +x_1889 = lean_array_push(x_1888, x_1856); +x_1890 = lean_array_push(x_1889, x_1856); +x_1891 = lean_array_push(x_1890, x_1864); +x_1892 = lean_array_push(x_1891, x_1866); +x_1893 = lean_array_push(x_1892, x_1886); +x_1894 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1895 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1895, 0, x_1849); +lean_ctor_set(x_1895, 1, x_1894); +lean_ctor_set(x_1895, 2, x_1893); +x_1896 = 1; +x_1897 = lean_box(x_1896); +if (lean_is_scalar(x_1847)) { + x_1898 = lean_alloc_ctor(0, 2, 0); +} else { + x_1898 = x_1847; +} +lean_ctor_set(x_1898, 0, x_1895); +lean_ctor_set(x_1898, 1, x_1897); +x_1899 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1899, 0, x_1845); +lean_ctor_set(x_1899, 1, x_1898); +if (lean_is_scalar(x_1851)) { + x_1900 = lean_alloc_ctor(0, 2, 0); +} else { + x_1900 = x_1851; +} +lean_ctor_set(x_1900, 0, x_1899); +lean_ctor_set(x_1900, 1, x_1850); +return x_1900; +} +} +else +{ +uint8_t x_1901; +lean_dec(x_1679); +lean_dec(x_14); +lean_dec(x_5); +x_1901 = !lean_is_exclusive(x_1685); +if (x_1901 == 0) +{ +return x_1685; +} +else +{ +lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; +x_1902 = lean_ctor_get(x_1685, 0); +x_1903 = lean_ctor_get(x_1685, 1); +lean_inc(x_1903); +lean_inc(x_1902); +lean_dec(x_1685); +x_1904 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_1904, 0, x_1902); +lean_ctor_set(x_1904, 1, x_1903); +return x_1904; +} +} +} +else +{ +lean_object* x_1905; lean_object* x_1906; uint8_t x_1907; lean_object* x_1908; lean_object* x_2145; uint8_t x_2146; +x_1905 = lean_ctor_get(x_1674, 1); +lean_inc(x_1905); +lean_dec(x_1674); +x_1906 = lean_ctor_get(x_1675, 0); +lean_inc(x_1906); +lean_dec(x_1675); +x_2145 = lean_array_get_size(x_1906); +x_2146 = lean_nat_dec_lt(x_1197, x_2145); +if (x_2146 == 0) +{ +lean_object* x_2147; size_t x_2148; size_t x_2149; lean_object* x_2150; lean_object* x_2151; +x_2147 = lean_nat_add(x_3, x_1194); +lean_dec(x_3); +x_2148 = lean_usize_of_nat(x_2145); +lean_dec(x_2145); +x_2149 = 0; +x_2150 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__5(x_14, x_2148, x_2149, x_1906); +x_2151 = l_Array_append___rarg(x_4, x_2150); +x_3 = x_2147; +x_4 = x_2151; +x_6 = x_1905; +goto _start; +} +else +{ +uint8_t x_2153; +x_2153 = lean_nat_dec_le(x_2145, x_2145); +if (x_2153 == 0) +{ +lean_object* x_2154; size_t x_2155; size_t x_2156; lean_object* x_2157; lean_object* x_2158; +x_2154 = lean_nat_add(x_3, x_1194); +lean_dec(x_3); +x_2155 = lean_usize_of_nat(x_2145); +lean_dec(x_2145); +x_2156 = 0; +x_2157 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__6(x_14, x_2155, x_2156, x_1906); +x_2158 = l_Array_append___rarg(x_4, x_2157); +x_3 = x_2154; +x_4 = x_2158; +x_6 = x_1905; +goto _start; +} +else +{ +size_t x_2160; size_t x_2161; lean_object* x_2162; +x_2160 = 0; +x_2161 = lean_usize_of_nat(x_2145); +lean_dec(x_2145); +lean_inc(x_5); +x_2162 = l_Array_anyMUnsafe_any___at_Lean_Elab_Term_expandFunBinders_loop___spec__7(x_1906, x_2160, x_2161, x_5, x_1905); +if (lean_obj_tag(x_2162) == 0) +{ +lean_object* x_2163; uint8_t x_2164; +x_2163 = lean_ctor_get(x_2162, 0); +lean_inc(x_2163); +x_2164 = lean_unbox(x_2163); +lean_dec(x_2163); +if (x_2164 == 0) +{ +lean_object* x_2165; uint8_t x_2166; +x_2165 = lean_ctor_get(x_2162, 1); +lean_inc(x_2165); +lean_dec(x_2162); +x_2166 = 1; +x_1907 = x_2166; +x_1908 = x_2165; +goto block_2144; +} +else +{ +lean_object* x_2167; uint8_t x_2168; +x_2167 = lean_ctor_get(x_2162, 1); +lean_inc(x_2167); +lean_dec(x_2162); +x_2168 = 0; +x_1907 = x_2168; +x_1908 = x_2167; +goto block_2144; +} +} +else +{ +uint8_t x_2169; +lean_dec(x_1906); lean_dec(x_14); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_2160 = !lean_is_exclusive(x_2153); -if (x_2160 == 0) +x_2169 = !lean_is_exclusive(x_2162); +if (x_2169 == 0) { -return x_2153; +return x_2162; } else { -lean_object* x_2161; lean_object* x_2162; lean_object* x_2163; -x_2161 = lean_ctor_get(x_2153, 0); -x_2162 = lean_ctor_get(x_2153, 1); -lean_inc(x_2162); -lean_inc(x_2161); -lean_dec(x_2153); -x_2163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2163, 0, x_2161); -lean_ctor_set(x_2163, 1, x_2162); -return x_2163; +lean_object* x_2170; lean_object* x_2171; lean_object* x_2172; +x_2170 = lean_ctor_get(x_2162, 0); +x_2171 = lean_ctor_get(x_2162, 1); +lean_inc(x_2171); +lean_inc(x_2170); +lean_dec(x_2162); +x_2172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2172, 0, x_2170); +lean_ctor_set(x_2172, 1, x_2171); +return x_2172; } } } } -block_2135: +block_2144: { -if (x_1899 == 0) +if (x_1907 == 0) { -lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; -lean_dec(x_1898); +uint8_t x_1909; lean_object* x_1910; lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; lean_object* x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; +lean_dec(x_1906); +x_1909 = 0; lean_inc(x_5); lean_inc(x_14); -x_1901 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_1900); -x_1902 = lean_ctor_get(x_1901, 0); -lean_inc(x_1902); -x_1903 = lean_ctor_get(x_1901, 1); -lean_inc(x_1903); -lean_dec(x_1901); -x_1904 = lean_nat_add(x_3, x_1189); +x_1910 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_1909, x_5, x_1908); +x_1911 = lean_ctor_get(x_1910, 0); +lean_inc(x_1911); +x_1912 = lean_ctor_get(x_1910, 1); +lean_inc(x_1912); +lean_dec(x_1910); +x_1913 = lean_nat_add(x_3, x_1194); lean_dec(x_3); lean_inc(x_14); -x_1905 = l_Lean_mkHole(x_14); -lean_inc(x_1902); -x_1906 = l_Lean_Elab_Term_mkExplicitBinder(x_1902, x_1905); -x_1907 = lean_array_push(x_4, x_1906); -lean_inc(x_5); -x_1908 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1904, x_1907, x_5, x_1903); -if (lean_obj_tag(x_1908) == 0) -{ -lean_object* x_1909; lean_object* x_1910; lean_object* x_1911; uint8_t x_1912; -x_1909 = lean_ctor_get(x_1908, 0); -lean_inc(x_1909); -x_1910 = lean_ctor_get(x_1909, 1); -lean_inc(x_1910); -x_1911 = lean_ctor_get(x_1908, 1); +x_1914 = l_Lean_mkHole(x_14, x_1909); lean_inc(x_1911); -lean_dec(x_1908); -x_1912 = !lean_is_exclusive(x_1909); -if (x_1912 == 0) +x_1915 = l_Lean_Elab_Term_mkExplicitBinder(x_1911, x_1914); +x_1916 = lean_array_push(x_4, x_1915); +lean_inc(x_5); +x_1917 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_1913, x_1916, x_5, x_1912); +if (lean_obj_tag(x_1917) == 0) { -lean_object* x_1913; uint8_t x_1914; -x_1913 = lean_ctor_get(x_1909, 1); -lean_dec(x_1913); -x_1914 = !lean_is_exclusive(x_1910); -if (x_1914 == 0) +lean_object* x_1918; lean_object* x_1919; lean_object* x_1920; uint8_t x_1921; +x_1918 = lean_ctor_get(x_1917, 0); +lean_inc(x_1918); +x_1919 = lean_ctor_get(x_1918, 1); +lean_inc(x_1919); +x_1920 = lean_ctor_get(x_1917, 1); +lean_inc(x_1920); +lean_dec(x_1917); +x_1921 = !lean_is_exclusive(x_1918); +if (x_1921 == 0) { -lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; uint8_t x_1918; -x_1915 = lean_ctor_get(x_1910, 0); -x_1916 = lean_ctor_get(x_1910, 1); -lean_dec(x_1916); -x_1917 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1911); -x_1918 = !lean_is_exclusive(x_1917); -if (x_1918 == 0) +lean_object* x_1922; uint8_t x_1923; +x_1922 = lean_ctor_get(x_1918, 1); +lean_dec(x_1922); +x_1923 = !lean_is_exclusive(x_1919); +if (x_1923 == 0) { -lean_object* x_1919; lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; uint8_t x_1964; lean_object* x_1965; -x_1919 = lean_ctor_get(x_1917, 0); -x_1920 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1919); -x_1921 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1921, 0, x_1919); -lean_ctor_set(x_1921, 1, x_1920); -x_1922 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1923 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1919); -x_1924 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1924, 0, x_1919); -lean_ctor_set(x_1924, 1, x_1922); -lean_ctor_set(x_1924, 2, x_1923); -x_1925 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1924); -x_1926 = lean_array_push(x_1925, x_1924); -x_1927 = lean_array_push(x_1926, x_1902); -x_1928 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1919); -x_1929 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1929, 0, x_1919); -lean_ctor_set(x_1929, 1, x_1928); -lean_ctor_set(x_1929, 2, x_1927); -x_1930 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1931 = lean_array_push(x_1930, x_1929); -lean_inc(x_1919); -x_1932 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1932, 0, x_1919); -lean_ctor_set(x_1932, 1, x_1922); -lean_ctor_set(x_1932, 2, x_1931); -x_1933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1919); -x_1934 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1934, 0, x_1919); -lean_ctor_set(x_1934, 1, x_1933); -x_1935 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1919); -x_1936 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1936, 0, x_1919); -lean_ctor_set(x_1936, 1, x_1935); -x_1937 = lean_array_push(x_1930, x_14); -lean_inc(x_1919); +lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; uint8_t x_1927; +x_1924 = lean_ctor_get(x_1919, 0); +x_1925 = lean_ctor_get(x_1919, 1); +lean_dec(x_1925); +x_1926 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1920); +x_1927 = !lean_is_exclusive(x_1926); +if (x_1927 == 0) +{ +lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; uint8_t x_1973; lean_object* x_1974; +x_1928 = lean_ctor_get(x_1926, 0); +x_1929 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1928); +x_1930 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1930, 0, x_1928); +lean_ctor_set(x_1930, 1, x_1929); +x_1931 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1932 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1928); +x_1933 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1933, 0, x_1928); +lean_ctor_set(x_1933, 1, x_1931); +lean_ctor_set(x_1933, 2, x_1932); +x_1934 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1933); +x_1935 = lean_array_push(x_1934, x_1933); +x_1936 = lean_array_push(x_1935, x_1911); +x_1937 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1928); x_1938 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1938, 0, x_1919); -lean_ctor_set(x_1938, 1, x_1922); -lean_ctor_set(x_1938, 2, x_1937); -x_1939 = lean_array_push(x_1930, x_1938); -lean_inc(x_1919); -x_1940 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1940, 0, x_1919); -lean_ctor_set(x_1940, 1, x_1922); -lean_ctor_set(x_1940, 2, x_1939); -x_1941 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1919); -x_1942 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1942, 0, x_1919); -lean_ctor_set(x_1942, 1, x_1941); -x_1943 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1944 = lean_array_push(x_1943, x_1936); -x_1945 = lean_array_push(x_1944, x_1940); -x_1946 = lean_array_push(x_1945, x_1942); -x_1947 = lean_array_push(x_1946, x_1915); -x_1948 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1919); +lean_ctor_set(x_1938, 0, x_1928); +lean_ctor_set(x_1938, 1, x_1937); +lean_ctor_set(x_1938, 2, x_1936); +x_1939 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1940 = lean_array_push(x_1939, x_1938); +lean_inc(x_1928); +x_1941 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1941, 0, x_1928); +lean_ctor_set(x_1941, 1, x_1931); +lean_ctor_set(x_1941, 2, x_1940); +x_1942 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1928); +x_1943 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1943, 0, x_1928); +lean_ctor_set(x_1943, 1, x_1942); +x_1944 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1928); +x_1945 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1945, 0, x_1928); +lean_ctor_set(x_1945, 1, x_1944); +x_1946 = lean_array_push(x_1939, x_14); +lean_inc(x_1928); +x_1947 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1947, 0, x_1928); +lean_ctor_set(x_1947, 1, x_1931); +lean_ctor_set(x_1947, 2, x_1946); +x_1948 = lean_array_push(x_1939, x_1947); +lean_inc(x_1928); x_1949 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1949, 0, x_1919); -lean_ctor_set(x_1949, 1, x_1948); -lean_ctor_set(x_1949, 2, x_1947); -x_1950 = lean_array_push(x_1930, x_1949); -lean_inc(x_1919); -x_1951 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1951, 0, x_1919); -lean_ctor_set(x_1951, 1, x_1922); -lean_ctor_set(x_1951, 2, x_1950); -x_1952 = lean_array_push(x_1930, x_1951); -x_1953 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1919); -x_1954 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1954, 0, x_1919); -lean_ctor_set(x_1954, 1, x_1953); -lean_ctor_set(x_1954, 2, x_1952); -x_1955 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_1956 = lean_array_push(x_1955, x_1921); -lean_inc(x_1924); -x_1957 = lean_array_push(x_1956, x_1924); -x_1958 = lean_array_push(x_1957, x_1924); -x_1959 = lean_array_push(x_1958, x_1932); -x_1960 = lean_array_push(x_1959, x_1934); -x_1961 = lean_array_push(x_1960, x_1954); -x_1962 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +lean_ctor_set(x_1949, 0, x_1928); +lean_ctor_set(x_1949, 1, x_1931); +lean_ctor_set(x_1949, 2, x_1948); +x_1950 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1928); +x_1951 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1951, 0, x_1928); +lean_ctor_set(x_1951, 1, x_1950); +x_1952 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_1953 = lean_array_push(x_1952, x_1945); +x_1954 = lean_array_push(x_1953, x_1949); +x_1955 = lean_array_push(x_1954, x_1951); +x_1956 = lean_array_push(x_1955, x_1924); +x_1957 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1928); +x_1958 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1958, 0, x_1928); +lean_ctor_set(x_1958, 1, x_1957); +lean_ctor_set(x_1958, 2, x_1956); +x_1959 = lean_array_push(x_1939, x_1958); +lean_inc(x_1928); +x_1960 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1960, 0, x_1928); +lean_ctor_set(x_1960, 1, x_1931); +lean_ctor_set(x_1960, 2, x_1959); +x_1961 = lean_array_push(x_1939, x_1960); +x_1962 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1928); x_1963 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1963, 0, x_1919); +lean_ctor_set(x_1963, 0, x_1928); lean_ctor_set(x_1963, 1, x_1962); lean_ctor_set(x_1963, 2, x_1961); -x_1964 = 1; -x_1965 = lean_box(x_1964); -lean_ctor_set(x_1910, 1, x_1965); -lean_ctor_set(x_1910, 0, x_1963); -lean_ctor_set(x_1917, 0, x_1909); +x_1964 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_1965 = lean_array_push(x_1964, x_1930); +lean_inc(x_1933); +x_1966 = lean_array_push(x_1965, x_1933); +x_1967 = lean_array_push(x_1966, x_1933); +x_1968 = lean_array_push(x_1967, x_1941); +x_1969 = lean_array_push(x_1968, x_1943); +x_1970 = lean_array_push(x_1969, x_1963); +x_1971 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_1972 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1972, 0, x_1928); +lean_ctor_set(x_1972, 1, x_1971); +lean_ctor_set(x_1972, 2, x_1970); +x_1973 = 1; +x_1974 = lean_box(x_1973); +lean_ctor_set(x_1919, 1, x_1974); +lean_ctor_set(x_1919, 0, x_1972); +lean_ctor_set(x_1926, 0, x_1918); +return x_1926; +} +else +{ +lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; uint8_t x_2021; lean_object* x_2022; lean_object* x_2023; +x_1975 = lean_ctor_get(x_1926, 0); +x_1976 = lean_ctor_get(x_1926, 1); +lean_inc(x_1976); +lean_inc(x_1975); +lean_dec(x_1926); +x_1977 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_1975); +x_1978 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1978, 0, x_1975); +lean_ctor_set(x_1978, 1, x_1977); +x_1979 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_1980 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_1975); +x_1981 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1981, 0, x_1975); +lean_ctor_set(x_1981, 1, x_1979); +lean_ctor_set(x_1981, 2, x_1980); +x_1982 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_1981); +x_1983 = lean_array_push(x_1982, x_1981); +x_1984 = lean_array_push(x_1983, x_1911); +x_1985 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_1975); +x_1986 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1986, 0, x_1975); +lean_ctor_set(x_1986, 1, x_1985); +lean_ctor_set(x_1986, 2, x_1984); +x_1987 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_1988 = lean_array_push(x_1987, x_1986); +lean_inc(x_1975); +x_1989 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1989, 0, x_1975); +lean_ctor_set(x_1989, 1, x_1979); +lean_ctor_set(x_1989, 2, x_1988); +x_1990 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_1975); +x_1991 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1991, 0, x_1975); +lean_ctor_set(x_1991, 1, x_1990); +x_1992 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_1975); +x_1993 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1993, 0, x_1975); +lean_ctor_set(x_1993, 1, x_1992); +x_1994 = lean_array_push(x_1987, x_14); +lean_inc(x_1975); +x_1995 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1995, 0, x_1975); +lean_ctor_set(x_1995, 1, x_1979); +lean_ctor_set(x_1995, 2, x_1994); +x_1996 = lean_array_push(x_1987, x_1995); +lean_inc(x_1975); +x_1997 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1997, 0, x_1975); +lean_ctor_set(x_1997, 1, x_1979); +lean_ctor_set(x_1997, 2, x_1996); +x_1998 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_1975); +x_1999 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1999, 0, x_1975); +lean_ctor_set(x_1999, 1, x_1998); +x_2000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2001 = lean_array_push(x_2000, x_1993); +x_2002 = lean_array_push(x_2001, x_1997); +x_2003 = lean_array_push(x_2002, x_1999); +x_2004 = lean_array_push(x_2003, x_1924); +x_2005 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_1975); +x_2006 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2006, 0, x_1975); +lean_ctor_set(x_2006, 1, x_2005); +lean_ctor_set(x_2006, 2, x_2004); +x_2007 = lean_array_push(x_1987, x_2006); +lean_inc(x_1975); +x_2008 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2008, 0, x_1975); +lean_ctor_set(x_2008, 1, x_1979); +lean_ctor_set(x_2008, 2, x_2007); +x_2009 = lean_array_push(x_1987, x_2008); +x_2010 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_1975); +x_2011 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2011, 0, x_1975); +lean_ctor_set(x_2011, 1, x_2010); +lean_ctor_set(x_2011, 2, x_2009); +x_2012 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2013 = lean_array_push(x_2012, x_1978); +lean_inc(x_1981); +x_2014 = lean_array_push(x_2013, x_1981); +x_2015 = lean_array_push(x_2014, x_1981); +x_2016 = lean_array_push(x_2015, x_1989); +x_2017 = lean_array_push(x_2016, x_1991); +x_2018 = lean_array_push(x_2017, x_2011); +x_2019 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2020 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2020, 0, x_1975); +lean_ctor_set(x_2020, 1, x_2019); +lean_ctor_set(x_2020, 2, x_2018); +x_2021 = 1; +x_2022 = lean_box(x_2021); +lean_ctor_set(x_1919, 1, x_2022); +lean_ctor_set(x_1919, 0, x_2020); +x_2023 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2023, 0, x_1918); +lean_ctor_set(x_2023, 1, x_1976); +return x_2023; +} +} +else +{ +lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; lean_object* x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; uint8_t x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; +x_2024 = lean_ctor_get(x_1919, 0); +lean_inc(x_2024); +lean_dec(x_1919); +x_2025 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1920); +x_2026 = lean_ctor_get(x_2025, 0); +lean_inc(x_2026); +x_2027 = lean_ctor_get(x_2025, 1); +lean_inc(x_2027); +if (lean_is_exclusive(x_2025)) { + lean_ctor_release(x_2025, 0); + lean_ctor_release(x_2025, 1); + x_2028 = x_2025; +} else { + lean_dec_ref(x_2025); + x_2028 = lean_box(0); +} +x_2029 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2026); +x_2030 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2030, 0, x_2026); +lean_ctor_set(x_2030, 1, x_2029); +x_2031 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2032 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2026); +x_2033 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2033, 0, x_2026); +lean_ctor_set(x_2033, 1, x_2031); +lean_ctor_set(x_2033, 2, x_2032); +x_2034 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2033); +x_2035 = lean_array_push(x_2034, x_2033); +x_2036 = lean_array_push(x_2035, x_1911); +x_2037 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2026); +x_2038 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2038, 0, x_2026); +lean_ctor_set(x_2038, 1, x_2037); +lean_ctor_set(x_2038, 2, x_2036); +x_2039 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2040 = lean_array_push(x_2039, x_2038); +lean_inc(x_2026); +x_2041 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2041, 0, x_2026); +lean_ctor_set(x_2041, 1, x_2031); +lean_ctor_set(x_2041, 2, x_2040); +x_2042 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2026); +x_2043 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2043, 0, x_2026); +lean_ctor_set(x_2043, 1, x_2042); +x_2044 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2026); +x_2045 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2045, 0, x_2026); +lean_ctor_set(x_2045, 1, x_2044); +x_2046 = lean_array_push(x_2039, x_14); +lean_inc(x_2026); +x_2047 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2047, 0, x_2026); +lean_ctor_set(x_2047, 1, x_2031); +lean_ctor_set(x_2047, 2, x_2046); +x_2048 = lean_array_push(x_2039, x_2047); +lean_inc(x_2026); +x_2049 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2049, 0, x_2026); +lean_ctor_set(x_2049, 1, x_2031); +lean_ctor_set(x_2049, 2, x_2048); +x_2050 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2026); +x_2051 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2051, 0, x_2026); +lean_ctor_set(x_2051, 1, x_2050); +x_2052 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2053 = lean_array_push(x_2052, x_2045); +x_2054 = lean_array_push(x_2053, x_2049); +x_2055 = lean_array_push(x_2054, x_2051); +x_2056 = lean_array_push(x_2055, x_2024); +x_2057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2026); +x_2058 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2058, 0, x_2026); +lean_ctor_set(x_2058, 1, x_2057); +lean_ctor_set(x_2058, 2, x_2056); +x_2059 = lean_array_push(x_2039, x_2058); +lean_inc(x_2026); +x_2060 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2060, 0, x_2026); +lean_ctor_set(x_2060, 1, x_2031); +lean_ctor_set(x_2060, 2, x_2059); +x_2061 = lean_array_push(x_2039, x_2060); +x_2062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2026); +x_2063 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2063, 0, x_2026); +lean_ctor_set(x_2063, 1, x_2062); +lean_ctor_set(x_2063, 2, x_2061); +x_2064 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2065 = lean_array_push(x_2064, x_2030); +lean_inc(x_2033); +x_2066 = lean_array_push(x_2065, x_2033); +x_2067 = lean_array_push(x_2066, x_2033); +x_2068 = lean_array_push(x_2067, x_2041); +x_2069 = lean_array_push(x_2068, x_2043); +x_2070 = lean_array_push(x_2069, x_2063); +x_2071 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2072 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2072, 0, x_2026); +lean_ctor_set(x_2072, 1, x_2071); +lean_ctor_set(x_2072, 2, x_2070); +x_2073 = 1; +x_2074 = lean_box(x_2073); +x_2075 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2075, 0, x_2072); +lean_ctor_set(x_2075, 1, x_2074); +lean_ctor_set(x_1918, 1, x_2075); +if (lean_is_scalar(x_2028)) { + x_2076 = lean_alloc_ctor(0, 2, 0); +} else { + x_2076 = x_2028; +} +lean_ctor_set(x_2076, 0, x_1918); +lean_ctor_set(x_2076, 1, x_2027); +return x_2076; +} +} +else +{ +lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; lean_object* x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; lean_object* x_2124; lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; uint8_t x_2128; lean_object* x_2129; lean_object* x_2130; lean_object* x_2131; lean_object* x_2132; +x_2077 = lean_ctor_get(x_1918, 0); +lean_inc(x_2077); +lean_dec(x_1918); +x_2078 = lean_ctor_get(x_1919, 0); +lean_inc(x_2078); +if (lean_is_exclusive(x_1919)) { + lean_ctor_release(x_1919, 0); + lean_ctor_release(x_1919, 1); + x_2079 = x_1919; +} else { + lean_dec_ref(x_1919); + x_2079 = lean_box(0); +} +x_2080 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1920); +x_2081 = lean_ctor_get(x_2080, 0); +lean_inc(x_2081); +x_2082 = lean_ctor_get(x_2080, 1); +lean_inc(x_2082); +if (lean_is_exclusive(x_2080)) { + lean_ctor_release(x_2080, 0); + lean_ctor_release(x_2080, 1); + x_2083 = x_2080; +} else { + lean_dec_ref(x_2080); + x_2083 = lean_box(0); +} +x_2084 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2081); +x_2085 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2085, 0, x_2081); +lean_ctor_set(x_2085, 1, x_2084); +x_2086 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2087 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2081); +x_2088 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2088, 0, x_2081); +lean_ctor_set(x_2088, 1, x_2086); +lean_ctor_set(x_2088, 2, x_2087); +x_2089 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2088); +x_2090 = lean_array_push(x_2089, x_2088); +x_2091 = lean_array_push(x_2090, x_1911); +x_2092 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2081); +x_2093 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2093, 0, x_2081); +lean_ctor_set(x_2093, 1, x_2092); +lean_ctor_set(x_2093, 2, x_2091); +x_2094 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2095 = lean_array_push(x_2094, x_2093); +lean_inc(x_2081); +x_2096 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2096, 0, x_2081); +lean_ctor_set(x_2096, 1, x_2086); +lean_ctor_set(x_2096, 2, x_2095); +x_2097 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2081); +x_2098 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2098, 0, x_2081); +lean_ctor_set(x_2098, 1, x_2097); +x_2099 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2081); +x_2100 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2100, 0, x_2081); +lean_ctor_set(x_2100, 1, x_2099); +x_2101 = lean_array_push(x_2094, x_14); +lean_inc(x_2081); +x_2102 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2102, 0, x_2081); +lean_ctor_set(x_2102, 1, x_2086); +lean_ctor_set(x_2102, 2, x_2101); +x_2103 = lean_array_push(x_2094, x_2102); +lean_inc(x_2081); +x_2104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2104, 0, x_2081); +lean_ctor_set(x_2104, 1, x_2086); +lean_ctor_set(x_2104, 2, x_2103); +x_2105 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2081); +x_2106 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2106, 0, x_2081); +lean_ctor_set(x_2106, 1, x_2105); +x_2107 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2108 = lean_array_push(x_2107, x_2100); +x_2109 = lean_array_push(x_2108, x_2104); +x_2110 = lean_array_push(x_2109, x_2106); +x_2111 = lean_array_push(x_2110, x_2078); +x_2112 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2081); +x_2113 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2113, 0, x_2081); +lean_ctor_set(x_2113, 1, x_2112); +lean_ctor_set(x_2113, 2, x_2111); +x_2114 = lean_array_push(x_2094, x_2113); +lean_inc(x_2081); +x_2115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2115, 0, x_2081); +lean_ctor_set(x_2115, 1, x_2086); +lean_ctor_set(x_2115, 2, x_2114); +x_2116 = lean_array_push(x_2094, x_2115); +x_2117 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2081); +x_2118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2118, 0, x_2081); +lean_ctor_set(x_2118, 1, x_2117); +lean_ctor_set(x_2118, 2, x_2116); +x_2119 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2120 = lean_array_push(x_2119, x_2085); +lean_inc(x_2088); +x_2121 = lean_array_push(x_2120, x_2088); +x_2122 = lean_array_push(x_2121, x_2088); +x_2123 = lean_array_push(x_2122, x_2096); +x_2124 = lean_array_push(x_2123, x_2098); +x_2125 = lean_array_push(x_2124, x_2118); +x_2126 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2127 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2127, 0, x_2081); +lean_ctor_set(x_2127, 1, x_2126); +lean_ctor_set(x_2127, 2, x_2125); +x_2128 = 1; +x_2129 = lean_box(x_2128); +if (lean_is_scalar(x_2079)) { + x_2130 = lean_alloc_ctor(0, 2, 0); +} else { + x_2130 = x_2079; +} +lean_ctor_set(x_2130, 0, x_2127); +lean_ctor_set(x_2130, 1, x_2129); +x_2131 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2131, 0, x_2077); +lean_ctor_set(x_2131, 1, x_2130); +if (lean_is_scalar(x_2083)) { + x_2132 = lean_alloc_ctor(0, 2, 0); +} else { + x_2132 = x_2083; +} +lean_ctor_set(x_2132, 0, x_2131); +lean_ctor_set(x_2132, 1, x_2082); +return x_2132; +} +} +else +{ +uint8_t x_2133; +lean_dec(x_1911); +lean_dec(x_14); +lean_dec(x_5); +x_2133 = !lean_is_exclusive(x_1917); +if (x_2133 == 0) +{ return x_1917; } else { -lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; lean_object* x_1997; lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; lean_object* x_2004; lean_object* x_2005; lean_object* x_2006; lean_object* x_2007; lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; uint8_t x_2012; lean_object* x_2013; lean_object* x_2014; -x_1966 = lean_ctor_get(x_1917, 0); -x_1967 = lean_ctor_get(x_1917, 1); -lean_inc(x_1967); -lean_inc(x_1966); +lean_object* x_2134; lean_object* x_2135; lean_object* x_2136; +x_2134 = lean_ctor_get(x_1917, 0); +x_2135 = lean_ctor_get(x_1917, 1); +lean_inc(x_2135); +lean_inc(x_2134); lean_dec(x_1917); -x_1968 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_1966); -x_1969 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1969, 0, x_1966); -lean_ctor_set(x_1969, 1, x_1968); -x_1970 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_1971 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_1966); -x_1972 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1972, 0, x_1966); -lean_ctor_set(x_1972, 1, x_1970); -lean_ctor_set(x_1972, 2, x_1971); -x_1973 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_1972); -x_1974 = lean_array_push(x_1973, x_1972); -x_1975 = lean_array_push(x_1974, x_1902); -x_1976 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_1966); -x_1977 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1977, 0, x_1966); -lean_ctor_set(x_1977, 1, x_1976); -lean_ctor_set(x_1977, 2, x_1975); -x_1978 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_1979 = lean_array_push(x_1978, x_1977); -lean_inc(x_1966); -x_1980 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1980, 0, x_1966); -lean_ctor_set(x_1980, 1, x_1970); -lean_ctor_set(x_1980, 2, x_1979); -x_1981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_1966); -x_1982 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1982, 0, x_1966); -lean_ctor_set(x_1982, 1, x_1981); -x_1983 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_1966); -x_1984 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1984, 0, x_1966); -lean_ctor_set(x_1984, 1, x_1983); -x_1985 = lean_array_push(x_1978, x_14); -lean_inc(x_1966); -x_1986 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1986, 0, x_1966); -lean_ctor_set(x_1986, 1, x_1970); -lean_ctor_set(x_1986, 2, x_1985); -x_1987 = lean_array_push(x_1978, x_1986); -lean_inc(x_1966); -x_1988 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1988, 0, x_1966); -lean_ctor_set(x_1988, 1, x_1970); -lean_ctor_set(x_1988, 2, x_1987); -x_1989 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_1966); -x_1990 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1990, 0, x_1966); -lean_ctor_set(x_1990, 1, x_1989); -x_1991 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_1992 = lean_array_push(x_1991, x_1984); -x_1993 = lean_array_push(x_1992, x_1988); -x_1994 = lean_array_push(x_1993, x_1990); -x_1995 = lean_array_push(x_1994, x_1915); -x_1996 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_1966); -x_1997 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1997, 0, x_1966); -lean_ctor_set(x_1997, 1, x_1996); -lean_ctor_set(x_1997, 2, x_1995); -x_1998 = lean_array_push(x_1978, x_1997); -lean_inc(x_1966); -x_1999 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1999, 0, x_1966); -lean_ctor_set(x_1999, 1, x_1970); -lean_ctor_set(x_1999, 2, x_1998); -x_2000 = lean_array_push(x_1978, x_1999); -x_2001 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_1966); -x_2002 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2002, 0, x_1966); -lean_ctor_set(x_2002, 1, x_2001); -lean_ctor_set(x_2002, 2, x_2000); -x_2003 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2004 = lean_array_push(x_2003, x_1969); -lean_inc(x_1972); -x_2005 = lean_array_push(x_2004, x_1972); -x_2006 = lean_array_push(x_2005, x_1972); -x_2007 = lean_array_push(x_2006, x_1980); -x_2008 = lean_array_push(x_2007, x_1982); -x_2009 = lean_array_push(x_2008, x_2002); -x_2010 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2011 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2011, 0, x_1966); -lean_ctor_set(x_2011, 1, x_2010); -lean_ctor_set(x_2011, 2, x_2009); -x_2012 = 1; -x_2013 = lean_box(x_2012); -lean_ctor_set(x_1910, 1, x_2013); -lean_ctor_set(x_1910, 0, x_2011); -x_2014 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2014, 0, x_1909); -lean_ctor_set(x_2014, 1, x_1967); -return x_2014; -} -} -else -{ -lean_object* x_2015; lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; lean_object* x_2026; lean_object* x_2027; lean_object* x_2028; lean_object* x_2029; lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; lean_object* x_2033; lean_object* x_2034; lean_object* x_2035; lean_object* x_2036; lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; lean_object* x_2040; lean_object* x_2041; lean_object* x_2042; lean_object* x_2043; lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; lean_object* x_2047; lean_object* x_2048; lean_object* x_2049; lean_object* x_2050; lean_object* x_2051; lean_object* x_2052; lean_object* x_2053; lean_object* x_2054; lean_object* x_2055; lean_object* x_2056; lean_object* x_2057; lean_object* x_2058; lean_object* x_2059; lean_object* x_2060; lean_object* x_2061; lean_object* x_2062; lean_object* x_2063; uint8_t x_2064; lean_object* x_2065; lean_object* x_2066; lean_object* x_2067; -x_2015 = lean_ctor_get(x_1910, 0); -lean_inc(x_2015); -lean_dec(x_1910); -x_2016 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1911); -x_2017 = lean_ctor_get(x_2016, 0); -lean_inc(x_2017); -x_2018 = lean_ctor_get(x_2016, 1); -lean_inc(x_2018); -if (lean_is_exclusive(x_2016)) { - lean_ctor_release(x_2016, 0); - lean_ctor_release(x_2016, 1); - x_2019 = x_2016; -} else { - lean_dec_ref(x_2016); - x_2019 = lean_box(0); -} -x_2020 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2017); -x_2021 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2021, 0, x_2017); -lean_ctor_set(x_2021, 1, x_2020); -x_2022 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2023 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2017); -x_2024 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2024, 0, x_2017); -lean_ctor_set(x_2024, 1, x_2022); -lean_ctor_set(x_2024, 2, x_2023); -x_2025 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2024); -x_2026 = lean_array_push(x_2025, x_2024); -x_2027 = lean_array_push(x_2026, x_1902); -x_2028 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2017); -x_2029 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2029, 0, x_2017); -lean_ctor_set(x_2029, 1, x_2028); -lean_ctor_set(x_2029, 2, x_2027); -x_2030 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2031 = lean_array_push(x_2030, x_2029); -lean_inc(x_2017); -x_2032 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2032, 0, x_2017); -lean_ctor_set(x_2032, 1, x_2022); -lean_ctor_set(x_2032, 2, x_2031); -x_2033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2017); -x_2034 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2034, 0, x_2017); -lean_ctor_set(x_2034, 1, x_2033); -x_2035 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2017); -x_2036 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2036, 0, x_2017); -lean_ctor_set(x_2036, 1, x_2035); -x_2037 = lean_array_push(x_2030, x_14); -lean_inc(x_2017); -x_2038 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2038, 0, x_2017); -lean_ctor_set(x_2038, 1, x_2022); -lean_ctor_set(x_2038, 2, x_2037); -x_2039 = lean_array_push(x_2030, x_2038); -lean_inc(x_2017); -x_2040 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2040, 0, x_2017); -lean_ctor_set(x_2040, 1, x_2022); -lean_ctor_set(x_2040, 2, x_2039); -x_2041 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2017); -x_2042 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2042, 0, x_2017); -lean_ctor_set(x_2042, 1, x_2041); -x_2043 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2044 = lean_array_push(x_2043, x_2036); -x_2045 = lean_array_push(x_2044, x_2040); -x_2046 = lean_array_push(x_2045, x_2042); -x_2047 = lean_array_push(x_2046, x_2015); -x_2048 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2017); -x_2049 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2049, 0, x_2017); -lean_ctor_set(x_2049, 1, x_2048); -lean_ctor_set(x_2049, 2, x_2047); -x_2050 = lean_array_push(x_2030, x_2049); -lean_inc(x_2017); -x_2051 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2051, 0, x_2017); -lean_ctor_set(x_2051, 1, x_2022); -lean_ctor_set(x_2051, 2, x_2050); -x_2052 = lean_array_push(x_2030, x_2051); -x_2053 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2017); -x_2054 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2054, 0, x_2017); -lean_ctor_set(x_2054, 1, x_2053); -lean_ctor_set(x_2054, 2, x_2052); -x_2055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2056 = lean_array_push(x_2055, x_2021); -lean_inc(x_2024); -x_2057 = lean_array_push(x_2056, x_2024); -x_2058 = lean_array_push(x_2057, x_2024); -x_2059 = lean_array_push(x_2058, x_2032); -x_2060 = lean_array_push(x_2059, x_2034); -x_2061 = lean_array_push(x_2060, x_2054); -x_2062 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2063 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2063, 0, x_2017); -lean_ctor_set(x_2063, 1, x_2062); -lean_ctor_set(x_2063, 2, x_2061); -x_2064 = 1; -x_2065 = lean_box(x_2064); -x_2066 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2066, 0, x_2063); -lean_ctor_set(x_2066, 1, x_2065); -lean_ctor_set(x_1909, 1, x_2066); -if (lean_is_scalar(x_2019)) { - x_2067 = lean_alloc_ctor(0, 2, 0); -} else { - x_2067 = x_2019; -} -lean_ctor_set(x_2067, 0, x_1909); -lean_ctor_set(x_2067, 1, x_2018); -return x_2067; -} -} -else -{ -lean_object* x_2068; lean_object* x_2069; lean_object* x_2070; lean_object* x_2071; lean_object* x_2072; lean_object* x_2073; lean_object* x_2074; lean_object* x_2075; lean_object* x_2076; lean_object* x_2077; lean_object* x_2078; lean_object* x_2079; lean_object* x_2080; lean_object* x_2081; lean_object* x_2082; lean_object* x_2083; lean_object* x_2084; lean_object* x_2085; lean_object* x_2086; lean_object* x_2087; lean_object* x_2088; lean_object* x_2089; lean_object* x_2090; lean_object* x_2091; lean_object* x_2092; lean_object* x_2093; lean_object* x_2094; lean_object* x_2095; lean_object* x_2096; lean_object* x_2097; lean_object* x_2098; lean_object* x_2099; lean_object* x_2100; lean_object* x_2101; lean_object* x_2102; lean_object* x_2103; lean_object* x_2104; lean_object* x_2105; lean_object* x_2106; lean_object* x_2107; lean_object* x_2108; lean_object* x_2109; lean_object* x_2110; lean_object* x_2111; lean_object* x_2112; lean_object* x_2113; lean_object* x_2114; lean_object* x_2115; lean_object* x_2116; lean_object* x_2117; lean_object* x_2118; uint8_t x_2119; lean_object* x_2120; lean_object* x_2121; lean_object* x_2122; lean_object* x_2123; -x_2068 = lean_ctor_get(x_1909, 0); -lean_inc(x_2068); -lean_dec(x_1909); -x_2069 = lean_ctor_get(x_1910, 0); -lean_inc(x_2069); -if (lean_is_exclusive(x_1910)) { - lean_ctor_release(x_1910, 0); - lean_ctor_release(x_1910, 1); - x_2070 = x_1910; -} else { - lean_dec_ref(x_1910); - x_2070 = lean_box(0); -} -x_2071 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_1911); -x_2072 = lean_ctor_get(x_2071, 0); -lean_inc(x_2072); -x_2073 = lean_ctor_get(x_2071, 1); -lean_inc(x_2073); -if (lean_is_exclusive(x_2071)) { - lean_ctor_release(x_2071, 0); - lean_ctor_release(x_2071, 1); - x_2074 = x_2071; -} else { - lean_dec_ref(x_2071); - x_2074 = lean_box(0); -} -x_2075 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2072); -x_2076 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2076, 0, x_2072); -lean_ctor_set(x_2076, 1, x_2075); -x_2077 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2078 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2072); -x_2079 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2079, 0, x_2072); -lean_ctor_set(x_2079, 1, x_2077); -lean_ctor_set(x_2079, 2, x_2078); -x_2080 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2079); -x_2081 = lean_array_push(x_2080, x_2079); -x_2082 = lean_array_push(x_2081, x_1902); -x_2083 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2072); -x_2084 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2084, 0, x_2072); -lean_ctor_set(x_2084, 1, x_2083); -lean_ctor_set(x_2084, 2, x_2082); -x_2085 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2086 = lean_array_push(x_2085, x_2084); -lean_inc(x_2072); -x_2087 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2087, 0, x_2072); -lean_ctor_set(x_2087, 1, x_2077); -lean_ctor_set(x_2087, 2, x_2086); -x_2088 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2072); -x_2089 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2089, 0, x_2072); -lean_ctor_set(x_2089, 1, x_2088); -x_2090 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2072); -x_2091 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2091, 0, x_2072); -lean_ctor_set(x_2091, 1, x_2090); -x_2092 = lean_array_push(x_2085, x_14); -lean_inc(x_2072); -x_2093 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2093, 0, x_2072); -lean_ctor_set(x_2093, 1, x_2077); -lean_ctor_set(x_2093, 2, x_2092); -x_2094 = lean_array_push(x_2085, x_2093); -lean_inc(x_2072); -x_2095 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2095, 0, x_2072); -lean_ctor_set(x_2095, 1, x_2077); -lean_ctor_set(x_2095, 2, x_2094); -x_2096 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2072); -x_2097 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2097, 0, x_2072); -lean_ctor_set(x_2097, 1, x_2096); -x_2098 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2099 = lean_array_push(x_2098, x_2091); -x_2100 = lean_array_push(x_2099, x_2095); -x_2101 = lean_array_push(x_2100, x_2097); -x_2102 = lean_array_push(x_2101, x_2069); -x_2103 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2072); -x_2104 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2104, 0, x_2072); -lean_ctor_set(x_2104, 1, x_2103); -lean_ctor_set(x_2104, 2, x_2102); -x_2105 = lean_array_push(x_2085, x_2104); -lean_inc(x_2072); -x_2106 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2106, 0, x_2072); -lean_ctor_set(x_2106, 1, x_2077); -lean_ctor_set(x_2106, 2, x_2105); -x_2107 = lean_array_push(x_2085, x_2106); -x_2108 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2072); -x_2109 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2109, 0, x_2072); -lean_ctor_set(x_2109, 1, x_2108); -lean_ctor_set(x_2109, 2, x_2107); -x_2110 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2111 = lean_array_push(x_2110, x_2076); -lean_inc(x_2079); -x_2112 = lean_array_push(x_2111, x_2079); -x_2113 = lean_array_push(x_2112, x_2079); -x_2114 = lean_array_push(x_2113, x_2087); -x_2115 = lean_array_push(x_2114, x_2089); -x_2116 = lean_array_push(x_2115, x_2109); -x_2117 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2118, 0, x_2072); -lean_ctor_set(x_2118, 1, x_2117); -lean_ctor_set(x_2118, 2, x_2116); -x_2119 = 1; -x_2120 = lean_box(x_2119); -if (lean_is_scalar(x_2070)) { - x_2121 = lean_alloc_ctor(0, 2, 0); -} else { - x_2121 = x_2070; -} -lean_ctor_set(x_2121, 0, x_2118); -lean_ctor_set(x_2121, 1, x_2120); -x_2122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2122, 0, x_2068); -lean_ctor_set(x_2122, 1, x_2121); -if (lean_is_scalar(x_2074)) { - x_2123 = lean_alloc_ctor(0, 2, 0); -} else { - x_2123 = x_2074; -} -lean_ctor_set(x_2123, 0, x_2122); -lean_ctor_set(x_2123, 1, x_2073); -return x_2123; -} -} -else -{ -uint8_t x_2124; -lean_dec(x_1902); -lean_dec(x_14); -lean_dec(x_5); -x_2124 = !lean_is_exclusive(x_1908); -if (x_2124 == 0) -{ -return x_1908; -} -else -{ -lean_object* x_2125; lean_object* x_2126; lean_object* x_2127; -x_2125 = lean_ctor_get(x_1908, 0); -x_2126 = lean_ctor_get(x_1908, 1); -lean_inc(x_2126); -lean_inc(x_2125); -lean_dec(x_1908); -x_2127 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2127, 0, x_2125); -lean_ctor_set(x_2127, 1, x_2126); -return x_2127; +x_2136 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2136, 0, x_2134); +lean_ctor_set(x_2136, 1, x_2135); +return x_2136; } } } else { -lean_object* x_2128; lean_object* x_2129; size_t x_2130; size_t x_2131; lean_object* x_2132; lean_object* x_2133; -x_2128 = lean_nat_add(x_3, x_1189); +lean_object* x_2137; lean_object* x_2138; size_t x_2139; size_t x_2140; lean_object* x_2141; lean_object* x_2142; +x_2137 = lean_nat_add(x_3, x_1194); lean_dec(x_3); -x_2129 = lean_array_get_size(x_1898); -x_2130 = lean_usize_of_nat(x_2129); -lean_dec(x_2129); -x_2131 = 0; -x_2132 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(x_14, x_2130, x_2131, x_1898); -x_2133 = l_Array_append___rarg(x_4, x_2132); -x_3 = x_2128; -x_4 = x_2133; -x_6 = x_1900; +x_2138 = lean_array_get_size(x_1906); +x_2139 = lean_usize_of_nat(x_2138); +lean_dec(x_2138); +x_2140 = 0; +x_2141 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__4(x_14, x_2139, x_2140, x_1906); +x_2142 = l_Array_append___rarg(x_4, x_2141); +x_3 = x_2137; +x_4 = x_2142; +x_6 = x_1908; goto _start; } } @@ -14012,560 +14034,561 @@ goto _start; } else { -lean_object* x_2164; lean_object* x_2165; lean_object* x_2166; lean_object* x_2167; lean_object* x_2168; lean_object* x_2169; lean_object* x_2170; lean_object* x_2171; -lean_dec(x_1190); +uint8_t x_2173; lean_object* x_2174; lean_object* x_2175; lean_object* x_2176; lean_object* x_2177; lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; lean_object* x_2181; +lean_dec(x_1195); +x_2173 = 0; lean_inc(x_5); lean_inc(x_14); -x_2164 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2165 = lean_ctor_get(x_2164, 0); -lean_inc(x_2165); -x_2166 = lean_ctor_get(x_2164, 1); -lean_inc(x_2166); -lean_dec(x_2164); -x_2167 = lean_nat_add(x_3, x_1189); +x_2174 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_2173, x_5, x_6); +x_2175 = lean_ctor_get(x_2174, 0); +lean_inc(x_2175); +x_2176 = lean_ctor_get(x_2174, 1); +lean_inc(x_2176); +lean_dec(x_2174); +x_2177 = lean_nat_add(x_3, x_1194); lean_dec(x_3); lean_inc(x_14); -x_2168 = l_Lean_mkHole(x_14); -lean_inc(x_2165); -x_2169 = l_Lean_Elab_Term_mkExplicitBinder(x_2165, x_2168); -x_2170 = lean_array_push(x_4, x_2169); +x_2178 = l_Lean_mkHole(x_14, x_2173); +lean_inc(x_2175); +x_2179 = l_Lean_Elab_Term_mkExplicitBinder(x_2175, x_2178); +x_2180 = lean_array_push(x_4, x_2179); lean_inc(x_5); -x_2171 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2167, x_2170, x_5, x_2166); -if (lean_obj_tag(x_2171) == 0) +x_2181 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2177, x_2180, x_5, x_2176); +if (lean_obj_tag(x_2181) == 0) { -lean_object* x_2172; lean_object* x_2173; lean_object* x_2174; uint8_t x_2175; -x_2172 = lean_ctor_get(x_2171, 0); -lean_inc(x_2172); -x_2173 = lean_ctor_get(x_2172, 1); -lean_inc(x_2173); -x_2174 = lean_ctor_get(x_2171, 1); -lean_inc(x_2174); -lean_dec(x_2171); -x_2175 = !lean_is_exclusive(x_2172); -if (x_2175 == 0) +lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; uint8_t x_2185; +x_2182 = lean_ctor_get(x_2181, 0); +lean_inc(x_2182); +x_2183 = lean_ctor_get(x_2182, 1); +lean_inc(x_2183); +x_2184 = lean_ctor_get(x_2181, 1); +lean_inc(x_2184); +lean_dec(x_2181); +x_2185 = !lean_is_exclusive(x_2182); +if (x_2185 == 0) { -lean_object* x_2176; uint8_t x_2177; -x_2176 = lean_ctor_get(x_2172, 1); -lean_dec(x_2176); -x_2177 = !lean_is_exclusive(x_2173); -if (x_2177 == 0) +lean_object* x_2186; uint8_t x_2187; +x_2186 = lean_ctor_get(x_2182, 1); +lean_dec(x_2186); +x_2187 = !lean_is_exclusive(x_2183); +if (x_2187 == 0) { -lean_object* x_2178; lean_object* x_2179; lean_object* x_2180; uint8_t x_2181; -x_2178 = lean_ctor_get(x_2173, 0); -x_2179 = lean_ctor_get(x_2173, 1); -lean_dec(x_2179); -x_2180 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2174); -x_2181 = !lean_is_exclusive(x_2180); -if (x_2181 == 0) +lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; uint8_t x_2191; +x_2188 = lean_ctor_get(x_2183, 0); +x_2189 = lean_ctor_get(x_2183, 1); +lean_dec(x_2189); +x_2190 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2184); +x_2191 = !lean_is_exclusive(x_2190); +if (x_2191 == 0) { -lean_object* x_2182; lean_object* x_2183; lean_object* x_2184; lean_object* x_2185; lean_object* x_2186; lean_object* x_2187; lean_object* x_2188; lean_object* x_2189; lean_object* x_2190; lean_object* x_2191; lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; uint8_t x_2227; lean_object* x_2228; -x_2182 = lean_ctor_get(x_2180, 0); -x_2183 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2182); -x_2184 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2184, 0, x_2182); -lean_ctor_set(x_2184, 1, x_2183); -x_2185 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2186 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2182); -x_2187 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2187, 0, x_2182); -lean_ctor_set(x_2187, 1, x_2185); -lean_ctor_set(x_2187, 2, x_2186); -x_2188 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2187); -x_2189 = lean_array_push(x_2188, x_2187); -x_2190 = lean_array_push(x_2189, x_2165); -x_2191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2182); -x_2192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2192, 0, x_2182); -lean_ctor_set(x_2192, 1, x_2191); -lean_ctor_set(x_2192, 2, x_2190); -x_2193 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2194 = lean_array_push(x_2193, x_2192); -lean_inc(x_2182); -x_2195 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2195, 0, x_2182); -lean_ctor_set(x_2195, 1, x_2185); -lean_ctor_set(x_2195, 2, x_2194); -x_2196 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2182); -x_2197 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2197, 0, x_2182); -lean_ctor_set(x_2197, 1, x_2196); -x_2198 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2182); -x_2199 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2199, 0, x_2182); -lean_ctor_set(x_2199, 1, x_2198); -x_2200 = lean_array_push(x_2193, x_14); -lean_inc(x_2182); -x_2201 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2201, 0, x_2182); -lean_ctor_set(x_2201, 1, x_2185); -lean_ctor_set(x_2201, 2, x_2200); -x_2202 = lean_array_push(x_2193, x_2201); -lean_inc(x_2182); -x_2203 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2203, 0, x_2182); -lean_ctor_set(x_2203, 1, x_2185); -lean_ctor_set(x_2203, 2, x_2202); -x_2204 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2182); -x_2205 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2205, 0, x_2182); -lean_ctor_set(x_2205, 1, x_2204); -x_2206 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2207 = lean_array_push(x_2206, x_2199); -x_2208 = lean_array_push(x_2207, x_2203); -x_2209 = lean_array_push(x_2208, x_2205); -x_2210 = lean_array_push(x_2209, x_2178); -x_2211 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2182); -x_2212 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2212, 0, x_2182); -lean_ctor_set(x_2212, 1, x_2211); -lean_ctor_set(x_2212, 2, x_2210); -x_2213 = lean_array_push(x_2193, x_2212); -lean_inc(x_2182); -x_2214 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2214, 0, x_2182); -lean_ctor_set(x_2214, 1, x_2185); -lean_ctor_set(x_2214, 2, x_2213); -x_2215 = lean_array_push(x_2193, x_2214); -x_2216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2182); -x_2217 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2217, 0, x_2182); -lean_ctor_set(x_2217, 1, x_2216); -lean_ctor_set(x_2217, 2, x_2215); -x_2218 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2219 = lean_array_push(x_2218, x_2184); -lean_inc(x_2187); -x_2220 = lean_array_push(x_2219, x_2187); -x_2221 = lean_array_push(x_2220, x_2187); -x_2222 = lean_array_push(x_2221, x_2195); -x_2223 = lean_array_push(x_2222, x_2197); -x_2224 = lean_array_push(x_2223, x_2217); -x_2225 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2226 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2226, 0, x_2182); -lean_ctor_set(x_2226, 1, x_2225); -lean_ctor_set(x_2226, 2, x_2224); -x_2227 = 1; -x_2228 = lean_box(x_2227); -lean_ctor_set(x_2173, 1, x_2228); -lean_ctor_set(x_2173, 0, x_2226); -lean_ctor_set(x_2180, 0, x_2172); -return x_2180; +lean_object* x_2192; lean_object* x_2193; lean_object* x_2194; lean_object* x_2195; lean_object* x_2196; lean_object* x_2197; lean_object* x_2198; lean_object* x_2199; lean_object* x_2200; lean_object* x_2201; lean_object* x_2202; lean_object* x_2203; lean_object* x_2204; lean_object* x_2205; lean_object* x_2206; lean_object* x_2207; lean_object* x_2208; lean_object* x_2209; lean_object* x_2210; lean_object* x_2211; lean_object* x_2212; lean_object* x_2213; lean_object* x_2214; lean_object* x_2215; lean_object* x_2216; lean_object* x_2217; lean_object* x_2218; lean_object* x_2219; lean_object* x_2220; lean_object* x_2221; lean_object* x_2222; lean_object* x_2223; lean_object* x_2224; lean_object* x_2225; lean_object* x_2226; lean_object* x_2227; lean_object* x_2228; lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; uint8_t x_2237; lean_object* x_2238; +x_2192 = lean_ctor_get(x_2190, 0); +x_2193 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2192); +x_2194 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2194, 0, x_2192); +lean_ctor_set(x_2194, 1, x_2193); +x_2195 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2196 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2192); +x_2197 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2197, 0, x_2192); +lean_ctor_set(x_2197, 1, x_2195); +lean_ctor_set(x_2197, 2, x_2196); +x_2198 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2197); +x_2199 = lean_array_push(x_2198, x_2197); +x_2200 = lean_array_push(x_2199, x_2175); +x_2201 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2192); +x_2202 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2202, 0, x_2192); +lean_ctor_set(x_2202, 1, x_2201); +lean_ctor_set(x_2202, 2, x_2200); +x_2203 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2204 = lean_array_push(x_2203, x_2202); +lean_inc(x_2192); +x_2205 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2205, 0, x_2192); +lean_ctor_set(x_2205, 1, x_2195); +lean_ctor_set(x_2205, 2, x_2204); +x_2206 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2192); +x_2207 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2207, 0, x_2192); +lean_ctor_set(x_2207, 1, x_2206); +x_2208 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2192); +x_2209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2209, 0, x_2192); +lean_ctor_set(x_2209, 1, x_2208); +x_2210 = lean_array_push(x_2203, x_14); +lean_inc(x_2192); +x_2211 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2211, 0, x_2192); +lean_ctor_set(x_2211, 1, x_2195); +lean_ctor_set(x_2211, 2, x_2210); +x_2212 = lean_array_push(x_2203, x_2211); +lean_inc(x_2192); +x_2213 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2213, 0, x_2192); +lean_ctor_set(x_2213, 1, x_2195); +lean_ctor_set(x_2213, 2, x_2212); +x_2214 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2192); +x_2215 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2215, 0, x_2192); +lean_ctor_set(x_2215, 1, x_2214); +x_2216 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2217 = lean_array_push(x_2216, x_2209); +x_2218 = lean_array_push(x_2217, x_2213); +x_2219 = lean_array_push(x_2218, x_2215); +x_2220 = lean_array_push(x_2219, x_2188); +x_2221 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2192); +x_2222 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2222, 0, x_2192); +lean_ctor_set(x_2222, 1, x_2221); +lean_ctor_set(x_2222, 2, x_2220); +x_2223 = lean_array_push(x_2203, x_2222); +lean_inc(x_2192); +x_2224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2224, 0, x_2192); +lean_ctor_set(x_2224, 1, x_2195); +lean_ctor_set(x_2224, 2, x_2223); +x_2225 = lean_array_push(x_2203, x_2224); +x_2226 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2192); +x_2227 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2227, 0, x_2192); +lean_ctor_set(x_2227, 1, x_2226); +lean_ctor_set(x_2227, 2, x_2225); +x_2228 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2229 = lean_array_push(x_2228, x_2194); +lean_inc(x_2197); +x_2230 = lean_array_push(x_2229, x_2197); +x_2231 = lean_array_push(x_2230, x_2197); +x_2232 = lean_array_push(x_2231, x_2205); +x_2233 = lean_array_push(x_2232, x_2207); +x_2234 = lean_array_push(x_2233, x_2227); +x_2235 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2236, 0, x_2192); +lean_ctor_set(x_2236, 1, x_2235); +lean_ctor_set(x_2236, 2, x_2234); +x_2237 = 1; +x_2238 = lean_box(x_2237); +lean_ctor_set(x_2183, 1, x_2238); +lean_ctor_set(x_2183, 0, x_2236); +lean_ctor_set(x_2190, 0, x_2182); +return x_2190; } else { -lean_object* x_2229; lean_object* x_2230; lean_object* x_2231; lean_object* x_2232; lean_object* x_2233; lean_object* x_2234; lean_object* x_2235; lean_object* x_2236; lean_object* x_2237; lean_object* x_2238; lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; uint8_t x_2275; lean_object* x_2276; lean_object* x_2277; -x_2229 = lean_ctor_get(x_2180, 0); -x_2230 = lean_ctor_get(x_2180, 1); -lean_inc(x_2230); -lean_inc(x_2229); -lean_dec(x_2180); -x_2231 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2229); -x_2232 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2232, 0, x_2229); -lean_ctor_set(x_2232, 1, x_2231); -x_2233 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2234 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2229); -x_2235 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2235, 0, x_2229); -lean_ctor_set(x_2235, 1, x_2233); -lean_ctor_set(x_2235, 2, x_2234); -x_2236 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2235); -x_2237 = lean_array_push(x_2236, x_2235); -x_2238 = lean_array_push(x_2237, x_2165); -x_2239 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2229); -x_2240 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2240, 0, x_2229); -lean_ctor_set(x_2240, 1, x_2239); -lean_ctor_set(x_2240, 2, x_2238); -x_2241 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2242 = lean_array_push(x_2241, x_2240); -lean_inc(x_2229); -x_2243 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2243, 0, x_2229); -lean_ctor_set(x_2243, 1, x_2233); -lean_ctor_set(x_2243, 2, x_2242); -x_2244 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2229); -x_2245 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2245, 0, x_2229); -lean_ctor_set(x_2245, 1, x_2244); -x_2246 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2229); -x_2247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2247, 0, x_2229); -lean_ctor_set(x_2247, 1, x_2246); -x_2248 = lean_array_push(x_2241, x_14); -lean_inc(x_2229); -x_2249 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2249, 0, x_2229); -lean_ctor_set(x_2249, 1, x_2233); -lean_ctor_set(x_2249, 2, x_2248); -x_2250 = lean_array_push(x_2241, x_2249); -lean_inc(x_2229); -x_2251 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2251, 0, x_2229); -lean_ctor_set(x_2251, 1, x_2233); -lean_ctor_set(x_2251, 2, x_2250); -x_2252 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2229); -x_2253 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2253, 0, x_2229); -lean_ctor_set(x_2253, 1, x_2252); -x_2254 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2255 = lean_array_push(x_2254, x_2247); -x_2256 = lean_array_push(x_2255, x_2251); -x_2257 = lean_array_push(x_2256, x_2253); -x_2258 = lean_array_push(x_2257, x_2178); -x_2259 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2229); -x_2260 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2260, 0, x_2229); -lean_ctor_set(x_2260, 1, x_2259); -lean_ctor_set(x_2260, 2, x_2258); -x_2261 = lean_array_push(x_2241, x_2260); -lean_inc(x_2229); -x_2262 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2262, 0, x_2229); -lean_ctor_set(x_2262, 1, x_2233); -lean_ctor_set(x_2262, 2, x_2261); -x_2263 = lean_array_push(x_2241, x_2262); -x_2264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2229); -x_2265 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2265, 0, x_2229); -lean_ctor_set(x_2265, 1, x_2264); -lean_ctor_set(x_2265, 2, x_2263); -x_2266 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2267 = lean_array_push(x_2266, x_2232); -lean_inc(x_2235); -x_2268 = lean_array_push(x_2267, x_2235); -x_2269 = lean_array_push(x_2268, x_2235); -x_2270 = lean_array_push(x_2269, x_2243); -x_2271 = lean_array_push(x_2270, x_2245); -x_2272 = lean_array_push(x_2271, x_2265); -x_2273 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2274 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2274, 0, x_2229); -lean_ctor_set(x_2274, 1, x_2273); -lean_ctor_set(x_2274, 2, x_2272); -x_2275 = 1; -x_2276 = lean_box(x_2275); -lean_ctor_set(x_2173, 1, x_2276); -lean_ctor_set(x_2173, 0, x_2274); -x_2277 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2277, 0, x_2172); -lean_ctor_set(x_2277, 1, x_2230); -return x_2277; -} -} -else -{ -lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; lean_object* x_2285; lean_object* x_2286; lean_object* x_2287; lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; uint8_t x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; -x_2278 = lean_ctor_get(x_2173, 0); -lean_inc(x_2278); -lean_dec(x_2173); -x_2279 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2174); -x_2280 = lean_ctor_get(x_2279, 0); -lean_inc(x_2280); -x_2281 = lean_ctor_get(x_2279, 1); -lean_inc(x_2281); -if (lean_is_exclusive(x_2279)) { - lean_ctor_release(x_2279, 0); - lean_ctor_release(x_2279, 1); - x_2282 = x_2279; -} else { - lean_dec_ref(x_2279); - x_2282 = lean_box(0); -} -x_2283 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2280); -x_2284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2284, 0, x_2280); +lean_object* x_2239; lean_object* x_2240; lean_object* x_2241; lean_object* x_2242; lean_object* x_2243; lean_object* x_2244; lean_object* x_2245; lean_object* x_2246; lean_object* x_2247; lean_object* x_2248; lean_object* x_2249; lean_object* x_2250; lean_object* x_2251; lean_object* x_2252; lean_object* x_2253; lean_object* x_2254; lean_object* x_2255; lean_object* x_2256; lean_object* x_2257; lean_object* x_2258; lean_object* x_2259; lean_object* x_2260; lean_object* x_2261; lean_object* x_2262; lean_object* x_2263; lean_object* x_2264; lean_object* x_2265; lean_object* x_2266; lean_object* x_2267; lean_object* x_2268; lean_object* x_2269; lean_object* x_2270; lean_object* x_2271; lean_object* x_2272; lean_object* x_2273; lean_object* x_2274; lean_object* x_2275; lean_object* x_2276; lean_object* x_2277; lean_object* x_2278; lean_object* x_2279; lean_object* x_2280; lean_object* x_2281; lean_object* x_2282; lean_object* x_2283; lean_object* x_2284; uint8_t x_2285; lean_object* x_2286; lean_object* x_2287; +x_2239 = lean_ctor_get(x_2190, 0); +x_2240 = lean_ctor_get(x_2190, 1); +lean_inc(x_2240); +lean_inc(x_2239); +lean_dec(x_2190); +x_2241 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2239); +x_2242 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2242, 0, x_2239); +lean_ctor_set(x_2242, 1, x_2241); +x_2243 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2244 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2239); +x_2245 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2245, 0, x_2239); +lean_ctor_set(x_2245, 1, x_2243); +lean_ctor_set(x_2245, 2, x_2244); +x_2246 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2245); +x_2247 = lean_array_push(x_2246, x_2245); +x_2248 = lean_array_push(x_2247, x_2175); +x_2249 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2239); +x_2250 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2250, 0, x_2239); +lean_ctor_set(x_2250, 1, x_2249); +lean_ctor_set(x_2250, 2, x_2248); +x_2251 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2252 = lean_array_push(x_2251, x_2250); +lean_inc(x_2239); +x_2253 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2253, 0, x_2239); +lean_ctor_set(x_2253, 1, x_2243); +lean_ctor_set(x_2253, 2, x_2252); +x_2254 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2239); +x_2255 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2255, 0, x_2239); +lean_ctor_set(x_2255, 1, x_2254); +x_2256 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2239); +x_2257 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2257, 0, x_2239); +lean_ctor_set(x_2257, 1, x_2256); +x_2258 = lean_array_push(x_2251, x_14); +lean_inc(x_2239); +x_2259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2259, 0, x_2239); +lean_ctor_set(x_2259, 1, x_2243); +lean_ctor_set(x_2259, 2, x_2258); +x_2260 = lean_array_push(x_2251, x_2259); +lean_inc(x_2239); +x_2261 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2261, 0, x_2239); +lean_ctor_set(x_2261, 1, x_2243); +lean_ctor_set(x_2261, 2, x_2260); +x_2262 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2239); +x_2263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2263, 0, x_2239); +lean_ctor_set(x_2263, 1, x_2262); +x_2264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2265 = lean_array_push(x_2264, x_2257); +x_2266 = lean_array_push(x_2265, x_2261); +x_2267 = lean_array_push(x_2266, x_2263); +x_2268 = lean_array_push(x_2267, x_2188); +x_2269 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2239); +x_2270 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2270, 0, x_2239); +lean_ctor_set(x_2270, 1, x_2269); +lean_ctor_set(x_2270, 2, x_2268); +x_2271 = lean_array_push(x_2251, x_2270); +lean_inc(x_2239); +x_2272 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2272, 0, x_2239); +lean_ctor_set(x_2272, 1, x_2243); +lean_ctor_set(x_2272, 2, x_2271); +x_2273 = lean_array_push(x_2251, x_2272); +x_2274 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2239); +x_2275 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2275, 0, x_2239); +lean_ctor_set(x_2275, 1, x_2274); +lean_ctor_set(x_2275, 2, x_2273); +x_2276 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2277 = lean_array_push(x_2276, x_2242); +lean_inc(x_2245); +x_2278 = lean_array_push(x_2277, x_2245); +x_2279 = lean_array_push(x_2278, x_2245); +x_2280 = lean_array_push(x_2279, x_2253); +x_2281 = lean_array_push(x_2280, x_2255); +x_2282 = lean_array_push(x_2281, x_2275); +x_2283 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2284 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2284, 0, x_2239); lean_ctor_set(x_2284, 1, x_2283); -x_2285 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2286 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2280); -x_2287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2287, 0, x_2280); -lean_ctor_set(x_2287, 1, x_2285); -lean_ctor_set(x_2287, 2, x_2286); -x_2288 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2287); -x_2289 = lean_array_push(x_2288, x_2287); -x_2290 = lean_array_push(x_2289, x_2165); -x_2291 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2280); -x_2292 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2292, 0, x_2280); -lean_ctor_set(x_2292, 1, x_2291); -lean_ctor_set(x_2292, 2, x_2290); -x_2293 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2294 = lean_array_push(x_2293, x_2292); -lean_inc(x_2280); -x_2295 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2295, 0, x_2280); -lean_ctor_set(x_2295, 1, x_2285); -lean_ctor_set(x_2295, 2, x_2294); -x_2296 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2280); -x_2297 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2297, 0, x_2280); -lean_ctor_set(x_2297, 1, x_2296); -x_2298 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2280); -x_2299 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2299, 0, x_2280); -lean_ctor_set(x_2299, 1, x_2298); -x_2300 = lean_array_push(x_2293, x_14); -lean_inc(x_2280); -x_2301 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2301, 0, x_2280); -lean_ctor_set(x_2301, 1, x_2285); -lean_ctor_set(x_2301, 2, x_2300); -x_2302 = lean_array_push(x_2293, x_2301); -lean_inc(x_2280); -x_2303 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2303, 0, x_2280); -lean_ctor_set(x_2303, 1, x_2285); -lean_ctor_set(x_2303, 2, x_2302); -x_2304 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2280); -x_2305 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2305, 0, x_2280); -lean_ctor_set(x_2305, 1, x_2304); -x_2306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2307 = lean_array_push(x_2306, x_2299); -x_2308 = lean_array_push(x_2307, x_2303); -x_2309 = lean_array_push(x_2308, x_2305); -x_2310 = lean_array_push(x_2309, x_2278); -x_2311 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2280); -x_2312 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2312, 0, x_2280); -lean_ctor_set(x_2312, 1, x_2311); -lean_ctor_set(x_2312, 2, x_2310); -x_2313 = lean_array_push(x_2293, x_2312); -lean_inc(x_2280); -x_2314 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2314, 0, x_2280); -lean_ctor_set(x_2314, 1, x_2285); -lean_ctor_set(x_2314, 2, x_2313); -x_2315 = lean_array_push(x_2293, x_2314); -x_2316 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2280); -x_2317 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2317, 0, x_2280); -lean_ctor_set(x_2317, 1, x_2316); -lean_ctor_set(x_2317, 2, x_2315); -x_2318 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2319 = lean_array_push(x_2318, x_2284); -lean_inc(x_2287); -x_2320 = lean_array_push(x_2319, x_2287); -x_2321 = lean_array_push(x_2320, x_2287); -x_2322 = lean_array_push(x_2321, x_2295); -x_2323 = lean_array_push(x_2322, x_2297); -x_2324 = lean_array_push(x_2323, x_2317); -x_2325 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2326 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2326, 0, x_2280); -lean_ctor_set(x_2326, 1, x_2325); -lean_ctor_set(x_2326, 2, x_2324); -x_2327 = 1; -x_2328 = lean_box(x_2327); -x_2329 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2329, 0, x_2326); -lean_ctor_set(x_2329, 1, x_2328); -lean_ctor_set(x_2172, 1, x_2329); -if (lean_is_scalar(x_2282)) { - x_2330 = lean_alloc_ctor(0, 2, 0); -} else { - x_2330 = x_2282; -} -lean_ctor_set(x_2330, 0, x_2172); -lean_ctor_set(x_2330, 1, x_2281); -return x_2330; +lean_ctor_set(x_2284, 2, x_2282); +x_2285 = 1; +x_2286 = lean_box(x_2285); +lean_ctor_set(x_2183, 1, x_2286); +lean_ctor_set(x_2183, 0, x_2284); +x_2287 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2287, 0, x_2182); +lean_ctor_set(x_2287, 1, x_2240); +return x_2287; } } else { -lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; lean_object* x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; uint8_t x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; -x_2331 = lean_ctor_get(x_2172, 0); -lean_inc(x_2331); -lean_dec(x_2172); -x_2332 = lean_ctor_get(x_2173, 0); -lean_inc(x_2332); -if (lean_is_exclusive(x_2173)) { - lean_ctor_release(x_2173, 0); - lean_ctor_release(x_2173, 1); - x_2333 = x_2173; +lean_object* x_2288; lean_object* x_2289; lean_object* x_2290; lean_object* x_2291; lean_object* x_2292; lean_object* x_2293; lean_object* x_2294; lean_object* x_2295; lean_object* x_2296; lean_object* x_2297; lean_object* x_2298; lean_object* x_2299; lean_object* x_2300; lean_object* x_2301; lean_object* x_2302; lean_object* x_2303; lean_object* x_2304; lean_object* x_2305; lean_object* x_2306; lean_object* x_2307; lean_object* x_2308; lean_object* x_2309; lean_object* x_2310; lean_object* x_2311; lean_object* x_2312; lean_object* x_2313; lean_object* x_2314; lean_object* x_2315; lean_object* x_2316; lean_object* x_2317; lean_object* x_2318; lean_object* x_2319; lean_object* x_2320; lean_object* x_2321; lean_object* x_2322; lean_object* x_2323; lean_object* x_2324; lean_object* x_2325; lean_object* x_2326; lean_object* x_2327; lean_object* x_2328; lean_object* x_2329; lean_object* x_2330; lean_object* x_2331; lean_object* x_2332; lean_object* x_2333; lean_object* x_2334; lean_object* x_2335; lean_object* x_2336; uint8_t x_2337; lean_object* x_2338; lean_object* x_2339; lean_object* x_2340; +x_2288 = lean_ctor_get(x_2183, 0); +lean_inc(x_2288); +lean_dec(x_2183); +x_2289 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2184); +x_2290 = lean_ctor_get(x_2289, 0); +lean_inc(x_2290); +x_2291 = lean_ctor_get(x_2289, 1); +lean_inc(x_2291); +if (lean_is_exclusive(x_2289)) { + lean_ctor_release(x_2289, 0); + lean_ctor_release(x_2289, 1); + x_2292 = x_2289; } else { - lean_dec_ref(x_2173); - x_2333 = lean_box(0); + lean_dec_ref(x_2289); + x_2292 = lean_box(0); } -x_2334 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2174); -x_2335 = lean_ctor_get(x_2334, 0); -lean_inc(x_2335); -x_2336 = lean_ctor_get(x_2334, 1); -lean_inc(x_2336); -if (lean_is_exclusive(x_2334)) { - lean_ctor_release(x_2334, 0); - lean_ctor_release(x_2334, 1); - x_2337 = x_2334; -} else { - lean_dec_ref(x_2334); - x_2337 = lean_box(0); -} -x_2338 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2335); -x_2339 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2339, 0, x_2335); +x_2293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2290); +x_2294 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2294, 0, x_2290); +lean_ctor_set(x_2294, 1, x_2293); +x_2295 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2296 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2290); +x_2297 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2297, 0, x_2290); +lean_ctor_set(x_2297, 1, x_2295); +lean_ctor_set(x_2297, 2, x_2296); +x_2298 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2297); +x_2299 = lean_array_push(x_2298, x_2297); +x_2300 = lean_array_push(x_2299, x_2175); +x_2301 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2290); +x_2302 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2302, 0, x_2290); +lean_ctor_set(x_2302, 1, x_2301); +lean_ctor_set(x_2302, 2, x_2300); +x_2303 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2304 = lean_array_push(x_2303, x_2302); +lean_inc(x_2290); +x_2305 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2305, 0, x_2290); +lean_ctor_set(x_2305, 1, x_2295); +lean_ctor_set(x_2305, 2, x_2304); +x_2306 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2290); +x_2307 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2307, 0, x_2290); +lean_ctor_set(x_2307, 1, x_2306); +x_2308 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2290); +x_2309 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2309, 0, x_2290); +lean_ctor_set(x_2309, 1, x_2308); +x_2310 = lean_array_push(x_2303, x_14); +lean_inc(x_2290); +x_2311 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2311, 0, x_2290); +lean_ctor_set(x_2311, 1, x_2295); +lean_ctor_set(x_2311, 2, x_2310); +x_2312 = lean_array_push(x_2303, x_2311); +lean_inc(x_2290); +x_2313 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2313, 0, x_2290); +lean_ctor_set(x_2313, 1, x_2295); +lean_ctor_set(x_2313, 2, x_2312); +x_2314 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2290); +x_2315 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2315, 0, x_2290); +lean_ctor_set(x_2315, 1, x_2314); +x_2316 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2317 = lean_array_push(x_2316, x_2309); +x_2318 = lean_array_push(x_2317, x_2313); +x_2319 = lean_array_push(x_2318, x_2315); +x_2320 = lean_array_push(x_2319, x_2288); +x_2321 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2290); +x_2322 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2322, 0, x_2290); +lean_ctor_set(x_2322, 1, x_2321); +lean_ctor_set(x_2322, 2, x_2320); +x_2323 = lean_array_push(x_2303, x_2322); +lean_inc(x_2290); +x_2324 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2324, 0, x_2290); +lean_ctor_set(x_2324, 1, x_2295); +lean_ctor_set(x_2324, 2, x_2323); +x_2325 = lean_array_push(x_2303, x_2324); +x_2326 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2290); +x_2327 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2327, 0, x_2290); +lean_ctor_set(x_2327, 1, x_2326); +lean_ctor_set(x_2327, 2, x_2325); +x_2328 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2329 = lean_array_push(x_2328, x_2294); +lean_inc(x_2297); +x_2330 = lean_array_push(x_2329, x_2297); +x_2331 = lean_array_push(x_2330, x_2297); +x_2332 = lean_array_push(x_2331, x_2305); +x_2333 = lean_array_push(x_2332, x_2307); +x_2334 = lean_array_push(x_2333, x_2327); +x_2335 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2336 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2336, 0, x_2290); +lean_ctor_set(x_2336, 1, x_2335); +lean_ctor_set(x_2336, 2, x_2334); +x_2337 = 1; +x_2338 = lean_box(x_2337); +x_2339 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2339, 0, x_2336); lean_ctor_set(x_2339, 1, x_2338); -x_2340 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2341 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2335); -x_2342 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2342, 0, x_2335); -lean_ctor_set(x_2342, 1, x_2340); -lean_ctor_set(x_2342, 2, x_2341); -x_2343 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2342); -x_2344 = lean_array_push(x_2343, x_2342); -x_2345 = lean_array_push(x_2344, x_2165); -x_2346 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2335); -x_2347 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2347, 0, x_2335); -lean_ctor_set(x_2347, 1, x_2346); -lean_ctor_set(x_2347, 2, x_2345); -x_2348 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2349 = lean_array_push(x_2348, x_2347); -lean_inc(x_2335); -x_2350 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2350, 0, x_2335); -lean_ctor_set(x_2350, 1, x_2340); -lean_ctor_set(x_2350, 2, x_2349); -x_2351 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2335); -x_2352 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2352, 0, x_2335); -lean_ctor_set(x_2352, 1, x_2351); -x_2353 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2335); -x_2354 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2354, 0, x_2335); -lean_ctor_set(x_2354, 1, x_2353); -x_2355 = lean_array_push(x_2348, x_14); -lean_inc(x_2335); -x_2356 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2356, 0, x_2335); -lean_ctor_set(x_2356, 1, x_2340); -lean_ctor_set(x_2356, 2, x_2355); -x_2357 = lean_array_push(x_2348, x_2356); -lean_inc(x_2335); -x_2358 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2358, 0, x_2335); -lean_ctor_set(x_2358, 1, x_2340); -lean_ctor_set(x_2358, 2, x_2357); -x_2359 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2335); -x_2360 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2360, 0, x_2335); -lean_ctor_set(x_2360, 1, x_2359); -x_2361 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2362 = lean_array_push(x_2361, x_2354); -x_2363 = lean_array_push(x_2362, x_2358); -x_2364 = lean_array_push(x_2363, x_2360); -x_2365 = lean_array_push(x_2364, x_2332); -x_2366 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2335); -x_2367 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2367, 0, x_2335); -lean_ctor_set(x_2367, 1, x_2366); -lean_ctor_set(x_2367, 2, x_2365); -x_2368 = lean_array_push(x_2348, x_2367); -lean_inc(x_2335); -x_2369 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2369, 0, x_2335); -lean_ctor_set(x_2369, 1, x_2340); -lean_ctor_set(x_2369, 2, x_2368); -x_2370 = lean_array_push(x_2348, x_2369); -x_2371 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2335); -x_2372 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2372, 0, x_2335); -lean_ctor_set(x_2372, 1, x_2371); -lean_ctor_set(x_2372, 2, x_2370); -x_2373 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2374 = lean_array_push(x_2373, x_2339); -lean_inc(x_2342); -x_2375 = lean_array_push(x_2374, x_2342); -x_2376 = lean_array_push(x_2375, x_2342); -x_2377 = lean_array_push(x_2376, x_2350); -x_2378 = lean_array_push(x_2377, x_2352); -x_2379 = lean_array_push(x_2378, x_2372); -x_2380 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2381 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2381, 0, x_2335); -lean_ctor_set(x_2381, 1, x_2380); -lean_ctor_set(x_2381, 2, x_2379); -x_2382 = 1; -x_2383 = lean_box(x_2382); -if (lean_is_scalar(x_2333)) { - x_2384 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2182, 1, x_2339); +if (lean_is_scalar(x_2292)) { + x_2340 = lean_alloc_ctor(0, 2, 0); } else { - x_2384 = x_2333; + x_2340 = x_2292; } -lean_ctor_set(x_2384, 0, x_2381); -lean_ctor_set(x_2384, 1, x_2383); -x_2385 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2385, 0, x_2331); -lean_ctor_set(x_2385, 1, x_2384); -if (lean_is_scalar(x_2337)) { - x_2386 = lean_alloc_ctor(0, 2, 0); -} else { - x_2386 = x_2337; -} -lean_ctor_set(x_2386, 0, x_2385); -lean_ctor_set(x_2386, 1, x_2336); -return x_2386; +lean_ctor_set(x_2340, 0, x_2182); +lean_ctor_set(x_2340, 1, x_2291); +return x_2340; } } else { -uint8_t x_2387; -lean_dec(x_2165); +lean_object* x_2341; lean_object* x_2342; lean_object* x_2343; lean_object* x_2344; lean_object* x_2345; lean_object* x_2346; lean_object* x_2347; lean_object* x_2348; lean_object* x_2349; lean_object* x_2350; lean_object* x_2351; lean_object* x_2352; lean_object* x_2353; lean_object* x_2354; lean_object* x_2355; lean_object* x_2356; lean_object* x_2357; lean_object* x_2358; lean_object* x_2359; lean_object* x_2360; lean_object* x_2361; lean_object* x_2362; lean_object* x_2363; lean_object* x_2364; lean_object* x_2365; lean_object* x_2366; lean_object* x_2367; lean_object* x_2368; lean_object* x_2369; lean_object* x_2370; lean_object* x_2371; lean_object* x_2372; lean_object* x_2373; lean_object* x_2374; lean_object* x_2375; lean_object* x_2376; lean_object* x_2377; lean_object* x_2378; lean_object* x_2379; lean_object* x_2380; lean_object* x_2381; lean_object* x_2382; lean_object* x_2383; lean_object* x_2384; lean_object* x_2385; lean_object* x_2386; lean_object* x_2387; lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; lean_object* x_2391; uint8_t x_2392; lean_object* x_2393; lean_object* x_2394; lean_object* x_2395; lean_object* x_2396; +x_2341 = lean_ctor_get(x_2182, 0); +lean_inc(x_2341); +lean_dec(x_2182); +x_2342 = lean_ctor_get(x_2183, 0); +lean_inc(x_2342); +if (lean_is_exclusive(x_2183)) { + lean_ctor_release(x_2183, 0); + lean_ctor_release(x_2183, 1); + x_2343 = x_2183; +} else { + lean_dec_ref(x_2183); + x_2343 = lean_box(0); +} +x_2344 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2184); +x_2345 = lean_ctor_get(x_2344, 0); +lean_inc(x_2345); +x_2346 = lean_ctor_get(x_2344, 1); +lean_inc(x_2346); +if (lean_is_exclusive(x_2344)) { + lean_ctor_release(x_2344, 0); + lean_ctor_release(x_2344, 1); + x_2347 = x_2344; +} else { + lean_dec_ref(x_2344); + x_2347 = lean_box(0); +} +x_2348 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2345); +x_2349 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2349, 0, x_2345); +lean_ctor_set(x_2349, 1, x_2348); +x_2350 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2351 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2345); +x_2352 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2352, 0, x_2345); +lean_ctor_set(x_2352, 1, x_2350); +lean_ctor_set(x_2352, 2, x_2351); +x_2353 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2352); +x_2354 = lean_array_push(x_2353, x_2352); +x_2355 = lean_array_push(x_2354, x_2175); +x_2356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2345); +x_2357 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2357, 0, x_2345); +lean_ctor_set(x_2357, 1, x_2356); +lean_ctor_set(x_2357, 2, x_2355); +x_2358 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2359 = lean_array_push(x_2358, x_2357); +lean_inc(x_2345); +x_2360 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2360, 0, x_2345); +lean_ctor_set(x_2360, 1, x_2350); +lean_ctor_set(x_2360, 2, x_2359); +x_2361 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2345); +x_2362 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2362, 0, x_2345); +lean_ctor_set(x_2362, 1, x_2361); +x_2363 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2345); +x_2364 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2364, 0, x_2345); +lean_ctor_set(x_2364, 1, x_2363); +x_2365 = lean_array_push(x_2358, x_14); +lean_inc(x_2345); +x_2366 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2366, 0, x_2345); +lean_ctor_set(x_2366, 1, x_2350); +lean_ctor_set(x_2366, 2, x_2365); +x_2367 = lean_array_push(x_2358, x_2366); +lean_inc(x_2345); +x_2368 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2368, 0, x_2345); +lean_ctor_set(x_2368, 1, x_2350); +lean_ctor_set(x_2368, 2, x_2367); +x_2369 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2345); +x_2370 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2370, 0, x_2345); +lean_ctor_set(x_2370, 1, x_2369); +x_2371 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2372 = lean_array_push(x_2371, x_2364); +x_2373 = lean_array_push(x_2372, x_2368); +x_2374 = lean_array_push(x_2373, x_2370); +x_2375 = lean_array_push(x_2374, x_2342); +x_2376 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2345); +x_2377 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2377, 0, x_2345); +lean_ctor_set(x_2377, 1, x_2376); +lean_ctor_set(x_2377, 2, x_2375); +x_2378 = lean_array_push(x_2358, x_2377); +lean_inc(x_2345); +x_2379 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2379, 0, x_2345); +lean_ctor_set(x_2379, 1, x_2350); +lean_ctor_set(x_2379, 2, x_2378); +x_2380 = lean_array_push(x_2358, x_2379); +x_2381 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2345); +x_2382 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2382, 0, x_2345); +lean_ctor_set(x_2382, 1, x_2381); +lean_ctor_set(x_2382, 2, x_2380); +x_2383 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2384 = lean_array_push(x_2383, x_2349); +lean_inc(x_2352); +x_2385 = lean_array_push(x_2384, x_2352); +x_2386 = lean_array_push(x_2385, x_2352); +x_2387 = lean_array_push(x_2386, x_2360); +x_2388 = lean_array_push(x_2387, x_2362); +x_2389 = lean_array_push(x_2388, x_2382); +x_2390 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2391 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2391, 0, x_2345); +lean_ctor_set(x_2391, 1, x_2390); +lean_ctor_set(x_2391, 2, x_2389); +x_2392 = 1; +x_2393 = lean_box(x_2392); +if (lean_is_scalar(x_2343)) { + x_2394 = lean_alloc_ctor(0, 2, 0); +} else { + x_2394 = x_2343; +} +lean_ctor_set(x_2394, 0, x_2391); +lean_ctor_set(x_2394, 1, x_2393); +x_2395 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2395, 0, x_2341); +lean_ctor_set(x_2395, 1, x_2394); +if (lean_is_scalar(x_2347)) { + x_2396 = lean_alloc_ctor(0, 2, 0); +} else { + x_2396 = x_2347; +} +lean_ctor_set(x_2396, 0, x_2395); +lean_ctor_set(x_2396, 1, x_2346); +return x_2396; +} +} +else +{ +uint8_t x_2397; +lean_dec(x_2175); lean_dec(x_14); lean_dec(x_5); -x_2387 = !lean_is_exclusive(x_2171); -if (x_2387 == 0) +x_2397 = !lean_is_exclusive(x_2181); +if (x_2397 == 0) { -return x_2171; +return x_2181; } else { -lean_object* x_2388; lean_object* x_2389; lean_object* x_2390; -x_2388 = lean_ctor_get(x_2171, 0); -x_2389 = lean_ctor_get(x_2171, 1); -lean_inc(x_2389); -lean_inc(x_2388); -lean_dec(x_2171); -x_2390 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2390, 0, x_2388); -lean_ctor_set(x_2390, 1, x_2389); -return x_2390; +lean_object* x_2398; lean_object* x_2399; lean_object* x_2400; +x_2398 = lean_ctor_get(x_2181, 0); +x_2399 = lean_ctor_get(x_2181, 1); +lean_inc(x_2399); +lean_inc(x_2398); +lean_dec(x_2181); +x_2400 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2400, 0, x_2398); +lean_ctor_set(x_2400, 1, x_2399); +return x_2400; } } } @@ -14573,66 +14596,66 @@ return x_2390; } else { -lean_object* x_2391; lean_object* x_2392; lean_object* x_2393; -lean_dec(x_255); -x_2391 = lean_unsigned_to_nat(1u); -x_2392 = lean_nat_add(x_3, x_2391); +lean_object* x_2401; lean_object* x_2402; lean_object* x_2403; +lean_dec(x_256); +x_2401 = lean_unsigned_to_nat(1u); +x_2402 = lean_nat_add(x_3, x_2401); lean_dec(x_3); -x_2393 = lean_array_push(x_4, x_14); -x_3 = x_2392; -x_4 = x_2393; +x_2403 = lean_array_push(x_4, x_14); +x_3 = x_2402; +x_4 = x_2403; goto _start; } } else { -lean_object* x_2395; lean_object* x_2396; lean_object* x_2397; -lean_dec(x_255); -x_2395 = lean_unsigned_to_nat(1u); -x_2396 = lean_nat_add(x_3, x_2395); +lean_object* x_2405; lean_object* x_2406; lean_object* x_2407; +lean_dec(x_256); +x_2405 = lean_unsigned_to_nat(1u); +x_2406 = lean_nat_add(x_3, x_2405); lean_dec(x_3); -x_2397 = lean_array_push(x_4, x_14); -x_3 = x_2396; -x_4 = x_2397; +x_2407 = lean_array_push(x_4, x_14); +x_3 = x_2406; +x_4 = x_2407; goto _start; } } else { -lean_object* x_2399; lean_object* x_2400; lean_object* x_2401; -lean_dec(x_255); -x_2399 = lean_unsigned_to_nat(1u); -x_2400 = lean_nat_add(x_3, x_2399); +lean_object* x_2409; lean_object* x_2410; lean_object* x_2411; +lean_dec(x_256); +x_2409 = lean_unsigned_to_nat(1u); +x_2410 = lean_nat_add(x_3, x_2409); lean_dec(x_3); -x_2401 = lean_array_push(x_4, x_14); -x_3 = x_2400; -x_4 = x_2401; +x_2411 = lean_array_push(x_4, x_14); +x_3 = x_2410; +x_4 = x_2411; goto _start; } } else { -lean_object* x_2403; lean_object* x_2404; lean_object* x_2405; -lean_dec(x_255); -x_2403 = lean_unsigned_to_nat(1u); -x_2404 = lean_nat_add(x_3, x_2403); +lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; +lean_dec(x_256); +x_2413 = lean_unsigned_to_nat(1u); +x_2414 = lean_nat_add(x_3, x_2413); lean_dec(x_3); -x_2405 = lean_array_push(x_4, x_14); -x_3 = x_2404; -x_4 = x_2405; +x_2415 = lean_array_push(x_4, x_14); +x_3 = x_2414; +x_4 = x_2415; goto _start; } } else { -lean_object* x_2407; lean_object* x_2408; lean_object* x_2409; -lean_dec(x_255); -x_2407 = lean_unsigned_to_nat(1u); -x_2408 = lean_nat_add(x_3, x_2407); +lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; +lean_dec(x_256); +x_2417 = lean_unsigned_to_nat(1u); +x_2418 = lean_nat_add(x_3, x_2417); lean_dec(x_3); -x_2409 = lean_array_push(x_4, x_14); -x_3 = x_2408; -x_4 = x_2409; +x_2419 = lean_array_push(x_4, x_14); +x_3 = x_2418; +x_4 = x_2419; goto _start; } } @@ -14641,2254 +14664,2258 @@ goto _start; } else { -lean_object* x_2411; lean_object* x_2412; lean_object* x_2413; lean_object* x_2414; lean_object* x_2415; lean_object* x_2416; lean_object* x_2417; lean_object* x_2418; lean_object* x_2419; +uint8_t x_2421; lean_object* x_2422; lean_object* x_2423; lean_object* x_2424; lean_object* x_2425; lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; lean_object* x_2429; lean_object* x_2430; +lean_dec(x_255); lean_dec(x_254); lean_dec(x_253); -lean_dec(x_252); lean_dec(x_16); lean_dec(x_15); +x_2421 = 0; lean_inc(x_5); lean_inc(x_14); -x_2411 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2412 = lean_ctor_get(x_2411, 0); -lean_inc(x_2412); -x_2413 = lean_ctor_get(x_2411, 1); -lean_inc(x_2413); -lean_dec(x_2411); -x_2414 = lean_unsigned_to_nat(1u); -x_2415 = lean_nat_add(x_3, x_2414); +x_2422 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_2421, x_5, x_6); +x_2423 = lean_ctor_get(x_2422, 0); +lean_inc(x_2423); +x_2424 = lean_ctor_get(x_2422, 1); +lean_inc(x_2424); +lean_dec(x_2422); +x_2425 = lean_unsigned_to_nat(1u); +x_2426 = lean_nat_add(x_3, x_2425); lean_dec(x_3); lean_inc(x_14); -x_2416 = l_Lean_mkHole(x_14); -lean_inc(x_2412); -x_2417 = l_Lean_Elab_Term_mkExplicitBinder(x_2412, x_2416); -x_2418 = lean_array_push(x_4, x_2417); +x_2427 = l_Lean_mkHole(x_14, x_2421); +lean_inc(x_2423); +x_2428 = l_Lean_Elab_Term_mkExplicitBinder(x_2423, x_2427); +x_2429 = lean_array_push(x_4, x_2428); lean_inc(x_5); -x_2419 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2415, x_2418, x_5, x_2413); -if (lean_obj_tag(x_2419) == 0) +x_2430 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2426, x_2429, x_5, x_2424); +if (lean_obj_tag(x_2430) == 0) { -lean_object* x_2420; lean_object* x_2421; lean_object* x_2422; uint8_t x_2423; -x_2420 = lean_ctor_get(x_2419, 0); -lean_inc(x_2420); -x_2421 = lean_ctor_get(x_2420, 1); -lean_inc(x_2421); -x_2422 = lean_ctor_get(x_2419, 1); -lean_inc(x_2422); -lean_dec(x_2419); -x_2423 = !lean_is_exclusive(x_2420); -if (x_2423 == 0) +lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; uint8_t x_2434; +x_2431 = lean_ctor_get(x_2430, 0); +lean_inc(x_2431); +x_2432 = lean_ctor_get(x_2431, 1); +lean_inc(x_2432); +x_2433 = lean_ctor_get(x_2430, 1); +lean_inc(x_2433); +lean_dec(x_2430); +x_2434 = !lean_is_exclusive(x_2431); +if (x_2434 == 0) { -lean_object* x_2424; uint8_t x_2425; -x_2424 = lean_ctor_get(x_2420, 1); -lean_dec(x_2424); -x_2425 = !lean_is_exclusive(x_2421); -if (x_2425 == 0) +lean_object* x_2435; uint8_t x_2436; +x_2435 = lean_ctor_get(x_2431, 1); +lean_dec(x_2435); +x_2436 = !lean_is_exclusive(x_2432); +if (x_2436 == 0) { -lean_object* x_2426; lean_object* x_2427; lean_object* x_2428; uint8_t x_2429; -x_2426 = lean_ctor_get(x_2421, 0); -x_2427 = lean_ctor_get(x_2421, 1); -lean_dec(x_2427); -x_2428 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2422); -x_2429 = !lean_is_exclusive(x_2428); -if (x_2429 == 0) +lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; uint8_t x_2440; +x_2437 = lean_ctor_get(x_2432, 0); +x_2438 = lean_ctor_get(x_2432, 1); +lean_dec(x_2438); +x_2439 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2433); +x_2440 = !lean_is_exclusive(x_2439); +if (x_2440 == 0) { -lean_object* x_2430; lean_object* x_2431; lean_object* x_2432; lean_object* x_2433; lean_object* x_2434; lean_object* x_2435; lean_object* x_2436; lean_object* x_2437; lean_object* x_2438; lean_object* x_2439; lean_object* x_2440; lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; uint8_t x_2475; lean_object* x_2476; -x_2430 = lean_ctor_get(x_2428, 0); -x_2431 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2430); -x_2432 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2432, 0, x_2430); -lean_ctor_set(x_2432, 1, x_2431); -x_2433 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2434 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2430); -x_2435 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2435, 0, x_2430); -lean_ctor_set(x_2435, 1, x_2433); -lean_ctor_set(x_2435, 2, x_2434); -x_2436 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2435); -x_2437 = lean_array_push(x_2436, x_2435); -x_2438 = lean_array_push(x_2437, x_2412); -x_2439 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2430); -x_2440 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2440, 0, x_2430); -lean_ctor_set(x_2440, 1, x_2439); -lean_ctor_set(x_2440, 2, x_2438); -x_2441 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2442 = lean_array_push(x_2441, x_2440); -lean_inc(x_2430); -x_2443 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2443, 0, x_2430); -lean_ctor_set(x_2443, 1, x_2433); -lean_ctor_set(x_2443, 2, x_2442); -x_2444 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2430); -x_2445 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2445, 0, x_2430); -lean_ctor_set(x_2445, 1, x_2444); -x_2446 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2430); -x_2447 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2447, 0, x_2430); -lean_ctor_set(x_2447, 1, x_2446); -x_2448 = lean_array_push(x_2441, x_14); -lean_inc(x_2430); -x_2449 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2449, 0, x_2430); -lean_ctor_set(x_2449, 1, x_2433); -lean_ctor_set(x_2449, 2, x_2448); -x_2450 = lean_array_push(x_2441, x_2449); -lean_inc(x_2430); +lean_object* x_2441; lean_object* x_2442; lean_object* x_2443; lean_object* x_2444; lean_object* x_2445; lean_object* x_2446; lean_object* x_2447; lean_object* x_2448; lean_object* x_2449; lean_object* x_2450; lean_object* x_2451; lean_object* x_2452; lean_object* x_2453; lean_object* x_2454; lean_object* x_2455; lean_object* x_2456; lean_object* x_2457; lean_object* x_2458; lean_object* x_2459; lean_object* x_2460; lean_object* x_2461; lean_object* x_2462; lean_object* x_2463; lean_object* x_2464; lean_object* x_2465; lean_object* x_2466; lean_object* x_2467; lean_object* x_2468; lean_object* x_2469; lean_object* x_2470; lean_object* x_2471; lean_object* x_2472; lean_object* x_2473; lean_object* x_2474; lean_object* x_2475; lean_object* x_2476; lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; uint8_t x_2486; lean_object* x_2487; +x_2441 = lean_ctor_get(x_2439, 0); +x_2442 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2441); +x_2443 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2443, 0, x_2441); +lean_ctor_set(x_2443, 1, x_2442); +x_2444 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2445 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2441); +x_2446 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2446, 0, x_2441); +lean_ctor_set(x_2446, 1, x_2444); +lean_ctor_set(x_2446, 2, x_2445); +x_2447 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2446); +x_2448 = lean_array_push(x_2447, x_2446); +x_2449 = lean_array_push(x_2448, x_2423); +x_2450 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2441); x_2451 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2451, 0, x_2430); -lean_ctor_set(x_2451, 1, x_2433); -lean_ctor_set(x_2451, 2, x_2450); -x_2452 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2430); -x_2453 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2453, 0, x_2430); -lean_ctor_set(x_2453, 1, x_2452); -x_2454 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2455 = lean_array_push(x_2454, x_2447); -x_2456 = lean_array_push(x_2455, x_2451); -x_2457 = lean_array_push(x_2456, x_2453); -x_2458 = lean_array_push(x_2457, x_2426); -x_2459 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2430); +lean_ctor_set(x_2451, 0, x_2441); +lean_ctor_set(x_2451, 1, x_2450); +lean_ctor_set(x_2451, 2, x_2449); +x_2452 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2453 = lean_array_push(x_2452, x_2451); +lean_inc(x_2441); +x_2454 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2454, 0, x_2441); +lean_ctor_set(x_2454, 1, x_2444); +lean_ctor_set(x_2454, 2, x_2453); +x_2455 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2441); +x_2456 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2456, 0, x_2441); +lean_ctor_set(x_2456, 1, x_2455); +x_2457 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2441); +x_2458 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2458, 0, x_2441); +lean_ctor_set(x_2458, 1, x_2457); +x_2459 = lean_array_push(x_2452, x_14); +lean_inc(x_2441); x_2460 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2460, 0, x_2430); -lean_ctor_set(x_2460, 1, x_2459); -lean_ctor_set(x_2460, 2, x_2458); -x_2461 = lean_array_push(x_2441, x_2460); -lean_inc(x_2430); +lean_ctor_set(x_2460, 0, x_2441); +lean_ctor_set(x_2460, 1, x_2444); +lean_ctor_set(x_2460, 2, x_2459); +x_2461 = lean_array_push(x_2452, x_2460); +lean_inc(x_2441); x_2462 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2462, 0, x_2430); -lean_ctor_set(x_2462, 1, x_2433); +lean_ctor_set(x_2462, 0, x_2441); +lean_ctor_set(x_2462, 1, x_2444); lean_ctor_set(x_2462, 2, x_2461); -x_2463 = lean_array_push(x_2441, x_2462); -x_2464 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2430); -x_2465 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2465, 0, x_2430); -lean_ctor_set(x_2465, 1, x_2464); -lean_ctor_set(x_2465, 2, x_2463); -x_2466 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2467 = lean_array_push(x_2466, x_2432); -lean_inc(x_2435); -x_2468 = lean_array_push(x_2467, x_2435); -x_2469 = lean_array_push(x_2468, x_2435); -x_2470 = lean_array_push(x_2469, x_2443); -x_2471 = lean_array_push(x_2470, x_2445); -x_2472 = lean_array_push(x_2471, x_2465); -x_2473 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2474 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2474, 0, x_2430); -lean_ctor_set(x_2474, 1, x_2473); -lean_ctor_set(x_2474, 2, x_2472); -x_2475 = 1; -x_2476 = lean_box(x_2475); -lean_ctor_set(x_2421, 1, x_2476); -lean_ctor_set(x_2421, 0, x_2474); -lean_ctor_set(x_2428, 0, x_2420); -return x_2428; +x_2463 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2441); +x_2464 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2464, 0, x_2441); +lean_ctor_set(x_2464, 1, x_2463); +x_2465 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2466 = lean_array_push(x_2465, x_2458); +x_2467 = lean_array_push(x_2466, x_2462); +x_2468 = lean_array_push(x_2467, x_2464); +x_2469 = lean_array_push(x_2468, x_2437); +x_2470 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2441); +x_2471 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2471, 0, x_2441); +lean_ctor_set(x_2471, 1, x_2470); +lean_ctor_set(x_2471, 2, x_2469); +x_2472 = lean_array_push(x_2452, x_2471); +lean_inc(x_2441); +x_2473 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2473, 0, x_2441); +lean_ctor_set(x_2473, 1, x_2444); +lean_ctor_set(x_2473, 2, x_2472); +x_2474 = lean_array_push(x_2452, x_2473); +x_2475 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2441); +x_2476 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2476, 0, x_2441); +lean_ctor_set(x_2476, 1, x_2475); +lean_ctor_set(x_2476, 2, x_2474); +x_2477 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2478 = lean_array_push(x_2477, x_2443); +lean_inc(x_2446); +x_2479 = lean_array_push(x_2478, x_2446); +x_2480 = lean_array_push(x_2479, x_2446); +x_2481 = lean_array_push(x_2480, x_2454); +x_2482 = lean_array_push(x_2481, x_2456); +x_2483 = lean_array_push(x_2482, x_2476); +x_2484 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2485 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2485, 0, x_2441); +lean_ctor_set(x_2485, 1, x_2484); +lean_ctor_set(x_2485, 2, x_2483); +x_2486 = 1; +x_2487 = lean_box(x_2486); +lean_ctor_set(x_2432, 1, x_2487); +lean_ctor_set(x_2432, 0, x_2485); +lean_ctor_set(x_2439, 0, x_2431); +return x_2439; } else { -lean_object* x_2477; lean_object* x_2478; lean_object* x_2479; lean_object* x_2480; lean_object* x_2481; lean_object* x_2482; lean_object* x_2483; lean_object* x_2484; lean_object* x_2485; lean_object* x_2486; lean_object* x_2487; lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; uint8_t x_2523; lean_object* x_2524; lean_object* x_2525; -x_2477 = lean_ctor_get(x_2428, 0); -x_2478 = lean_ctor_get(x_2428, 1); -lean_inc(x_2478); -lean_inc(x_2477); -lean_dec(x_2428); -x_2479 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2477); -x_2480 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2480, 0, x_2477); -lean_ctor_set(x_2480, 1, x_2479); -x_2481 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2482 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2477); -x_2483 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2483, 0, x_2477); -lean_ctor_set(x_2483, 1, x_2481); -lean_ctor_set(x_2483, 2, x_2482); -x_2484 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2483); -x_2485 = lean_array_push(x_2484, x_2483); -x_2486 = lean_array_push(x_2485, x_2412); -x_2487 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2477); -x_2488 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2488, 0, x_2477); -lean_ctor_set(x_2488, 1, x_2487); -lean_ctor_set(x_2488, 2, x_2486); -x_2489 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2490 = lean_array_push(x_2489, x_2488); -lean_inc(x_2477); -x_2491 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2491, 0, x_2477); -lean_ctor_set(x_2491, 1, x_2481); -lean_ctor_set(x_2491, 2, x_2490); -x_2492 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2477); -x_2493 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2493, 0, x_2477); -lean_ctor_set(x_2493, 1, x_2492); -x_2494 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2477); -x_2495 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2495, 0, x_2477); -lean_ctor_set(x_2495, 1, x_2494); -x_2496 = lean_array_push(x_2489, x_14); -lean_inc(x_2477); -x_2497 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2497, 0, x_2477); -lean_ctor_set(x_2497, 1, x_2481); -lean_ctor_set(x_2497, 2, x_2496); -x_2498 = lean_array_push(x_2489, x_2497); -lean_inc(x_2477); +lean_object* x_2488; lean_object* x_2489; lean_object* x_2490; lean_object* x_2491; lean_object* x_2492; lean_object* x_2493; lean_object* x_2494; lean_object* x_2495; lean_object* x_2496; lean_object* x_2497; lean_object* x_2498; lean_object* x_2499; lean_object* x_2500; lean_object* x_2501; lean_object* x_2502; lean_object* x_2503; lean_object* x_2504; lean_object* x_2505; lean_object* x_2506; lean_object* x_2507; lean_object* x_2508; lean_object* x_2509; lean_object* x_2510; lean_object* x_2511; lean_object* x_2512; lean_object* x_2513; lean_object* x_2514; lean_object* x_2515; lean_object* x_2516; lean_object* x_2517; lean_object* x_2518; lean_object* x_2519; lean_object* x_2520; lean_object* x_2521; lean_object* x_2522; lean_object* x_2523; lean_object* x_2524; lean_object* x_2525; lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; uint8_t x_2534; lean_object* x_2535; lean_object* x_2536; +x_2488 = lean_ctor_get(x_2439, 0); +x_2489 = lean_ctor_get(x_2439, 1); +lean_inc(x_2489); +lean_inc(x_2488); +lean_dec(x_2439); +x_2490 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2488); +x_2491 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2491, 0, x_2488); +lean_ctor_set(x_2491, 1, x_2490); +x_2492 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2493 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2488); +x_2494 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2494, 0, x_2488); +lean_ctor_set(x_2494, 1, x_2492); +lean_ctor_set(x_2494, 2, x_2493); +x_2495 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2494); +x_2496 = lean_array_push(x_2495, x_2494); +x_2497 = lean_array_push(x_2496, x_2423); +x_2498 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2488); x_2499 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2499, 0, x_2477); -lean_ctor_set(x_2499, 1, x_2481); -lean_ctor_set(x_2499, 2, x_2498); -x_2500 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2477); -x_2501 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2501, 0, x_2477); -lean_ctor_set(x_2501, 1, x_2500); -x_2502 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2503 = lean_array_push(x_2502, x_2495); -x_2504 = lean_array_push(x_2503, x_2499); -x_2505 = lean_array_push(x_2504, x_2501); -x_2506 = lean_array_push(x_2505, x_2426); -x_2507 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2477); +lean_ctor_set(x_2499, 0, x_2488); +lean_ctor_set(x_2499, 1, x_2498); +lean_ctor_set(x_2499, 2, x_2497); +x_2500 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2501 = lean_array_push(x_2500, x_2499); +lean_inc(x_2488); +x_2502 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2502, 0, x_2488); +lean_ctor_set(x_2502, 1, x_2492); +lean_ctor_set(x_2502, 2, x_2501); +x_2503 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2488); +x_2504 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2504, 0, x_2488); +lean_ctor_set(x_2504, 1, x_2503); +x_2505 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2488); +x_2506 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2506, 0, x_2488); +lean_ctor_set(x_2506, 1, x_2505); +x_2507 = lean_array_push(x_2500, x_14); +lean_inc(x_2488); x_2508 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2508, 0, x_2477); -lean_ctor_set(x_2508, 1, x_2507); -lean_ctor_set(x_2508, 2, x_2506); -x_2509 = lean_array_push(x_2489, x_2508); -lean_inc(x_2477); +lean_ctor_set(x_2508, 0, x_2488); +lean_ctor_set(x_2508, 1, x_2492); +lean_ctor_set(x_2508, 2, x_2507); +x_2509 = lean_array_push(x_2500, x_2508); +lean_inc(x_2488); x_2510 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2510, 0, x_2477); -lean_ctor_set(x_2510, 1, x_2481); +lean_ctor_set(x_2510, 0, x_2488); +lean_ctor_set(x_2510, 1, x_2492); lean_ctor_set(x_2510, 2, x_2509); -x_2511 = lean_array_push(x_2489, x_2510); -x_2512 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2477); -x_2513 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2513, 0, x_2477); -lean_ctor_set(x_2513, 1, x_2512); -lean_ctor_set(x_2513, 2, x_2511); -x_2514 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2515 = lean_array_push(x_2514, x_2480); -lean_inc(x_2483); -x_2516 = lean_array_push(x_2515, x_2483); -x_2517 = lean_array_push(x_2516, x_2483); -x_2518 = lean_array_push(x_2517, x_2491); -x_2519 = lean_array_push(x_2518, x_2493); -x_2520 = lean_array_push(x_2519, x_2513); -x_2521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2522 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2522, 0, x_2477); -lean_ctor_set(x_2522, 1, x_2521); -lean_ctor_set(x_2522, 2, x_2520); -x_2523 = 1; -x_2524 = lean_box(x_2523); -lean_ctor_set(x_2421, 1, x_2524); -lean_ctor_set(x_2421, 0, x_2522); -x_2525 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2525, 0, x_2420); -lean_ctor_set(x_2525, 1, x_2478); -return x_2525; +x_2511 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2488); +x_2512 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2512, 0, x_2488); +lean_ctor_set(x_2512, 1, x_2511); +x_2513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2514 = lean_array_push(x_2513, x_2506); +x_2515 = lean_array_push(x_2514, x_2510); +x_2516 = lean_array_push(x_2515, x_2512); +x_2517 = lean_array_push(x_2516, x_2437); +x_2518 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2488); +x_2519 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2519, 0, x_2488); +lean_ctor_set(x_2519, 1, x_2518); +lean_ctor_set(x_2519, 2, x_2517); +x_2520 = lean_array_push(x_2500, x_2519); +lean_inc(x_2488); +x_2521 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2521, 0, x_2488); +lean_ctor_set(x_2521, 1, x_2492); +lean_ctor_set(x_2521, 2, x_2520); +x_2522 = lean_array_push(x_2500, x_2521); +x_2523 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2488); +x_2524 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2524, 0, x_2488); +lean_ctor_set(x_2524, 1, x_2523); +lean_ctor_set(x_2524, 2, x_2522); +x_2525 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2526 = lean_array_push(x_2525, x_2491); +lean_inc(x_2494); +x_2527 = lean_array_push(x_2526, x_2494); +x_2528 = lean_array_push(x_2527, x_2494); +x_2529 = lean_array_push(x_2528, x_2502); +x_2530 = lean_array_push(x_2529, x_2504); +x_2531 = lean_array_push(x_2530, x_2524); +x_2532 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2533 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2533, 0, x_2488); +lean_ctor_set(x_2533, 1, x_2532); +lean_ctor_set(x_2533, 2, x_2531); +x_2534 = 1; +x_2535 = lean_box(x_2534); +lean_ctor_set(x_2432, 1, x_2535); +lean_ctor_set(x_2432, 0, x_2533); +x_2536 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2536, 0, x_2431); +lean_ctor_set(x_2536, 1, x_2489); +return x_2536; } } else { -lean_object* x_2526; lean_object* x_2527; lean_object* x_2528; lean_object* x_2529; lean_object* x_2530; lean_object* x_2531; lean_object* x_2532; lean_object* x_2533; lean_object* x_2534; lean_object* x_2535; lean_object* x_2536; lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; uint8_t x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; -x_2526 = lean_ctor_get(x_2421, 0); -lean_inc(x_2526); -lean_dec(x_2421); -x_2527 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2422); -x_2528 = lean_ctor_get(x_2527, 0); -lean_inc(x_2528); -x_2529 = lean_ctor_get(x_2527, 1); -lean_inc(x_2529); -if (lean_is_exclusive(x_2527)) { - lean_ctor_release(x_2527, 0); - lean_ctor_release(x_2527, 1); - x_2530 = x_2527; +lean_object* x_2537; lean_object* x_2538; lean_object* x_2539; lean_object* x_2540; lean_object* x_2541; lean_object* x_2542; lean_object* x_2543; lean_object* x_2544; lean_object* x_2545; lean_object* x_2546; lean_object* x_2547; lean_object* x_2548; lean_object* x_2549; lean_object* x_2550; lean_object* x_2551; lean_object* x_2552; lean_object* x_2553; lean_object* x_2554; lean_object* x_2555; lean_object* x_2556; lean_object* x_2557; lean_object* x_2558; lean_object* x_2559; lean_object* x_2560; lean_object* x_2561; lean_object* x_2562; lean_object* x_2563; lean_object* x_2564; lean_object* x_2565; lean_object* x_2566; lean_object* x_2567; lean_object* x_2568; lean_object* x_2569; lean_object* x_2570; lean_object* x_2571; lean_object* x_2572; lean_object* x_2573; lean_object* x_2574; lean_object* x_2575; lean_object* x_2576; lean_object* x_2577; lean_object* x_2578; lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; uint8_t x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; +x_2537 = lean_ctor_get(x_2432, 0); +lean_inc(x_2537); +lean_dec(x_2432); +x_2538 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2433); +x_2539 = lean_ctor_get(x_2538, 0); +lean_inc(x_2539); +x_2540 = lean_ctor_get(x_2538, 1); +lean_inc(x_2540); +if (lean_is_exclusive(x_2538)) { + lean_ctor_release(x_2538, 0); + lean_ctor_release(x_2538, 1); + x_2541 = x_2538; } else { - lean_dec_ref(x_2527); - x_2530 = lean_box(0); + lean_dec_ref(x_2538); + x_2541 = lean_box(0); } -x_2531 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2528); -x_2532 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2532, 0, x_2528); -lean_ctor_set(x_2532, 1, x_2531); -x_2533 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2534 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2528); -x_2535 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2535, 0, x_2528); -lean_ctor_set(x_2535, 1, x_2533); -lean_ctor_set(x_2535, 2, x_2534); -x_2536 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2535); -x_2537 = lean_array_push(x_2536, x_2535); -x_2538 = lean_array_push(x_2537, x_2412); -x_2539 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2528); -x_2540 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2540, 0, x_2528); -lean_ctor_set(x_2540, 1, x_2539); -lean_ctor_set(x_2540, 2, x_2538); -x_2541 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2542 = lean_array_push(x_2541, x_2540); -lean_inc(x_2528); -x_2543 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2543, 0, x_2528); -lean_ctor_set(x_2543, 1, x_2533); -lean_ctor_set(x_2543, 2, x_2542); -x_2544 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2528); -x_2545 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2545, 0, x_2528); -lean_ctor_set(x_2545, 1, x_2544); -x_2546 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2528); -x_2547 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2547, 0, x_2528); -lean_ctor_set(x_2547, 1, x_2546); -x_2548 = lean_array_push(x_2541, x_14); -lean_inc(x_2528); -x_2549 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2549, 0, x_2528); -lean_ctor_set(x_2549, 1, x_2533); -lean_ctor_set(x_2549, 2, x_2548); -x_2550 = lean_array_push(x_2541, x_2549); -lean_inc(x_2528); +x_2542 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2539); +x_2543 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2543, 0, x_2539); +lean_ctor_set(x_2543, 1, x_2542); +x_2544 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2545 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2539); +x_2546 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2546, 0, x_2539); +lean_ctor_set(x_2546, 1, x_2544); +lean_ctor_set(x_2546, 2, x_2545); +x_2547 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2546); +x_2548 = lean_array_push(x_2547, x_2546); +x_2549 = lean_array_push(x_2548, x_2423); +x_2550 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2539); x_2551 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2551, 0, x_2528); -lean_ctor_set(x_2551, 1, x_2533); -lean_ctor_set(x_2551, 2, x_2550); -x_2552 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2528); -x_2553 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2553, 0, x_2528); -lean_ctor_set(x_2553, 1, x_2552); -x_2554 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2555 = lean_array_push(x_2554, x_2547); -x_2556 = lean_array_push(x_2555, x_2551); -x_2557 = lean_array_push(x_2556, x_2553); -x_2558 = lean_array_push(x_2557, x_2526); -x_2559 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2528); +lean_ctor_set(x_2551, 0, x_2539); +lean_ctor_set(x_2551, 1, x_2550); +lean_ctor_set(x_2551, 2, x_2549); +x_2552 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2553 = lean_array_push(x_2552, x_2551); +lean_inc(x_2539); +x_2554 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2554, 0, x_2539); +lean_ctor_set(x_2554, 1, x_2544); +lean_ctor_set(x_2554, 2, x_2553); +x_2555 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2539); +x_2556 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2556, 0, x_2539); +lean_ctor_set(x_2556, 1, x_2555); +x_2557 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2539); +x_2558 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2558, 0, x_2539); +lean_ctor_set(x_2558, 1, x_2557); +x_2559 = lean_array_push(x_2552, x_14); +lean_inc(x_2539); x_2560 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2560, 0, x_2528); -lean_ctor_set(x_2560, 1, x_2559); -lean_ctor_set(x_2560, 2, x_2558); -x_2561 = lean_array_push(x_2541, x_2560); -lean_inc(x_2528); +lean_ctor_set(x_2560, 0, x_2539); +lean_ctor_set(x_2560, 1, x_2544); +lean_ctor_set(x_2560, 2, x_2559); +x_2561 = lean_array_push(x_2552, x_2560); +lean_inc(x_2539); x_2562 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2562, 0, x_2528); -lean_ctor_set(x_2562, 1, x_2533); +lean_ctor_set(x_2562, 0, x_2539); +lean_ctor_set(x_2562, 1, x_2544); lean_ctor_set(x_2562, 2, x_2561); -x_2563 = lean_array_push(x_2541, x_2562); -x_2564 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2528); -x_2565 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2565, 0, x_2528); -lean_ctor_set(x_2565, 1, x_2564); -lean_ctor_set(x_2565, 2, x_2563); -x_2566 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2567 = lean_array_push(x_2566, x_2532); -lean_inc(x_2535); -x_2568 = lean_array_push(x_2567, x_2535); -x_2569 = lean_array_push(x_2568, x_2535); -x_2570 = lean_array_push(x_2569, x_2543); -x_2571 = lean_array_push(x_2570, x_2545); -x_2572 = lean_array_push(x_2571, x_2565); -x_2573 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2574 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2574, 0, x_2528); -lean_ctor_set(x_2574, 1, x_2573); -lean_ctor_set(x_2574, 2, x_2572); -x_2575 = 1; -x_2576 = lean_box(x_2575); -x_2577 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2577, 0, x_2574); -lean_ctor_set(x_2577, 1, x_2576); -lean_ctor_set(x_2420, 1, x_2577); -if (lean_is_scalar(x_2530)) { - x_2578 = lean_alloc_ctor(0, 2, 0); +x_2563 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2539); +x_2564 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2564, 0, x_2539); +lean_ctor_set(x_2564, 1, x_2563); +x_2565 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2566 = lean_array_push(x_2565, x_2558); +x_2567 = lean_array_push(x_2566, x_2562); +x_2568 = lean_array_push(x_2567, x_2564); +x_2569 = lean_array_push(x_2568, x_2537); +x_2570 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2539); +x_2571 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2571, 0, x_2539); +lean_ctor_set(x_2571, 1, x_2570); +lean_ctor_set(x_2571, 2, x_2569); +x_2572 = lean_array_push(x_2552, x_2571); +lean_inc(x_2539); +x_2573 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2573, 0, x_2539); +lean_ctor_set(x_2573, 1, x_2544); +lean_ctor_set(x_2573, 2, x_2572); +x_2574 = lean_array_push(x_2552, x_2573); +x_2575 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2539); +x_2576 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2576, 0, x_2539); +lean_ctor_set(x_2576, 1, x_2575); +lean_ctor_set(x_2576, 2, x_2574); +x_2577 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2578 = lean_array_push(x_2577, x_2543); +lean_inc(x_2546); +x_2579 = lean_array_push(x_2578, x_2546); +x_2580 = lean_array_push(x_2579, x_2546); +x_2581 = lean_array_push(x_2580, x_2554); +x_2582 = lean_array_push(x_2581, x_2556); +x_2583 = lean_array_push(x_2582, x_2576); +x_2584 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2585 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2585, 0, x_2539); +lean_ctor_set(x_2585, 1, x_2584); +lean_ctor_set(x_2585, 2, x_2583); +x_2586 = 1; +x_2587 = lean_box(x_2586); +x_2588 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2588, 0, x_2585); +lean_ctor_set(x_2588, 1, x_2587); +lean_ctor_set(x_2431, 1, x_2588); +if (lean_is_scalar(x_2541)) { + x_2589 = lean_alloc_ctor(0, 2, 0); } else { - x_2578 = x_2530; + x_2589 = x_2541; } -lean_ctor_set(x_2578, 0, x_2420); -lean_ctor_set(x_2578, 1, x_2529); -return x_2578; +lean_ctor_set(x_2589, 0, x_2431); +lean_ctor_set(x_2589, 1, x_2540); +return x_2589; } } else { -lean_object* x_2579; lean_object* x_2580; lean_object* x_2581; lean_object* x_2582; lean_object* x_2583; lean_object* x_2584; lean_object* x_2585; lean_object* x_2586; lean_object* x_2587; lean_object* x_2588; lean_object* x_2589; lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; uint8_t x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; -x_2579 = lean_ctor_get(x_2420, 0); -lean_inc(x_2579); -lean_dec(x_2420); -x_2580 = lean_ctor_get(x_2421, 0); -lean_inc(x_2580); -if (lean_is_exclusive(x_2421)) { - lean_ctor_release(x_2421, 0); - lean_ctor_release(x_2421, 1); - x_2581 = x_2421; -} else { - lean_dec_ref(x_2421); - x_2581 = lean_box(0); -} -x_2582 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2422); -x_2583 = lean_ctor_get(x_2582, 0); -lean_inc(x_2583); -x_2584 = lean_ctor_get(x_2582, 1); -lean_inc(x_2584); -if (lean_is_exclusive(x_2582)) { - lean_ctor_release(x_2582, 0); - lean_ctor_release(x_2582, 1); - x_2585 = x_2582; -} else { - lean_dec_ref(x_2582); - x_2585 = lean_box(0); -} -x_2586 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2583); -x_2587 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2587, 0, x_2583); -lean_ctor_set(x_2587, 1, x_2586); -x_2588 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2589 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2583); -x_2590 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2590, 0, x_2583); -lean_ctor_set(x_2590, 1, x_2588); -lean_ctor_set(x_2590, 2, x_2589); -x_2591 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_object* x_2590; lean_object* x_2591; lean_object* x_2592; lean_object* x_2593; lean_object* x_2594; lean_object* x_2595; lean_object* x_2596; lean_object* x_2597; lean_object* x_2598; lean_object* x_2599; lean_object* x_2600; lean_object* x_2601; lean_object* x_2602; lean_object* x_2603; lean_object* x_2604; lean_object* x_2605; lean_object* x_2606; lean_object* x_2607; lean_object* x_2608; lean_object* x_2609; lean_object* x_2610; lean_object* x_2611; lean_object* x_2612; lean_object* x_2613; lean_object* x_2614; lean_object* x_2615; lean_object* x_2616; lean_object* x_2617; lean_object* x_2618; lean_object* x_2619; lean_object* x_2620; lean_object* x_2621; lean_object* x_2622; lean_object* x_2623; lean_object* x_2624; lean_object* x_2625; lean_object* x_2626; lean_object* x_2627; lean_object* x_2628; lean_object* x_2629; lean_object* x_2630; lean_object* x_2631; lean_object* x_2632; lean_object* x_2633; lean_object* x_2634; lean_object* x_2635; lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; lean_object* x_2639; lean_object* x_2640; uint8_t x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; +x_2590 = lean_ctor_get(x_2431, 0); lean_inc(x_2590); -x_2592 = lean_array_push(x_2591, x_2590); -x_2593 = lean_array_push(x_2592, x_2412); -x_2594 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2583); -x_2595 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2595, 0, x_2583); -lean_ctor_set(x_2595, 1, x_2594); -lean_ctor_set(x_2595, 2, x_2593); -x_2596 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2597 = lean_array_push(x_2596, x_2595); -lean_inc(x_2583); -x_2598 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2598, 0, x_2583); -lean_ctor_set(x_2598, 1, x_2588); -lean_ctor_set(x_2598, 2, x_2597); -x_2599 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2583); -x_2600 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2600, 0, x_2583); -lean_ctor_set(x_2600, 1, x_2599); -x_2601 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2583); -x_2602 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2602, 0, x_2583); -lean_ctor_set(x_2602, 1, x_2601); -x_2603 = lean_array_push(x_2596, x_14); -lean_inc(x_2583); -x_2604 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2604, 0, x_2583); -lean_ctor_set(x_2604, 1, x_2588); -lean_ctor_set(x_2604, 2, x_2603); -x_2605 = lean_array_push(x_2596, x_2604); -lean_inc(x_2583); +lean_dec(x_2431); +x_2591 = lean_ctor_get(x_2432, 0); +lean_inc(x_2591); +if (lean_is_exclusive(x_2432)) { + lean_ctor_release(x_2432, 0); + lean_ctor_release(x_2432, 1); + x_2592 = x_2432; +} else { + lean_dec_ref(x_2432); + x_2592 = lean_box(0); +} +x_2593 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2433); +x_2594 = lean_ctor_get(x_2593, 0); +lean_inc(x_2594); +x_2595 = lean_ctor_get(x_2593, 1); +lean_inc(x_2595); +if (lean_is_exclusive(x_2593)) { + lean_ctor_release(x_2593, 0); + lean_ctor_release(x_2593, 1); + x_2596 = x_2593; +} else { + lean_dec_ref(x_2593); + x_2596 = lean_box(0); +} +x_2597 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2594); +x_2598 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2598, 0, x_2594); +lean_ctor_set(x_2598, 1, x_2597); +x_2599 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2600 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2594); +x_2601 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2601, 0, x_2594); +lean_ctor_set(x_2601, 1, x_2599); +lean_ctor_set(x_2601, 2, x_2600); +x_2602 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2601); +x_2603 = lean_array_push(x_2602, x_2601); +x_2604 = lean_array_push(x_2603, x_2423); +x_2605 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2594); x_2606 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2606, 0, x_2583); -lean_ctor_set(x_2606, 1, x_2588); -lean_ctor_set(x_2606, 2, x_2605); -x_2607 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2583); -x_2608 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2608, 0, x_2583); -lean_ctor_set(x_2608, 1, x_2607); -x_2609 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2610 = lean_array_push(x_2609, x_2602); -x_2611 = lean_array_push(x_2610, x_2606); -x_2612 = lean_array_push(x_2611, x_2608); -x_2613 = lean_array_push(x_2612, x_2580); -x_2614 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2583); +lean_ctor_set(x_2606, 0, x_2594); +lean_ctor_set(x_2606, 1, x_2605); +lean_ctor_set(x_2606, 2, x_2604); +x_2607 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2608 = lean_array_push(x_2607, x_2606); +lean_inc(x_2594); +x_2609 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2609, 0, x_2594); +lean_ctor_set(x_2609, 1, x_2599); +lean_ctor_set(x_2609, 2, x_2608); +x_2610 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2594); +x_2611 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2611, 0, x_2594); +lean_ctor_set(x_2611, 1, x_2610); +x_2612 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2594); +x_2613 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2613, 0, x_2594); +lean_ctor_set(x_2613, 1, x_2612); +x_2614 = lean_array_push(x_2607, x_14); +lean_inc(x_2594); x_2615 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2615, 0, x_2583); -lean_ctor_set(x_2615, 1, x_2614); -lean_ctor_set(x_2615, 2, x_2613); -x_2616 = lean_array_push(x_2596, x_2615); -lean_inc(x_2583); +lean_ctor_set(x_2615, 0, x_2594); +lean_ctor_set(x_2615, 1, x_2599); +lean_ctor_set(x_2615, 2, x_2614); +x_2616 = lean_array_push(x_2607, x_2615); +lean_inc(x_2594); x_2617 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2617, 0, x_2583); -lean_ctor_set(x_2617, 1, x_2588); +lean_ctor_set(x_2617, 0, x_2594); +lean_ctor_set(x_2617, 1, x_2599); lean_ctor_set(x_2617, 2, x_2616); -x_2618 = lean_array_push(x_2596, x_2617); -x_2619 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2583); -x_2620 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2620, 0, x_2583); -lean_ctor_set(x_2620, 1, x_2619); -lean_ctor_set(x_2620, 2, x_2618); -x_2621 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2622 = lean_array_push(x_2621, x_2587); -lean_inc(x_2590); -x_2623 = lean_array_push(x_2622, x_2590); -x_2624 = lean_array_push(x_2623, x_2590); -x_2625 = lean_array_push(x_2624, x_2598); -x_2626 = lean_array_push(x_2625, x_2600); -x_2627 = lean_array_push(x_2626, x_2620); -x_2628 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2629 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2629, 0, x_2583); -lean_ctor_set(x_2629, 1, x_2628); -lean_ctor_set(x_2629, 2, x_2627); -x_2630 = 1; -x_2631 = lean_box(x_2630); -if (lean_is_scalar(x_2581)) { - x_2632 = lean_alloc_ctor(0, 2, 0); +x_2618 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2594); +x_2619 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2619, 0, x_2594); +lean_ctor_set(x_2619, 1, x_2618); +x_2620 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2621 = lean_array_push(x_2620, x_2613); +x_2622 = lean_array_push(x_2621, x_2617); +x_2623 = lean_array_push(x_2622, x_2619); +x_2624 = lean_array_push(x_2623, x_2591); +x_2625 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2594); +x_2626 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2626, 0, x_2594); +lean_ctor_set(x_2626, 1, x_2625); +lean_ctor_set(x_2626, 2, x_2624); +x_2627 = lean_array_push(x_2607, x_2626); +lean_inc(x_2594); +x_2628 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2628, 0, x_2594); +lean_ctor_set(x_2628, 1, x_2599); +lean_ctor_set(x_2628, 2, x_2627); +x_2629 = lean_array_push(x_2607, x_2628); +x_2630 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2594); +x_2631 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2631, 0, x_2594); +lean_ctor_set(x_2631, 1, x_2630); +lean_ctor_set(x_2631, 2, x_2629); +x_2632 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2633 = lean_array_push(x_2632, x_2598); +lean_inc(x_2601); +x_2634 = lean_array_push(x_2633, x_2601); +x_2635 = lean_array_push(x_2634, x_2601); +x_2636 = lean_array_push(x_2635, x_2609); +x_2637 = lean_array_push(x_2636, x_2611); +x_2638 = lean_array_push(x_2637, x_2631); +x_2639 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2640 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2640, 0, x_2594); +lean_ctor_set(x_2640, 1, x_2639); +lean_ctor_set(x_2640, 2, x_2638); +x_2641 = 1; +x_2642 = lean_box(x_2641); +if (lean_is_scalar(x_2592)) { + x_2643 = lean_alloc_ctor(0, 2, 0); } else { - x_2632 = x_2581; + x_2643 = x_2592; } -lean_ctor_set(x_2632, 0, x_2629); -lean_ctor_set(x_2632, 1, x_2631); -x_2633 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2633, 0, x_2579); -lean_ctor_set(x_2633, 1, x_2632); -if (lean_is_scalar(x_2585)) { - x_2634 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2643, 0, x_2640); +lean_ctor_set(x_2643, 1, x_2642); +x_2644 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2644, 0, x_2590); +lean_ctor_set(x_2644, 1, x_2643); +if (lean_is_scalar(x_2596)) { + x_2645 = lean_alloc_ctor(0, 2, 0); } else { - x_2634 = x_2585; + x_2645 = x_2596; } -lean_ctor_set(x_2634, 0, x_2633); -lean_ctor_set(x_2634, 1, x_2584); -return x_2634; +lean_ctor_set(x_2645, 0, x_2644); +lean_ctor_set(x_2645, 1, x_2595); +return x_2645; } } else { -uint8_t x_2635; -lean_dec(x_2412); +uint8_t x_2646; +lean_dec(x_2423); lean_dec(x_14); lean_dec(x_5); -x_2635 = !lean_is_exclusive(x_2419); -if (x_2635 == 0) +x_2646 = !lean_is_exclusive(x_2430); +if (x_2646 == 0) { -return x_2419; +return x_2430; } else { -lean_object* x_2636; lean_object* x_2637; lean_object* x_2638; -x_2636 = lean_ctor_get(x_2419, 0); -x_2637 = lean_ctor_get(x_2419, 1); -lean_inc(x_2637); -lean_inc(x_2636); -lean_dec(x_2419); -x_2638 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2638, 0, x_2636); -lean_ctor_set(x_2638, 1, x_2637); -return x_2638; -} -} -} -} -else -{ -lean_object* x_2639; lean_object* x_2640; lean_object* x_2641; lean_object* x_2642; lean_object* x_2643; lean_object* x_2644; lean_object* x_2645; lean_object* x_2646; lean_object* x_2647; -lean_dec(x_253); -lean_dec(x_252); -lean_dec(x_16); -lean_dec(x_15); -lean_inc(x_5); -lean_inc(x_14); -x_2639 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2640 = lean_ctor_get(x_2639, 0); -lean_inc(x_2640); -x_2641 = lean_ctor_get(x_2639, 1); -lean_inc(x_2641); -lean_dec(x_2639); -x_2642 = lean_unsigned_to_nat(1u); -x_2643 = lean_nat_add(x_3, x_2642); -lean_dec(x_3); -lean_inc(x_14); -x_2644 = l_Lean_mkHole(x_14); -lean_inc(x_2640); -x_2645 = l_Lean_Elab_Term_mkExplicitBinder(x_2640, x_2644); -x_2646 = lean_array_push(x_4, x_2645); -lean_inc(x_5); -x_2647 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2643, x_2646, x_5, x_2641); -if (lean_obj_tag(x_2647) == 0) -{ -lean_object* x_2648; lean_object* x_2649; lean_object* x_2650; uint8_t x_2651; -x_2648 = lean_ctor_get(x_2647, 0); +lean_object* x_2647; lean_object* x_2648; lean_object* x_2649; +x_2647 = lean_ctor_get(x_2430, 0); +x_2648 = lean_ctor_get(x_2430, 1); lean_inc(x_2648); -x_2649 = lean_ctor_get(x_2648, 1); -lean_inc(x_2649); -x_2650 = lean_ctor_get(x_2647, 1); -lean_inc(x_2650); -lean_dec(x_2647); -x_2651 = !lean_is_exclusive(x_2648); -if (x_2651 == 0) -{ -lean_object* x_2652; uint8_t x_2653; -x_2652 = lean_ctor_get(x_2648, 1); -lean_dec(x_2652); -x_2653 = !lean_is_exclusive(x_2649); -if (x_2653 == 0) -{ -lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; uint8_t x_2657; -x_2654 = lean_ctor_get(x_2649, 0); -x_2655 = lean_ctor_get(x_2649, 1); -lean_dec(x_2655); -x_2656 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2650); -x_2657 = !lean_is_exclusive(x_2656); -if (x_2657 == 0) -{ -lean_object* x_2658; lean_object* x_2659; lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; lean_object* x_2663; lean_object* x_2664; lean_object* x_2665; lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; lean_object* x_2669; lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; lean_object* x_2684; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; lean_object* x_2702; uint8_t x_2703; lean_object* x_2704; -x_2658 = lean_ctor_get(x_2656, 0); -x_2659 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2658); -x_2660 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2660, 0, x_2658); -lean_ctor_set(x_2660, 1, x_2659); -x_2661 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2662 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2658); -x_2663 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2663, 0, x_2658); -lean_ctor_set(x_2663, 1, x_2661); -lean_ctor_set(x_2663, 2, x_2662); -x_2664 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2663); -x_2665 = lean_array_push(x_2664, x_2663); -x_2666 = lean_array_push(x_2665, x_2640); -x_2667 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2658); -x_2668 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2668, 0, x_2658); -lean_ctor_set(x_2668, 1, x_2667); -lean_ctor_set(x_2668, 2, x_2666); -x_2669 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2670 = lean_array_push(x_2669, x_2668); -lean_inc(x_2658); -x_2671 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2671, 0, x_2658); -lean_ctor_set(x_2671, 1, x_2661); -lean_ctor_set(x_2671, 2, x_2670); -x_2672 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2658); -x_2673 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2673, 0, x_2658); -lean_ctor_set(x_2673, 1, x_2672); -x_2674 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2658); -x_2675 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2675, 0, x_2658); -lean_ctor_set(x_2675, 1, x_2674); -x_2676 = lean_array_push(x_2669, x_14); -lean_inc(x_2658); -x_2677 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2677, 0, x_2658); -lean_ctor_set(x_2677, 1, x_2661); -lean_ctor_set(x_2677, 2, x_2676); -x_2678 = lean_array_push(x_2669, x_2677); -lean_inc(x_2658); -x_2679 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2679, 0, x_2658); -lean_ctor_set(x_2679, 1, x_2661); -lean_ctor_set(x_2679, 2, x_2678); -x_2680 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2658); -x_2681 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2681, 0, x_2658); -lean_ctor_set(x_2681, 1, x_2680); -x_2682 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2683 = lean_array_push(x_2682, x_2675); -x_2684 = lean_array_push(x_2683, x_2679); -x_2685 = lean_array_push(x_2684, x_2681); -x_2686 = lean_array_push(x_2685, x_2654); -x_2687 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2658); -x_2688 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2688, 0, x_2658); -lean_ctor_set(x_2688, 1, x_2687); -lean_ctor_set(x_2688, 2, x_2686); -x_2689 = lean_array_push(x_2669, x_2688); -lean_inc(x_2658); -x_2690 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2690, 0, x_2658); -lean_ctor_set(x_2690, 1, x_2661); -lean_ctor_set(x_2690, 2, x_2689); -x_2691 = lean_array_push(x_2669, x_2690); -x_2692 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2658); -x_2693 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2693, 0, x_2658); -lean_ctor_set(x_2693, 1, x_2692); -lean_ctor_set(x_2693, 2, x_2691); -x_2694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2695 = lean_array_push(x_2694, x_2660); -lean_inc(x_2663); -x_2696 = lean_array_push(x_2695, x_2663); -x_2697 = lean_array_push(x_2696, x_2663); -x_2698 = lean_array_push(x_2697, x_2671); -x_2699 = lean_array_push(x_2698, x_2673); -x_2700 = lean_array_push(x_2699, x_2693); -x_2701 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2702 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2702, 0, x_2658); -lean_ctor_set(x_2702, 1, x_2701); -lean_ctor_set(x_2702, 2, x_2700); -x_2703 = 1; -x_2704 = lean_box(x_2703); -lean_ctor_set(x_2649, 1, x_2704); -lean_ctor_set(x_2649, 0, x_2702); -lean_ctor_set(x_2656, 0, x_2648); -return x_2656; -} -else -{ -lean_object* x_2705; lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; lean_object* x_2715; lean_object* x_2716; lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; uint8_t x_2751; lean_object* x_2752; lean_object* x_2753; -x_2705 = lean_ctor_get(x_2656, 0); -x_2706 = lean_ctor_get(x_2656, 1); -lean_inc(x_2706); -lean_inc(x_2705); -lean_dec(x_2656); -x_2707 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2705); -x_2708 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2708, 0, x_2705); -lean_ctor_set(x_2708, 1, x_2707); -x_2709 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2710 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2705); -x_2711 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2711, 0, x_2705); -lean_ctor_set(x_2711, 1, x_2709); -lean_ctor_set(x_2711, 2, x_2710); -x_2712 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2711); -x_2713 = lean_array_push(x_2712, x_2711); -x_2714 = lean_array_push(x_2713, x_2640); -x_2715 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2705); -x_2716 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2716, 0, x_2705); -lean_ctor_set(x_2716, 1, x_2715); -lean_ctor_set(x_2716, 2, x_2714); -x_2717 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2718 = lean_array_push(x_2717, x_2716); -lean_inc(x_2705); -x_2719 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2719, 0, x_2705); -lean_ctor_set(x_2719, 1, x_2709); -lean_ctor_set(x_2719, 2, x_2718); -x_2720 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2705); -x_2721 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2721, 0, x_2705); -lean_ctor_set(x_2721, 1, x_2720); -x_2722 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2705); -x_2723 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2723, 0, x_2705); -lean_ctor_set(x_2723, 1, x_2722); -x_2724 = lean_array_push(x_2717, x_14); -lean_inc(x_2705); -x_2725 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2725, 0, x_2705); -lean_ctor_set(x_2725, 1, x_2709); -lean_ctor_set(x_2725, 2, x_2724); -x_2726 = lean_array_push(x_2717, x_2725); -lean_inc(x_2705); -x_2727 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2727, 0, x_2705); -lean_ctor_set(x_2727, 1, x_2709); -lean_ctor_set(x_2727, 2, x_2726); -x_2728 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2705); -x_2729 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2729, 0, x_2705); -lean_ctor_set(x_2729, 1, x_2728); -x_2730 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2731 = lean_array_push(x_2730, x_2723); -x_2732 = lean_array_push(x_2731, x_2727); -x_2733 = lean_array_push(x_2732, x_2729); -x_2734 = lean_array_push(x_2733, x_2654); -x_2735 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2705); -x_2736 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2736, 0, x_2705); -lean_ctor_set(x_2736, 1, x_2735); -lean_ctor_set(x_2736, 2, x_2734); -x_2737 = lean_array_push(x_2717, x_2736); -lean_inc(x_2705); -x_2738 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2738, 0, x_2705); -lean_ctor_set(x_2738, 1, x_2709); -lean_ctor_set(x_2738, 2, x_2737); -x_2739 = lean_array_push(x_2717, x_2738); -x_2740 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2705); -x_2741 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2741, 0, x_2705); -lean_ctor_set(x_2741, 1, x_2740); -lean_ctor_set(x_2741, 2, x_2739); -x_2742 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2743 = lean_array_push(x_2742, x_2708); -lean_inc(x_2711); -x_2744 = lean_array_push(x_2743, x_2711); -x_2745 = lean_array_push(x_2744, x_2711); -x_2746 = lean_array_push(x_2745, x_2719); -x_2747 = lean_array_push(x_2746, x_2721); -x_2748 = lean_array_push(x_2747, x_2741); -x_2749 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2750 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2750, 0, x_2705); -lean_ctor_set(x_2750, 1, x_2749); -lean_ctor_set(x_2750, 2, x_2748); -x_2751 = 1; -x_2752 = lean_box(x_2751); -lean_ctor_set(x_2649, 1, x_2752); -lean_ctor_set(x_2649, 0, x_2750); -x_2753 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2753, 0, x_2648); -lean_ctor_set(x_2753, 1, x_2706); -return x_2753; -} -} -else -{ -lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; lean_object* x_2763; lean_object* x_2764; lean_object* x_2765; lean_object* x_2766; lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; uint8_t x_2803; lean_object* x_2804; lean_object* x_2805; lean_object* x_2806; -x_2754 = lean_ctor_get(x_2649, 0); -lean_inc(x_2754); -lean_dec(x_2649); -x_2755 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2650); -x_2756 = lean_ctor_get(x_2755, 0); -lean_inc(x_2756); -x_2757 = lean_ctor_get(x_2755, 1); -lean_inc(x_2757); -if (lean_is_exclusive(x_2755)) { - lean_ctor_release(x_2755, 0); - lean_ctor_release(x_2755, 1); - x_2758 = x_2755; -} else { - lean_dec_ref(x_2755); - x_2758 = lean_box(0); -} -x_2759 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2756); -x_2760 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2760, 0, x_2756); -lean_ctor_set(x_2760, 1, x_2759); -x_2761 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2762 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2756); -x_2763 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2763, 0, x_2756); -lean_ctor_set(x_2763, 1, x_2761); -lean_ctor_set(x_2763, 2, x_2762); -x_2764 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2763); -x_2765 = lean_array_push(x_2764, x_2763); -x_2766 = lean_array_push(x_2765, x_2640); -x_2767 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2756); -x_2768 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2768, 0, x_2756); -lean_ctor_set(x_2768, 1, x_2767); -lean_ctor_set(x_2768, 2, x_2766); -x_2769 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2770 = lean_array_push(x_2769, x_2768); -lean_inc(x_2756); -x_2771 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2771, 0, x_2756); -lean_ctor_set(x_2771, 1, x_2761); -lean_ctor_set(x_2771, 2, x_2770); -x_2772 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2756); -x_2773 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2773, 0, x_2756); -lean_ctor_set(x_2773, 1, x_2772); -x_2774 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2756); -x_2775 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2775, 0, x_2756); -lean_ctor_set(x_2775, 1, x_2774); -x_2776 = lean_array_push(x_2769, x_14); -lean_inc(x_2756); -x_2777 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2777, 0, x_2756); -lean_ctor_set(x_2777, 1, x_2761); -lean_ctor_set(x_2777, 2, x_2776); -x_2778 = lean_array_push(x_2769, x_2777); -lean_inc(x_2756); -x_2779 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2779, 0, x_2756); -lean_ctor_set(x_2779, 1, x_2761); -lean_ctor_set(x_2779, 2, x_2778); -x_2780 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2756); -x_2781 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2781, 0, x_2756); -lean_ctor_set(x_2781, 1, x_2780); -x_2782 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2783 = lean_array_push(x_2782, x_2775); -x_2784 = lean_array_push(x_2783, x_2779); -x_2785 = lean_array_push(x_2784, x_2781); -x_2786 = lean_array_push(x_2785, x_2754); -x_2787 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2756); -x_2788 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2788, 0, x_2756); -lean_ctor_set(x_2788, 1, x_2787); -lean_ctor_set(x_2788, 2, x_2786); -x_2789 = lean_array_push(x_2769, x_2788); -lean_inc(x_2756); -x_2790 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2790, 0, x_2756); -lean_ctor_set(x_2790, 1, x_2761); -lean_ctor_set(x_2790, 2, x_2789); -x_2791 = lean_array_push(x_2769, x_2790); -x_2792 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2756); -x_2793 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2793, 0, x_2756); -lean_ctor_set(x_2793, 1, x_2792); -lean_ctor_set(x_2793, 2, x_2791); -x_2794 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2795 = lean_array_push(x_2794, x_2760); -lean_inc(x_2763); -x_2796 = lean_array_push(x_2795, x_2763); -x_2797 = lean_array_push(x_2796, x_2763); -x_2798 = lean_array_push(x_2797, x_2771); -x_2799 = lean_array_push(x_2798, x_2773); -x_2800 = lean_array_push(x_2799, x_2793); -x_2801 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2802 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2802, 0, x_2756); -lean_ctor_set(x_2802, 1, x_2801); -lean_ctor_set(x_2802, 2, x_2800); -x_2803 = 1; -x_2804 = lean_box(x_2803); -x_2805 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2805, 0, x_2802); -lean_ctor_set(x_2805, 1, x_2804); -lean_ctor_set(x_2648, 1, x_2805); -if (lean_is_scalar(x_2758)) { - x_2806 = lean_alloc_ctor(0, 2, 0); -} else { - x_2806 = x_2758; -} -lean_ctor_set(x_2806, 0, x_2648); -lean_ctor_set(x_2806, 1, x_2757); -return x_2806; -} -} -else -{ -lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; lean_object* x_2810; lean_object* x_2811; lean_object* x_2812; lean_object* x_2813; lean_object* x_2814; lean_object* x_2815; lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; lean_object* x_2826; lean_object* x_2827; lean_object* x_2828; lean_object* x_2829; lean_object* x_2830; lean_object* x_2831; lean_object* x_2832; lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; lean_object* x_2850; lean_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; lean_object* x_2856; lean_object* x_2857; uint8_t x_2858; lean_object* x_2859; lean_object* x_2860; lean_object* x_2861; lean_object* x_2862; -x_2807 = lean_ctor_get(x_2648, 0); -lean_inc(x_2807); -lean_dec(x_2648); -x_2808 = lean_ctor_get(x_2649, 0); -lean_inc(x_2808); -if (lean_is_exclusive(x_2649)) { - lean_ctor_release(x_2649, 0); - lean_ctor_release(x_2649, 1); - x_2809 = x_2649; -} else { - lean_dec_ref(x_2649); - x_2809 = lean_box(0); -} -x_2810 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2650); -x_2811 = lean_ctor_get(x_2810, 0); -lean_inc(x_2811); -x_2812 = lean_ctor_get(x_2810, 1); -lean_inc(x_2812); -if (lean_is_exclusive(x_2810)) { - lean_ctor_release(x_2810, 0); - lean_ctor_release(x_2810, 1); - x_2813 = x_2810; -} else { - lean_dec_ref(x_2810); - x_2813 = lean_box(0); -} -x_2814 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2811); -x_2815 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2815, 0, x_2811); -lean_ctor_set(x_2815, 1, x_2814); -x_2816 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2817 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2811); -x_2818 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2818, 0, x_2811); -lean_ctor_set(x_2818, 1, x_2816); -lean_ctor_set(x_2818, 2, x_2817); -x_2819 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2818); -x_2820 = lean_array_push(x_2819, x_2818); -x_2821 = lean_array_push(x_2820, x_2640); -x_2822 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2811); -x_2823 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2823, 0, x_2811); -lean_ctor_set(x_2823, 1, x_2822); -lean_ctor_set(x_2823, 2, x_2821); -x_2824 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2825 = lean_array_push(x_2824, x_2823); -lean_inc(x_2811); -x_2826 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2826, 0, x_2811); -lean_ctor_set(x_2826, 1, x_2816); -lean_ctor_set(x_2826, 2, x_2825); -x_2827 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2811); -x_2828 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2828, 0, x_2811); -lean_ctor_set(x_2828, 1, x_2827); -x_2829 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2811); -x_2830 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2830, 0, x_2811); -lean_ctor_set(x_2830, 1, x_2829); -x_2831 = lean_array_push(x_2824, x_14); -lean_inc(x_2811); -x_2832 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2832, 0, x_2811); -lean_ctor_set(x_2832, 1, x_2816); -lean_ctor_set(x_2832, 2, x_2831); -x_2833 = lean_array_push(x_2824, x_2832); -lean_inc(x_2811); -x_2834 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2834, 0, x_2811); -lean_ctor_set(x_2834, 1, x_2816); -lean_ctor_set(x_2834, 2, x_2833); -x_2835 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2811); -x_2836 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2836, 0, x_2811); -lean_ctor_set(x_2836, 1, x_2835); -x_2837 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2838 = lean_array_push(x_2837, x_2830); -x_2839 = lean_array_push(x_2838, x_2834); -x_2840 = lean_array_push(x_2839, x_2836); -x_2841 = lean_array_push(x_2840, x_2808); -x_2842 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2811); -x_2843 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2843, 0, x_2811); -lean_ctor_set(x_2843, 1, x_2842); -lean_ctor_set(x_2843, 2, x_2841); -x_2844 = lean_array_push(x_2824, x_2843); -lean_inc(x_2811); -x_2845 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2845, 0, x_2811); -lean_ctor_set(x_2845, 1, x_2816); -lean_ctor_set(x_2845, 2, x_2844); -x_2846 = lean_array_push(x_2824, x_2845); -x_2847 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2811); -x_2848 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2848, 0, x_2811); -lean_ctor_set(x_2848, 1, x_2847); -lean_ctor_set(x_2848, 2, x_2846); -x_2849 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2850 = lean_array_push(x_2849, x_2815); -lean_inc(x_2818); -x_2851 = lean_array_push(x_2850, x_2818); -x_2852 = lean_array_push(x_2851, x_2818); -x_2853 = lean_array_push(x_2852, x_2826); -x_2854 = lean_array_push(x_2853, x_2828); -x_2855 = lean_array_push(x_2854, x_2848); -x_2856 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2857 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2857, 0, x_2811); -lean_ctor_set(x_2857, 1, x_2856); -lean_ctor_set(x_2857, 2, x_2855); -x_2858 = 1; -x_2859 = lean_box(x_2858); -if (lean_is_scalar(x_2809)) { - x_2860 = lean_alloc_ctor(0, 2, 0); -} else { - x_2860 = x_2809; -} -lean_ctor_set(x_2860, 0, x_2857); -lean_ctor_set(x_2860, 1, x_2859); -x_2861 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2861, 0, x_2807); -lean_ctor_set(x_2861, 1, x_2860); -if (lean_is_scalar(x_2813)) { - x_2862 = lean_alloc_ctor(0, 2, 0); -} else { - x_2862 = x_2813; -} -lean_ctor_set(x_2862, 0, x_2861); -lean_ctor_set(x_2862, 1, x_2812); -return x_2862; -} -} -else -{ -uint8_t x_2863; -lean_dec(x_2640); -lean_dec(x_14); -lean_dec(x_5); -x_2863 = !lean_is_exclusive(x_2647); -if (x_2863 == 0) -{ -return x_2647; -} -else -{ -lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; -x_2864 = lean_ctor_get(x_2647, 0); -x_2865 = lean_ctor_get(x_2647, 1); -lean_inc(x_2865); -lean_inc(x_2864); -lean_dec(x_2647); -x_2866 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_2866, 0, x_2864); -lean_ctor_set(x_2866, 1, x_2865); -return x_2866; +lean_inc(x_2647); +lean_dec(x_2430); +x_2649 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2649, 0, x_2647); +lean_ctor_set(x_2649, 1, x_2648); +return x_2649; } } } } else { -lean_object* x_2867; lean_object* x_2868; lean_object* x_2869; lean_object* x_2870; lean_object* x_2871; lean_object* x_2872; lean_object* x_2873; lean_object* x_2874; lean_object* x_2875; -lean_dec(x_252); +uint8_t x_2650; lean_object* x_2651; lean_object* x_2652; lean_object* x_2653; lean_object* x_2654; lean_object* x_2655; lean_object* x_2656; lean_object* x_2657; lean_object* x_2658; lean_object* x_2659; +lean_dec(x_254); +lean_dec(x_253); lean_dec(x_16); lean_dec(x_15); +x_2650 = 0; lean_inc(x_5); lean_inc(x_14); -x_2867 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_2868 = lean_ctor_get(x_2867, 0); -lean_inc(x_2868); -x_2869 = lean_ctor_get(x_2867, 1); -lean_inc(x_2869); -lean_dec(x_2867); -x_2870 = lean_unsigned_to_nat(1u); -x_2871 = lean_nat_add(x_3, x_2870); +x_2651 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_2650, x_5, x_6); +x_2652 = lean_ctor_get(x_2651, 0); +lean_inc(x_2652); +x_2653 = lean_ctor_get(x_2651, 1); +lean_inc(x_2653); +lean_dec(x_2651); +x_2654 = lean_unsigned_to_nat(1u); +x_2655 = lean_nat_add(x_3, x_2654); lean_dec(x_3); lean_inc(x_14); -x_2872 = l_Lean_mkHole(x_14); -lean_inc(x_2868); -x_2873 = l_Lean_Elab_Term_mkExplicitBinder(x_2868, x_2872); -x_2874 = lean_array_push(x_4, x_2873); +x_2656 = l_Lean_mkHole(x_14, x_2650); +lean_inc(x_2652); +x_2657 = l_Lean_Elab_Term_mkExplicitBinder(x_2652, x_2656); +x_2658 = lean_array_push(x_4, x_2657); lean_inc(x_5); -x_2875 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2871, x_2874, x_5, x_2869); -if (lean_obj_tag(x_2875) == 0) +x_2659 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2655, x_2658, x_5, x_2653); +if (lean_obj_tag(x_2659) == 0) { -lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; uint8_t x_2879; -x_2876 = lean_ctor_get(x_2875, 0); -lean_inc(x_2876); -x_2877 = lean_ctor_get(x_2876, 1); -lean_inc(x_2877); -x_2878 = lean_ctor_get(x_2875, 1); -lean_inc(x_2878); -lean_dec(x_2875); -x_2879 = !lean_is_exclusive(x_2876); -if (x_2879 == 0) +lean_object* x_2660; lean_object* x_2661; lean_object* x_2662; uint8_t x_2663; +x_2660 = lean_ctor_get(x_2659, 0); +lean_inc(x_2660); +x_2661 = lean_ctor_get(x_2660, 1); +lean_inc(x_2661); +x_2662 = lean_ctor_get(x_2659, 1); +lean_inc(x_2662); +lean_dec(x_2659); +x_2663 = !lean_is_exclusive(x_2660); +if (x_2663 == 0) { -lean_object* x_2880; uint8_t x_2881; -x_2880 = lean_ctor_get(x_2876, 1); -lean_dec(x_2880); -x_2881 = !lean_is_exclusive(x_2877); -if (x_2881 == 0) +lean_object* x_2664; uint8_t x_2665; +x_2664 = lean_ctor_get(x_2660, 1); +lean_dec(x_2664); +x_2665 = !lean_is_exclusive(x_2661); +if (x_2665 == 0) { -lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; uint8_t x_2885; -x_2882 = lean_ctor_get(x_2877, 0); -x_2883 = lean_ctor_get(x_2877, 1); -lean_dec(x_2883); -x_2884 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2878); -x_2885 = !lean_is_exclusive(x_2884); -if (x_2885 == 0) +lean_object* x_2666; lean_object* x_2667; lean_object* x_2668; uint8_t x_2669; +x_2666 = lean_ctor_get(x_2661, 0); +x_2667 = lean_ctor_get(x_2661, 1); +lean_dec(x_2667); +x_2668 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2662); +x_2669 = !lean_is_exclusive(x_2668); +if (x_2669 == 0) { -lean_object* x_2886; lean_object* x_2887; lean_object* x_2888; lean_object* x_2889; lean_object* x_2890; lean_object* x_2891; lean_object* x_2892; lean_object* x_2893; lean_object* x_2894; lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; lean_object* x_2898; lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; lean_object* x_2908; lean_object* x_2909; lean_object* x_2910; lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; lean_object* x_2916; lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; lean_object* x_2921; lean_object* x_2922; lean_object* x_2923; lean_object* x_2924; lean_object* x_2925; lean_object* x_2926; lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; lean_object* x_2930; uint8_t x_2931; lean_object* x_2932; -x_2886 = lean_ctor_get(x_2884, 0); -x_2887 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2886); -x_2888 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2888, 0, x_2886); -lean_ctor_set(x_2888, 1, x_2887); -x_2889 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2890 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2886); -x_2891 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2891, 0, x_2886); -lean_ctor_set(x_2891, 1, x_2889); -lean_ctor_set(x_2891, 2, x_2890); -x_2892 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2891); -x_2893 = lean_array_push(x_2892, x_2891); -x_2894 = lean_array_push(x_2893, x_2868); -x_2895 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2886); -x_2896 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2896, 0, x_2886); -lean_ctor_set(x_2896, 1, x_2895); -lean_ctor_set(x_2896, 2, x_2894); -x_2897 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2898 = lean_array_push(x_2897, x_2896); -lean_inc(x_2886); -x_2899 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2899, 0, x_2886); -lean_ctor_set(x_2899, 1, x_2889); -lean_ctor_set(x_2899, 2, x_2898); -x_2900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2886); -x_2901 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2901, 0, x_2886); -lean_ctor_set(x_2901, 1, x_2900); -x_2902 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2886); -x_2903 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2903, 0, x_2886); -lean_ctor_set(x_2903, 1, x_2902); -x_2904 = lean_array_push(x_2897, x_14); -lean_inc(x_2886); -x_2905 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2905, 0, x_2886); -lean_ctor_set(x_2905, 1, x_2889); -lean_ctor_set(x_2905, 2, x_2904); -x_2906 = lean_array_push(x_2897, x_2905); -lean_inc(x_2886); -x_2907 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2907, 0, x_2886); -lean_ctor_set(x_2907, 1, x_2889); -lean_ctor_set(x_2907, 2, x_2906); -x_2908 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2886); -x_2909 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2909, 0, x_2886); -lean_ctor_set(x_2909, 1, x_2908); -x_2910 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2911 = lean_array_push(x_2910, x_2903); -x_2912 = lean_array_push(x_2911, x_2907); -x_2913 = lean_array_push(x_2912, x_2909); -x_2914 = lean_array_push(x_2913, x_2882); -x_2915 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2886); -x_2916 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2916, 0, x_2886); -lean_ctor_set(x_2916, 1, x_2915); -lean_ctor_set(x_2916, 2, x_2914); -x_2917 = lean_array_push(x_2897, x_2916); -lean_inc(x_2886); -x_2918 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2918, 0, x_2886); -lean_ctor_set(x_2918, 1, x_2889); -lean_ctor_set(x_2918, 2, x_2917); -x_2919 = lean_array_push(x_2897, x_2918); -x_2920 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2886); -x_2921 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2921, 0, x_2886); -lean_ctor_set(x_2921, 1, x_2920); -lean_ctor_set(x_2921, 2, x_2919); -x_2922 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2923 = lean_array_push(x_2922, x_2888); -lean_inc(x_2891); -x_2924 = lean_array_push(x_2923, x_2891); -x_2925 = lean_array_push(x_2924, x_2891); -x_2926 = lean_array_push(x_2925, x_2899); -x_2927 = lean_array_push(x_2926, x_2901); -x_2928 = lean_array_push(x_2927, x_2921); -x_2929 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2930 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2930, 0, x_2886); -lean_ctor_set(x_2930, 1, x_2929); -lean_ctor_set(x_2930, 2, x_2928); -x_2931 = 1; -x_2932 = lean_box(x_2931); -lean_ctor_set(x_2877, 1, x_2932); -lean_ctor_set(x_2877, 0, x_2930); -lean_ctor_set(x_2884, 0, x_2876); -return x_2884; +lean_object* x_2670; lean_object* x_2671; lean_object* x_2672; lean_object* x_2673; lean_object* x_2674; lean_object* x_2675; lean_object* x_2676; lean_object* x_2677; lean_object* x_2678; lean_object* x_2679; lean_object* x_2680; lean_object* x_2681; lean_object* x_2682; lean_object* x_2683; lean_object* x_2684; lean_object* x_2685; lean_object* x_2686; lean_object* x_2687; lean_object* x_2688; lean_object* x_2689; lean_object* x_2690; lean_object* x_2691; lean_object* x_2692; lean_object* x_2693; lean_object* x_2694; lean_object* x_2695; lean_object* x_2696; lean_object* x_2697; lean_object* x_2698; lean_object* x_2699; lean_object* x_2700; lean_object* x_2701; lean_object* x_2702; lean_object* x_2703; lean_object* x_2704; lean_object* x_2705; lean_object* x_2706; lean_object* x_2707; lean_object* x_2708; lean_object* x_2709; lean_object* x_2710; lean_object* x_2711; lean_object* x_2712; lean_object* x_2713; lean_object* x_2714; uint8_t x_2715; lean_object* x_2716; +x_2670 = lean_ctor_get(x_2668, 0); +x_2671 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2670); +x_2672 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2672, 0, x_2670); +lean_ctor_set(x_2672, 1, x_2671); +x_2673 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2674 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2670); +x_2675 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2675, 0, x_2670); +lean_ctor_set(x_2675, 1, x_2673); +lean_ctor_set(x_2675, 2, x_2674); +x_2676 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2675); +x_2677 = lean_array_push(x_2676, x_2675); +x_2678 = lean_array_push(x_2677, x_2652); +x_2679 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2670); +x_2680 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2680, 0, x_2670); +lean_ctor_set(x_2680, 1, x_2679); +lean_ctor_set(x_2680, 2, x_2678); +x_2681 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2682 = lean_array_push(x_2681, x_2680); +lean_inc(x_2670); +x_2683 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2683, 0, x_2670); +lean_ctor_set(x_2683, 1, x_2673); +lean_ctor_set(x_2683, 2, x_2682); +x_2684 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2670); +x_2685 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2685, 0, x_2670); +lean_ctor_set(x_2685, 1, x_2684); +x_2686 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2670); +x_2687 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2687, 0, x_2670); +lean_ctor_set(x_2687, 1, x_2686); +x_2688 = lean_array_push(x_2681, x_14); +lean_inc(x_2670); +x_2689 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2689, 0, x_2670); +lean_ctor_set(x_2689, 1, x_2673); +lean_ctor_set(x_2689, 2, x_2688); +x_2690 = lean_array_push(x_2681, x_2689); +lean_inc(x_2670); +x_2691 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2691, 0, x_2670); +lean_ctor_set(x_2691, 1, x_2673); +lean_ctor_set(x_2691, 2, x_2690); +x_2692 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2670); +x_2693 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2693, 0, x_2670); +lean_ctor_set(x_2693, 1, x_2692); +x_2694 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2695 = lean_array_push(x_2694, x_2687); +x_2696 = lean_array_push(x_2695, x_2691); +x_2697 = lean_array_push(x_2696, x_2693); +x_2698 = lean_array_push(x_2697, x_2666); +x_2699 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2670); +x_2700 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2700, 0, x_2670); +lean_ctor_set(x_2700, 1, x_2699); +lean_ctor_set(x_2700, 2, x_2698); +x_2701 = lean_array_push(x_2681, x_2700); +lean_inc(x_2670); +x_2702 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2702, 0, x_2670); +lean_ctor_set(x_2702, 1, x_2673); +lean_ctor_set(x_2702, 2, x_2701); +x_2703 = lean_array_push(x_2681, x_2702); +x_2704 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2670); +x_2705 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2705, 0, x_2670); +lean_ctor_set(x_2705, 1, x_2704); +lean_ctor_set(x_2705, 2, x_2703); +x_2706 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2707 = lean_array_push(x_2706, x_2672); +lean_inc(x_2675); +x_2708 = lean_array_push(x_2707, x_2675); +x_2709 = lean_array_push(x_2708, x_2675); +x_2710 = lean_array_push(x_2709, x_2683); +x_2711 = lean_array_push(x_2710, x_2685); +x_2712 = lean_array_push(x_2711, x_2705); +x_2713 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2714 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2714, 0, x_2670); +lean_ctor_set(x_2714, 1, x_2713); +lean_ctor_set(x_2714, 2, x_2712); +x_2715 = 1; +x_2716 = lean_box(x_2715); +lean_ctor_set(x_2661, 1, x_2716); +lean_ctor_set(x_2661, 0, x_2714); +lean_ctor_set(x_2668, 0, x_2660); +return x_2668; } else { -lean_object* x_2933; lean_object* x_2934; lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; lean_object* x_2939; lean_object* x_2940; lean_object* x_2941; lean_object* x_2942; lean_object* x_2943; lean_object* x_2944; lean_object* x_2945; lean_object* x_2946; lean_object* x_2947; lean_object* x_2948; lean_object* x_2949; lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; lean_object* x_2956; lean_object* x_2957; lean_object* x_2958; lean_object* x_2959; lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; lean_object* x_2966; lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; lean_object* x_2971; lean_object* x_2972; lean_object* x_2973; lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; uint8_t x_2979; lean_object* x_2980; lean_object* x_2981; -x_2933 = lean_ctor_get(x_2884, 0); -x_2934 = lean_ctor_get(x_2884, 1); -lean_inc(x_2934); -lean_inc(x_2933); -lean_dec(x_2884); -x_2935 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2933); -x_2936 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2936, 0, x_2933); -lean_ctor_set(x_2936, 1, x_2935); -x_2937 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2938 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2933); -x_2939 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2939, 0, x_2933); -lean_ctor_set(x_2939, 1, x_2937); -lean_ctor_set(x_2939, 2, x_2938); -x_2940 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2939); -x_2941 = lean_array_push(x_2940, x_2939); -x_2942 = lean_array_push(x_2941, x_2868); -x_2943 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2933); -x_2944 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2944, 0, x_2933); -lean_ctor_set(x_2944, 1, x_2943); -lean_ctor_set(x_2944, 2, x_2942); -x_2945 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2946 = lean_array_push(x_2945, x_2944); -lean_inc(x_2933); -x_2947 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2947, 0, x_2933); -lean_ctor_set(x_2947, 1, x_2937); -lean_ctor_set(x_2947, 2, x_2946); -x_2948 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2933); -x_2949 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2949, 0, x_2933); -lean_ctor_set(x_2949, 1, x_2948); -x_2950 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2933); -x_2951 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2951, 0, x_2933); -lean_ctor_set(x_2951, 1, x_2950); -x_2952 = lean_array_push(x_2945, x_14); -lean_inc(x_2933); -x_2953 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2953, 0, x_2933); -lean_ctor_set(x_2953, 1, x_2937); -lean_ctor_set(x_2953, 2, x_2952); -x_2954 = lean_array_push(x_2945, x_2953); -lean_inc(x_2933); -x_2955 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2955, 0, x_2933); -lean_ctor_set(x_2955, 1, x_2937); -lean_ctor_set(x_2955, 2, x_2954); -x_2956 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2933); -x_2957 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2957, 0, x_2933); -lean_ctor_set(x_2957, 1, x_2956); -x_2958 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_2959 = lean_array_push(x_2958, x_2951); -x_2960 = lean_array_push(x_2959, x_2955); -x_2961 = lean_array_push(x_2960, x_2957); -x_2962 = lean_array_push(x_2961, x_2882); -x_2963 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2933); -x_2964 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2964, 0, x_2933); -lean_ctor_set(x_2964, 1, x_2963); -lean_ctor_set(x_2964, 2, x_2962); -x_2965 = lean_array_push(x_2945, x_2964); -lean_inc(x_2933); -x_2966 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2966, 0, x_2933); -lean_ctor_set(x_2966, 1, x_2937); -lean_ctor_set(x_2966, 2, x_2965); -x_2967 = lean_array_push(x_2945, x_2966); -x_2968 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2933); -x_2969 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2969, 0, x_2933); -lean_ctor_set(x_2969, 1, x_2968); -lean_ctor_set(x_2969, 2, x_2967); -x_2970 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_2971 = lean_array_push(x_2970, x_2936); -lean_inc(x_2939); -x_2972 = lean_array_push(x_2971, x_2939); -x_2973 = lean_array_push(x_2972, x_2939); -x_2974 = lean_array_push(x_2973, x_2947); -x_2975 = lean_array_push(x_2974, x_2949); -x_2976 = lean_array_push(x_2975, x_2969); -x_2977 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_2978 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2978, 0, x_2933); -lean_ctor_set(x_2978, 1, x_2977); -lean_ctor_set(x_2978, 2, x_2976); -x_2979 = 1; -x_2980 = lean_box(x_2979); -lean_ctor_set(x_2877, 1, x_2980); -lean_ctor_set(x_2877, 0, x_2978); -x_2981 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_2981, 0, x_2876); -lean_ctor_set(x_2981, 1, x_2934); -return x_2981; +lean_object* x_2717; lean_object* x_2718; lean_object* x_2719; lean_object* x_2720; lean_object* x_2721; lean_object* x_2722; lean_object* x_2723; lean_object* x_2724; lean_object* x_2725; lean_object* x_2726; lean_object* x_2727; lean_object* x_2728; lean_object* x_2729; lean_object* x_2730; lean_object* x_2731; lean_object* x_2732; lean_object* x_2733; lean_object* x_2734; lean_object* x_2735; lean_object* x_2736; lean_object* x_2737; lean_object* x_2738; lean_object* x_2739; lean_object* x_2740; lean_object* x_2741; lean_object* x_2742; lean_object* x_2743; lean_object* x_2744; lean_object* x_2745; lean_object* x_2746; lean_object* x_2747; lean_object* x_2748; lean_object* x_2749; lean_object* x_2750; lean_object* x_2751; lean_object* x_2752; lean_object* x_2753; lean_object* x_2754; lean_object* x_2755; lean_object* x_2756; lean_object* x_2757; lean_object* x_2758; lean_object* x_2759; lean_object* x_2760; lean_object* x_2761; lean_object* x_2762; uint8_t x_2763; lean_object* x_2764; lean_object* x_2765; +x_2717 = lean_ctor_get(x_2668, 0); +x_2718 = lean_ctor_get(x_2668, 1); +lean_inc(x_2718); +lean_inc(x_2717); +lean_dec(x_2668); +x_2719 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2717); +x_2720 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2720, 0, x_2717); +lean_ctor_set(x_2720, 1, x_2719); +x_2721 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2722 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2717); +x_2723 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2723, 0, x_2717); +lean_ctor_set(x_2723, 1, x_2721); +lean_ctor_set(x_2723, 2, x_2722); +x_2724 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2723); +x_2725 = lean_array_push(x_2724, x_2723); +x_2726 = lean_array_push(x_2725, x_2652); +x_2727 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2717); +x_2728 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2728, 0, x_2717); +lean_ctor_set(x_2728, 1, x_2727); +lean_ctor_set(x_2728, 2, x_2726); +x_2729 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2730 = lean_array_push(x_2729, x_2728); +lean_inc(x_2717); +x_2731 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2731, 0, x_2717); +lean_ctor_set(x_2731, 1, x_2721); +lean_ctor_set(x_2731, 2, x_2730); +x_2732 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2717); +x_2733 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2733, 0, x_2717); +lean_ctor_set(x_2733, 1, x_2732); +x_2734 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2717); +x_2735 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2735, 0, x_2717); +lean_ctor_set(x_2735, 1, x_2734); +x_2736 = lean_array_push(x_2729, x_14); +lean_inc(x_2717); +x_2737 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2737, 0, x_2717); +lean_ctor_set(x_2737, 1, x_2721); +lean_ctor_set(x_2737, 2, x_2736); +x_2738 = lean_array_push(x_2729, x_2737); +lean_inc(x_2717); +x_2739 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2739, 0, x_2717); +lean_ctor_set(x_2739, 1, x_2721); +lean_ctor_set(x_2739, 2, x_2738); +x_2740 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2717); +x_2741 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2741, 0, x_2717); +lean_ctor_set(x_2741, 1, x_2740); +x_2742 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2743 = lean_array_push(x_2742, x_2735); +x_2744 = lean_array_push(x_2743, x_2739); +x_2745 = lean_array_push(x_2744, x_2741); +x_2746 = lean_array_push(x_2745, x_2666); +x_2747 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2717); +x_2748 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2748, 0, x_2717); +lean_ctor_set(x_2748, 1, x_2747); +lean_ctor_set(x_2748, 2, x_2746); +x_2749 = lean_array_push(x_2729, x_2748); +lean_inc(x_2717); +x_2750 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2750, 0, x_2717); +lean_ctor_set(x_2750, 1, x_2721); +lean_ctor_set(x_2750, 2, x_2749); +x_2751 = lean_array_push(x_2729, x_2750); +x_2752 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2717); +x_2753 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2753, 0, x_2717); +lean_ctor_set(x_2753, 1, x_2752); +lean_ctor_set(x_2753, 2, x_2751); +x_2754 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2755 = lean_array_push(x_2754, x_2720); +lean_inc(x_2723); +x_2756 = lean_array_push(x_2755, x_2723); +x_2757 = lean_array_push(x_2756, x_2723); +x_2758 = lean_array_push(x_2757, x_2731); +x_2759 = lean_array_push(x_2758, x_2733); +x_2760 = lean_array_push(x_2759, x_2753); +x_2761 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2762 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2762, 0, x_2717); +lean_ctor_set(x_2762, 1, x_2761); +lean_ctor_set(x_2762, 2, x_2760); +x_2763 = 1; +x_2764 = lean_box(x_2763); +lean_ctor_set(x_2661, 1, x_2764); +lean_ctor_set(x_2661, 0, x_2762); +x_2765 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2765, 0, x_2660); +lean_ctor_set(x_2765, 1, x_2718); +return x_2765; } } else { -lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; lean_object* x_2989; lean_object* x_2990; lean_object* x_2991; lean_object* x_2992; lean_object* x_2993; lean_object* x_2994; lean_object* x_2995; lean_object* x_2996; lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; lean_object* x_3000; lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; lean_object* x_3020; lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; uint8_t x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; -x_2982 = lean_ctor_get(x_2877, 0); -lean_inc(x_2982); -lean_dec(x_2877); -x_2983 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2878); -x_2984 = lean_ctor_get(x_2983, 0); -lean_inc(x_2984); -x_2985 = lean_ctor_get(x_2983, 1); -lean_inc(x_2985); -if (lean_is_exclusive(x_2983)) { - lean_ctor_release(x_2983, 0); - lean_ctor_release(x_2983, 1); - x_2986 = x_2983; +lean_object* x_2766; lean_object* x_2767; lean_object* x_2768; lean_object* x_2769; lean_object* x_2770; lean_object* x_2771; lean_object* x_2772; lean_object* x_2773; lean_object* x_2774; lean_object* x_2775; lean_object* x_2776; lean_object* x_2777; lean_object* x_2778; lean_object* x_2779; lean_object* x_2780; lean_object* x_2781; lean_object* x_2782; lean_object* x_2783; lean_object* x_2784; lean_object* x_2785; lean_object* x_2786; lean_object* x_2787; lean_object* x_2788; lean_object* x_2789; lean_object* x_2790; lean_object* x_2791; lean_object* x_2792; lean_object* x_2793; lean_object* x_2794; lean_object* x_2795; lean_object* x_2796; lean_object* x_2797; lean_object* x_2798; lean_object* x_2799; lean_object* x_2800; lean_object* x_2801; lean_object* x_2802; lean_object* x_2803; lean_object* x_2804; lean_object* x_2805; lean_object* x_2806; lean_object* x_2807; lean_object* x_2808; lean_object* x_2809; lean_object* x_2810; lean_object* x_2811; lean_object* x_2812; lean_object* x_2813; lean_object* x_2814; uint8_t x_2815; lean_object* x_2816; lean_object* x_2817; lean_object* x_2818; +x_2766 = lean_ctor_get(x_2661, 0); +lean_inc(x_2766); +lean_dec(x_2661); +x_2767 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2662); +x_2768 = lean_ctor_get(x_2767, 0); +lean_inc(x_2768); +x_2769 = lean_ctor_get(x_2767, 1); +lean_inc(x_2769); +if (lean_is_exclusive(x_2767)) { + lean_ctor_release(x_2767, 0); + lean_ctor_release(x_2767, 1); + x_2770 = x_2767; } else { - lean_dec_ref(x_2983); - x_2986 = lean_box(0); + lean_dec_ref(x_2767); + x_2770 = lean_box(0); } -x_2987 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_2984); -x_2988 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_2988, 0, x_2984); -lean_ctor_set(x_2988, 1, x_2987); -x_2989 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_2990 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_2984); -x_2991 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2991, 0, x_2984); -lean_ctor_set(x_2991, 1, x_2989); -lean_ctor_set(x_2991, 2, x_2990); -x_2992 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_2991); -x_2993 = lean_array_push(x_2992, x_2991); -x_2994 = lean_array_push(x_2993, x_2868); -x_2995 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_2984); -x_2996 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2996, 0, x_2984); -lean_ctor_set(x_2996, 1, x_2995); -lean_ctor_set(x_2996, 2, x_2994); -x_2997 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_2998 = lean_array_push(x_2997, x_2996); -lean_inc(x_2984); -x_2999 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_2999, 0, x_2984); -lean_ctor_set(x_2999, 1, x_2989); -lean_ctor_set(x_2999, 2, x_2998); -x_3000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_2984); -x_3001 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3001, 0, x_2984); -lean_ctor_set(x_3001, 1, x_3000); -x_3002 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_2984); -x_3003 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3003, 0, x_2984); -lean_ctor_set(x_3003, 1, x_3002); -x_3004 = lean_array_push(x_2997, x_14); -lean_inc(x_2984); -x_3005 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3005, 0, x_2984); -lean_ctor_set(x_3005, 1, x_2989); -lean_ctor_set(x_3005, 2, x_3004); -x_3006 = lean_array_push(x_2997, x_3005); -lean_inc(x_2984); -x_3007 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3007, 0, x_2984); -lean_ctor_set(x_3007, 1, x_2989); -lean_ctor_set(x_3007, 2, x_3006); -x_3008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_2984); -x_3009 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3009, 0, x_2984); -lean_ctor_set(x_3009, 1, x_3008); -x_3010 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3011 = lean_array_push(x_3010, x_3003); -x_3012 = lean_array_push(x_3011, x_3007); -x_3013 = lean_array_push(x_3012, x_3009); -x_3014 = lean_array_push(x_3013, x_2982); -x_3015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_2984); -x_3016 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3016, 0, x_2984); -lean_ctor_set(x_3016, 1, x_3015); -lean_ctor_set(x_3016, 2, x_3014); -x_3017 = lean_array_push(x_2997, x_3016); -lean_inc(x_2984); -x_3018 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3018, 0, x_2984); -lean_ctor_set(x_3018, 1, x_2989); -lean_ctor_set(x_3018, 2, x_3017); -x_3019 = lean_array_push(x_2997, x_3018); -x_3020 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_2984); -x_3021 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3021, 0, x_2984); -lean_ctor_set(x_3021, 1, x_3020); -lean_ctor_set(x_3021, 2, x_3019); -x_3022 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3023 = lean_array_push(x_3022, x_2988); -lean_inc(x_2991); -x_3024 = lean_array_push(x_3023, x_2991); -x_3025 = lean_array_push(x_3024, x_2991); -x_3026 = lean_array_push(x_3025, x_2999); -x_3027 = lean_array_push(x_3026, x_3001); -x_3028 = lean_array_push(x_3027, x_3021); -x_3029 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3030 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3030, 0, x_2984); -lean_ctor_set(x_3030, 1, x_3029); -lean_ctor_set(x_3030, 2, x_3028); -x_3031 = 1; -x_3032 = lean_box(x_3031); -x_3033 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3033, 0, x_3030); -lean_ctor_set(x_3033, 1, x_3032); -lean_ctor_set(x_2876, 1, x_3033); -if (lean_is_scalar(x_2986)) { - x_3034 = lean_alloc_ctor(0, 2, 0); +x_2771 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2768); +x_2772 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2772, 0, x_2768); +lean_ctor_set(x_2772, 1, x_2771); +x_2773 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2774 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2768); +x_2775 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2775, 0, x_2768); +lean_ctor_set(x_2775, 1, x_2773); +lean_ctor_set(x_2775, 2, x_2774); +x_2776 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2775); +x_2777 = lean_array_push(x_2776, x_2775); +x_2778 = lean_array_push(x_2777, x_2652); +x_2779 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2768); +x_2780 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2780, 0, x_2768); +lean_ctor_set(x_2780, 1, x_2779); +lean_ctor_set(x_2780, 2, x_2778); +x_2781 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2782 = lean_array_push(x_2781, x_2780); +lean_inc(x_2768); +x_2783 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2783, 0, x_2768); +lean_ctor_set(x_2783, 1, x_2773); +lean_ctor_set(x_2783, 2, x_2782); +x_2784 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2768); +x_2785 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2785, 0, x_2768); +lean_ctor_set(x_2785, 1, x_2784); +x_2786 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2768); +x_2787 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2787, 0, x_2768); +lean_ctor_set(x_2787, 1, x_2786); +x_2788 = lean_array_push(x_2781, x_14); +lean_inc(x_2768); +x_2789 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2789, 0, x_2768); +lean_ctor_set(x_2789, 1, x_2773); +lean_ctor_set(x_2789, 2, x_2788); +x_2790 = lean_array_push(x_2781, x_2789); +lean_inc(x_2768); +x_2791 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2791, 0, x_2768); +lean_ctor_set(x_2791, 1, x_2773); +lean_ctor_set(x_2791, 2, x_2790); +x_2792 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2768); +x_2793 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2793, 0, x_2768); +lean_ctor_set(x_2793, 1, x_2792); +x_2794 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2795 = lean_array_push(x_2794, x_2787); +x_2796 = lean_array_push(x_2795, x_2791); +x_2797 = lean_array_push(x_2796, x_2793); +x_2798 = lean_array_push(x_2797, x_2766); +x_2799 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2768); +x_2800 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2800, 0, x_2768); +lean_ctor_set(x_2800, 1, x_2799); +lean_ctor_set(x_2800, 2, x_2798); +x_2801 = lean_array_push(x_2781, x_2800); +lean_inc(x_2768); +x_2802 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2802, 0, x_2768); +lean_ctor_set(x_2802, 1, x_2773); +lean_ctor_set(x_2802, 2, x_2801); +x_2803 = lean_array_push(x_2781, x_2802); +x_2804 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2768); +x_2805 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2805, 0, x_2768); +lean_ctor_set(x_2805, 1, x_2804); +lean_ctor_set(x_2805, 2, x_2803); +x_2806 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2807 = lean_array_push(x_2806, x_2772); +lean_inc(x_2775); +x_2808 = lean_array_push(x_2807, x_2775); +x_2809 = lean_array_push(x_2808, x_2775); +x_2810 = lean_array_push(x_2809, x_2783); +x_2811 = lean_array_push(x_2810, x_2785); +x_2812 = lean_array_push(x_2811, x_2805); +x_2813 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2814 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2814, 0, x_2768); +lean_ctor_set(x_2814, 1, x_2813); +lean_ctor_set(x_2814, 2, x_2812); +x_2815 = 1; +x_2816 = lean_box(x_2815); +x_2817 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2817, 0, x_2814); +lean_ctor_set(x_2817, 1, x_2816); +lean_ctor_set(x_2660, 1, x_2817); +if (lean_is_scalar(x_2770)) { + x_2818 = lean_alloc_ctor(0, 2, 0); } else { - x_3034 = x_2986; + x_2818 = x_2770; } -lean_ctor_set(x_3034, 0, x_2876); -lean_ctor_set(x_3034, 1, x_2985); -return x_3034; +lean_ctor_set(x_2818, 0, x_2660); +lean_ctor_set(x_2818, 1, x_2769); +return x_2818; } } else { -lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; lean_object* x_3044; lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; lean_object* x_3048; lean_object* x_3049; lean_object* x_3050; lean_object* x_3051; lean_object* x_3052; lean_object* x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; lean_object* x_3060; lean_object* x_3061; lean_object* x_3062; lean_object* x_3063; lean_object* x_3064; lean_object* x_3065; lean_object* x_3066; lean_object* x_3067; lean_object* x_3068; lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; lean_object* x_3083; lean_object* x_3084; lean_object* x_3085; uint8_t x_3086; lean_object* x_3087; lean_object* x_3088; lean_object* x_3089; lean_object* x_3090; -x_3035 = lean_ctor_get(x_2876, 0); -lean_inc(x_3035); -lean_dec(x_2876); -x_3036 = lean_ctor_get(x_2877, 0); -lean_inc(x_3036); -if (lean_is_exclusive(x_2877)) { - lean_ctor_release(x_2877, 0); - lean_ctor_release(x_2877, 1); - x_3037 = x_2877; +lean_object* x_2819; lean_object* x_2820; lean_object* x_2821; lean_object* x_2822; lean_object* x_2823; lean_object* x_2824; lean_object* x_2825; lean_object* x_2826; lean_object* x_2827; lean_object* x_2828; lean_object* x_2829; lean_object* x_2830; lean_object* x_2831; lean_object* x_2832; lean_object* x_2833; lean_object* x_2834; lean_object* x_2835; lean_object* x_2836; lean_object* x_2837; lean_object* x_2838; lean_object* x_2839; lean_object* x_2840; lean_object* x_2841; lean_object* x_2842; lean_object* x_2843; lean_object* x_2844; lean_object* x_2845; lean_object* x_2846; lean_object* x_2847; lean_object* x_2848; lean_object* x_2849; lean_object* x_2850; lean_object* x_2851; lean_object* x_2852; lean_object* x_2853; lean_object* x_2854; lean_object* x_2855; lean_object* x_2856; lean_object* x_2857; lean_object* x_2858; lean_object* x_2859; lean_object* x_2860; lean_object* x_2861; lean_object* x_2862; lean_object* x_2863; lean_object* x_2864; lean_object* x_2865; lean_object* x_2866; lean_object* x_2867; lean_object* x_2868; lean_object* x_2869; uint8_t x_2870; lean_object* x_2871; lean_object* x_2872; lean_object* x_2873; lean_object* x_2874; +x_2819 = lean_ctor_get(x_2660, 0); +lean_inc(x_2819); +lean_dec(x_2660); +x_2820 = lean_ctor_get(x_2661, 0); +lean_inc(x_2820); +if (lean_is_exclusive(x_2661)) { + lean_ctor_release(x_2661, 0); + lean_ctor_release(x_2661, 1); + x_2821 = x_2661; } else { - lean_dec_ref(x_2877); - x_3037 = lean_box(0); + lean_dec_ref(x_2661); + x_2821 = lean_box(0); } -x_3038 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2878); -x_3039 = lean_ctor_get(x_3038, 0); -lean_inc(x_3039); -x_3040 = lean_ctor_get(x_3038, 1); -lean_inc(x_3040); -if (lean_is_exclusive(x_3038)) { - lean_ctor_release(x_3038, 0); - lean_ctor_release(x_3038, 1); - x_3041 = x_3038; +x_2822 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2662); +x_2823 = lean_ctor_get(x_2822, 0); +lean_inc(x_2823); +x_2824 = lean_ctor_get(x_2822, 1); +lean_inc(x_2824); +if (lean_is_exclusive(x_2822)) { + lean_ctor_release(x_2822, 0); + lean_ctor_release(x_2822, 1); + x_2825 = x_2822; } else { - lean_dec_ref(x_3038); - x_3041 = lean_box(0); + lean_dec_ref(x_2822); + x_2825 = lean_box(0); } -x_3042 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3039); -x_3043 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3043, 0, x_3039); -lean_ctor_set(x_3043, 1, x_3042); -x_3044 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3045 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3039); -x_3046 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3046, 0, x_3039); -lean_ctor_set(x_3046, 1, x_3044); -lean_ctor_set(x_3046, 2, x_3045); -x_3047 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_3046); -x_3048 = lean_array_push(x_3047, x_3046); -x_3049 = lean_array_push(x_3048, x_2868); -x_3050 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3039); -x_3051 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3051, 0, x_3039); -lean_ctor_set(x_3051, 1, x_3050); -lean_ctor_set(x_3051, 2, x_3049); -x_3052 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3053 = lean_array_push(x_3052, x_3051); -lean_inc(x_3039); -x_3054 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3054, 0, x_3039); -lean_ctor_set(x_3054, 1, x_3044); -lean_ctor_set(x_3054, 2, x_3053); -x_3055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3039); -x_3056 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3056, 0, x_3039); -lean_ctor_set(x_3056, 1, x_3055); -x_3057 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3039); -x_3058 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3058, 0, x_3039); -lean_ctor_set(x_3058, 1, x_3057); -x_3059 = lean_array_push(x_3052, x_14); -lean_inc(x_3039); -x_3060 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3060, 0, x_3039); -lean_ctor_set(x_3060, 1, x_3044); -lean_ctor_set(x_3060, 2, x_3059); -x_3061 = lean_array_push(x_3052, x_3060); -lean_inc(x_3039); -x_3062 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3062, 0, x_3039); -lean_ctor_set(x_3062, 1, x_3044); -lean_ctor_set(x_3062, 2, x_3061); -x_3063 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3039); -x_3064 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3064, 0, x_3039); -lean_ctor_set(x_3064, 1, x_3063); -x_3065 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3066 = lean_array_push(x_3065, x_3058); -x_3067 = lean_array_push(x_3066, x_3062); -x_3068 = lean_array_push(x_3067, x_3064); -x_3069 = lean_array_push(x_3068, x_3036); -x_3070 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3039); -x_3071 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3071, 0, x_3039); -lean_ctor_set(x_3071, 1, x_3070); -lean_ctor_set(x_3071, 2, x_3069); -x_3072 = lean_array_push(x_3052, x_3071); -lean_inc(x_3039); -x_3073 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3073, 0, x_3039); -lean_ctor_set(x_3073, 1, x_3044); -lean_ctor_set(x_3073, 2, x_3072); -x_3074 = lean_array_push(x_3052, x_3073); -x_3075 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3039); -x_3076 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3076, 0, x_3039); -lean_ctor_set(x_3076, 1, x_3075); -lean_ctor_set(x_3076, 2, x_3074); -x_3077 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3078 = lean_array_push(x_3077, x_3043); -lean_inc(x_3046); -x_3079 = lean_array_push(x_3078, x_3046); -x_3080 = lean_array_push(x_3079, x_3046); -x_3081 = lean_array_push(x_3080, x_3054); -x_3082 = lean_array_push(x_3081, x_3056); -x_3083 = lean_array_push(x_3082, x_3076); -x_3084 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3085 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3085, 0, x_3039); -lean_ctor_set(x_3085, 1, x_3084); -lean_ctor_set(x_3085, 2, x_3083); -x_3086 = 1; -x_3087 = lean_box(x_3086); -if (lean_is_scalar(x_3037)) { - x_3088 = lean_alloc_ctor(0, 2, 0); +x_2826 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2823); +x_2827 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2827, 0, x_2823); +lean_ctor_set(x_2827, 1, x_2826); +x_2828 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2829 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2823); +x_2830 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2830, 0, x_2823); +lean_ctor_set(x_2830, 1, x_2828); +lean_ctor_set(x_2830, 2, x_2829); +x_2831 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2830); +x_2832 = lean_array_push(x_2831, x_2830); +x_2833 = lean_array_push(x_2832, x_2652); +x_2834 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2823); +x_2835 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2835, 0, x_2823); +lean_ctor_set(x_2835, 1, x_2834); +lean_ctor_set(x_2835, 2, x_2833); +x_2836 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2837 = lean_array_push(x_2836, x_2835); +lean_inc(x_2823); +x_2838 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2838, 0, x_2823); +lean_ctor_set(x_2838, 1, x_2828); +lean_ctor_set(x_2838, 2, x_2837); +x_2839 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2823); +x_2840 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2840, 0, x_2823); +lean_ctor_set(x_2840, 1, x_2839); +x_2841 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2823); +x_2842 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2842, 0, x_2823); +lean_ctor_set(x_2842, 1, x_2841); +x_2843 = lean_array_push(x_2836, x_14); +lean_inc(x_2823); +x_2844 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2844, 0, x_2823); +lean_ctor_set(x_2844, 1, x_2828); +lean_ctor_set(x_2844, 2, x_2843); +x_2845 = lean_array_push(x_2836, x_2844); +lean_inc(x_2823); +x_2846 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2846, 0, x_2823); +lean_ctor_set(x_2846, 1, x_2828); +lean_ctor_set(x_2846, 2, x_2845); +x_2847 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2823); +x_2848 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2848, 0, x_2823); +lean_ctor_set(x_2848, 1, x_2847); +x_2849 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2850 = lean_array_push(x_2849, x_2842); +x_2851 = lean_array_push(x_2850, x_2846); +x_2852 = lean_array_push(x_2851, x_2848); +x_2853 = lean_array_push(x_2852, x_2820); +x_2854 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2823); +x_2855 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2855, 0, x_2823); +lean_ctor_set(x_2855, 1, x_2854); +lean_ctor_set(x_2855, 2, x_2853); +x_2856 = lean_array_push(x_2836, x_2855); +lean_inc(x_2823); +x_2857 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2857, 0, x_2823); +lean_ctor_set(x_2857, 1, x_2828); +lean_ctor_set(x_2857, 2, x_2856); +x_2858 = lean_array_push(x_2836, x_2857); +x_2859 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2823); +x_2860 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2860, 0, x_2823); +lean_ctor_set(x_2860, 1, x_2859); +lean_ctor_set(x_2860, 2, x_2858); +x_2861 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2862 = lean_array_push(x_2861, x_2827); +lean_inc(x_2830); +x_2863 = lean_array_push(x_2862, x_2830); +x_2864 = lean_array_push(x_2863, x_2830); +x_2865 = lean_array_push(x_2864, x_2838); +x_2866 = lean_array_push(x_2865, x_2840); +x_2867 = lean_array_push(x_2866, x_2860); +x_2868 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2869 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2869, 0, x_2823); +lean_ctor_set(x_2869, 1, x_2868); +lean_ctor_set(x_2869, 2, x_2867); +x_2870 = 1; +x_2871 = lean_box(x_2870); +if (lean_is_scalar(x_2821)) { + x_2872 = lean_alloc_ctor(0, 2, 0); } else { - x_3088 = x_3037; + x_2872 = x_2821; } -lean_ctor_set(x_3088, 0, x_3085); -lean_ctor_set(x_3088, 1, x_3087); -x_3089 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3089, 0, x_3035); -lean_ctor_set(x_3089, 1, x_3088); -if (lean_is_scalar(x_3041)) { - x_3090 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2872, 0, x_2869); +lean_ctor_set(x_2872, 1, x_2871); +x_2873 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2873, 0, x_2819); +lean_ctor_set(x_2873, 1, x_2872); +if (lean_is_scalar(x_2825)) { + x_2874 = lean_alloc_ctor(0, 2, 0); } else { - x_3090 = x_3041; + x_2874 = x_2825; } -lean_ctor_set(x_3090, 0, x_3089); -lean_ctor_set(x_3090, 1, x_3040); -return x_3090; +lean_ctor_set(x_2874, 0, x_2873); +lean_ctor_set(x_2874, 1, x_2824); +return x_2874; } } else { -uint8_t x_3091; -lean_dec(x_2868); +uint8_t x_2875; +lean_dec(x_2652); lean_dec(x_14); lean_dec(x_5); -x_3091 = !lean_is_exclusive(x_2875); -if (x_3091 == 0) +x_2875 = !lean_is_exclusive(x_2659); +if (x_2875 == 0) { -return x_2875; +return x_2659; } else { -lean_object* x_3092; lean_object* x_3093; lean_object* x_3094; -x_3092 = lean_ctor_get(x_2875, 0); -x_3093 = lean_ctor_get(x_2875, 1); -lean_inc(x_3093); -lean_inc(x_3092); -lean_dec(x_2875); -x_3094 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3094, 0, x_3092); -lean_ctor_set(x_3094, 1, x_3093); -return x_3094; +lean_object* x_2876; lean_object* x_2877; lean_object* x_2878; +x_2876 = lean_ctor_get(x_2659, 0); +x_2877 = lean_ctor_get(x_2659, 1); +lean_inc(x_2877); +lean_inc(x_2876); +lean_dec(x_2659); +x_2878 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_2878, 0, x_2876); +lean_ctor_set(x_2878, 1, x_2877); +return x_2878; +} +} +} +} +else +{ +uint8_t x_2879; lean_object* x_2880; lean_object* x_2881; lean_object* x_2882; lean_object* x_2883; lean_object* x_2884; lean_object* x_2885; lean_object* x_2886; lean_object* x_2887; lean_object* x_2888; +lean_dec(x_253); +lean_dec(x_16); +lean_dec(x_15); +x_2879 = 0; +lean_inc(x_5); +lean_inc(x_14); +x_2880 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_2879, x_5, x_6); +x_2881 = lean_ctor_get(x_2880, 0); +lean_inc(x_2881); +x_2882 = lean_ctor_get(x_2880, 1); +lean_inc(x_2882); +lean_dec(x_2880); +x_2883 = lean_unsigned_to_nat(1u); +x_2884 = lean_nat_add(x_3, x_2883); +lean_dec(x_3); +lean_inc(x_14); +x_2885 = l_Lean_mkHole(x_14, x_2879); +lean_inc(x_2881); +x_2886 = l_Lean_Elab_Term_mkExplicitBinder(x_2881, x_2885); +x_2887 = lean_array_push(x_4, x_2886); +lean_inc(x_5); +x_2888 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_2884, x_2887, x_5, x_2882); +if (lean_obj_tag(x_2888) == 0) +{ +lean_object* x_2889; lean_object* x_2890; lean_object* x_2891; uint8_t x_2892; +x_2889 = lean_ctor_get(x_2888, 0); +lean_inc(x_2889); +x_2890 = lean_ctor_get(x_2889, 1); +lean_inc(x_2890); +x_2891 = lean_ctor_get(x_2888, 1); +lean_inc(x_2891); +lean_dec(x_2888); +x_2892 = !lean_is_exclusive(x_2889); +if (x_2892 == 0) +{ +lean_object* x_2893; uint8_t x_2894; +x_2893 = lean_ctor_get(x_2889, 1); +lean_dec(x_2893); +x_2894 = !lean_is_exclusive(x_2890); +if (x_2894 == 0) +{ +lean_object* x_2895; lean_object* x_2896; lean_object* x_2897; uint8_t x_2898; +x_2895 = lean_ctor_get(x_2890, 0); +x_2896 = lean_ctor_get(x_2890, 1); +lean_dec(x_2896); +x_2897 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2891); +x_2898 = !lean_is_exclusive(x_2897); +if (x_2898 == 0) +{ +lean_object* x_2899; lean_object* x_2900; lean_object* x_2901; lean_object* x_2902; lean_object* x_2903; lean_object* x_2904; lean_object* x_2905; lean_object* x_2906; lean_object* x_2907; lean_object* x_2908; lean_object* x_2909; lean_object* x_2910; lean_object* x_2911; lean_object* x_2912; lean_object* x_2913; lean_object* x_2914; lean_object* x_2915; lean_object* x_2916; lean_object* x_2917; lean_object* x_2918; lean_object* x_2919; lean_object* x_2920; lean_object* x_2921; lean_object* x_2922; lean_object* x_2923; lean_object* x_2924; lean_object* x_2925; lean_object* x_2926; lean_object* x_2927; lean_object* x_2928; lean_object* x_2929; lean_object* x_2930; lean_object* x_2931; lean_object* x_2932; lean_object* x_2933; lean_object* x_2934; lean_object* x_2935; lean_object* x_2936; lean_object* x_2937; lean_object* x_2938; lean_object* x_2939; lean_object* x_2940; lean_object* x_2941; lean_object* x_2942; lean_object* x_2943; uint8_t x_2944; lean_object* x_2945; +x_2899 = lean_ctor_get(x_2897, 0); +x_2900 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2899); +x_2901 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2901, 0, x_2899); +lean_ctor_set(x_2901, 1, x_2900); +x_2902 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2903 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2899); +x_2904 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2904, 0, x_2899); +lean_ctor_set(x_2904, 1, x_2902); +lean_ctor_set(x_2904, 2, x_2903); +x_2905 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2904); +x_2906 = lean_array_push(x_2905, x_2904); +x_2907 = lean_array_push(x_2906, x_2881); +x_2908 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2899); +x_2909 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2909, 0, x_2899); +lean_ctor_set(x_2909, 1, x_2908); +lean_ctor_set(x_2909, 2, x_2907); +x_2910 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2911 = lean_array_push(x_2910, x_2909); +lean_inc(x_2899); +x_2912 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2912, 0, x_2899); +lean_ctor_set(x_2912, 1, x_2902); +lean_ctor_set(x_2912, 2, x_2911); +x_2913 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2899); +x_2914 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2914, 0, x_2899); +lean_ctor_set(x_2914, 1, x_2913); +x_2915 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2899); +x_2916 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2916, 0, x_2899); +lean_ctor_set(x_2916, 1, x_2915); +x_2917 = lean_array_push(x_2910, x_14); +lean_inc(x_2899); +x_2918 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2918, 0, x_2899); +lean_ctor_set(x_2918, 1, x_2902); +lean_ctor_set(x_2918, 2, x_2917); +x_2919 = lean_array_push(x_2910, x_2918); +lean_inc(x_2899); +x_2920 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2920, 0, x_2899); +lean_ctor_set(x_2920, 1, x_2902); +lean_ctor_set(x_2920, 2, x_2919); +x_2921 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2899); +x_2922 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2922, 0, x_2899); +lean_ctor_set(x_2922, 1, x_2921); +x_2923 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2924 = lean_array_push(x_2923, x_2916); +x_2925 = lean_array_push(x_2924, x_2920); +x_2926 = lean_array_push(x_2925, x_2922); +x_2927 = lean_array_push(x_2926, x_2895); +x_2928 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2899); +x_2929 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2929, 0, x_2899); +lean_ctor_set(x_2929, 1, x_2928); +lean_ctor_set(x_2929, 2, x_2927); +x_2930 = lean_array_push(x_2910, x_2929); +lean_inc(x_2899); +x_2931 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2931, 0, x_2899); +lean_ctor_set(x_2931, 1, x_2902); +lean_ctor_set(x_2931, 2, x_2930); +x_2932 = lean_array_push(x_2910, x_2931); +x_2933 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2899); +x_2934 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2934, 0, x_2899); +lean_ctor_set(x_2934, 1, x_2933); +lean_ctor_set(x_2934, 2, x_2932); +x_2935 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2936 = lean_array_push(x_2935, x_2901); +lean_inc(x_2904); +x_2937 = lean_array_push(x_2936, x_2904); +x_2938 = lean_array_push(x_2937, x_2904); +x_2939 = lean_array_push(x_2938, x_2912); +x_2940 = lean_array_push(x_2939, x_2914); +x_2941 = lean_array_push(x_2940, x_2934); +x_2942 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2943 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2943, 0, x_2899); +lean_ctor_set(x_2943, 1, x_2942); +lean_ctor_set(x_2943, 2, x_2941); +x_2944 = 1; +x_2945 = lean_box(x_2944); +lean_ctor_set(x_2890, 1, x_2945); +lean_ctor_set(x_2890, 0, x_2943); +lean_ctor_set(x_2897, 0, x_2889); +return x_2897; +} +else +{ +lean_object* x_2946; lean_object* x_2947; lean_object* x_2948; lean_object* x_2949; lean_object* x_2950; lean_object* x_2951; lean_object* x_2952; lean_object* x_2953; lean_object* x_2954; lean_object* x_2955; lean_object* x_2956; lean_object* x_2957; lean_object* x_2958; lean_object* x_2959; lean_object* x_2960; lean_object* x_2961; lean_object* x_2962; lean_object* x_2963; lean_object* x_2964; lean_object* x_2965; lean_object* x_2966; lean_object* x_2967; lean_object* x_2968; lean_object* x_2969; lean_object* x_2970; lean_object* x_2971; lean_object* x_2972; lean_object* x_2973; lean_object* x_2974; lean_object* x_2975; lean_object* x_2976; lean_object* x_2977; lean_object* x_2978; lean_object* x_2979; lean_object* x_2980; lean_object* x_2981; lean_object* x_2982; lean_object* x_2983; lean_object* x_2984; lean_object* x_2985; lean_object* x_2986; lean_object* x_2987; lean_object* x_2988; lean_object* x_2989; lean_object* x_2990; lean_object* x_2991; uint8_t x_2992; lean_object* x_2993; lean_object* x_2994; +x_2946 = lean_ctor_get(x_2897, 0); +x_2947 = lean_ctor_get(x_2897, 1); +lean_inc(x_2947); +lean_inc(x_2946); +lean_dec(x_2897); +x_2948 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2946); +x_2949 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2949, 0, x_2946); +lean_ctor_set(x_2949, 1, x_2948); +x_2950 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_2951 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2946); +x_2952 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2952, 0, x_2946); +lean_ctor_set(x_2952, 1, x_2950); +lean_ctor_set(x_2952, 2, x_2951); +x_2953 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_2952); +x_2954 = lean_array_push(x_2953, x_2952); +x_2955 = lean_array_push(x_2954, x_2881); +x_2956 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2946); +x_2957 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2957, 0, x_2946); +lean_ctor_set(x_2957, 1, x_2956); +lean_ctor_set(x_2957, 2, x_2955); +x_2958 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_2959 = lean_array_push(x_2958, x_2957); +lean_inc(x_2946); +x_2960 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2960, 0, x_2946); +lean_ctor_set(x_2960, 1, x_2950); +lean_ctor_set(x_2960, 2, x_2959); +x_2961 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2946); +x_2962 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2962, 0, x_2946); +lean_ctor_set(x_2962, 1, x_2961); +x_2963 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2946); +x_2964 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2964, 0, x_2946); +lean_ctor_set(x_2964, 1, x_2963); +x_2965 = lean_array_push(x_2958, x_14); +lean_inc(x_2946); +x_2966 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2966, 0, x_2946); +lean_ctor_set(x_2966, 1, x_2950); +lean_ctor_set(x_2966, 2, x_2965); +x_2967 = lean_array_push(x_2958, x_2966); +lean_inc(x_2946); +x_2968 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2968, 0, x_2946); +lean_ctor_set(x_2968, 1, x_2950); +lean_ctor_set(x_2968, 2, x_2967); +x_2969 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2946); +x_2970 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_2970, 0, x_2946); +lean_ctor_set(x_2970, 1, x_2969); +x_2971 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_2972 = lean_array_push(x_2971, x_2964); +x_2973 = lean_array_push(x_2972, x_2968); +x_2974 = lean_array_push(x_2973, x_2970); +x_2975 = lean_array_push(x_2974, x_2895); +x_2976 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2946); +x_2977 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2977, 0, x_2946); +lean_ctor_set(x_2977, 1, x_2976); +lean_ctor_set(x_2977, 2, x_2975); +x_2978 = lean_array_push(x_2958, x_2977); +lean_inc(x_2946); +x_2979 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2979, 0, x_2946); +lean_ctor_set(x_2979, 1, x_2950); +lean_ctor_set(x_2979, 2, x_2978); +x_2980 = lean_array_push(x_2958, x_2979); +x_2981 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2946); +x_2982 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2982, 0, x_2946); +lean_ctor_set(x_2982, 1, x_2981); +lean_ctor_set(x_2982, 2, x_2980); +x_2983 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_2984 = lean_array_push(x_2983, x_2949); +lean_inc(x_2952); +x_2985 = lean_array_push(x_2984, x_2952); +x_2986 = lean_array_push(x_2985, x_2952); +x_2987 = lean_array_push(x_2986, x_2960); +x_2988 = lean_array_push(x_2987, x_2962); +x_2989 = lean_array_push(x_2988, x_2982); +x_2990 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_2991 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_2991, 0, x_2946); +lean_ctor_set(x_2991, 1, x_2990); +lean_ctor_set(x_2991, 2, x_2989); +x_2992 = 1; +x_2993 = lean_box(x_2992); +lean_ctor_set(x_2890, 1, x_2993); +lean_ctor_set(x_2890, 0, x_2991); +x_2994 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2994, 0, x_2889); +lean_ctor_set(x_2994, 1, x_2947); +return x_2994; +} +} +else +{ +lean_object* x_2995; lean_object* x_2996; lean_object* x_2997; lean_object* x_2998; lean_object* x_2999; lean_object* x_3000; lean_object* x_3001; lean_object* x_3002; lean_object* x_3003; lean_object* x_3004; lean_object* x_3005; lean_object* x_3006; lean_object* x_3007; lean_object* x_3008; lean_object* x_3009; lean_object* x_3010; lean_object* x_3011; lean_object* x_3012; lean_object* x_3013; lean_object* x_3014; lean_object* x_3015; lean_object* x_3016; lean_object* x_3017; lean_object* x_3018; lean_object* x_3019; lean_object* x_3020; lean_object* x_3021; lean_object* x_3022; lean_object* x_3023; lean_object* x_3024; lean_object* x_3025; lean_object* x_3026; lean_object* x_3027; lean_object* x_3028; lean_object* x_3029; lean_object* x_3030; lean_object* x_3031; lean_object* x_3032; lean_object* x_3033; lean_object* x_3034; lean_object* x_3035; lean_object* x_3036; lean_object* x_3037; lean_object* x_3038; lean_object* x_3039; lean_object* x_3040; lean_object* x_3041; lean_object* x_3042; lean_object* x_3043; uint8_t x_3044; lean_object* x_3045; lean_object* x_3046; lean_object* x_3047; +x_2995 = lean_ctor_get(x_2890, 0); +lean_inc(x_2995); +lean_dec(x_2890); +x_2996 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2891); +x_2997 = lean_ctor_get(x_2996, 0); +lean_inc(x_2997); +x_2998 = lean_ctor_get(x_2996, 1); +lean_inc(x_2998); +if (lean_is_exclusive(x_2996)) { + lean_ctor_release(x_2996, 0); + lean_ctor_release(x_2996, 1); + x_2999 = x_2996; +} else { + lean_dec_ref(x_2996); + x_2999 = lean_box(0); +} +x_3000 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_2997); +x_3001 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3001, 0, x_2997); +lean_ctor_set(x_3001, 1, x_3000); +x_3002 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3003 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_2997); +x_3004 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3004, 0, x_2997); +lean_ctor_set(x_3004, 1, x_3002); +lean_ctor_set(x_3004, 2, x_3003); +x_3005 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3004); +x_3006 = lean_array_push(x_3005, x_3004); +x_3007 = lean_array_push(x_3006, x_2881); +x_3008 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_2997); +x_3009 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3009, 0, x_2997); +lean_ctor_set(x_3009, 1, x_3008); +lean_ctor_set(x_3009, 2, x_3007); +x_3010 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3011 = lean_array_push(x_3010, x_3009); +lean_inc(x_2997); +x_3012 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3012, 0, x_2997); +lean_ctor_set(x_3012, 1, x_3002); +lean_ctor_set(x_3012, 2, x_3011); +x_3013 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_2997); +x_3014 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3014, 0, x_2997); +lean_ctor_set(x_3014, 1, x_3013); +x_3015 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_2997); +x_3016 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3016, 0, x_2997); +lean_ctor_set(x_3016, 1, x_3015); +x_3017 = lean_array_push(x_3010, x_14); +lean_inc(x_2997); +x_3018 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3018, 0, x_2997); +lean_ctor_set(x_3018, 1, x_3002); +lean_ctor_set(x_3018, 2, x_3017); +x_3019 = lean_array_push(x_3010, x_3018); +lean_inc(x_2997); +x_3020 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3020, 0, x_2997); +lean_ctor_set(x_3020, 1, x_3002); +lean_ctor_set(x_3020, 2, x_3019); +x_3021 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_2997); +x_3022 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3022, 0, x_2997); +lean_ctor_set(x_3022, 1, x_3021); +x_3023 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3024 = lean_array_push(x_3023, x_3016); +x_3025 = lean_array_push(x_3024, x_3020); +x_3026 = lean_array_push(x_3025, x_3022); +x_3027 = lean_array_push(x_3026, x_2995); +x_3028 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_2997); +x_3029 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3029, 0, x_2997); +lean_ctor_set(x_3029, 1, x_3028); +lean_ctor_set(x_3029, 2, x_3027); +x_3030 = lean_array_push(x_3010, x_3029); +lean_inc(x_2997); +x_3031 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3031, 0, x_2997); +lean_ctor_set(x_3031, 1, x_3002); +lean_ctor_set(x_3031, 2, x_3030); +x_3032 = lean_array_push(x_3010, x_3031); +x_3033 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_2997); +x_3034 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3034, 0, x_2997); +lean_ctor_set(x_3034, 1, x_3033); +lean_ctor_set(x_3034, 2, x_3032); +x_3035 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3036 = lean_array_push(x_3035, x_3001); +lean_inc(x_3004); +x_3037 = lean_array_push(x_3036, x_3004); +x_3038 = lean_array_push(x_3037, x_3004); +x_3039 = lean_array_push(x_3038, x_3012); +x_3040 = lean_array_push(x_3039, x_3014); +x_3041 = lean_array_push(x_3040, x_3034); +x_3042 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3043 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3043, 0, x_2997); +lean_ctor_set(x_3043, 1, x_3042); +lean_ctor_set(x_3043, 2, x_3041); +x_3044 = 1; +x_3045 = lean_box(x_3044); +x_3046 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3046, 0, x_3043); +lean_ctor_set(x_3046, 1, x_3045); +lean_ctor_set(x_2889, 1, x_3046); +if (lean_is_scalar(x_2999)) { + x_3047 = lean_alloc_ctor(0, 2, 0); +} else { + x_3047 = x_2999; +} +lean_ctor_set(x_3047, 0, x_2889); +lean_ctor_set(x_3047, 1, x_2998); +return x_3047; +} +} +else +{ +lean_object* x_3048; lean_object* x_3049; lean_object* x_3050; lean_object* x_3051; lean_object* x_3052; lean_object* x_3053; lean_object* x_3054; lean_object* x_3055; lean_object* x_3056; lean_object* x_3057; lean_object* x_3058; lean_object* x_3059; lean_object* x_3060; lean_object* x_3061; lean_object* x_3062; lean_object* x_3063; lean_object* x_3064; lean_object* x_3065; lean_object* x_3066; lean_object* x_3067; lean_object* x_3068; lean_object* x_3069; lean_object* x_3070; lean_object* x_3071; lean_object* x_3072; lean_object* x_3073; lean_object* x_3074; lean_object* x_3075; lean_object* x_3076; lean_object* x_3077; lean_object* x_3078; lean_object* x_3079; lean_object* x_3080; lean_object* x_3081; lean_object* x_3082; lean_object* x_3083; lean_object* x_3084; lean_object* x_3085; lean_object* x_3086; lean_object* x_3087; lean_object* x_3088; lean_object* x_3089; lean_object* x_3090; lean_object* x_3091; lean_object* x_3092; lean_object* x_3093; lean_object* x_3094; lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; uint8_t x_3099; lean_object* x_3100; lean_object* x_3101; lean_object* x_3102; lean_object* x_3103; +x_3048 = lean_ctor_get(x_2889, 0); +lean_inc(x_3048); +lean_dec(x_2889); +x_3049 = lean_ctor_get(x_2890, 0); +lean_inc(x_3049); +if (lean_is_exclusive(x_2890)) { + lean_ctor_release(x_2890, 0); + lean_ctor_release(x_2890, 1); + x_3050 = x_2890; +} else { + lean_dec_ref(x_2890); + x_3050 = lean_box(0); +} +x_3051 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_2891); +x_3052 = lean_ctor_get(x_3051, 0); +lean_inc(x_3052); +x_3053 = lean_ctor_get(x_3051, 1); +lean_inc(x_3053); +if (lean_is_exclusive(x_3051)) { + lean_ctor_release(x_3051, 0); + lean_ctor_release(x_3051, 1); + x_3054 = x_3051; +} else { + lean_dec_ref(x_3051); + x_3054 = lean_box(0); +} +x_3055 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3052); +x_3056 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3056, 0, x_3052); +lean_ctor_set(x_3056, 1, x_3055); +x_3057 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3058 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3052); +x_3059 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3059, 0, x_3052); +lean_ctor_set(x_3059, 1, x_3057); +lean_ctor_set(x_3059, 2, x_3058); +x_3060 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3059); +x_3061 = lean_array_push(x_3060, x_3059); +x_3062 = lean_array_push(x_3061, x_2881); +x_3063 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3052); +x_3064 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3064, 0, x_3052); +lean_ctor_set(x_3064, 1, x_3063); +lean_ctor_set(x_3064, 2, x_3062); +x_3065 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3066 = lean_array_push(x_3065, x_3064); +lean_inc(x_3052); +x_3067 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3067, 0, x_3052); +lean_ctor_set(x_3067, 1, x_3057); +lean_ctor_set(x_3067, 2, x_3066); +x_3068 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3052); +x_3069 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3069, 0, x_3052); +lean_ctor_set(x_3069, 1, x_3068); +x_3070 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3052); +x_3071 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3071, 0, x_3052); +lean_ctor_set(x_3071, 1, x_3070); +x_3072 = lean_array_push(x_3065, x_14); +lean_inc(x_3052); +x_3073 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3073, 0, x_3052); +lean_ctor_set(x_3073, 1, x_3057); +lean_ctor_set(x_3073, 2, x_3072); +x_3074 = lean_array_push(x_3065, x_3073); +lean_inc(x_3052); +x_3075 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3075, 0, x_3052); +lean_ctor_set(x_3075, 1, x_3057); +lean_ctor_set(x_3075, 2, x_3074); +x_3076 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3052); +x_3077 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3077, 0, x_3052); +lean_ctor_set(x_3077, 1, x_3076); +x_3078 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3079 = lean_array_push(x_3078, x_3071); +x_3080 = lean_array_push(x_3079, x_3075); +x_3081 = lean_array_push(x_3080, x_3077); +x_3082 = lean_array_push(x_3081, x_3049); +x_3083 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3052); +x_3084 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3084, 0, x_3052); +lean_ctor_set(x_3084, 1, x_3083); +lean_ctor_set(x_3084, 2, x_3082); +x_3085 = lean_array_push(x_3065, x_3084); +lean_inc(x_3052); +x_3086 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3086, 0, x_3052); +lean_ctor_set(x_3086, 1, x_3057); +lean_ctor_set(x_3086, 2, x_3085); +x_3087 = lean_array_push(x_3065, x_3086); +x_3088 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3052); +x_3089 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3089, 0, x_3052); +lean_ctor_set(x_3089, 1, x_3088); +lean_ctor_set(x_3089, 2, x_3087); +x_3090 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3091 = lean_array_push(x_3090, x_3056); +lean_inc(x_3059); +x_3092 = lean_array_push(x_3091, x_3059); +x_3093 = lean_array_push(x_3092, x_3059); +x_3094 = lean_array_push(x_3093, x_3067); +x_3095 = lean_array_push(x_3094, x_3069); +x_3096 = lean_array_push(x_3095, x_3089); +x_3097 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3098 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3098, 0, x_3052); +lean_ctor_set(x_3098, 1, x_3097); +lean_ctor_set(x_3098, 2, x_3096); +x_3099 = 1; +x_3100 = lean_box(x_3099); +if (lean_is_scalar(x_3050)) { + x_3101 = lean_alloc_ctor(0, 2, 0); +} else { + x_3101 = x_3050; +} +lean_ctor_set(x_3101, 0, x_3098); +lean_ctor_set(x_3101, 1, x_3100); +x_3102 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3102, 0, x_3048); +lean_ctor_set(x_3102, 1, x_3101); +if (lean_is_scalar(x_3054)) { + x_3103 = lean_alloc_ctor(0, 2, 0); +} else { + x_3103 = x_3054; +} +lean_ctor_set(x_3103, 0, x_3102); +lean_ctor_set(x_3103, 1, x_3053); +return x_3103; +} +} +else +{ +uint8_t x_3104; +lean_dec(x_2881); +lean_dec(x_14); +lean_dec(x_5); +x_3104 = !lean_is_exclusive(x_2888); +if (x_3104 == 0) +{ +return x_2888; +} +else +{ +lean_object* x_3105; lean_object* x_3106; lean_object* x_3107; +x_3105 = lean_ctor_get(x_2888, 0); +x_3106 = lean_ctor_get(x_2888, 1); +lean_inc(x_3106); +lean_inc(x_3105); +lean_dec(x_2888); +x_3107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3107, 0, x_3105); +lean_ctor_set(x_3107, 1, x_3106); +return x_3107; } } } } default: { -lean_object* x_3095; lean_object* x_3096; lean_object* x_3097; lean_object* x_3098; lean_object* x_3099; lean_object* x_3100; lean_object* x_3101; lean_object* x_3102; lean_object* x_3103; +uint8_t x_3108; lean_object* x_3109; lean_object* x_3110; lean_object* x_3111; lean_object* x_3112; lean_object* x_3113; lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; lean_object* x_3117; lean_dec(x_16); lean_dec(x_15); +x_3108 = 0; lean_inc(x_5); lean_inc(x_14); -x_3095 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_3096 = lean_ctor_get(x_3095, 0); -lean_inc(x_3096); -x_3097 = lean_ctor_get(x_3095, 1); -lean_inc(x_3097); -lean_dec(x_3095); -x_3098 = lean_unsigned_to_nat(1u); -x_3099 = lean_nat_add(x_3, x_3098); +x_3109 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_3108, x_5, x_6); +x_3110 = lean_ctor_get(x_3109, 0); +lean_inc(x_3110); +x_3111 = lean_ctor_get(x_3109, 1); +lean_inc(x_3111); +lean_dec(x_3109); +x_3112 = lean_unsigned_to_nat(1u); +x_3113 = lean_nat_add(x_3, x_3112); lean_dec(x_3); lean_inc(x_14); -x_3100 = l_Lean_mkHole(x_14); -lean_inc(x_3096); -x_3101 = l_Lean_Elab_Term_mkExplicitBinder(x_3096, x_3100); -x_3102 = lean_array_push(x_4, x_3101); +x_3114 = l_Lean_mkHole(x_14, x_3108); +lean_inc(x_3110); +x_3115 = l_Lean_Elab_Term_mkExplicitBinder(x_3110, x_3114); +x_3116 = lean_array_push(x_4, x_3115); lean_inc(x_5); -x_3103 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3099, x_3102, x_5, x_3097); -if (lean_obj_tag(x_3103) == 0) +x_3117 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3113, x_3116, x_5, x_3111); +if (lean_obj_tag(x_3117) == 0) { -lean_object* x_3104; lean_object* x_3105; lean_object* x_3106; uint8_t x_3107; -x_3104 = lean_ctor_get(x_3103, 0); -lean_inc(x_3104); -x_3105 = lean_ctor_get(x_3104, 1); -lean_inc(x_3105); -x_3106 = lean_ctor_get(x_3103, 1); -lean_inc(x_3106); -lean_dec(x_3103); -x_3107 = !lean_is_exclusive(x_3104); -if (x_3107 == 0) -{ -lean_object* x_3108; uint8_t x_3109; -x_3108 = lean_ctor_get(x_3104, 1); -lean_dec(x_3108); -x_3109 = !lean_is_exclusive(x_3105); -if (x_3109 == 0) -{ -lean_object* x_3110; lean_object* x_3111; lean_object* x_3112; uint8_t x_3113; -x_3110 = lean_ctor_get(x_3105, 0); -x_3111 = lean_ctor_get(x_3105, 1); -lean_dec(x_3111); -x_3112 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3106); -x_3113 = !lean_is_exclusive(x_3112); -if (x_3113 == 0) -{ -lean_object* x_3114; lean_object* x_3115; lean_object* x_3116; lean_object* x_3117; lean_object* x_3118; lean_object* x_3119; lean_object* x_3120; lean_object* x_3121; lean_object* x_3122; lean_object* x_3123; lean_object* x_3124; lean_object* x_3125; lean_object* x_3126; lean_object* x_3127; lean_object* x_3128; lean_object* x_3129; lean_object* x_3130; lean_object* x_3131; lean_object* x_3132; lean_object* x_3133; lean_object* x_3134; lean_object* x_3135; lean_object* x_3136; lean_object* x_3137; lean_object* x_3138; lean_object* x_3139; lean_object* x_3140; lean_object* x_3141; lean_object* x_3142; lean_object* x_3143; lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; lean_object* x_3147; lean_object* x_3148; lean_object* x_3149; lean_object* x_3150; lean_object* x_3151; lean_object* x_3152; lean_object* x_3153; lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; uint8_t x_3159; lean_object* x_3160; -x_3114 = lean_ctor_get(x_3112, 0); -x_3115 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3114); -x_3116 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3116, 0, x_3114); -lean_ctor_set(x_3116, 1, x_3115); -x_3117 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3118 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3114); -x_3119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3119, 0, x_3114); -lean_ctor_set(x_3119, 1, x_3117); -lean_ctor_set(x_3119, 2, x_3118); -x_3120 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_object* x_3118; lean_object* x_3119; lean_object* x_3120; uint8_t x_3121; +x_3118 = lean_ctor_get(x_3117, 0); +lean_inc(x_3118); +x_3119 = lean_ctor_get(x_3118, 1); lean_inc(x_3119); -x_3121 = lean_array_push(x_3120, x_3119); -x_3122 = lean_array_push(x_3121, x_3096); -x_3123 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3114); -x_3124 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3124, 0, x_3114); -lean_ctor_set(x_3124, 1, x_3123); -lean_ctor_set(x_3124, 2, x_3122); -x_3125 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3126 = lean_array_push(x_3125, x_3124); -lean_inc(x_3114); -x_3127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3127, 0, x_3114); -lean_ctor_set(x_3127, 1, x_3117); -lean_ctor_set(x_3127, 2, x_3126); -x_3128 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3114); -x_3129 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3129, 0, x_3114); -lean_ctor_set(x_3129, 1, x_3128); -x_3130 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3114); -x_3131 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3131, 0, x_3114); -lean_ctor_set(x_3131, 1, x_3130); -x_3132 = lean_array_push(x_3125, x_14); -lean_inc(x_3114); +x_3120 = lean_ctor_get(x_3117, 1); +lean_inc(x_3120); +lean_dec(x_3117); +x_3121 = !lean_is_exclusive(x_3118); +if (x_3121 == 0) +{ +lean_object* x_3122; uint8_t x_3123; +x_3122 = lean_ctor_get(x_3118, 1); +lean_dec(x_3122); +x_3123 = !lean_is_exclusive(x_3119); +if (x_3123 == 0) +{ +lean_object* x_3124; lean_object* x_3125; lean_object* x_3126; uint8_t x_3127; +x_3124 = lean_ctor_get(x_3119, 0); +x_3125 = lean_ctor_get(x_3119, 1); +lean_dec(x_3125); +x_3126 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3120); +x_3127 = !lean_is_exclusive(x_3126); +if (x_3127 == 0) +{ +lean_object* x_3128; lean_object* x_3129; lean_object* x_3130; lean_object* x_3131; lean_object* x_3132; lean_object* x_3133; lean_object* x_3134; lean_object* x_3135; lean_object* x_3136; lean_object* x_3137; lean_object* x_3138; lean_object* x_3139; lean_object* x_3140; lean_object* x_3141; lean_object* x_3142; lean_object* x_3143; lean_object* x_3144; lean_object* x_3145; lean_object* x_3146; lean_object* x_3147; lean_object* x_3148; lean_object* x_3149; lean_object* x_3150; lean_object* x_3151; lean_object* x_3152; lean_object* x_3153; lean_object* x_3154; lean_object* x_3155; lean_object* x_3156; lean_object* x_3157; lean_object* x_3158; lean_object* x_3159; lean_object* x_3160; lean_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; lean_object* x_3166; lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; lean_object* x_3170; lean_object* x_3171; lean_object* x_3172; uint8_t x_3173; lean_object* x_3174; +x_3128 = lean_ctor_get(x_3126, 0); +x_3129 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3128); +x_3130 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3130, 0, x_3128); +lean_ctor_set(x_3130, 1, x_3129); +x_3131 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3132 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3128); x_3133 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3133, 0, x_3114); -lean_ctor_set(x_3133, 1, x_3117); +lean_ctor_set(x_3133, 0, x_3128); +lean_ctor_set(x_3133, 1, x_3131); lean_ctor_set(x_3133, 2, x_3132); -x_3134 = lean_array_push(x_3125, x_3133); -lean_inc(x_3114); -x_3135 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3135, 0, x_3114); -lean_ctor_set(x_3135, 1, x_3117); -lean_ctor_set(x_3135, 2, x_3134); -x_3136 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3114); -x_3137 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3137, 0, x_3114); -lean_ctor_set(x_3137, 1, x_3136); -x_3138 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3139 = lean_array_push(x_3138, x_3131); -x_3140 = lean_array_push(x_3139, x_3135); -x_3141 = lean_array_push(x_3140, x_3137); -x_3142 = lean_array_push(x_3141, x_3110); -x_3143 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3114); -x_3144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3144, 0, x_3114); -lean_ctor_set(x_3144, 1, x_3143); -lean_ctor_set(x_3144, 2, x_3142); -x_3145 = lean_array_push(x_3125, x_3144); -lean_inc(x_3114); -x_3146 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3146, 0, x_3114); -lean_ctor_set(x_3146, 1, x_3117); -lean_ctor_set(x_3146, 2, x_3145); -x_3147 = lean_array_push(x_3125, x_3146); -x_3148 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3114); +x_3134 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3133); +x_3135 = lean_array_push(x_3134, x_3133); +x_3136 = lean_array_push(x_3135, x_3110); +x_3137 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3128); +x_3138 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3138, 0, x_3128); +lean_ctor_set(x_3138, 1, x_3137); +lean_ctor_set(x_3138, 2, x_3136); +x_3139 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3140 = lean_array_push(x_3139, x_3138); +lean_inc(x_3128); +x_3141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3141, 0, x_3128); +lean_ctor_set(x_3141, 1, x_3131); +lean_ctor_set(x_3141, 2, x_3140); +x_3142 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3128); +x_3143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3143, 0, x_3128); +lean_ctor_set(x_3143, 1, x_3142); +x_3144 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3128); +x_3145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3145, 0, x_3128); +lean_ctor_set(x_3145, 1, x_3144); +x_3146 = lean_array_push(x_3139, x_14); +lean_inc(x_3128); +x_3147 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3147, 0, x_3128); +lean_ctor_set(x_3147, 1, x_3131); +lean_ctor_set(x_3147, 2, x_3146); +x_3148 = lean_array_push(x_3139, x_3147); +lean_inc(x_3128); x_3149 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3149, 0, x_3114); -lean_ctor_set(x_3149, 1, x_3148); -lean_ctor_set(x_3149, 2, x_3147); -x_3150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3151 = lean_array_push(x_3150, x_3116); -lean_inc(x_3119); -x_3152 = lean_array_push(x_3151, x_3119); -x_3153 = lean_array_push(x_3152, x_3119); -x_3154 = lean_array_push(x_3153, x_3127); -x_3155 = lean_array_push(x_3154, x_3129); -x_3156 = lean_array_push(x_3155, x_3149); -x_3157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +lean_ctor_set(x_3149, 0, x_3128); +lean_ctor_set(x_3149, 1, x_3131); +lean_ctor_set(x_3149, 2, x_3148); +x_3150 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3128); +x_3151 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3151, 0, x_3128); +lean_ctor_set(x_3151, 1, x_3150); +x_3152 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3153 = lean_array_push(x_3152, x_3145); +x_3154 = lean_array_push(x_3153, x_3149); +x_3155 = lean_array_push(x_3154, x_3151); +x_3156 = lean_array_push(x_3155, x_3124); +x_3157 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3128); x_3158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3158, 0, x_3114); +lean_ctor_set(x_3158, 0, x_3128); lean_ctor_set(x_3158, 1, x_3157); lean_ctor_set(x_3158, 2, x_3156); -x_3159 = 1; -x_3160 = lean_box(x_3159); -lean_ctor_set(x_3105, 1, x_3160); -lean_ctor_set(x_3105, 0, x_3158); -lean_ctor_set(x_3112, 0, x_3104); -return x_3112; -} -else -{ -lean_object* x_3161; lean_object* x_3162; lean_object* x_3163; lean_object* x_3164; lean_object* x_3165; lean_object* x_3166; lean_object* x_3167; lean_object* x_3168; lean_object* x_3169; lean_object* x_3170; lean_object* x_3171; lean_object* x_3172; lean_object* x_3173; lean_object* x_3174; lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; lean_object* x_3178; lean_object* x_3179; lean_object* x_3180; lean_object* x_3181; lean_object* x_3182; lean_object* x_3183; lean_object* x_3184; lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; lean_object* x_3190; lean_object* x_3191; lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; uint8_t x_3207; lean_object* x_3208; lean_object* x_3209; -x_3161 = lean_ctor_get(x_3112, 0); -x_3162 = lean_ctor_get(x_3112, 1); -lean_inc(x_3162); -lean_inc(x_3161); -lean_dec(x_3112); -x_3163 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3161); -x_3164 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3164, 0, x_3161); -lean_ctor_set(x_3164, 1, x_3163); -x_3165 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3166 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3161); -x_3167 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3167, 0, x_3161); -lean_ctor_set(x_3167, 1, x_3165); -lean_ctor_set(x_3167, 2, x_3166); -x_3168 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_3167); -x_3169 = lean_array_push(x_3168, x_3167); -x_3170 = lean_array_push(x_3169, x_3096); -x_3171 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3161); +x_3159 = lean_array_push(x_3139, x_3158); +lean_inc(x_3128); +x_3160 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3160, 0, x_3128); +lean_ctor_set(x_3160, 1, x_3131); +lean_ctor_set(x_3160, 2, x_3159); +x_3161 = lean_array_push(x_3139, x_3160); +x_3162 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3128); +x_3163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3163, 0, x_3128); +lean_ctor_set(x_3163, 1, x_3162); +lean_ctor_set(x_3163, 2, x_3161); +x_3164 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3165 = lean_array_push(x_3164, x_3130); +lean_inc(x_3133); +x_3166 = lean_array_push(x_3165, x_3133); +x_3167 = lean_array_push(x_3166, x_3133); +x_3168 = lean_array_push(x_3167, x_3141); +x_3169 = lean_array_push(x_3168, x_3143); +x_3170 = lean_array_push(x_3169, x_3163); +x_3171 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; x_3172 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3172, 0, x_3161); +lean_ctor_set(x_3172, 0, x_3128); lean_ctor_set(x_3172, 1, x_3171); lean_ctor_set(x_3172, 2, x_3170); -x_3173 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3174 = lean_array_push(x_3173, x_3172); -lean_inc(x_3161); -x_3175 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3175, 0, x_3161); -lean_ctor_set(x_3175, 1, x_3165); -lean_ctor_set(x_3175, 2, x_3174); -x_3176 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3161); -x_3177 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3177, 0, x_3161); -lean_ctor_set(x_3177, 1, x_3176); -x_3178 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3161); -x_3179 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3179, 0, x_3161); -lean_ctor_set(x_3179, 1, x_3178); -x_3180 = lean_array_push(x_3173, x_14); -lean_inc(x_3161); +x_3173 = 1; +x_3174 = lean_box(x_3173); +lean_ctor_set(x_3119, 1, x_3174); +lean_ctor_set(x_3119, 0, x_3172); +lean_ctor_set(x_3126, 0, x_3118); +return x_3126; +} +else +{ +lean_object* x_3175; lean_object* x_3176; lean_object* x_3177; lean_object* x_3178; lean_object* x_3179; lean_object* x_3180; lean_object* x_3181; lean_object* x_3182; lean_object* x_3183; lean_object* x_3184; lean_object* x_3185; lean_object* x_3186; lean_object* x_3187; lean_object* x_3188; lean_object* x_3189; lean_object* x_3190; lean_object* x_3191; lean_object* x_3192; lean_object* x_3193; lean_object* x_3194; lean_object* x_3195; lean_object* x_3196; lean_object* x_3197; lean_object* x_3198; lean_object* x_3199; lean_object* x_3200; lean_object* x_3201; lean_object* x_3202; lean_object* x_3203; lean_object* x_3204; lean_object* x_3205; lean_object* x_3206; lean_object* x_3207; lean_object* x_3208; lean_object* x_3209; lean_object* x_3210; lean_object* x_3211; lean_object* x_3212; lean_object* x_3213; lean_object* x_3214; lean_object* x_3215; lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; lean_object* x_3220; uint8_t x_3221; lean_object* x_3222; lean_object* x_3223; +x_3175 = lean_ctor_get(x_3126, 0); +x_3176 = lean_ctor_get(x_3126, 1); +lean_inc(x_3176); +lean_inc(x_3175); +lean_dec(x_3126); +x_3177 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3175); +x_3178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3178, 0, x_3175); +lean_ctor_set(x_3178, 1, x_3177); +x_3179 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3180 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3175); x_3181 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3181, 0, x_3161); -lean_ctor_set(x_3181, 1, x_3165); +lean_ctor_set(x_3181, 0, x_3175); +lean_ctor_set(x_3181, 1, x_3179); lean_ctor_set(x_3181, 2, x_3180); -x_3182 = lean_array_push(x_3173, x_3181); -lean_inc(x_3161); -x_3183 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3183, 0, x_3161); -lean_ctor_set(x_3183, 1, x_3165); -lean_ctor_set(x_3183, 2, x_3182); -x_3184 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3161); -x_3185 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3185, 0, x_3161); -lean_ctor_set(x_3185, 1, x_3184); -x_3186 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3187 = lean_array_push(x_3186, x_3179); -x_3188 = lean_array_push(x_3187, x_3183); -x_3189 = lean_array_push(x_3188, x_3185); -x_3190 = lean_array_push(x_3189, x_3110); -x_3191 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3161); -x_3192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3192, 0, x_3161); -lean_ctor_set(x_3192, 1, x_3191); -lean_ctor_set(x_3192, 2, x_3190); -x_3193 = lean_array_push(x_3173, x_3192); -lean_inc(x_3161); -x_3194 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3194, 0, x_3161); -lean_ctor_set(x_3194, 1, x_3165); -lean_ctor_set(x_3194, 2, x_3193); -x_3195 = lean_array_push(x_3173, x_3194); -x_3196 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3161); +x_3182 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3181); +x_3183 = lean_array_push(x_3182, x_3181); +x_3184 = lean_array_push(x_3183, x_3110); +x_3185 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3175); +x_3186 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3186, 0, x_3175); +lean_ctor_set(x_3186, 1, x_3185); +lean_ctor_set(x_3186, 2, x_3184); +x_3187 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3188 = lean_array_push(x_3187, x_3186); +lean_inc(x_3175); +x_3189 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3189, 0, x_3175); +lean_ctor_set(x_3189, 1, x_3179); +lean_ctor_set(x_3189, 2, x_3188); +x_3190 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3175); +x_3191 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3191, 0, x_3175); +lean_ctor_set(x_3191, 1, x_3190); +x_3192 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3175); +x_3193 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3193, 0, x_3175); +lean_ctor_set(x_3193, 1, x_3192); +x_3194 = lean_array_push(x_3187, x_14); +lean_inc(x_3175); +x_3195 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3195, 0, x_3175); +lean_ctor_set(x_3195, 1, x_3179); +lean_ctor_set(x_3195, 2, x_3194); +x_3196 = lean_array_push(x_3187, x_3195); +lean_inc(x_3175); x_3197 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3197, 0, x_3161); -lean_ctor_set(x_3197, 1, x_3196); -lean_ctor_set(x_3197, 2, x_3195); -x_3198 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3199 = lean_array_push(x_3198, x_3164); -lean_inc(x_3167); -x_3200 = lean_array_push(x_3199, x_3167); -x_3201 = lean_array_push(x_3200, x_3167); -x_3202 = lean_array_push(x_3201, x_3175); -x_3203 = lean_array_push(x_3202, x_3177); -x_3204 = lean_array_push(x_3203, x_3197); -x_3205 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +lean_ctor_set(x_3197, 0, x_3175); +lean_ctor_set(x_3197, 1, x_3179); +lean_ctor_set(x_3197, 2, x_3196); +x_3198 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3175); +x_3199 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3199, 0, x_3175); +lean_ctor_set(x_3199, 1, x_3198); +x_3200 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3201 = lean_array_push(x_3200, x_3193); +x_3202 = lean_array_push(x_3201, x_3197); +x_3203 = lean_array_push(x_3202, x_3199); +x_3204 = lean_array_push(x_3203, x_3124); +x_3205 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3175); x_3206 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3206, 0, x_3161); +lean_ctor_set(x_3206, 0, x_3175); lean_ctor_set(x_3206, 1, x_3205); lean_ctor_set(x_3206, 2, x_3204); -x_3207 = 1; -x_3208 = lean_box(x_3207); -lean_ctor_set(x_3105, 1, x_3208); -lean_ctor_set(x_3105, 0, x_3206); -x_3209 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3209, 0, x_3104); -lean_ctor_set(x_3209, 1, x_3162); -return x_3209; +x_3207 = lean_array_push(x_3187, x_3206); +lean_inc(x_3175); +x_3208 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3208, 0, x_3175); +lean_ctor_set(x_3208, 1, x_3179); +lean_ctor_set(x_3208, 2, x_3207); +x_3209 = lean_array_push(x_3187, x_3208); +x_3210 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3175); +x_3211 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3211, 0, x_3175); +lean_ctor_set(x_3211, 1, x_3210); +lean_ctor_set(x_3211, 2, x_3209); +x_3212 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3213 = lean_array_push(x_3212, x_3178); +lean_inc(x_3181); +x_3214 = lean_array_push(x_3213, x_3181); +x_3215 = lean_array_push(x_3214, x_3181); +x_3216 = lean_array_push(x_3215, x_3189); +x_3217 = lean_array_push(x_3216, x_3191); +x_3218 = lean_array_push(x_3217, x_3211); +x_3219 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3220 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3220, 0, x_3175); +lean_ctor_set(x_3220, 1, x_3219); +lean_ctor_set(x_3220, 2, x_3218); +x_3221 = 1; +x_3222 = lean_box(x_3221); +lean_ctor_set(x_3119, 1, x_3222); +lean_ctor_set(x_3119, 0, x_3220); +x_3223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3223, 0, x_3118); +lean_ctor_set(x_3223, 1, x_3176); +return x_3223; } } else { -lean_object* x_3210; lean_object* x_3211; lean_object* x_3212; lean_object* x_3213; lean_object* x_3214; lean_object* x_3215; lean_object* x_3216; lean_object* x_3217; lean_object* x_3218; lean_object* x_3219; lean_object* x_3220; lean_object* x_3221; lean_object* x_3222; lean_object* x_3223; lean_object* x_3224; lean_object* x_3225; lean_object* x_3226; lean_object* x_3227; lean_object* x_3228; lean_object* x_3229; lean_object* x_3230; lean_object* x_3231; lean_object* x_3232; lean_object* x_3233; lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; lean_object* x_3237; lean_object* x_3238; lean_object* x_3239; lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; lean_object* x_3243; lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; lean_object* x_3250; lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; lean_object* x_3254; lean_object* x_3255; lean_object* x_3256; lean_object* x_3257; lean_object* x_3258; uint8_t x_3259; lean_object* x_3260; lean_object* x_3261; lean_object* x_3262; -x_3210 = lean_ctor_get(x_3105, 0); -lean_inc(x_3210); -lean_dec(x_3105); -x_3211 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3106); -x_3212 = lean_ctor_get(x_3211, 0); -lean_inc(x_3212); -x_3213 = lean_ctor_get(x_3211, 1); -lean_inc(x_3213); -if (lean_is_exclusive(x_3211)) { - lean_ctor_release(x_3211, 0); - lean_ctor_release(x_3211, 1); - x_3214 = x_3211; +lean_object* x_3224; lean_object* x_3225; lean_object* x_3226; lean_object* x_3227; lean_object* x_3228; lean_object* x_3229; lean_object* x_3230; lean_object* x_3231; lean_object* x_3232; lean_object* x_3233; lean_object* x_3234; lean_object* x_3235; lean_object* x_3236; lean_object* x_3237; lean_object* x_3238; lean_object* x_3239; lean_object* x_3240; lean_object* x_3241; lean_object* x_3242; lean_object* x_3243; lean_object* x_3244; lean_object* x_3245; lean_object* x_3246; lean_object* x_3247; lean_object* x_3248; lean_object* x_3249; lean_object* x_3250; lean_object* x_3251; lean_object* x_3252; lean_object* x_3253; lean_object* x_3254; lean_object* x_3255; lean_object* x_3256; lean_object* x_3257; lean_object* x_3258; lean_object* x_3259; lean_object* x_3260; lean_object* x_3261; lean_object* x_3262; lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; lean_object* x_3268; lean_object* x_3269; lean_object* x_3270; lean_object* x_3271; lean_object* x_3272; uint8_t x_3273; lean_object* x_3274; lean_object* x_3275; lean_object* x_3276; +x_3224 = lean_ctor_get(x_3119, 0); +lean_inc(x_3224); +lean_dec(x_3119); +x_3225 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3120); +x_3226 = lean_ctor_get(x_3225, 0); +lean_inc(x_3226); +x_3227 = lean_ctor_get(x_3225, 1); +lean_inc(x_3227); +if (lean_is_exclusive(x_3225)) { + lean_ctor_release(x_3225, 0); + lean_ctor_release(x_3225, 1); + x_3228 = x_3225; } else { - lean_dec_ref(x_3211); - x_3214 = lean_box(0); + lean_dec_ref(x_3225); + x_3228 = lean_box(0); } -x_3215 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3212); -x_3216 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3216, 0, x_3212); -lean_ctor_set(x_3216, 1, x_3215); -x_3217 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3218 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3212); -x_3219 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3219, 0, x_3212); -lean_ctor_set(x_3219, 1, x_3217); -lean_ctor_set(x_3219, 2, x_3218); -x_3220 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_3219); -x_3221 = lean_array_push(x_3220, x_3219); -x_3222 = lean_array_push(x_3221, x_3096); -x_3223 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3212); -x_3224 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3224, 0, x_3212); -lean_ctor_set(x_3224, 1, x_3223); -lean_ctor_set(x_3224, 2, x_3222); -x_3225 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3226 = lean_array_push(x_3225, x_3224); -lean_inc(x_3212); -x_3227 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3227, 0, x_3212); -lean_ctor_set(x_3227, 1, x_3217); -lean_ctor_set(x_3227, 2, x_3226); -x_3228 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3212); -x_3229 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3229, 0, x_3212); -lean_ctor_set(x_3229, 1, x_3228); -x_3230 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3212); -x_3231 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3231, 0, x_3212); -lean_ctor_set(x_3231, 1, x_3230); -x_3232 = lean_array_push(x_3225, x_14); -lean_inc(x_3212); +x_3229 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3226); +x_3230 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3230, 0, x_3226); +lean_ctor_set(x_3230, 1, x_3229); +x_3231 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3232 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3226); x_3233 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3233, 0, x_3212); -lean_ctor_set(x_3233, 1, x_3217); +lean_ctor_set(x_3233, 0, x_3226); +lean_ctor_set(x_3233, 1, x_3231); lean_ctor_set(x_3233, 2, x_3232); -x_3234 = lean_array_push(x_3225, x_3233); -lean_inc(x_3212); -x_3235 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3235, 0, x_3212); -lean_ctor_set(x_3235, 1, x_3217); -lean_ctor_set(x_3235, 2, x_3234); -x_3236 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3212); -x_3237 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3237, 0, x_3212); -lean_ctor_set(x_3237, 1, x_3236); -x_3238 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3239 = lean_array_push(x_3238, x_3231); -x_3240 = lean_array_push(x_3239, x_3235); -x_3241 = lean_array_push(x_3240, x_3237); -x_3242 = lean_array_push(x_3241, x_3210); -x_3243 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3212); -x_3244 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3244, 0, x_3212); -lean_ctor_set(x_3244, 1, x_3243); -lean_ctor_set(x_3244, 2, x_3242); -x_3245 = lean_array_push(x_3225, x_3244); -lean_inc(x_3212); -x_3246 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3246, 0, x_3212); -lean_ctor_set(x_3246, 1, x_3217); -lean_ctor_set(x_3246, 2, x_3245); -x_3247 = lean_array_push(x_3225, x_3246); -x_3248 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3212); +x_3234 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3233); +x_3235 = lean_array_push(x_3234, x_3233); +x_3236 = lean_array_push(x_3235, x_3110); +x_3237 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3226); +x_3238 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3238, 0, x_3226); +lean_ctor_set(x_3238, 1, x_3237); +lean_ctor_set(x_3238, 2, x_3236); +x_3239 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3240 = lean_array_push(x_3239, x_3238); +lean_inc(x_3226); +x_3241 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3241, 0, x_3226); +lean_ctor_set(x_3241, 1, x_3231); +lean_ctor_set(x_3241, 2, x_3240); +x_3242 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3226); +x_3243 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3243, 0, x_3226); +lean_ctor_set(x_3243, 1, x_3242); +x_3244 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3226); +x_3245 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3245, 0, x_3226); +lean_ctor_set(x_3245, 1, x_3244); +x_3246 = lean_array_push(x_3239, x_14); +lean_inc(x_3226); +x_3247 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3247, 0, x_3226); +lean_ctor_set(x_3247, 1, x_3231); +lean_ctor_set(x_3247, 2, x_3246); +x_3248 = lean_array_push(x_3239, x_3247); +lean_inc(x_3226); x_3249 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3249, 0, x_3212); -lean_ctor_set(x_3249, 1, x_3248); -lean_ctor_set(x_3249, 2, x_3247); -x_3250 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3251 = lean_array_push(x_3250, x_3216); -lean_inc(x_3219); -x_3252 = lean_array_push(x_3251, x_3219); -x_3253 = lean_array_push(x_3252, x_3219); -x_3254 = lean_array_push(x_3253, x_3227); -x_3255 = lean_array_push(x_3254, x_3229); -x_3256 = lean_array_push(x_3255, x_3249); -x_3257 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +lean_ctor_set(x_3249, 0, x_3226); +lean_ctor_set(x_3249, 1, x_3231); +lean_ctor_set(x_3249, 2, x_3248); +x_3250 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3226); +x_3251 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3251, 0, x_3226); +lean_ctor_set(x_3251, 1, x_3250); +x_3252 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3253 = lean_array_push(x_3252, x_3245); +x_3254 = lean_array_push(x_3253, x_3249); +x_3255 = lean_array_push(x_3254, x_3251); +x_3256 = lean_array_push(x_3255, x_3224); +x_3257 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3226); x_3258 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3258, 0, x_3212); +lean_ctor_set(x_3258, 0, x_3226); lean_ctor_set(x_3258, 1, x_3257); lean_ctor_set(x_3258, 2, x_3256); -x_3259 = 1; -x_3260 = lean_box(x_3259); -x_3261 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3261, 0, x_3258); -lean_ctor_set(x_3261, 1, x_3260); -lean_ctor_set(x_3104, 1, x_3261); -if (lean_is_scalar(x_3214)) { - x_3262 = lean_alloc_ctor(0, 2, 0); +x_3259 = lean_array_push(x_3239, x_3258); +lean_inc(x_3226); +x_3260 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3260, 0, x_3226); +lean_ctor_set(x_3260, 1, x_3231); +lean_ctor_set(x_3260, 2, x_3259); +x_3261 = lean_array_push(x_3239, x_3260); +x_3262 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3226); +x_3263 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3263, 0, x_3226); +lean_ctor_set(x_3263, 1, x_3262); +lean_ctor_set(x_3263, 2, x_3261); +x_3264 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3265 = lean_array_push(x_3264, x_3230); +lean_inc(x_3233); +x_3266 = lean_array_push(x_3265, x_3233); +x_3267 = lean_array_push(x_3266, x_3233); +x_3268 = lean_array_push(x_3267, x_3241); +x_3269 = lean_array_push(x_3268, x_3243); +x_3270 = lean_array_push(x_3269, x_3263); +x_3271 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3272 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3272, 0, x_3226); +lean_ctor_set(x_3272, 1, x_3271); +lean_ctor_set(x_3272, 2, x_3270); +x_3273 = 1; +x_3274 = lean_box(x_3273); +x_3275 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3275, 0, x_3272); +lean_ctor_set(x_3275, 1, x_3274); +lean_ctor_set(x_3118, 1, x_3275); +if (lean_is_scalar(x_3228)) { + x_3276 = lean_alloc_ctor(0, 2, 0); } else { - x_3262 = x_3214; + x_3276 = x_3228; } -lean_ctor_set(x_3262, 0, x_3104); -lean_ctor_set(x_3262, 1, x_3213); -return x_3262; +lean_ctor_set(x_3276, 0, x_3118); +lean_ctor_set(x_3276, 1, x_3227); +return x_3276; } } else { -lean_object* x_3263; lean_object* x_3264; lean_object* x_3265; lean_object* x_3266; lean_object* x_3267; lean_object* x_3268; lean_object* x_3269; lean_object* x_3270; lean_object* x_3271; lean_object* x_3272; lean_object* x_3273; lean_object* x_3274; lean_object* x_3275; lean_object* x_3276; lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; lean_object* x_3280; lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; lean_object* x_3284; lean_object* x_3285; lean_object* x_3286; lean_object* x_3287; lean_object* x_3288; lean_object* x_3289; lean_object* x_3290; lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; lean_object* x_3299; lean_object* x_3300; lean_object* x_3301; lean_object* x_3302; lean_object* x_3303; lean_object* x_3304; lean_object* x_3305; lean_object* x_3306; lean_object* x_3307; lean_object* x_3308; lean_object* x_3309; lean_object* x_3310; lean_object* x_3311; lean_object* x_3312; lean_object* x_3313; uint8_t x_3314; lean_object* x_3315; lean_object* x_3316; lean_object* x_3317; lean_object* x_3318; -x_3263 = lean_ctor_get(x_3104, 0); -lean_inc(x_3263); -lean_dec(x_3104); -x_3264 = lean_ctor_get(x_3105, 0); -lean_inc(x_3264); -if (lean_is_exclusive(x_3105)) { - lean_ctor_release(x_3105, 0); - lean_ctor_release(x_3105, 1); - x_3265 = x_3105; +lean_object* x_3277; lean_object* x_3278; lean_object* x_3279; lean_object* x_3280; lean_object* x_3281; lean_object* x_3282; lean_object* x_3283; lean_object* x_3284; lean_object* x_3285; lean_object* x_3286; lean_object* x_3287; lean_object* x_3288; lean_object* x_3289; lean_object* x_3290; lean_object* x_3291; lean_object* x_3292; lean_object* x_3293; lean_object* x_3294; lean_object* x_3295; lean_object* x_3296; lean_object* x_3297; lean_object* x_3298; lean_object* x_3299; lean_object* x_3300; lean_object* x_3301; lean_object* x_3302; lean_object* x_3303; lean_object* x_3304; lean_object* x_3305; lean_object* x_3306; lean_object* x_3307; lean_object* x_3308; lean_object* x_3309; lean_object* x_3310; lean_object* x_3311; lean_object* x_3312; lean_object* x_3313; lean_object* x_3314; lean_object* x_3315; lean_object* x_3316; lean_object* x_3317; lean_object* x_3318; lean_object* x_3319; lean_object* x_3320; lean_object* x_3321; lean_object* x_3322; lean_object* x_3323; lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; lean_object* x_3327; uint8_t x_3328; lean_object* x_3329; lean_object* x_3330; lean_object* x_3331; lean_object* x_3332; +x_3277 = lean_ctor_get(x_3118, 0); +lean_inc(x_3277); +lean_dec(x_3118); +x_3278 = lean_ctor_get(x_3119, 0); +lean_inc(x_3278); +if (lean_is_exclusive(x_3119)) { + lean_ctor_release(x_3119, 0); + lean_ctor_release(x_3119, 1); + x_3279 = x_3119; } else { - lean_dec_ref(x_3105); - x_3265 = lean_box(0); + lean_dec_ref(x_3119); + x_3279 = lean_box(0); } -x_3266 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3106); -x_3267 = lean_ctor_get(x_3266, 0); -lean_inc(x_3267); -x_3268 = lean_ctor_get(x_3266, 1); -lean_inc(x_3268); -if (lean_is_exclusive(x_3266)) { - lean_ctor_release(x_3266, 0); - lean_ctor_release(x_3266, 1); - x_3269 = x_3266; +x_3280 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3120); +x_3281 = lean_ctor_get(x_3280, 0); +lean_inc(x_3281); +x_3282 = lean_ctor_get(x_3280, 1); +lean_inc(x_3282); +if (lean_is_exclusive(x_3280)) { + lean_ctor_release(x_3280, 0); + lean_ctor_release(x_3280, 1); + x_3283 = x_3280; } else { - lean_dec_ref(x_3266); - x_3269 = lean_box(0); + lean_dec_ref(x_3280); + x_3283 = lean_box(0); } -x_3270 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3267); -x_3271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3271, 0, x_3267); -lean_ctor_set(x_3271, 1, x_3270); -x_3272 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3273 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3267); -x_3274 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3274, 0, x_3267); -lean_ctor_set(x_3274, 1, x_3272); -lean_ctor_set(x_3274, 2, x_3273); -x_3275 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_3274); -x_3276 = lean_array_push(x_3275, x_3274); -x_3277 = lean_array_push(x_3276, x_3096); -x_3278 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3267); -x_3279 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3279, 0, x_3267); -lean_ctor_set(x_3279, 1, x_3278); -lean_ctor_set(x_3279, 2, x_3277); -x_3280 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3281 = lean_array_push(x_3280, x_3279); -lean_inc(x_3267); -x_3282 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3282, 0, x_3267); -lean_ctor_set(x_3282, 1, x_3272); -lean_ctor_set(x_3282, 2, x_3281); -x_3283 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3267); -x_3284 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3284, 0, x_3267); -lean_ctor_set(x_3284, 1, x_3283); -x_3285 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3267); -x_3286 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3286, 0, x_3267); -lean_ctor_set(x_3286, 1, x_3285); -x_3287 = lean_array_push(x_3280, x_14); -lean_inc(x_3267); +x_3284 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3281); +x_3285 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3285, 0, x_3281); +lean_ctor_set(x_3285, 1, x_3284); +x_3286 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3287 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3281); x_3288 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3288, 0, x_3267); -lean_ctor_set(x_3288, 1, x_3272); +lean_ctor_set(x_3288, 0, x_3281); +lean_ctor_set(x_3288, 1, x_3286); lean_ctor_set(x_3288, 2, x_3287); -x_3289 = lean_array_push(x_3280, x_3288); -lean_inc(x_3267); -x_3290 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3290, 0, x_3267); -lean_ctor_set(x_3290, 1, x_3272); -lean_ctor_set(x_3290, 2, x_3289); -x_3291 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3267); -x_3292 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3292, 0, x_3267); -lean_ctor_set(x_3292, 1, x_3291); -x_3293 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3294 = lean_array_push(x_3293, x_3286); -x_3295 = lean_array_push(x_3294, x_3290); -x_3296 = lean_array_push(x_3295, x_3292); -x_3297 = lean_array_push(x_3296, x_3264); -x_3298 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3267); -x_3299 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3299, 0, x_3267); -lean_ctor_set(x_3299, 1, x_3298); -lean_ctor_set(x_3299, 2, x_3297); -x_3300 = lean_array_push(x_3280, x_3299); -lean_inc(x_3267); -x_3301 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3301, 0, x_3267); -lean_ctor_set(x_3301, 1, x_3272); -lean_ctor_set(x_3301, 2, x_3300); -x_3302 = lean_array_push(x_3280, x_3301); -x_3303 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3267); +x_3289 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3288); +x_3290 = lean_array_push(x_3289, x_3288); +x_3291 = lean_array_push(x_3290, x_3110); +x_3292 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3281); +x_3293 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3293, 0, x_3281); +lean_ctor_set(x_3293, 1, x_3292); +lean_ctor_set(x_3293, 2, x_3291); +x_3294 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3295 = lean_array_push(x_3294, x_3293); +lean_inc(x_3281); +x_3296 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3296, 0, x_3281); +lean_ctor_set(x_3296, 1, x_3286); +lean_ctor_set(x_3296, 2, x_3295); +x_3297 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3281); +x_3298 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3298, 0, x_3281); +lean_ctor_set(x_3298, 1, x_3297); +x_3299 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3281); +x_3300 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3300, 0, x_3281); +lean_ctor_set(x_3300, 1, x_3299); +x_3301 = lean_array_push(x_3294, x_14); +lean_inc(x_3281); +x_3302 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3302, 0, x_3281); +lean_ctor_set(x_3302, 1, x_3286); +lean_ctor_set(x_3302, 2, x_3301); +x_3303 = lean_array_push(x_3294, x_3302); +lean_inc(x_3281); x_3304 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3304, 0, x_3267); -lean_ctor_set(x_3304, 1, x_3303); -lean_ctor_set(x_3304, 2, x_3302); -x_3305 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3306 = lean_array_push(x_3305, x_3271); -lean_inc(x_3274); -x_3307 = lean_array_push(x_3306, x_3274); -x_3308 = lean_array_push(x_3307, x_3274); -x_3309 = lean_array_push(x_3308, x_3282); -x_3310 = lean_array_push(x_3309, x_3284); -x_3311 = lean_array_push(x_3310, x_3304); -x_3312 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +lean_ctor_set(x_3304, 0, x_3281); +lean_ctor_set(x_3304, 1, x_3286); +lean_ctor_set(x_3304, 2, x_3303); +x_3305 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3281); +x_3306 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3306, 0, x_3281); +lean_ctor_set(x_3306, 1, x_3305); +x_3307 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3308 = lean_array_push(x_3307, x_3300); +x_3309 = lean_array_push(x_3308, x_3304); +x_3310 = lean_array_push(x_3309, x_3306); +x_3311 = lean_array_push(x_3310, x_3278); +x_3312 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3281); x_3313 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3313, 0, x_3267); +lean_ctor_set(x_3313, 0, x_3281); lean_ctor_set(x_3313, 1, x_3312); lean_ctor_set(x_3313, 2, x_3311); -x_3314 = 1; -x_3315 = lean_box(x_3314); -if (lean_is_scalar(x_3265)) { - x_3316 = lean_alloc_ctor(0, 2, 0); +x_3314 = lean_array_push(x_3294, x_3313); +lean_inc(x_3281); +x_3315 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3315, 0, x_3281); +lean_ctor_set(x_3315, 1, x_3286); +lean_ctor_set(x_3315, 2, x_3314); +x_3316 = lean_array_push(x_3294, x_3315); +x_3317 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3281); +x_3318 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3318, 0, x_3281); +lean_ctor_set(x_3318, 1, x_3317); +lean_ctor_set(x_3318, 2, x_3316); +x_3319 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3320 = lean_array_push(x_3319, x_3285); +lean_inc(x_3288); +x_3321 = lean_array_push(x_3320, x_3288); +x_3322 = lean_array_push(x_3321, x_3288); +x_3323 = lean_array_push(x_3322, x_3296); +x_3324 = lean_array_push(x_3323, x_3298); +x_3325 = lean_array_push(x_3324, x_3318); +x_3326 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3327 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3327, 0, x_3281); +lean_ctor_set(x_3327, 1, x_3326); +lean_ctor_set(x_3327, 2, x_3325); +x_3328 = 1; +x_3329 = lean_box(x_3328); +if (lean_is_scalar(x_3279)) { + x_3330 = lean_alloc_ctor(0, 2, 0); } else { - x_3316 = x_3265; + x_3330 = x_3279; } -lean_ctor_set(x_3316, 0, x_3313); -lean_ctor_set(x_3316, 1, x_3315); -x_3317 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3317, 0, x_3263); -lean_ctor_set(x_3317, 1, x_3316); -if (lean_is_scalar(x_3269)) { - x_3318 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3330, 0, x_3327); +lean_ctor_set(x_3330, 1, x_3329); +x_3331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3331, 0, x_3277); +lean_ctor_set(x_3331, 1, x_3330); +if (lean_is_scalar(x_3283)) { + x_3332 = lean_alloc_ctor(0, 2, 0); } else { - x_3318 = x_3269; + x_3332 = x_3283; } -lean_ctor_set(x_3318, 0, x_3317); -lean_ctor_set(x_3318, 1, x_3268); -return x_3318; +lean_ctor_set(x_3332, 0, x_3331); +lean_ctor_set(x_3332, 1, x_3282); +return x_3332; } } else { -uint8_t x_3319; -lean_dec(x_3096); +uint8_t x_3333; +lean_dec(x_3110); lean_dec(x_14); lean_dec(x_5); -x_3319 = !lean_is_exclusive(x_3103); -if (x_3319 == 0) +x_3333 = !lean_is_exclusive(x_3117); +if (x_3333 == 0) { -return x_3103; +return x_3117; } else { -lean_object* x_3320; lean_object* x_3321; lean_object* x_3322; -x_3320 = lean_ctor_get(x_3103, 0); -x_3321 = lean_ctor_get(x_3103, 1); -lean_inc(x_3321); -lean_inc(x_3320); -lean_dec(x_3103); -x_3322 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3322, 0, x_3320); -lean_ctor_set(x_3322, 1, x_3321); -return x_3322; +lean_object* x_3334; lean_object* x_3335; lean_object* x_3336; +x_3334 = lean_ctor_get(x_3117, 0); +x_3335 = lean_ctor_get(x_3117, 1); +lean_inc(x_3335); +lean_inc(x_3334); +lean_dec(x_3117); +x_3336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3336, 0, x_3334); +lean_ctor_set(x_3336, 1, x_3335); +return x_3336; } } } @@ -16896,567 +16923,578 @@ return x_3322; } else { -lean_object* x_3323; lean_object* x_3324; lean_object* x_3325; lean_object* x_3326; lean_object* x_3327; lean_object* x_3328; lean_object* x_3329; lean_object* x_3330; lean_object* x_3331; +uint8_t x_3337; lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; lean_object* x_3341; lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_dec(x_15); +x_3337 = 0; lean_inc(x_5); lean_inc(x_14); -x_3323 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_5, x_6); -x_3324 = lean_ctor_get(x_3323, 0); -lean_inc(x_3324); -x_3325 = lean_ctor_get(x_3323, 1); -lean_inc(x_3325); -lean_dec(x_3323); -x_3326 = lean_unsigned_to_nat(1u); -x_3327 = lean_nat_add(x_3, x_3326); +x_3338 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_14, x_3337, x_5, x_6); +x_3339 = lean_ctor_get(x_3338, 0); +lean_inc(x_3339); +x_3340 = lean_ctor_get(x_3338, 1); +lean_inc(x_3340); +lean_dec(x_3338); +x_3341 = lean_unsigned_to_nat(1u); +x_3342 = lean_nat_add(x_3, x_3341); lean_dec(x_3); lean_inc(x_14); -x_3328 = l_Lean_mkHole(x_14); -lean_inc(x_3324); -x_3329 = l_Lean_Elab_Term_mkExplicitBinder(x_3324, x_3328); -x_3330 = lean_array_push(x_4, x_3329); +x_3343 = l_Lean_mkHole(x_14, x_3337); +lean_inc(x_3339); +x_3344 = l_Lean_Elab_Term_mkExplicitBinder(x_3339, x_3343); +x_3345 = lean_array_push(x_4, x_3344); lean_inc(x_5); -x_3331 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3327, x_3330, x_5, x_3325); -if (lean_obj_tag(x_3331) == 0) +x_3346 = l_Lean_Elab_Term_expandFunBinders_loop(x_1, x_2, x_3342, x_3345, x_5, x_3340); +if (lean_obj_tag(x_3346) == 0) { -lean_object* x_3332; lean_object* x_3333; lean_object* x_3334; uint8_t x_3335; -x_3332 = lean_ctor_get(x_3331, 0); -lean_inc(x_3332); -x_3333 = lean_ctor_get(x_3332, 1); -lean_inc(x_3333); -x_3334 = lean_ctor_get(x_3331, 1); -lean_inc(x_3334); -lean_dec(x_3331); -x_3335 = !lean_is_exclusive(x_3332); -if (x_3335 == 0) -{ -lean_object* x_3336; uint8_t x_3337; -x_3336 = lean_ctor_get(x_3332, 1); -lean_dec(x_3336); -x_3337 = !lean_is_exclusive(x_3333); -if (x_3337 == 0) -{ -lean_object* x_3338; lean_object* x_3339; lean_object* x_3340; uint8_t x_3341; -x_3338 = lean_ctor_get(x_3333, 0); -x_3339 = lean_ctor_get(x_3333, 1); -lean_dec(x_3339); -x_3340 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3334); -x_3341 = !lean_is_exclusive(x_3340); -if (x_3341 == 0) -{ -lean_object* x_3342; lean_object* x_3343; lean_object* x_3344; lean_object* x_3345; lean_object* x_3346; lean_object* x_3347; lean_object* x_3348; lean_object* x_3349; lean_object* x_3350; lean_object* x_3351; lean_object* x_3352; lean_object* x_3353; lean_object* x_3354; lean_object* x_3355; lean_object* x_3356; lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; lean_object* x_3361; lean_object* x_3362; lean_object* x_3363; lean_object* x_3364; lean_object* x_3365; lean_object* x_3366; lean_object* x_3367; lean_object* x_3368; lean_object* x_3369; lean_object* x_3370; lean_object* x_3371; lean_object* x_3372; lean_object* x_3373; lean_object* x_3374; lean_object* x_3375; lean_object* x_3376; lean_object* x_3377; lean_object* x_3378; lean_object* x_3379; lean_object* x_3380; lean_object* x_3381; lean_object* x_3382; lean_object* x_3383; lean_object* x_3384; lean_object* x_3385; lean_object* x_3386; uint8_t x_3387; lean_object* x_3388; -x_3342 = lean_ctor_get(x_3340, 0); -x_3343 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3342); -x_3344 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3344, 0, x_3342); -lean_ctor_set(x_3344, 1, x_3343); -x_3345 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3346 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3342); -x_3347 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3347, 0, x_3342); -lean_ctor_set(x_3347, 1, x_3345); -lean_ctor_set(x_3347, 2, x_3346); -x_3348 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_object* x_3347; lean_object* x_3348; lean_object* x_3349; uint8_t x_3350; +x_3347 = lean_ctor_get(x_3346, 0); lean_inc(x_3347); -x_3349 = lean_array_push(x_3348, x_3347); -x_3350 = lean_array_push(x_3349, x_3324); -x_3351 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3342); -x_3352 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3352, 0, x_3342); -lean_ctor_set(x_3352, 1, x_3351); -lean_ctor_set(x_3352, 2, x_3350); -x_3353 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3354 = lean_array_push(x_3353, x_3352); -lean_inc(x_3342); -x_3355 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3355, 0, x_3342); -lean_ctor_set(x_3355, 1, x_3345); -lean_ctor_set(x_3355, 2, x_3354); -x_3356 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3342); -x_3357 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3357, 0, x_3342); -lean_ctor_set(x_3357, 1, x_3356); -x_3358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3342); +x_3348 = lean_ctor_get(x_3347, 1); +lean_inc(x_3348); +x_3349 = lean_ctor_get(x_3346, 1); +lean_inc(x_3349); +lean_dec(x_3346); +x_3350 = !lean_is_exclusive(x_3347); +if (x_3350 == 0) +{ +lean_object* x_3351; uint8_t x_3352; +x_3351 = lean_ctor_get(x_3347, 1); +lean_dec(x_3351); +x_3352 = !lean_is_exclusive(x_3348); +if (x_3352 == 0) +{ +lean_object* x_3353; lean_object* x_3354; lean_object* x_3355; uint8_t x_3356; +x_3353 = lean_ctor_get(x_3348, 0); +x_3354 = lean_ctor_get(x_3348, 1); +lean_dec(x_3354); +x_3355 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3349); +x_3356 = !lean_is_exclusive(x_3355); +if (x_3356 == 0) +{ +lean_object* x_3357; lean_object* x_3358; lean_object* x_3359; lean_object* x_3360; lean_object* x_3361; lean_object* x_3362; lean_object* x_3363; lean_object* x_3364; lean_object* x_3365; lean_object* x_3366; lean_object* x_3367; lean_object* x_3368; lean_object* x_3369; lean_object* x_3370; lean_object* x_3371; lean_object* x_3372; lean_object* x_3373; lean_object* x_3374; lean_object* x_3375; lean_object* x_3376; lean_object* x_3377; lean_object* x_3378; lean_object* x_3379; lean_object* x_3380; lean_object* x_3381; lean_object* x_3382; lean_object* x_3383; lean_object* x_3384; lean_object* x_3385; lean_object* x_3386; lean_object* x_3387; lean_object* x_3388; lean_object* x_3389; lean_object* x_3390; lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; lean_object* x_3394; lean_object* x_3395; lean_object* x_3396; lean_object* x_3397; lean_object* x_3398; lean_object* x_3399; lean_object* x_3400; lean_object* x_3401; uint8_t x_3402; lean_object* x_3403; +x_3357 = lean_ctor_get(x_3355, 0); +x_3358 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3357); x_3359 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3359, 0, x_3342); +lean_ctor_set(x_3359, 0, x_3357); lean_ctor_set(x_3359, 1, x_3358); -x_3360 = lean_array_push(x_3353, x_14); -lean_inc(x_3342); -x_3361 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3361, 0, x_3342); -lean_ctor_set(x_3361, 1, x_3345); -lean_ctor_set(x_3361, 2, x_3360); -x_3362 = lean_array_push(x_3353, x_3361); -lean_inc(x_3342); -x_3363 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3363, 0, x_3342); -lean_ctor_set(x_3363, 1, x_3345); -lean_ctor_set(x_3363, 2, x_3362); -x_3364 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3342); -x_3365 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3365, 0, x_3342); -lean_ctor_set(x_3365, 1, x_3364); -x_3366 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3367 = lean_array_push(x_3366, x_3359); -x_3368 = lean_array_push(x_3367, x_3363); -x_3369 = lean_array_push(x_3368, x_3365); -x_3370 = lean_array_push(x_3369, x_3338); -x_3371 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3342); -x_3372 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3372, 0, x_3342); +x_3360 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3361 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3357); +x_3362 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3362, 0, x_3357); +lean_ctor_set(x_3362, 1, x_3360); +lean_ctor_set(x_3362, 2, x_3361); +x_3363 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3362); +x_3364 = lean_array_push(x_3363, x_3362); +x_3365 = lean_array_push(x_3364, x_3339); +x_3366 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3357); +x_3367 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3367, 0, x_3357); +lean_ctor_set(x_3367, 1, x_3366); +lean_ctor_set(x_3367, 2, x_3365); +x_3368 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3369 = lean_array_push(x_3368, x_3367); +lean_inc(x_3357); +x_3370 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3370, 0, x_3357); +lean_ctor_set(x_3370, 1, x_3360); +lean_ctor_set(x_3370, 2, x_3369); +x_3371 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3357); +x_3372 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3372, 0, x_3357); lean_ctor_set(x_3372, 1, x_3371); -lean_ctor_set(x_3372, 2, x_3370); -x_3373 = lean_array_push(x_3353, x_3372); -lean_inc(x_3342); -x_3374 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3374, 0, x_3342); -lean_ctor_set(x_3374, 1, x_3345); -lean_ctor_set(x_3374, 2, x_3373); -x_3375 = lean_array_push(x_3353, x_3374); -x_3376 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3342); -x_3377 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3377, 0, x_3342); -lean_ctor_set(x_3377, 1, x_3376); -lean_ctor_set(x_3377, 2, x_3375); -x_3378 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3379 = lean_array_push(x_3378, x_3344); -lean_inc(x_3347); -x_3380 = lean_array_push(x_3379, x_3347); -x_3381 = lean_array_push(x_3380, x_3347); -x_3382 = lean_array_push(x_3381, x_3355); -x_3383 = lean_array_push(x_3382, x_3357); -x_3384 = lean_array_push(x_3383, x_3377); -x_3385 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3386 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3386, 0, x_3342); -lean_ctor_set(x_3386, 1, x_3385); -lean_ctor_set(x_3386, 2, x_3384); -x_3387 = 1; -x_3388 = lean_box(x_3387); -lean_ctor_set(x_3333, 1, x_3388); -lean_ctor_set(x_3333, 0, x_3386); -lean_ctor_set(x_3340, 0, x_3332); -return x_3340; -} -else -{ -lean_object* x_3389; lean_object* x_3390; lean_object* x_3391; lean_object* x_3392; lean_object* x_3393; lean_object* x_3394; lean_object* x_3395; lean_object* x_3396; lean_object* x_3397; lean_object* x_3398; lean_object* x_3399; lean_object* x_3400; lean_object* x_3401; lean_object* x_3402; lean_object* x_3403; lean_object* x_3404; lean_object* x_3405; lean_object* x_3406; lean_object* x_3407; lean_object* x_3408; lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; lean_object* x_3412; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; lean_object* x_3416; lean_object* x_3417; lean_object* x_3418; lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; lean_object* x_3424; lean_object* x_3425; lean_object* x_3426; lean_object* x_3427; lean_object* x_3428; lean_object* x_3429; lean_object* x_3430; lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; lean_object* x_3434; uint8_t x_3435; lean_object* x_3436; lean_object* x_3437; -x_3389 = lean_ctor_get(x_3340, 0); -x_3390 = lean_ctor_get(x_3340, 1); -lean_inc(x_3390); -lean_inc(x_3389); -lean_dec(x_3340); -x_3391 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3389); -x_3392 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3392, 0, x_3389); +x_3373 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3357); +x_3374 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3374, 0, x_3357); +lean_ctor_set(x_3374, 1, x_3373); +x_3375 = lean_array_push(x_3368, x_14); +lean_inc(x_3357); +x_3376 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3376, 0, x_3357); +lean_ctor_set(x_3376, 1, x_3360); +lean_ctor_set(x_3376, 2, x_3375); +x_3377 = lean_array_push(x_3368, x_3376); +lean_inc(x_3357); +x_3378 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3378, 0, x_3357); +lean_ctor_set(x_3378, 1, x_3360); +lean_ctor_set(x_3378, 2, x_3377); +x_3379 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3357); +x_3380 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3380, 0, x_3357); +lean_ctor_set(x_3380, 1, x_3379); +x_3381 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3382 = lean_array_push(x_3381, x_3374); +x_3383 = lean_array_push(x_3382, x_3378); +x_3384 = lean_array_push(x_3383, x_3380); +x_3385 = lean_array_push(x_3384, x_3353); +x_3386 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3357); +x_3387 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3387, 0, x_3357); +lean_ctor_set(x_3387, 1, x_3386); +lean_ctor_set(x_3387, 2, x_3385); +x_3388 = lean_array_push(x_3368, x_3387); +lean_inc(x_3357); +x_3389 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3389, 0, x_3357); +lean_ctor_set(x_3389, 1, x_3360); +lean_ctor_set(x_3389, 2, x_3388); +x_3390 = lean_array_push(x_3368, x_3389); +x_3391 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3357); +x_3392 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3392, 0, x_3357); lean_ctor_set(x_3392, 1, x_3391); -x_3393 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3394 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3389); -x_3395 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3395, 0, x_3389); -lean_ctor_set(x_3395, 1, x_3393); -lean_ctor_set(x_3395, 2, x_3394); -x_3396 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_3395); -x_3397 = lean_array_push(x_3396, x_3395); -x_3398 = lean_array_push(x_3397, x_3324); -x_3399 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3389); -x_3400 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3400, 0, x_3389); -lean_ctor_set(x_3400, 1, x_3399); -lean_ctor_set(x_3400, 2, x_3398); -x_3401 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3402 = lean_array_push(x_3401, x_3400); -lean_inc(x_3389); -x_3403 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3403, 0, x_3389); -lean_ctor_set(x_3403, 1, x_3393); -lean_ctor_set(x_3403, 2, x_3402); -x_3404 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3389); -x_3405 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3405, 0, x_3389); -lean_ctor_set(x_3405, 1, x_3404); -x_3406 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3389); +lean_ctor_set(x_3392, 2, x_3390); +x_3393 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3394 = lean_array_push(x_3393, x_3359); +lean_inc(x_3362); +x_3395 = lean_array_push(x_3394, x_3362); +x_3396 = lean_array_push(x_3395, x_3362); +x_3397 = lean_array_push(x_3396, x_3370); +x_3398 = lean_array_push(x_3397, x_3372); +x_3399 = lean_array_push(x_3398, x_3392); +x_3400 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3401 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3401, 0, x_3357); +lean_ctor_set(x_3401, 1, x_3400); +lean_ctor_set(x_3401, 2, x_3399); +x_3402 = 1; +x_3403 = lean_box(x_3402); +lean_ctor_set(x_3348, 1, x_3403); +lean_ctor_set(x_3348, 0, x_3401); +lean_ctor_set(x_3355, 0, x_3347); +return x_3355; +} +else +{ +lean_object* x_3404; lean_object* x_3405; lean_object* x_3406; lean_object* x_3407; lean_object* x_3408; lean_object* x_3409; lean_object* x_3410; lean_object* x_3411; lean_object* x_3412; lean_object* x_3413; lean_object* x_3414; lean_object* x_3415; lean_object* x_3416; lean_object* x_3417; lean_object* x_3418; lean_object* x_3419; lean_object* x_3420; lean_object* x_3421; lean_object* x_3422; lean_object* x_3423; lean_object* x_3424; lean_object* x_3425; lean_object* x_3426; lean_object* x_3427; lean_object* x_3428; lean_object* x_3429; lean_object* x_3430; lean_object* x_3431; lean_object* x_3432; lean_object* x_3433; lean_object* x_3434; lean_object* x_3435; lean_object* x_3436; lean_object* x_3437; lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; lean_object* x_3441; lean_object* x_3442; lean_object* x_3443; lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; lean_object* x_3448; lean_object* x_3449; uint8_t x_3450; lean_object* x_3451; lean_object* x_3452; +x_3404 = lean_ctor_get(x_3355, 0); +x_3405 = lean_ctor_get(x_3355, 1); +lean_inc(x_3405); +lean_inc(x_3404); +lean_dec(x_3355); +x_3406 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3404); x_3407 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3407, 0, x_3389); +lean_ctor_set(x_3407, 0, x_3404); lean_ctor_set(x_3407, 1, x_3406); -x_3408 = lean_array_push(x_3401, x_14); -lean_inc(x_3389); -x_3409 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3409, 0, x_3389); -lean_ctor_set(x_3409, 1, x_3393); -lean_ctor_set(x_3409, 2, x_3408); -x_3410 = lean_array_push(x_3401, x_3409); -lean_inc(x_3389); -x_3411 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3411, 0, x_3389); -lean_ctor_set(x_3411, 1, x_3393); -lean_ctor_set(x_3411, 2, x_3410); -x_3412 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3389); -x_3413 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3413, 0, x_3389); -lean_ctor_set(x_3413, 1, x_3412); -x_3414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3415 = lean_array_push(x_3414, x_3407); -x_3416 = lean_array_push(x_3415, x_3411); -x_3417 = lean_array_push(x_3416, x_3413); -x_3418 = lean_array_push(x_3417, x_3338); -x_3419 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3389); -x_3420 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3420, 0, x_3389); +x_3408 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3409 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3404); +x_3410 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3410, 0, x_3404); +lean_ctor_set(x_3410, 1, x_3408); +lean_ctor_set(x_3410, 2, x_3409); +x_3411 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3410); +x_3412 = lean_array_push(x_3411, x_3410); +x_3413 = lean_array_push(x_3412, x_3339); +x_3414 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3404); +x_3415 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3415, 0, x_3404); +lean_ctor_set(x_3415, 1, x_3414); +lean_ctor_set(x_3415, 2, x_3413); +x_3416 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3417 = lean_array_push(x_3416, x_3415); +lean_inc(x_3404); +x_3418 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3418, 0, x_3404); +lean_ctor_set(x_3418, 1, x_3408); +lean_ctor_set(x_3418, 2, x_3417); +x_3419 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3404); +x_3420 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3420, 0, x_3404); lean_ctor_set(x_3420, 1, x_3419); -lean_ctor_set(x_3420, 2, x_3418); -x_3421 = lean_array_push(x_3401, x_3420); -lean_inc(x_3389); -x_3422 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3422, 0, x_3389); -lean_ctor_set(x_3422, 1, x_3393); -lean_ctor_set(x_3422, 2, x_3421); -x_3423 = lean_array_push(x_3401, x_3422); -x_3424 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3389); -x_3425 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3425, 0, x_3389); -lean_ctor_set(x_3425, 1, x_3424); -lean_ctor_set(x_3425, 2, x_3423); -x_3426 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3427 = lean_array_push(x_3426, x_3392); -lean_inc(x_3395); -x_3428 = lean_array_push(x_3427, x_3395); -x_3429 = lean_array_push(x_3428, x_3395); -x_3430 = lean_array_push(x_3429, x_3403); -x_3431 = lean_array_push(x_3430, x_3405); -x_3432 = lean_array_push(x_3431, x_3425); -x_3433 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3434 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3434, 0, x_3389); -lean_ctor_set(x_3434, 1, x_3433); -lean_ctor_set(x_3434, 2, x_3432); -x_3435 = 1; -x_3436 = lean_box(x_3435); -lean_ctor_set(x_3333, 1, x_3436); -lean_ctor_set(x_3333, 0, x_3434); -x_3437 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3437, 0, x_3332); -lean_ctor_set(x_3437, 1, x_3390); -return x_3437; +x_3421 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3404); +x_3422 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3422, 0, x_3404); +lean_ctor_set(x_3422, 1, x_3421); +x_3423 = lean_array_push(x_3416, x_14); +lean_inc(x_3404); +x_3424 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3424, 0, x_3404); +lean_ctor_set(x_3424, 1, x_3408); +lean_ctor_set(x_3424, 2, x_3423); +x_3425 = lean_array_push(x_3416, x_3424); +lean_inc(x_3404); +x_3426 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3426, 0, x_3404); +lean_ctor_set(x_3426, 1, x_3408); +lean_ctor_set(x_3426, 2, x_3425); +x_3427 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3404); +x_3428 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3428, 0, x_3404); +lean_ctor_set(x_3428, 1, x_3427); +x_3429 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3430 = lean_array_push(x_3429, x_3422); +x_3431 = lean_array_push(x_3430, x_3426); +x_3432 = lean_array_push(x_3431, x_3428); +x_3433 = lean_array_push(x_3432, x_3353); +x_3434 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3404); +x_3435 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3435, 0, x_3404); +lean_ctor_set(x_3435, 1, x_3434); +lean_ctor_set(x_3435, 2, x_3433); +x_3436 = lean_array_push(x_3416, x_3435); +lean_inc(x_3404); +x_3437 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3437, 0, x_3404); +lean_ctor_set(x_3437, 1, x_3408); +lean_ctor_set(x_3437, 2, x_3436); +x_3438 = lean_array_push(x_3416, x_3437); +x_3439 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3404); +x_3440 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3440, 0, x_3404); +lean_ctor_set(x_3440, 1, x_3439); +lean_ctor_set(x_3440, 2, x_3438); +x_3441 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3442 = lean_array_push(x_3441, x_3407); +lean_inc(x_3410); +x_3443 = lean_array_push(x_3442, x_3410); +x_3444 = lean_array_push(x_3443, x_3410); +x_3445 = lean_array_push(x_3444, x_3418); +x_3446 = lean_array_push(x_3445, x_3420); +x_3447 = lean_array_push(x_3446, x_3440); +x_3448 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3449 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3449, 0, x_3404); +lean_ctor_set(x_3449, 1, x_3448); +lean_ctor_set(x_3449, 2, x_3447); +x_3450 = 1; +x_3451 = lean_box(x_3450); +lean_ctor_set(x_3348, 1, x_3451); +lean_ctor_set(x_3348, 0, x_3449); +x_3452 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3452, 0, x_3347); +lean_ctor_set(x_3452, 1, x_3405); +return x_3452; } } else { -lean_object* x_3438; lean_object* x_3439; lean_object* x_3440; lean_object* x_3441; lean_object* x_3442; lean_object* x_3443; lean_object* x_3444; lean_object* x_3445; lean_object* x_3446; lean_object* x_3447; lean_object* x_3448; lean_object* x_3449; lean_object* x_3450; lean_object* x_3451; lean_object* x_3452; lean_object* x_3453; lean_object* x_3454; lean_object* x_3455; lean_object* x_3456; lean_object* x_3457; lean_object* x_3458; lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; lean_object* x_3462; lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; lean_object* x_3466; lean_object* x_3467; lean_object* x_3468; lean_object* x_3469; lean_object* x_3470; lean_object* x_3471; lean_object* x_3472; lean_object* x_3473; lean_object* x_3474; lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; lean_object* x_3479; lean_object* x_3480; lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; lean_object* x_3484; lean_object* x_3485; lean_object* x_3486; uint8_t x_3487; lean_object* x_3488; lean_object* x_3489; lean_object* x_3490; -x_3438 = lean_ctor_get(x_3333, 0); -lean_inc(x_3438); -lean_dec(x_3333); -x_3439 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3334); -x_3440 = lean_ctor_get(x_3439, 0); -lean_inc(x_3440); -x_3441 = lean_ctor_get(x_3439, 1); -lean_inc(x_3441); -if (lean_is_exclusive(x_3439)) { - lean_ctor_release(x_3439, 0); - lean_ctor_release(x_3439, 1); - x_3442 = x_3439; +lean_object* x_3453; lean_object* x_3454; lean_object* x_3455; lean_object* x_3456; lean_object* x_3457; lean_object* x_3458; lean_object* x_3459; lean_object* x_3460; lean_object* x_3461; lean_object* x_3462; lean_object* x_3463; lean_object* x_3464; lean_object* x_3465; lean_object* x_3466; lean_object* x_3467; lean_object* x_3468; lean_object* x_3469; lean_object* x_3470; lean_object* x_3471; lean_object* x_3472; lean_object* x_3473; lean_object* x_3474; lean_object* x_3475; lean_object* x_3476; lean_object* x_3477; lean_object* x_3478; lean_object* x_3479; lean_object* x_3480; lean_object* x_3481; lean_object* x_3482; lean_object* x_3483; lean_object* x_3484; lean_object* x_3485; lean_object* x_3486; lean_object* x_3487; lean_object* x_3488; lean_object* x_3489; lean_object* x_3490; lean_object* x_3491; lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; lean_object* x_3496; lean_object* x_3497; lean_object* x_3498; lean_object* x_3499; lean_object* x_3500; lean_object* x_3501; uint8_t x_3502; lean_object* x_3503; lean_object* x_3504; lean_object* x_3505; +x_3453 = lean_ctor_get(x_3348, 0); +lean_inc(x_3453); +lean_dec(x_3348); +x_3454 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3349); +x_3455 = lean_ctor_get(x_3454, 0); +lean_inc(x_3455); +x_3456 = lean_ctor_get(x_3454, 1); +lean_inc(x_3456); +if (lean_is_exclusive(x_3454)) { + lean_ctor_release(x_3454, 0); + lean_ctor_release(x_3454, 1); + x_3457 = x_3454; } else { - lean_dec_ref(x_3439); - x_3442 = lean_box(0); + lean_dec_ref(x_3454); + x_3457 = lean_box(0); } -x_3443 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3440); -x_3444 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3444, 0, x_3440); -lean_ctor_set(x_3444, 1, x_3443); -x_3445 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3446 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3440); -x_3447 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3447, 0, x_3440); -lean_ctor_set(x_3447, 1, x_3445); -lean_ctor_set(x_3447, 2, x_3446); -x_3448 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_3447); -x_3449 = lean_array_push(x_3448, x_3447); -x_3450 = lean_array_push(x_3449, x_3324); -x_3451 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3440); -x_3452 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3452, 0, x_3440); -lean_ctor_set(x_3452, 1, x_3451); -lean_ctor_set(x_3452, 2, x_3450); -x_3453 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3454 = lean_array_push(x_3453, x_3452); -lean_inc(x_3440); -x_3455 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3455, 0, x_3440); -lean_ctor_set(x_3455, 1, x_3445); -lean_ctor_set(x_3455, 2, x_3454); -x_3456 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3440); -x_3457 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3457, 0, x_3440); -lean_ctor_set(x_3457, 1, x_3456); -x_3458 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3440); +x_3458 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3455); x_3459 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3459, 0, x_3440); +lean_ctor_set(x_3459, 0, x_3455); lean_ctor_set(x_3459, 1, x_3458); -x_3460 = lean_array_push(x_3453, x_14); -lean_inc(x_3440); -x_3461 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3461, 0, x_3440); -lean_ctor_set(x_3461, 1, x_3445); -lean_ctor_set(x_3461, 2, x_3460); -x_3462 = lean_array_push(x_3453, x_3461); -lean_inc(x_3440); -x_3463 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3463, 0, x_3440); -lean_ctor_set(x_3463, 1, x_3445); -lean_ctor_set(x_3463, 2, x_3462); -x_3464 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3440); -x_3465 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3465, 0, x_3440); -lean_ctor_set(x_3465, 1, x_3464); -x_3466 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3467 = lean_array_push(x_3466, x_3459); -x_3468 = lean_array_push(x_3467, x_3463); -x_3469 = lean_array_push(x_3468, x_3465); -x_3470 = lean_array_push(x_3469, x_3438); -x_3471 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3440); -x_3472 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3472, 0, x_3440); +x_3460 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3461 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3455); +x_3462 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3462, 0, x_3455); +lean_ctor_set(x_3462, 1, x_3460); +lean_ctor_set(x_3462, 2, x_3461); +x_3463 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3462); +x_3464 = lean_array_push(x_3463, x_3462); +x_3465 = lean_array_push(x_3464, x_3339); +x_3466 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3455); +x_3467 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3467, 0, x_3455); +lean_ctor_set(x_3467, 1, x_3466); +lean_ctor_set(x_3467, 2, x_3465); +x_3468 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3469 = lean_array_push(x_3468, x_3467); +lean_inc(x_3455); +x_3470 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3470, 0, x_3455); +lean_ctor_set(x_3470, 1, x_3460); +lean_ctor_set(x_3470, 2, x_3469); +x_3471 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3455); +x_3472 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3472, 0, x_3455); lean_ctor_set(x_3472, 1, x_3471); -lean_ctor_set(x_3472, 2, x_3470); -x_3473 = lean_array_push(x_3453, x_3472); -lean_inc(x_3440); -x_3474 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3474, 0, x_3440); -lean_ctor_set(x_3474, 1, x_3445); -lean_ctor_set(x_3474, 2, x_3473); -x_3475 = lean_array_push(x_3453, x_3474); -x_3476 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3440); -x_3477 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3477, 0, x_3440); -lean_ctor_set(x_3477, 1, x_3476); -lean_ctor_set(x_3477, 2, x_3475); -x_3478 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3479 = lean_array_push(x_3478, x_3444); -lean_inc(x_3447); -x_3480 = lean_array_push(x_3479, x_3447); -x_3481 = lean_array_push(x_3480, x_3447); -x_3482 = lean_array_push(x_3481, x_3455); -x_3483 = lean_array_push(x_3482, x_3457); -x_3484 = lean_array_push(x_3483, x_3477); -x_3485 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3486 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3486, 0, x_3440); -lean_ctor_set(x_3486, 1, x_3485); -lean_ctor_set(x_3486, 2, x_3484); -x_3487 = 1; -x_3488 = lean_box(x_3487); -x_3489 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3489, 0, x_3486); -lean_ctor_set(x_3489, 1, x_3488); -lean_ctor_set(x_3332, 1, x_3489); -if (lean_is_scalar(x_3442)) { - x_3490 = lean_alloc_ctor(0, 2, 0); +x_3473 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3455); +x_3474 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3474, 0, x_3455); +lean_ctor_set(x_3474, 1, x_3473); +x_3475 = lean_array_push(x_3468, x_14); +lean_inc(x_3455); +x_3476 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3476, 0, x_3455); +lean_ctor_set(x_3476, 1, x_3460); +lean_ctor_set(x_3476, 2, x_3475); +x_3477 = lean_array_push(x_3468, x_3476); +lean_inc(x_3455); +x_3478 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3478, 0, x_3455); +lean_ctor_set(x_3478, 1, x_3460); +lean_ctor_set(x_3478, 2, x_3477); +x_3479 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3455); +x_3480 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3480, 0, x_3455); +lean_ctor_set(x_3480, 1, x_3479); +x_3481 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3482 = lean_array_push(x_3481, x_3474); +x_3483 = lean_array_push(x_3482, x_3478); +x_3484 = lean_array_push(x_3483, x_3480); +x_3485 = lean_array_push(x_3484, x_3453); +x_3486 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3455); +x_3487 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3487, 0, x_3455); +lean_ctor_set(x_3487, 1, x_3486); +lean_ctor_set(x_3487, 2, x_3485); +x_3488 = lean_array_push(x_3468, x_3487); +lean_inc(x_3455); +x_3489 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3489, 0, x_3455); +lean_ctor_set(x_3489, 1, x_3460); +lean_ctor_set(x_3489, 2, x_3488); +x_3490 = lean_array_push(x_3468, x_3489); +x_3491 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3455); +x_3492 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3492, 0, x_3455); +lean_ctor_set(x_3492, 1, x_3491); +lean_ctor_set(x_3492, 2, x_3490); +x_3493 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3494 = lean_array_push(x_3493, x_3459); +lean_inc(x_3462); +x_3495 = lean_array_push(x_3494, x_3462); +x_3496 = lean_array_push(x_3495, x_3462); +x_3497 = lean_array_push(x_3496, x_3470); +x_3498 = lean_array_push(x_3497, x_3472); +x_3499 = lean_array_push(x_3498, x_3492); +x_3500 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3501 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3501, 0, x_3455); +lean_ctor_set(x_3501, 1, x_3500); +lean_ctor_set(x_3501, 2, x_3499); +x_3502 = 1; +x_3503 = lean_box(x_3502); +x_3504 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3504, 0, x_3501); +lean_ctor_set(x_3504, 1, x_3503); +lean_ctor_set(x_3347, 1, x_3504); +if (lean_is_scalar(x_3457)) { + x_3505 = lean_alloc_ctor(0, 2, 0); } else { - x_3490 = x_3442; + x_3505 = x_3457; } -lean_ctor_set(x_3490, 0, x_3332); -lean_ctor_set(x_3490, 1, x_3441); -return x_3490; +lean_ctor_set(x_3505, 0, x_3347); +lean_ctor_set(x_3505, 1, x_3456); +return x_3505; } } else { -lean_object* x_3491; lean_object* x_3492; lean_object* x_3493; lean_object* x_3494; lean_object* x_3495; lean_object* x_3496; lean_object* x_3497; lean_object* x_3498; lean_object* x_3499; lean_object* x_3500; lean_object* x_3501; lean_object* x_3502; lean_object* x_3503; lean_object* x_3504; lean_object* x_3505; lean_object* x_3506; lean_object* x_3507; lean_object* x_3508; lean_object* x_3509; lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; lean_object* x_3513; lean_object* x_3514; lean_object* x_3515; lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; lean_object* x_3522; lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; lean_object* x_3526; lean_object* x_3527; lean_object* x_3528; lean_object* x_3529; lean_object* x_3530; lean_object* x_3531; lean_object* x_3532; lean_object* x_3533; lean_object* x_3534; lean_object* x_3535; lean_object* x_3536; lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; lean_object* x_3540; lean_object* x_3541; uint8_t x_3542; lean_object* x_3543; lean_object* x_3544; lean_object* x_3545; lean_object* x_3546; -x_3491 = lean_ctor_get(x_3332, 0); -lean_inc(x_3491); -lean_dec(x_3332); -x_3492 = lean_ctor_get(x_3333, 0); -lean_inc(x_3492); -if (lean_is_exclusive(x_3333)) { - lean_ctor_release(x_3333, 0); - lean_ctor_release(x_3333, 1); - x_3493 = x_3333; +lean_object* x_3506; lean_object* x_3507; lean_object* x_3508; lean_object* x_3509; lean_object* x_3510; lean_object* x_3511; lean_object* x_3512; lean_object* x_3513; lean_object* x_3514; lean_object* x_3515; lean_object* x_3516; lean_object* x_3517; lean_object* x_3518; lean_object* x_3519; lean_object* x_3520; lean_object* x_3521; lean_object* x_3522; lean_object* x_3523; lean_object* x_3524; lean_object* x_3525; lean_object* x_3526; lean_object* x_3527; lean_object* x_3528; lean_object* x_3529; lean_object* x_3530; lean_object* x_3531; lean_object* x_3532; lean_object* x_3533; lean_object* x_3534; lean_object* x_3535; lean_object* x_3536; lean_object* x_3537; lean_object* x_3538; lean_object* x_3539; lean_object* x_3540; lean_object* x_3541; lean_object* x_3542; lean_object* x_3543; lean_object* x_3544; lean_object* x_3545; lean_object* x_3546; lean_object* x_3547; lean_object* x_3548; lean_object* x_3549; lean_object* x_3550; lean_object* x_3551; lean_object* x_3552; lean_object* x_3553; lean_object* x_3554; lean_object* x_3555; lean_object* x_3556; uint8_t x_3557; lean_object* x_3558; lean_object* x_3559; lean_object* x_3560; lean_object* x_3561; +x_3506 = lean_ctor_get(x_3347, 0); +lean_inc(x_3506); +lean_dec(x_3347); +x_3507 = lean_ctor_get(x_3348, 0); +lean_inc(x_3507); +if (lean_is_exclusive(x_3348)) { + lean_ctor_release(x_3348, 0); + lean_ctor_release(x_3348, 1); + x_3508 = x_3348; } else { - lean_dec_ref(x_3333); - x_3493 = lean_box(0); + lean_dec_ref(x_3348); + x_3508 = lean_box(0); } -x_3494 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3334); -x_3495 = lean_ctor_get(x_3494, 0); -lean_inc(x_3495); -x_3496 = lean_ctor_get(x_3494, 1); -lean_inc(x_3496); -if (lean_is_exclusive(x_3494)) { - lean_ctor_release(x_3494, 0); - lean_ctor_release(x_3494, 1); - x_3497 = x_3494; +x_3509 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_5, x_3349); +x_3510 = lean_ctor_get(x_3509, 0); +lean_inc(x_3510); +x_3511 = lean_ctor_get(x_3509, 1); +lean_inc(x_3511); +if (lean_is_exclusive(x_3509)) { + lean_ctor_release(x_3509, 0); + lean_ctor_release(x_3509, 1); + x_3512 = x_3509; } else { - lean_dec_ref(x_3494); - x_3497 = lean_box(0); + lean_dec_ref(x_3509); + x_3512 = lean_box(0); } -x_3498 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; -lean_inc(x_3495); -x_3499 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3499, 0, x_3495); -lean_ctor_set(x_3499, 1, x_3498); -x_3500 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; -x_3501 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -lean_inc(x_3495); -x_3502 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3502, 0, x_3495); -lean_ctor_set(x_3502, 1, x_3500); -lean_ctor_set(x_3502, 2, x_3501); -x_3503 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; -lean_inc(x_3502); -x_3504 = lean_array_push(x_3503, x_3502); -x_3505 = lean_array_push(x_3504, x_3324); -x_3506 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; -lean_inc(x_3495); -x_3507 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3507, 0, x_3495); -lean_ctor_set(x_3507, 1, x_3506); -lean_ctor_set(x_3507, 2, x_3505); -x_3508 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; -x_3509 = lean_array_push(x_3508, x_3507); -lean_inc(x_3495); -x_3510 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3510, 0, x_3495); -lean_ctor_set(x_3510, 1, x_3500); -lean_ctor_set(x_3510, 2, x_3509); -x_3511 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; -lean_inc(x_3495); -x_3512 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3512, 0, x_3495); -lean_ctor_set(x_3512, 1, x_3511); -x_3513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; -lean_inc(x_3495); +x_3513 = l_Lean_Elab_Term_expandFunBinders_loop___closed__1; +lean_inc(x_3510); x_3514 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3514, 0, x_3495); +lean_ctor_set(x_3514, 0, x_3510); lean_ctor_set(x_3514, 1, x_3513); -x_3515 = lean_array_push(x_3508, x_14); -lean_inc(x_3495); -x_3516 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3516, 0, x_3495); -lean_ctor_set(x_3516, 1, x_3500); -lean_ctor_set(x_3516, 2, x_3515); -x_3517 = lean_array_push(x_3508, x_3516); -lean_inc(x_3495); -x_3518 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3518, 0, x_3495); -lean_ctor_set(x_3518, 1, x_3500); -lean_ctor_set(x_3518, 2, x_3517); -x_3519 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; -lean_inc(x_3495); -x_3520 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_3520, 0, x_3495); -lean_ctor_set(x_3520, 1, x_3519); -x_3521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; -x_3522 = lean_array_push(x_3521, x_3514); -x_3523 = lean_array_push(x_3522, x_3518); -x_3524 = lean_array_push(x_3523, x_3520); -x_3525 = lean_array_push(x_3524, x_3492); -x_3526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; -lean_inc(x_3495); -x_3527 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3527, 0, x_3495); +x_3515 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__7; +x_3516 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +lean_inc(x_3510); +x_3517 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3517, 0, x_3510); +lean_ctor_set(x_3517, 1, x_3515); +lean_ctor_set(x_3517, 2, x_3516); +x_3518 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_quoteAutoTactic___spec__1___closed__8; +lean_inc(x_3517); +x_3519 = lean_array_push(x_3518, x_3517); +x_3520 = lean_array_push(x_3519, x_3339); +x_3521 = l_Lean_Elab_Term_expandFunBinders_loop___closed__4; +lean_inc(x_3510); +x_3522 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3522, 0, x_3510); +lean_ctor_set(x_3522, 1, x_3521); +lean_ctor_set(x_3522, 2, x_3520); +x_3523 = l_Lean_Elab_Term_quoteAutoTactic___closed__54; +x_3524 = lean_array_push(x_3523, x_3522); +lean_inc(x_3510); +x_3525 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3525, 0, x_3510); +lean_ctor_set(x_3525, 1, x_3515); +lean_ctor_set(x_3525, 2, x_3524); +x_3526 = l_Lean_Elab_Term_expandFunBinders_loop___closed__5; +lean_inc(x_3510); +x_3527 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3527, 0, x_3510); lean_ctor_set(x_3527, 1, x_3526); -lean_ctor_set(x_3527, 2, x_3525); -x_3528 = lean_array_push(x_3508, x_3527); -lean_inc(x_3495); -x_3529 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3529, 0, x_3495); -lean_ctor_set(x_3529, 1, x_3500); -lean_ctor_set(x_3529, 2, x_3528); -x_3530 = lean_array_push(x_3508, x_3529); -x_3531 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; -lean_inc(x_3495); -x_3532 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3532, 0, x_3495); -lean_ctor_set(x_3532, 1, x_3531); -lean_ctor_set(x_3532, 2, x_3530); -x_3533 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; -x_3534 = lean_array_push(x_3533, x_3499); -lean_inc(x_3502); -x_3535 = lean_array_push(x_3534, x_3502); -x_3536 = lean_array_push(x_3535, x_3502); -x_3537 = lean_array_push(x_3536, x_3510); -x_3538 = lean_array_push(x_3537, x_3512); -x_3539 = lean_array_push(x_3538, x_3532); -x_3540 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; -x_3541 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_3541, 0, x_3495); -lean_ctor_set(x_3541, 1, x_3540); -lean_ctor_set(x_3541, 2, x_3539); -x_3542 = 1; -x_3543 = lean_box(x_3542); -if (lean_is_scalar(x_3493)) { - x_3544 = lean_alloc_ctor(0, 2, 0); +x_3528 = l_Lean_Elab_Term_expandFunBinders_loop___closed__10; +lean_inc(x_3510); +x_3529 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3529, 0, x_3510); +lean_ctor_set(x_3529, 1, x_3528); +x_3530 = lean_array_push(x_3523, x_14); +lean_inc(x_3510); +x_3531 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3531, 0, x_3510); +lean_ctor_set(x_3531, 1, x_3515); +lean_ctor_set(x_3531, 2, x_3530); +x_3532 = lean_array_push(x_3523, x_3531); +lean_inc(x_3510); +x_3533 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3533, 0, x_3510); +lean_ctor_set(x_3533, 1, x_3515); +lean_ctor_set(x_3533, 2, x_3532); +x_3534 = l_Lean_Elab_Term_expandFunBinders_loop___closed__11; +lean_inc(x_3510); +x_3535 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_3535, 0, x_3510); +lean_ctor_set(x_3535, 1, x_3534); +x_3536 = l_Lean_Elab_Term_expandFunBinders_loop___closed__12; +x_3537 = lean_array_push(x_3536, x_3529); +x_3538 = lean_array_push(x_3537, x_3533); +x_3539 = lean_array_push(x_3538, x_3535); +x_3540 = lean_array_push(x_3539, x_3507); +x_3541 = l_Lean_Elab_Term_expandFunBinders_loop___closed__9; +lean_inc(x_3510); +x_3542 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3542, 0, x_3510); +lean_ctor_set(x_3542, 1, x_3541); +lean_ctor_set(x_3542, 2, x_3540); +x_3543 = lean_array_push(x_3523, x_3542); +lean_inc(x_3510); +x_3544 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3544, 0, x_3510); +lean_ctor_set(x_3544, 1, x_3515); +lean_ctor_set(x_3544, 2, x_3543); +x_3545 = lean_array_push(x_3523, x_3544); +x_3546 = l_Lean_Elab_Term_expandFunBinders_loop___closed__7; +lean_inc(x_3510); +x_3547 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3547, 0, x_3510); +lean_ctor_set(x_3547, 1, x_3546); +lean_ctor_set(x_3547, 2, x_3545); +x_3548 = l_Lean_Elab_Term_expandFunBinders_loop___closed__13; +x_3549 = lean_array_push(x_3548, x_3514); +lean_inc(x_3517); +x_3550 = lean_array_push(x_3549, x_3517); +x_3551 = lean_array_push(x_3550, x_3517); +x_3552 = lean_array_push(x_3551, x_3525); +x_3553 = lean_array_push(x_3552, x_3527); +x_3554 = lean_array_push(x_3553, x_3547); +x_3555 = l_Lean_Elab_Term_expandFunBinders_loop___closed__2; +x_3556 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_3556, 0, x_3510); +lean_ctor_set(x_3556, 1, x_3555); +lean_ctor_set(x_3556, 2, x_3554); +x_3557 = 1; +x_3558 = lean_box(x_3557); +if (lean_is_scalar(x_3508)) { + x_3559 = lean_alloc_ctor(0, 2, 0); } else { - x_3544 = x_3493; + x_3559 = x_3508; } -lean_ctor_set(x_3544, 0, x_3541); -lean_ctor_set(x_3544, 1, x_3543); -x_3545 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_3545, 0, x_3491); -lean_ctor_set(x_3545, 1, x_3544); -if (lean_is_scalar(x_3497)) { - x_3546 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3559, 0, x_3556); +lean_ctor_set(x_3559, 1, x_3558); +x_3560 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3560, 0, x_3506); +lean_ctor_set(x_3560, 1, x_3559); +if (lean_is_scalar(x_3512)) { + x_3561 = lean_alloc_ctor(0, 2, 0); } else { - x_3546 = x_3497; + x_3561 = x_3512; } -lean_ctor_set(x_3546, 0, x_3545); -lean_ctor_set(x_3546, 1, x_3496); -return x_3546; +lean_ctor_set(x_3561, 0, x_3560); +lean_ctor_set(x_3561, 1, x_3511); +return x_3561; } } else { -uint8_t x_3547; -lean_dec(x_3324); +uint8_t x_3562; +lean_dec(x_3339); lean_dec(x_14); lean_dec(x_5); -x_3547 = !lean_is_exclusive(x_3331); -if (x_3547 == 0) +x_3562 = !lean_is_exclusive(x_3346); +if (x_3562 == 0) { -return x_3331; +return x_3346; } else { -lean_object* x_3548; lean_object* x_3549; lean_object* x_3550; -x_3548 = lean_ctor_get(x_3331, 0); -x_3549 = lean_ctor_get(x_3331, 1); -lean_inc(x_3549); -lean_inc(x_3548); -lean_dec(x_3331); -x_3550 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3550, 0, x_3548); -lean_ctor_set(x_3550, 1, x_3549); -return x_3550; +lean_object* x_3563; lean_object* x_3564; lean_object* x_3565; +x_3563 = lean_ctor_get(x_3346, 0); +x_3564 = lean_ctor_get(x_3346, 1); +lean_inc(x_3564); +lean_inc(x_3563); +lean_dec(x_3346); +x_3565 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3565, 0, x_3563); +lean_ctor_set(x_3565, 1, x_3564); +return x_3565; } } } } } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_2); +lean_dec(x_2); +x_6 = l_Lean_Elab_Term_mkFreshIdent___at_Lean_Elab_Term_expandFunBinders_loop___spec__1(x_1, x_5, x_3, x_4); +return x_6; +} +} LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_expandFunBinders_loop___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -26900,7 +26938,7 @@ static lean_object* _init_l_Lean_Elab_Term_elabLetDeclAux___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__3; +x_1 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__3; x_2 = l_Lean_stringToMessageData(x_1); return x_2; } @@ -27247,7 +27285,7 @@ x_7 = l_Lean_Elab_Term_expandMatchAltsIntoMatch(x_1, x_6, x_2, x_3, x_4); x_8 = !lean_is_exclusive(x_7); if (x_8 == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; x_9 = lean_ctor_get(x_7, 0); x_10 = lean_unsigned_to_nat(0u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); @@ -27256,54 +27294,56 @@ x_13 = l_Lean_Syntax_getArg(x_1, x_12); x_14 = lean_unsigned_to_nat(2u); x_15 = l_Lean_Syntax_getArg(x_1, x_14); x_16 = l_Lean_Elab_Term_elabLetDeclAux___closed__7; -x_17 = l_Lean_mkAtomFrom(x_1, x_16); -x_18 = l_Lean_Elab_Term_expandSimpleBinderWithType___closed__4; -x_19 = lean_array_push(x_18, x_11); -x_20 = lean_array_push(x_19, x_13); -x_21 = lean_array_push(x_20, x_15); -x_22 = lean_array_push(x_21, x_17); -x_23 = lean_array_push(x_22, x_9); -x_24 = lean_box(2); -x_25 = l_Lean_Elab_Term_expandLetEqnsDecl___closed__2; -x_26 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_23); -lean_ctor_set(x_7, 0, x_26); +x_17 = 0; +x_18 = l_Lean_mkAtomFrom(x_1, x_16, x_17); +x_19 = l_Lean_Elab_Term_expandSimpleBinderWithType___closed__4; +x_20 = lean_array_push(x_19, x_11); +x_21 = lean_array_push(x_20, x_13); +x_22 = lean_array_push(x_21, x_15); +x_23 = lean_array_push(x_22, x_18); +x_24 = lean_array_push(x_23, x_9); +x_25 = lean_box(2); +x_26 = l_Lean_Elab_Term_expandLetEqnsDecl___closed__2; +x_27 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_24); +lean_ctor_set(x_7, 0, x_27); return x_7; } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_27 = lean_ctor_get(x_7, 0); -x_28 = lean_ctor_get(x_7, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_28 = lean_ctor_get(x_7, 0); +x_29 = lean_ctor_get(x_7, 1); +lean_inc(x_29); lean_inc(x_28); -lean_inc(x_27); lean_dec(x_7); -x_29 = lean_unsigned_to_nat(0u); -x_30 = l_Lean_Syntax_getArg(x_1, x_29); -x_31 = lean_unsigned_to_nat(1u); -x_32 = l_Lean_Syntax_getArg(x_1, x_31); -x_33 = lean_unsigned_to_nat(2u); -x_34 = l_Lean_Syntax_getArg(x_1, x_33); -x_35 = l_Lean_Elab_Term_elabLetDeclAux___closed__7; -x_36 = l_Lean_mkAtomFrom(x_1, x_35); -x_37 = l_Lean_Elab_Term_expandSimpleBinderWithType___closed__4; -x_38 = lean_array_push(x_37, x_30); -x_39 = lean_array_push(x_38, x_32); -x_40 = lean_array_push(x_39, x_34); -x_41 = lean_array_push(x_40, x_36); -x_42 = lean_array_push(x_41, x_27); -x_43 = lean_box(2); -x_44 = l_Lean_Elab_Term_expandLetEqnsDecl___closed__2; -x_45 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_42); -x_46 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_28); -return x_46; +x_30 = lean_unsigned_to_nat(0u); +x_31 = l_Lean_Syntax_getArg(x_1, x_30); +x_32 = lean_unsigned_to_nat(1u); +x_33 = l_Lean_Syntax_getArg(x_1, x_32); +x_34 = lean_unsigned_to_nat(2u); +x_35 = l_Lean_Syntax_getArg(x_1, x_34); +x_36 = l_Lean_Elab_Term_elabLetDeclAux___closed__7; +x_37 = 0; +x_38 = l_Lean_mkAtomFrom(x_1, x_36, x_37); +x_39 = l_Lean_Elab_Term_expandSimpleBinderWithType___closed__4; +x_40 = lean_array_push(x_39, x_31); +x_41 = lean_array_push(x_40, x_33); +x_42 = lean_array_push(x_41, x_35); +x_43 = lean_array_push(x_42, x_38); +x_44 = lean_array_push(x_43, x_28); +x_45 = lean_box(2); +x_46 = l_Lean_Elab_Term_expandLetEqnsDecl___closed__2; +x_47 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +lean_ctor_set(x_47, 2, x_44); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_29); +return x_48; } } } @@ -27334,24 +27374,6 @@ x_15 = l_Lean_Elab_Term_withMacroExpansion___rarg(x_2, x_3, x_14, x_4, x_5, x_6, return x_15; } } -static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__1() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("_", 1); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabLetDeclCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, uint8_t x_7, uint8_t x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { _start: { @@ -27667,17 +27689,60 @@ return x_159; } else { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +uint8_t x_160; lean_object* x_161; lean_dec(x_4); lean_dec(x_2); -x_160 = l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__2; -x_161 = l_Lean_mkIdentFrom(x_18, x_160); -lean_inc(x_161); -x_162 = l_Lean_Elab_Term_expandOptType(x_161, x_20); +x_160 = 1; +lean_inc(x_15); +lean_inc(x_14); +x_161 = l_Lean_Elab_Term_mkFreshIdent___at___private_Lean_Elab_Binders_0__Lean_Elab_Term_expandBinderIdent___spec__1(x_18, x_160, x_10, x_11, x_12, x_13, x_14, x_15, x_16); +if (lean_obj_tag(x_161) == 0) +{ +lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; +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_162); +x_164 = l_Lean_Elab_Term_expandOptType(x_162, x_20); lean_dec(x_20); -x_163 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; -x_164 = l_Lean_Elab_Term_elabLetDeclAux(x_161, x_163, x_162, x_22, x_5, x_3, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_164; +x_165 = l___private_Lean_Elab_Binders_0__Lean_Elab_Term_elabBindersAux___rarg___closed__1; +x_166 = l_Lean_Elab_Term_elabLetDeclAux(x_162, x_165, x_164, x_22, x_5, x_3, x_6, x_7, x_8, x_10, x_11, x_12, x_13, x_14, x_15, x_163); +return x_166; +} +else +{ +uint8_t x_167; +lean_dec(x_22); +lean_dec(x_20); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +lean_dec(x_3); +x_167 = !lean_is_exclusive(x_161); +if (x_167 == 0) +{ +return x_161; +} +else +{ +lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_168 = lean_ctor_get(x_161, 0); +x_169 = lean_ctor_get(x_161, 1); +lean_inc(x_169); +lean_inc(x_168); +lean_dec(x_161); +x_170 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_170, 0, x_168); +lean_ctor_set(x_170, 1, x_169); +return x_170; +} +} } } } @@ -28606,7 +28671,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_10280_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_10290_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -28905,17 +28970,17 @@ l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed_ lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__3); l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4 = _init_l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4(); lean_mark_persistent(l___private_Lean_Elab_Binders_0__Lean_Elab_Term_ensureAtomicBinderName___closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__4); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__5(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945____closed__5); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1945_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__4); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__5 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__5(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946____closed__5); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_1946_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_checkBinderAnnotations = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_checkBinderAnnotations); @@ -29329,10 +29394,6 @@ l_Lean_Elab_Term_expandLetEqnsDecl___closed__1 = _init_l_Lean_Elab_Term_expandLe lean_mark_persistent(l_Lean_Elab_Term_expandLetEqnsDecl___closed__1); l_Lean_Elab_Term_expandLetEqnsDecl___closed__2 = _init_l_Lean_Elab_Term_expandLetEqnsDecl___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_expandLetEqnsDecl___closed__2); -l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__1 = _init_l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__1); -l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__2 = _init_l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclCore___lambda__2___closed__2); l_Lean_Elab_Term_elabLetDeclCore___closed__1 = _init_l_Lean_Elab_Term_elabLetDeclCore___closed__1(); lean_mark_persistent(l_Lean_Elab_Term_elabLetDeclCore___closed__1); l_Lean_Elab_Term_elabLetDeclCore___closed__2 = _init_l_Lean_Elab_Term_elabLetDeclCore___closed__2(); @@ -29463,7 +29524,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange___cl res = l___regBuiltin_Lean_Elab_Term_elabLetTmpDecl_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_10280_(lean_io_mk_world()); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Binders___hyg_10290_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/BindersUtil.c b/stage0/stdlib/Lean/Elab/BindersUtil.c index f4f7fdc1a6..0788357133 100644 --- a/stage0/stdlib/Lean/Elab/BindersUtil.c +++ b/stage0/stdlib/Lean/Elab/BindersUtil.c @@ -62,7 +62,7 @@ LEAN_EXPORT lean_object* l_Array_sequenceMap___at_Lean_Elab_Term_expandMatchAlt_ LEAN_EXPORT lean_object* l_Lean_Elab_Term_getMatchAltsNumPatterns(lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_shouldExpandMatchAlt(lean_object*); lean_object* l_Lean_Syntax_getSepArgs(lean_object*); -lean_object* l_Lean_mkHole(lean_object*); +lean_object* l_Lean_mkHole(lean_object*, uint8_t); uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandMatchAlt___closed__6; lean_object* l_Lean_Syntax_getArgs(lean_object*); @@ -106,9 +106,10 @@ return x_7; } else { -lean_object* x_8; -x_8 = l_Lean_mkHole(x_1); -return x_8; +uint8_t x_8; lean_object* x_9; +x_8 = 0; +x_9 = l_Lean_mkHole(x_1, x_8); +return x_9; } } } diff --git a/stage0/stdlib/Lean/Elab/BuiltinCommand.c b/stage0/stdlib/Lean/Elab/BuiltinCommand.c index ad45c183a9..5b4666fd9f 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinCommand.c +++ b/stage0/stdlib/Lean/Elab/BuiltinCommand.c @@ -105,7 +105,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_nestedExceptionToMessageData___at_Lean_Elab LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Command_elabAddDeclDoc___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabOpen_declRange___closed__4; static lean_object* l_Lean_Elab_Command_elabEnd___lambda__1___closed__4; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_toMessageList(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_BuiltinCommand_0__Lean_Elab_Command_replaceBinderAnnotation___spec__8___closed__2; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Command_elabAddDeclDoc___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -12062,25 +12062,27 @@ x_4 = l_Lean_Elab_Command_getRef(x_1, x_2, x_3); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_SourceInfo_fromRef(x_6); -lean_ctor_set(x_4, 0, x_7); +x_7 = 0; +x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7); +lean_ctor_set(x_4, 0, x_8); return x_4; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 1); +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_dec(x_4); -x_10 = l_Lean_SourceInfo_fromRef(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_9, 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); +return x_13; } } } diff --git a/stage0/stdlib/Lean/Elab/BuiltinNotation.c b/stage0/stdlib/Lean/Elab/BuiltinNotation.c index 7d949fda20..be9f18e95d 100644 --- a/stage0/stdlib/Lean/Elab/BuiltinNotation.c +++ b/stage0/stdlib/Lean/Elab/BuiltinNotation.c @@ -17,7 +17,7 @@ lean_object* l_List_reverse___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__10(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__9; -lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_isSubstCandidate___spec__11(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__27; LEAN_EXPORT uint8_t l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___lambda__1(lean_object*); @@ -57,7 +57,7 @@ static lean_object* l_Lean_Elab_Term_expandShow___closed__18; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabCDotFunctionAlias_x3f___closed__1; static lean_object* l_Lean_Elab_Term_expandShow___closed__12; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_expandHave___closed__2; static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__4; static lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__36; @@ -89,7 +89,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term static lean_object* l___regBuiltin_Lean_Elab_Term_expandShow_declRange___closed__7; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__2; static lean_object* l_Lean_Elab_Term_elabAnonymousCtor___closed__1; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_Meta_mkAppM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabParen(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabPanic___closed__15; @@ -145,7 +145,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_elabCDotFunc static lean_object* l_Lean_Elab_Term_expandDbgTrace___closed__13; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_isEqvAux___at_Lean_Elab_Term_elabCDotFunctionAlias_x3f___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Term_elabParen_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Term_expandAssert___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_elabCoe___closed__12; @@ -753,7 +753,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Term_elabPanic___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_elabBorrowed___closed__2; static lean_object* l_Lean_Elab_Term_expandAssert___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_expandUnreachable(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_expandDbgTrace___closed__3; @@ -2167,7 +2167,7 @@ x_18 = lean_unsigned_to_nat(0u); x_19 = lean_nat_dec_eq(x_4, x_18); if (x_19 == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_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_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; size_t x_32; size_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_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; uint8_t x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; x_20 = lean_unsigned_to_nat(1u); x_21 = lean_nat_sub(x_4, x_20); lean_dec(x_4); @@ -2236,119 +2236,121 @@ lean_inc(x_55); lean_dec(x_54); x_56 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9; x_57 = l_Lean_Name_str___override(x_6, x_56); +x_58 = 1; lean_inc(x_2); -x_58 = l_Lean_mkCIdentFrom(x_2, x_7); -x_59 = l_Array_append___rarg(x_37, x_50); +x_59 = l_Lean_mkCIdentFrom(x_2, x_7, x_58); +x_60 = l_Array_append___rarg(x_37, x_50); lean_inc(x_52); -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_52); -lean_ctor_set(x_60, 1, x_39); -lean_ctor_set(x_60, 2, x_59); -x_61 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_62 = lean_array_push(x_61, x_58); -x_63 = lean_array_push(x_62, x_60); -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_52); -lean_ctor_set(x_64, 1, x_57); -lean_ctor_set(x_64, 2, x_63); -x_65 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_1, x_2, x_64, x_9, x_10, x_11, x_12, x_13, x_14, x_55); -return x_65; +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_52); +lean_ctor_set(x_61, 1, x_39); +lean_ctor_set(x_61, 2, x_60); +x_62 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_63 = lean_array_push(x_62, x_59); +x_64 = lean_array_push(x_63, x_61); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_52); +lean_ctor_set(x_65, 1, x_57); +lean_ctor_set(x_65, 2, x_64); +x_66 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_1, x_2, x_65, x_9, x_10, x_11, x_12, x_13, x_14, x_55); +return x_66; } else { -lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +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; uint8_t x_79; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_66 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_66, 0, x_7); -x_67 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12; -x_68 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_68, 0, x_67); -lean_ctor_set(x_68, 1, x_66); -x_69 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Nat_repr(x_16); -x_72 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_73 = lean_alloc_ctor(0, 1, 0); +x_67 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_67, 0, x_7); +x_68 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__12; +x_69 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_69, 0, x_68); +lean_ctor_set(x_69, 1, x_67); +x_70 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__14; +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +x_72 = l_Nat_repr(x_16); +x_73 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_73, 0, x_72); -x_74 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_74, 0, x_70); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; -x_76 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -x_77 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6(x_76, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +x_74 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_75 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_75, 0, x_71); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__16; +x_77 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_throwError___at_Lean_Elab_Term_elabAnonymousCtor___spec__6(x_77, x_9, x_10, x_11, x_12, x_13, x_14, x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -x_78 = !lean_is_exclusive(x_77); -if (x_78 == 0) +x_79 = !lean_is_exclusive(x_78); +if (x_79 == 0) { -return x_77; +return x_78; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_77, 0); -x_80 = lean_ctor_get(x_77, 1); +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_78, 0); +x_81 = lean_ctor_get(x_78, 1); +lean_inc(x_81); lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_77); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); -return x_81; +lean_dec(x_78); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; } } } else { -lean_object* x_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_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; uint8_t x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_dec(x_16); lean_dec(x_5); lean_dec(x_4); lean_inc(x_13); -x_82 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_13, x_14, x_15); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -x_84 = lean_ctor_get(x_82, 1); +x_83 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_13, x_14, x_15); +x_84 = lean_ctor_get(x_83, 0); lean_inc(x_84); -lean_dec(x_82); -x_85 = lean_st_ref_get(x_14, x_84); -x_86 = lean_ctor_get(x_85, 1); -lean_inc(x_86); -lean_dec(x_85); -x_87 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9; -x_88 = l_Lean_Name_str___override(x_6, x_87); +x_85 = lean_ctor_get(x_83, 1); +lean_inc(x_85); +lean_dec(x_83); +x_86 = lean_st_ref_get(x_14, x_85); +x_87 = lean_ctor_get(x_86, 1); +lean_inc(x_87); +lean_dec(x_86); +x_88 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__9; +x_89 = l_Lean_Name_str___override(x_6, x_88); +x_90 = 1; lean_inc(x_2); -x_89 = l_Lean_mkCIdentFrom(x_2, x_7); -x_90 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -x_91 = l_Array_append___rarg(x_90, x_3); -x_92 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -lean_inc(x_83); -x_93 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_93, 0, x_83); -lean_ctor_set(x_93, 1, x_92); -lean_ctor_set(x_93, 2, x_91); -x_94 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_95 = lean_array_push(x_94, x_89); -x_96 = lean_array_push(x_95, x_93); -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_83); -lean_ctor_set(x_97, 1, x_88); -lean_ctor_set(x_97, 2, x_96); -x_98 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_1, x_2, x_97, x_9, x_10, x_11, x_12, x_13, x_14, x_86); -return x_98; +x_91 = l_Lean_mkCIdentFrom(x_2, x_7, x_90); +x_92 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +x_93 = l_Array_append___rarg(x_92, x_3); +x_94 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +lean_inc(x_84); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_84); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_95, 2, x_93); +x_96 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_97 = lean_array_push(x_96, x_91); +x_98 = lean_array_push(x_97, x_95); +x_99 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_99, 0, x_84); +lean_ctor_set(x_99, 1, x_89); +lean_ctor_set(x_99, 2, x_98); +x_100 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__2(x_1, x_2, x_99, x_9, x_10, x_11, x_12, x_13, x_14, x_87); +return x_100; } } } @@ -3854,7 +3856,7 @@ x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRul x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; 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_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; x_23 = lean_ctor_get(x_21, 0); x_24 = l_Lean_Elab_Term_expandShow___closed__1; lean_inc(x_23); @@ -3866,266 +3868,269 @@ lean_inc(x_23); x_27 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_27, 0, x_23); lean_ctor_set(x_27, 1, x_26); -x_28 = l_Lean_SourceInfo_fromRef(x_19); -x_29 = l_Lean_Elab_Term_expandShow___closed__10; -x_30 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_30, 0, x_28); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_32 = lean_array_push(x_31, x_30); -x_33 = lean_array_push(x_32, x_20); -x_34 = l_Lean_Elab_Term_expandShow___closed__9; +x_28 = 0; +x_29 = l_Lean_SourceInfo_fromRef(x_19, x_28); +x_30 = l_Lean_Elab_Term_expandShow___closed__10; +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_33 = lean_array_push(x_32, x_31); +x_34 = lean_array_push(x_33, x_20); +x_35 = l_Lean_Elab_Term_expandShow___closed__9; lean_inc(x_23); -x_35 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_35, 0, x_23); -lean_ctor_set(x_35, 1, x_34); -lean_ctor_set(x_35, 2, x_33); -x_36 = lean_array_push(x_31, x_27); -x_37 = lean_array_push(x_36, x_35); +x_36 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_36, 0, x_23); +lean_ctor_set(x_36, 1, x_35); +lean_ctor_set(x_36, 2, x_34); +x_37 = lean_array_push(x_32, x_27); +x_38 = lean_array_push(x_37, x_36); lean_inc(x_23); -x_38 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_38, 0, x_23); -lean_ctor_set(x_38, 1, x_12); -lean_ctor_set(x_38, 2, x_37); -x_39 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; -x_40 = lean_array_push(x_39, x_25); -x_41 = lean_array_push(x_40, x_9); -x_42 = lean_array_push(x_41, x_38); -x_43 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_43, 0, x_23); -lean_ctor_set(x_43, 1, x_4); -lean_ctor_set(x_43, 2, x_42); -lean_ctor_set(x_21, 0, x_43); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_23); +lean_ctor_set(x_39, 1, x_12); +lean_ctor_set(x_39, 2, x_38); +x_40 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; +x_41 = lean_array_push(x_40, x_25); +x_42 = lean_array_push(x_41, x_9); +x_43 = lean_array_push(x_42, x_39); +x_44 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_44, 0, x_23); +lean_ctor_set(x_44, 1, x_4); +lean_ctor_set(x_44, 2, x_43); +lean_ctor_set(x_21, 0, x_44); return x_21; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_44 = lean_ctor_get(x_21, 0); -x_45 = lean_ctor_get(x_21, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; uint8_t x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_45 = lean_ctor_get(x_21, 0); +x_46 = lean_ctor_get(x_21, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); lean_dec(x_21); -x_46 = l_Lean_Elab_Term_expandShow___closed__1; -lean_inc(x_44); -x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Term_expandShow___closed__7; -lean_inc(x_44); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_44); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_SourceInfo_fromRef(x_19); -x_51 = l_Lean_Elab_Term_expandShow___closed__10; -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -x_53 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_54 = lean_array_push(x_53, x_52); -x_55 = lean_array_push(x_54, x_20); -x_56 = l_Lean_Elab_Term_expandShow___closed__9; -lean_inc(x_44); -x_57 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_57, 0, x_44); -lean_ctor_set(x_57, 1, x_56); -lean_ctor_set(x_57, 2, x_55); -x_58 = lean_array_push(x_53, x_49); -x_59 = lean_array_push(x_58, x_57); -lean_inc(x_44); -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_44); -lean_ctor_set(x_60, 1, x_12); -lean_ctor_set(x_60, 2, x_59); -x_61 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; -x_62 = lean_array_push(x_61, x_47); -x_63 = lean_array_push(x_62, x_9); -x_64 = lean_array_push(x_63, x_60); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_44); -lean_ctor_set(x_65, 1, x_4); -lean_ctor_set(x_65, 2, x_64); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_45); -return x_66; +x_47 = l_Lean_Elab_Term_expandShow___closed__1; +lean_inc(x_45); +x_48 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_47); +x_49 = l_Lean_Elab_Term_expandShow___closed__7; +lean_inc(x_45); +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_45); +lean_ctor_set(x_50, 1, x_49); +x_51 = 0; +x_52 = l_Lean_SourceInfo_fromRef(x_19, x_51); +x_53 = l_Lean_Elab_Term_expandShow___closed__10; +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_56 = lean_array_push(x_55, x_54); +x_57 = lean_array_push(x_56, x_20); +x_58 = l_Lean_Elab_Term_expandShow___closed__9; +lean_inc(x_45); +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_45); +lean_ctor_set(x_59, 1, x_58); +lean_ctor_set(x_59, 2, x_57); +x_60 = lean_array_push(x_55, x_50); +x_61 = lean_array_push(x_60, x_59); +lean_inc(x_45); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_45); +lean_ctor_set(x_62, 1, x_12); +lean_ctor_set(x_62, 2, x_61); +x_63 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; +x_64 = lean_array_push(x_63, x_48); +x_65 = lean_array_push(x_64, x_9); +x_66 = lean_array_push(x_65, x_62); +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_45); +lean_ctor_set(x_67, 1, x_4); +lean_ctor_set(x_67, 2, x_66); +x_68 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_68, 0, x_67); +lean_ctor_set(x_68, 1, x_46); +return x_68; } } } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; -x_67 = l_Lean_Syntax_getArg(x_11, x_8); +lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; uint8_t x_74; +x_69 = l_Lean_Syntax_getArg(x_11, x_8); lean_dec(x_11); -x_68 = l_Lean_Elab_Term_expandShow___closed__12; -x_69 = l_Lean_mkIdentFrom(x_1, x_68); -x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); -x_71 = !lean_is_exclusive(x_70); -if (x_71 == 0) +x_70 = l_Lean_Elab_Term_expandShow___closed__12; +x_71 = 0; +x_72 = l_Lean_mkIdentFrom(x_1, x_70, x_71); +x_73 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_74 = !lean_is_exclusive(x_73); +if (x_74 == 0) { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; 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_72 = lean_ctor_get(x_70, 0); -x_73 = l_Lean_Elab_Term_expandShow___closed__13; -lean_inc(x_72); -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_72); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_72); -x_77 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_77, 0, x_72); -lean_ctor_set(x_77, 1, x_75); -lean_ctor_set(x_77, 2, x_76); -x_78 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_72); -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_72); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_81 = lean_array_push(x_80, x_79); -x_82 = lean_array_push(x_81, x_9); -x_83 = l_Lean_Elab_Term_expandShow___closed__20; -lean_inc(x_72); -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_72); -lean_ctor_set(x_84, 1, x_83); -lean_ctor_set(x_84, 2, x_82); -x_85 = l_Lean_Elab_Term_expandShow___closed__22; -x_86 = lean_array_push(x_85, x_84); -lean_inc(x_72); +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_75 = lean_ctor_get(x_73, 0); +x_76 = l_Lean_Elab_Term_expandShow___closed__13; +lean_inc(x_75); +x_77 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_77, 0, x_75); +lean_ctor_set(x_77, 1, x_76); +x_78 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_75); +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_75); +lean_ctor_set(x_80, 1, x_78); +lean_ctor_set(x_80, 2, x_79); +x_81 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_75); +x_82 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_82, 0, x_75); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_84 = lean_array_push(x_83, x_82); +x_85 = lean_array_push(x_84, x_9); +x_86 = l_Lean_Elab_Term_expandShow___closed__20; +lean_inc(x_75); x_87 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_87, 0, x_72); -lean_ctor_set(x_87, 1, x_75); -lean_ctor_set(x_87, 2, x_86); -x_88 = l_Lean_Elab_Term_expandShow___closed__23; -lean_inc(x_72); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_72); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_Elab_Term_expandShow___closed__24; -lean_inc(x_69); -x_91 = lean_array_push(x_90, x_69); -x_92 = lean_array_push(x_91, x_77); -x_93 = lean_array_push(x_92, x_87); -x_94 = lean_array_push(x_93, x_89); -x_95 = lean_array_push(x_94, x_67); -x_96 = l_Lean_Elab_Term_expandShow___closed__18; -lean_inc(x_72); -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_72); -lean_ctor_set(x_97, 1, x_96); -lean_ctor_set(x_97, 2, x_95); -x_98 = lean_array_push(x_85, x_97); -x_99 = l_Lean_Elab_Term_expandShow___closed__16; +lean_ctor_set(x_87, 0, x_75); +lean_ctor_set(x_87, 1, x_86); +lean_ctor_set(x_87, 2, x_85); +x_88 = l_Lean_Elab_Term_expandShow___closed__22; +x_89 = lean_array_push(x_88, x_87); +lean_inc(x_75); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_75); +lean_ctor_set(x_90, 1, x_78); +lean_ctor_set(x_90, 2, x_89); +x_91 = l_Lean_Elab_Term_expandShow___closed__23; +lean_inc(x_75); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_75); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Term_expandShow___closed__24; lean_inc(x_72); +x_94 = lean_array_push(x_93, x_72); +x_95 = lean_array_push(x_94, x_80); +x_96 = lean_array_push(x_95, x_90); +x_97 = lean_array_push(x_96, x_92); +x_98 = lean_array_push(x_97, x_69); +x_99 = l_Lean_Elab_Term_expandShow___closed__18; +lean_inc(x_75); x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_72); +lean_ctor_set(x_100, 0, x_75); lean_ctor_set(x_100, 1, x_99); lean_ctor_set(x_100, 2, x_98); -x_101 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_72); -x_102 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_102, 0, x_72); -lean_ctor_set(x_102, 1, x_101); -x_103 = l_Lean_Elab_Term_expandShow___closed__26; -x_104 = lean_array_push(x_103, x_74); -x_105 = lean_array_push(x_104, x_100); -x_106 = lean_array_push(x_105, x_102); -x_107 = lean_array_push(x_106, x_69); -x_108 = l_Lean_Elab_Term_expandShow___closed__14; -x_109 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_109, 0, x_72); -lean_ctor_set(x_109, 1, x_108); -lean_ctor_set(x_109, 2, x_107); -lean_ctor_set(x_70, 0, x_109); -return x_70; +x_101 = lean_array_push(x_88, x_100); +x_102 = l_Lean_Elab_Term_expandShow___closed__16; +lean_inc(x_75); +x_103 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_103, 0, x_75); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_103, 2, x_101); +x_104 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_75); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_75); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_Elab_Term_expandShow___closed__26; +x_107 = lean_array_push(x_106, x_77); +x_108 = lean_array_push(x_107, x_103); +x_109 = lean_array_push(x_108, x_105); +x_110 = lean_array_push(x_109, x_72); +x_111 = l_Lean_Elab_Term_expandShow___closed__14; +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_75); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_112, 2, x_110); +lean_ctor_set(x_73, 0, x_112); +return x_73; } else { -lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_110 = lean_ctor_get(x_70, 0); -x_111 = lean_ctor_get(x_70, 1); -lean_inc(x_111); -lean_inc(x_110); -lean_dec(x_70); -x_112 = l_Lean_Elab_Term_expandShow___closed__13; -lean_inc(x_110); -x_113 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_113, 0, x_110); -lean_ctor_set(x_113, 1, x_112); -x_114 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -x_115 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_110); -x_116 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_116, 0, x_110); -lean_ctor_set(x_116, 1, x_114); -lean_ctor_set(x_116, 2, x_115); -x_117 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_110); -x_118 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_118, 0, x_110); -lean_ctor_set(x_118, 1, x_117); -x_119 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_120 = lean_array_push(x_119, x_118); -x_121 = lean_array_push(x_120, x_9); -x_122 = l_Lean_Elab_Term_expandShow___closed__20; -lean_inc(x_110); -x_123 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_123, 0, x_110); -lean_ctor_set(x_123, 1, x_122); -lean_ctor_set(x_123, 2, x_121); -x_124 = l_Lean_Elab_Term_expandShow___closed__22; -x_125 = lean_array_push(x_124, x_123); -lean_inc(x_110); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; +x_113 = lean_ctor_get(x_73, 0); +x_114 = lean_ctor_get(x_73, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_73); +x_115 = l_Lean_Elab_Term_expandShow___closed__13; +lean_inc(x_113); +x_116 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_116, 0, x_113); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +x_118 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_113); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_113); +lean_ctor_set(x_119, 1, x_117); +lean_ctor_set(x_119, 2, x_118); +x_120 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_113); +x_121 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_121, 0, x_113); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_123 = lean_array_push(x_122, x_121); +x_124 = lean_array_push(x_123, x_9); +x_125 = l_Lean_Elab_Term_expandShow___closed__20; +lean_inc(x_113); x_126 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_126, 0, x_110); -lean_ctor_set(x_126, 1, x_114); -lean_ctor_set(x_126, 2, x_125); -x_127 = l_Lean_Elab_Term_expandShow___closed__23; -lean_inc(x_110); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_110); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_Elab_Term_expandShow___closed__24; -lean_inc(x_69); -x_130 = lean_array_push(x_129, x_69); -x_131 = lean_array_push(x_130, x_116); -x_132 = lean_array_push(x_131, x_126); -x_133 = lean_array_push(x_132, x_128); -x_134 = lean_array_push(x_133, x_67); -x_135 = l_Lean_Elab_Term_expandShow___closed__18; -lean_inc(x_110); -x_136 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_136, 0, x_110); -lean_ctor_set(x_136, 1, x_135); -lean_ctor_set(x_136, 2, x_134); -x_137 = lean_array_push(x_124, x_136); -x_138 = l_Lean_Elab_Term_expandShow___closed__16; -lean_inc(x_110); +lean_ctor_set(x_126, 0, x_113); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_126, 2, x_124); +x_127 = l_Lean_Elab_Term_expandShow___closed__22; +x_128 = lean_array_push(x_127, x_126); +lean_inc(x_113); +x_129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_129, 0, x_113); +lean_ctor_set(x_129, 1, x_117); +lean_ctor_set(x_129, 2, x_128); +x_130 = l_Lean_Elab_Term_expandShow___closed__23; +lean_inc(x_113); +x_131 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_131, 0, x_113); +lean_ctor_set(x_131, 1, x_130); +x_132 = l_Lean_Elab_Term_expandShow___closed__24; +lean_inc(x_72); +x_133 = lean_array_push(x_132, x_72); +x_134 = lean_array_push(x_133, x_119); +x_135 = lean_array_push(x_134, x_129); +x_136 = lean_array_push(x_135, x_131); +x_137 = lean_array_push(x_136, x_69); +x_138 = l_Lean_Elab_Term_expandShow___closed__18; +lean_inc(x_113); x_139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_139, 0, x_110); +lean_ctor_set(x_139, 0, x_113); lean_ctor_set(x_139, 1, x_138); lean_ctor_set(x_139, 2, x_137); -x_140 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_110); -x_141 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_141, 0, x_110); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_Elab_Term_expandShow___closed__26; -x_143 = lean_array_push(x_142, x_113); -x_144 = lean_array_push(x_143, x_139); -x_145 = lean_array_push(x_144, x_141); -x_146 = lean_array_push(x_145, x_69); -x_147 = l_Lean_Elab_Term_expandShow___closed__14; -x_148 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_148, 0, x_110); -lean_ctor_set(x_148, 1, x_147); -lean_ctor_set(x_148, 2, x_146); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_148); -lean_ctor_set(x_149, 1, x_111); -return x_149; +x_140 = lean_array_push(x_127, x_139); +x_141 = l_Lean_Elab_Term_expandShow___closed__16; +lean_inc(x_113); +x_142 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_142, 0, x_113); +lean_ctor_set(x_142, 1, x_141); +lean_ctor_set(x_142, 2, x_140); +x_143 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_113); +x_144 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_144, 0, x_113); +lean_ctor_set(x_144, 1, x_143); +x_145 = l_Lean_Elab_Term_expandShow___closed__26; +x_146 = lean_array_push(x_145, x_116); +x_147 = lean_array_push(x_146, x_142); +x_148 = lean_array_push(x_147, x_144); +x_149 = lean_array_push(x_148, x_72); +x_150 = l_Lean_Elab_Term_expandShow___closed__14; +x_151 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_151, 0, x_113); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_149); +x_152 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_152, 0, x_151); +lean_ctor_set(x_152, 1, x_114); +return x_152; } } } @@ -4612,248 +4617,254 @@ x_21 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRul x_22 = !lean_is_exclusive(x_21); if (x_22 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; x_23 = lean_ctor_get(x_21, 0); x_24 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; lean_inc(x_23); x_25 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_25, 0, x_23); lean_ctor_set(x_25, 1, x_24); -x_26 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -x_27 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +x_26 = l_Lean_Elab_Term_expandShow___closed__12; +x_27 = 1; +x_28 = l_Lean_mkIdentFrom(x_4, x_26, x_27); +x_29 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +x_30 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; lean_inc(x_23); -x_28 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_28, 0, x_23); -lean_ctor_set(x_28, 1, x_26); -lean_ctor_set(x_28, 2, x_27); -x_29 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_30 = lean_array_push(x_29, x_4); -x_31 = lean_array_push(x_30, x_28); +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_23); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_30); +x_32 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_33 = lean_array_push(x_32, x_28); +x_34 = lean_array_push(x_33, x_31); lean_inc(x_23); -x_32 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_26); -lean_ctor_set(x_32, 2, x_31); -x_33 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; -x_34 = lean_array_push(x_33, x_32); -x_35 = l_Lean_Elab_Term_expandShow___closed__25; +x_35 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_35, 0, x_23); +lean_ctor_set(x_35, 1, x_29); +lean_ctor_set(x_35, 2, x_34); +x_36 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; +x_37 = lean_array_push(x_36, x_35); +x_38 = l_Lean_Elab_Term_expandShow___closed__25; lean_inc(x_23); -x_36 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_36, 0, x_23); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Lean_Elab_Term_expandShow___closed__26; -x_38 = lean_array_push(x_37, x_25); +x_39 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_39, 0, x_23); +lean_ctor_set(x_39, 1, x_38); +x_40 = l_Lean_Elab_Term_expandShow___closed__26; +x_41 = lean_array_push(x_40, x_25); if (lean_obj_tag(x_9) == 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; lean_object* x_49; lean_object* x_50; +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_dec(x_2); -x_39 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; -lean_inc(x_23); -x_40 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_40, 0, x_23); -lean_ctor_set(x_40, 1, x_26); -lean_ctor_set(x_40, 2, x_39); -x_41 = lean_array_push(x_34, x_40); -x_42 = lean_array_push(x_41, x_13); +x_42 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; lean_inc(x_23); x_43 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_43, 0, x_23); -lean_ctor_set(x_43, 1, x_5); +lean_ctor_set(x_43, 1, x_29); lean_ctor_set(x_43, 2, x_42); -x_44 = l_Lean_Elab_Term_expandShow___closed__22; -x_45 = lean_array_push(x_44, x_43); +x_44 = lean_array_push(x_37, x_43); +x_45 = lean_array_push(x_44, x_13); lean_inc(x_23); x_46 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_46, 0, x_23); -lean_ctor_set(x_46, 1, x_6); +lean_ctor_set(x_46, 1, x_5); lean_ctor_set(x_46, 2, x_45); -x_47 = lean_array_push(x_38, x_46); -x_48 = lean_array_push(x_47, x_36); -x_49 = lean_array_push(x_48, x_20); -x_50 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_50, 0, x_23); -lean_ctor_set(x_50, 1, x_7); -lean_ctor_set(x_50, 2, x_49); -lean_ctor_set(x_21, 0, x_50); +x_47 = l_Lean_Elab_Term_expandShow___closed__22; +x_48 = lean_array_push(x_47, x_46); +lean_inc(x_23); +x_49 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_49, 0, x_23); +lean_ctor_set(x_49, 1, x_6); +lean_ctor_set(x_49, 2, x_48); +x_50 = lean_array_push(x_41, x_49); +x_51 = lean_array_push(x_50, x_39); +x_52 = lean_array_push(x_51, x_20); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_23); +lean_ctor_set(x_53, 1, x_7); +lean_ctor_set(x_53, 2, x_52); +lean_ctor_set(x_21, 0, x_53); return x_21; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_51 = lean_ctor_get(x_9, 0); -lean_inc(x_51); +lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_54 = lean_ctor_get(x_9, 0); +lean_inc(x_54); lean_dec(x_9); -x_52 = l_Lean_Elab_Term_expandShow___closed__19; -x_53 = l_Lean_Name_str___override(x_2, x_52); -x_54 = l_Lean_Elab_Term_expandShow___closed__21; +x_55 = l_Lean_Elab_Term_expandShow___closed__19; +x_56 = l_Lean_Name_str___override(x_2, x_55); +x_57 = l_Lean_Elab_Term_expandShow___closed__21; lean_inc(x_23); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_23); -lean_ctor_set(x_55, 1, x_54); -x_56 = lean_array_push(x_29, x_55); -x_57 = lean_array_push(x_56, x_51); -lean_inc(x_23); -x_58 = lean_alloc_ctor(1, 3, 0); +x_58 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_58, 0, x_23); -lean_ctor_set(x_58, 1, x_53); -lean_ctor_set(x_58, 2, x_57); -x_59 = l_Lean_Elab_Term_expandShow___closed__22; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_Array_append___rarg(x_27, x_60); +lean_ctor_set(x_58, 1, x_57); +x_59 = lean_array_push(x_32, x_58); +x_60 = lean_array_push(x_59, x_54); lean_inc(x_23); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_23); -lean_ctor_set(x_62, 1, x_26); -lean_ctor_set(x_62, 2, x_61); -x_63 = lean_array_push(x_34, x_62); -x_64 = lean_array_push(x_63, x_13); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_23); +lean_ctor_set(x_61, 1, x_56); +lean_ctor_set(x_61, 2, x_60); +x_62 = l_Lean_Elab_Term_expandShow___closed__22; +x_63 = lean_array_push(x_62, x_61); +x_64 = l_Array_append___rarg(x_30, x_63); lean_inc(x_23); x_65 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_65, 0, x_23); -lean_ctor_set(x_65, 1, x_5); +lean_ctor_set(x_65, 1, x_29); lean_ctor_set(x_65, 2, x_64); -x_66 = lean_array_push(x_59, x_65); +x_66 = lean_array_push(x_37, x_65); +x_67 = lean_array_push(x_66, x_13); lean_inc(x_23); -x_67 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_67, 0, x_23); -lean_ctor_set(x_67, 1, x_6); -lean_ctor_set(x_67, 2, x_66); -x_68 = lean_array_push(x_38, x_67); -x_69 = lean_array_push(x_68, x_36); -x_70 = lean_array_push(x_69, x_20); -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_23); -lean_ctor_set(x_71, 1, x_7); -lean_ctor_set(x_71, 2, x_70); -lean_ctor_set(x_21, 0, x_71); +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_23); +lean_ctor_set(x_68, 1, x_5); +lean_ctor_set(x_68, 2, x_67); +x_69 = lean_array_push(x_62, x_68); +lean_inc(x_23); +x_70 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_70, 0, x_23); +lean_ctor_set(x_70, 1, x_6); +lean_ctor_set(x_70, 2, x_69); +x_71 = lean_array_push(x_41, x_70); +x_72 = lean_array_push(x_71, x_39); +x_73 = lean_array_push(x_72, x_20); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_23); +lean_ctor_set(x_74, 1, x_7); +lean_ctor_set(x_74, 2, x_73); +lean_ctor_set(x_21, 0, x_74); return x_21; } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; 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; -x_72 = lean_ctor_get(x_21, 0); -x_73 = lean_ctor_get(x_21, 1); -lean_inc(x_73); -lean_inc(x_72); +lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_75 = lean_ctor_get(x_21, 0); +x_76 = lean_ctor_get(x_21, 1); +lean_inc(x_76); +lean_inc(x_75); lean_dec(x_21); -x_74 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; -lean_inc(x_72); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_72); -lean_ctor_set(x_75, 1, x_74); -x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -x_77 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_72); -x_78 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_78, 0, x_72); -lean_ctor_set(x_78, 1, x_76); -lean_ctor_set(x_78, 2, x_77); -x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_80 = lean_array_push(x_79, x_4); -x_81 = lean_array_push(x_80, x_78); -lean_inc(x_72); -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_72); -lean_ctor_set(x_82, 1, x_76); -lean_ctor_set(x_82, 2, x_81); -x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; -x_84 = lean_array_push(x_83, x_82); -x_85 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_72); -x_86 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_86, 0, x_72); -lean_ctor_set(x_86, 1, x_85); -x_87 = l_Lean_Elab_Term_expandShow___closed__26; -x_88 = lean_array_push(x_87, x_75); +x_77 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; +lean_inc(x_75); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_75); +lean_ctor_set(x_78, 1, x_77); +x_79 = l_Lean_Elab_Term_expandShow___closed__12; +x_80 = 1; +x_81 = l_Lean_mkIdentFrom(x_4, x_79, x_80); +x_82 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_75); +x_84 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_84, 0, x_75); +lean_ctor_set(x_84, 1, x_82); +lean_ctor_set(x_84, 2, x_83); +x_85 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_86 = lean_array_push(x_85, x_81); +x_87 = lean_array_push(x_86, x_84); +lean_inc(x_75); +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_75); +lean_ctor_set(x_88, 1, x_82); +lean_ctor_set(x_88, 2, x_87); +x_89 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__8; +x_90 = lean_array_push(x_89, x_88); +x_91 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_75); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_75); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Elab_Term_expandShow___closed__26; +x_94 = lean_array_push(x_93, x_78); if (lean_obj_tag(x_9) == 0) { -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_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_dec(x_2); -x_89 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; -lean_inc(x_72); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_72); -lean_ctor_set(x_90, 1, x_76); -lean_ctor_set(x_90, 2, x_89); -x_91 = lean_array_push(x_84, x_90); -x_92 = lean_array_push(x_91, x_13); -lean_inc(x_72); -x_93 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_93, 0, x_72); -lean_ctor_set(x_93, 1, x_5); -lean_ctor_set(x_93, 2, x_92); -x_94 = l_Lean_Elab_Term_expandShow___closed__22; -x_95 = lean_array_push(x_94, x_93); -lean_inc(x_72); +x_95 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; +lean_inc(x_75); x_96 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_96, 0, x_72); -lean_ctor_set(x_96, 1, x_6); +lean_ctor_set(x_96, 0, x_75); +lean_ctor_set(x_96, 1, x_82); lean_ctor_set(x_96, 2, x_95); -x_97 = lean_array_push(x_88, x_96); -x_98 = lean_array_push(x_97, x_86); -x_99 = lean_array_push(x_98, x_20); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_72); -lean_ctor_set(x_100, 1, x_7); -lean_ctor_set(x_100, 2, x_99); -x_101 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_101, 0, x_100); -lean_ctor_set(x_101, 1, x_73); -return x_101; +x_97 = lean_array_push(x_90, x_96); +x_98 = lean_array_push(x_97, x_13); +lean_inc(x_75); +x_99 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_99, 0, x_75); +lean_ctor_set(x_99, 1, x_5); +lean_ctor_set(x_99, 2, x_98); +x_100 = l_Lean_Elab_Term_expandShow___closed__22; +x_101 = lean_array_push(x_100, x_99); +lean_inc(x_75); +x_102 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_102, 0, x_75); +lean_ctor_set(x_102, 1, x_6); +lean_ctor_set(x_102, 2, x_101); +x_103 = lean_array_push(x_94, x_102); +x_104 = lean_array_push(x_103, x_92); +x_105 = lean_array_push(x_104, x_20); +x_106 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_106, 0, x_75); +lean_ctor_set(x_106, 1, x_7); +lean_ctor_set(x_106, 2, x_105); +x_107 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_107, 0, x_106); +lean_ctor_set(x_107, 1, x_76); +return x_107; } else { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_102 = lean_ctor_get(x_9, 0); -lean_inc(x_102); +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_108 = lean_ctor_get(x_9, 0); +lean_inc(x_108); lean_dec(x_9); -x_103 = l_Lean_Elab_Term_expandShow___closed__19; -x_104 = l_Lean_Name_str___override(x_2, x_103); -x_105 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_72); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_72); -lean_ctor_set(x_106, 1, x_105); -x_107 = lean_array_push(x_79, x_106); -x_108 = lean_array_push(x_107, x_102); -lean_inc(x_72); -x_109 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_109, 0, x_72); -lean_ctor_set(x_109, 1, x_104); -lean_ctor_set(x_109, 2, x_108); -x_110 = l_Lean_Elab_Term_expandShow___closed__22; -x_111 = lean_array_push(x_110, x_109); -x_112 = l_Array_append___rarg(x_77, x_111); -lean_inc(x_72); -x_113 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_113, 0, x_72); -lean_ctor_set(x_113, 1, x_76); -lean_ctor_set(x_113, 2, x_112); -x_114 = lean_array_push(x_84, x_113); -x_115 = lean_array_push(x_114, x_13); -lean_inc(x_72); -x_116 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_116, 0, x_72); -lean_ctor_set(x_116, 1, x_5); -lean_ctor_set(x_116, 2, x_115); -x_117 = lean_array_push(x_110, x_116); -lean_inc(x_72); -x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_72); -lean_ctor_set(x_118, 1, x_6); -lean_ctor_set(x_118, 2, x_117); -x_119 = lean_array_push(x_88, x_118); -x_120 = lean_array_push(x_119, x_86); -x_121 = lean_array_push(x_120, x_20); +x_109 = l_Lean_Elab_Term_expandShow___closed__19; +x_110 = l_Lean_Name_str___override(x_2, x_109); +x_111 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_75); +x_112 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_112, 0, x_75); +lean_ctor_set(x_112, 1, x_111); +x_113 = lean_array_push(x_85, x_112); +x_114 = lean_array_push(x_113, x_108); +lean_inc(x_75); +x_115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_115, 0, x_75); +lean_ctor_set(x_115, 1, x_110); +lean_ctor_set(x_115, 2, x_114); +x_116 = l_Lean_Elab_Term_expandShow___closed__22; +x_117 = lean_array_push(x_116, x_115); +x_118 = l_Array_append___rarg(x_83, x_117); +lean_inc(x_75); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_75); +lean_ctor_set(x_119, 1, x_82); +lean_ctor_set(x_119, 2, x_118); +x_120 = lean_array_push(x_90, x_119); +x_121 = lean_array_push(x_120, x_13); +lean_inc(x_75); x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_72); -lean_ctor_set(x_122, 1, x_7); +lean_ctor_set(x_122, 0, x_75); +lean_ctor_set(x_122, 1, x_5); lean_ctor_set(x_122, 2, x_121); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_73); -return x_123; +x_123 = lean_array_push(x_116, x_122); +lean_inc(x_75); +x_124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_124, 0, x_75); +lean_ctor_set(x_124, 1, x_6); +lean_ctor_set(x_124, 2, x_123); +x_125 = lean_array_push(x_94, x_124); +x_126 = lean_array_push(x_125, x_92); +x_127 = lean_array_push(x_126, x_20); +x_128 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_128, 0, x_75); +lean_ctor_set(x_128, 1, x_7); +lean_ctor_set(x_128, 2, x_127); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_76); +return x_129; } } } @@ -5141,260 +5152,266 @@ x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRul x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; +lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; x_17 = lean_ctor_get(x_15, 0); x_18 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; lean_inc(x_17); x_19 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_19, 0, x_17); lean_ctor_set(x_19, 1, x_18); -x_20 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -x_21 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +x_20 = l_Lean_Elab_Term_expandShow___closed__12; +x_21 = 1; +x_22 = l_Lean_mkIdentFrom(x_3, x_20, x_21); +x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +x_24 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; lean_inc(x_17); -x_22 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_22, 0, x_17); -lean_ctor_set(x_22, 1, x_20); -lean_ctor_set(x_22, 2, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_24 = lean_array_push(x_23, x_3); -x_25 = lean_array_push(x_24, x_22); +x_25 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_25, 0, x_17); +lean_ctor_set(x_25, 1, x_23); +lean_ctor_set(x_25, 2, x_24); +x_26 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_27 = lean_array_push(x_26, x_22); +x_28 = lean_array_push(x_27, x_25); lean_inc(x_17); -x_26 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_26, 0, x_17); -lean_ctor_set(x_26, 1, x_20); -lean_ctor_set(x_26, 2, x_25); -x_27 = l_Lean_Elab_Term_expandShow___closed__23; +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_17); +lean_ctor_set(x_29, 1, x_23); +lean_ctor_set(x_29, 2, x_28); +x_30 = l_Lean_Elab_Term_expandShow___closed__23; lean_inc(x_17); -x_28 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_28, 0, x_17); -lean_ctor_set(x_28, 1, x_27); -x_29 = l_Lean_Elab_Term_expandShow___closed__26; -x_30 = lean_array_push(x_29, x_26); -x_31 = l_Lean_Elab_Term_expandShow___closed__25; +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_17); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Term_expandShow___closed__26; +x_33 = lean_array_push(x_32, x_29); +x_34 = l_Lean_Elab_Term_expandShow___closed__25; lean_inc(x_17); -x_32 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_32, 0, x_17); -lean_ctor_set(x_32, 1, x_31); -x_33 = lean_array_push(x_29, x_19); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_17); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_array_push(x_32, x_19); if (lean_obj_tag(x_9) == 0) { -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_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_dec(x_7); -x_34 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; +x_37 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; lean_inc(x_17); -x_35 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_35, 0, x_17); -lean_ctor_set(x_35, 1, x_20); -lean_ctor_set(x_35, 2, x_34); -x_36 = lean_array_push(x_30, x_35); -x_37 = lean_array_push(x_36, x_28); -x_38 = lean_array_push(x_37, x_13); -lean_inc(x_17); -x_39 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_39, 0, x_17); -lean_ctor_set(x_39, 1, x_4); -lean_ctor_set(x_39, 2, x_38); -x_40 = l_Lean_Elab_Term_expandShow___closed__22; -x_41 = lean_array_push(x_40, x_39); +x_38 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_38, 0, x_17); +lean_ctor_set(x_38, 1, x_23); +lean_ctor_set(x_38, 2, x_37); +x_39 = lean_array_push(x_33, x_38); +x_40 = lean_array_push(x_39, x_31); +x_41 = lean_array_push(x_40, x_13); lean_inc(x_17); x_42 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_42, 0, x_17); -lean_ctor_set(x_42, 1, x_5); +lean_ctor_set(x_42, 1, x_4); lean_ctor_set(x_42, 2, x_41); -x_43 = lean_array_push(x_33, x_42); -x_44 = lean_array_push(x_43, x_32); -x_45 = lean_array_push(x_44, x_14); -x_46 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_46, 0, x_17); -lean_ctor_set(x_46, 1, x_6); -lean_ctor_set(x_46, 2, x_45); -lean_ctor_set(x_15, 0, x_46); +x_43 = l_Lean_Elab_Term_expandShow___closed__22; +x_44 = lean_array_push(x_43, x_42); +lean_inc(x_17); +x_45 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_45, 0, x_17); +lean_ctor_set(x_45, 1, x_5); +lean_ctor_set(x_45, 2, x_44); +x_46 = lean_array_push(x_36, x_45); +x_47 = lean_array_push(x_46, x_35); +x_48 = lean_array_push(x_47, x_14); +x_49 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_49, 0, x_17); +lean_ctor_set(x_49, 1, x_6); +lean_ctor_set(x_49, 2, x_48); +lean_ctor_set(x_15, 0, x_49); return x_15; } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_47 = lean_ctor_get(x_9, 0); -lean_inc(x_47); +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; +x_50 = lean_ctor_get(x_9, 0); +lean_inc(x_50); lean_dec(x_9); -x_48 = l_Lean_Elab_Term_expandShow___closed__19; -x_49 = l_Lean_Name_str___override(x_7, x_48); -x_50 = l_Lean_Elab_Term_expandShow___closed__21; +x_51 = l_Lean_Elab_Term_expandShow___closed__19; +x_52 = l_Lean_Name_str___override(x_7, x_51); +x_53 = l_Lean_Elab_Term_expandShow___closed__21; lean_inc(x_17); -x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_17); -lean_ctor_set(x_51, 1, x_50); -x_52 = lean_array_push(x_23, x_51); -x_53 = lean_array_push(x_52, x_47); -lean_inc(x_17); -x_54 = lean_alloc_ctor(1, 3, 0); +x_54 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_54, 0, x_17); -lean_ctor_set(x_54, 1, x_49); -lean_ctor_set(x_54, 2, x_53); -x_55 = l_Lean_Elab_Term_expandShow___closed__22; -x_56 = lean_array_push(x_55, x_54); -x_57 = l_Array_append___rarg(x_21, x_56); +lean_ctor_set(x_54, 1, x_53); +x_55 = lean_array_push(x_26, x_54); +x_56 = lean_array_push(x_55, x_50); lean_inc(x_17); -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_17); -lean_ctor_set(x_58, 1, x_20); -lean_ctor_set(x_58, 2, x_57); -x_59 = lean_array_push(x_30, x_58); -x_60 = lean_array_push(x_59, x_28); -x_61 = lean_array_push(x_60, x_13); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_17); +lean_ctor_set(x_57, 1, x_52); +lean_ctor_set(x_57, 2, x_56); +x_58 = l_Lean_Elab_Term_expandShow___closed__22; +x_59 = lean_array_push(x_58, x_57); +x_60 = l_Array_append___rarg(x_24, x_59); lean_inc(x_17); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_17); -lean_ctor_set(x_62, 1, x_4); -lean_ctor_set(x_62, 2, x_61); -x_63 = lean_array_push(x_55, x_62); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_17); +lean_ctor_set(x_61, 1, x_23); +lean_ctor_set(x_61, 2, x_60); +x_62 = lean_array_push(x_33, x_61); +x_63 = lean_array_push(x_62, x_31); +x_64 = lean_array_push(x_63, x_13); lean_inc(x_17); -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_17); -lean_ctor_set(x_64, 1, x_5); -lean_ctor_set(x_64, 2, x_63); -x_65 = lean_array_push(x_33, x_64); -x_66 = lean_array_push(x_65, x_32); -x_67 = lean_array_push(x_66, x_14); -x_68 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_68, 0, x_17); -lean_ctor_set(x_68, 1, x_6); -lean_ctor_set(x_68, 2, x_67); -lean_ctor_set(x_15, 0, x_68); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_17); +lean_ctor_set(x_65, 1, x_4); +lean_ctor_set(x_65, 2, x_64); +x_66 = lean_array_push(x_58, x_65); +lean_inc(x_17); +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_17); +lean_ctor_set(x_67, 1, x_5); +lean_ctor_set(x_67, 2, x_66); +x_68 = lean_array_push(x_36, x_67); +x_69 = lean_array_push(x_68, x_35); +x_70 = lean_array_push(x_69, x_14); +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_17); +lean_ctor_set(x_71, 1, x_6); +lean_ctor_set(x_71, 2, x_70); +lean_ctor_set(x_15, 0, x_71); return x_15; } } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_69 = lean_ctor_get(x_15, 0); -x_70 = lean_ctor_get(x_15, 1); -lean_inc(x_70); -lean_inc(x_69); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_72 = lean_ctor_get(x_15, 0); +x_73 = lean_ctor_get(x_15, 1); +lean_inc(x_73); +lean_inc(x_72); lean_dec(x_15); -x_71 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; -lean_inc(x_69); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_69); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -x_74 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_69); -x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_69); -lean_ctor_set(x_75, 1, x_73); -lean_ctor_set(x_75, 2, x_74); -x_76 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_77 = lean_array_push(x_76, x_3); -x_78 = lean_array_push(x_77, x_75); -lean_inc(x_69); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_69); -lean_ctor_set(x_79, 1, x_73); -lean_ctor_set(x_79, 2, x_78); -x_80 = l_Lean_Elab_Term_expandShow___closed__23; -lean_inc(x_69); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_69); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Term_expandShow___closed__26; -x_83 = lean_array_push(x_82, x_79); -x_84 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_69); -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_69); -lean_ctor_set(x_85, 1, x_84); -x_86 = lean_array_push(x_82, x_72); +x_74 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; +lean_inc(x_72); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_72); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Lean_Elab_Term_expandShow___closed__12; +x_77 = 1; +x_78 = l_Lean_mkIdentFrom(x_3, x_76, x_77); +x_79 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +x_80 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_72); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_72); +lean_ctor_set(x_81, 1, x_79); +lean_ctor_set(x_81, 2, x_80); +x_82 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_83 = lean_array_push(x_82, x_78); +x_84 = lean_array_push(x_83, x_81); +lean_inc(x_72); +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_72); +lean_ctor_set(x_85, 1, x_79); +lean_ctor_set(x_85, 2, x_84); +x_86 = l_Lean_Elab_Term_expandShow___closed__23; +lean_inc(x_72); +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_72); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Lean_Elab_Term_expandShow___closed__26; +x_89 = lean_array_push(x_88, x_85); +x_90 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_72); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_72); +lean_ctor_set(x_91, 1, x_90); +x_92 = lean_array_push(x_88, x_75); if (lean_obj_tag(x_9) == 0) { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_dec(x_7); -x_87 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; -lean_inc(x_69); -x_88 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_88, 0, x_69); -lean_ctor_set(x_88, 1, x_73); -lean_ctor_set(x_88, 2, x_87); -x_89 = lean_array_push(x_83, x_88); -x_90 = lean_array_push(x_89, x_81); -x_91 = lean_array_push(x_90, x_13); -lean_inc(x_69); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_69); -lean_ctor_set(x_92, 1, x_4); -lean_ctor_set(x_92, 2, x_91); -x_93 = l_Lean_Elab_Term_expandShow___closed__22; -x_94 = lean_array_push(x_93, x_92); -lean_inc(x_69); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_69); -lean_ctor_set(x_95, 1, x_5); -lean_ctor_set(x_95, 2, x_94); -x_96 = lean_array_push(x_86, x_95); -x_97 = lean_array_push(x_96, x_85); -x_98 = lean_array_push(x_97, x_14); -x_99 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_99, 0, x_69); -lean_ctor_set(x_99, 1, x_6); -lean_ctor_set(x_99, 2, x_98); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_70); -return x_100; +x_93 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; +lean_inc(x_72); +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_72); +lean_ctor_set(x_94, 1, x_79); +lean_ctor_set(x_94, 2, x_93); +x_95 = lean_array_push(x_89, x_94); +x_96 = lean_array_push(x_95, x_87); +x_97 = lean_array_push(x_96, x_13); +lean_inc(x_72); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_72); +lean_ctor_set(x_98, 1, x_4); +lean_ctor_set(x_98, 2, x_97); +x_99 = l_Lean_Elab_Term_expandShow___closed__22; +x_100 = lean_array_push(x_99, x_98); +lean_inc(x_72); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_72); +lean_ctor_set(x_101, 1, x_5); +lean_ctor_set(x_101, 2, x_100); +x_102 = lean_array_push(x_92, x_101); +x_103 = lean_array_push(x_102, x_91); +x_104 = lean_array_push(x_103, x_14); +x_105 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_105, 0, x_72); +lean_ctor_set(x_105, 1, x_6); +lean_ctor_set(x_105, 2, x_104); +x_106 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_73); +return x_106; } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_101 = lean_ctor_get(x_9, 0); -lean_inc(x_101); +lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; +x_107 = lean_ctor_get(x_9, 0); +lean_inc(x_107); lean_dec(x_9); -x_102 = l_Lean_Elab_Term_expandShow___closed__19; -x_103 = l_Lean_Name_str___override(x_7, x_102); -x_104 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_69); -x_105 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_105, 0, x_69); -lean_ctor_set(x_105, 1, x_104); -x_106 = lean_array_push(x_76, x_105); -x_107 = lean_array_push(x_106, x_101); -lean_inc(x_69); -x_108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_108, 0, x_69); -lean_ctor_set(x_108, 1, x_103); -lean_ctor_set(x_108, 2, x_107); -x_109 = l_Lean_Elab_Term_expandShow___closed__22; -x_110 = lean_array_push(x_109, x_108); -x_111 = l_Array_append___rarg(x_74, x_110); -lean_inc(x_69); -x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_69); -lean_ctor_set(x_112, 1, x_73); -lean_ctor_set(x_112, 2, x_111); -x_113 = lean_array_push(x_83, x_112); -x_114 = lean_array_push(x_113, x_81); -x_115 = lean_array_push(x_114, x_13); -lean_inc(x_69); -x_116 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_116, 0, x_69); -lean_ctor_set(x_116, 1, x_4); -lean_ctor_set(x_116, 2, x_115); -x_117 = lean_array_push(x_109, x_116); -lean_inc(x_69); +x_108 = l_Lean_Elab_Term_expandShow___closed__19; +x_109 = l_Lean_Name_str___override(x_7, x_108); +x_110 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_72); +x_111 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_111, 0, x_72); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_82, x_111); +x_113 = lean_array_push(x_112, x_107); +lean_inc(x_72); +x_114 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_114, 0, x_72); +lean_ctor_set(x_114, 1, x_109); +lean_ctor_set(x_114, 2, x_113); +x_115 = l_Lean_Elab_Term_expandShow___closed__22; +x_116 = lean_array_push(x_115, x_114); +x_117 = l_Array_append___rarg(x_80, x_116); +lean_inc(x_72); x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_69); -lean_ctor_set(x_118, 1, x_5); +lean_ctor_set(x_118, 0, x_72); +lean_ctor_set(x_118, 1, x_79); lean_ctor_set(x_118, 2, x_117); -x_119 = lean_array_push(x_86, x_118); -x_120 = lean_array_push(x_119, x_85); -x_121 = lean_array_push(x_120, x_14); +x_119 = lean_array_push(x_89, x_118); +x_120 = lean_array_push(x_119, x_87); +x_121 = lean_array_push(x_120, x_13); +lean_inc(x_72); x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_69); -lean_ctor_set(x_122, 1, x_6); +lean_ctor_set(x_122, 0, x_72); +lean_ctor_set(x_122, 1, x_4); lean_ctor_set(x_122, 2, x_121); -x_123 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_123, 0, x_122); -lean_ctor_set(x_123, 1, x_70); -return x_123; +x_123 = lean_array_push(x_115, x_122); +lean_inc(x_72); +x_124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_124, 0, x_72); +lean_ctor_set(x_124, 1, x_5); +lean_ctor_set(x_124, 2, x_123); +x_125 = lean_array_push(x_92, x_124); +x_126 = lean_array_push(x_125, x_91); +x_127 = lean_array_push(x_126, x_14); +x_128 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_128, 0, x_72); +lean_ctor_set(x_128, 1, x_6); +lean_ctor_set(x_128, 2, x_127); +x_129 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_73); +return x_129; } } } @@ -5762,28 +5779,26 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandHave(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; -x_4 = l_Lean_Elab_Term_expandShow___closed__12; +lean_object* x_4; uint8_t x_5; +x_4 = l_Lean_Elab_Term_expandHave___closed__1; lean_inc(x_1); -x_5 = l_Lean_mkIdentFrom(x_1, x_4); -x_6 = l_Lean_Elab_Term_expandHave___closed__1; -lean_inc(x_1); -x_7 = l_Lean_Syntax_isOfKind(x_1, x_6); -if (x_7 == 0) +x_5 = l_Lean_Syntax_isOfKind(x_1, x_4); +if (x_5 == 0) { -lean_object* x_8; lean_object* x_9; -lean_dec(x_5); +lean_object* x_6; lean_object* x_7; lean_dec(x_2); lean_dec(x_1); -x_8 = lean_box(1); -x_9 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_3); -return x_9; +x_6 = lean_box(1); +x_7 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_3); +return x_7; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); +x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(1u); x_11 = l_Lean_Syntax_getArg(x_1, x_10); x_12 = l_Lean_Elab_Term_expandHave___closed__3; @@ -5793,7 +5808,7 @@ if (x_13 == 0) { lean_object* x_14; lean_object* x_15; lean_dec(x_11); -lean_dec(x_5); +lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); x_14 = lean_box(1); @@ -5804,501 +5819,500 @@ return x_15; } else { -lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Lean_Syntax_getArg(x_11, x_16); +lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); lean_dec(x_11); -x_18 = l_Lean_Elab_Term_expandHave___closed__5; -lean_inc(x_17); -x_19 = l_Lean_Syntax_isOfKind(x_17, x_18); -if (x_19 == 0) +x_17 = l_Lean_Elab_Term_expandHave___closed__5; +lean_inc(x_16); +x_18 = l_Lean_Syntax_isOfKind(x_16, x_17); +if (x_18 == 0) { -lean_object* x_20; uint8_t x_21; -x_20 = l_Lean_Elab_Term_expandHave___closed__7; -lean_inc(x_17); -x_21 = l_Lean_Syntax_isOfKind(x_17, x_20); -if (x_21 == 0) +lean_object* x_19; uint8_t x_20; +x_19 = l_Lean_Elab_Term_expandHave___closed__7; +lean_inc(x_16); +x_20 = l_Lean_Syntax_isOfKind(x_16, x_19); +if (x_20 == 0) { -lean_object* x_22; uint8_t x_23; -lean_dec(x_5); -x_22 = l_Lean_Elab_Term_expandHave___closed__9; -lean_inc(x_17); -x_23 = l_Lean_Syntax_isOfKind(x_17, x_22); -if (x_23 == 0) +lean_object* x_21; uint8_t x_22; +lean_dec(x_9); +x_21 = l_Lean_Elab_Term_expandHave___closed__9; +lean_inc(x_16); +x_22 = l_Lean_Syntax_isOfKind(x_16, x_21); +if (x_22 == 0) { -lean_object* x_24; lean_object* x_25; -lean_dec(x_17); +lean_object* x_23; lean_object* x_24; +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_24 = lean_box(1); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_3); -return x_25; +x_23 = lean_box(1); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_23); +lean_ctor_set(x_24, 1, x_3); +return x_24; } else { -lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_26 = l_Lean_Syntax_getArg(x_17, x_16); -x_27 = l_Lean_Syntax_getArg(x_17, x_10); -x_28 = l_Lean_Syntax_matchesNull(x_27, x_16); -if (x_28 == 0) +lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_25 = l_Lean_Syntax_getArg(x_16, x_8); +x_26 = l_Lean_Syntax_getArg(x_16, x_10); +x_27 = l_Lean_Syntax_matchesNull(x_26, x_8); +if (x_27 == 0) { -lean_object* x_29; lean_object* x_30; -lean_dec(x_26); -lean_dec(x_17); +lean_object* x_28; lean_object* x_29; +lean_dec(x_25); +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_29 = lean_box(1); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_3); -return x_30; +x_28 = lean_box(1); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_3); +return x_29; } else { -lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_31 = lean_unsigned_to_nat(2u); -x_32 = l_Lean_Syntax_getArg(x_17, x_31); -x_33 = l_Lean_Syntax_isNone(x_32); +lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_30 = lean_unsigned_to_nat(2u); +x_31 = l_Lean_Syntax_getArg(x_16, x_30); +x_32 = l_Lean_Syntax_isNone(x_31); +if (x_32 == 0) +{ +uint8_t x_33; +lean_inc(x_31); +x_33 = l_Lean_Syntax_matchesNull(x_31, x_10); if (x_33 == 0) { -uint8_t x_34; -lean_inc(x_32); -x_34 = l_Lean_Syntax_matchesNull(x_32, x_10); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -lean_dec(x_32); -lean_dec(x_26); -lean_dec(x_17); +lean_object* x_34; lean_object* x_35; +lean_dec(x_31); +lean_dec(x_25); +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_35 = lean_box(1); -x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_3); -return x_36; +x_34 = lean_box(1); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_34); +lean_ctor_set(x_35, 1, x_3); +return x_35; } else { -lean_object* x_37; lean_object* x_38; uint8_t x_39; -x_37 = l_Lean_Syntax_getArg(x_32, x_16); -lean_dec(x_32); -x_38 = l_Lean_Elab_Term_expandShow___closed__20; -lean_inc(x_37); -x_39 = l_Lean_Syntax_isOfKind(x_37, x_38); -if (x_39 == 0) +lean_object* x_36; lean_object* x_37; uint8_t x_38; +x_36 = l_Lean_Syntax_getArg(x_31, x_8); +lean_dec(x_31); +x_37 = l_Lean_Elab_Term_expandShow___closed__20; +lean_inc(x_36); +x_38 = l_Lean_Syntax_isOfKind(x_36, x_37); +if (x_38 == 0) { -lean_object* x_40; lean_object* x_41; -lean_dec(x_37); -lean_dec(x_26); -lean_dec(x_17); +lean_object* x_39; lean_object* x_40; +lean_dec(x_36); +lean_dec(x_25); +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_40 = lean_box(1); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_3); -return x_41; +x_39 = lean_box(1); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_39); +lean_ctor_set(x_40, 1, x_3); +return x_40; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_42 = l_Lean_Syntax_getArg(x_37, x_10); -lean_dec(x_37); -x_43 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_43, 0, x_42); -x_44 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_45 = lean_box(0); -x_46 = l_Lean_Elab_Term_expandHave___lambda__1(x_17, x_1, x_44, x_26, x_22, x_45, x_43, x_2, x_3); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_41 = l_Lean_Syntax_getArg(x_36, x_10); +lean_dec(x_36); +x_42 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_42, 0, x_41); +x_43 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_44 = lean_box(0); +x_45 = l_Lean_Elab_Term_expandHave___lambda__1(x_16, x_1, x_43, x_25, x_21, x_44, x_42, x_2, x_3); lean_dec(x_1); -lean_dec(x_17); -return x_46; +lean_dec(x_16); +return x_45; } } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; -lean_dec(x_32); -x_47 = lean_box(0); -x_48 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_49 = lean_box(0); -x_50 = l_Lean_Elab_Term_expandHave___lambda__1(x_17, x_1, x_48, x_26, x_22, x_49, x_47, x_2, x_3); +lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +lean_dec(x_31); +x_46 = lean_box(0); +x_47 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_48 = lean_box(0); +x_49 = l_Lean_Elab_Term_expandHave___lambda__1(x_16, x_1, x_47, x_25, x_21, x_48, x_46, x_2, x_3); lean_dec(x_1); -lean_dec(x_17); -return x_50; +lean_dec(x_16); +return x_49; } } } } else { -lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_51 = l_Lean_Syntax_getArg(x_17, x_16); -x_52 = lean_unsigned_to_nat(2u); -lean_inc(x_51); -x_53 = l_Lean_Syntax_matchesNull(x_51, x_52); +lean_object* x_50; lean_object* x_51; uint8_t x_52; +x_50 = l_Lean_Syntax_getArg(x_16, x_8); +x_51 = lean_unsigned_to_nat(2u); +lean_inc(x_50); +x_52 = l_Lean_Syntax_matchesNull(x_50, x_51); +if (x_52 == 0) +{ +uint8_t x_53; +x_53 = l_Lean_Syntax_matchesNull(x_50, x_8); if (x_53 == 0) { -uint8_t x_54; -x_54 = l_Lean_Syntax_matchesNull(x_51, x_16); -if (x_54 == 0) -{ -lean_object* x_55; lean_object* x_56; -lean_dec(x_17); -lean_dec(x_5); +lean_object* x_54; lean_object* x_55; +lean_dec(x_16); +lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_55 = lean_box(1); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_3); -return x_56; +x_54 = lean_box(1); +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_3); +return x_55; } else { -lean_object* x_57; uint8_t x_58; -x_57 = l_Lean_Syntax_getArg(x_17, x_10); -x_58 = l_Lean_Syntax_isNone(x_57); +lean_object* x_56; uint8_t x_57; +x_56 = l_Lean_Syntax_getArg(x_16, x_10); +x_57 = l_Lean_Syntax_isNone(x_56); +if (x_57 == 0) +{ +uint8_t x_58; +lean_inc(x_56); +x_58 = l_Lean_Syntax_matchesNull(x_56, x_10); if (x_58 == 0) { -uint8_t x_59; -lean_inc(x_57); -x_59 = l_Lean_Syntax_matchesNull(x_57, x_10); -if (x_59 == 0) -{ -lean_object* x_60; lean_object* x_61; -lean_dec(x_57); -lean_dec(x_17); -lean_dec(x_5); +lean_object* x_59; lean_object* x_60; +lean_dec(x_56); +lean_dec(x_16); +lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_60 = lean_box(1); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_60); -lean_ctor_set(x_61, 1, x_3); -return x_61; +x_59 = lean_box(1); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_59); +lean_ctor_set(x_60, 1, x_3); +return x_60; } else { -lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_62 = l_Lean_Syntax_getArg(x_57, x_16); -lean_dec(x_57); -x_63 = l_Lean_Elab_Term_expandShow___closed__20; -lean_inc(x_62); -x_64 = l_Lean_Syntax_isOfKind(x_62, x_63); -if (x_64 == 0) +lean_object* x_61; lean_object* x_62; uint8_t x_63; +x_61 = l_Lean_Syntax_getArg(x_56, x_8); +lean_dec(x_56); +x_62 = l_Lean_Elab_Term_expandShow___closed__20; +lean_inc(x_61); +x_63 = l_Lean_Syntax_isOfKind(x_61, x_62); +if (x_63 == 0) { -lean_object* x_65; lean_object* x_66; -lean_dec(x_62); -lean_dec(x_17); -lean_dec(x_5); +lean_object* x_64; lean_object* x_65; +lean_dec(x_61); +lean_dec(x_16); +lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_65 = lean_box(1); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_3); -return x_66; +x_64 = lean_box(1); +x_65 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_65, 0, x_64); +lean_ctor_set(x_65, 1, x_3); +return x_65; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_67 = l_Lean_Syntax_getArg(x_62, x_10); -lean_dec(x_62); -x_68 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_68, 0, x_67); -x_69 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_70 = lean_box(0); -x_71 = l_Lean_Elab_Term_expandHave___lambda__2(x_17, x_69, x_1, x_5, x_20, x_12, x_6, x_70, x_68, x_2, x_3); +lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_66 = l_Lean_Syntax_getArg(x_61, x_10); +lean_dec(x_61); +x_67 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_67, 0, x_66); +x_68 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_69 = lean_box(0); +x_70 = l_Lean_Elab_Term_expandHave___lambda__2(x_16, x_68, x_1, x_9, x_19, x_12, x_4, x_69, x_67, x_2, x_3); lean_dec(x_1); -lean_dec(x_17); -return x_71; +lean_dec(x_16); +return x_70; } } } else { -lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_57); -x_72 = lean_box(0); -x_73 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_74 = lean_box(0); -x_75 = l_Lean_Elab_Term_expandHave___lambda__2(x_17, x_73, x_1, x_5, x_20, x_12, x_6, x_74, x_72, x_2, x_3); +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +lean_dec(x_56); +x_71 = lean_box(0); +x_72 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_73 = lean_box(0); +x_74 = l_Lean_Elab_Term_expandHave___lambda__2(x_16, x_72, x_1, x_9, x_19, x_12, x_4, x_73, x_71, x_2, x_3); lean_dec(x_1); -lean_dec(x_17); -return x_75; +lean_dec(x_16); +return x_74; } } } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; uint8_t x_79; -lean_dec(x_5); -x_76 = l_Lean_Syntax_getArg(x_51, x_16); -x_77 = l_Lean_Syntax_getArg(x_51, x_10); -lean_dec(x_51); -x_78 = l_Lean_Syntax_getArg(x_17, x_10); -x_79 = l_Lean_Syntax_isNone(x_78); +lean_object* x_75; lean_object* x_76; lean_object* x_77; uint8_t x_78; +lean_dec(x_9); +x_75 = l_Lean_Syntax_getArg(x_50, x_8); +x_76 = l_Lean_Syntax_getArg(x_50, x_10); +lean_dec(x_50); +x_77 = l_Lean_Syntax_getArg(x_16, x_10); +x_78 = l_Lean_Syntax_isNone(x_77); +if (x_78 == 0) +{ +uint8_t x_79; +lean_inc(x_77); +x_79 = l_Lean_Syntax_matchesNull(x_77, x_10); if (x_79 == 0) { -uint8_t x_80; -lean_inc(x_78); -x_80 = l_Lean_Syntax_matchesNull(x_78, x_10); -if (x_80 == 0) -{ -lean_object* x_81; lean_object* x_82; -lean_dec(x_78); +lean_object* x_80; lean_object* x_81; lean_dec(x_77); lean_dec(x_76); -lean_dec(x_17); +lean_dec(x_75); +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_81 = lean_box(1); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_3); -return x_82; +x_80 = lean_box(1); +x_81 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_3); +return x_81; } else { -lean_object* x_83; lean_object* x_84; uint8_t x_85; -x_83 = l_Lean_Syntax_getArg(x_78, x_16); -lean_dec(x_78); -x_84 = l_Lean_Elab_Term_expandShow___closed__20; -lean_inc(x_83); -x_85 = l_Lean_Syntax_isOfKind(x_83, x_84); -if (x_85 == 0) -{ -lean_object* x_86; lean_object* x_87; -lean_dec(x_83); +lean_object* x_82; lean_object* x_83; uint8_t x_84; +x_82 = l_Lean_Syntax_getArg(x_77, x_8); lean_dec(x_77); +x_83 = l_Lean_Elab_Term_expandShow___closed__20; +lean_inc(x_82); +x_84 = l_Lean_Syntax_isOfKind(x_82, x_83); +if (x_84 == 0) +{ +lean_object* x_85; lean_object* x_86; +lean_dec(x_82); lean_dec(x_76); -lean_dec(x_17); +lean_dec(x_75); +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_86 = lean_box(1); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_86); -lean_ctor_set(x_87, 1, x_3); -return x_87; +x_85 = lean_box(1); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_86, 1, x_3); +return x_86; } else { -lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_88 = l_Lean_Syntax_getArg(x_83, x_10); -lean_dec(x_83); -x_89 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_89, 0, x_88); -x_90 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_91 = lean_box(0); -x_92 = l_Lean_Elab_Term_expandHave___lambda__3(x_17, x_1, x_77, x_90, x_76, x_91, x_89, x_2, x_3); -lean_dec(x_77); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_87 = l_Lean_Syntax_getArg(x_82, x_10); +lean_dec(x_82); +x_88 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_90 = lean_box(0); +x_91 = l_Lean_Elab_Term_expandHave___lambda__3(x_16, x_1, x_76, x_89, x_75, x_90, x_88, x_2, x_3); +lean_dec(x_76); lean_dec(x_1); -lean_dec(x_17); -return x_92; +lean_dec(x_16); +return x_91; } } } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; -lean_dec(x_78); -x_93 = lean_box(0); -x_94 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_95 = lean_box(0); -x_96 = l_Lean_Elab_Term_expandHave___lambda__3(x_17, x_1, x_77, x_94, x_76, x_95, x_93, x_2, x_3); +lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_dec(x_77); +x_92 = lean_box(0); +x_93 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_94 = lean_box(0); +x_95 = l_Lean_Elab_Term_expandHave___lambda__3(x_16, x_1, x_76, x_93, x_75, x_94, x_92, x_2, x_3); +lean_dec(x_76); lean_dec(x_1); -lean_dec(x_17); -return x_96; +lean_dec(x_16); +return x_95; } } } } else { -lean_object* x_97; lean_object* x_98; uint8_t x_99; -x_97 = l_Lean_Syntax_getArg(x_17, x_16); -x_98 = lean_unsigned_to_nat(2u); -lean_inc(x_97); -x_99 = l_Lean_Syntax_matchesNull(x_97, x_98); +lean_object* x_96; lean_object* x_97; uint8_t x_98; +x_96 = l_Lean_Syntax_getArg(x_16, x_8); +x_97 = lean_unsigned_to_nat(2u); +lean_inc(x_96); +x_98 = l_Lean_Syntax_matchesNull(x_96, x_97); +if (x_98 == 0) +{ +uint8_t x_99; +x_99 = l_Lean_Syntax_matchesNull(x_96, x_8); if (x_99 == 0) { -uint8_t x_100; -x_100 = l_Lean_Syntax_matchesNull(x_97, x_16); -if (x_100 == 0) -{ -lean_object* x_101; lean_object* x_102; -lean_dec(x_17); -lean_dec(x_5); +lean_object* x_100; lean_object* x_101; +lean_dec(x_16); +lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_101 = lean_box(1); -x_102 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_102, 0, x_101); -lean_ctor_set(x_102, 1, x_3); -return x_102; +x_100 = lean_box(1); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_100); +lean_ctor_set(x_101, 1, x_3); +return x_101; } else { -lean_object* x_103; uint8_t x_104; -x_103 = l_Lean_Syntax_getArg(x_17, x_10); -x_104 = l_Lean_Syntax_isNone(x_103); +lean_object* x_102; uint8_t x_103; +x_102 = l_Lean_Syntax_getArg(x_16, x_10); +x_103 = l_Lean_Syntax_isNone(x_102); +if (x_103 == 0) +{ +uint8_t x_104; +lean_inc(x_102); +x_104 = l_Lean_Syntax_matchesNull(x_102, x_10); if (x_104 == 0) { -uint8_t x_105; -lean_inc(x_103); -x_105 = l_Lean_Syntax_matchesNull(x_103, x_10); -if (x_105 == 0) -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_103); -lean_dec(x_17); -lean_dec(x_5); +lean_object* x_105; lean_object* x_106; +lean_dec(x_102); +lean_dec(x_16); +lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_106 = lean_box(1); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_3); -return x_107; +x_105 = lean_box(1); +x_106 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_106, 0, x_105); +lean_ctor_set(x_106, 1, x_3); +return x_106; } else { -lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_108 = l_Lean_Syntax_getArg(x_103, x_16); -lean_dec(x_103); -x_109 = l_Lean_Elab_Term_expandShow___closed__20; -lean_inc(x_108); -x_110 = l_Lean_Syntax_isOfKind(x_108, x_109); -if (x_110 == 0) +lean_object* x_107; lean_object* x_108; uint8_t x_109; +x_107 = l_Lean_Syntax_getArg(x_102, x_8); +lean_dec(x_102); +x_108 = l_Lean_Elab_Term_expandShow___closed__20; +lean_inc(x_107); +x_109 = l_Lean_Syntax_isOfKind(x_107, x_108); +if (x_109 == 0) { -lean_object* x_111; lean_object* x_112; -lean_dec(x_108); -lean_dec(x_17); -lean_dec(x_5); +lean_object* x_110; lean_object* x_111; +lean_dec(x_107); +lean_dec(x_16); +lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_111 = lean_box(1); -x_112 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_3); -return x_112; +x_110 = lean_box(1); +x_111 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_111, 0, x_110); +lean_ctor_set(x_111, 1, x_3); +return x_111; } else { -lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_113 = l_Lean_Syntax_getArg(x_108, x_10); -lean_dec(x_108); -x_114 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_114, 0, x_113); -x_115 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_116 = lean_box(0); -x_117 = l_Lean_Elab_Term_expandHave___lambda__4(x_17, x_1, x_5, x_18, x_12, x_6, x_115, x_116, x_114, x_2, x_3); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +x_112 = l_Lean_Syntax_getArg(x_107, x_10); +lean_dec(x_107); +x_113 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_113, 0, x_112); +x_114 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_115 = lean_box(0); +x_116 = l_Lean_Elab_Term_expandHave___lambda__4(x_16, x_1, x_9, x_17, x_12, x_4, x_114, x_115, x_113, x_2, x_3); lean_dec(x_1); -lean_dec(x_17); -return x_117; +lean_dec(x_16); +return x_116; } } } else { -lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; -lean_dec(x_103); -x_118 = lean_box(0); -x_119 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_120 = lean_box(0); -x_121 = l_Lean_Elab_Term_expandHave___lambda__4(x_17, x_1, x_5, x_18, x_12, x_6, x_119, x_120, x_118, x_2, x_3); +lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_102); +x_117 = lean_box(0); +x_118 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_119 = lean_box(0); +x_120 = l_Lean_Elab_Term_expandHave___lambda__4(x_16, x_1, x_9, x_17, x_12, x_4, x_118, x_119, x_117, x_2, x_3); lean_dec(x_1); -lean_dec(x_17); -return x_121; +lean_dec(x_16); +return x_120; } } } else { -lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; -lean_dec(x_5); -x_122 = l_Lean_Syntax_getArg(x_97, x_16); -x_123 = l_Lean_Syntax_getArg(x_97, x_10); -lean_dec(x_97); -x_124 = l_Lean_Syntax_getArg(x_17, x_10); -x_125 = l_Lean_Syntax_isNone(x_124); +lean_object* x_121; lean_object* x_122; lean_object* x_123; uint8_t x_124; +lean_dec(x_9); +x_121 = l_Lean_Syntax_getArg(x_96, x_8); +x_122 = l_Lean_Syntax_getArg(x_96, x_10); +lean_dec(x_96); +x_123 = l_Lean_Syntax_getArg(x_16, x_10); +x_124 = l_Lean_Syntax_isNone(x_123); +if (x_124 == 0) +{ +uint8_t x_125; +lean_inc(x_123); +x_125 = l_Lean_Syntax_matchesNull(x_123, x_10); if (x_125 == 0) { -uint8_t x_126; -lean_inc(x_124); -x_126 = l_Lean_Syntax_matchesNull(x_124, x_10); -if (x_126 == 0) -{ -lean_object* x_127; lean_object* x_128; -lean_dec(x_124); +lean_object* x_126; lean_object* x_127; lean_dec(x_123); lean_dec(x_122); -lean_dec(x_17); +lean_dec(x_121); +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_127 = lean_box(1); -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_3); -return x_128; +x_126 = lean_box(1); +x_127 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_127, 0, x_126); +lean_ctor_set(x_127, 1, x_3); +return x_127; } else { -lean_object* x_129; lean_object* x_130; uint8_t x_131; -x_129 = l_Lean_Syntax_getArg(x_124, x_16); -lean_dec(x_124); -x_130 = l_Lean_Elab_Term_expandShow___closed__20; -lean_inc(x_129); -x_131 = l_Lean_Syntax_isOfKind(x_129, x_130); -if (x_131 == 0) -{ -lean_object* x_132; lean_object* x_133; -lean_dec(x_129); +lean_object* x_128; lean_object* x_129; uint8_t x_130; +x_128 = l_Lean_Syntax_getArg(x_123, x_8); lean_dec(x_123); +x_129 = l_Lean_Elab_Term_expandShow___closed__20; +lean_inc(x_128); +x_130 = l_Lean_Syntax_isOfKind(x_128, x_129); +if (x_130 == 0) +{ +lean_object* x_131; lean_object* x_132; +lean_dec(x_128); lean_dec(x_122); -lean_dec(x_17); +lean_dec(x_121); +lean_dec(x_16); lean_dec(x_2); lean_dec(x_1); -x_132 = lean_box(1); -x_133 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_133, 0, x_132); -lean_ctor_set(x_133, 1, x_3); -return x_133; +x_131 = lean_box(1); +x_132 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_132, 0, x_131); +lean_ctor_set(x_132, 1, x_3); +return x_132; } else { -lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_134 = l_Lean_Syntax_getArg(x_129, x_10); -lean_dec(x_129); -x_135 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_135, 0, x_134); -x_136 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_137 = lean_box(0); -x_138 = l_Lean_Elab_Term_expandHave___lambda__5(x_17, x_1, x_123, x_136, x_122, x_137, x_135, x_2, x_3); -lean_dec(x_123); +lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_133 = l_Lean_Syntax_getArg(x_128, x_10); +lean_dec(x_128); +x_134 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_134, 0, x_133); +x_135 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_136 = lean_box(0); +x_137 = l_Lean_Elab_Term_expandHave___lambda__5(x_16, x_1, x_122, x_135, x_121, x_136, x_134, x_2, x_3); +lean_dec(x_122); lean_dec(x_1); -lean_dec(x_17); -return x_138; +lean_dec(x_16); +return x_137; } } } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -lean_dec(x_124); -x_139 = lean_box(0); -x_140 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_141 = lean_box(0); -x_142 = l_Lean_Elab_Term_expandHave___lambda__5(x_17, x_1, x_123, x_140, x_122, x_141, x_139, x_2, x_3); +lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_dec(x_123); +x_138 = lean_box(0); +x_139 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_140 = lean_box(0); +x_141 = l_Lean_Elab_Term_expandHave___lambda__5(x_16, x_1, x_122, x_139, x_121, x_140, x_138, x_2, x_3); +lean_dec(x_122); lean_dec(x_1); -lean_dec(x_17); -return x_142; +lean_dec(x_16); +return x_141; } } } @@ -6416,13 +6430,12 @@ return x_3; static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandHave_declRange___closed__2() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(84u); -x_2 = lean_unsigned_to_nat(83u); -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* x_1; lean_object* x_2; +x_1 = lean_unsigned_to_nat(83u); +x_2 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_2, 0, x_1); +lean_ctor_set(x_2, 1, x_1); +return x_2; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandHave_declRange___closed__3() { @@ -6519,380 +6532,384 @@ x_1 = lean_mk_string_from_bytes("tacticSeq", 9); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; uint8_t x_15; -x_9 = lean_unsigned_to_nat(1u); -x_10 = l_Lean_Syntax_getArg(x_1, x_9); -x_11 = lean_unsigned_to_nat(2u); -x_12 = l_Lean_Syntax_getArg(x_1, x_11); -x_13 = l_Lean_Elab_Term_expandShow___closed__3; +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; uint8_t x_16; +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = lean_unsigned_to_nat(2u); +x_13 = l_Lean_Syntax_getArg(x_1, x_12); +x_14 = l_Lean_Elab_Term_expandShow___closed__3; lean_inc(x_2); -x_14 = l_Lean_Name_str___override(x_2, x_13); -lean_inc(x_12); -x_15 = l_Lean_Syntax_isOfKind(x_12, x_14); -lean_dec(x_14); -if (x_15 == 0) +x_15 = l_Lean_Name_str___override(x_2, x_14); +lean_inc(x_13); +x_16 = l_Lean_Syntax_isOfKind(x_13, x_15); +lean_dec(x_15); +if (x_16 == 0) { -lean_object* x_16; lean_object* x_17; uint8_t x_18; -x_16 = l_Lean_Elab_Term_expandShow___closed__5; +lean_object* x_17; lean_object* x_18; uint8_t x_19; +x_17 = l_Lean_Elab_Term_expandShow___closed__5; lean_inc(x_2); -x_17 = l_Lean_Name_str___override(x_2, x_16); -lean_inc(x_12); -x_18 = l_Lean_Syntax_isOfKind(x_12, x_17); -lean_dec(x_17); -if (x_18 == 0) +x_18 = l_Lean_Name_str___override(x_2, x_17); +lean_inc(x_13); +x_19 = l_Lean_Syntax_isOfKind(x_13, x_18); +lean_dec(x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; -lean_dec(x_12); -lean_dec(x_10); +lean_object* x_20; lean_object* x_21; +lean_dec(x_13); +lean_dec(x_11); +lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_8); -return x_20; +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_9); +return x_21; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_21 = lean_unsigned_to_nat(0u); -x_22 = l_Lean_Syntax_getArg(x_12, x_21); -x_23 = l_Lean_Syntax_getArg(x_12, x_9); -lean_dec(x_12); -x_24 = l_Lean_Elab_Term_expandSuffices___lambda__1___closed__1; -x_25 = l_Lean_Name_str___override(x_3, x_24); -x_26 = l_Lean_Elab_Term_expandSuffices___lambda__1___closed__2; -x_27 = l_Lean_Name_str___override(x_25, x_26); -lean_inc(x_23); -x_28 = l_Lean_Syntax_isOfKind(x_23, x_27); -lean_dec(x_27); -if (x_28 == 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; uint8_t x_29; +x_22 = lean_unsigned_to_nat(0u); +x_23 = l_Lean_Syntax_getArg(x_13, x_22); +x_24 = l_Lean_Syntax_getArg(x_13, x_10); +lean_dec(x_13); +x_25 = l_Lean_Elab_Term_expandSuffices___lambda__1___closed__1; +x_26 = l_Lean_Name_str___override(x_3, x_25); +x_27 = l_Lean_Elab_Term_expandSuffices___lambda__1___closed__2; +x_28 = l_Lean_Name_str___override(x_26, x_27); +lean_inc(x_24); +x_29 = l_Lean_Syntax_isOfKind(x_24, x_28); +lean_dec(x_28); +if (x_29 == 0) { -lean_object* x_29; lean_object* x_30; +lean_object* x_30; lean_object* x_31; +lean_dec(x_24); lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_10); +lean_dec(x_11); +lean_dec(x_8); lean_dec(x_7); -lean_dec(x_6); +lean_dec(x_5); lean_dec(x_2); -x_29 = lean_box(1); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_8); -return x_30; +x_30 = lean_box(1); +x_31 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_9); +return x_31; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; uint8_t x_34; -x_31 = lean_unsigned_to_nat(3u); -x_32 = l_Lean_Syntax_getArg(x_4, x_31); -x_33 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_7, x_8); -x_34 = !lean_is_exclusive(x_33); -if (x_34 == 0) +lean_object* x_32; lean_object* x_33; lean_object* x_34; uint8_t x_35; +x_32 = lean_unsigned_to_nat(3u); +x_33 = l_Lean_Syntax_getArg(x_4, x_32); +x_34 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_8, x_9); +x_35 = !lean_is_exclusive(x_34); +if (x_35 == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_35 = lean_ctor_get(x_33, 0); -x_36 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t 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; +x_36 = lean_ctor_get(x_34, 0); +x_37 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; lean_inc(x_2); -x_37 = l_Lean_Name_str___override(x_2, x_36); -lean_inc(x_35); -x_38 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_38, 0, x_35); -lean_ctor_set(x_38, 1, x_36); -x_39 = l_Lean_Elab_Term_expandHave___closed__2; +x_38 = l_Lean_Name_str___override(x_2, x_37); +x_39 = 0; +x_40 = l_Lean_SourceInfo_fromRef(x_5, x_39); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_37); +x_42 = l_Lean_Elab_Term_expandHave___closed__2; lean_inc(x_2); -x_40 = l_Lean_Name_str___override(x_2, x_39); -x_41 = l_Lean_Elab_Term_expandHave___closed__4; +x_43 = l_Lean_Name_str___override(x_2, x_42); +x_44 = l_Lean_Elab_Term_expandHave___closed__4; lean_inc(x_2); -x_42 = l_Lean_Name_str___override(x_2, x_41); -x_43 = l_Lean_Elab_Term_expandShow___closed__19; +x_45 = l_Lean_Name_str___override(x_2, x_44); +x_46 = l_Lean_Elab_Term_expandShow___closed__19; lean_inc(x_2); -x_44 = l_Lean_Name_str___override(x_2, x_43); -x_45 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_35); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_35); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_48 = lean_array_push(x_47, x_46); -x_49 = lean_array_push(x_48, x_10); -lean_inc(x_35); -x_50 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_50, 0, x_35); -lean_ctor_set(x_50, 1, x_44); -lean_ctor_set(x_50, 2, x_49); -x_51 = l_Lean_Elab_Term_expandShow___closed__22; -x_52 = lean_array_push(x_51, x_50); -x_53 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -lean_inc(x_35); -x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_35); -lean_ctor_set(x_54, 1, x_53); -lean_ctor_set(x_54, 2, x_52); -x_55 = l_Lean_Elab_Term_expandShow___closed__23; -lean_inc(x_35); -x_56 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_56, 0, x_35); -lean_ctor_set(x_56, 1, x_55); -x_57 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_35); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_35); -lean_ctor_set(x_58, 1, x_57); -x_59 = l_Lean_Elab_Term_expandShow___closed__8; -x_60 = l_Lean_Name_str___override(x_2, x_59); -x_61 = l_Lean_SourceInfo_fromRef(x_22); -x_62 = l_Lean_Elab_Term_expandShow___closed__10; -x_63 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_63, 0, x_61); -lean_ctor_set(x_63, 1, x_62); -x_64 = lean_array_push(x_47, x_63); -x_65 = lean_array_push(x_64, x_23); -lean_inc(x_35); -x_66 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_66, 0, x_35); -lean_ctor_set(x_66, 1, x_60); -lean_ctor_set(x_66, 2, x_65); -x_67 = l_Lean_Elab_Term_expandShow___closed__26; -x_68 = lean_array_push(x_67, x_38); -if (lean_obj_tag(x_6) == 0) +x_47 = l_Lean_Name_str___override(x_2, x_46); +x_48 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_36); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_36); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_51 = lean_array_push(x_50, x_49); +x_52 = lean_array_push(x_51, x_11); +lean_inc(x_36); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_36); +lean_ctor_set(x_53, 1, x_47); +lean_ctor_set(x_53, 2, x_52); +x_54 = l_Lean_Elab_Term_expandShow___closed__22; +x_55 = lean_array_push(x_54, x_53); +x_56 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +lean_inc(x_36); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_36); +lean_ctor_set(x_57, 1, x_56); +lean_ctor_set(x_57, 2, x_55); +x_58 = l_Lean_Elab_Term_expandShow___closed__23; +lean_inc(x_36); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_36); +lean_ctor_set(x_59, 1, x_58); +x_60 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_36); +x_61 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_61, 0, x_36); +lean_ctor_set(x_61, 1, x_60); +x_62 = l_Lean_Elab_Term_expandShow___closed__8; +x_63 = l_Lean_Name_str___override(x_2, x_62); +x_64 = l_Lean_SourceInfo_fromRef(x_23, x_39); +x_65 = l_Lean_Elab_Term_expandShow___closed__10; +x_66 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +x_67 = lean_array_push(x_50, x_66); +x_68 = lean_array_push(x_67, x_24); +lean_inc(x_36); +x_69 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_69, 0, x_36); +lean_ctor_set(x_69, 1, x_63); +lean_ctor_set(x_69, 2, x_68); +x_70 = l_Lean_Elab_Term_expandShow___closed__26; +x_71 = lean_array_push(x_70, x_41); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_69 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; -lean_inc(x_35); -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_35); -lean_ctor_set(x_70, 1, x_53); -lean_ctor_set(x_70, 2, x_69); -x_71 = lean_array_push(x_67, x_70); -x_72 = lean_array_push(x_71, x_54); -x_73 = lean_array_push(x_72, x_56); -x_74 = lean_array_push(x_73, x_32); -lean_inc(x_35); -x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_35); -lean_ctor_set(x_75, 1, x_42); -lean_ctor_set(x_75, 2, x_74); -x_76 = lean_array_push(x_51, x_75); -lean_inc(x_35); -x_77 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_77, 0, x_35); -lean_ctor_set(x_77, 1, x_40); -lean_ctor_set(x_77, 2, x_76); -x_78 = lean_array_push(x_68, x_77); -x_79 = lean_array_push(x_78, x_58); -x_80 = lean_array_push(x_79, x_66); -x_81 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_81, 0, x_35); -lean_ctor_set(x_81, 1, x_37); -lean_ctor_set(x_81, 2, x_80); -lean_ctor_set(x_33, 0, x_81); -return x_33; -} -else -{ -lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_82 = lean_ctor_get(x_6, 0); -lean_inc(x_82); -lean_dec(x_6); -x_83 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_35); +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +x_72 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; +lean_inc(x_36); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_36); +lean_ctor_set(x_73, 1, x_56); +lean_ctor_set(x_73, 2, x_72); +x_74 = lean_array_push(x_70, x_73); +x_75 = lean_array_push(x_74, x_57); +x_76 = lean_array_push(x_75, x_59); +x_77 = lean_array_push(x_76, x_33); +lean_inc(x_36); +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_36); +lean_ctor_set(x_78, 1, x_45); +lean_ctor_set(x_78, 2, x_77); +x_79 = lean_array_push(x_54, x_78); +lean_inc(x_36); +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_36); +lean_ctor_set(x_80, 1, x_43); +lean_ctor_set(x_80, 2, x_79); +x_81 = lean_array_push(x_71, x_80); +x_82 = lean_array_push(x_81, x_61); +x_83 = lean_array_push(x_82, x_69); x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_35); -lean_ctor_set(x_84, 1, x_53); +lean_ctor_set(x_84, 0, x_36); +lean_ctor_set(x_84, 1, x_38); lean_ctor_set(x_84, 2, x_83); -x_85 = lean_array_push(x_47, x_82); -x_86 = lean_array_push(x_85, x_84); -x_87 = l_Array_append___rarg(x_83, x_86); -lean_inc(x_35); -x_88 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_88, 0, x_35); -lean_ctor_set(x_88, 1, x_53); -lean_ctor_set(x_88, 2, x_87); -x_89 = lean_array_push(x_67, x_88); -x_90 = lean_array_push(x_89, x_54); -x_91 = lean_array_push(x_90, x_56); -x_92 = lean_array_push(x_91, x_32); -lean_inc(x_35); -x_93 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_93, 0, x_35); -lean_ctor_set(x_93, 1, x_42); -lean_ctor_set(x_93, 2, x_92); -x_94 = lean_array_push(x_51, x_93); -lean_inc(x_35); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_35); -lean_ctor_set(x_95, 1, x_40); -lean_ctor_set(x_95, 2, x_94); -x_96 = lean_array_push(x_68, x_95); -x_97 = lean_array_push(x_96, x_58); -x_98 = lean_array_push(x_97, x_66); -x_99 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_99, 0, x_35); -lean_ctor_set(x_99, 1, x_37); -lean_ctor_set(x_99, 2, x_98); -lean_ctor_set(x_33, 0, x_99); -return x_33; +lean_ctor_set(x_34, 0, x_84); +return x_34; +} +else +{ +lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +x_85 = lean_ctor_get(x_7, 0); +lean_inc(x_85); +lean_dec(x_7); +x_86 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_36); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_36); +lean_ctor_set(x_87, 1, x_56); +lean_ctor_set(x_87, 2, x_86); +x_88 = lean_array_push(x_50, x_85); +x_89 = lean_array_push(x_88, x_87); +x_90 = l_Array_append___rarg(x_86, x_89); +lean_inc(x_36); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_36); +lean_ctor_set(x_91, 1, x_56); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_array_push(x_70, x_91); +x_93 = lean_array_push(x_92, x_57); +x_94 = lean_array_push(x_93, x_59); +x_95 = lean_array_push(x_94, x_33); +lean_inc(x_36); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_36); +lean_ctor_set(x_96, 1, x_45); +lean_ctor_set(x_96, 2, x_95); +x_97 = lean_array_push(x_54, x_96); +lean_inc(x_36); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_36); +lean_ctor_set(x_98, 1, x_43); +lean_ctor_set(x_98, 2, x_97); +x_99 = lean_array_push(x_71, x_98); +x_100 = lean_array_push(x_99, x_61); +x_101 = lean_array_push(x_100, x_69); +x_102 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_102, 0, x_36); +lean_ctor_set(x_102, 1, x_38); +lean_ctor_set(x_102, 2, x_101); +lean_ctor_set(x_34, 0, x_102); +return x_34; } } else { -lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_100 = lean_ctor_get(x_33, 0); -x_101 = lean_ctor_get(x_33, 1); -lean_inc(x_101); -lean_inc(x_100); -lean_dec(x_33); -x_102 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; -lean_inc(x_2); -x_103 = l_Lean_Name_str___override(x_2, x_102); -lean_inc(x_100); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_100); -lean_ctor_set(x_104, 1, x_102); -x_105 = l_Lean_Elab_Term_expandHave___closed__2; +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; uint8_t x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_103 = lean_ctor_get(x_34, 0); +x_104 = lean_ctor_get(x_34, 1); +lean_inc(x_104); +lean_inc(x_103); +lean_dec(x_34); +x_105 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; lean_inc(x_2); x_106 = l_Lean_Name_str___override(x_2, x_105); -x_107 = l_Lean_Elab_Term_expandHave___closed__4; +x_107 = 0; +x_108 = l_Lean_SourceInfo_fromRef(x_5, x_107); +x_109 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_109, 0, x_108); +lean_ctor_set(x_109, 1, x_105); +x_110 = l_Lean_Elab_Term_expandHave___closed__2; lean_inc(x_2); -x_108 = l_Lean_Name_str___override(x_2, x_107); -x_109 = l_Lean_Elab_Term_expandShow___closed__19; +x_111 = l_Lean_Name_str___override(x_2, x_110); +x_112 = l_Lean_Elab_Term_expandHave___closed__4; lean_inc(x_2); -x_110 = l_Lean_Name_str___override(x_2, x_109); -x_111 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_100); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_100); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_114 = lean_array_push(x_113, x_112); -x_115 = lean_array_push(x_114, x_10); -lean_inc(x_100); -x_116 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_116, 0, x_100); -lean_ctor_set(x_116, 1, x_110); -lean_ctor_set(x_116, 2, x_115); -x_117 = l_Lean_Elab_Term_expandShow___closed__22; -x_118 = lean_array_push(x_117, x_116); -x_119 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -lean_inc(x_100); -x_120 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_120, 0, x_100); -lean_ctor_set(x_120, 1, x_119); -lean_ctor_set(x_120, 2, x_118); -x_121 = l_Lean_Elab_Term_expandShow___closed__23; -lean_inc(x_100); -x_122 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_122, 0, x_100); -lean_ctor_set(x_122, 1, x_121); -x_123 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_100); -x_124 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_124, 0, x_100); -lean_ctor_set(x_124, 1, x_123); -x_125 = l_Lean_Elab_Term_expandShow___closed__8; -x_126 = l_Lean_Name_str___override(x_2, x_125); -x_127 = l_Lean_SourceInfo_fromRef(x_22); -x_128 = l_Lean_Elab_Term_expandShow___closed__10; +x_113 = l_Lean_Name_str___override(x_2, x_112); +x_114 = l_Lean_Elab_Term_expandShow___closed__19; +lean_inc(x_2); +x_115 = l_Lean_Name_str___override(x_2, x_114); +x_116 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_103); +x_117 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_117, 0, x_103); +lean_ctor_set(x_117, 1, x_116); +x_118 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_119 = lean_array_push(x_118, x_117); +x_120 = lean_array_push(x_119, x_11); +lean_inc(x_103); +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_103); +lean_ctor_set(x_121, 1, x_115); +lean_ctor_set(x_121, 2, x_120); +x_122 = l_Lean_Elab_Term_expandShow___closed__22; +x_123 = lean_array_push(x_122, x_121); +x_124 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +lean_inc(x_103); +x_125 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_125, 0, x_103); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_125, 2, x_123); +x_126 = l_Lean_Elab_Term_expandShow___closed__23; +lean_inc(x_103); +x_127 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_127, 0, x_103); +lean_ctor_set(x_127, 1, x_126); +x_128 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_103); x_129 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 0, x_103); lean_ctor_set(x_129, 1, x_128); -x_130 = lean_array_push(x_113, x_129); -x_131 = lean_array_push(x_130, x_23); -lean_inc(x_100); -x_132 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_132, 0, x_100); -lean_ctor_set(x_132, 1, x_126); -lean_ctor_set(x_132, 2, x_131); -x_133 = l_Lean_Elab_Term_expandShow___closed__26; -x_134 = lean_array_push(x_133, x_104); -if (lean_obj_tag(x_6) == 0) +x_130 = l_Lean_Elab_Term_expandShow___closed__8; +x_131 = l_Lean_Name_str___override(x_2, x_130); +x_132 = l_Lean_SourceInfo_fromRef(x_23, x_107); +x_133 = l_Lean_Elab_Term_expandShow___closed__10; +x_134 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_134, 0, x_132); +lean_ctor_set(x_134, 1, x_133); +x_135 = lean_array_push(x_118, x_134); +x_136 = lean_array_push(x_135, x_24); +lean_inc(x_103); +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_103); +lean_ctor_set(x_137, 1, x_131); +lean_ctor_set(x_137, 2, x_136); +x_138 = l_Lean_Elab_Term_expandShow___closed__26; +x_139 = lean_array_push(x_138, x_109); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_135 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; -lean_inc(x_100); -x_136 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_136, 0, x_100); -lean_ctor_set(x_136, 1, x_119); -lean_ctor_set(x_136, 2, x_135); -x_137 = lean_array_push(x_133, x_136); -x_138 = lean_array_push(x_137, x_120); -x_139 = lean_array_push(x_138, x_122); -x_140 = lean_array_push(x_139, x_32); -lean_inc(x_100); +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_140 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; +lean_inc(x_103); x_141 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_141, 0, x_100); -lean_ctor_set(x_141, 1, x_108); +lean_ctor_set(x_141, 0, x_103); +lean_ctor_set(x_141, 1, x_124); lean_ctor_set(x_141, 2, x_140); -x_142 = lean_array_push(x_117, x_141); -lean_inc(x_100); -x_143 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_143, 0, x_100); -lean_ctor_set(x_143, 1, x_106); -lean_ctor_set(x_143, 2, x_142); -x_144 = lean_array_push(x_134, x_143); -x_145 = lean_array_push(x_144, x_124); -x_146 = lean_array_push(x_145, x_132); -x_147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_147, 0, x_100); -lean_ctor_set(x_147, 1, x_103); -lean_ctor_set(x_147, 2, x_146); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_101); -return x_148; +x_142 = lean_array_push(x_138, x_141); +x_143 = lean_array_push(x_142, x_125); +x_144 = lean_array_push(x_143, x_127); +x_145 = lean_array_push(x_144, x_33); +lean_inc(x_103); +x_146 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_146, 0, x_103); +lean_ctor_set(x_146, 1, x_113); +lean_ctor_set(x_146, 2, x_145); +x_147 = lean_array_push(x_122, x_146); +lean_inc(x_103); +x_148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_148, 0, x_103); +lean_ctor_set(x_148, 1, x_111); +lean_ctor_set(x_148, 2, x_147); +x_149 = lean_array_push(x_139, x_148); +x_150 = lean_array_push(x_149, x_129); +x_151 = lean_array_push(x_150, x_137); +x_152 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_152, 0, x_103); +lean_ctor_set(x_152, 1, x_106); +lean_ctor_set(x_152, 2, x_151); +x_153 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_104); +return x_153; } else { -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; -x_149 = lean_ctor_get(x_6, 0); -lean_inc(x_149); -lean_dec(x_6); -x_150 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_100); -x_151 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_151, 0, x_100); -lean_ctor_set(x_151, 1, x_119); -lean_ctor_set(x_151, 2, x_150); -x_152 = lean_array_push(x_113, x_149); -x_153 = lean_array_push(x_152, x_151); -x_154 = l_Array_append___rarg(x_150, x_153); -lean_inc(x_100); -x_155 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_155, 0, x_100); -lean_ctor_set(x_155, 1, x_119); -lean_ctor_set(x_155, 2, x_154); -x_156 = lean_array_push(x_133, x_155); -x_157 = lean_array_push(x_156, x_120); -x_158 = lean_array_push(x_157, x_122); -x_159 = lean_array_push(x_158, x_32); -lean_inc(x_100); +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_154 = lean_ctor_get(x_7, 0); +lean_inc(x_154); +lean_dec(x_7); +x_155 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_103); +x_156 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_156, 0, x_103); +lean_ctor_set(x_156, 1, x_124); +lean_ctor_set(x_156, 2, x_155); +x_157 = lean_array_push(x_118, x_154); +x_158 = lean_array_push(x_157, x_156); +x_159 = l_Array_append___rarg(x_155, x_158); +lean_inc(x_103); x_160 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_160, 0, x_100); -lean_ctor_set(x_160, 1, x_108); +lean_ctor_set(x_160, 0, x_103); +lean_ctor_set(x_160, 1, x_124); lean_ctor_set(x_160, 2, x_159); -x_161 = lean_array_push(x_117, x_160); -lean_inc(x_100); -x_162 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_162, 0, x_100); -lean_ctor_set(x_162, 1, x_106); -lean_ctor_set(x_162, 2, x_161); -x_163 = lean_array_push(x_134, x_162); -x_164 = lean_array_push(x_163, x_124); -x_165 = lean_array_push(x_164, x_132); -x_166 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_166, 0, x_100); -lean_ctor_set(x_166, 1, x_103); -lean_ctor_set(x_166, 2, x_165); -x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_167, 1, x_101); -return x_167; +x_161 = lean_array_push(x_138, x_160); +x_162 = lean_array_push(x_161, x_125); +x_163 = lean_array_push(x_162, x_127); +x_164 = lean_array_push(x_163, x_33); +lean_inc(x_103); +x_165 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_165, 0, x_103); +lean_ctor_set(x_165, 1, x_113); +lean_ctor_set(x_165, 2, x_164); +x_166 = lean_array_push(x_122, x_165); +lean_inc(x_103); +x_167 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_167, 0, x_103); +lean_ctor_set(x_167, 1, x_111); +lean_ctor_set(x_167, 2, x_166); +x_168 = lean_array_push(x_139, x_167); +x_169 = lean_array_push(x_168, x_129); +x_170 = lean_array_push(x_169, x_137); +x_171 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_171, 0, x_103); +lean_ctor_set(x_171, 1, x_106); +lean_ctor_set(x_171, 2, x_170); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_171); +lean_ctor_set(x_172, 1, x_104); +return x_172; } } } @@ -6900,284 +6917,286 @@ return x_167; } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; +lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; lean_dec(x_3); -x_168 = l_Lean_Syntax_getArg(x_12, x_9); -lean_dec(x_12); -x_169 = lean_unsigned_to_nat(3u); -x_170 = l_Lean_Syntax_getArg(x_4, x_169); -x_171 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_7, x_8); -x_172 = !lean_is_exclusive(x_171); -if (x_172 == 0) +x_173 = l_Lean_Syntax_getArg(x_13, x_10); +lean_dec(x_13); +x_174 = lean_unsigned_to_nat(3u); +x_175 = l_Lean_Syntax_getArg(x_4, x_174); +x_176 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_8, x_9); +x_177 = !lean_is_exclusive(x_176); +if (x_177 == 0) { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -x_173 = lean_ctor_get(x_171, 0); -x_174 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; -lean_inc(x_2); -x_175 = l_Lean_Name_str___override(x_2, x_174); -lean_inc(x_173); -x_176 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_176, 0, x_173); -lean_ctor_set(x_176, 1, x_174); -x_177 = l_Lean_Elab_Term_expandHave___closed__2; -lean_inc(x_2); -x_178 = l_Lean_Name_str___override(x_2, x_177); -x_179 = l_Lean_Elab_Term_expandHave___closed__4; +lean_object* x_178; lean_object* x_179; lean_object* x_180; uint8_t 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; +x_178 = lean_ctor_get(x_176, 0); +x_179 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; lean_inc(x_2); x_180 = l_Lean_Name_str___override(x_2, x_179); -x_181 = l_Lean_Elab_Term_expandShow___closed__19; -x_182 = l_Lean_Name_str___override(x_2, x_181); -x_183 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_173); -x_184 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_184, 0, x_173); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_186 = lean_array_push(x_185, x_184); -x_187 = lean_array_push(x_186, x_10); -lean_inc(x_173); -x_188 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_188, 0, x_173); -lean_ctor_set(x_188, 1, x_182); -lean_ctor_set(x_188, 2, x_187); -x_189 = l_Lean_Elab_Term_expandShow___closed__22; -x_190 = lean_array_push(x_189, x_188); -x_191 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -lean_inc(x_173); -x_192 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_192, 0, x_173); -lean_ctor_set(x_192, 1, x_191); -lean_ctor_set(x_192, 2, x_190); -x_193 = l_Lean_Elab_Term_expandShow___closed__23; -lean_inc(x_173); -x_194 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_194, 0, x_173); -lean_ctor_set(x_194, 1, x_193); -x_195 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_173); -x_196 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_196, 0, x_173); -lean_ctor_set(x_196, 1, x_195); -x_197 = l_Lean_Elab_Term_expandShow___closed__26; -x_198 = lean_array_push(x_197, x_176); -if (lean_obj_tag(x_6) == 0) +x_181 = 0; +x_182 = l_Lean_SourceInfo_fromRef(x_5, x_181); +x_183 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_183, 0, x_182); +lean_ctor_set(x_183, 1, x_179); +x_184 = l_Lean_Elab_Term_expandHave___closed__2; +lean_inc(x_2); +x_185 = l_Lean_Name_str___override(x_2, x_184); +x_186 = l_Lean_Elab_Term_expandHave___closed__4; +lean_inc(x_2); +x_187 = l_Lean_Name_str___override(x_2, x_186); +x_188 = l_Lean_Elab_Term_expandShow___closed__19; +x_189 = l_Lean_Name_str___override(x_2, x_188); +x_190 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_178); +x_191 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_191, 0, x_178); +lean_ctor_set(x_191, 1, x_190); +x_192 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_193 = lean_array_push(x_192, x_191); +x_194 = lean_array_push(x_193, x_11); +lean_inc(x_178); +x_195 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_195, 0, x_178); +lean_ctor_set(x_195, 1, x_189); +lean_ctor_set(x_195, 2, x_194); +x_196 = l_Lean_Elab_Term_expandShow___closed__22; +x_197 = lean_array_push(x_196, x_195); +x_198 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +lean_inc(x_178); +x_199 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_199, 0, x_178); +lean_ctor_set(x_199, 1, x_198); +lean_ctor_set(x_199, 2, x_197); +x_200 = l_Lean_Elab_Term_expandShow___closed__23; +lean_inc(x_178); +x_201 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_201, 0, x_178); +lean_ctor_set(x_201, 1, x_200); +x_202 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_178); +x_203 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_203, 0, x_178); +lean_ctor_set(x_203, 1, x_202); +x_204 = l_Lean_Elab_Term_expandShow___closed__26; +x_205 = lean_array_push(x_204, x_183); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; -x_199 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; -lean_inc(x_173); -x_200 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_200, 0, x_173); -lean_ctor_set(x_200, 1, x_191); -lean_ctor_set(x_200, 2, x_199); -x_201 = lean_array_push(x_197, x_200); -x_202 = lean_array_push(x_201, x_192); -x_203 = lean_array_push(x_202, x_194); -x_204 = lean_array_push(x_203, x_170); -lean_inc(x_173); -x_205 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_205, 0, x_173); -lean_ctor_set(x_205, 1, x_180); -lean_ctor_set(x_205, 2, x_204); -x_206 = lean_array_push(x_189, x_205); -lean_inc(x_173); +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; +x_206 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; +lean_inc(x_178); x_207 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_207, 0, x_173); -lean_ctor_set(x_207, 1, x_178); +lean_ctor_set(x_207, 0, x_178); +lean_ctor_set(x_207, 1, x_198); lean_ctor_set(x_207, 2, x_206); -x_208 = lean_array_push(x_198, x_207); -x_209 = lean_array_push(x_208, x_196); -x_210 = lean_array_push(x_209, x_168); -x_211 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_211, 0, x_173); -lean_ctor_set(x_211, 1, x_175); -lean_ctor_set(x_211, 2, x_210); -lean_ctor_set(x_171, 0, x_211); -return x_171; -} -else -{ -lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_212 = lean_ctor_get(x_6, 0); -lean_inc(x_212); -lean_dec(x_6); -x_213 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_173); +x_208 = lean_array_push(x_204, x_207); +x_209 = lean_array_push(x_208, x_199); +x_210 = lean_array_push(x_209, x_201); +x_211 = lean_array_push(x_210, x_175); +lean_inc(x_178); +x_212 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_212, 0, x_178); +lean_ctor_set(x_212, 1, x_187); +lean_ctor_set(x_212, 2, x_211); +x_213 = lean_array_push(x_196, x_212); +lean_inc(x_178); x_214 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_214, 0, x_173); -lean_ctor_set(x_214, 1, x_191); +lean_ctor_set(x_214, 0, x_178); +lean_ctor_set(x_214, 1, x_185); lean_ctor_set(x_214, 2, x_213); -x_215 = lean_array_push(x_185, x_212); -x_216 = lean_array_push(x_215, x_214); -x_217 = l_Array_append___rarg(x_213, x_216); -lean_inc(x_173); +x_215 = lean_array_push(x_205, x_214); +x_216 = lean_array_push(x_215, x_203); +x_217 = lean_array_push(x_216, x_173); x_218 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_218, 0, x_173); -lean_ctor_set(x_218, 1, x_191); +lean_ctor_set(x_218, 0, x_178); +lean_ctor_set(x_218, 1, x_180); lean_ctor_set(x_218, 2, x_217); -x_219 = lean_array_push(x_197, x_218); -x_220 = lean_array_push(x_219, x_192); -x_221 = lean_array_push(x_220, x_194); -x_222 = lean_array_push(x_221, x_170); -lean_inc(x_173); -x_223 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_223, 0, x_173); -lean_ctor_set(x_223, 1, x_180); -lean_ctor_set(x_223, 2, x_222); -x_224 = lean_array_push(x_189, x_223); -lean_inc(x_173); +lean_ctor_set(x_176, 0, x_218); +return x_176; +} +else +{ +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_219 = lean_ctor_get(x_7, 0); +lean_inc(x_219); +lean_dec(x_7); +x_220 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_178); +x_221 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_221, 0, x_178); +lean_ctor_set(x_221, 1, x_198); +lean_ctor_set(x_221, 2, x_220); +x_222 = lean_array_push(x_192, x_219); +x_223 = lean_array_push(x_222, x_221); +x_224 = l_Array_append___rarg(x_220, x_223); +lean_inc(x_178); x_225 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_225, 0, x_173); -lean_ctor_set(x_225, 1, x_178); +lean_ctor_set(x_225, 0, x_178); +lean_ctor_set(x_225, 1, x_198); lean_ctor_set(x_225, 2, x_224); -x_226 = lean_array_push(x_198, x_225); -x_227 = lean_array_push(x_226, x_196); -x_228 = lean_array_push(x_227, x_168); -x_229 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_229, 0, x_173); -lean_ctor_set(x_229, 1, x_175); -lean_ctor_set(x_229, 2, x_228); -lean_ctor_set(x_171, 0, x_229); -return x_171; +x_226 = lean_array_push(x_204, x_225); +x_227 = lean_array_push(x_226, x_199); +x_228 = lean_array_push(x_227, x_201); +x_229 = lean_array_push(x_228, x_175); +lean_inc(x_178); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_178); +lean_ctor_set(x_230, 1, x_187); +lean_ctor_set(x_230, 2, x_229); +x_231 = lean_array_push(x_196, x_230); +lean_inc(x_178); +x_232 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_232, 0, x_178); +lean_ctor_set(x_232, 1, x_185); +lean_ctor_set(x_232, 2, x_231); +x_233 = lean_array_push(x_205, x_232); +x_234 = lean_array_push(x_233, x_203); +x_235 = lean_array_push(x_234, x_173); +x_236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_236, 0, x_178); +lean_ctor_set(x_236, 1, x_180); +lean_ctor_set(x_236, 2, x_235); +lean_ctor_set(x_176, 0, x_236); +return x_176; } } else { -lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; -x_230 = lean_ctor_get(x_171, 0); -x_231 = lean_ctor_get(x_171, 1); -lean_inc(x_231); -lean_inc(x_230); -lean_dec(x_171); -x_232 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; +lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; uint8_t x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_237 = lean_ctor_get(x_176, 0); +x_238 = lean_ctor_get(x_176, 1); +lean_inc(x_238); +lean_inc(x_237); +lean_dec(x_176); +x_239 = l_Lean_Elab_Term_expandHave___lambda__2___closed__2; lean_inc(x_2); -x_233 = l_Lean_Name_str___override(x_2, x_232); -lean_inc(x_230); -x_234 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_234, 0, x_230); -lean_ctor_set(x_234, 1, x_232); -x_235 = l_Lean_Elab_Term_expandHave___closed__2; -lean_inc(x_2); -x_236 = l_Lean_Name_str___override(x_2, x_235); -x_237 = l_Lean_Elab_Term_expandHave___closed__4; -lean_inc(x_2); -x_238 = l_Lean_Name_str___override(x_2, x_237); -x_239 = l_Lean_Elab_Term_expandShow___closed__19; x_240 = l_Lean_Name_str___override(x_2, x_239); -x_241 = l_Lean_Elab_Term_expandShow___closed__21; -lean_inc(x_230); -x_242 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_242, 0, x_230); -lean_ctor_set(x_242, 1, x_241); -x_243 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; -x_244 = lean_array_push(x_243, x_242); -x_245 = lean_array_push(x_244, x_10); -lean_inc(x_230); -x_246 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_246, 0, x_230); -lean_ctor_set(x_246, 1, x_240); -lean_ctor_set(x_246, 2, x_245); -x_247 = l_Lean_Elab_Term_expandShow___closed__22; -x_248 = lean_array_push(x_247, x_246); -x_249 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; -lean_inc(x_230); -x_250 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_250, 0, x_230); -lean_ctor_set(x_250, 1, x_249); -lean_ctor_set(x_250, 2, x_248); -x_251 = l_Lean_Elab_Term_expandShow___closed__23; -lean_inc(x_230); -x_252 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_252, 0, x_230); -lean_ctor_set(x_252, 1, x_251); -x_253 = l_Lean_Elab_Term_expandShow___closed__25; -lean_inc(x_230); -x_254 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_254, 0, x_230); -lean_ctor_set(x_254, 1, x_253); -x_255 = l_Lean_Elab_Term_expandShow___closed__26; -x_256 = lean_array_push(x_255, x_234); -if (lean_obj_tag(x_6) == 0) +x_241 = 0; +x_242 = l_Lean_SourceInfo_fromRef(x_5, x_241); +x_243 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_243, 0, x_242); +lean_ctor_set(x_243, 1, x_239); +x_244 = l_Lean_Elab_Term_expandHave___closed__2; +lean_inc(x_2); +x_245 = l_Lean_Name_str___override(x_2, x_244); +x_246 = l_Lean_Elab_Term_expandHave___closed__4; +lean_inc(x_2); +x_247 = l_Lean_Name_str___override(x_2, x_246); +x_248 = l_Lean_Elab_Term_expandShow___closed__19; +x_249 = l_Lean_Name_str___override(x_2, x_248); +x_250 = l_Lean_Elab_Term_expandShow___closed__21; +lean_inc(x_237); +x_251 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_251, 0, x_237); +lean_ctor_set(x_251, 1, x_250); +x_252 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__10; +x_253 = lean_array_push(x_252, x_251); +x_254 = lean_array_push(x_253, x_11); +lean_inc(x_237); +x_255 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_255, 0, x_237); +lean_ctor_set(x_255, 1, x_249); +lean_ctor_set(x_255, 2, x_254); +x_256 = l_Lean_Elab_Term_expandShow___closed__22; +x_257 = lean_array_push(x_256, x_255); +x_258 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__3; +lean_inc(x_237); +x_259 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_259, 0, x_237); +lean_ctor_set(x_259, 1, x_258); +lean_ctor_set(x_259, 2, x_257); +x_260 = l_Lean_Elab_Term_expandShow___closed__23; +lean_inc(x_237); +x_261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_261, 0, x_237); +lean_ctor_set(x_261, 1, x_260); +x_262 = l_Lean_Elab_Term_expandShow___closed__25; +lean_inc(x_237); +x_263 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_263, 0, x_237); +lean_ctor_set(x_263, 1, x_262); +x_264 = l_Lean_Elab_Term_expandShow___closed__26; +x_265 = lean_array_push(x_264, x_243); +if (lean_obj_tag(x_7) == 0) { -lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_257 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; -lean_inc(x_230); -x_258 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_258, 0, x_230); -lean_ctor_set(x_258, 1, x_249); -lean_ctor_set(x_258, 2, x_257); -x_259 = lean_array_push(x_255, x_258); -x_260 = lean_array_push(x_259, x_250); -x_261 = lean_array_push(x_260, x_252); -x_262 = lean_array_push(x_261, x_170); -lean_inc(x_230); -x_263 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_263, 0, x_230); -lean_ctor_set(x_263, 1, x_238); -lean_ctor_set(x_263, 2, x_262); -x_264 = lean_array_push(x_247, x_263); -lean_inc(x_230); -x_265 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_265, 0, x_230); -lean_ctor_set(x_265, 1, x_236); -lean_ctor_set(x_265, 2, x_264); -x_266 = lean_array_push(x_256, x_265); -x_267 = lean_array_push(x_266, x_254); -x_268 = lean_array_push(x_267, x_168); -x_269 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_269, 0, x_230); -lean_ctor_set(x_269, 1, x_233); -lean_ctor_set(x_269, 2, x_268); -x_270 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_270, 0, x_269); -lean_ctor_set(x_270, 1, x_231); -return x_270; +lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_266 = l_Lean_Elab_Term_expandHave___lambda__1___closed__1; +lean_inc(x_237); +x_267 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_267, 0, x_237); +lean_ctor_set(x_267, 1, x_258); +lean_ctor_set(x_267, 2, x_266); +x_268 = lean_array_push(x_264, x_267); +x_269 = lean_array_push(x_268, x_259); +x_270 = lean_array_push(x_269, x_261); +x_271 = lean_array_push(x_270, x_175); +lean_inc(x_237); +x_272 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_272, 0, x_237); +lean_ctor_set(x_272, 1, x_247); +lean_ctor_set(x_272, 2, x_271); +x_273 = lean_array_push(x_256, x_272); +lean_inc(x_237); +x_274 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_274, 0, x_237); +lean_ctor_set(x_274, 1, x_245); +lean_ctor_set(x_274, 2, x_273); +x_275 = lean_array_push(x_265, x_274); +x_276 = lean_array_push(x_275, x_263); +x_277 = lean_array_push(x_276, x_173); +x_278 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_278, 0, x_237); +lean_ctor_set(x_278, 1, x_240); +lean_ctor_set(x_278, 2, x_277); +x_279 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_279, 0, x_278); +lean_ctor_set(x_279, 1, x_238); +return x_279; } else { -lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; -x_271 = lean_ctor_get(x_6, 0); -lean_inc(x_271); -lean_dec(x_6); -x_272 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; -lean_inc(x_230); -x_273 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_273, 0, x_230); -lean_ctor_set(x_273, 1, x_249); -lean_ctor_set(x_273, 2, x_272); -x_274 = lean_array_push(x_243, x_271); -x_275 = lean_array_push(x_274, x_273); -x_276 = l_Array_append___rarg(x_272, x_275); -lean_inc(x_230); -x_277 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_277, 0, x_230); -lean_ctor_set(x_277, 1, x_249); -lean_ctor_set(x_277, 2, x_276); -x_278 = lean_array_push(x_255, x_277); -x_279 = lean_array_push(x_278, x_250); -x_280 = lean_array_push(x_279, x_252); -x_281 = lean_array_push(x_280, x_170); -lean_inc(x_230); +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_280 = lean_ctor_get(x_7, 0); +lean_inc(x_280); +lean_dec(x_7); +x_281 = l_Lean_Elab_Term_elabAnonymousCtor___lambda__3___closed__4; +lean_inc(x_237); x_282 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_282, 0, x_230); -lean_ctor_set(x_282, 1, x_238); +lean_ctor_set(x_282, 0, x_237); +lean_ctor_set(x_282, 1, x_258); lean_ctor_set(x_282, 2, x_281); -x_283 = lean_array_push(x_247, x_282); -lean_inc(x_230); -x_284 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_284, 0, x_230); -lean_ctor_set(x_284, 1, x_236); -lean_ctor_set(x_284, 2, x_283); -x_285 = lean_array_push(x_256, x_284); -x_286 = lean_array_push(x_285, x_254); -x_287 = lean_array_push(x_286, x_168); -x_288 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_288, 0, x_230); -lean_ctor_set(x_288, 1, x_233); -lean_ctor_set(x_288, 2, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_231); -return x_289; +x_283 = lean_array_push(x_252, x_280); +x_284 = lean_array_push(x_283, x_282); +x_285 = l_Array_append___rarg(x_281, x_284); +lean_inc(x_237); +x_286 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_286, 0, x_237); +lean_ctor_set(x_286, 1, x_258); +lean_ctor_set(x_286, 2, x_285); +x_287 = lean_array_push(x_264, x_286); +x_288 = lean_array_push(x_287, x_259); +x_289 = lean_array_push(x_288, x_261); +x_290 = lean_array_push(x_289, x_175); +lean_inc(x_237); +x_291 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_291, 0, x_237); +lean_ctor_set(x_291, 1, x_247); +lean_ctor_set(x_291, 2, x_290); +x_292 = lean_array_push(x_256, x_291); +lean_inc(x_237); +x_293 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_293, 0, x_237); +lean_ctor_set(x_293, 1, x_245); +lean_ctor_set(x_293, 2, x_292); +x_294 = lean_array_push(x_265, x_293); +x_295 = lean_array_push(x_294, x_263); +x_296 = lean_array_push(x_295, x_173); +x_297 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_297, 0, x_237); +lean_ctor_set(x_297, 1, x_240); +lean_ctor_set(x_297, 2, x_296); +x_298 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_238); +return x_298; } } } @@ -7239,91 +7258,94 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; -x_8 = lean_unsigned_to_nat(1u); +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; +x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); -x_10 = l_Lean_Elab_Term_expandSuffices___closed__4; -lean_inc(x_9); -x_11 = l_Lean_Syntax_isOfKind(x_9, x_10); -if (x_11 == 0) +x_10 = lean_unsigned_to_nat(1u); +x_11 = l_Lean_Syntax_getArg(x_1, x_10); +x_12 = l_Lean_Elab_Term_expandSuffices___closed__4; +lean_inc(x_11); +x_13 = l_Lean_Syntax_isOfKind(x_11, x_12); +if (x_13 == 0) { -lean_object* x_12; lean_object* x_13; +lean_object* x_14; lean_object* x_15; +lean_dec(x_11); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_12 = lean_box(1); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_12); -lean_ctor_set(x_13, 1, x_3); -return x_13; +x_14 = lean_box(1); +x_15 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_3); +return x_15; } else { -lean_object* x_14; lean_object* x_15; uint8_t x_16; -x_14 = lean_unsigned_to_nat(0u); -x_15 = l_Lean_Syntax_getArg(x_9, x_14); -x_16 = l_Lean_Syntax_isNone(x_15); -if (x_16 == 0) +lean_object* x_16; uint8_t x_17; +x_16 = l_Lean_Syntax_getArg(x_11, x_8); +x_17 = l_Lean_Syntax_isNone(x_16); +if (x_17 == 0) { -lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(2u); -lean_inc(x_15); -x_18 = l_Lean_Syntax_matchesNull(x_15, x_17); -if (x_18 == 0) +lean_object* x_18; uint8_t x_19; +x_18 = lean_unsigned_to_nat(2u); +lean_inc(x_16); +x_19 = l_Lean_Syntax_matchesNull(x_16, x_18); +if (x_19 == 0) { -lean_object* x_19; lean_object* x_20; -lean_dec(x_15); +lean_object* x_20; lean_object* x_21; +lean_dec(x_16); +lean_dec(x_11); lean_dec(x_9); lean_dec(x_2); lean_dec(x_1); -x_19 = lean_box(1); -x_20 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_20, 0, x_19); -lean_ctor_set(x_20, 1, x_3); -return x_20; +x_20 = lean_box(1); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_3); +return x_21; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_21 = l_Lean_Syntax_getArg(x_15, x_14); -lean_dec(x_15); -x_22 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_22, 0, x_21); -x_23 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_24 = l_Lean_Elab_Term_elabAnonymousCtor___closed__2; -x_25 = lean_box(0); -x_26 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_9, x_23, x_24, x_1, x_25, x_22, x_2, x_3); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_22 = l_Lean_Syntax_getArg(x_16, x_8); +lean_dec(x_16); +x_23 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_23, 0, x_22); +x_24 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_25 = l_Lean_Elab_Term_elabAnonymousCtor___closed__2; +x_26 = lean_box(0); +x_27 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_11, x_24, x_25, x_1, x_9, x_26, x_23, x_2, x_3); lean_dec(x_1); -lean_dec(x_9); -return x_26; +lean_dec(x_11); +return x_27; } } else { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -lean_dec(x_15); -x_27 = lean_box(0); -x_28 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; -x_29 = l_Lean_Elab_Term_elabAnonymousCtor___closed__2; -x_30 = lean_box(0); -x_31 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_9, x_28, x_29, x_1, x_30, x_27, x_2, x_3); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; +lean_dec(x_16); +x_28 = lean_box(0); +x_29 = l_Lean_Elab_Term_elabAnonymousCtor___closed__3; +x_30 = l_Lean_Elab_Term_elabAnonymousCtor___closed__2; +x_31 = lean_box(0); +x_32 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_11, x_29, x_30, x_1, x_9, x_31, x_28, x_2, x_3); lean_dec(x_1); -lean_dec(x_9); -return x_31; +lean_dec(x_11); +return x_32; } } } } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_expandSuffices___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_9; -x_9 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8); -lean_dec(x_5); +lean_object* x_10; +x_10 = l_Lean_Elab_Term_expandSuffices___lambda__1(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +lean_dec(x_6); lean_dec(x_4); lean_dec(x_1); -return x_9; +return x_10; } } static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices___closed__1() { @@ -7368,7 +7390,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(86u); +x_1 = lean_unsigned_to_nat(85u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7380,7 +7402,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(88u); x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); @@ -7394,7 +7416,7 @@ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_obj x_1 = l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange___closed__1; x_2 = lean_unsigned_to_nat(42u); x_3 = l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange___closed__2; -x_4 = lean_unsigned_to_nat(89u); +x_4 = lean_unsigned_to_nat(88u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); lean_ctor_set(x_5, 1, x_2); @@ -7407,7 +7429,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(86u); +x_1 = lean_unsigned_to_nat(85u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7419,7 +7441,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandSuffices_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(86u); +x_1 = lean_unsigned_to_nat(85u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7873,11 +7895,12 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__41() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__40; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__42() { @@ -7901,11 +7924,12 @@ return x_3; static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__44() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__43; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_elabParserMacroAux___closed__45() { @@ -8819,7 +8843,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(102u); +x_1 = lean_unsigned_to_nat(101u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8831,7 +8855,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(106u); +x_1 = lean_unsigned_to_nat(105u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8859,7 +8883,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(102u); +x_1 = lean_unsigned_to_nat(101u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8871,7 +8895,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabLeadingParserMacro_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(102u); +x_1 = lean_unsigned_to_nat(101u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9515,7 +9539,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(114u); +x_1 = lean_unsigned_to_nat(113u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9527,7 +9551,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(118u); +x_1 = lean_unsigned_to_nat(117u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9555,7 +9579,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(114u); +x_1 = lean_unsigned_to_nat(113u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -9567,7 +9591,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabTrailingParserMacro_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(114u); +x_1 = lean_unsigned_to_nat(113u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10151,7 +10175,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(120u); +x_1 = lean_unsigned_to_nat(119u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10163,7 +10187,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(129u); +x_1 = lean_unsigned_to_nat(128u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10191,7 +10215,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(120u); +x_1 = lean_unsigned_to_nat(119u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10203,7 +10227,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabPanic_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(120u); +x_1 = lean_unsigned_to_nat(119u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10440,7 +10464,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(131u); +x_1 = lean_unsigned_to_nat(130u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10452,7 +10476,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(132u); +x_1 = lean_unsigned_to_nat(131u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10480,7 +10504,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(131u); +x_1 = lean_unsigned_to_nat(130u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -10492,7 +10516,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandUnreachable_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(131u); +x_1 = lean_unsigned_to_nat(130u); x_2 = lean_unsigned_to_nat(67u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11163,7 +11187,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(134u); +x_1 = lean_unsigned_to_nat(133u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11175,7 +11199,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(140u); +x_1 = lean_unsigned_to_nat(139u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11203,7 +11227,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(134u); +x_1 = lean_unsigned_to_nat(133u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -11215,7 +11239,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandAssert_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(134u); +x_1 = lean_unsigned_to_nat(133u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12202,7 +12226,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(142u); +x_1 = lean_unsigned_to_nat(141u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12214,7 +12238,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(145u); +x_1 = lean_unsigned_to_nat(144u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12242,7 +12266,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(142u); +x_1 = lean_unsigned_to_nat(141u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12254,7 +12278,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandDbgTrace_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(142u); +x_1 = lean_unsigned_to_nat(141u); x_2 = lean_unsigned_to_nat(61u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12569,7 +12593,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(147u); +x_1 = lean_unsigned_to_nat(146u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12581,7 +12605,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(149u); +x_1 = lean_unsigned_to_nat(148u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12609,7 +12633,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(147u); +x_1 = lean_unsigned_to_nat(146u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -12621,7 +12645,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSorry_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(147u); +x_1 = lean_unsigned_to_nat(146u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -13124,18 +13148,19 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_expandCDot_x3f_go___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; x_4 = lean_ctor_get(x_2, 5); lean_inc(x_4); lean_dec(x_2); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_1); +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); -return x_7; +lean_ctor_set(x_7, 1, 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; } } static lean_object* _init_l_Lean_Elab_Term_expandCDot_x3f_go___closed__1() { @@ -17288,7 +17313,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(225u); +x_1 = lean_unsigned_to_nat(224u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17300,7 +17325,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(240u); +x_1 = lean_unsigned_to_nat(239u); x_2 = lean_unsigned_to_nat(74u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17328,7 +17353,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(225u); +x_1 = lean_unsigned_to_nat(224u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17340,7 +17365,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_expandParen_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(225u); +x_1 = lean_unsigned_to_nat(224u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17634,7 +17659,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabParen_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(242u); +x_1 = lean_unsigned_to_nat(241u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17646,7 +17671,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabParen_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(248u); +x_1 = lean_unsigned_to_nat(247u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17674,7 +17699,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabParen_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(242u); +x_1 = lean_unsigned_to_nat(241u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -17686,7 +17711,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabParen_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(242u); +x_1 = lean_unsigned_to_nat(241u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -19787,27 +19812,27 @@ return x_8; LEAN_EXPORT lean_object* l___private_Lean_Elab_BuiltinNotation_0__Lean_Elab_Term_withLocalIdentFor___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; -x_12 = l_Lean_mkIdentFrom(x_1, x_2); +uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_12 = 0; +x_13 = l_Lean_mkIdentFrom(x_1, x_2, x_12); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_13 = lean_apply_8(x_3, x_12, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_13) == 0) +x_14 = lean_apply_8(x_3, x_13, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_14) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_15 = lean_ctor_get(x_14, 0); lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_Elab_Term_expandShow___closed__22; -x_17 = lean_array_push(x_16, x_4); -x_18 = 0; +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +x_17 = l_Lean_Elab_Term_expandShow___closed__22; +x_18 = lean_array_push(x_17, x_4); x_19 = 1; x_20 = 1; -x_21 = l_Lean_Meta_mkLambdaFVars(x_17, x_14, x_18, x_19, x_20, x_7, x_8, x_9, x_10, x_15); +x_21 = l_Lean_Meta_mkLambdaFVars(x_18, x_15, x_12, x_19, x_20, x_7, x_8, x_9, x_10, x_16); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -19822,19 +19847,19 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_4); -x_22 = !lean_is_exclusive(x_13); +x_22 = !lean_is_exclusive(x_14); if (x_22 == 0) { -return x_13; +return x_14; } else { lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_13, 0); -x_24 = lean_ctor_get(x_13, 1); +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_dec(x_13); +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); @@ -22554,7 +22579,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(269u); +x_1 = lean_unsigned_to_nat(268u); x_2 = lean_unsigned_to_nat(25u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22566,7 +22591,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(341u); +x_1 = lean_unsigned_to_nat(340u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22594,7 +22619,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(269u); +x_1 = lean_unsigned_to_nat(268u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22606,7 +22631,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabSubst_declRange___cl _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(269u); +x_1 = lean_unsigned_to_nat(268u); x_2 = lean_unsigned_to_nat(38u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23042,7 +23067,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(343u); +x_1 = lean_unsigned_to_nat(342u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23054,7 +23079,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(352u); +x_1 = lean_unsigned_to_nat(351u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23082,7 +23107,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(343u); +x_1 = lean_unsigned_to_nat(342u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23094,7 +23119,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabStateRefT_declRange_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(343u); +x_1 = lean_unsigned_to_nat(342u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23268,7 +23293,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(354u); +x_1 = lean_unsigned_to_nat(353u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23280,7 +23305,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(356u); +x_1 = lean_unsigned_to_nat(355u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23308,7 +23333,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(354u); +x_1 = lean_unsigned_to_nat(353u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -23320,7 +23345,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_elabNoindex_declRange___ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(354u); +x_1 = lean_unsigned_to_nat(353u); x_2 = lean_unsigned_to_nat(42u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Elab/Declaration.c b/stage0/stdlib/Lean/Elab/Declaration.c index fd8dddac39..045ab622dd 100644 --- a/stage0/stdlib/Lean/Elab/Declaration.c +++ b/stage0/stdlib/Lean/Elab/Declaration.c @@ -78,7 +78,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize_declRange_ static lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_checkValidCtorModifier___at___private_Lean_Elab_Declaration_0__Lean_Elab_Command_inductiveSyntaxToView___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_getDefName_x3f(lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___regBuiltin_Lean_Elab_Command_expandMutualElement_declRange___closed__5; static lean_object* l_Lean_Elab_Command_elabDeclaration___closed__4; static lean_object* l_Lean_Elab_Command_expandInitialize___closed__3; @@ -127,7 +127,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabDeclaration_declRange__ extern lean_object* l_Lean_declRangeExt; static lean_object* l___private_Lean_Elab_Declaration_0__Lean_Elab_Command_setDeclIdName___closed__1; lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMutualNamespace___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMutual___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Command_expandInitialize(lean_object*); @@ -5639,7 +5639,7 @@ return x_66; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; 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_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; x_67 = lean_ctor_get(x_7, 0); lean_inc(x_67); lean_dec(x_7); @@ -5651,96 +5651,97 @@ lean_inc(x_69); x_70 = lean_ctor_get(x_67, 1); lean_inc(x_70); lean_dec(x_67); +x_71 = 0; lean_inc(x_1); -x_71 = l_Lean_mkIdentFrom(x_1, x_69); -x_72 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(x_2, x_3, x_68); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); +x_72 = l_Lean_mkIdentFrom(x_1, x_69, x_71); +x_73 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkDefViewOfInstance___spec__11(x_2, x_3, x_68); +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_74); -x_76 = lean_ctor_get(x_75, 1); -lean_inc(x_76); -lean_dec(x_75); -x_77 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_76); -x_78 = lean_ctor_get(x_77, 1); -lean_inc(x_78); -lean_dec(x_77); -x_79 = l_Lean_Elab_Command_elabDeclaration___closed__5; -lean_inc(x_73); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_73); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_82 = lean_array_push(x_81, x_80); -lean_inc(x_71); -x_83 = lean_array_push(x_82, x_71); -x_84 = l_Lean_Elab_Command_elabDeclaration___closed__6; -lean_inc(x_73); -x_85 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_85, 0, x_73); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_85, 2, x_83); -x_86 = l_Lean_Elab_Command_elabDeclaration___closed__8; -lean_inc(x_73); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_73); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Elab_Command_elabInductive___closed__1; -x_89 = lean_array_push(x_88, x_71); -x_90 = l_Lean_Elab_Command_elabDeclaration___closed__4; -lean_inc(x_73); -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_73); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_89); -x_92 = lean_array_push(x_81, x_87); -x_93 = lean_array_push(x_92, x_91); -x_94 = l_Lean_Elab_Command_elabDeclaration___closed__9; -lean_inc(x_73); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_73); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set(x_95, 2, x_93); -x_96 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_97 = lean_array_push(x_96, x_85); -x_98 = lean_array_push(x_97, x_70); -x_99 = lean_array_push(x_98, x_95); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_73); -lean_ctor_set(x_100, 1, x_90); -lean_ctor_set(x_100, 2, x_99); -lean_inc(x_100); -x_101 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); -lean_closure_set(x_101, 0, x_100); -x_102 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_100, x_101, x_2, x_3, x_78); -return x_102; +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Elab_Command_getCurrMacroScope(x_2, x_3, x_75); +x_77 = lean_ctor_get(x_76, 1); +lean_inc(x_77); +lean_dec(x_76); +x_78 = l_Lean_Elab_Command_getMainModule___rarg(x_3, x_77); +x_79 = lean_ctor_get(x_78, 1); +lean_inc(x_79); +lean_dec(x_78); +x_80 = l_Lean_Elab_Command_elabDeclaration___closed__5; +lean_inc(x_74); +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_74); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_83 = lean_array_push(x_82, x_81); +lean_inc(x_72); +x_84 = lean_array_push(x_83, x_72); +x_85 = l_Lean_Elab_Command_elabDeclaration___closed__6; +lean_inc(x_74); +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_74); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_84); +x_87 = l_Lean_Elab_Command_elabDeclaration___closed__8; +lean_inc(x_74); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_74); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Elab_Command_elabInductive___closed__1; +x_90 = lean_array_push(x_89, x_72); +x_91 = l_Lean_Elab_Command_elabDeclaration___closed__4; +lean_inc(x_74); +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_74); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_90); +x_93 = lean_array_push(x_82, x_88); +x_94 = lean_array_push(x_93, x_92); +x_95 = l_Lean_Elab_Command_elabDeclaration___closed__9; +lean_inc(x_74); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_74); +lean_ctor_set(x_96, 1, x_95); +lean_ctor_set(x_96, 2, x_94); +x_97 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_98 = lean_array_push(x_97, x_86); +x_99 = lean_array_push(x_98, x_70); +x_100 = lean_array_push(x_99, x_96); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_74); +lean_ctor_set(x_101, 1, x_91); +lean_ctor_set(x_101, 2, x_100); +lean_inc(x_101); +x_102 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabCommand), 4, 1); +lean_closure_set(x_102, 0, x_101); +x_103 = l_Lean_Elab_Command_withMacroExpansion___rarg(x_1, x_101, x_102, x_2, x_3, x_79); +return x_103; } } else { -uint8_t x_103; +uint8_t x_104; lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_103 = !lean_is_exclusive(x_6); -if (x_103 == 0) +x_104 = !lean_is_exclusive(x_6); +if (x_104 == 0) { return x_6; } else { -lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_104 = lean_ctor_get(x_6, 0); -x_105 = lean_ctor_get(x_6, 1); +lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_105 = lean_ctor_get(x_6, 0); +x_106 = lean_ctor_get(x_6, 1); +lean_inc(x_106); lean_inc(x_105); -lean_inc(x_104); lean_dec(x_6); -x_106 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_106, 0, x_104); -lean_ctor_set(x_106, 1, x_105); -return x_106; +x_107 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_107, 0, x_105); +lean_ctor_set(x_107, 1, x_106); +return x_107; } } } @@ -7033,154 +7034,155 @@ lean_inc(x_6); x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_expandMutualNamespace___spec__3(x_2, x_9, x_3, x_1, x_6, x_7); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); +x_13 = 0; lean_inc(x_4); -x_13 = l_Lean_mkIdentFrom(x_4, x_2); -x_14 = lean_box(2); -x_15 = l_Lean_Elab_Command_elabDeclaration___closed__4; -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_11); -x_17 = lean_unsigned_to_nat(1u); -x_18 = l_Lean_Syntax_setArg(x_4, x_17, x_16); -x_19 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_6, x_12); -x_20 = !lean_is_exclusive(x_19); -if (x_20 == 0) +x_14 = l_Lean_mkIdentFrom(x_4, x_2, x_13); +x_15 = lean_box(2); +x_16 = l_Lean_Elab_Command_elabDeclaration___closed__4; +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_11); +x_18 = lean_unsigned_to_nat(1u); +x_19 = l_Lean_Syntax_setArg(x_4, x_18, x_17); +x_20 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_6, x_12); +x_21 = !lean_is_exclusive(x_20); +if (x_21 == 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; lean_object* x_41; lean_object* x_42; -x_21 = lean_ctor_get(x_19, 0); -x_22 = l_Lean_Elab_Command_elabDeclaration___closed__5; -lean_inc(x_21); -x_23 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_24 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_25 = lean_array_push(x_24, x_23); -lean_inc(x_13); -x_26 = lean_array_push(x_25, x_13); -x_27 = l_Lean_Elab_Command_elabDeclaration___closed__6; -lean_inc(x_21); -x_28 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_28, 0, x_21); -lean_ctor_set(x_28, 1, x_27); -lean_ctor_set(x_28, 2, x_26); -x_29 = l_Lean_Elab_Command_elabDeclaration___closed__8; -lean_inc(x_21); -x_30 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_30, 0, x_21); -lean_ctor_set(x_30, 1, x_29); -x_31 = l_Lean_Elab_Command_elabInductive___closed__1; -x_32 = lean_array_push(x_31, x_13); -lean_inc(x_21); -x_33 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_33, 0, x_21); -lean_ctor_set(x_33, 1, x_15); -lean_ctor_set(x_33, 2, x_32); -x_34 = lean_array_push(x_24, x_30); -x_35 = lean_array_push(x_34, x_33); -x_36 = l_Lean_Elab_Command_elabDeclaration___closed__9; -lean_inc(x_21); -x_37 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_37, 0, x_21); -lean_ctor_set(x_37, 1, x_36); -lean_ctor_set(x_37, 2, x_35); -x_38 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_39 = lean_array_push(x_38, x_28); -x_40 = lean_array_push(x_39, x_18); -x_41 = lean_array_push(x_40, x_37); -x_42 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_42, 0, x_21); -lean_ctor_set(x_42, 1, x_15); -lean_ctor_set(x_42, 2, x_41); -lean_ctor_set(x_19, 0, x_42); -return x_19; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_22 = lean_ctor_get(x_20, 0); +x_23 = l_Lean_Elab_Command_elabDeclaration___closed__5; +lean_inc(x_22); +x_24 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_25 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_26 = lean_array_push(x_25, x_24); +lean_inc(x_14); +x_27 = lean_array_push(x_26, x_14); +x_28 = l_Lean_Elab_Command_elabDeclaration___closed__6; +lean_inc(x_22); +x_29 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_29, 0, x_22); +lean_ctor_set(x_29, 1, x_28); +lean_ctor_set(x_29, 2, x_27); +x_30 = l_Lean_Elab_Command_elabDeclaration___closed__8; +lean_inc(x_22); +x_31 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_31, 0, x_22); +lean_ctor_set(x_31, 1, x_30); +x_32 = l_Lean_Elab_Command_elabInductive___closed__1; +x_33 = lean_array_push(x_32, x_14); +lean_inc(x_22); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_22); +lean_ctor_set(x_34, 1, x_16); +lean_ctor_set(x_34, 2, x_33); +x_35 = lean_array_push(x_25, x_31); +x_36 = lean_array_push(x_35, x_34); +x_37 = l_Lean_Elab_Command_elabDeclaration___closed__9; +lean_inc(x_22); +x_38 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_38, 0, x_22); +lean_ctor_set(x_38, 1, x_37); +lean_ctor_set(x_38, 2, x_36); +x_39 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_40 = lean_array_push(x_39, x_29); +x_41 = lean_array_push(x_40, x_19); +x_42 = lean_array_push(x_41, x_38); +x_43 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_43, 0, x_22); +lean_ctor_set(x_43, 1, x_16); +lean_ctor_set(x_43, 2, x_42); +lean_ctor_set(x_20, 0, x_43); +return x_20; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_43 = lean_ctor_get(x_19, 0); -x_44 = lean_ctor_get(x_19, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_44 = lean_ctor_get(x_20, 0); +x_45 = lean_ctor_get(x_20, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); -lean_dec(x_19); -x_45 = l_Lean_Elab_Command_elabDeclaration___closed__5; -lean_inc(x_43); -x_46 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_Elab_Command_elabDeclaration___closed__7; -x_48 = lean_array_push(x_47, x_46); -lean_inc(x_13); -x_49 = lean_array_push(x_48, x_13); -x_50 = l_Lean_Elab_Command_elabDeclaration___closed__6; -lean_inc(x_43); -x_51 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_51, 0, x_43); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_49); -x_52 = l_Lean_Elab_Command_elabDeclaration___closed__8; -lean_inc(x_43); -x_53 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_53, 0, x_43); -lean_ctor_set(x_53, 1, x_52); -x_54 = l_Lean_Elab_Command_elabInductive___closed__1; -x_55 = lean_array_push(x_54, x_13); -lean_inc(x_43); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_43); -lean_ctor_set(x_56, 1, x_15); -lean_ctor_set(x_56, 2, x_55); -x_57 = lean_array_push(x_47, x_53); -x_58 = lean_array_push(x_57, x_56); -x_59 = l_Lean_Elab_Command_elabDeclaration___closed__9; -lean_inc(x_43); -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_43); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_60, 2, x_58); -x_61 = l_Lean_Elab_Command_elabDeclaration___closed__10; -x_62 = lean_array_push(x_61, x_51); -x_63 = lean_array_push(x_62, x_18); -x_64 = lean_array_push(x_63, x_60); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_43); -lean_ctor_set(x_65, 1, x_15); -lean_ctor_set(x_65, 2, x_64); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_65); -lean_ctor_set(x_66, 1, x_44); -return x_66; +lean_dec(x_20); +x_46 = l_Lean_Elab_Command_elabDeclaration___closed__5; +lean_inc(x_44); +x_47 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_47, 0, x_44); +lean_ctor_set(x_47, 1, x_46); +x_48 = l_Lean_Elab_Command_elabDeclaration___closed__7; +x_49 = lean_array_push(x_48, x_47); +lean_inc(x_14); +x_50 = lean_array_push(x_49, x_14); +x_51 = l_Lean_Elab_Command_elabDeclaration___closed__6; +lean_inc(x_44); +x_52 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_52, 0, x_44); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_50); +x_53 = l_Lean_Elab_Command_elabDeclaration___closed__8; +lean_inc(x_44); +x_54 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_54, 0, x_44); +lean_ctor_set(x_54, 1, x_53); +x_55 = l_Lean_Elab_Command_elabInductive___closed__1; +x_56 = lean_array_push(x_55, x_14); +lean_inc(x_44); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_44); +lean_ctor_set(x_57, 1, x_16); +lean_ctor_set(x_57, 2, x_56); +x_58 = lean_array_push(x_48, x_54); +x_59 = lean_array_push(x_58, x_57); +x_60 = l_Lean_Elab_Command_elabDeclaration___closed__9; +lean_inc(x_44); +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_44); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_59); +x_62 = l_Lean_Elab_Command_elabDeclaration___closed__10; +x_63 = lean_array_push(x_62, x_52); +x_64 = lean_array_push(x_63, x_19); +x_65 = lean_array_push(x_64, x_61); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_44); +lean_ctor_set(x_66, 1, x_16); +lean_ctor_set(x_66, 2, x_65); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_45); +return x_67; } } else { -uint8_t x_67; +uint8_t x_68; lean_dec(x_6); lean_dec(x_4); lean_dec(x_2); -x_67 = !lean_is_exclusive(x_10); -if (x_67 == 0) +x_68 = !lean_is_exclusive(x_10); +if (x_68 == 0) { return x_10; } else { -lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_68 = lean_ctor_get(x_10, 0); -x_69 = lean_ctor_get(x_10, 1); +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_10, 0); +x_70 = lean_ctor_get(x_10, 1); +lean_inc(x_70); lean_inc(x_69); -lean_inc(x_68); lean_dec(x_10); -x_70 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -return x_70; +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } } } @@ -11248,33 +11250,33 @@ lean_object* x_24; lean_object* x_25; x_24 = l_Lean_Syntax_getOptional_x3f(x_3); if (lean_obj_tag(x_24) == 0) { -lean_object* x_235; -x_235 = lean_box(0); -x_25 = x_235; -goto block_234; +lean_object* x_236; +x_236 = lean_box(0); +x_25 = x_236; +goto block_235; } else { -uint8_t x_236; -x_236 = !lean_is_exclusive(x_24); -if (x_236 == 0) +uint8_t x_237; +x_237 = !lean_is_exclusive(x_24); +if (x_237 == 0) { x_25 = x_24; -goto block_234; +goto block_235; } else { -lean_object* x_237; lean_object* x_238; -x_237 = lean_ctor_get(x_24, 0); -lean_inc(x_237); +lean_object* x_238; lean_object* x_239; +x_238 = lean_ctor_get(x_24, 0); +lean_inc(x_238); lean_dec(x_24); -x_238 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_238, 0, x_237); -x_25 = x_238; -goto block_234; +x_239 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_239, 0, x_238); +x_25 = x_239; +goto block_235; } } -block_234: +block_235: { lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_inc(x_16); @@ -11594,24 +11596,25 @@ goto block_225; } else { -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_226; lean_object* x_227; lean_object* x_228; uint8_t x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; x_226 = lean_ctor_get(x_15, 0); lean_inc(x_226); lean_dec(x_15); x_227 = l_Lean_Elab_Command_expandInitialize___lambda__2___closed__8; x_228 = l_Lean_Name_str___override(x_4, x_227); -x_229 = l_Lean_SourceInfo_fromRef(x_226); -x_230 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_230, 0, x_229); -lean_ctor_set(x_230, 1, x_227); -x_231 = lean_array_push(x_69, x_230); +x_229 = 0; +x_230 = l_Lean_SourceInfo_fromRef(x_226, x_229); +x_231 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_231, 0, x_230); +lean_ctor_set(x_231, 1, x_227); +x_232 = lean_array_push(x_69, x_231); lean_inc(x_27); -x_232 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_232, 0, x_27); -lean_ctor_set(x_232, 1, x_228); -lean_ctor_set(x_232, 2, x_231); -x_233 = lean_array_push(x_69, x_232); -x_169 = x_233; +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_27); +lean_ctor_set(x_233, 1, x_228); +lean_ctor_set(x_233, 2, x_232); +x_234 = lean_array_push(x_69, x_233); +x_169 = x_234; goto block_225; } block_225: @@ -12061,493 +12064,494 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandInitialize___lambda__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_124; lean_object* x_125; lean_object* x_126; uint8_t x_127; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_dec(x_7); x_12 = lean_unsigned_to_nat(3u); x_13 = l_Lean_Syntax_getArg(x_1, x_12); x_14 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__1; lean_inc(x_2); x_15 = l_Lean_Name_str___override(x_2, x_14); -x_124 = lean_unsigned_to_nat(0u); -x_125 = l_Lean_Syntax_getArg(x_6, x_124); +x_125 = lean_unsigned_to_nat(0u); +x_126 = l_Lean_Syntax_getArg(x_6, x_125); lean_dec(x_6); -x_126 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__3; -x_127 = l_Lean_Syntax_isToken(x_126, x_125); -lean_dec(x_125); -if (x_127 == 0) -{ -lean_object* x_128; -x_128 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__5; -x_16 = x_128; -goto block_123; -} -else +x_127 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__3; +x_128 = l_Lean_Syntax_isToken(x_127, x_126); +lean_dec(x_126); +if (x_128 == 0) { lean_object* x_129; -x_129 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__7; +x_129 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__5; x_16 = x_129; -goto block_123; +goto block_124; } -block_123: +else { -lean_object* x_17; -x_17 = l_Lean_mkIdentFrom(x_1, x_16); +lean_object* x_130; +x_130 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__7; +x_16 = x_130; +goto block_124; +} +block_124: +{ +uint8_t x_17; lean_object* x_18; +x_17 = 0; +x_18 = l_Lean_mkIdentFrom(x_1, x_16, x_17); if (lean_obj_tag(x_8) == 0) { -lean_object* x_18; lean_object* x_19; uint8_t x_20; +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_dec(x_9); -x_18 = lean_unsigned_to_nat(0u); -x_19 = l_Lean_Syntax_getArg(x_3, x_18); -x_20 = l_Lean_Syntax_isNone(x_19); -if (x_20 == 0) +x_19 = lean_unsigned_to_nat(0u); +x_20 = l_Lean_Syntax_getArg(x_3, x_19); +x_21 = l_Lean_Syntax_isNone(x_20); +if (x_21 == 0) { -lean_object* x_21; uint8_t x_22; -x_21 = lean_unsigned_to_nat(1u); -lean_inc(x_19); -x_22 = l_Lean_Syntax_matchesNull(x_19, x_21); -if (x_22 == 0) +lean_object* x_22; uint8_t x_23; +x_22 = lean_unsigned_to_nat(1u); +lean_inc(x_20); +x_23 = l_Lean_Syntax_matchesNull(x_20, x_22); +if (x_23 == 0) { -lean_object* x_23; lean_object* x_24; -lean_dec(x_19); -lean_dec(x_17); +lean_object* x_24; lean_object* x_25; +lean_dec(x_20); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_23 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_24 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_23, x_10, x_11); +x_24 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_25 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_24, x_10, x_11); lean_dec(x_3); -return x_24; +return x_25; } else { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = l_Lean_Syntax_getArg(x_19, x_18); -lean_dec(x_19); -x_26 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = l_Lean_Syntax_getArg(x_20, x_19); +lean_dec(x_20); +x_27 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; lean_inc(x_4); -x_27 = l_Lean_Name_str___override(x_4, x_26); -lean_inc(x_25); -x_28 = l_Lean_Syntax_isOfKind(x_25, x_27); -lean_dec(x_27); -if (x_28 == 0) +x_28 = l_Lean_Name_str___override(x_4, x_27); +lean_inc(x_26); +x_29 = l_Lean_Syntax_isOfKind(x_26, x_28); +lean_dec(x_28); +if (x_29 == 0) { -lean_object* x_29; lean_object* x_30; -lean_dec(x_25); -lean_dec(x_17); +lean_object* x_30; lean_object* x_31; +lean_dec(x_26); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_29 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_30 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_29, x_10, x_11); +x_30 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_31 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_30, x_10, x_11); lean_dec(x_3); -return x_30; +return x_31; } else { -lean_object* x_31; lean_object* x_32; lean_object* x_33; -x_31 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_31, 0, x_25); -x_32 = lean_box(0); -x_33 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_17, x_13, x_5, x_32, x_31, x_10, x_11); +lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_32 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_32, 0, x_26); +x_33 = lean_box(0); +x_34 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_18, x_13, x_5, x_33, x_32, x_10, x_11); lean_dec(x_3); -return x_33; +return x_34; } } } else { -lean_object* x_34; lean_object* x_35; lean_object* x_36; -lean_dec(x_19); -x_34 = lean_box(0); +lean_object* x_35; lean_object* x_36; lean_object* x_37; +lean_dec(x_20); x_35 = lean_box(0); -x_36 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_17, x_13, x_5, x_35, x_34, x_10, x_11); +x_36 = lean_box(0); +x_37 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_18, x_13, x_5, x_36, x_35, x_10, x_11); lean_dec(x_3); -return x_36; +return x_37; } } else { if (lean_obj_tag(x_9) == 0) { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_8); -if (x_37 == 0) +uint8_t x_38; +x_38 = !lean_is_exclusive(x_8); +if (x_38 == 0) { -lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_38 = lean_ctor_get(x_8, 0); -lean_dec(x_38); -x_39 = lean_unsigned_to_nat(0u); -x_40 = l_Lean_Syntax_getArg(x_3, x_39); -x_41 = l_Lean_Syntax_isNone(x_40); -if (x_41 == 0) +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; +x_39 = lean_ctor_get(x_8, 0); +lean_dec(x_39); +x_40 = lean_unsigned_to_nat(0u); +x_41 = l_Lean_Syntax_getArg(x_3, x_40); +x_42 = l_Lean_Syntax_isNone(x_41); +if (x_42 == 0) { -lean_object* x_42; uint8_t x_43; -x_42 = lean_unsigned_to_nat(1u); -lean_inc(x_40); -x_43 = l_Lean_Syntax_matchesNull(x_40, x_42); -if (x_43 == 0) +lean_object* x_43; uint8_t x_44; +x_43 = lean_unsigned_to_nat(1u); +lean_inc(x_41); +x_44 = l_Lean_Syntax_matchesNull(x_41, x_43); +if (x_44 == 0) { -lean_object* x_44; lean_object* x_45; -lean_dec(x_40); +lean_object* x_45; lean_object* x_46; +lean_dec(x_41); lean_free_object(x_8); -lean_dec(x_17); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_44 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_45 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_44, x_10, x_11); +x_45 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_46 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_45, x_10, x_11); lean_dec(x_3); -return x_45; +return x_46; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; uint8_t x_49; -x_46 = l_Lean_Syntax_getArg(x_40, x_39); -lean_dec(x_40); -x_47 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; +lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; +x_47 = l_Lean_Syntax_getArg(x_41, x_40); +lean_dec(x_41); +x_48 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; lean_inc(x_4); -x_48 = l_Lean_Name_str___override(x_4, x_47); -lean_inc(x_46); -x_49 = l_Lean_Syntax_isOfKind(x_46, x_48); -lean_dec(x_48); -if (x_49 == 0) +x_49 = l_Lean_Name_str___override(x_4, x_48); +lean_inc(x_47); +x_50 = l_Lean_Syntax_isOfKind(x_47, x_49); +lean_dec(x_49); +if (x_50 == 0) { -lean_object* x_50; lean_object* x_51; -lean_dec(x_46); +lean_object* x_51; lean_object* x_52; +lean_dec(x_47); lean_free_object(x_8); -lean_dec(x_17); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_50 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_51 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_50, x_10, x_11); +x_51 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_52 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_51, x_10, x_11); lean_dec(x_3); -return x_51; +return x_52; } else { -lean_object* x_52; lean_object* x_53; -lean_ctor_set(x_8, 0, x_46); -x_52 = lean_box(0); -x_53 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_17, x_13, x_5, x_52, x_8, x_10, x_11); +lean_object* x_53; lean_object* x_54; +lean_ctor_set(x_8, 0, x_47); +x_53 = lean_box(0); +x_54 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_18, x_13, x_5, x_53, x_8, x_10, x_11); lean_dec(x_3); -return x_53; +return x_54; } } } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_40); +lean_object* x_55; lean_object* x_56; lean_object* x_57; +lean_dec(x_41); lean_free_object(x_8); -x_54 = lean_box(0); x_55 = lean_box(0); -x_56 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_17, x_13, x_5, x_55, x_54, x_10, x_11); +x_56 = lean_box(0); +x_57 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_18, x_13, x_5, x_56, x_55, x_10, x_11); lean_dec(x_3); -return x_56; +return x_57; } } else { -lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_object* x_58; lean_object* x_59; uint8_t x_60; lean_dec(x_8); -x_57 = lean_unsigned_to_nat(0u); -x_58 = l_Lean_Syntax_getArg(x_3, x_57); -x_59 = l_Lean_Syntax_isNone(x_58); -if (x_59 == 0) +x_58 = lean_unsigned_to_nat(0u); +x_59 = l_Lean_Syntax_getArg(x_3, x_58); +x_60 = l_Lean_Syntax_isNone(x_59); +if (x_60 == 0) { -lean_object* x_60; uint8_t x_61; -x_60 = lean_unsigned_to_nat(1u); -lean_inc(x_58); -x_61 = l_Lean_Syntax_matchesNull(x_58, x_60); -if (x_61 == 0) +lean_object* x_61; uint8_t x_62; +x_61 = lean_unsigned_to_nat(1u); +lean_inc(x_59); +x_62 = l_Lean_Syntax_matchesNull(x_59, x_61); +if (x_62 == 0) { -lean_object* x_62; lean_object* x_63; -lean_dec(x_58); -lean_dec(x_17); +lean_object* x_63; lean_object* x_64; +lean_dec(x_59); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_62 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_63 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_62, x_10, x_11); +x_63 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_64 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_63, x_10, x_11); lean_dec(x_3); -return x_63; +return x_64; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; uint8_t x_67; -x_64 = l_Lean_Syntax_getArg(x_58, x_57); -lean_dec(x_58); -x_65 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; +lean_object* x_65; lean_object* x_66; lean_object* x_67; uint8_t x_68; +x_65 = l_Lean_Syntax_getArg(x_59, x_58); +lean_dec(x_59); +x_66 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; lean_inc(x_4); -x_66 = l_Lean_Name_str___override(x_4, x_65); -lean_inc(x_64); -x_67 = l_Lean_Syntax_isOfKind(x_64, x_66); -lean_dec(x_66); -if (x_67 == 0) +x_67 = l_Lean_Name_str___override(x_4, x_66); +lean_inc(x_65); +x_68 = l_Lean_Syntax_isOfKind(x_65, x_67); +lean_dec(x_67); +if (x_68 == 0) { -lean_object* x_68; lean_object* x_69; -lean_dec(x_64); -lean_dec(x_17); +lean_object* x_69; lean_object* x_70; +lean_dec(x_65); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_68 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_69 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_68, x_10, x_11); +x_69 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_70 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_69, x_10, x_11); lean_dec(x_3); -return x_69; +return x_70; } else { -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_70, 0, x_64); -x_71 = lean_box(0); -x_72 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_17, x_13, x_5, x_71, x_70, x_10, x_11); +lean_object* x_71; lean_object* x_72; lean_object* x_73; +x_71 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_71, 0, x_65); +x_72 = lean_box(0); +x_73 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_18, x_13, x_5, x_72, x_71, x_10, x_11); lean_dec(x_3); -return x_72; +return x_73; } } } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -lean_dec(x_58); -x_73 = lean_box(0); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +lean_dec(x_59); x_74 = lean_box(0); -x_75 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_17, x_13, x_5, x_74, x_73, x_10, x_11); +x_75 = lean_box(0); +x_76 = l_Lean_Elab_Command_expandInitialize___lambda__1(x_3, x_4, x_15, x_2, x_18, x_13, x_5, x_75, x_74, x_10, x_11); lean_dec(x_3); -return x_75; +return x_76; } } } else { -lean_object* x_76; uint8_t x_77; -x_76 = lean_ctor_get(x_8, 0); -lean_inc(x_76); +lean_object* x_77; uint8_t x_78; +x_77 = lean_ctor_get(x_8, 0); +lean_inc(x_77); lean_dec(x_8); -x_77 = !lean_is_exclusive(x_9); -if (x_77 == 0) +x_78 = !lean_is_exclusive(x_9); +if (x_78 == 0) { -lean_object* x_78; uint8_t x_79; -x_78 = lean_ctor_get(x_9, 0); +lean_object* x_79; uint8_t x_80; +x_79 = lean_ctor_get(x_9, 0); lean_inc(x_3); -x_79 = l_Lean_Syntax_isOfKind(x_3, x_5); -if (x_79 == 0) +x_80 = l_Lean_Syntax_isOfKind(x_3, x_5); +if (x_80 == 0) { -lean_object* x_80; lean_object* x_81; +lean_object* x_81; lean_object* x_82; lean_free_object(x_9); -lean_dec(x_78); -lean_dec(x_76); -lean_dec(x_17); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_80 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_81 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_80, x_10, x_11); +x_81 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_82 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_81, x_10, x_11); lean_dec(x_3); -return x_81; +return x_82; } else { -lean_object* x_82; lean_object* x_83; uint8_t x_84; -x_82 = lean_unsigned_to_nat(0u); -x_83 = l_Lean_Syntax_getArg(x_3, x_82); -x_84 = l_Lean_Syntax_isNone(x_83); -if (x_84 == 0) +lean_object* x_83; lean_object* x_84; uint8_t x_85; +x_83 = lean_unsigned_to_nat(0u); +x_84 = l_Lean_Syntax_getArg(x_3, x_83); +x_85 = l_Lean_Syntax_isNone(x_84); +if (x_85 == 0) { -lean_object* x_85; uint8_t x_86; -x_85 = lean_unsigned_to_nat(1u); -lean_inc(x_83); -x_86 = l_Lean_Syntax_matchesNull(x_83, x_85); -if (x_86 == 0) +lean_object* x_86; uint8_t x_87; +x_86 = lean_unsigned_to_nat(1u); +lean_inc(x_84); +x_87 = l_Lean_Syntax_matchesNull(x_84, x_86); +if (x_87 == 0) { -lean_object* x_87; lean_object* x_88; -lean_dec(x_83); +lean_object* x_88; lean_object* x_89; +lean_dec(x_84); lean_free_object(x_9); -lean_dec(x_78); -lean_dec(x_76); -lean_dec(x_17); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_87 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_88 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_87, x_10, x_11); +x_88 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_89 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_88, x_10, x_11); lean_dec(x_3); -return x_88; +return x_89; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; uint8_t x_92; -x_89 = l_Lean_Syntax_getArg(x_83, x_82); -lean_dec(x_83); -x_90 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; +lean_object* x_90; lean_object* x_91; lean_object* x_92; uint8_t x_93; +x_90 = l_Lean_Syntax_getArg(x_84, x_83); +lean_dec(x_84); +x_91 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; lean_inc(x_4); -x_91 = l_Lean_Name_str___override(x_4, x_90); -lean_inc(x_89); -x_92 = l_Lean_Syntax_isOfKind(x_89, x_91); -lean_dec(x_91); -if (x_92 == 0) +x_92 = l_Lean_Name_str___override(x_4, x_91); +lean_inc(x_90); +x_93 = l_Lean_Syntax_isOfKind(x_90, x_92); +lean_dec(x_92); +if (x_93 == 0) { -lean_object* x_93; lean_object* x_94; -lean_dec(x_89); +lean_object* x_94; lean_object* x_95; +lean_dec(x_90); lean_free_object(x_9); -lean_dec(x_78); -lean_dec(x_76); -lean_dec(x_17); +lean_dec(x_79); +lean_dec(x_77); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_93 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_94 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_93, x_10, x_11); +x_94 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_95 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_94, x_10, x_11); lean_dec(x_3); -return x_94; +return x_95; } else { -lean_object* x_95; lean_object* x_96; -lean_ctor_set(x_9, 0, x_89); -x_95 = lean_box(0); -x_96 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_78, x_13, x_76, x_2, x_17, x_5, x_95, x_9, x_10, x_11); +lean_object* x_96; lean_object* x_97; +lean_ctor_set(x_9, 0, x_90); +x_96 = lean_box(0); +x_97 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_79, x_13, x_77, x_2, x_18, x_5, x_96, x_9, x_10, x_11); lean_dec(x_3); -return x_96; +return x_97; } } } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -lean_dec(x_83); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +lean_dec(x_84); lean_free_object(x_9); -x_97 = lean_box(0); x_98 = lean_box(0); -x_99 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_78, x_13, x_76, x_2, x_17, x_5, x_98, x_97, x_10, x_11); +x_99 = lean_box(0); +x_100 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_79, x_13, x_77, x_2, x_18, x_5, x_99, x_98, x_10, x_11); lean_dec(x_3); -return x_99; +return x_100; } } } else { -lean_object* x_100; uint8_t x_101; -x_100 = lean_ctor_get(x_9, 0); -lean_inc(x_100); +lean_object* x_101; uint8_t x_102; +x_101 = lean_ctor_get(x_9, 0); +lean_inc(x_101); lean_dec(x_9); lean_inc(x_3); -x_101 = l_Lean_Syntax_isOfKind(x_3, x_5); -if (x_101 == 0) +x_102 = l_Lean_Syntax_isOfKind(x_3, x_5); +if (x_102 == 0) { -lean_object* x_102; lean_object* x_103; -lean_dec(x_100); -lean_dec(x_76); -lean_dec(x_17); +lean_object* x_103; lean_object* x_104; +lean_dec(x_101); +lean_dec(x_77); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_102 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_103 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_102, x_10, x_11); +x_103 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_104 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_103, x_10, x_11); lean_dec(x_3); -return x_103; +return x_104; } else { -lean_object* x_104; lean_object* x_105; uint8_t x_106; -x_104 = lean_unsigned_to_nat(0u); -x_105 = l_Lean_Syntax_getArg(x_3, x_104); -x_106 = l_Lean_Syntax_isNone(x_105); -if (x_106 == 0) +lean_object* x_105; lean_object* x_106; uint8_t x_107; +x_105 = lean_unsigned_to_nat(0u); +x_106 = l_Lean_Syntax_getArg(x_3, x_105); +x_107 = l_Lean_Syntax_isNone(x_106); +if (x_107 == 0) { -lean_object* x_107; uint8_t x_108; -x_107 = lean_unsigned_to_nat(1u); -lean_inc(x_105); -x_108 = l_Lean_Syntax_matchesNull(x_105, x_107); -if (x_108 == 0) +lean_object* x_108; uint8_t x_109; +x_108 = lean_unsigned_to_nat(1u); +lean_inc(x_106); +x_109 = l_Lean_Syntax_matchesNull(x_106, x_108); +if (x_109 == 0) { -lean_object* x_109; lean_object* x_110; -lean_dec(x_105); -lean_dec(x_100); -lean_dec(x_76); -lean_dec(x_17); +lean_object* x_110; lean_object* x_111; +lean_dec(x_106); +lean_dec(x_101); +lean_dec(x_77); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_109 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_110 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_109, x_10, x_11); +x_110 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_111 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_110, x_10, x_11); lean_dec(x_3); -return x_110; +return x_111; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; uint8_t x_114; -x_111 = l_Lean_Syntax_getArg(x_105, x_104); -lean_dec(x_105); -x_112 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; +lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; +x_112 = l_Lean_Syntax_getArg(x_106, x_105); +lean_dec(x_106); +x_113 = l_Lean_Elab_Command_expandInitialize___lambda__5___closed__2; lean_inc(x_4); -x_113 = l_Lean_Name_str___override(x_4, x_112); -lean_inc(x_111); -x_114 = l_Lean_Syntax_isOfKind(x_111, x_113); -lean_dec(x_113); -if (x_114 == 0) +x_114 = l_Lean_Name_str___override(x_4, x_113); +lean_inc(x_112); +x_115 = l_Lean_Syntax_isOfKind(x_112, x_114); +lean_dec(x_114); +if (x_115 == 0) { -lean_object* x_115; lean_object* x_116; -lean_dec(x_111); -lean_dec(x_100); -lean_dec(x_76); -lean_dec(x_17); +lean_object* x_116; lean_object* x_117; +lean_dec(x_112); +lean_dec(x_101); +lean_dec(x_77); +lean_dec(x_18); lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_115 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; -x_116 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_115, x_10, x_11); +x_116 = l_Lean_Elab_Command_expandInitialize___lambda__1___closed__1; +x_117 = l_Lean_Macro_throwErrorAt___rarg(x_3, x_116, x_10, x_11); lean_dec(x_3); -return x_116; +return x_117; } else { -lean_object* x_117; lean_object* x_118; lean_object* x_119; -x_117 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_117, 0, x_111); -x_118 = lean_box(0); -x_119 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_100, x_13, x_76, x_2, x_17, x_5, x_118, x_117, x_10, x_11); +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_118, 0, x_112); +x_119 = lean_box(0); +x_120 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_101, x_13, x_77, x_2, x_18, x_5, x_119, x_118, x_10, x_11); lean_dec(x_3); -return x_119; +return x_120; } } } else { -lean_object* x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_105); -x_120 = lean_box(0); +lean_object* x_121; lean_object* x_122; lean_object* x_123; +lean_dec(x_106); x_121 = lean_box(0); -x_122 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_100, x_13, x_76, x_2, x_17, x_5, x_121, x_120, x_10, x_11); +x_122 = lean_box(0); +x_123 = l_Lean_Elab_Command_expandInitialize___lambda__4(x_3, x_3, x_4, x_15, x_101, x_13, x_77, x_2, x_18, x_5, x_122, x_121, x_10, x_11); lean_dec(x_3); -return x_122; +return x_123; } } } diff --git a/stage0/stdlib/Lean/Elab/DefView.c b/stage0/stdlib/Lean/Elab/DefView.c index 3800ad65c3..295f8f2ef2 100644 --- a/stage0/stdlib/Lean/Elab/DefView.c +++ b/stage0/stdlib/Lean/Elab/DefView.c @@ -41,7 +41,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_DefView_0__Lean_Elab_beqDefKind__ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__18(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Command_mkInstanceName___spec__6___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Command_mkInstanceName___spec__6(lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_maxRecDepthErrorMessage; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkDefViewOfInstance___spec__5___boxed(lean_object*, lean_object*); @@ -56,7 +56,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_visitForall_visit___at_Lean_Elab_Command_mkInstanceName___spec__8___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkDefViewOfInstance___closed__1; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Meta_forEachExpr_x27___at_Lean_Elab_Command_mkInstanceName___spec__2___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkInstanceName___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_DefView_isInstance___spec__1___boxed(lean_object*, lean_object*, lean_object*); @@ -177,7 +177,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Comma LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_mkInstanceName___spec__18___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_visitLambda_visit___at_Lean_Elab_Command_mkInstanceName___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Command_mkDefViewOfInstance___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); static lean_object* l_Lean_Elab_DefKind_noConfusion___rarg___closed__1; static lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___closed__4; @@ -5323,25 +5323,27 @@ x_4 = l_Lean_Elab_Command_getRef(x_1, x_2, x_3); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_SourceInfo_fromRef(x_6); -lean_ctor_set(x_4, 0, x_7); +x_7 = 0; +x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7); +lean_ctor_set(x_4, 0, x_8); return x_4; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 1); +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_dec(x_4); -x_10 = l_Lean_SourceInfo_fromRef(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_9, 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); +return x_13; } } } @@ -5623,120 +5625,121 @@ lean_inc(x_43); x_52 = l_Lean_Elab_Command_mkInstanceName(x_51, x_43, x_3, x_4, x_24); if (lean_obj_tag(x_52) == 0) { -lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_object* x_53; lean_object* x_54; uint8_t x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); x_54 = lean_ctor_get(x_52, 1); lean_inc(x_54); lean_dec(x_52); +x_55 = 0; lean_inc(x_2); -x_55 = l_Lean_mkIdentFrom(x_2, x_53); -x_56 = lean_array_push(x_34, x_55); -x_57 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__16; -x_58 = lean_array_push(x_56, x_57); -x_59 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; -x_60 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_60, 0, x_28); -lean_ctor_set(x_60, 1, x_59); -lean_ctor_set(x_60, 2, x_58); -x_61 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_43, x_2, x_47, x_42, x_60, x_3, x_4, x_54); +x_56 = l_Lean_mkIdentFrom(x_2, x_53, x_55); +x_57 = lean_array_push(x_34, x_56); +x_58 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__16; +x_59 = lean_array_push(x_57, x_58); +x_60 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; +x_61 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_61, 0, x_28); +lean_ctor_set(x_61, 1, x_60); +lean_ctor_set(x_61, 2, x_59); +x_62 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_43, x_2, x_47, x_42, x_61, x_3, x_4, x_54); lean_dec(x_4); lean_dec(x_3); -return x_61; +return x_62; } else { -uint8_t x_62; +uint8_t x_63; lean_dec(x_47); lean_dec(x_43); lean_dec(x_42); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_62 = !lean_is_exclusive(x_52); -if (x_62 == 0) +x_63 = !lean_is_exclusive(x_52); +if (x_63 == 0) { return x_52; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_52, 0); -x_64 = lean_ctor_get(x_52, 1); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_52, 0); +x_65 = lean_ctor_get(x_52, 1); +lean_inc(x_65); lean_inc(x_64); -lean_inc(x_63); lean_dec(x_52); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } else { -lean_object* x_66; lean_object* x_67; -x_66 = lean_ctor_get(x_50, 0); -lean_inc(x_66); +lean_object* x_67; lean_object* x_68; +x_67 = lean_ctor_get(x_50, 0); +lean_inc(x_67); lean_dec(x_50); -x_67 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_43, x_2, x_47, x_42, x_66, x_3, x_4, x_24); +x_68 = l_Lean_Elab_Command_mkDefViewOfInstance___lambda__1(x_43, x_2, x_47, x_42, x_67, x_3, x_4, x_24); lean_dec(x_4); lean_dec(x_3); -return x_67; +return x_68; } } else { -uint8_t x_68; +uint8_t x_69; lean_dec(x_10); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_68 = !lean_is_exclusive(x_15); -if (x_68 == 0) +x_69 = !lean_is_exclusive(x_15); +if (x_69 == 0) { return x_15; } else { -lean_object* x_69; lean_object* x_70; lean_object* x_71; -x_69 = lean_ctor_get(x_15, 0); -x_70 = lean_ctor_get(x_15, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; +x_70 = lean_ctor_get(x_15, 0); +x_71 = lean_ctor_get(x_15, 1); +lean_inc(x_71); lean_inc(x_70); -lean_inc(x_69); lean_dec(x_15); -x_71 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_71, 0, x_69); -lean_ctor_set(x_71, 1, x_70); -return x_71; +x_72 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +return x_72; } } } else { -uint8_t x_72; +uint8_t x_73; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_72 = !lean_is_exclusive(x_9); -if (x_72 == 0) +x_73 = !lean_is_exclusive(x_9); +if (x_73 == 0) { return x_9; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; -x_73 = lean_ctor_get(x_9, 0); -x_74 = lean_ctor_get(x_9, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_9, 0); +x_75 = lean_ctor_get(x_9, 1); +lean_inc(x_75); lean_inc(x_74); -lean_inc(x_73); lean_dec(x_9); -x_75 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_75, 0, x_73); -lean_ctor_set(x_75, 1, x_74); -return x_75; +x_76 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_76, 0, x_74); +lean_ctor_set(x_76, 1, x_75); +return x_76; } } } @@ -5873,20 +5876,21 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { _start: { -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; x_7 = l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2___closed__3; -x_8 = l_Lean_mkAtomFrom(x_1, x_7); -x_9 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; -x_10 = lean_array_push(x_9, x_8); -x_11 = lean_array_push(x_10, x_3); -x_12 = lean_box(2); -x_13 = l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2___closed__2; -x_14 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_14, 0, x_12); -lean_ctor_set(x_14, 1, x_13); -lean_ctor_set(x_14, 2, x_11); -x_15 = lean_apply_4(x_2, x_14, x_4, x_5, x_6); -return x_15; +x_8 = 0; +x_9 = l_Lean_mkAtomFrom(x_1, x_7, x_8); +x_10 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; +x_11 = lean_array_push(x_10, x_9); +x_12 = lean_array_push(x_11, x_3); +x_13 = lean_box(2); +x_14 = l_Lean_Elab_Command_mkDefViewOfOpaque___lambda__2___closed__2; +x_15 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_15, 0, x_13); +lean_ctor_set(x_15, 1, x_14); +lean_ctor_set(x_15, 2, x_12); +x_16 = lean_apply_4(x_2, x_15, x_4, x_5, x_6); +return x_16; } } static lean_object* _init_l_Lean_Elab_Command_mkDefViewOfOpaque___closed__1() { @@ -6120,7 +6124,7 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_Elab_Command_mkDefViewOfExample(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; +lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; uint8_t x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; x_3 = lean_unsigned_to_nat(1u); x_4 = l_Lean_Syntax_getArg(x_2, x_3); x_5 = l_Lean_Elab_expandOptDeclSig(x_4); @@ -6131,32 +6135,33 @@ x_7 = lean_ctor_get(x_5, 1); lean_inc(x_7); lean_dec(x_5); x_8 = l_Lean_Elab_Command_mkDefViewOfExample___closed__2; +x_9 = 0; lean_inc(x_2); -x_9 = l_Lean_mkIdentFrom(x_2, x_8); -x_10 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; -x_11 = lean_array_push(x_10, x_9); -x_12 = l_Lean_Elab_Command_mkDefViewOfExample___closed__3; -x_13 = lean_array_push(x_11, x_12); -x_14 = lean_box(2); -x_15 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; -x_16 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -lean_ctor_set(x_16, 2, x_13); -x_17 = lean_unsigned_to_nat(2u); -x_18 = l_Lean_Syntax_getArg(x_2, x_17); -x_19 = lean_box(0); -x_20 = 2; -x_21 = lean_alloc_ctor(0, 7, 1); -lean_ctor_set(x_21, 0, x_2); -lean_ctor_set(x_21, 1, x_1); -lean_ctor_set(x_21, 2, x_16); -lean_ctor_set(x_21, 3, x_6); -lean_ctor_set(x_21, 4, x_7); -lean_ctor_set(x_21, 5, x_18); -lean_ctor_set(x_21, 6, x_19); -lean_ctor_set_uint8(x_21, sizeof(void*)*7, x_20); -return x_21; +x_10 = l_Lean_mkIdentFrom(x_2, x_8, x_9); +x_11 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__11; +x_12 = lean_array_push(x_11, x_10); +x_13 = l_Lean_Elab_Command_mkDefViewOfExample___closed__3; +x_14 = lean_array_push(x_12, x_13); +x_15 = lean_box(2); +x_16 = l_Lean_Elab_Command_mkDefViewOfInstance___closed__15; +x_17 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_17, 0, x_15); +lean_ctor_set(x_17, 1, x_16); +lean_ctor_set(x_17, 2, x_14); +x_18 = lean_unsigned_to_nat(2u); +x_19 = l_Lean_Syntax_getArg(x_2, x_18); +x_20 = lean_box(0); +x_21 = 2; +x_22 = lean_alloc_ctor(0, 7, 1); +lean_ctor_set(x_22, 0, x_2); +lean_ctor_set(x_22, 1, x_1); +lean_ctor_set(x_22, 2, x_17); +lean_ctor_set(x_22, 3, x_6); +lean_ctor_set(x_22, 4, x_7); +lean_ctor_set(x_22, 5, x_19); +lean_ctor_set(x_22, 6, x_20); +lean_ctor_set_uint8(x_22, sizeof(void*)*7, x_21); +return x_22; } } static lean_object* _init_l_Lean_Elab_Command_isDefLike___closed__1() { diff --git a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c index d88eeb1234..1924a76285 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/DecEq.c +++ b/stage0/stdlib/Lean/Elab/Deriving/DecEq.c @@ -58,7 +58,7 @@ static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__3 static lean_object* l_Lean_Elab_Deriving_DecEq_mkMatch_mkSameCtorRhs___lambda__2___closed__3; LEAN_EXPORT lean_object* l_List_allM___at_Lean_Elab_Deriving_DecEq_mkDecEqInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_forIn_loop___at_Lean_Elab_Deriving_DecEq_mkMatch_mkAlts___spec__6___lambda__1___closed__6; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__48; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqCmds___closed__3; static lean_object* l_Lean_Elab_Deriving_DecEq_mkDecEqEnum___closed__46; @@ -8015,25 +8015,27 @@ x_4 = l_Lean_Elab_Command_getRef(x_1, x_2, x_3); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_SourceInfo_fromRef(x_6); -lean_ctor_set(x_4, 0, x_7); +x_7 = 0; +x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7); +lean_ctor_set(x_4, 0, x_8); return x_4; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 1); +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_dec(x_4); -x_10 = l_Lean_SourceInfo_fromRef(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_9, 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); +return x_13; } } } diff --git a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c index 4b150033ca..2bb48cd0c5 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c +++ b/stage0/stdlib/Lean/Elab/Deriving/FromToJson.c @@ -38,13 +38,14 @@ lean_object* l_Lean_Elab_Command_liftTermElabM___rarg(lean_object*, lean_object* uint8_t lean_usize_dec_eq(size_t, size_t); lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__6; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__33; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__40; lean_object* l_Array_append___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__15; -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__13; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__22; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__10; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__32; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__11; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__13; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -60,6 +61,7 @@ size_t lean_usize_sub(size_t, size_t); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__24; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__39; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__25; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__5(lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__37; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__10; @@ -71,6 +73,7 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__29; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__2; @@ -95,9 +98,9 @@ LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__5; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__16; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__3; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__36; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__30; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__3; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__2; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__12; @@ -108,9 +111,9 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__2; lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__3; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_usize_dec_lt(size_t, size_t); -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__12; lean_object* l_Lean_Elab_Deriving_mkLocalInstanceLetDecls(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__16; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -120,13 +123,13 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__1; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__11; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10; lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__9___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__3; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_zip___rarg(lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__19; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__17; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -136,17 +139,19 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__8; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__39; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__10; lean_object* l_Lean_Elab_Deriving_mkDiscrs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__4; lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__3(size_t, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__35; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__9; uint8_t l_Lean_Name_hasMacroScopes(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__9; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkJsonField___lambda__1___boxed(lean_object*); static lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1___closed__2; @@ -160,9 +165,11 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__13; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__41; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__10; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__32; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(size_t, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__2; lean_object* l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; @@ -174,7 +181,6 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFro lean_object* l_Lean_Elab_Deriving_mkInstanceCmds(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__2___boxed(lean_object**); lean_object* lean_nat_sub(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14; LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__8___lambda__1___boxed(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__23; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; @@ -183,16 +189,17 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__38; lean_object* l_Lean_getStructureFieldsFlattened(lean_object*, lean_object*, uint8_t); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__34; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__16; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__8; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__1; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__14; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__10; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6___boxed(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__7; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Elab_Deriving_mkLet(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__20; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); lean_object* l_Lean_Expr_fvarId_x21(lean_object*); @@ -223,7 +230,7 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFro static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__5; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16; -LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176_(lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -236,23 +243,29 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler LEAN_EXPORT lean_object* l_Lean_getConstInfoCtor___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addMessageContextPartial___at_Lean_Elab_Command_instAddMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__5; -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__24; LEAN_EXPORT lean_object* l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__12; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__5; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__21; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__38; lean_object* l_Lean_Syntax_mkStrLit(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; LEAN_EXPORT uint8_t l_Lean_Elab_Deriving_FromToJson_mkJsonField___lambda__1(uint32_t); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___lambda__1___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__23; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; lean_object* l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__14; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__29; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__34; LEAN_EXPORT lean_object* l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); @@ -272,10 +285,11 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk size_t lean_usize_of_nat(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__24; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__31; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__2; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___lambda__1___closed__1; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__6; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__4; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__12; @@ -292,19 +306,20 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___la lean_object* l_Lean_LocalDecl_type(lean_object*); lean_object* l_Lean_Elab_Deriving_mkHeader(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__18; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__18; static lean_object* l_Array_qsort_sort___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__8___closed__1; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__15; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__15; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12; uint8_t lean_uint32_dec_eq(uint32_t, uint32_t); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35; lean_object* l_Lean_Name_getString_x21(lean_object*); lean_object* l_String_intercalate(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__4; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___boxed(lean_object**); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__37; lean_object* l_List_redLength___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -317,7 +332,6 @@ static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___ lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkInductiveApp___spec__1(size_t, size_t, lean_object*); lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Command_instAddErrorMessageContextCommandElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__13; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3___closed__4; uint8_t lean_nat_dec_le(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2; @@ -335,7 +349,7 @@ lean_object* l_Lean_quoteNameMk(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkJsonField(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__2___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3(lean_object*, size_t, size_t, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -348,18 +362,23 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__6(size_t, size_t, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__18; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; lean_object* l_Lean_Elab_Command_getRef(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__3; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__30; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__28; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__1; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__13; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__33; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___boxed(lean_object**); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__1; @@ -384,49 +403,55 @@ static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFro static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__5; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__9; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__37; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3___closed__1; +static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__2; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__29; lean_object* l_Lean_Meta_forallTelescopeReducing___at_Lean_Elab_Deriving_mkInductArgNames___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__7; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2; -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__22; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__12; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11; lean_object* lean_mk_syntax_ident(lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__3; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__16; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__10; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__27; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__4; LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkJsonField___closed__1; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__17; -static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__17; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__19; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__3; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__20; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__6; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__8; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__30; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__10; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__32; lean_object* l_Lean_getConstInfo___at_Lean_Elab_elabDeriving___spec__19(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__19; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__33; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__8; static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__11; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__2; -static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__28; @@ -434,7 +459,6 @@ static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mk LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__21; static lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__9; -static lean_object* l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__5___boxed(lean_object**); static lean_object* l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__38; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__25; @@ -452,7 +476,9 @@ uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__3___closed__2; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__9; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__16; +static lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__1; LEAN_EXPORT uint8_t l_Lean_Elab_Deriving_FromToJson_mkJsonField___lambda__1(uint32_t x_1) { _start: { @@ -11297,58 +11323,972 @@ return x_93; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1() { _start: { -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_3, x_2); -if (x_5 == 0) +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("getObjValAs?", 12); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__2() { +_start: { -lean_dec(x_1); +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__2; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); return x_4; } +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("j", 1); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__6; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__8() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__9() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Except.mapError", 15); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__10() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__9; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__11() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__9; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__10; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Except", 6); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__14() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("mapError", 8); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__14; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__16() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__17() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__18() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__17; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__19() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__16; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__18; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("s", 1); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__21() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__22() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__21; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__23() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__24() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("term_++_", 8); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__25() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__24; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("toString", 8); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__27() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__28() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__27; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__29() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__30() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("ToString", 8); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__31() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__30; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__32() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__31; +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__33() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__32; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__34() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__33; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__35() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("++", 2); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__36() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("str", 3); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__37() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__36; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__38() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\".\"", 3); +return x_1; +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__39() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("\": \"", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3(lean_object* x_1, lean_object* x_2, size_t x_3, size_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +_start: +{ +uint8_t x_13; +x_13 = lean_usize_dec_lt(x_4, x_3); +if (x_13 == 0) +{ +lean_object* x_14; +lean_dec(x_10); +lean_dec(x_2); +lean_dec(x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_5); +lean_ctor_set(x_14, 1, x_12); +return x_14; +} else { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; size_t x_11; size_t x_12; lean_object* x_13; -x_6 = lean_array_uget(x_4, x_3); -x_7 = lean_unsigned_to_nat(0u); -x_8 = lean_array_uset(x_4, x_3, x_7); -x_9 = l_Lean_Elab_Deriving_FromToJson_mkJsonField(x_6); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_15 = lean_array_uget(x_5, x_4); +x_16 = lean_unsigned_to_nat(0u); +x_17 = lean_array_uset(x_5, x_4, x_16); +lean_inc(x_10); +x_18 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_10, x_11, x_12); +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = lean_ctor_get(x_10, 10); +lean_inc(x_21); +x_22 = lean_st_ref_get(x_11, x_20); +x_23 = lean_ctor_get(x_22, 0); +lean_inc(x_23); +x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_24); +lean_dec(x_22); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_environment_main_module(x_25); +x_27 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__3; +lean_inc(x_2); +x_28 = l_Lean_Name_str___override(x_2, x_27); +x_29 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__5; +x_30 = l_Lean_Name_str___override(x_28, x_29); +x_31 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__2; +lean_inc(x_30); +x_32 = l_Lean_Name_str___override(x_30, x_31); +x_33 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__4; +lean_inc(x_21); +lean_inc(x_26); +x_34 = l_Lean_addMacroScope(x_26, x_33, x_21); +x_35 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__7___closed__9; +lean_inc(x_2); +x_36 = l_Lean_Name_str___override(x_2, x_35); +x_37 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1; +x_38 = l_Lean_Name_str___override(x_36, x_37); +x_39 = lean_box(0); +lean_inc(x_38); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_41, 0, x_38); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_41); +lean_ctor_set(x_42, 1, x_39); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_40); +lean_ctor_set(x_43, 1, x_42); +x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__3; +lean_inc(x_19); +x_45 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_45, 0, x_19); +lean_ctor_set(x_45, 1, x_44); +lean_ctor_set(x_45, 2, x_34); +lean_ctor_set(x_45, 3, x_43); +x_46 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__8; +lean_inc(x_21); +x_47 = l_Lean_addMacroScope(x_26, x_46, x_21); +x_48 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__7; +lean_inc(x_19); +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_19); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_49, 2, x_47); +lean_ctor_set(x_49, 3, x_39); +x_50 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__7; +lean_inc(x_30); +x_51 = l_Lean_Name_str___override(x_30, x_50); +x_52 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__9; +lean_inc(x_19); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_19); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__10; +x_55 = lean_array_push(x_54, x_53); +lean_inc(x_19); +x_56 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_56, 0, x_19); +lean_ctor_set(x_56, 1, x_51); +lean_ctor_set(x_56, 2, x_55); +lean_inc(x_15); +x_57 = l_Lean_Elab_Deriving_FromToJson_mkJsonField(x_15); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_59 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; +x_60 = lean_array_push(x_59, x_49); +x_61 = lean_array_push(x_60, x_56); +x_62 = lean_array_push(x_61, x_58); +x_63 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__9; +lean_inc(x_19); +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_19); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_62); +x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; +x_66 = lean_array_push(x_65, x_45); +x_67 = lean_array_push(x_66, x_64); +lean_inc(x_32); +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_19); +lean_ctor_set(x_68, 1, x_32); +lean_ctor_set(x_68, 2, x_67); +lean_inc(x_10); +x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_10, x_11, x_24); +x_70 = lean_ctor_get(x_69, 0); +lean_inc(x_70); +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_st_ref_get(x_11, x_71); +x_73 = lean_ctor_get(x_72, 0); +lean_inc(x_73); +x_74 = lean_ctor_get(x_72, 1); +lean_inc(x_74); +lean_dec(x_72); +x_75 = lean_ctor_get(x_73, 0); +lean_inc(x_75); +lean_dec(x_73); +x_76 = lean_environment_main_module(x_75); +x_77 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__1; +lean_inc(x_30); +x_78 = l_Lean_Name_str___override(x_30, x_77); +x_79 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15; +lean_inc(x_21); +lean_inc(x_76); +x_80 = l_Lean_addMacroScope(x_76, x_79, x_21); +x_81 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__11; +x_82 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__19; +lean_inc(x_70); +x_83 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_83, 0, x_70); +lean_ctor_set(x_83, 1, x_81); +lean_ctor_set(x_83, 2, x_80); +lean_ctor_set(x_83, 3, x_82); +x_84 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__1; +lean_inc(x_30); +x_85 = l_Lean_Name_str___override(x_30, x_84); +x_86 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__2; +lean_inc(x_70); +x_87 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_87, 0, x_70); +lean_ctor_set(x_87, 1, x_86); +x_88 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__30; +lean_inc(x_30); +x_89 = l_Lean_Name_str___override(x_30, x_88); +lean_inc(x_70); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_70); +lean_ctor_set(x_90, 1, x_88); +x_91 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__32; +lean_inc(x_30); +x_92 = l_Lean_Name_str___override(x_30, x_91); +x_93 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__23; +lean_inc(x_21); +lean_inc(x_76); +x_94 = l_Lean_addMacroScope(x_76, x_93, x_21); +x_95 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__22; +lean_inc(x_70); +x_96 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_96, 0, x_70); +lean_ctor_set(x_96, 1, x_95); +lean_ctor_set(x_96, 2, x_94); +lean_ctor_set(x_96, 3, x_39); +lean_inc(x_96); +x_97 = lean_array_push(x_54, x_96); +lean_inc(x_70); +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_70); +lean_ctor_set(x_98, 1, x_63); +lean_ctor_set(x_98, 2, x_97); +x_99 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__1; +lean_inc(x_70); +x_100 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_100, 0, x_70); +lean_ctor_set(x_100, 1, x_63); +lean_ctor_set(x_100, 2, x_99); +x_101 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__15; +lean_inc(x_70); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_70); +lean_ctor_set(x_102, 1, x_101); +x_103 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__29; +x_104 = l_Lean_addMacroScope(x_76, x_103, x_21); +x_105 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__28; +x_106 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__34; +lean_inc(x_70); +x_107 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_107, 0, x_70); +lean_ctor_set(x_107, 1, x_105); +lean_ctor_set(x_107, 2, x_104); +lean_ctor_set(x_107, 3, x_106); lean_inc(x_1); -x_10 = lean_apply_1(x_1, x_9); -x_11 = 1; -x_12 = lean_usize_add(x_3, x_11); -x_13 = lean_array_uset(x_8, x_3, x_10); -x_3 = x_12; -x_4 = x_13; +x_108 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_39, x_1); +x_109 = lean_array_push(x_65, x_107); +x_110 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__4; +lean_inc(x_70); +x_111 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_111, 0, x_70); +lean_ctor_set(x_111, 1, x_110); +x_112 = lean_array_push(x_59, x_87); +x_113 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__35; +lean_inc(x_70); +x_114 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_114, 0, x_70); +lean_ctor_set(x_114, 1, x_113); +x_115 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__38; +lean_inc(x_70); +x_116 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_116, 0, x_70); +lean_ctor_set(x_116, 1, x_115); +x_117 = lean_array_push(x_54, x_116); +x_118 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__37; +lean_inc(x_70); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_70); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_117); +lean_inc(x_15); +x_120 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_39, x_15); +x_121 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__39; +lean_inc(x_70); +x_122 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_122, 0, x_70); +lean_ctor_set(x_122, 1, x_121); +x_123 = lean_array_push(x_54, x_122); +lean_inc(x_70); +x_124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_124, 0, x_70); +lean_ctor_set(x_124, 1, x_118); +lean_ctor_set(x_124, 2, x_123); +x_125 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__16; +x_126 = lean_array_push(x_125, x_98); +lean_inc(x_100); +x_127 = lean_array_push(x_126, x_100); +x_128 = lean_array_push(x_127, x_102); +x_129 = lean_array_push(x_65, x_90); +x_130 = lean_array_push(x_65, x_83); +x_131 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__8; +lean_inc(x_70); +x_132 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_132, 0, x_70); +lean_ctor_set(x_132, 1, x_131); +if (lean_obj_tag(x_108) == 0) +{ +lean_object* x_211; +lean_inc(x_1); +x_211 = l_Lean_quoteNameMk(x_1); +x_133 = x_211; +goto block_210; +} +else +{ +lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; +x_212 = lean_ctor_get(x_108, 0); +lean_inc(x_212); +lean_dec(x_108); +x_213 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__1; +lean_inc(x_30); +x_214 = l_Lean_Name_str___override(x_30, x_213); +x_215 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__2; +x_216 = l_String_intercalate(x_215, x_212); +x_217 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__3; +x_218 = lean_string_append(x_217, x_216); +lean_dec(x_216); +x_219 = lean_box(2); +x_220 = l_Lean_Syntax_mkNameLit(x_218, x_219); +x_221 = lean_array_push(x_54, x_220); +x_222 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_222, 0, x_219); +lean_ctor_set(x_222, 1, x_214); +lean_ctor_set(x_222, 2, x_221); +x_133 = x_222; +goto block_210; +} +block_210: +{ +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; +x_134 = lean_array_push(x_54, x_133); +lean_inc(x_70); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_70); +lean_ctor_set(x_135, 1, x_63); +lean_ctor_set(x_135, 2, x_134); +lean_inc(x_109); +x_136 = lean_array_push(x_109, x_135); +lean_inc(x_32); +lean_inc(x_70); +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_70); +lean_ctor_set(x_137, 1, x_32); +lean_ctor_set(x_137, 2, x_136); +x_138 = lean_array_push(x_65, x_137); +lean_inc(x_100); +x_139 = lean_array_push(x_138, x_100); +lean_inc(x_70); +x_140 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_140, 0, x_70); +lean_ctor_set(x_140, 1, x_63); +lean_ctor_set(x_140, 2, x_139); +lean_inc(x_112); +x_141 = lean_array_push(x_112, x_140); +lean_inc(x_111); +x_142 = lean_array_push(x_141, x_111); +lean_inc(x_85); +lean_inc(x_70); +x_143 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_143, 0, x_70); +lean_ctor_set(x_143, 1, x_85); +lean_ctor_set(x_143, 2, x_142); +x_144 = lean_array_push(x_59, x_143); +lean_inc(x_114); +x_145 = lean_array_push(x_144, x_114); +x_146 = lean_array_push(x_145, x_119); +x_147 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__25; +lean_inc(x_70); +x_148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_148, 0, x_70); +lean_ctor_set(x_148, 1, x_147); +lean_ctor_set(x_148, 2, x_146); +x_149 = lean_array_push(x_59, x_148); +lean_inc(x_114); +x_150 = lean_array_push(x_149, x_114); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_198; +lean_dec(x_30); +x_198 = l_Lean_quoteNameMk(x_15); +x_151 = x_198; +goto block_197; +} +else +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; +lean_dec(x_15); +x_199 = lean_ctor_get(x_120, 0); +lean_inc(x_199); +lean_dec(x_120); +x_200 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__1; +x_201 = l_Lean_Name_str___override(x_30, x_200); +x_202 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__2; +x_203 = l_String_intercalate(x_202, x_199); +x_204 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__6___closed__3; +x_205 = lean_string_append(x_204, x_203); +lean_dec(x_203); +x_206 = lean_box(2); +x_207 = l_Lean_Syntax_mkNameLit(x_205, x_206); +x_208 = lean_array_push(x_54, x_207); +x_209 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_209, 0, x_206); +lean_ctor_set(x_209, 1, x_201); +lean_ctor_set(x_209, 2, x_208); +x_151 = x_209; +goto block_197; +} +block_197: +{ +lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; size_t x_193; size_t x_194; lean_object* x_195; +x_152 = lean_array_push(x_54, x_151); +lean_inc(x_70); +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_70); +lean_ctor_set(x_153, 1, x_63); +lean_ctor_set(x_153, 2, x_152); +x_154 = lean_array_push(x_109, x_153); +lean_inc(x_32); +lean_inc(x_70); +x_155 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_155, 0, x_70); +lean_ctor_set(x_155, 1, x_32); +lean_ctor_set(x_155, 2, x_154); +x_156 = lean_array_push(x_65, x_155); +lean_inc(x_100); +x_157 = lean_array_push(x_156, x_100); +lean_inc(x_70); +x_158 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_158, 0, x_70); +lean_ctor_set(x_158, 1, x_63); +lean_ctor_set(x_158, 2, x_157); +lean_inc(x_112); +x_159 = lean_array_push(x_112, x_158); +lean_inc(x_111); +x_160 = lean_array_push(x_159, x_111); +lean_inc(x_85); +lean_inc(x_70); +x_161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_161, 0, x_70); +lean_ctor_set(x_161, 1, x_85); +lean_ctor_set(x_161, 2, x_160); +x_162 = lean_array_push(x_150, x_161); +lean_inc(x_70); +x_163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_163, 0, x_70); +lean_ctor_set(x_163, 1, x_147); +lean_ctor_set(x_163, 2, x_162); +x_164 = lean_array_push(x_59, x_163); +lean_inc(x_114); +x_165 = lean_array_push(x_164, x_114); +x_166 = lean_array_push(x_165, x_124); +lean_inc(x_70); +x_167 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_167, 0, x_70); +lean_ctor_set(x_167, 1, x_147); +lean_ctor_set(x_167, 2, x_166); +x_168 = lean_array_push(x_59, x_167); +x_169 = lean_array_push(x_168, x_114); +x_170 = lean_array_push(x_169, x_96); +lean_inc(x_70); +x_171 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_171, 0, x_70); +lean_ctor_set(x_171, 1, x_147); +lean_ctor_set(x_171, 2, x_170); +x_172 = lean_array_push(x_128, x_171); +lean_inc(x_70); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_70); +lean_ctor_set(x_173, 1, x_92); +lean_ctor_set(x_173, 2, x_172); +x_174 = lean_array_push(x_129, x_173); +lean_inc(x_70); +x_175 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_175, 0, x_70); +lean_ctor_set(x_175, 1, x_89); +lean_ctor_set(x_175, 2, x_174); +x_176 = lean_array_push(x_65, x_175); +x_177 = lean_array_push(x_176, x_100); +lean_inc(x_70); +x_178 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_178, 0, x_70); +lean_ctor_set(x_178, 1, x_63); +lean_ctor_set(x_178, 2, x_177); +x_179 = lean_array_push(x_112, x_178); +x_180 = lean_array_push(x_179, x_111); +lean_inc(x_70); +x_181 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_181, 0, x_70); +lean_ctor_set(x_181, 1, x_85); +lean_ctor_set(x_181, 2, x_180); +x_182 = lean_array_push(x_54, x_181); +lean_inc(x_70); +x_183 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_183, 0, x_70); +lean_ctor_set(x_183, 1, x_63); +lean_ctor_set(x_183, 2, x_182); +x_184 = lean_array_push(x_130, x_183); +lean_inc(x_70); +x_185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_185, 0, x_70); +lean_ctor_set(x_185, 1, x_32); +lean_ctor_set(x_185, 2, x_184); +x_186 = lean_array_push(x_59, x_185); +x_187 = lean_array_push(x_186, x_132); +x_188 = lean_array_push(x_187, x_68); +x_189 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__4___closed__2; +lean_inc(x_70); +x_190 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_190, 0, x_70); +lean_ctor_set(x_190, 1, x_189); +lean_ctor_set(x_190, 2, x_188); +x_191 = lean_array_push(x_54, x_190); +x_192 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_192, 0, x_70); +lean_ctor_set(x_192, 1, x_78); +lean_ctor_set(x_192, 2, x_191); +x_193 = 1; +x_194 = lean_usize_add(x_4, x_193); +x_195 = lean_array_uset(x_17, x_4, x_192); +x_4 = x_194; +x_5 = x_195; +x_12 = x_74; goto _start; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(size_t x_1, size_t x_2, lean_object* x_3) { +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, size_t x_5, size_t x_6, lean_object* x_7) { _start: { -uint8_t x_4; -x_4 = lean_usize_dec_lt(x_2, x_1); -if (x_4 == 0) +uint8_t x_8; +x_8 = lean_usize_dec_lt(x_6, x_5); +if (x_8 == 0) { -return x_3; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +return x_7; } else { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; size_t x_10; size_t x_11; lean_object* x_12; -x_5 = lean_array_uget(x_3, x_2); -x_6 = lean_unsigned_to_nat(0u); -x_7 = lean_array_uset(x_3, x_2, x_6); -x_8 = l_Lean_Elab_Deriving_FromToJson_mkJsonField(x_5); -x_9 = lean_ctor_get(x_8, 1); -lean_inc(x_9); -lean_dec(x_8); -x_10 = 1; -x_11 = lean_usize_add(x_2, x_10); -x_12 = lean_array_uset(x_7, x_2, x_9); -x_2 = x_11; -x_3 = x_12; +lean_object* x_9; lean_object* x_10; lean_object* x_11; size_t x_12; size_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_9 = lean_array_uget(x_7, x_6); +x_10 = lean_unsigned_to_nat(0u); +x_11 = lean_array_uset(x_7, x_6, x_10); +x_12 = 1; +x_13 = lean_usize_add(x_6, x_12); +x_14 = lean_ctor_get(x_9, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_9, 1); +lean_inc(x_15); +lean_dec(x_9); +x_16 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__1; +lean_inc(x_4); +x_17 = l_Lean_Name_str___override(x_4, x_16); +x_18 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__2; +lean_inc(x_4); +x_19 = l_Lean_Name_str___override(x_4, x_18); +x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__3; +lean_inc(x_1); +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_1); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__4; +lean_inc(x_4); +x_23 = l_Lean_Name_str___override(x_4, x_22); +x_24 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__5; +lean_inc(x_1); +x_25 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_25, 0, x_1); +lean_ctor_set(x_25, 1, x_24); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__16; +x_27 = lean_array_push(x_26, x_14); +lean_inc(x_2); +x_28 = lean_array_push(x_27, x_2); +x_29 = lean_array_push(x_28, x_25); +x_30 = lean_array_push(x_29, x_15); +lean_inc(x_1); +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_1); +lean_ctor_set(x_31, 1, x_23); +lean_ctor_set(x_31, 2, x_30); +x_32 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; +x_33 = lean_array_push(x_32, x_21); +lean_inc(x_2); +x_34 = lean_array_push(x_33, x_2); +x_35 = lean_array_push(x_34, x_31); +lean_inc(x_1); +x_36 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_36, 0, x_1); +lean_ctor_set(x_36, 1, x_19); +lean_ctor_set(x_36, 2, x_35); +lean_inc(x_3); +x_37 = lean_array_push(x_3, x_36); +lean_inc(x_2); +x_38 = lean_array_push(x_37, x_2); +lean_inc(x_1); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_1); +lean_ctor_set(x_39, 1, x_17); +lean_ctor_set(x_39, 2, x_38); +x_40 = lean_array_uset(x_11, x_6, x_39); +x_6 = x_13; +x_7 = x_40; goto _start; } } @@ -11357,207 +12297,11 @@ static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJ _start: { lean_object* x_1; -x_1 = lean_mk_string_from_bytes("getObjValAs?", 12); -return x_1; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__1; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__3() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__1; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, size_t x_15, size_t x_16, lean_object* x_17) { -_start: -{ -uint8_t x_18; -x_18 = lean_usize_dec_lt(x_16, x_15); -if (x_18 == 0) -{ -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -lean_dec(x_1); -return x_17; -} -else -{ -lean_object* x_19; lean_object* x_20; lean_object* x_21; size_t x_22; size_t x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; 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; -x_19 = lean_array_uget(x_17, x_16); -x_20 = lean_unsigned_to_nat(0u); -x_21 = lean_array_uset(x_17, x_16, x_20); -x_22 = 1; -x_23 = lean_usize_add(x_16, x_22); -x_24 = lean_ctor_get(x_19, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_19, 1); -lean_inc(x_25); -lean_dec(x_19); -x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__1; -lean_inc(x_8); -x_27 = l_Lean_Name_str___override(x_8, x_26); -x_28 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__2; -lean_inc(x_8); -x_29 = l_Lean_Name_str___override(x_8, x_28); -x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__3; -lean_inc(x_1); -x_31 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_31, 0, x_1); -lean_ctor_set(x_31, 1, x_30); -x_32 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__4; -lean_inc(x_8); -x_33 = l_Lean_Name_str___override(x_8, x_32); -x_34 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__4___closed__5; -lean_inc(x_1); -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_1); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__1; -lean_inc(x_8); -x_37 = l_Lean_Name_str___override(x_8, x_36); -x_38 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__1; -x_39 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2; -lean_inc(x_9); -x_40 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_9); -lean_ctor_set(x_40, 2, x_39); -x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__3; -lean_inc(x_2); -lean_inc(x_3); -x_42 = l_Lean_addMacroScope(x_3, x_41, x_2); -lean_inc(x_12); -x_43 = l_Lean_Name_str___override(x_12, x_38); -lean_inc(x_13); -lean_inc(x_43); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_13); -x_45 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_45, 0, x_43); -lean_inc(x_10); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_10); -x_47 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_47, 0, x_44); -lean_ctor_set(x_47, 1, x_46); -lean_inc(x_1); -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_1); -lean_ctor_set(x_48, 1, x_40); -lean_ctor_set(x_48, 2, x_42); -lean_ctor_set(x_48, 3, x_47); -x_49 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__7; -lean_inc(x_8); -x_50 = l_Lean_Name_str___override(x_8, x_49); -x_51 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__9; -lean_inc(x_1); -x_52 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_52, 0, x_1); -lean_ctor_set(x_52, 1, x_51); -lean_inc(x_6); -x_53 = lean_array_push(x_6, x_52); -lean_inc(x_1); -x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_1); -lean_ctor_set(x_54, 1, x_50); -lean_ctor_set(x_54, 2, x_53); -x_55 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; -lean_inc(x_11); -x_56 = lean_array_push(x_55, x_11); -x_57 = lean_array_push(x_56, x_54); -x_58 = lean_array_push(x_57, x_25); -lean_inc(x_4); -lean_inc(x_1); -x_59 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_59, 0, x_1); -lean_ctor_set(x_59, 1, x_4); -lean_ctor_set(x_59, 2, x_58); -lean_inc(x_7); -x_60 = lean_array_push(x_7, x_48); -x_61 = lean_array_push(x_60, x_59); -lean_inc(x_14); -lean_inc(x_1); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_1); -lean_ctor_set(x_62, 1, x_14); -lean_ctor_set(x_62, 2, x_61); -lean_inc(x_6); -x_63 = lean_array_push(x_6, x_62); -lean_inc(x_1); -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_1); -lean_ctor_set(x_64, 1, x_37); -lean_ctor_set(x_64, 2, x_63); -x_65 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__16; -x_66 = lean_array_push(x_65, x_24); -lean_inc(x_5); -x_67 = lean_array_push(x_66, x_5); -x_68 = lean_array_push(x_67, x_35); -x_69 = lean_array_push(x_68, x_64); -lean_inc(x_1); -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_1); -lean_ctor_set(x_70, 1, x_33); -lean_ctor_set(x_70, 2, x_69); -x_71 = lean_array_push(x_55, x_31); -lean_inc(x_5); -x_72 = lean_array_push(x_71, x_5); -x_73 = lean_array_push(x_72, x_70); -lean_inc(x_1); -x_74 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_74, 0, x_1); -lean_ctor_set(x_74, 1, x_29); -lean_ctor_set(x_74, 2, x_73); -lean_inc(x_7); -x_75 = lean_array_push(x_7, x_74); -lean_inc(x_5); -x_76 = lean_array_push(x_75, x_5); -lean_inc(x_1); -x_77 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_77, 0, x_1); -lean_ctor_set(x_77, 1, x_27); -lean_ctor_set(x_77, 2, x_76); -x_78 = lean_array_uset(x_21, x_16, x_77); -x_16 = x_23; -x_17 = x_78; -goto _start; -} -} -} -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__1() { -_start: -{ -lean_object* x_1; x_1 = lean_mk_string_from_bytes("structInstField", 15); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2() { _start: { lean_object* x_1; @@ -11565,7 +12309,7 @@ x_1 = lean_mk_string_from_bytes("structInstLVal", 14); return x_1; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, size_t x_7, lean_object* x_8) { _start: { uint8_t x_9; @@ -11592,10 +12336,10 @@ lean_inc(x_15); x_16 = lean_ctor_get(x_10, 1); lean_inc(x_16); lean_dec(x_10); -x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__1; +x_17 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__1; lean_inc(x_4); x_18 = l_Lean_Name_str___override(x_4, x_17); -x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__2; +x_19 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2; lean_inc(x_4); x_20 = l_Lean_Name_str___override(x_4, x_19); lean_inc(x_3); @@ -11644,27 +12388,19 @@ return x_2; static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__3() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Except", 6); -return x_1; +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__3; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; +x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11672,7 +12408,7 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5() { _start: { lean_object* x_1; @@ -11680,22 +12416,22 @@ x_1 = lean_mk_string_from_bytes("String", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; x_2 = lean_string_utf8_byte_size(x_1); return x_2; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; +x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -11703,21 +12439,21 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__6; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; @@ -11957,27 +12693,27 @@ lean_ctor_set(x_262, 1, x_12); x_263 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_263, 0, x_260); lean_ctor_set(x_263, 1, x_262); -x_264 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; +x_264 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; lean_inc(x_178); x_265 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_265, 0, x_178); lean_ctor_set(x_265, 1, x_264); lean_ctor_set(x_265, 2, x_259); lean_ctor_set(x_265, 3, x_263); -x_266 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; +x_266 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; x_267 = l_Lean_addMacroScope(x_185, x_266, x_180); lean_inc(x_12); x_268 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_268, 0, x_266); lean_ctor_set(x_268, 1, x_12); -x_269 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10; +x_269 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; x_270 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_270, 0, x_269); lean_ctor_set(x_270, 1, x_12); x_271 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_271, 0, x_268); lean_ctor_set(x_271, 1, x_270); -x_272 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; +x_272 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; lean_inc(x_178); x_273 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_273, 0, x_178); @@ -12325,27 +13061,27 @@ lean_ctor_set(x_123, 1, x_12); x_124 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_124, 0, x_121); lean_ctor_set(x_124, 1, x_123); -x_125 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; +x_125 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; lean_inc(x_32); x_126 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_126, 0, x_32); lean_ctor_set(x_126, 1, x_125); lean_ctor_set(x_126, 2, x_120); lean_ctor_set(x_126, 3, x_124); -x_127 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; +x_127 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; x_128 = l_Lean_addMacroScope(x_39, x_127, x_34); lean_inc(x_12); x_129 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_129, 0, x_127); lean_ctor_set(x_129, 1, x_12); -x_130 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10; +x_130 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; x_131 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_131, 0, x_130); lean_ctor_set(x_131, 1, x_12); x_132 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_132, 0, x_129); lean_ctor_set(x_132, 1, x_131); -x_133 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; +x_133 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; lean_inc(x_32); x_134 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_134, 0, x_32); @@ -12475,96 +13211,68 @@ return x_4; static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__3; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("error", 5); +return x_1; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__6() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("error", 5); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_1 = lean_box(0); x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__6; -x_3 = l_Lean_Name_str___override(x_1, x_2); +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); return x_3; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__8() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__7; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__6; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__7; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__8; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__7; x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__9; x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__8; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__10; -x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__12() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("str", 3); -return x_1; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___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_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__12; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11() { _start: { lean_object* x_1; @@ -12699,24 +13407,24 @@ lean_inc(x_33); lean_dec(x_31); x_34 = lean_environment_main_module(x_33); x_35 = lean_box(0); -x_36 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__7; +x_36 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__6; x_37 = l_Lean_addMacroScope(x_34, x_36, x_29); x_38 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__4; -x_39 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11; +x_39 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__10; lean_inc(x_27); x_40 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_40, 0, x_27); lean_ctor_set(x_40, 1, x_38); lean_ctor_set(x_40, 2, x_37); lean_ctor_set(x_40, 3, x_39); -x_41 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14; +x_41 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11; lean_inc(x_27); x_42 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_42, 0, x_27); lean_ctor_set(x_42, 1, x_41); x_43 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__10; x_44 = lean_array_push(x_43, x_42); -x_45 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__13; +x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__37; lean_inc(x_27); x_46 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_46, 0, x_27); @@ -12759,7 +13467,7 @@ lean_dec(x_55); x_86 = 0; x_87 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__3; x_88 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; -x_89 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_89 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; lean_inc(x_8); x_90 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1(x_87, x_88, x_53, x_17, x_89, x_35, x_35, x_48, x_43, x_50, x_24, x_85, x_86, x_54, x_4, x_5, x_6, x_7, x_8, x_9, x_32); lean_dec(x_24); @@ -12793,7 +13501,7 @@ lean_dec(x_55); x_95 = 0; x_96 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__3; x_97 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; -x_98 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_98 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; lean_inc(x_8); x_99 = l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__2(x_96, x_97, x_53, x_17, x_98, x_35, x_35, x_48, x_43, x_50, x_24, x_94, x_95, x_54, x_4, x_5, x_6, x_7, x_8, x_9, x_32); lean_dec(x_24); @@ -12817,7 +13525,7 @@ lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean x_60 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__4; x_61 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; x_62 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2; -x_63 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_63 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; x_64 = lean_box(0); x_65 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1(x_13, x_16, x_3, x_43, x_19, x_15, x_60, x_48, x_50, x_22, x_61, x_35, x_62, x_63, x_53, x_2, x_57, x_64, x_4, x_5, x_6, x_7, x_8, x_9, x_58); lean_dec(x_2); @@ -12860,7 +13568,7 @@ lean_dec(x_70); x_73 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__4; x_74 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; x_75 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2; -x_76 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_76 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; x_77 = lean_box(0); x_78 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1(x_13, x_16, x_3, x_43, x_19, x_15, x_73, x_48, x_50, x_22, x_74, x_35, x_75, x_76, x_53, x_2, x_71, x_77, x_4, x_5, x_6, x_7, x_8, x_9, x_72); lean_dec(x_2); @@ -13016,42 +13724,47 @@ return x_3; static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__2() { _start: { -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("j", 1); -return x_1; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__3() { _start: { -lean_object* x_1; lean_object* x_2; +lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__2; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__4() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__2; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__3; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___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; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__2; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; +lean_object* x_1; lean_object* x_2; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; +x_2 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; } } static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__6() { @@ -13059,7 +13772,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__5; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_2); lean_ctor_set(x_3, 1, x_1); @@ -13070,8 +13783,8 @@ static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHand _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__6; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__31; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__4; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__6; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); @@ -13083,7 +13796,7 @@ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___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); @@ -13093,40 +13806,6 @@ return x_3; static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__9() { _start: { -lean_object* x_1; lean_object* x_2; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; -x_2 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_2, 0, x_1); -return x_2; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__10() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__9; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__11() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__8; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__10; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__12() { -_start: -{ lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; @@ -13136,31 +13815,19 @@ lean_ctor_set(x_3, 1, x_1); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__13() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10; -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_2); -lean_ctor_set(x_3, 1, x_1); -return x_3; -} -} -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__12; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__13; +x_1 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__8; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__9; x_3 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__11() { _start: { lean_object* x_1; @@ -13168,17 +13835,17 @@ x_1 = lean_mk_string_from_bytes("structInst", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__11; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__13() { _start: { lean_object* x_1; @@ -13186,7 +13853,7 @@ x_1 = lean_mk_string_from_bytes("{", 1); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14() { _start: { lean_object* x_1; @@ -13194,17 +13861,17 @@ x_1 = lean_mk_string_from_bytes("optEllipsis", 11); return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; -x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18; +x_2 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__20() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16() { _start: { lean_object* x_1; @@ -13227,36 +13894,36 @@ lean_inc(x_1); x_11 = l_Lean_Elab_Deriving_mkContext(x_10, x_1, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_11) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_263; lean_object* x_264; lean_object* x_265; uint8_t x_266; +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_265; lean_object* x_266; lean_object* x_267; uint8_t x_268; x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); lean_dec(x_11); -x_263 = lean_ctor_get(x_12, 0); -lean_inc(x_263); -x_264 = lean_array_get_size(x_263); -x_265 = lean_unsigned_to_nat(0u); -x_266 = lean_nat_dec_lt(x_265, x_264); -lean_dec(x_264); -if (x_266 == 0) +x_265 = lean_ctor_get(x_12, 0); +lean_inc(x_265); +x_266 = lean_array_get_size(x_265); +x_267 = lean_unsigned_to_nat(0u); +x_268 = lean_nat_dec_lt(x_267, x_266); +lean_dec(x_266); +if (x_268 == 0) { -lean_object* x_267; lean_object* x_268; -lean_dec(x_263); -x_267 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; -x_268 = l_panic___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(x_267); -x_14 = x_268; -goto block_262; +lean_object* x_269; lean_object* x_270; +lean_dec(x_265); +x_269 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; +x_270 = l_panic___at_Lean_Elab_Deriving_mkLocalInstanceLetDecls___spec__1(x_269); +x_14 = x_270; +goto block_264; } else { -lean_object* x_269; -x_269 = lean_array_fget(x_263, x_265); -lean_dec(x_263); -x_14 = x_269; -goto block_262; +lean_object* x_271; +x_271 = lean_array_fget(x_265, x_267); +lean_dec(x_265); +x_14 = x_271; +goto block_264; } -block_262: +block_264: { lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__8; @@ -13271,7 +13938,7 @@ lean_inc(x_14); x_17 = l_Lean_Elab_Deriving_mkHeader(x_15, x_16, x_14, x_3, x_4, x_5, x_6, x_7, x_8, x_13); if (lean_obj_tag(x_17) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; 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; uint8_t x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; size_t x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; size_t x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; uint8_t x_24; lean_object* x_25; lean_object* x_26; size_t x_27; size_t x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; 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; uint8_t x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; size_t 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; size_t x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); x_19 = lean_ctor_get(x_17, 1); @@ -13287,555 +13954,559 @@ x_23 = lean_ctor_get(x_21, 0); lean_inc(x_23); lean_dec(x_21); x_24 = 0; +lean_inc(x_1); x_25 = l_Lean_getStructureFieldsFlattened(x_23, x_1, x_24); x_26 = lean_array_get_size(x_25); x_27 = lean_usize_of_nat(x_26); lean_dec(x_26); x_28 = 0; +x_29 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__2; +lean_inc(x_7); lean_inc(x_25); -x_29 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(x_27, x_28, x_25); -x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkInductiveApp___spec__1(x_27, x_28, x_25); -x_31 = lean_ctor_get(x_18, 1); +x_30 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3(x_1, x_29, x_27, x_28, x_25, x_3, x_4, x_5, x_6, x_7, x_8, x_22); +x_31 = lean_ctor_get(x_30, 0); lean_inc(x_31); -lean_inc(x_7); -x_32 = l_Lean_Elab_Deriving_mkInductiveApp(x_14, x_31, x_3, x_4, x_5, x_6, x_7, x_8, x_22); -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +x_32 = lean_ctor_get(x_30, 1); +lean_inc(x_32); +lean_dec(x_30); +x_33 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_mkInductiveApp___spec__1(x_27, x_28, x_25); +x_34 = lean_ctor_get(x_18, 1); lean_inc(x_34); -lean_dec(x_32); lean_inc(x_7); -x_35 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_7, x_8, x_34); +x_35 = l_Lean_Elab_Deriving_mkInductiveApp(x_14, x_34, x_3, x_4, x_5, x_6, x_7, x_8, x_32); x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); lean_dec(x_35); -x_38 = lean_ctor_get(x_7, 10); -lean_inc(x_38); -x_39 = lean_st_ref_get(x_8, x_37); -x_40 = lean_ctor_get(x_39, 0); +lean_inc(x_7); +x_38 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_7, x_8, x_37); +x_39 = lean_ctor_get(x_38, 0); +lean_inc(x_39); +x_40 = lean_ctor_get(x_38, 1); lean_inc(x_40); -x_41 = lean_ctor_get(x_39, 1); +lean_dec(x_38); +x_41 = lean_ctor_get(x_7, 10); lean_inc(x_41); -lean_dec(x_39); -x_42 = lean_ctor_get(x_40, 0); -lean_inc(x_42); -lean_dec(x_40); -x_43 = lean_environment_main_module(x_42); -x_44 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__9; -x_45 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__1; -lean_inc(x_36); -x_46 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_46, 0, x_36); -lean_ctor_set(x_46, 1, x_44); -lean_ctor_set(x_46, 2, x_45); -x_47 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__15; -lean_inc(x_36); -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_36); -lean_ctor_set(x_48, 1, x_47); -x_49 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__10; -x_50 = lean_array_push(x_49, x_48); -x_51 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16; -lean_inc(x_36); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_36); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_50); -x_53 = lean_array_push(x_49, x_52); -lean_inc(x_36); -x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_36); -lean_ctor_set(x_54, 1, x_44); -lean_ctor_set(x_54, 2, x_53); -x_55 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__8; -lean_inc(x_46); -x_56 = lean_array_push(x_55, x_46); -lean_inc(x_46); -x_57 = lean_array_push(x_56, x_46); -x_58 = lean_array_push(x_57, x_54); -lean_inc(x_46); -x_59 = lean_array_push(x_58, x_46); -lean_inc(x_46); -x_60 = lean_array_push(x_59, x_46); -lean_inc(x_46); -x_61 = lean_array_push(x_60, x_46); -x_62 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__14; -lean_inc(x_36); -x_63 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_63, 0, x_36); -lean_ctor_set(x_63, 1, x_62); -lean_ctor_set(x_63, 2, x_61); -x_64 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__17; -lean_inc(x_36); -x_65 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_65, 0, x_36); -lean_ctor_set(x_65, 1, x_64); -x_66 = lean_ctor_get(x_12, 1); -lean_inc(x_66); -x_67 = lean_array_get_size(x_66); -x_68 = lean_nat_dec_lt(x_16, x_67); -lean_dec(x_67); -x_69 = lean_ctor_get(x_18, 0); +x_42 = lean_st_ref_get(x_8, x_40); +x_43 = lean_ctor_get(x_42, 0); +lean_inc(x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); +lean_dec(x_42); +x_45 = lean_ctor_get(x_43, 0); +lean_inc(x_45); +lean_dec(x_43); +x_46 = lean_environment_main_module(x_45); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__9; +x_48 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__1; +lean_inc(x_39); +x_49 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_49, 0, x_39); +lean_ctor_set(x_49, 1, x_47); +lean_ctor_set(x_49, 2, x_48); +x_50 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__15; +lean_inc(x_39); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_39); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__10; +x_53 = lean_array_push(x_52, x_51); +x_54 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__16; +lean_inc(x_39); +x_55 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_55, 0, x_39); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_53); +x_56 = lean_array_push(x_52, x_55); +lean_inc(x_39); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_39); +lean_ctor_set(x_57, 1, x_47); +lean_ctor_set(x_57, 2, x_56); +x_58 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__8; +lean_inc(x_49); +x_59 = lean_array_push(x_58, x_49); +lean_inc(x_49); +x_60 = lean_array_push(x_59, x_49); +x_61 = lean_array_push(x_60, x_57); +lean_inc(x_49); +x_62 = lean_array_push(x_61, x_49); +lean_inc(x_49); +x_63 = lean_array_push(x_62, x_49); +lean_inc(x_49); +x_64 = lean_array_push(x_63, x_49); +x_65 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__14; +lean_inc(x_39); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_39); +lean_ctor_set(x_66, 1, x_65); +lean_ctor_set(x_66, 2, x_64); +x_67 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__17; +lean_inc(x_39); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_39); +lean_ctor_set(x_68, 1, x_67); +x_69 = lean_ctor_get(x_12, 1); lean_inc(x_69); +x_70 = lean_array_get_size(x_69); +x_71 = lean_nat_dec_lt(x_16, x_70); +lean_dec(x_70); +x_72 = lean_ctor_get(x_18, 0); +lean_inc(x_72); lean_dec(x_18); -x_70 = l_Array_append___rarg(x_45, x_69); -x_71 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__2; -lean_inc(x_36); -x_72 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_72, 0, x_36); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__5; -lean_inc(x_38); -lean_inc(x_43); -x_74 = l_Lean_addMacroScope(x_43, x_73, x_38); -x_75 = lean_box(0); -x_76 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__4; -lean_inc(x_36); -x_77 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_77, 0, x_36); -lean_ctor_set(x_77, 1, x_76); -lean_ctor_set(x_77, 2, x_74); -lean_ctor_set(x_77, 3, x_75); -lean_inc(x_77); -x_78 = lean_array_push(x_49, x_77); -lean_inc(x_36); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_36); -lean_ctor_set(x_79, 1, x_44); -lean_ctor_set(x_79, 2, x_78); -x_80 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; -lean_inc(x_36); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_36); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__8; -lean_inc(x_38); -lean_inc(x_43); -x_83 = l_Lean_addMacroScope(x_43, x_82, x_38); -x_84 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; -x_85 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__7; -lean_inc(x_36); -x_86 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_86, 0, x_36); -lean_ctor_set(x_86, 1, x_84); -lean_ctor_set(x_86, 2, x_83); -lean_ctor_set(x_86, 3, x_85); -x_87 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; -x_88 = lean_array_push(x_87, x_81); -lean_inc(x_88); -x_89 = lean_array_push(x_88, x_86); -lean_inc(x_36); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_36); -lean_ctor_set(x_90, 1, x_44); -lean_ctor_set(x_90, 2, x_89); -x_91 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__4; -lean_inc(x_36); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_36); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; -x_94 = lean_array_push(x_93, x_72); -x_95 = lean_array_push(x_94, x_79); -x_96 = lean_array_push(x_95, x_90); +x_73 = l_Array_append___rarg(x_48, x_72); +x_74 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__2; +lean_inc(x_39); +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_39); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__8; +lean_inc(x_41); lean_inc(x_46); -x_97 = lean_array_push(x_96, x_46); -x_98 = lean_array_push(x_97, x_92); -x_99 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__1; -lean_inc(x_36); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_36); -lean_ctor_set(x_100, 1, x_99); -lean_ctor_set(x_100, 2, x_98); -x_101 = lean_array_push(x_70, x_100); -lean_inc(x_36); -x_102 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_102, 0, x_36); -lean_ctor_set(x_102, 1, x_44); -lean_ctor_set(x_102, 2, x_101); -x_103 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__5; -lean_inc(x_38); -lean_inc(x_43); -x_104 = l_Lean_addMacroScope(x_43, x_103, x_38); -x_105 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__5; -x_106 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__11; -lean_inc(x_36); -x_107 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_107, 0, x_36); -lean_ctor_set(x_107, 1, x_105); -lean_ctor_set(x_107, 2, x_104); -lean_ctor_set(x_107, 3, x_106); -x_108 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9; -lean_inc(x_38); -lean_inc(x_43); -x_109 = l_Lean_addMacroScope(x_43, x_108, x_38); -x_110 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; -x_111 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__14; -lean_inc(x_36); -x_112 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_112, 0, x_36); -lean_ctor_set(x_112, 1, x_110); -lean_ctor_set(x_112, 2, x_109); -lean_ctor_set(x_112, 3, x_111); -x_113 = lean_array_push(x_87, x_112); -x_114 = lean_array_push(x_113, x_33); -lean_inc(x_36); -x_115 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_115, 0, x_36); -lean_ctor_set(x_115, 1, x_44); -lean_ctor_set(x_115, 2, x_114); -x_116 = lean_array_push(x_87, x_107); -x_117 = lean_array_push(x_116, x_115); -x_118 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__3; -lean_inc(x_36); -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_36); -lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_119, 2, x_117); -x_120 = lean_array_push(x_88, x_119); -x_121 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__24; -lean_inc(x_36); +x_77 = l_Lean_addMacroScope(x_46, x_76, x_41); +x_78 = lean_box(0); +x_79 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__7; +lean_inc(x_39); +x_80 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_80, 0, x_39); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_77); +lean_ctor_set(x_80, 3, x_78); +x_81 = lean_array_push(x_52, x_80); +lean_inc(x_39); +x_82 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_82, 0, x_39); +lean_ctor_set(x_82, 1, x_47); +lean_ctor_set(x_82, 2, x_81); +x_83 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__25; +lean_inc(x_39); +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_39); +lean_ctor_set(x_84, 1, x_83); +x_85 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__1___closed__8; +lean_inc(x_41); +lean_inc(x_46); +x_86 = l_Lean_addMacroScope(x_46, x_85, x_41); +x_87 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__27; +x_88 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__3; +lean_inc(x_39); +x_89 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_89, 0, x_39); +lean_ctor_set(x_89, 1, x_87); +lean_ctor_set(x_89, 2, x_86); +lean_ctor_set(x_89, 3, x_88); +x_90 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__7; +x_91 = lean_array_push(x_90, x_84); +lean_inc(x_91); +x_92 = lean_array_push(x_91, x_89); +lean_inc(x_39); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_39); +lean_ctor_set(x_93, 1, x_47); +lean_ctor_set(x_93, 2, x_92); +x_94 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__4; +lean_inc(x_39); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_39); +lean_ctor_set(x_95, 1, x_94); +x_96 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2; +x_97 = lean_array_push(x_96, x_75); +x_98 = lean_array_push(x_97, x_82); +x_99 = lean_array_push(x_98, x_93); +lean_inc(x_49); +x_100 = lean_array_push(x_99, x_49); +x_101 = lean_array_push(x_100, x_95); +x_102 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__1; +lean_inc(x_39); +x_103 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_103, 0, x_39); +lean_ctor_set(x_103, 1, x_102); +lean_ctor_set(x_103, 2, x_101); +x_104 = lean_array_push(x_73, x_103); +lean_inc(x_39); +x_105 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_105, 0, x_39); +lean_ctor_set(x_105, 1, x_47); +lean_ctor_set(x_105, 2, x_104); +x_106 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13; +lean_inc(x_41); +lean_inc(x_46); +x_107 = l_Lean_addMacroScope(x_46, x_106, x_41); +x_108 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__4; +x_109 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__7; +lean_inc(x_39); +x_110 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_110, 0, x_39); +lean_ctor_set(x_110, 1, x_108); +lean_ctor_set(x_110, 2, x_107); +lean_ctor_set(x_110, 3, x_109); +x_111 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8; +x_112 = l_Lean_addMacroScope(x_46, x_111, x_41); +x_113 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__7; +x_114 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__10; +lean_inc(x_39); +x_115 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_115, 0, x_39); +lean_ctor_set(x_115, 1, x_113); +lean_ctor_set(x_115, 2, x_112); +lean_ctor_set(x_115, 3, x_114); +x_116 = lean_array_push(x_90, x_115); +x_117 = lean_array_push(x_116, x_36); +lean_inc(x_39); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_39); +lean_ctor_set(x_118, 1, x_47); +lean_ctor_set(x_118, 2, x_117); +x_119 = lean_array_push(x_90, x_110); +x_120 = lean_array_push(x_119, x_118); +x_121 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__3; +lean_inc(x_39); x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_36); +lean_ctor_set(x_122, 0, x_39); lean_ctor_set(x_122, 1, x_121); lean_ctor_set(x_122, 2, x_120); -x_123 = lean_array_push(x_49, x_122); -lean_inc(x_36); -x_124 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_124, 0, x_36); -lean_ctor_set(x_124, 1, x_44); -lean_ctor_set(x_124, 2, x_123); -x_125 = lean_array_push(x_87, x_102); -x_126 = lean_array_push(x_125, x_124); -x_127 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__22; -lean_inc(x_36); -x_128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_128, 0, x_36); -lean_ctor_set(x_128, 1, x_127); -lean_ctor_set(x_128, 2, x_126); -x_129 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35; -lean_inc(x_36); -x_130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_130, 0, x_36); -lean_ctor_set(x_130, 1, x_129); -x_131 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__34; -lean_inc(x_36); -x_132 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_132, 0, x_36); -lean_ctor_set(x_132, 1, x_131); -x_133 = l_Array_zip___rarg(x_30, x_29); -lean_dec(x_29); -x_134 = lean_array_get_size(x_133); -x_135 = lean_usize_of_nat(x_134); -lean_dec(x_134); -x_136 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; -x_137 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__28; -lean_inc(x_46); -lean_inc(x_36); -x_138 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(x_36, x_38, x_43, x_44, x_46, x_49, x_87, x_136, x_16, x_75, x_77, x_137, x_75, x_118, x_135, x_28, x_133); -x_139 = l_Array_append___rarg(x_45, x_138); -x_140 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__41; -lean_inc(x_36); -x_141 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_141, 0, x_36); -lean_ctor_set(x_141, 1, x_140); -x_142 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17; -lean_inc(x_36); +x_123 = lean_array_push(x_91, x_122); +x_124 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__24; +lean_inc(x_39); +x_125 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_125, 0, x_39); +lean_ctor_set(x_125, 1, x_124); +lean_ctor_set(x_125, 2, x_123); +x_126 = lean_array_push(x_52, x_125); +lean_inc(x_39); +x_127 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_127, 0, x_39); +lean_ctor_set(x_127, 1, x_47); +lean_ctor_set(x_127, 2, x_126); +x_128 = lean_array_push(x_90, x_105); +x_129 = lean_array_push(x_128, x_127); +x_130 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__22; +lean_inc(x_39); +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_39); +lean_ctor_set(x_131, 1, x_130); +lean_ctor_set(x_131, 2, x_129); +x_132 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__35; +lean_inc(x_39); +x_133 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_133, 0, x_39); +lean_ctor_set(x_133, 1, x_132); +x_134 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__34; +lean_inc(x_39); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_39); +lean_ctor_set(x_135, 1, x_134); +x_136 = l_Array_zip___rarg(x_33, x_31); +lean_dec(x_31); +x_137 = lean_array_get_size(x_136); +x_138 = lean_usize_of_nat(x_137); +lean_dec(x_137); +x_139 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__3___closed__6; +lean_inc(x_49); +lean_inc(x_39); +x_140 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(x_39, x_49, x_90, x_139, x_138, x_28, x_136); +x_141 = l_Array_append___rarg(x_48, x_140); +x_142 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__41; +lean_inc(x_39); x_143 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_143, 0, x_36); +lean_ctor_set(x_143, 0, x_39); lean_ctor_set(x_143, 1, x_142); -x_144 = l_Array_zip___rarg(x_30, x_30); -lean_dec(x_30); -x_145 = lean_array_get_size(x_144); -x_146 = lean_usize_of_nat(x_145); -lean_dec(x_145); -lean_inc(x_130); -lean_inc(x_46); -lean_inc(x_36); -x_147 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6(x_36, x_46, x_87, x_136, x_130, x_146, x_28, x_144); -x_148 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; -x_149 = l_Lean_mkSepArray(x_147, x_148); +x_144 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__13; +lean_inc(x_39); +x_145 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_145, 0, x_39); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Array_zip___rarg(x_33, x_33); +lean_dec(x_33); +x_147 = lean_array_get_size(x_146); +x_148 = lean_usize_of_nat(x_147); lean_dec(x_147); -x_150 = l_Array_append___rarg(x_45, x_149); -lean_inc(x_36); -x_151 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_151, 0, x_36); -lean_ctor_set(x_151, 1, x_44); -lean_ctor_set(x_151, 2, x_150); -lean_inc(x_46); -x_152 = lean_array_push(x_49, x_46); -x_153 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19; -lean_inc(x_36); -x_154 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_154, 0, x_36); -lean_ctor_set(x_154, 1, x_153); -lean_ctor_set(x_154, 2, x_152); -x_155 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__20; -lean_inc(x_36); -x_156 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_156, 0, x_36); +lean_inc(x_133); +lean_inc(x_49); +lean_inc(x_39); +x_149 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(x_39, x_49, x_90, x_139, x_133, x_148, x_28, x_146); +x_150 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__5___lambda__1___closed__14; +x_151 = l_Lean_mkSepArray(x_149, x_150); +lean_dec(x_149); +x_152 = l_Array_append___rarg(x_48, x_151); +lean_inc(x_39); +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_39); +lean_ctor_set(x_153, 1, x_47); +lean_ctor_set(x_153, 2, x_152); +lean_inc(x_49); +x_154 = lean_array_push(x_52, x_49); +x_155 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15; +lean_inc(x_39); +x_156 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_156, 0, x_39); lean_ctor_set(x_156, 1, x_155); -x_157 = lean_array_push(x_55, x_143); -lean_inc(x_46); -x_158 = lean_array_push(x_157, x_46); -x_159 = lean_array_push(x_158, x_151); -x_160 = lean_array_push(x_159, x_154); -lean_inc(x_46); -x_161 = lean_array_push(x_160, x_46); +lean_ctor_set(x_156, 2, x_154); +x_157 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16; +lean_inc(x_39); +x_158 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_158, 0, x_39); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_array_push(x_58, x_145); +lean_inc(x_49); +x_160 = lean_array_push(x_159, x_49); +x_161 = lean_array_push(x_160, x_153); x_162 = lean_array_push(x_161, x_156); -x_163 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16; -lean_inc(x_36); -x_164 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_164, 0, x_36); -lean_ctor_set(x_164, 1, x_163); -lean_ctor_set(x_164, 2, x_162); -x_165 = lean_array_push(x_49, x_164); -lean_inc(x_36); +lean_inc(x_49); +x_163 = lean_array_push(x_162, x_49); +x_164 = lean_array_push(x_163, x_158); +x_165 = l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__12; +lean_inc(x_39); x_166 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_166, 0, x_36); -lean_ctor_set(x_166, 1, x_44); -lean_ctor_set(x_166, 2, x_165); -x_167 = lean_array_push(x_87, x_141); -x_168 = lean_array_push(x_167, x_166); -x_169 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__40; -lean_inc(x_36); -x_170 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_170, 0, x_36); -lean_ctor_set(x_170, 1, x_169); -lean_ctor_set(x_170, 2, x_168); -x_171 = lean_array_push(x_87, x_170); -lean_inc(x_46); -x_172 = lean_array_push(x_171, x_46); -x_173 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__38; -lean_inc(x_36); -x_174 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_174, 0, x_36); -lean_ctor_set(x_174, 1, x_173); -lean_ctor_set(x_174, 2, x_172); -x_175 = lean_array_push(x_139, x_174); -lean_inc(x_36); +lean_ctor_set(x_166, 0, x_39); +lean_ctor_set(x_166, 1, x_165); +lean_ctor_set(x_166, 2, x_164); +x_167 = lean_array_push(x_52, x_166); +lean_inc(x_39); +x_168 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_168, 0, x_39); +lean_ctor_set(x_168, 1, x_47); +lean_ctor_set(x_168, 2, x_167); +x_169 = lean_array_push(x_90, x_143); +x_170 = lean_array_push(x_169, x_168); +x_171 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__40; +lean_inc(x_39); +x_172 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_172, 0, x_39); +lean_ctor_set(x_172, 1, x_171); +lean_ctor_set(x_172, 2, x_170); +x_173 = lean_array_push(x_90, x_172); +lean_inc(x_49); +x_174 = lean_array_push(x_173, x_49); +x_175 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__38; +lean_inc(x_39); x_176 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_176, 0, x_36); -lean_ctor_set(x_176, 1, x_44); -lean_ctor_set(x_176, 2, x_175); -x_177 = lean_array_push(x_49, x_176); -x_178 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__37; -lean_inc(x_36); -x_179 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_179, 0, x_36); -lean_ctor_set(x_179, 1, x_178); -lean_ctor_set(x_179, 2, x_177); -x_180 = lean_array_push(x_87, x_132); -x_181 = lean_array_push(x_180, x_179); -x_182 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__35; -lean_inc(x_36); -x_183 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_183, 0, x_36); -lean_ctor_set(x_183, 1, x_182); -lean_ctor_set(x_183, 2, x_181); -x_184 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; -x_185 = lean_array_push(x_184, x_130); -x_186 = lean_array_push(x_185, x_183); -lean_inc(x_46); -x_187 = lean_array_push(x_186, x_46); -x_188 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34; -lean_inc(x_36); -x_189 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_189, 0, x_36); -lean_ctor_set(x_189, 1, x_188); -lean_ctor_set(x_189, 2, x_187); -x_190 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; -x_191 = lean_array_push(x_190, x_65); -x_192 = lean_array_push(x_87, x_63); -if (x_68 == 0) +lean_ctor_set(x_176, 0, x_39); +lean_ctor_set(x_176, 1, x_175); +lean_ctor_set(x_176, 2, x_174); +x_177 = lean_array_push(x_141, x_176); +lean_inc(x_39); +x_178 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_178, 0, x_39); +lean_ctor_set(x_178, 1, x_47); +lean_ctor_set(x_178, 2, x_177); +x_179 = lean_array_push(x_52, x_178); +x_180 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__37; +lean_inc(x_39); +x_181 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_181, 0, x_39); +lean_ctor_set(x_181, 1, x_180); +lean_ctor_set(x_181, 2, x_179); +x_182 = lean_array_push(x_90, x_135); +x_183 = lean_array_push(x_182, x_181); +x_184 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__7___lambda__1___closed__35; +lean_inc(x_39); +x_185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_185, 0, x_39); +lean_ctor_set(x_185, 1, x_184); +lean_ctor_set(x_185, 2, x_183); +x_186 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__4___closed__5; +x_187 = lean_array_push(x_186, x_133); +x_188 = lean_array_push(x_187, x_185); +lean_inc(x_49); +x_189 = lean_array_push(x_188, x_49); +x_190 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__34; +lean_inc(x_39); +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_39); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_191, 2, x_189); +x_192 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__36; +x_193 = lean_array_push(x_192, x_68); +x_194 = lean_array_push(x_90, x_66); +if (x_71 == 0) { -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; uint8_t x_211; lean_object* x_212; -lean_dec(x_66); -x_193 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; -x_194 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_193); -x_195 = lean_mk_syntax_ident(x_194); -x_196 = lean_array_push(x_87, x_195); -lean_inc(x_46); -x_197 = lean_array_push(x_196, x_46); -x_198 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; -lean_inc(x_36); -x_199 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_199, 0, x_36); -lean_ctor_set(x_199, 1, x_198); -lean_ctor_set(x_199, 2, x_197); -x_200 = lean_array_push(x_191, x_199); -x_201 = lean_array_push(x_200, x_128); -x_202 = lean_array_push(x_201, x_189); -lean_inc(x_46); -x_203 = lean_array_push(x_202, x_46); -lean_inc(x_46); -x_204 = lean_array_push(x_203, x_46); -x_205 = lean_array_push(x_204, x_46); -x_206 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__18; -lean_inc(x_36); -x_207 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_207, 0, x_36); -lean_ctor_set(x_207, 1, x_206); -lean_ctor_set(x_207, 2, x_205); -x_208 = lean_array_push(x_192, x_207); -x_209 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__12; -x_210 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_210, 0, x_36); -lean_ctor_set(x_210, 1, x_209); -lean_ctor_set(x_210, 2, x_208); -x_211 = 1; -x_212 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_211, x_3, x_4, x_5, x_6, x_7, x_8, x_41); +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; uint8_t x_213; lean_object* x_214; +lean_dec(x_69); +x_195 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; +x_196 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_195); +x_197 = lean_mk_syntax_ident(x_196); +x_198 = lean_array_push(x_90, x_197); +lean_inc(x_49); +x_199 = lean_array_push(x_198, x_49); +x_200 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; +lean_inc(x_39); +x_201 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_201, 0, x_39); +lean_ctor_set(x_201, 1, x_200); +lean_ctor_set(x_201, 2, x_199); +x_202 = lean_array_push(x_193, x_201); +x_203 = lean_array_push(x_202, x_131); +x_204 = lean_array_push(x_203, x_191); +lean_inc(x_49); +x_205 = lean_array_push(x_204, x_49); +lean_inc(x_49); +x_206 = lean_array_push(x_205, x_49); +x_207 = lean_array_push(x_206, x_49); +x_208 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__18; +lean_inc(x_39); +x_209 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_209, 0, x_39); +lean_ctor_set(x_209, 1, x_208); +lean_ctor_set(x_209, 2, x_207); +x_210 = lean_array_push(x_194, x_209); +x_211 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__12; +x_212 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_212, 0, x_39); +lean_ctor_set(x_212, 1, x_211); +lean_ctor_set(x_212, 2, x_210); +x_213 = 1; +x_214 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_213, x_3, x_4, x_5, x_6, x_7, x_8, x_44); lean_dec(x_12); -if (lean_obj_tag(x_212) == 0) +if (lean_obj_tag(x_214) == 0) { -uint8_t x_213; -x_213 = !lean_is_exclusive(x_212); -if (x_213 == 0) +uint8_t x_215; +x_215 = !lean_is_exclusive(x_214); +if (x_215 == 0) { -lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_214 = lean_ctor_get(x_212, 0); -x_215 = lean_array_push(x_49, x_210); -x_216 = l_Array_append___rarg(x_215, x_214); -lean_ctor_set(x_212, 0, x_216); -return x_212; +lean_object* x_216; lean_object* x_217; lean_object* x_218; +x_216 = lean_ctor_get(x_214, 0); +x_217 = lean_array_push(x_52, x_212); +x_218 = l_Array_append___rarg(x_217, x_216); +lean_ctor_set(x_214, 0, x_218); +return x_214; } else { -lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; -x_217 = lean_ctor_get(x_212, 0); -x_218 = lean_ctor_get(x_212, 1); -lean_inc(x_218); -lean_inc(x_217); +lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; +x_219 = lean_ctor_get(x_214, 0); +x_220 = lean_ctor_get(x_214, 1); +lean_inc(x_220); +lean_inc(x_219); +lean_dec(x_214); +x_221 = lean_array_push(x_52, x_212); +x_222 = l_Array_append___rarg(x_221, x_219); +x_223 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_223, 0, x_222); +lean_ctor_set(x_223, 1, x_220); +return x_223; +} +} +else +{ +uint8_t x_224; lean_dec(x_212); -x_219 = lean_array_push(x_49, x_210); -x_220 = l_Array_append___rarg(x_219, x_217); -x_221 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_218); -return x_221; -} +x_224 = !lean_is_exclusive(x_214); +if (x_224 == 0) +{ +return x_214; } else { -uint8_t x_222; -lean_dec(x_210); -x_222 = !lean_is_exclusive(x_212); -if (x_222 == 0) -{ -return x_212; -} -else -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_212, 0); -x_224 = lean_ctor_get(x_212, 1); -lean_inc(x_224); -lean_inc(x_223); -lean_dec(x_212); -x_225 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_225, 0, x_223); -lean_ctor_set(x_225, 1, x_224); -return x_225; +lean_object* x_225; lean_object* x_226; lean_object* x_227; +x_225 = lean_ctor_get(x_214, 0); +x_226 = lean_ctor_get(x_214, 1); +lean_inc(x_226); +lean_inc(x_225); +lean_dec(x_214); +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_225); +lean_ctor_set(x_227, 1, x_226); +return x_227; } } } else { -lean_object* x_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; uint8_t x_243; lean_object* x_244; -x_226 = lean_array_fget(x_66, x_16); -lean_dec(x_66); -x_227 = lean_mk_syntax_ident(x_226); -x_228 = lean_array_push(x_87, x_227); -lean_inc(x_46); -x_229 = lean_array_push(x_228, x_46); -x_230 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; -lean_inc(x_36); -x_231 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_231, 0, x_36); -lean_ctor_set(x_231, 1, x_230); -lean_ctor_set(x_231, 2, x_229); -x_232 = lean_array_push(x_191, x_231); -x_233 = lean_array_push(x_232, x_128); -x_234 = lean_array_push(x_233, x_189); -lean_inc(x_46); -x_235 = lean_array_push(x_234, x_46); -lean_inc(x_46); -x_236 = lean_array_push(x_235, x_46); -x_237 = lean_array_push(x_236, x_46); -x_238 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__18; -lean_inc(x_36); -x_239 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_239, 0, x_36); -lean_ctor_set(x_239, 1, x_238); -lean_ctor_set(x_239, 2, x_237); -x_240 = lean_array_push(x_192, x_239); -x_241 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__12; -x_242 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_242, 0, x_36); -lean_ctor_set(x_242, 1, x_241); -lean_ctor_set(x_242, 2, x_240); -x_243 = 1; -x_244 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_243, x_3, x_4, x_5, x_6, x_7, x_8, x_41); +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; uint8_t x_245; lean_object* x_246; +x_228 = lean_array_fget(x_69, x_16); +lean_dec(x_69); +x_229 = lean_mk_syntax_ident(x_228); +x_230 = lean_array_push(x_90, x_229); +lean_inc(x_49); +x_231 = lean_array_push(x_230, x_49); +x_232 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__20; +lean_inc(x_39); +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_39); +lean_ctor_set(x_233, 1, x_232); +lean_ctor_set(x_233, 2, x_231); +x_234 = lean_array_push(x_193, x_233); +x_235 = lean_array_push(x_234, x_131); +x_236 = lean_array_push(x_235, x_191); +lean_inc(x_49); +x_237 = lean_array_push(x_236, x_49); +lean_inc(x_49); +x_238 = lean_array_push(x_237, x_49); +x_239 = lean_array_push(x_238, x_49); +x_240 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__18; +lean_inc(x_39); +x_241 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_241, 0, x_39); +lean_ctor_set(x_241, 1, x_240); +lean_ctor_set(x_241, 2, x_239); +x_242 = lean_array_push(x_194, x_241); +x_243 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__12; +x_244 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_244, 0, x_39); +lean_ctor_set(x_244, 1, x_243); +lean_ctor_set(x_244, 2, x_242); +x_245 = 1; +x_246 = l_Lean_Elab_Deriving_mkInstanceCmds(x_12, x_15, x_2, x_245, x_3, x_4, x_5, x_6, x_7, x_8, x_44); lean_dec(x_12); -if (lean_obj_tag(x_244) == 0) +if (lean_obj_tag(x_246) == 0) { -uint8_t x_245; -x_245 = !lean_is_exclusive(x_244); -if (x_245 == 0) +uint8_t x_247; +x_247 = !lean_is_exclusive(x_246); +if (x_247 == 0) { -lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_246 = lean_ctor_get(x_244, 0); -x_247 = lean_array_push(x_49, x_242); -x_248 = l_Array_append___rarg(x_247, x_246); -lean_ctor_set(x_244, 0, x_248); -return x_244; +lean_object* x_248; lean_object* x_249; lean_object* x_250; +x_248 = lean_ctor_get(x_246, 0); +x_249 = lean_array_push(x_52, x_244); +x_250 = l_Array_append___rarg(x_249, x_248); +lean_ctor_set(x_246, 0, x_250); +return x_246; } else { -lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; -x_249 = lean_ctor_get(x_244, 0); -x_250 = lean_ctor_get(x_244, 1); -lean_inc(x_250); -lean_inc(x_249); +lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_251 = lean_ctor_get(x_246, 0); +x_252 = lean_ctor_get(x_246, 1); +lean_inc(x_252); +lean_inc(x_251); +lean_dec(x_246); +x_253 = lean_array_push(x_52, x_244); +x_254 = l_Array_append___rarg(x_253, x_251); +x_255 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_255, 0, x_254); +lean_ctor_set(x_255, 1, x_252); +return x_255; +} +} +else +{ +uint8_t x_256; lean_dec(x_244); -x_251 = lean_array_push(x_49, x_242); -x_252 = l_Array_append___rarg(x_251, x_249); -x_253 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_253, 0, x_252); -lean_ctor_set(x_253, 1, x_250); -return x_253; -} +x_256 = !lean_is_exclusive(x_246); +if (x_256 == 0) +{ +return x_246; } else { -uint8_t x_254; -lean_dec(x_242); -x_254 = !lean_is_exclusive(x_244); -if (x_254 == 0) -{ -return x_244; -} -else -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; -x_255 = lean_ctor_get(x_244, 0); -x_256 = lean_ctor_get(x_244, 1); -lean_inc(x_256); -lean_inc(x_255); -lean_dec(x_244); -x_257 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_257, 0, x_255); -lean_ctor_set(x_257, 1, x_256); -return x_257; +lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_257 = lean_ctor_get(x_246, 0); +x_258 = lean_ctor_get(x_246, 1); +lean_inc(x_258); +lean_inc(x_257); +lean_dec(x_246); +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; } } } } else { -uint8_t x_258; +uint8_t x_260; lean_dec(x_14); lean_dec(x_12); lean_dec(x_8); @@ -13845,30 +14516,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_258 = !lean_is_exclusive(x_17); -if (x_258 == 0) +x_260 = !lean_is_exclusive(x_17); +if (x_260 == 0) { return x_17; } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; -x_259 = lean_ctor_get(x_17, 0); -x_260 = lean_ctor_get(x_17, 1); -lean_inc(x_260); -lean_inc(x_259); +lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_261 = lean_ctor_get(x_17, 0); +x_262 = lean_ctor_get(x_17, 1); +lean_inc(x_262); +lean_inc(x_261); lean_dec(x_17); -x_261 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_261, 0, x_259); -lean_ctor_set(x_261, 1, x_260); -return x_261; +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; } } } } else { -uint8_t x_270; +uint8_t x_272; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -13876,23 +14547,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_270 = !lean_is_exclusive(x_11); -if (x_270 == 0) +x_272 = !lean_is_exclusive(x_11); +if (x_272 == 0) { return x_11; } else { -lean_object* x_271; lean_object* x_272; lean_object* x_273; -x_271 = lean_ctor_get(x_11, 0); -x_272 = lean_ctor_get(x_11, 1); -lean_inc(x_272); -lean_inc(x_271); +lean_object* x_273; lean_object* x_274; lean_object* x_275; +x_273 = lean_ctor_get(x_11, 0); +x_274 = lean_ctor_get(x_11, 1); +lean_inc(x_274); +lean_inc(x_273); lean_dec(x_11); -x_273 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_273, 0, x_271); -lean_ctor_set(x_273, 1, x_272); -return x_273; +x_275 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_275, 0, x_273); +lean_ctor_set(x_275, 1, x_274); +return x_275; } } } @@ -13920,157 +14591,156 @@ return x_10; } else { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_141; uint8_t x_142; -x_11 = lean_st_ref_get(x_3, x_4); -x_12 = lean_ctor_get(x_11, 0); -lean_inc(x_12); -x_13 = lean_ctor_get(x_11, 1); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_ctor_get(x_12, 0); -lean_inc(x_14); -lean_dec(x_12); -x_141 = lean_unsigned_to_nat(0u); -x_142 = lean_nat_dec_lt(x_141, x_5); +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; +x_11 = lean_unsigned_to_nat(0u); +x_12 = lean_nat_dec_lt(x_11, x_5); lean_dec(x_5); -if (x_142 == 0) +x_13 = lean_st_ref_get(x_3, x_4); +if (x_12 == 0) { -lean_object* x_143; lean_object* x_144; -x_143 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; -x_144 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_143); -x_15 = x_144; -goto block_140; +lean_object* x_139; lean_object* x_140; +x_139 = l_Std_Range_forIn_loop___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler_mkAlts___spec__4___closed__4; +x_140 = l_panic___at___private_Init_Prelude_0__Lean_assembleParts___spec__1(x_139); +x_14 = x_140; +goto block_138; } else { -lean_object* x_145; -x_145 = lean_array_fget(x_1, x_141); -x_15 = x_145; -goto block_140; +lean_object* x_141; +x_141 = lean_array_fget(x_1, x_11); +x_14 = x_141; +goto block_138; } -block_140: +block_138: { -uint8_t x_16; +lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; +x_15 = lean_ctor_get(x_13, 0); lean_inc(x_15); -x_16 = l_Lean_isStructure(x_14, x_15); -if (x_16 == 0) +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = lean_ctor_get(x_15, 0); +lean_inc(x_17); +lean_dec(x_15); +lean_inc(x_14); +x_18 = l_Lean_isStructure(x_17, x_14); +if (x_18 == 0) { -lean_object* x_17; +lean_object* x_19; lean_inc(x_2); -lean_inc(x_15); -x_17 = l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1(x_15, x_2, x_3, x_13); -if (lean_obj_tag(x_17) == 0) +lean_inc(x_14); +x_19 = l_Lean_getConstInfoInduct___at_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___spec__1(x_14, x_2, x_3, x_16); +if (lean_obj_tag(x_19) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); -lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___boxed), 10, 3); -lean_closure_set(x_20, 0, x_15); -lean_closure_set(x_20, 1, x_18); -lean_closure_set(x_20, 2, x_1); +lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_20 = lean_ctor_get(x_19, 0); +lean_inc(x_20); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +x_22 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___boxed), 10, 3); +lean_closure_set(x_22, 0, x_14); +lean_closure_set(x_22, 1, x_20); +lean_closure_set(x_22, 2, x_1); lean_inc(x_2); -x_21 = l_Lean_Elab_Command_liftTermElabM___rarg(x_20, x_2, x_3, x_19); -if (lean_obj_tag(x_21) == 0) +x_23 = l_Lean_Elab_Command_liftTermElabM___rarg(x_22, x_2, x_3, x_21); +if (lean_obj_tag(x_23) == 0) { -uint8_t x_22; -x_22 = !lean_is_exclusive(x_21); -if (x_22 == 0) +uint8_t x_24; +x_24 = !lean_is_exclusive(x_23); +if (x_24 == 0) { -lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; -x_23 = lean_ctor_get(x_21, 0); -x_24 = lean_ctor_get(x_21, 1); -x_25 = lean_array_get_size(x_23); -x_26 = lean_unsigned_to_nat(0u); -x_27 = lean_nat_dec_lt(x_26, x_25); -if (x_27 == 0) +lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_25 = lean_ctor_get(x_23, 0); +x_26 = lean_ctor_get(x_23, 1); +x_27 = lean_array_get_size(x_25); +x_28 = lean_nat_dec_lt(x_11, x_27); +if (x_28 == 0) { -uint8_t x_28; lean_object* x_29; +uint8_t x_29; lean_object* x_30; +lean_dec(x_27); lean_dec(x_25); -lean_dec(x_23); lean_dec(x_3); lean_dec(x_2); -x_28 = 1; -x_29 = lean_box(x_28); -lean_ctor_set(x_21, 0, x_29); -return x_21; +x_29 = 1; +x_30 = lean_box(x_29); +lean_ctor_set(x_23, 0, x_30); +return x_23; } else { -uint8_t x_30; -x_30 = lean_nat_dec_le(x_25, x_25); -if (x_30 == 0) +uint8_t x_31; +x_31 = lean_nat_dec_le(x_27, x_27); +if (x_31 == 0) { -uint8_t x_31; lean_object* x_32; +uint8_t x_32; lean_object* x_33; +lean_dec(x_27); lean_dec(x_25); -lean_dec(x_23); lean_dec(x_3); lean_dec(x_2); -x_31 = 1; -x_32 = lean_box(x_31); -lean_ctor_set(x_21, 0, x_32); -return x_21; +x_32 = 1; +x_33 = lean_box(x_32); +lean_ctor_set(x_23, 0, x_33); +return x_23; } else { -size_t x_33; size_t x_34; lean_object* x_35; lean_object* x_36; -lean_free_object(x_21); -x_33 = 0; -x_34 = lean_usize_of_nat(x_25); +size_t x_34; size_t x_35; lean_object* x_36; lean_object* x_37; +lean_free_object(x_23); +x_34 = 0; +x_35 = lean_usize_of_nat(x_27); +lean_dec(x_27); +x_36 = lean_box(0); +x_37 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_25, x_34, x_35, x_36, x_2, x_3, x_26); lean_dec(x_25); -x_35 = lean_box(0); -x_36 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_23, x_33, x_34, x_35, x_2, x_3, x_24); -lean_dec(x_23); -if (lean_obj_tag(x_36) == 0) +if (lean_obj_tag(x_37) == 0) { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +uint8_t x_38; +x_38 = !lean_is_exclusive(x_37); +if (x_38 == 0) { -lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_36, 0); -lean_dec(x_38); -x_39 = 1; -x_40 = lean_box(x_39); -lean_ctor_set(x_36, 0, x_40); -return x_36; +lean_object* x_39; uint8_t x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_37, 0); +lean_dec(x_39); +x_40 = 1; +x_41 = lean_box(x_40); +lean_ctor_set(x_37, 0, x_41); +return x_37; } else { -lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; -x_41 = lean_ctor_get(x_36, 1); -lean_inc(x_41); -lean_dec(x_36); -x_42 = 1; -x_43 = lean_box(x_42); -x_44 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_44, 0, x_43); -lean_ctor_set(x_44, 1, x_41); -return x_44; +lean_object* x_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; +x_42 = lean_ctor_get(x_37, 1); +lean_inc(x_42); +lean_dec(x_37); +x_43 = 1; +x_44 = lean_box(x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_44); +lean_ctor_set(x_45, 1, x_42); +return x_45; } } else { -uint8_t x_45; -x_45 = !lean_is_exclusive(x_36); -if (x_45 == 0) +uint8_t x_46; +x_46 = !lean_is_exclusive(x_37); +if (x_46 == 0) { -return x_36; +return x_37; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_36, 0); -x_47 = lean_ctor_get(x_36, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_37, 0); +x_48 = lean_ctor_get(x_37, 1); +lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_36); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_dec(x_37); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } @@ -14078,56 +14748,55 @@ return x_48; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -x_49 = lean_ctor_get(x_21, 0); -x_50 = lean_ctor_get(x_21, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_50 = lean_ctor_get(x_23, 0); +x_51 = lean_ctor_get(x_23, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_21); -x_51 = lean_array_get_size(x_49); -x_52 = lean_unsigned_to_nat(0u); -x_53 = lean_nat_dec_lt(x_52, x_51); +lean_dec(x_23); +x_52 = lean_array_get_size(x_50); +x_53 = lean_nat_dec_lt(x_11, x_52); if (x_53 == 0) { uint8_t x_54; lean_object* x_55; lean_object* x_56; -lean_dec(x_51); -lean_dec(x_49); +lean_dec(x_52); +lean_dec(x_50); lean_dec(x_3); lean_dec(x_2); x_54 = 1; x_55 = lean_box(x_54); x_56 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_56, 0, x_55); -lean_ctor_set(x_56, 1, x_50); +lean_ctor_set(x_56, 1, x_51); return x_56; } else { uint8_t x_57; -x_57 = lean_nat_dec_le(x_51, x_51); +x_57 = lean_nat_dec_le(x_52, x_52); if (x_57 == 0) { uint8_t x_58; lean_object* x_59; lean_object* x_60; -lean_dec(x_51); -lean_dec(x_49); +lean_dec(x_52); +lean_dec(x_50); lean_dec(x_3); lean_dec(x_2); x_58 = 1; x_59 = lean_box(x_58); x_60 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_60, 0, x_59); -lean_ctor_set(x_60, 1, x_50); +lean_ctor_set(x_60, 1, x_51); return x_60; } else { size_t x_61; size_t x_62; lean_object* x_63; lean_object* x_64; x_61 = 0; -x_62 = lean_usize_of_nat(x_51); -lean_dec(x_51); +x_62 = lean_usize_of_nat(x_52); +lean_dec(x_52); x_63 = lean_box(0); -x_64 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_49, x_61, x_62, x_63, x_2, x_3, x_50); -lean_dec(x_49); +x_64 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_50, x_61, x_62, x_63, x_2, x_3, x_51); +lean_dec(x_50); if (lean_obj_tag(x_64) == 0) { lean_object* x_65; lean_object* x_66; uint8_t x_67; lean_object* x_68; lean_object* x_69; @@ -14185,19 +14854,19 @@ else uint8_t x_74; lean_dec(x_3); lean_dec(x_2); -x_74 = !lean_is_exclusive(x_21); +x_74 = !lean_is_exclusive(x_23); if (x_74 == 0) { -return x_21; +return x_23; } else { lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_75 = lean_ctor_get(x_21, 0); -x_76 = lean_ctor_get(x_21, 1); +x_75 = lean_ctor_get(x_23, 0); +x_76 = lean_ctor_get(x_23, 1); lean_inc(x_76); lean_inc(x_75); -lean_dec(x_21); +lean_dec(x_23); x_77 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_77, 0, x_75); lean_ctor_set(x_77, 1, x_76); @@ -14208,23 +14877,23 @@ return x_77; else { uint8_t x_78; -lean_dec(x_15); +lean_dec(x_14); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_78 = !lean_is_exclusive(x_17); +x_78 = !lean_is_exclusive(x_19); if (x_78 == 0) { -return x_17; +return x_19; } else { lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_17, 0); -x_80 = lean_ctor_get(x_17, 1); +x_79 = lean_ctor_get(x_19, 0); +x_80 = lean_ctor_get(x_19, 1); lean_inc(x_80); lean_inc(x_79); -lean_dec(x_17); +lean_dec(x_19); x_81 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_81, 0, x_79); lean_ctor_set(x_81, 1, x_80); @@ -14236,108 +14905,107 @@ else { lean_object* x_82; lean_object* x_83; x_82 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___boxed), 9, 2); -lean_closure_set(x_82, 0, x_15); +lean_closure_set(x_82, 0, x_14); lean_closure_set(x_82, 1, x_1); lean_inc(x_2); -x_83 = l_Lean_Elab_Command_liftTermElabM___rarg(x_82, x_2, x_3, x_13); +x_83 = l_Lean_Elab_Command_liftTermElabM___rarg(x_82, x_2, x_3, x_16); if (lean_obj_tag(x_83) == 0) { uint8_t x_84; x_84 = !lean_is_exclusive(x_83); if (x_84 == 0) { -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; uint8_t x_89; +lean_object* x_85; lean_object* x_86; lean_object* x_87; uint8_t x_88; x_85 = lean_ctor_get(x_83, 0); x_86 = lean_ctor_get(x_83, 1); x_87 = lean_array_get_size(x_85); -x_88 = lean_unsigned_to_nat(0u); -x_89 = lean_nat_dec_lt(x_88, x_87); -if (x_89 == 0) +x_88 = lean_nat_dec_lt(x_11, x_87); +if (x_88 == 0) { -uint8_t x_90; lean_object* x_91; +uint8_t x_89; lean_object* x_90; lean_dec(x_87); lean_dec(x_85); lean_dec(x_3); lean_dec(x_2); -x_90 = 1; -x_91 = lean_box(x_90); -lean_ctor_set(x_83, 0, x_91); +x_89 = 1; +x_90 = lean_box(x_89); +lean_ctor_set(x_83, 0, x_90); return x_83; } else { -uint8_t x_92; -x_92 = lean_nat_dec_le(x_87, x_87); -if (x_92 == 0) +uint8_t x_91; +x_91 = lean_nat_dec_le(x_87, x_87); +if (x_91 == 0) { -uint8_t x_93; lean_object* x_94; +uint8_t x_92; lean_object* x_93; lean_dec(x_87); lean_dec(x_85); lean_dec(x_3); lean_dec(x_2); -x_93 = 1; -x_94 = lean_box(x_93); -lean_ctor_set(x_83, 0, x_94); +x_92 = 1; +x_93 = lean_box(x_92); +lean_ctor_set(x_83, 0, x_93); return x_83; } else { -size_t x_95; size_t x_96; lean_object* x_97; lean_object* x_98; +size_t x_94; size_t x_95; lean_object* x_96; lean_object* x_97; lean_free_object(x_83); -x_95 = 0; -x_96 = lean_usize_of_nat(x_87); +x_94 = 0; +x_95 = lean_usize_of_nat(x_87); lean_dec(x_87); -x_97 = lean_box(0); -x_98 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_85, x_95, x_96, x_97, x_2, x_3, x_86); +x_96 = lean_box(0); +x_97 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_85, x_94, x_95, x_96, x_2, x_3, x_86); lean_dec(x_85); -if (lean_obj_tag(x_98) == 0) +if (lean_obj_tag(x_97) == 0) { -uint8_t x_99; -x_99 = !lean_is_exclusive(x_98); -if (x_99 == 0) +uint8_t x_98; +x_98 = !lean_is_exclusive(x_97); +if (x_98 == 0) { -lean_object* x_100; uint8_t x_101; lean_object* x_102; -x_100 = lean_ctor_get(x_98, 0); -lean_dec(x_100); -x_101 = 1; -x_102 = lean_box(x_101); -lean_ctor_set(x_98, 0, x_102); -return x_98; +lean_object* x_99; uint8_t x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_97, 0); +lean_dec(x_99); +x_100 = 1; +x_101 = lean_box(x_100); +lean_ctor_set(x_97, 0, x_101); +return x_97; } else { -lean_object* x_103; uint8_t x_104; lean_object* x_105; lean_object* x_106; -x_103 = lean_ctor_get(x_98, 1); -lean_inc(x_103); -lean_dec(x_98); -x_104 = 1; -x_105 = lean_box(x_104); -x_106 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_106, 0, x_105); -lean_ctor_set(x_106, 1, x_103); -return x_106; +lean_object* x_102; uint8_t x_103; lean_object* x_104; lean_object* x_105; +x_102 = lean_ctor_get(x_97, 1); +lean_inc(x_102); +lean_dec(x_97); +x_103 = 1; +x_104 = lean_box(x_103); +x_105 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_105, 0, x_104); +lean_ctor_set(x_105, 1, x_102); +return x_105; } } else { -uint8_t x_107; -x_107 = !lean_is_exclusive(x_98); -if (x_107 == 0) +uint8_t x_106; +x_106 = !lean_is_exclusive(x_97); +if (x_106 == 0) { -return x_98; +return x_97; } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_108 = lean_ctor_get(x_98, 0); -x_109 = lean_ctor_get(x_98, 1); -lean_inc(x_109); +lean_object* x_107; lean_object* x_108; lean_object* x_109; +x_107 = lean_ctor_get(x_97, 0); +x_108 = lean_ctor_get(x_97, 1); lean_inc(x_108); -lean_dec(x_98); -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; +lean_inc(x_107); +lean_dec(x_97); +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; } } } @@ -14345,103 +15013,102 @@ return x_110; } else { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; uint8_t x_115; -x_111 = lean_ctor_get(x_83, 0); -x_112 = lean_ctor_get(x_83, 1); -lean_inc(x_112); +lean_object* x_110; lean_object* x_111; lean_object* x_112; uint8_t x_113; +x_110 = lean_ctor_get(x_83, 0); +x_111 = lean_ctor_get(x_83, 1); lean_inc(x_111); +lean_inc(x_110); lean_dec(x_83); -x_113 = lean_array_get_size(x_111); -x_114 = lean_unsigned_to_nat(0u); -x_115 = lean_nat_dec_lt(x_114, x_113); -if (x_115 == 0) +x_112 = lean_array_get_size(x_110); +x_113 = lean_nat_dec_lt(x_11, x_112); +if (x_113 == 0) { -uint8_t x_116; lean_object* x_117; lean_object* x_118; -lean_dec(x_113); -lean_dec(x_111); +uint8_t x_114; lean_object* x_115; lean_object* x_116; +lean_dec(x_112); +lean_dec(x_110); lean_dec(x_3); lean_dec(x_2); -x_116 = 1; -x_117 = lean_box(x_116); -x_118 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_118, 0, x_117); -lean_ctor_set(x_118, 1, x_112); -return x_118; +x_114 = 1; +x_115 = lean_box(x_114); +x_116 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_116, 0, x_115); +lean_ctor_set(x_116, 1, x_111); +return x_116; } else { -uint8_t x_119; -x_119 = lean_nat_dec_le(x_113, x_113); -if (x_119 == 0) +uint8_t x_117; +x_117 = lean_nat_dec_le(x_112, x_112); +if (x_117 == 0) { -uint8_t x_120; lean_object* x_121; lean_object* x_122; -lean_dec(x_113); -lean_dec(x_111); +uint8_t x_118; lean_object* x_119; lean_object* x_120; +lean_dec(x_112); +lean_dec(x_110); lean_dec(x_3); lean_dec(x_2); -x_120 = 1; -x_121 = lean_box(x_120); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_112); -return x_122; +x_118 = 1; +x_119 = lean_box(x_118); +x_120 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_111); +return x_120; } else { -size_t x_123; size_t x_124; lean_object* x_125; lean_object* x_126; -x_123 = 0; -x_124 = lean_usize_of_nat(x_113); -lean_dec(x_113); -x_125 = lean_box(0); -x_126 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_111, x_123, x_124, x_125, x_2, x_3, x_112); -lean_dec(x_111); -if (lean_obj_tag(x_126) == 0) +size_t x_121; size_t x_122; lean_object* x_123; lean_object* x_124; +x_121 = 0; +x_122 = lean_usize_of_nat(x_112); +lean_dec(x_112); +x_123 = lean_box(0); +x_124 = l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_elabCommand___spec__19(x_110, x_121, x_122, x_123, x_2, x_3, x_111); +lean_dec(x_110); +if (lean_obj_tag(x_124) == 0) { -lean_object* x_127; lean_object* x_128; uint8_t x_129; lean_object* x_130; lean_object* x_131; -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_128 = x_126; +lean_object* x_125; lean_object* x_126; uint8_t x_127; lean_object* x_128; lean_object* x_129; +x_125 = lean_ctor_get(x_124, 1); +lean_inc(x_125); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_126 = x_124; } else { - lean_dec_ref(x_126); - x_128 = lean_box(0); + lean_dec_ref(x_124); + x_126 = lean_box(0); } -x_129 = 1; -x_130 = lean_box(x_129); -if (lean_is_scalar(x_128)) { - x_131 = lean_alloc_ctor(0, 2, 0); +x_127 = 1; +x_128 = lean_box(x_127); +if (lean_is_scalar(x_126)) { + x_129 = lean_alloc_ctor(0, 2, 0); } else { - x_131 = x_128; + x_129 = x_126; } -lean_ctor_set(x_131, 0, x_130); -lean_ctor_set(x_131, 1, x_127); -return x_131; +lean_ctor_set(x_129, 0, x_128); +lean_ctor_set(x_129, 1, x_125); +return x_129; } else { -lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; -x_132 = lean_ctor_get(x_126, 0); -lean_inc(x_132); -x_133 = lean_ctor_get(x_126, 1); -lean_inc(x_133); -if (lean_is_exclusive(x_126)) { - lean_ctor_release(x_126, 0); - lean_ctor_release(x_126, 1); - x_134 = x_126; +lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_130 = lean_ctor_get(x_124, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_124, 1); +lean_inc(x_131); +if (lean_is_exclusive(x_124)) { + lean_ctor_release(x_124, 0); + lean_ctor_release(x_124, 1); + x_132 = x_124; } else { - lean_dec_ref(x_126); - x_134 = lean_box(0); + lean_dec_ref(x_124); + x_132 = lean_box(0); } -if (lean_is_scalar(x_134)) { - x_135 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_132)) { + x_133 = lean_alloc_ctor(1, 2, 0); } else { - x_135 = x_134; + x_133 = x_132; } -lean_ctor_set(x_135, 0, x_132); -lean_ctor_set(x_135, 1, x_133); -return x_135; +lean_ctor_set(x_133, 0, x_130); +lean_ctor_set(x_133, 1, x_131); +return x_133; } } } @@ -14449,26 +15116,26 @@ return x_135; } else { -uint8_t x_136; +uint8_t x_134; lean_dec(x_3); lean_dec(x_2); -x_136 = !lean_is_exclusive(x_83); -if (x_136 == 0) +x_134 = !lean_is_exclusive(x_83); +if (x_134 == 0) { return x_83; } else { -lean_object* x_137; lean_object* x_138; lean_object* x_139; -x_137 = lean_ctor_get(x_83, 0); -x_138 = lean_ctor_get(x_83, 1); -lean_inc(x_138); -lean_inc(x_137); +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_83, 0); +x_136 = lean_ctor_get(x_83, 1); +lean_inc(x_136); +lean_inc(x_135); lean_dec(x_83); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_137); -lean_ctor_set(x_139, 1, x_138); -return x_139; +x_137 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_137, 0, x_135); +lean_ctor_set(x_137, 1, x_136); +return x_137; } } } @@ -14556,60 +15223,36 @@ lean_dec(x_1); return x_24; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: { -size_t x_5; size_t x_6; lean_object* x_7; -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = lean_unbox_usize(x_3); +size_t x_13; size_t x_14; lean_object* x_15; +x_13 = lean_unbox_usize(x_3); lean_dec(x_3); -x_7 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3(x_1, x_5, x_6, x_4); -return x_7; +x_14 = lean_unbox_usize(x_4); +lean_dec(x_4); +x_15 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3(x_1, x_2, x_13, x_14, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +lean_dec(x_11); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +return x_15; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -size_t x_4; size_t x_5; lean_object* x_6; -x_4 = lean_unbox_usize(x_1); -lean_dec(x_1); -x_5 = lean_unbox_usize(x_2); -lean_dec(x_2); -x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(x_4, x_5, x_3); -return x_6; +size_t x_8; size_t x_9; lean_object* x_10; +x_8 = lean_unbox_usize(x_5); +lean_dec(x_5); +x_9 = lean_unbox_usize(x_6); +lean_dec(x_6); +x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__4(x_1, x_2, x_3, x_4, x_8, x_9, x_7); +return x_10; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___boxed(lean_object** _args) { -lean_object* x_1 = _args[0]; -lean_object* x_2 = _args[1]; -lean_object* x_3 = _args[2]; -lean_object* x_4 = _args[3]; -lean_object* x_5 = _args[4]; -lean_object* x_6 = _args[5]; -lean_object* x_7 = _args[6]; -lean_object* x_8 = _args[7]; -lean_object* x_9 = _args[8]; -lean_object* x_10 = _args[9]; -lean_object* x_11 = _args[10]; -lean_object* x_12 = _args[11]; -lean_object* x_13 = _args[12]; -lean_object* x_14 = _args[13]; -lean_object* x_15 = _args[14]; -lean_object* x_16 = _args[15]; -lean_object* x_17 = _args[16]; -_start: -{ -size_t x_18; size_t x_19; lean_object* x_20; -x_18 = lean_unbox_usize(x_15); -lean_dec(x_15); -x_19 = lean_unbox_usize(x_16); -lean_dec(x_16); -x_20 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_18, x_19, x_17); -return x_20; -} -} -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { size_t x_9; size_t x_10; lean_object* x_11; @@ -14617,7 +15260,7 @@ x_9 = lean_unbox_usize(x_6); lean_dec(x_6); x_10 = lean_unbox_usize(x_7); lean_dec(x_7); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5(x_1, x_2, x_3, x_4, x_5, x_9, x_10, x_8); return x_11; } } @@ -14676,7 +15319,7 @@ lean_dec(x_2); return x_10; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__1() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__1() { _start: { lean_object* x_1; @@ -14684,7 +15327,7 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanc return x_1; } } -static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__2() { +static lean_object* _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__2() { _start: { lean_object* x_1; @@ -14692,12 +15335,12 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInsta return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; x_2 = l_Lean_Elab_Deriving_FromToJson_mkToJsonInstanceHandler___lambda__3___closed__2; -x_3 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__1; +x_3 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__1; x_4 = l_Lean_Elab_registerDerivingHandler(x_2, x_3, x_1); if (lean_obj_tag(x_4) == 0) { @@ -14706,7 +15349,7 @@ x_5 = lean_ctor_get(x_4, 1); lean_inc(x_5); lean_dec(x_4); x_6 = l_Array_mapIdxM_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler_mkAlts___spec__3___closed__8; -x_7 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__2; +x_7 = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__2; x_8 = l_Lean_Elab_registerDerivingHandler(x_6, x_7, x_5); return x_8; } @@ -15195,16 +15838,88 @@ l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceH lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1___closed__2); l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1___closed__3 = _init_l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1___closed__3(); lean_mark_persistent(l_Array_foldrMUnsafe_fold___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__1___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__5); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__6 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__6(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__6); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__7 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__7(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__7); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__8 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__8(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__8); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__9 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__9(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__9); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__10 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__10(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__10); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__11 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__11(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__11); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__12); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__13); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__14 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__14(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__14); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__15); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__16 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__16(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__16); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__17 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__17(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__17); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__18 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__18(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__18); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__19 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__19(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__19); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__20); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__21 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__21(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__21); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__22 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__22(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__22); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__23 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__23(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__23); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__24 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__24(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__24); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__25 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__25(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__25); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__26); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__27 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__27(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__27); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__28 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__28(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__28); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__29 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__29(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__29); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__30 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__30(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__30); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__31 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__31(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__31); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__32 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__32(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__32); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__33 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__33(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__33); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__34 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__34(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__34); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__35 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__35(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__35); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__36 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__36(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__36); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__37 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__37(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__37); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__38 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__38(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__38); +l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__39 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__39(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__3___closed__39); l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__1(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__1); l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2(); lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__5___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___spec__6___closed__2); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__1); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__2(); @@ -15223,8 +15938,6 @@ l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__ lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__8); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__9); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__1___closed__10); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__1(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__1); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__2(); @@ -15247,12 +15960,6 @@ l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__ lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__10); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__11); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__12 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__12(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__12); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__13 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__13(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__13); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__2___closed__14); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__1(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__1); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__2(); @@ -15285,19 +15992,11 @@ l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__ lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__15); l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16(); lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__16); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__17); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__18); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__19); -l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__20 = _init_l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__20(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_mkFromJsonInstanceHandler___lambda__3___closed__20); -l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__1(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__1); -l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__2(); -lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773____closed__2); -res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_6773_(lean_io_mk_world()); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__1 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__1(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__1); +l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__2 = _init_l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__2(); +lean_mark_persistent(l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176____closed__2); +res = l_Lean_Elab_Deriving_FromToJson_initFn____x40_Lean_Elab_Deriving_FromToJson___hyg_7176_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Deriving/TypeName.c b/stage0/stdlib/Lean/Elab/Deriving/TypeName.c index 2d261a3c2d..d59360d783 100644 --- a/stage0/stdlib/Lean/Elab/Deriving/TypeName.c +++ b/stage0/stdlib/Lean/Elab/Deriving/TypeName.c @@ -13,7 +13,7 @@ #ifdef __cplusplus extern "C" { #endif -lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__90; size_t lean_usize_add(size_t, size_t); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__12; @@ -25,7 +25,7 @@ lean_object* lean_array_uget(lean_object*, size_t); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__70; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__35; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__36; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__69; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__19; lean_object* l_Lean_Elab_registerDerivingHandler(lean_object*, lean_object*, lean_object*); @@ -159,25 +159,27 @@ x_4 = l_Lean_Elab_Command_getRef(x_1, x_2, x_3); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_SourceInfo_fromRef(x_6); -lean_ctor_set(x_4, 0, x_7); +x_7 = 0; +x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7); +lean_ctor_set(x_4, 0, x_8); return x_4; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 1); +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_dec(x_4); -x_10 = l_Lean_SourceInfo_fromRef(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_9, 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); +return x_13; } } } @@ -1039,7 +1041,7 @@ return x_1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; uint8_t x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; x_5 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__1(x_2, x_3, x_4); x_6 = lean_ctor_get(x_5, 0); lean_inc(x_6); @@ -1162,380 +1164,381 @@ x_55 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_55, 0, x_6); lean_ctor_set(x_55, 1, x_54); x_56 = lean_box(0); +x_57 = 0; lean_inc(x_1); -x_57 = l_Lean_mkCIdentFrom(x_56, x_1); -x_58 = lean_array_push(x_42, x_55); -x_59 = lean_array_push(x_58, x_57); -x_60 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__45; +x_58 = l_Lean_mkCIdentFrom(x_56, x_1, x_57); +x_59 = lean_array_push(x_42, x_55); +x_60 = lean_array_push(x_59, x_58); +x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__45; lean_inc(x_6); -x_61 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_61, 0, x_6); -lean_ctor_set(x_61, 1, x_60); -lean_ctor_set(x_61, 2, x_59); -x_62 = lean_array_push(x_20, x_61); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_6); +lean_ctor_set(x_62, 1, x_61); +lean_ctor_set(x_62, 2, x_60); +x_63 = lean_array_push(x_20, x_62); lean_inc(x_6); -x_63 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_63, 0, x_6); -lean_ctor_set(x_63, 1, x_15); -lean_ctor_set(x_63, 2, x_62); -x_64 = lean_array_push(x_42, x_53); -x_65 = lean_array_push(x_64, x_63); -x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__35; +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_6); +lean_ctor_set(x_64, 1, x_15); +lean_ctor_set(x_64, 2, x_63); +x_65 = lean_array_push(x_42, x_53); +x_66 = lean_array_push(x_65, x_64); +x_67 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__35; lean_inc(x_6); -x_67 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_67, 0, x_6); -lean_ctor_set(x_67, 1, x_66); -lean_ctor_set(x_67, 2, x_65); -x_68 = lean_array_push(x_42, x_48); -x_69 = lean_array_push(x_68, x_67); -x_70 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__32; +x_68 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_68, 0, x_6); +lean_ctor_set(x_68, 1, x_67); +lean_ctor_set(x_68, 2, x_66); +x_69 = lean_array_push(x_42, x_48); +x_70 = lean_array_push(x_69, x_68); +x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__32; lean_inc(x_6); -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_6); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_69); -lean_inc(x_71); -x_72 = lean_array_push(x_20, x_71); +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_6); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_70); +lean_inc(x_72); +x_73 = lean_array_push(x_20, x_72); lean_inc(x_6); -x_73 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_73, 0, x_6); -lean_ctor_set(x_73, 1, x_15); -lean_ctor_set(x_73, 2, x_72); +x_74 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_74, 0, x_6); +lean_ctor_set(x_74, 1, x_15); +lean_ctor_set(x_74, 2, x_73); lean_inc(x_17); -x_74 = lean_array_push(x_42, x_17); -lean_inc(x_74); -x_75 = lean_array_push(x_74, x_73); -x_76 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__28; +x_75 = lean_array_push(x_42, x_17); +lean_inc(x_75); +x_76 = lean_array_push(x_75, x_74); +x_77 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__28; lean_inc(x_6); -x_77 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_77, 0, x_6); -lean_ctor_set(x_77, 1, x_76); -lean_ctor_set(x_77, 2, x_75); -x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__49; +x_78 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_78, 0, x_6); +lean_ctor_set(x_78, 1, x_77); +lean_ctor_set(x_78, 2, x_76); +x_79 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__49; lean_inc(x_6); -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_6); -lean_ctor_set(x_79, 1, x_78); -x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__52; +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_6); +lean_ctor_set(x_80, 1, x_79); +x_81 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__52; lean_inc(x_6); -x_81 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_81, 0, x_6); -lean_ctor_set(x_81, 1, x_80); -x_82 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__56; +x_82 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_82, 0, x_6); +lean_ctor_set(x_82, 1, x_81); +x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__56; lean_inc(x_9); lean_inc(x_12); -x_83 = l_Lean_addMacroScope(x_12, x_82, x_9); -x_84 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__55; +x_84 = l_Lean_addMacroScope(x_12, x_83, x_9); +x_85 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__55; lean_inc(x_6); -x_85 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_85, 0, x_6); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_85, 2, x_83); -lean_ctor_set(x_85, 3, x_39); -x_86 = lean_array_push(x_42, x_81); -x_87 = lean_array_push(x_86, x_85); -x_88 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__51; +x_86 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_86, 0, x_6); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_84); +lean_ctor_set(x_86, 3, x_39); +x_87 = lean_array_push(x_42, x_82); +x_88 = lean_array_push(x_87, x_86); +x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__51; lean_inc(x_6); -x_89 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_89, 0, x_6); -lean_ctor_set(x_89, 1, x_88); -lean_ctor_set(x_89, 2, x_87); -x_90 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__59; +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_6); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set(x_90, 2, x_88); +x_91 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__59; lean_inc(x_6); -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_6); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_array_push(x_20, x_91); -x_93 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__58; +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_6); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_array_push(x_20, x_92); +x_94 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__58; lean_inc(x_6); -x_94 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_94, 0, x_6); -lean_ctor_set(x_94, 1, x_93); -lean_ctor_set(x_94, 2, x_92); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_6); +lean_ctor_set(x_95, 1, x_94); +lean_ctor_set(x_95, 2, x_93); lean_inc(x_1); -x_95 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_39, x_1); -x_96 = lean_array_push(x_42, x_94); -x_97 = lean_array_push(x_42, x_89); -x_98 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__60; -x_99 = lean_array_push(x_98, x_79); -x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__61; -x_101 = lean_array_push(x_100, x_36); -x_102 = lean_array_push(x_101, x_46); -x_103 = lean_array_push(x_102, x_77); -x_104 = lean_array_push(x_42, x_34); -x_105 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__64; +x_96 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_39, x_1); +x_97 = lean_array_push(x_42, x_95); +x_98 = lean_array_push(x_42, x_90); +x_99 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__60; +x_100 = lean_array_push(x_99, x_80); +x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__61; +x_102 = lean_array_push(x_101, x_36); +x_103 = lean_array_push(x_102, x_46); +x_104 = lean_array_push(x_103, x_78); +x_105 = lean_array_push(x_42, x_34); +x_106 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__64; lean_inc(x_6); -x_106 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_106, 0, x_6); -lean_ctor_set(x_106, 1, x_105); +x_107 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_107, 0, x_6); +lean_ctor_set(x_107, 1, x_106); lean_inc(x_17); -x_107 = lean_array_push(x_20, x_17); -x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__68; +x_108 = lean_array_push(x_20, x_17); +x_109 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__68; lean_inc(x_6); -x_109 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_109, 0, x_6); -lean_ctor_set(x_109, 1, x_108); -lean_ctor_set(x_109, 2, x_107); -x_110 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__76; +x_110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_110, 0, x_6); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set(x_110, 2, x_108); +x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__76; lean_inc(x_9); lean_inc(x_12); -x_111 = l_Lean_addMacroScope(x_12, x_110, x_9); -x_112 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__75; +x_112 = l_Lean_addMacroScope(x_12, x_111, x_9); +x_113 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__75; lean_inc(x_6); -x_113 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_113, 0, x_6); -lean_ctor_set(x_113, 1, x_112); -lean_ctor_set(x_113, 2, x_111); -lean_ctor_set(x_113, 3, x_39); -x_114 = lean_array_push(x_20, x_41); +x_114 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_114, 0, x_6); +lean_ctor_set(x_114, 1, x_113); +lean_ctor_set(x_114, 2, x_112); +lean_ctor_set(x_114, 3, x_39); +x_115 = lean_array_push(x_20, x_41); lean_inc(x_6); -x_115 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_115, 0, x_6); -lean_ctor_set(x_115, 1, x_15); -lean_ctor_set(x_115, 2, x_114); -x_116 = lean_array_push(x_42, x_113); -x_117 = lean_array_push(x_116, x_115); -x_118 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__72; +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_6); +lean_ctor_set(x_116, 1, x_15); +lean_ctor_set(x_116, 2, x_115); +x_117 = lean_array_push(x_42, x_114); +x_118 = lean_array_push(x_117, x_116); +x_119 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__72; lean_inc(x_6); -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_6); -lean_ctor_set(x_119, 1, x_118); -lean_ctor_set(x_119, 2, x_117); -lean_inc(x_109); -x_120 = lean_array_push(x_42, x_109); -x_121 = lean_array_push(x_120, x_119); -x_122 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__66; +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_6); +lean_ctor_set(x_120, 1, x_119); +lean_ctor_set(x_120, 2, x_118); +lean_inc(x_110); +x_121 = lean_array_push(x_42, x_110); +x_122 = lean_array_push(x_121, x_120); +x_123 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__66; lean_inc(x_6); -x_123 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_123, 0, x_6); -lean_ctor_set(x_123, 1, x_122); -lean_ctor_set(x_123, 2, x_121); -x_124 = lean_array_push(x_20, x_123); +x_124 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_124, 0, x_6); +lean_ctor_set(x_124, 1, x_123); +lean_ctor_set(x_124, 2, x_122); +x_125 = lean_array_push(x_20, x_124); lean_inc(x_6); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_6); -lean_ctor_set(x_125, 1, x_15); -lean_ctor_set(x_125, 2, x_124); -x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__77; +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_6); +lean_ctor_set(x_126, 1, x_15); +lean_ctor_set(x_126, 2, x_125); +x_127 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__77; lean_inc(x_6); -x_127 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_127, 0, x_6); -lean_ctor_set(x_127, 1, x_126); -x_128 = lean_array_push(x_98, x_106); -x_129 = lean_array_push(x_128, x_125); -x_130 = lean_array_push(x_129, x_127); -x_131 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__63; +x_128 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_128, 0, x_6); +lean_ctor_set(x_128, 1, x_127); +x_129 = lean_array_push(x_99, x_107); +x_130 = lean_array_push(x_129, x_126); +x_131 = lean_array_push(x_130, x_128); +x_132 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__63; lean_inc(x_6); -x_132 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_132, 0, x_6); -lean_ctor_set(x_132, 1, x_131); -lean_ctor_set(x_132, 2, x_130); -x_133 = lean_array_push(x_20, x_132); +x_133 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_133, 0, x_6); +lean_ctor_set(x_133, 1, x_132); +lean_ctor_set(x_133, 2, x_131); +x_134 = lean_array_push(x_20, x_133); lean_inc(x_6); -x_134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_134, 0, x_6); -lean_ctor_set(x_134, 1, x_15); -lean_ctor_set(x_134, 2, x_133); -x_135 = lean_array_push(x_27, x_134); -lean_inc(x_17); -x_136 = lean_array_push(x_135, x_17); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_6); +lean_ctor_set(x_135, 1, x_15); +lean_ctor_set(x_135, 2, x_134); +x_136 = lean_array_push(x_27, x_135); lean_inc(x_17); x_137 = lean_array_push(x_136, x_17); lean_inc(x_17); x_138 = lean_array_push(x_137, x_17); lean_inc(x_17); x_139 = lean_array_push(x_138, x_17); -lean_inc(x_6); -x_140 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_140, 0, x_6); -lean_ctor_set(x_140, 1, x_33); -lean_ctor_set(x_140, 2, x_139); -x_141 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__78; -lean_inc(x_6); -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_6); -lean_ctor_set(x_142, 1, x_141); -x_143 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__83; -x_144 = l_Lean_addMacroScope(x_12, x_143, x_9); -x_145 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__82; -lean_inc(x_6); -x_146 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_146, 0, x_6); -lean_ctor_set(x_146, 1, x_145); -lean_ctor_set(x_146, 2, x_144); -lean_ctor_set(x_146, 3, x_39); -lean_inc(x_146); -x_147 = lean_array_push(x_42, x_146); lean_inc(x_17); -x_148 = lean_array_push(x_147, x_17); +x_140 = lean_array_push(x_139, x_17); lean_inc(x_6); -x_149 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_149, 0, x_6); -lean_ctor_set(x_149, 1, x_45); -lean_ctor_set(x_149, 2, x_148); -x_150 = lean_array_push(x_74, x_71); -x_151 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__85; +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_6); +lean_ctor_set(x_141, 1, x_33); +lean_ctor_set(x_141, 2, x_140); +x_142 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__78; lean_inc(x_6); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_6); -lean_ctor_set(x_152, 1, x_151); -lean_ctor_set(x_152, 2, x_150); -x_153 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__86; -x_154 = lean_array_push(x_153, x_142); -x_155 = lean_array_push(x_154, x_149); -lean_inc(x_152); -x_156 = lean_array_push(x_155, x_152); +x_143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_143, 0, x_6); +lean_ctor_set(x_143, 1, x_142); +x_144 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__83; +x_145 = l_Lean_addMacroScope(x_12, x_144, x_9); +x_146 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__82; +lean_inc(x_6); +x_147 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_147, 0, x_6); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_145); +lean_ctor_set(x_147, 3, x_39); +lean_inc(x_147); +x_148 = lean_array_push(x_42, x_147); lean_inc(x_17); -x_157 = lean_array_push(x_156, x_17); -x_158 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__79; +x_149 = lean_array_push(x_148, x_17); lean_inc(x_6); -x_159 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_159, 0, x_6); -lean_ctor_set(x_159, 1, x_158); -lean_ctor_set(x_159, 2, x_157); -x_160 = lean_array_push(x_42, x_140); -x_161 = lean_array_push(x_160, x_159); -x_162 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__10; +x_150 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_150, 0, x_6); +lean_ctor_set(x_150, 1, x_45); +lean_ctor_set(x_150, 2, x_149); +x_151 = lean_array_push(x_75, x_72); +x_152 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__85; lean_inc(x_6); -x_163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_163, 0, x_6); -lean_ctor_set(x_163, 1, x_162); -lean_ctor_set(x_163, 2, x_161); +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_6); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set(x_153, 2, x_151); +x_154 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__86; +x_155 = lean_array_push(x_154, x_143); +x_156 = lean_array_push(x_155, x_150); +lean_inc(x_153); +x_157 = lean_array_push(x_156, x_153); lean_inc(x_17); -x_164 = lean_array_push(x_30, x_17); -lean_inc(x_17); -x_165 = lean_array_push(x_164, x_17); +x_158 = lean_array_push(x_157, x_17); +x_159 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__79; lean_inc(x_6); -x_166 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_166, 0, x_6); -lean_ctor_set(x_166, 1, x_33); -lean_ctor_set(x_166, 2, x_165); -x_167 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__87; +x_160 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_160, 0, x_6); +lean_ctor_set(x_160, 1, x_159); +lean_ctor_set(x_160, 2, x_158); +x_161 = lean_array_push(x_42, x_141); +x_162 = lean_array_push(x_161, x_160); +x_163 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__10; lean_inc(x_6); -x_168 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_168, 0, x_6); -lean_ctor_set(x_168, 1, x_167); -lean_inc(x_99); -x_169 = lean_array_push(x_99, x_146); +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_6); +lean_ctor_set(x_164, 1, x_163); +lean_ctor_set(x_164, 2, x_162); lean_inc(x_17); -x_170 = lean_array_push(x_169, x_17); -x_171 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__48; +x_165 = lean_array_push(x_30, x_17); +lean_inc(x_17); +x_166 = lean_array_push(x_165, x_17); lean_inc(x_6); -x_172 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_172, 0, x_6); -lean_ctor_set(x_172, 1, x_171); -lean_ctor_set(x_172, 2, x_170); -x_173 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__89; -x_174 = lean_array_push(x_173, x_109); -x_175 = lean_array_push(x_174, x_168); +x_167 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_167, 0, x_6); +lean_ctor_set(x_167, 1, x_33); +lean_ctor_set(x_167, 2, x_166); +x_168 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__87; +lean_inc(x_6); +x_169 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_169, 0, x_6); +lean_ctor_set(x_169, 1, x_168); +lean_inc(x_100); +x_170 = lean_array_push(x_100, x_147); lean_inc(x_17); -x_176 = lean_array_push(x_175, x_17); +x_171 = lean_array_push(x_170, x_17); +x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__48; +lean_inc(x_6); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_6); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_171); +x_174 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__89; +x_175 = lean_array_push(x_174, x_110); +x_176 = lean_array_push(x_175, x_169); lean_inc(x_17); x_177 = lean_array_push(x_176, x_17); -x_178 = lean_array_push(x_177, x_152); -x_179 = lean_array_push(x_178, x_172); lean_inc(x_17); -x_180 = lean_array_push(x_179, x_17); +x_178 = lean_array_push(x_177, x_17); +x_179 = lean_array_push(x_178, x_153); +x_180 = lean_array_push(x_179, x_173); lean_inc(x_17); x_181 = lean_array_push(x_180, x_17); -x_182 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__88; +lean_inc(x_17); +x_182 = lean_array_push(x_181, x_17); +x_183 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__88; lean_inc(x_6); -x_183 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_183, 0, x_6); -lean_ctor_set(x_183, 1, x_182); -lean_ctor_set(x_183, 2, x_181); -x_184 = lean_array_push(x_42, x_166); -x_185 = lean_array_push(x_184, x_183); +x_184 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_184, 0, x_6); +lean_ctor_set(x_184, 1, x_183); +lean_ctor_set(x_184, 2, x_182); +x_185 = lean_array_push(x_42, x_167); +x_186 = lean_array_push(x_185, x_184); lean_inc(x_6); -x_186 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_186, 0, x_6); -lean_ctor_set(x_186, 1, x_162); -lean_ctor_set(x_186, 2, x_185); -if (lean_obj_tag(x_95) == 0) +x_187 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_187, 0, x_6); +lean_ctor_set(x_187, 1, x_163); +lean_ctor_set(x_187, 2, x_186); +if (lean_obj_tag(x_96) == 0) { -lean_object* x_209; -x_209 = l_Lean_quoteNameMk(x_1); -x_187 = x_209; -goto block_208; +lean_object* x_210; +x_210 = l_Lean_quoteNameMk(x_1); +x_188 = x_210; +goto block_209; } else { -lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; +lean_object* x_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_dec(x_1); -x_210 = lean_ctor_get(x_95, 0); -lean_inc(x_210); -lean_dec(x_95); -x_211 = l_String_intercalate(x_80, x_210); -x_212 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__92; -x_213 = lean_string_append(x_212, x_211); -lean_dec(x_211); -x_214 = lean_box(2); -x_215 = l_Lean_Syntax_mkNameLit(x_213, x_214); -x_216 = lean_array_push(x_20, x_215); -x_217 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__91; -x_218 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_218, 0, x_214); -lean_ctor_set(x_218, 1, x_217); -lean_ctor_set(x_218, 2, x_216); -x_187 = x_218; -goto block_208; +x_211 = lean_ctor_get(x_96, 0); +lean_inc(x_211); +lean_dec(x_96); +x_212 = l_String_intercalate(x_81, x_211); +x_213 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__92; +x_214 = lean_string_append(x_213, x_212); +lean_dec(x_212); +x_215 = lean_box(2); +x_216 = l_Lean_Syntax_mkNameLit(x_214, x_215); +x_217 = lean_array_push(x_20, x_216); +x_218 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__91; +x_219 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_219, 0, x_215); +lean_ctor_set(x_219, 1, x_218); +lean_ctor_set(x_219, 2, x_217); +x_188 = x_219; +goto block_209; } -block_208: +block_209: { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; -x_188 = lean_array_push(x_96, x_187); +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; +x_189 = lean_array_push(x_97, x_188); lean_inc(x_6); -x_189 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_189, 0, x_6); -lean_ctor_set(x_189, 1, x_15); -lean_ctor_set(x_189, 2, x_188); -x_190 = lean_array_push(x_97, x_189); +x_190 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_190, 0, x_6); +lean_ctor_set(x_190, 1, x_15); +lean_ctor_set(x_190, 2, x_189); +x_191 = lean_array_push(x_98, x_190); lean_inc(x_6); -x_191 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_191, 0, x_6); -lean_ctor_set(x_191, 1, x_66); -lean_ctor_set(x_191, 2, x_190); -x_192 = lean_array_push(x_99, x_191); +x_192 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_192, 0, x_6); +lean_ctor_set(x_192, 1, x_67); +lean_ctor_set(x_192, 2, x_191); +x_193 = lean_array_push(x_100, x_192); lean_inc(x_17); -x_193 = lean_array_push(x_192, x_17); +x_194 = lean_array_push(x_193, x_17); lean_inc(x_6); -x_194 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_194, 0, x_6); -lean_ctor_set(x_194, 1, x_171); -lean_ctor_set(x_194, 2, x_193); -x_195 = lean_array_push(x_103, x_194); -lean_inc(x_17); -x_196 = lean_array_push(x_195, x_17); +x_195 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_195, 0, x_6); +lean_ctor_set(x_195, 1, x_172); +lean_ctor_set(x_195, 2, x_194); +x_196 = lean_array_push(x_104, x_195); lean_inc(x_17); x_197 = lean_array_push(x_196, x_17); +lean_inc(x_17); x_198 = lean_array_push(x_197, x_17); -x_199 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__19; +x_199 = lean_array_push(x_198, x_17); +x_200 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Deriving_TypeName_0__Lean_Elab_deriveTypeNameInstance___spec__2___lambda__1___closed__19; lean_inc(x_6); -x_200 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_200, 0, x_6); -lean_ctor_set(x_200, 1, x_199); -lean_ctor_set(x_200, 2, x_198); -x_201 = lean_array_push(x_104, x_200); +x_201 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_201, 0, x_6); +lean_ctor_set(x_201, 1, x_200); +lean_ctor_set(x_201, 2, x_199); +x_202 = lean_array_push(x_105, x_201); lean_inc(x_6); -x_202 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_202, 0, x_6); -lean_ctor_set(x_202, 1, x_162); -lean_ctor_set(x_202, 2, x_201); -x_203 = lean_array_push(x_98, x_202); -x_204 = lean_array_push(x_203, x_163); -x_205 = lean_array_push(x_204, x_186); -x_206 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_206, 0, x_6); -lean_ctor_set(x_206, 1, x_15); -lean_ctor_set(x_206, 2, x_205); +x_203 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_203, 0, x_6); +lean_ctor_set(x_203, 1, x_163); +lean_ctor_set(x_203, 2, x_202); +x_204 = lean_array_push(x_99, x_203); +x_205 = lean_array_push(x_204, x_164); +x_206 = lean_array_push(x_205, x_187); +x_207 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_207, 0, x_6); +lean_ctor_set(x_207, 1, x_15); +lean_ctor_set(x_207, 2, x_206); if (lean_is_scalar(x_14)) { - x_207 = lean_alloc_ctor(0, 2, 0); + x_208 = lean_alloc_ctor(0, 2, 0); } else { - x_207 = x_14; + x_208 = x_14; } -lean_ctor_set(x_207, 0, x_206); -lean_ctor_set(x_207, 1, x_13); -return x_207; +lean_ctor_set(x_208, 0, x_207); +lean_ctor_set(x_208, 1, x_13); +return x_208; } } } diff --git a/stage0/stdlib/Lean/Elab/Do.c b/stage0/stdlib/Lean/Elab/Do.c index 088232eb3f..af198457db 100644 --- a/stage0/stdlib/Lean/Elab/Do.c +++ b/stage0/stdlib/Lean/Elab/Do.c @@ -146,7 +146,7 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___close LEAN_EXPORT lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_mkUnknownMonadResult___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__14; static lean_object* l_Lean_Elab_Term_Do_ToTerm_continueToTerm___closed__29; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__11___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_getDoHaveVars___closed__5; @@ -240,7 +240,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToTerm_Kind_noConfusion___rarg___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_Do_mkJmp___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Term_Do_mkJmp___spec__7___closed__2; static lean_object* l_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___closed__23; @@ -366,7 +366,7 @@ static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbidd static lean_object* l___regBuiltin_Lean_Elab_Term_Do_elabDo___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_mkFreshJP___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethod(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___closed__35; static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__6; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__3___closed__4; @@ -518,7 +518,7 @@ lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind_extract_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__33; static lean_object* l_Lean_Elab_Term_Do_ToTerm_returnToTerm___closed__22; -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_CodeBlocl_toMessageData_loop___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -880,7 +880,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_extendUpdatedVarsAux_update___boxed LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_mkReassignCore___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_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Do_ToCodeBlock_mkForInBody___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__7___closed__2; -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_Do_ToTerm_breakToTerm___closed__14; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___boxed(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__13; @@ -7236,15 +7236,16 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_mkSimpleJmp___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -18321,15 +18322,16 @@ return x_5; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_ctor_get(x_1, 5); lean_inc(x_3); lean_dec(x_1); -x_4 = l_Lean_SourceInfo_fromRef(x_3); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -return x_5; +x_4 = 0; +x_5 = l_Lean_SourceInfo_fromRef(x_3, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1(lean_object* x_1) { @@ -25283,18 +25285,18 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_5 = lean_ctor_get(x_3, 5); -lean_inc(x_5); -lean_dec(x_3); -x_6 = l_Lean_mkIdentFrom(x_5, x_1); -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* x_6; lean_object* x_7; lean_object* x_8; +x_6 = lean_ctor_get(x_4, 5); +lean_inc(x_6); +lean_dec(x_4); +x_7 = l_Lean_mkIdentFrom(x_6, x_1, x_2); +x_8 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_8, 0, x_7); +lean_ctor_set(x_8, 1, x_5); +return x_8; } } static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__4___closed__1() { @@ -25430,7 +25432,7 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 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; size_t x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 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_8; size_t x_9; size_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; size_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; 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; x_8 = lean_array_get_size(x_2); x_9 = lean_usize_of_nat(x_8); lean_dec(x_8); @@ -25470,134 +25472,135 @@ x_25 = lean_ctor_get(x_23, 1); lean_inc(x_25); lean_dec(x_23); x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2(x_9, x_10, x_2); +x_27 = 0; lean_inc(x_22); -x_27 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_1, x_5, x_22, x_25); -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); +x_28 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_1, x_27, x_5, x_22, x_25); +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -lean_dec(x_27); -x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_22, x_29); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToTerm_returnToTerm___spec__1___rarg(x_22, x_30); +x_32 = lean_ctor_get(x_31, 0); lean_inc(x_32); -lean_dec(x_30); -x_33 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__1; -lean_inc(x_31); -x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_31); -lean_ctor_set(x_34, 1, x_33); -x_35 = l_Array_zip___rarg(x_26, x_24); +x_33 = lean_ctor_get(x_31, 1); +lean_inc(x_33); +lean_dec(x_31); +x_34 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__1; +lean_inc(x_32); +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_32); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Array_zip___rarg(x_26, x_24); lean_dec(x_24); lean_dec(x_26); -x_36 = lean_array_get_size(x_35); -x_37 = lean_usize_of_nat(x_36); -lean_dec(x_36); -x_38 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; -x_39 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_40 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; -lean_inc(x_31); -x_41 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__4(x_31, x_38, x_39, x_40, x_37, x_10, x_35); -x_42 = l_Array_append___rarg(x_40, x_41); -lean_inc(x_31); -x_43 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_43, 0, x_31); -lean_ctor_set(x_43, 1, x_39); -lean_ctor_set(x_43, 2, x_42); -x_44 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; -lean_inc(x_31); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_31); -lean_ctor_set(x_45, 1, x_44); -x_46 = lean_ctor_get(x_5, 0); -lean_inc(x_46); +x_37 = lean_array_get_size(x_36); +x_38 = lean_usize_of_nat(x_37); +lean_dec(x_37); +x_39 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems___closed__6; +x_40 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_41 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +lean_inc(x_32); +x_42 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__4(x_32, x_39, x_40, x_41, x_38, x_10, x_36); +x_43 = l_Array_append___rarg(x_41, x_42); +lean_inc(x_32); +x_44 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_44, 0, x_32); +lean_ctor_set(x_44, 1, x_40); +lean_ctor_set(x_44, 2, x_43); +x_45 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_mkUnit___closed__10; +lean_inc(x_32); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_32); +lean_ctor_set(x_46, 1, x_45); +x_47 = lean_ctor_get(x_5, 0); +lean_inc(x_47); lean_dec(x_5); -x_47 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__17; -lean_inc(x_31); -x_48 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_48, 0, x_31); -lean_ctor_set(x_48, 1, x_47); -x_49 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_50 = lean_array_push(x_49, x_48); -x_51 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__10; -lean_inc(x_31); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_31); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_50); -x_53 = lean_array_push(x_49, x_52); -lean_inc(x_31); -x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_31); -lean_ctor_set(x_54, 1, x_39); -lean_ctor_set(x_54, 2, x_53); -x_55 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_56 = lean_array_push(x_55, x_46); -x_57 = lean_array_push(x_56, x_54); -x_58 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; -lean_inc(x_31); -x_59 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_59, 0, x_31); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_57); -x_60 = lean_array_push(x_55, x_45); -x_61 = lean_array_push(x_60, x_59); -x_62 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; -lean_inc(x_31); -x_63 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_63, 0, x_31); -lean_ctor_set(x_63, 1, x_62); -lean_ctor_set(x_63, 2, x_61); -x_64 = lean_array_push(x_49, x_63); -lean_inc(x_31); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_31); -lean_ctor_set(x_65, 1, x_39); -lean_ctor_set(x_65, 2, x_64); -x_66 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; -lean_inc(x_31); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_31); -lean_ctor_set(x_67, 1, x_66); -x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; -x_69 = lean_array_push(x_68, x_28); -x_70 = lean_array_push(x_69, x_43); -x_71 = lean_array_push(x_70, x_65); -x_72 = lean_array_push(x_71, x_67); -x_73 = lean_array_push(x_72, x_3); -x_74 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; -lean_inc(x_31); -x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_31); -lean_ctor_set(x_75, 1, x_74); -lean_ctor_set(x_75, 2, x_73); -x_76 = lean_array_push(x_49, x_75); -x_77 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; -lean_inc(x_31); -x_78 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_78, 0, x_31); -lean_ctor_set(x_78, 1, x_77); -lean_ctor_set(x_78, 2, x_76); -x_79 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; -lean_inc(x_31); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_31); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_82 = lean_array_push(x_81, x_34); -x_83 = lean_array_push(x_82, x_78); -x_84 = lean_array_push(x_83, x_80); -x_85 = lean_array_push(x_84, x_4); -x_86 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; -x_87 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_87, 0, x_31); -lean_ctor_set(x_87, 1, x_86); -lean_ctor_set(x_87, 2, x_85); -x_88 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_88, 0, x_87); -lean_ctor_set(x_88, 1, x_32); -return x_88; +x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__17; +lean_inc(x_32); +x_49 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_49, 0, x_32); +lean_ctor_set(x_49, 1, x_48); +x_50 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_51 = lean_array_push(x_50, x_49); +x_52 = l_Lean_Elab_Term_Do_ToTerm_actionTerminalToTerm___closed__10; +lean_inc(x_32); +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_32); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = lean_array_push(x_50, x_53); +lean_inc(x_32); +x_55 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_55, 0, x_32); +lean_ctor_set(x_55, 1, x_40); +lean_ctor_set(x_55, 2, x_54); +x_56 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_57 = lean_array_push(x_56, x_47); +x_58 = lean_array_push(x_57, x_55); +x_59 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__2; +lean_inc(x_32); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_32); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_58); +x_61 = lean_array_push(x_56, x_46); +x_62 = lean_array_push(x_61, x_60); +x_63 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__4; +lean_inc(x_32); +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_32); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_62); +x_65 = lean_array_push(x_50, x_64); +lean_inc(x_32); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_32); +lean_ctor_set(x_66, 1, x_40); +lean_ctor_set(x_66, 2, x_65); +x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; +lean_inc(x_32); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_32); +lean_ctor_set(x_68, 1, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; +x_70 = lean_array_push(x_69, x_29); +x_71 = lean_array_push(x_70, x_44); +x_72 = lean_array_push(x_71, x_66); +x_73 = lean_array_push(x_72, x_68); +x_74 = lean_array_push(x_73, x_3); +x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__6; +lean_inc(x_32); +x_76 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_76, 0, x_32); +lean_ctor_set(x_76, 1, x_75); +lean_ctor_set(x_76, 2, x_74); +x_77 = lean_array_push(x_50, x_76); +x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__10; +lean_inc(x_32); +x_79 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_79, 0, x_32); +lean_ctor_set(x_79, 1, x_78); +lean_ctor_set(x_79, 2, x_77); +x_80 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +lean_inc(x_32); +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_32); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_83 = lean_array_push(x_82, x_35); +x_84 = lean_array_push(x_83, x_79); +x_85 = lean_array_push(x_84, x_81); +x_86 = lean_array_push(x_85, x_4); +x_87 = l_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___closed__2; +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_32); +lean_ctor_set(x_88, 1, x_87); +lean_ctor_set(x_88, 2, x_86); +x_89 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_89, 0, x_88); +lean_ctor_set(x_89, 1, x_33); +return x_89; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___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) { @@ -25625,13 +25628,15 @@ x_6 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__2 return x_6; } } -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_1, x_2, x_3, x_4); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_2); lean_dec(x_2); -return x_5; +x_7 = l_Lean_mkIdentFromRef___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__3(x_1, x_6, x_3, x_4, x_5); +lean_dec(x_3); +return x_7; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Do_ToTerm_mkJoinPoint___spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { @@ -25659,10 +25664,11 @@ return x_8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToTerm_mkJmp(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_mkIdentFrom(x_1, x_2); -x_5 = l_Lean_Syntax_mkApp(x_4, x_3); -return x_5; +uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_4 = 0; +x_5 = l_Lean_mkIdentFrom(x_1, x_2, x_4); +x_6 = l_Lean_Syntax_mkApp(x_5, x_3); +return x_6; } } static lean_object* _init_l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm_go___spec__1___closed__1() { @@ -25701,7 +25707,7 @@ lean_inc(x_5); x_12 = l_Lean_Elab_Term_Do_ToTerm_toTerm(x_11, x_5, x_6, x_7); 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; size_t x_34; size_t x_35; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_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; size_t x_35; size_t x_36; x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); x_14 = lean_ctor_get(x_12, 1); @@ -25710,55 +25716,56 @@ lean_dec(x_12); x_15 = lean_ctor_get(x_10, 0); lean_inc(x_15); x_16 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__14; +x_17 = 0; lean_inc(x_15); -x_17 = l_Lean_mkAtomFrom(x_15, x_16); -x_18 = lean_ctor_get(x_10, 2); -lean_inc(x_18); +x_18 = l_Lean_mkAtomFrom(x_15, x_16, x_17); +x_19 = lean_ctor_get(x_10, 2); +lean_inc(x_19); lean_dec(x_10); -x_19 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_20 = lean_array_push(x_19, x_18); -x_21 = lean_box(2); -x_22 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_23 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_23, 2, x_20); -x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__15; -x_25 = l_Lean_mkAtomFrom(x_15, x_24); -x_26 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -x_27 = lean_array_push(x_26, x_17); -x_28 = lean_array_push(x_27, x_23); -x_29 = lean_array_push(x_28, x_25); -x_30 = lean_array_push(x_29, x_13); -x_31 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm_go___spec__1___closed__1; -x_32 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_32, 0, x_21); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_32, 2, x_30); -x_33 = lean_array_push(x_4, x_32); -x_34 = 1; -x_35 = lean_usize_add(x_3, x_34); -x_3 = x_35; -x_4 = x_33; +x_20 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_21 = lean_array_push(x_20, x_19); +x_22 = lean_box(2); +x_23 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_24 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_24, 2, x_21); +x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__15; +x_26 = l_Lean_mkAtomFrom(x_15, x_25, x_17); +x_27 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +x_28 = lean_array_push(x_27, x_18); +x_29 = lean_array_push(x_28, x_24); +x_30 = lean_array_push(x_29, x_26); +x_31 = lean_array_push(x_30, x_13); +x_32 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm_go___spec__1___closed__1; +x_33 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_31); +x_34 = lean_array_push(x_4, x_33); +x_35 = 1; +x_36 = lean_usize_add(x_3, x_35); +x_3 = x_36; +x_4 = x_34; x_7 = x_14; goto _start; } else { -lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_dec(x_10); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_37 = lean_ctor_get(x_12, 0); -lean_inc(x_37); -x_38 = lean_ctor_get(x_12, 1); +x_38 = lean_ctor_get(x_12, 0); lean_inc(x_38); +x_39 = lean_ctor_get(x_12, 1); +lean_inc(x_39); lean_dec(x_12); -x_39 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -return x_39; +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } @@ -26200,7 +26207,7 @@ x_117 = l_Array_forInUnsafe_loop___at_Lean_Elab_Term_Do_ToTerm_toTerm_go___spec_ lean_dec(x_112); if (lean_obj_tag(x_117) == 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; 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_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; uint8_t x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; x_118 = lean_ctor_get(x_117, 0); lean_inc(x_118); x_119 = lean_ctor_get(x_117, 1); @@ -26220,62 +26227,63 @@ lean_ctor_set(x_126, 0, x_120); lean_ctor_set(x_126, 1, x_125); lean_ctor_set(x_126, 2, x_124); x_127 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__10; +x_128 = 0; lean_inc(x_108); -x_128 = l_Lean_mkAtomFrom(x_108, x_127); -x_129 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__12; -x_130 = l_Lean_mkAtomFrom(x_108, x_129); -x_131 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__6; -x_132 = lean_array_push(x_131, x_128); -x_133 = lean_array_push(x_132, x_109); -x_134 = lean_array_push(x_133, x_111); -x_135 = lean_array_push(x_134, x_110); -x_136 = lean_array_push(x_135, x_130); -x_137 = lean_array_push(x_136, x_126); -x_138 = l_Lean_Elab_Term_Do_ToTerm_toTerm_go___closed__1; -x_139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_139, 0, x_120); -lean_ctor_set(x_139, 1, x_138); -lean_ctor_set(x_139, 2, x_137); -x_140 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_140, 0, x_139); -lean_ctor_set(x_140, 1, x_119); -return x_140; +x_129 = l_Lean_mkAtomFrom(x_108, x_127, x_128); +x_130 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__12; +x_131 = l_Lean_mkAtomFrom(x_108, x_130, x_128); +x_132 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__6; +x_133 = lean_array_push(x_132, x_129); +x_134 = lean_array_push(x_133, x_109); +x_135 = lean_array_push(x_134, x_111); +x_136 = lean_array_push(x_135, x_110); +x_137 = lean_array_push(x_136, x_131); +x_138 = lean_array_push(x_137, x_126); +x_139 = l_Lean_Elab_Term_Do_ToTerm_toTerm_go___closed__1; +x_140 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_140, 0, x_120); +lean_ctor_set(x_140, 1, x_139); +lean_ctor_set(x_140, 2, x_138); +x_141 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_141, 0, x_140); +lean_ctor_set(x_141, 1, x_119); +return x_141; } else { -lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_dec(x_111); lean_dec(x_110); lean_dec(x_109); lean_dec(x_108); -x_141 = lean_ctor_get(x_117, 0); -lean_inc(x_141); -x_142 = lean_ctor_get(x_117, 1); +x_142 = lean_ctor_get(x_117, 0); lean_inc(x_142); +x_143 = lean_ctor_get(x_117, 1); +lean_inc(x_143); lean_dec(x_117); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_141); -lean_ctor_set(x_143, 1, x_142); -return x_143; +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; } } default: { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_dec(x_3); lean_dec(x_2); -x_144 = lean_ctor_get(x_1, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_1, 1); +x_145 = lean_ctor_get(x_1, 0); lean_inc(x_145); -x_146 = lean_ctor_get(x_1, 2); +x_146 = lean_ctor_get(x_1, 1); lean_inc(x_146); +x_147 = lean_ctor_get(x_1, 2); +lean_inc(x_147); lean_dec(x_1); -x_147 = l_Lean_Elab_Term_Do_ToTerm_mkJmp(x_144, x_145, x_146); -x_148 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_148, 0, x_147); -lean_ctor_set(x_148, 1, x_4); -return x_148; +x_148 = l_Lean_Elab_Term_Do_ToTerm_mkJmp(x_145, x_146, x_147); +x_149 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_149, 0, x_148); +lean_ctor_set(x_149, 1, x_4); +return x_149; } } } @@ -32385,18 +32393,19 @@ return x_32; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__7(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; x_10 = lean_ctor_get(x_7, 5); lean_inc(x_10); lean_dec(x_7); -x_11 = l_Lean_SourceInfo_fromRef(x_10); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_1); +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_10, 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_9); -return x_13; +lean_ctor_set(x_13, 1, x_1); +x_14 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_14, 0, x_13); +lean_ctor_set(x_14, 1, x_9); +return x_14; } } LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_ToCodeBlock_expandLiftMethodAux___spec__9(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -36228,15 +36237,16 @@ return x_15; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -44893,7 +44903,7 @@ goto _start; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { _start: { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; +lean_object* x_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; uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; x_16 = l_Lean_Elab_Term_Do_mkDoSeq(x_7); x_17 = lean_unsigned_to_nat(1u); x_18 = l_Lean_Syntax_getArg(x_1, x_17); @@ -44934,237 +44944,238 @@ x_35 = l_Lean_Name_str___override(x_2, x_34); x_36 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__13; lean_inc(x_2); x_37 = l_Lean_Name_str___override(x_2, x_36); -x_38 = l_Lean_SourceInfo_fromRef(x_3); -x_39 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -lean_inc(x_38); -x_40 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_42 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_38 = 0; +x_39 = l_Lean_SourceInfo_fromRef(x_3, x_38); +x_40 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +lean_inc(x_39); +x_41 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_43 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; lean_inc(x_21); -x_43 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_43, 0, x_21); -lean_ctor_set(x_43, 1, x_41); -lean_ctor_set(x_43, 2, x_42); -x_44 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; -x_45 = l_Lean_addMacroScope(x_28, x_44, x_23); -x_46 = lean_box(0); -x_47 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; +x_44 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_44, 0, x_21); +lean_ctor_set(x_44, 1, x_42); +lean_ctor_set(x_44, 2, x_43); +x_45 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; +x_46 = l_Lean_addMacroScope(x_28, x_45, x_23); +x_47 = lean_box(0); +x_48 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; lean_inc(x_21); -x_48 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_48, 0, x_21); -lean_ctor_set(x_48, 1, x_47); -lean_ctor_set(x_48, 2, x_45); -lean_ctor_set(x_48, 3, x_46); -x_49 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_49 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_49, 0, x_21); +lean_ctor_set(x_49, 1, x_48); +lean_ctor_set(x_49, 2, x_46); +lean_ctor_set(x_49, 3, x_47); +x_50 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; lean_inc(x_21); -x_50 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_50, 0, x_21); -lean_ctor_set(x_50, 1, x_49); -x_51 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -lean_inc(x_48); -x_52 = lean_array_push(x_51, x_48); -lean_inc(x_43); -x_53 = lean_array_push(x_52, x_43); -x_54 = lean_array_push(x_53, x_50); -x_55 = lean_array_push(x_54, x_4); +x_51 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_51, 0, x_21); +lean_ctor_set(x_51, 1, x_50); +x_52 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +lean_inc(x_49); +x_53 = lean_array_push(x_52, x_49); +lean_inc(x_44); +x_54 = lean_array_push(x_53, x_44); +x_55 = lean_array_push(x_54, x_51); +x_56 = lean_array_push(x_55, x_4); lean_inc(x_21); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_21); -lean_ctor_set(x_56, 1, x_5); -lean_ctor_set(x_56, 2, x_55); -x_57 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_58 = lean_array_push(x_57, x_40); -lean_inc(x_43); -x_59 = lean_array_push(x_58, x_43); -x_60 = lean_array_push(x_59, x_56); +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_21); +lean_ctor_set(x_57, 1, x_5); +lean_ctor_set(x_57, 2, x_56); +x_58 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_59 = lean_array_push(x_58, x_41); +lean_inc(x_44); +x_60 = lean_array_push(x_59, x_44); +x_61 = lean_array_push(x_60, x_57); lean_inc(x_21); -x_61 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_61, 0, x_21); -lean_ctor_set(x_61, 1, x_37); -lean_ctor_set(x_61, 2, x_60); -x_62 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_21); +lean_ctor_set(x_62, 1, x_37); +lean_ctor_set(x_62, 2, x_61); +x_63 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; lean_inc(x_21); -x_63 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_63, 0, x_21); -lean_ctor_set(x_63, 1, x_62); -x_64 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_65 = lean_array_push(x_64, x_63); +x_64 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_64, 0, x_21); +lean_ctor_set(x_64, 1, x_63); +x_65 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_66 = lean_array_push(x_65, x_64); lean_inc(x_21); -x_66 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_66, 0, x_21); -lean_ctor_set(x_66, 1, x_41); -lean_ctor_set(x_66, 2, x_65); -x_67 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_68 = lean_array_push(x_67, x_61); -x_69 = lean_array_push(x_68, x_66); +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_21); +lean_ctor_set(x_67, 1, x_42); +lean_ctor_set(x_67, 2, x_66); +x_68 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_69 = lean_array_push(x_68, x_62); +x_70 = lean_array_push(x_69, x_67); lean_inc(x_35); lean_inc(x_21); -x_70 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_70, 0, x_21); -lean_ctor_set(x_70, 1, x_35); -lean_ctor_set(x_70, 2, x_69); -x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__9; +x_71 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_71, 0, x_21); +lean_ctor_set(x_71, 1, x_35); +lean_ctor_set(x_71, 2, x_70); +x_72 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__9; lean_inc(x_2); -x_72 = l_Lean_Name_str___override(x_2, x_71); -x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__10; -x_74 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_74, 0, x_38); -lean_ctor_set(x_74, 1, x_73); -x_75 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__11; +x_73 = l_Lean_Name_str___override(x_2, x_72); +x_74 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__10; +x_75 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_75, 0, x_39); +lean_ctor_set(x_75, 1, x_74); +x_76 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__11; lean_inc(x_2); -x_76 = l_Lean_Name_str___override(x_2, x_75); -lean_inc(x_43); -x_77 = lean_array_push(x_67, x_43); -x_78 = lean_array_push(x_77, x_48); +x_77 = l_Lean_Name_str___override(x_2, x_76); +lean_inc(x_44); +x_78 = lean_array_push(x_68, x_44); +x_79 = lean_array_push(x_78, x_49); lean_inc(x_21); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_21); -lean_ctor_set(x_79, 1, x_76); -lean_ctor_set(x_79, 2, x_78); -x_80 = lean_array_push(x_64, x_79); +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_21); +lean_ctor_set(x_80, 1, x_77); +lean_ctor_set(x_80, 2, x_79); +x_81 = lean_array_push(x_65, x_80); lean_inc(x_21); -x_81 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_81, 0, x_21); -lean_ctor_set(x_81, 1, x_41); -lean_ctor_set(x_81, 2, x_80); -x_82 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__12; +x_82 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_82, 0, x_21); +lean_ctor_set(x_82, 1, x_42); +lean_ctor_set(x_82, 2, x_81); +x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__12; lean_inc(x_21); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_21); -lean_ctor_set(x_83, 1, x_82); -x_84 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; +x_84 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_84, 0, x_21); +lean_ctor_set(x_84, 1, x_83); +x_85 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__3; lean_inc(x_2); -x_85 = l_Lean_Name_str___override(x_2, x_84); -x_86 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__13; +x_86 = l_Lean_Name_str___override(x_2, x_85); +x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__13; lean_inc(x_2); -x_87 = l_Lean_Name_str___override(x_2, x_86); -x_88 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__14; +x_88 = l_Lean_Name_str___override(x_2, x_87); +x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__14; lean_inc(x_21); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_21); -lean_ctor_set(x_89, 1, x_88); -x_90 = lean_array_push(x_64, x_6); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_21); +lean_ctor_set(x_90, 1, x_89); +x_91 = lean_array_push(x_65, x_6); lean_inc(x_21); -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_21); -lean_ctor_set(x_91, 1, x_41); -lean_ctor_set(x_91, 2, x_90); -x_92 = lean_array_push(x_64, x_91); +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_21); +lean_ctor_set(x_92, 1, x_42); +lean_ctor_set(x_92, 2, x_91); +x_93 = lean_array_push(x_65, x_92); lean_inc(x_21); -x_93 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_93, 0, x_21); -lean_ctor_set(x_93, 1, x_41); -lean_ctor_set(x_93, 2, x_92); -x_94 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__15; +x_94 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_94, 0, x_21); +lean_ctor_set(x_94, 1, x_42); +lean_ctor_set(x_94, 2, x_93); +x_95 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__15; lean_inc(x_21); -x_95 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_95, 0, x_21); -lean_ctor_set(x_95, 1, x_94); -x_96 = lean_array_push(x_51, x_89); +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_21); +lean_ctor_set(x_96, 1, x_95); +x_97 = lean_array_push(x_52, x_90); +lean_inc(x_97); +x_98 = lean_array_push(x_97, x_94); lean_inc(x_96); -x_97 = lean_array_push(x_96, x_93); -lean_inc(x_95); -x_98 = lean_array_push(x_97, x_95); -x_99 = lean_array_push(x_98, x_16); -lean_inc(x_87); +x_99 = lean_array_push(x_98, x_96); +x_100 = lean_array_push(x_99, x_16); +lean_inc(x_88); lean_inc(x_21); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_21); -lean_ctor_set(x_100, 1, x_87); -lean_ctor_set(x_100, 2, x_99); -x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__16; -x_102 = l_Lean_Name_str___override(x_2, x_101); -x_103 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__17; +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_21); +lean_ctor_set(x_101, 1, x_88); +lean_ctor_set(x_101, 2, x_100); +x_102 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__16; +x_103 = l_Lean_Name_str___override(x_2, x_102); +x_104 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__17; lean_inc(x_21); -x_104 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_104, 0, x_21); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_array_push(x_64, x_104); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_21); +lean_ctor_set(x_105, 1, x_104); +x_106 = lean_array_push(x_65, x_105); lean_inc(x_21); -x_106 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_106, 0, x_21); -lean_ctor_set(x_106, 1, x_102); -lean_ctor_set(x_106, 2, x_105); -x_107 = lean_array_push(x_64, x_106); +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_21); +lean_ctor_set(x_107, 1, x_103); +lean_ctor_set(x_107, 2, x_106); +x_108 = lean_array_push(x_65, x_107); lean_inc(x_21); -x_108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_108, 0, x_21); -lean_ctor_set(x_108, 1, x_41); -lean_ctor_set(x_108, 2, x_107); -x_109 = lean_array_push(x_64, x_108); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_21); +lean_ctor_set(x_109, 1, x_42); +lean_ctor_set(x_109, 2, x_108); +x_110 = lean_array_push(x_65, x_109); lean_inc(x_21); -x_110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_110, 0, x_21); -lean_ctor_set(x_110, 1, x_41); -lean_ctor_set(x_110, 2, x_109); -x_111 = lean_array_push(x_96, x_110); -x_112 = lean_array_push(x_111, x_95); -x_113 = lean_array_push(x_112, x_19); +x_111 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_111, 0, x_21); +lean_ctor_set(x_111, 1, x_42); +lean_ctor_set(x_111, 2, x_110); +x_112 = lean_array_push(x_97, x_111); +x_113 = lean_array_push(x_112, x_96); +x_114 = lean_array_push(x_113, x_19); lean_inc(x_21); -x_114 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_114, 0, x_21); -lean_ctor_set(x_114, 1, x_87); -lean_ctor_set(x_114, 2, x_113); -x_115 = lean_array_push(x_67, x_100); -x_116 = lean_array_push(x_115, x_114); +x_115 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_115, 0, x_21); +lean_ctor_set(x_115, 1, x_88); +lean_ctor_set(x_115, 2, x_114); +x_116 = lean_array_push(x_68, x_101); +x_117 = lean_array_push(x_116, x_115); lean_inc(x_21); -x_117 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_117, 0, x_21); -lean_ctor_set(x_117, 1, x_41); -lean_ctor_set(x_117, 2, x_116); -x_118 = lean_array_push(x_64, x_117); +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_21); +lean_ctor_set(x_118, 1, x_42); +lean_ctor_set(x_118, 2, x_117); +x_119 = lean_array_push(x_65, x_118); lean_inc(x_21); -x_119 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_119, 0, x_21); -lean_ctor_set(x_119, 1, x_85); -lean_ctor_set(x_119, 2, x_118); -x_120 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__6; -x_121 = lean_array_push(x_120, x_74); -lean_inc(x_43); -x_122 = lean_array_push(x_121, x_43); -lean_inc(x_43); -x_123 = lean_array_push(x_122, x_43); -x_124 = lean_array_push(x_123, x_81); -x_125 = lean_array_push(x_124, x_83); -x_126 = lean_array_push(x_125, x_119); +x_120 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_120, 0, x_21); +lean_ctor_set(x_120, 1, x_86); +lean_ctor_set(x_120, 2, x_119); +x_121 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_expandDoIf_x3f___spec__5___lambda__2___closed__6; +x_122 = lean_array_push(x_121, x_75); +lean_inc(x_44); +x_123 = lean_array_push(x_122, x_44); +lean_inc(x_44); +x_124 = lean_array_push(x_123, x_44); +x_125 = lean_array_push(x_124, x_82); +x_126 = lean_array_push(x_125, x_84); +x_127 = lean_array_push(x_126, x_120); lean_inc(x_21); -x_127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_127, 0, x_21); -lean_ctor_set(x_127, 1, x_72); -lean_ctor_set(x_127, 2, x_126); -x_128 = lean_array_push(x_67, x_127); -x_129 = lean_array_push(x_128, x_43); +x_128 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_128, 0, x_21); +lean_ctor_set(x_128, 1, x_73); +lean_ctor_set(x_128, 2, x_127); +x_129 = lean_array_push(x_68, x_128); +x_130 = lean_array_push(x_129, x_44); lean_inc(x_21); -x_130 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_130, 0, x_21); -lean_ctor_set(x_130, 1, x_35); -lean_ctor_set(x_130, 2, x_129); -x_131 = lean_array_push(x_67, x_70); -x_132 = lean_array_push(x_131, x_130); +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_21); +lean_ctor_set(x_131, 1, x_35); +lean_ctor_set(x_131, 2, x_130); +x_132 = lean_array_push(x_68, x_71); +x_133 = lean_array_push(x_132, x_131); lean_inc(x_21); -x_133 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_133, 0, x_21); -lean_ctor_set(x_133, 1, x_41); -lean_ctor_set(x_133, 2, x_132); -x_134 = lean_array_push(x_64, x_133); +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_21); +lean_ctor_set(x_134, 1, x_42); +lean_ctor_set(x_134, 2, x_133); +x_135 = lean_array_push(x_65, x_134); lean_inc(x_21); -x_135 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_135, 0, x_21); -lean_ctor_set(x_135, 1, x_33); -lean_ctor_set(x_135, 2, x_134); -x_136 = lean_array_push(x_67, x_31); -x_137 = lean_array_push(x_136, x_135); -x_138 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_138, 0, x_21); -lean_ctor_set(x_138, 1, x_30); -lean_ctor_set(x_138, 2, x_137); -x_139 = l_Lean_Syntax_getArg(x_138, x_17); -lean_dec(x_138); -x_140 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_139); -x_141 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_140, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_26); -return x_141; +x_136 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_136, 0, x_21); +lean_ctor_set(x_136, 1, x_33); +lean_ctor_set(x_136, 2, x_135); +x_137 = lean_array_push(x_68, x_31); +x_138 = lean_array_push(x_137, x_136); +x_139 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_139, 0, x_21); +lean_ctor_set(x_139, 1, x_30); +lean_ctor_set(x_139, 2, x_138); +x_140 = l_Lean_Syntax_getArg(x_139, x_17); +lean_dec(x_139); +x_141 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_getDoSeqElems(x_140); +x_142 = l_Lean_Elab_Term_Do_ToCodeBlock_doSeqToCode(x_141, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_26); +return x_142; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -45183,7 +45194,7 @@ return x_15; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 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_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; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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_inc(x_12); x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_12, x_13, x_14); x_16 = lean_ctor_get(x_15, 0); @@ -45219,149 +45230,150 @@ x_30 = l_Lean_Name_str___override(x_6, x_29); x_31 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__13; lean_inc(x_6); x_32 = l_Lean_Name_str___override(x_6, x_31); -x_33 = l_Lean_SourceInfo_fromRef(x_7); -x_34 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_37 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_33 = 0; +x_34 = l_Lean_SourceInfo_fromRef(x_7, x_33); +x_35 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_38 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; lean_inc(x_16); -x_38 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_38, 0, x_16); -lean_ctor_set(x_38, 1, x_36); -lean_ctor_set(x_38, 2, x_37); -x_39 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; -x_40 = l_Lean_addMacroScope(x_23, x_39, x_18); -x_41 = lean_box(0); -x_42 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_16); +lean_ctor_set(x_39, 1, x_37); +lean_ctor_set(x_39, 2, x_38); +x_40 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; +x_41 = l_Lean_addMacroScope(x_23, x_40, x_18); +x_42 = lean_box(0); +x_43 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; lean_inc(x_16); -x_43 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_43, 0, x_16); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_43, 2, x_40); -lean_ctor_set(x_43, 3, x_41); -x_44 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_44 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_44, 0, x_16); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_41); +lean_ctor_set(x_44, 3, x_42); +x_45 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; lean_inc(x_16); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_16); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -lean_inc(x_43); -x_47 = lean_array_push(x_46, x_43); -lean_inc(x_38); -x_48 = lean_array_push(x_47, x_38); -x_49 = lean_array_push(x_48, x_45); -x_50 = lean_array_push(x_49, x_8); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_16); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +lean_inc(x_44); +x_48 = lean_array_push(x_47, x_44); +lean_inc(x_39); +x_49 = lean_array_push(x_48, x_39); +x_50 = lean_array_push(x_49, x_46); +x_51 = lean_array_push(x_50, x_8); lean_inc(x_16); -x_51 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_51, 0, x_16); -lean_ctor_set(x_51, 1, x_9); -lean_ctor_set(x_51, 2, x_50); -x_52 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_53 = lean_array_push(x_52, x_35); -lean_inc(x_38); -x_54 = lean_array_push(x_53, x_38); -lean_inc(x_54); -x_55 = lean_array_push(x_54, x_51); +x_52 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_52, 0, x_16); +lean_ctor_set(x_52, 1, x_9); +lean_ctor_set(x_52, 2, x_51); +x_53 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_54 = lean_array_push(x_53, x_36); +lean_inc(x_39); +x_55 = lean_array_push(x_54, x_39); +lean_inc(x_55); +x_56 = lean_array_push(x_55, x_52); lean_inc(x_16); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_16); -lean_ctor_set(x_56, 1, x_32); -lean_ctor_set(x_56, 2, x_55); -x_57 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_16); +lean_ctor_set(x_57, 1, x_32); +lean_ctor_set(x_57, 2, x_56); +x_58 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; lean_inc(x_16); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_16); -lean_ctor_set(x_58, 1, x_57); -x_59 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_60 = lean_array_push(x_59, x_58); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_16); +lean_ctor_set(x_59, 1, x_58); +x_60 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_61 = lean_array_push(x_60, x_59); lean_inc(x_16); -x_61 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_61, 0, x_16); -lean_ctor_set(x_61, 1, x_36); -lean_ctor_set(x_61, 2, x_60); -x_62 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_63 = lean_array_push(x_62, x_56); -x_64 = lean_array_push(x_63, x_61); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_16); +lean_ctor_set(x_62, 1, x_37); +lean_ctor_set(x_62, 2, x_61); +x_63 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_64 = lean_array_push(x_63, x_57); +x_65 = lean_array_push(x_64, x_62); lean_inc(x_30); lean_inc(x_16); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_16); -lean_ctor_set(x_65, 1, x_30); -lean_ctor_set(x_65, 2, x_64); -x_66 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_16); +lean_ctor_set(x_66, 1, x_30); +lean_ctor_set(x_66, 2, x_65); +x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; lean_inc(x_6); -x_67 = l_Lean_Name_str___override(x_6, x_66); -x_68 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__9; +x_68 = l_Lean_Name_str___override(x_6, x_67); +x_69 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__9; lean_inc(x_6); -x_69 = l_Lean_Name_str___override(x_6, x_68); -x_70 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; -x_71 = l_Lean_Name_str___override(x_6, x_70); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; +x_70 = l_Lean_Name_str___override(x_6, x_69); +x_71 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; +x_72 = l_Lean_Name_str___override(x_6, x_71); +x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; lean_inc(x_16); -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_16); -lean_ctor_set(x_73, 1, x_72); -x_74 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; -x_75 = lean_array_push(x_74, x_10); -lean_inc(x_38); -x_76 = lean_array_push(x_75, x_38); -lean_inc(x_38); -x_77 = lean_array_push(x_76, x_38); -x_78 = lean_array_push(x_77, x_73); -x_79 = lean_array_push(x_78, x_43); +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_16); +lean_ctor_set(x_74, 1, x_73); +x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; +x_76 = lean_array_push(x_75, x_10); +lean_inc(x_39); +x_77 = lean_array_push(x_76, x_39); +lean_inc(x_39); +x_78 = lean_array_push(x_77, x_39); +x_79 = lean_array_push(x_78, x_74); +x_80 = lean_array_push(x_79, x_44); lean_inc(x_16); -x_80 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_80, 0, x_16); -lean_ctor_set(x_80, 1, x_71); -lean_ctor_set(x_80, 2, x_79); -x_81 = lean_array_push(x_59, x_80); +x_81 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_81, 0, x_16); +lean_ctor_set(x_81, 1, x_72); +lean_ctor_set(x_81, 2, x_80); +x_82 = lean_array_push(x_60, x_81); lean_inc(x_16); -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_16); -lean_ctor_set(x_82, 1, x_69); -lean_ctor_set(x_82, 2, x_81); -x_83 = lean_array_push(x_54, x_82); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_16); +lean_ctor_set(x_83, 1, x_70); +lean_ctor_set(x_83, 2, x_82); +x_84 = lean_array_push(x_55, x_83); lean_inc(x_16); -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_16); -lean_ctor_set(x_84, 1, x_67); -lean_ctor_set(x_84, 2, x_83); -x_85 = lean_array_push(x_62, x_84); -x_86 = lean_array_push(x_85, x_38); +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_16); +lean_ctor_set(x_85, 1, x_68); +lean_ctor_set(x_85, 2, x_84); +x_86 = lean_array_push(x_63, x_85); +x_87 = lean_array_push(x_86, x_39); lean_inc(x_16); -x_87 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_87, 0, x_16); -lean_ctor_set(x_87, 1, x_30); -lean_ctor_set(x_87, 2, x_86); -x_88 = lean_array_push(x_62, x_65); -x_89 = lean_array_push(x_88, x_87); +x_88 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_88, 0, x_16); +lean_ctor_set(x_88, 1, x_30); +lean_ctor_set(x_88, 2, x_87); +x_89 = lean_array_push(x_63, x_66); +x_90 = lean_array_push(x_89, x_88); lean_inc(x_16); -x_90 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_90, 0, x_16); -lean_ctor_set(x_90, 1, x_36); -lean_ctor_set(x_90, 2, x_89); -x_91 = lean_array_push(x_59, x_90); +x_91 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_91, 0, x_16); +lean_ctor_set(x_91, 1, x_37); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_array_push(x_60, x_91); lean_inc(x_16); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_16); -lean_ctor_set(x_92, 1, x_28); -lean_ctor_set(x_92, 2, x_91); -x_93 = lean_array_push(x_62, x_26); -x_94 = lean_array_push(x_93, x_92); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_16); -lean_ctor_set(x_95, 1, x_25); -lean_ctor_set(x_95, 2, x_94); -x_96 = lean_apply_9(x_11, x_95, x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_21); -return x_96; +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_16); +lean_ctor_set(x_93, 1, x_28); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_array_push(x_63, x_26); +x_95 = lean_array_push(x_94, x_93); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_16); +lean_ctor_set(x_96, 1, x_25); +lean_ctor_set(x_96, 2, x_95); +x_97 = lean_apply_9(x_11, x_96, x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_21); +return x_97; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode___lambda__4(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; 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_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; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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_inc(x_12); x_15 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_Do_ToCodeBlock_doTryToCode___spec__2___rarg(x_12, x_13, x_14); x_16 = lean_ctor_get(x_15, 0); @@ -45397,155 +45409,156 @@ x_30 = l_Lean_Name_str___override(x_6, x_29); x_31 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__13; lean_inc(x_6); x_32 = l_Lean_Name_str___override(x_6, x_31); -x_33 = l_Lean_SourceInfo_fromRef(x_7); -x_34 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; -x_35 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -x_36 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; -x_37 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; +x_33 = 0; +x_34 = l_Lean_SourceInfo_fromRef(x_7, x_33); +x_35 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__9; +x_36 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +x_37 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__2; +x_38 = l_Lean_Elab_Term_Do_instInhabitedAlt___rarg___closed__1; lean_inc(x_16); -x_38 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_38, 0, x_16); -lean_ctor_set(x_38, 1, x_36); -lean_ctor_set(x_38, 2, x_37); -x_39 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; -x_40 = l_Lean_addMacroScope(x_23, x_39, x_18); -x_41 = lean_box(0); -x_42 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_16); +lean_ctor_set(x_39, 1, x_37); +lean_ctor_set(x_39, 2, x_38); +x_40 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__4; +x_41 = l_Lean_addMacroScope(x_23, x_40, x_18); +x_42 = lean_box(0); +x_43 = l_Lean_Elab_Term_Do_ToCodeBlock_doReassignArrowToCode___lambda__1___closed__3; lean_inc(x_16); -x_43 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_43, 0, x_16); -lean_ctor_set(x_43, 1, x_42); -lean_ctor_set(x_43, 2, x_40); -lean_ctor_set(x_43, 3, x_41); -x_44 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; +x_44 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_44, 0, x_16); +lean_ctor_set(x_44, 1, x_43); +lean_ctor_set(x_44, 2, x_41); +lean_ctor_set(x_44, 3, x_42); +x_45 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__5; lean_inc(x_16); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_16); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; -lean_inc(x_43); -x_47 = lean_array_push(x_46, x_43); -lean_inc(x_38); -x_48 = lean_array_push(x_47, x_38); -x_49 = lean_array_push(x_48, x_45); -x_50 = lean_array_push(x_49, x_8); +x_46 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_46, 0, x_16); +lean_ctor_set(x_46, 1, x_45); +x_47 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__8; +lean_inc(x_44); +x_48 = lean_array_push(x_47, x_44); +lean_inc(x_39); +x_49 = lean_array_push(x_48, x_39); +x_50 = lean_array_push(x_49, x_46); +x_51 = lean_array_push(x_50, x_8); lean_inc(x_16); -x_51 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_51, 0, x_16); -lean_ctor_set(x_51, 1, x_9); -lean_ctor_set(x_51, 2, x_50); -x_52 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; -x_53 = lean_array_push(x_52, x_35); -lean_inc(x_38); -lean_inc(x_53); -x_54 = lean_array_push(x_53, x_38); -x_55 = lean_array_push(x_54, x_51); +x_52 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_52, 0, x_16); +lean_ctor_set(x_52, 1, x_9); +lean_ctor_set(x_52, 2, x_51); +x_53 = l_Lean_Elab_Term_Do_mkAuxDeclFor___rarg___lambda__4___closed__9; +x_54 = lean_array_push(x_53, x_36); +lean_inc(x_39); +lean_inc(x_54); +x_55 = lean_array_push(x_54, x_39); +x_56 = lean_array_push(x_55, x_52); lean_inc(x_16); -x_56 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_56, 0, x_16); -lean_ctor_set(x_56, 1, x_32); -lean_ctor_set(x_56, 2, x_55); -x_57 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; +x_57 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_57, 0, x_16); +lean_ctor_set(x_57, 1, x_32); +lean_ctor_set(x_57, 2, x_56); +x_58 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__19; lean_inc(x_16); -x_58 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_58, 0, x_16); -lean_ctor_set(x_58, 1, x_57); -x_59 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; -x_60 = lean_array_push(x_59, x_58); +x_59 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_59, 0, x_16); +lean_ctor_set(x_59, 1, x_58); +x_60 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_extractBind___lambda__1___closed__3; +x_61 = lean_array_push(x_60, x_59); lean_inc(x_16); -x_61 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_61, 0, x_16); -lean_ctor_set(x_61, 1, x_36); -lean_ctor_set(x_61, 2, x_60); -x_62 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; -x_63 = lean_array_push(x_62, x_56); -x_64 = lean_array_push(x_63, x_61); +x_62 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_62, 0, x_16); +lean_ctor_set(x_62, 1, x_37); +lean_ctor_set(x_62, 2, x_61); +x_63 = l_Lean_Elab_Term_Do_pullExitPointsAux___lambda__1___closed__12; +x_64 = lean_array_push(x_63, x_57); +x_65 = lean_array_push(x_64, x_62); lean_inc(x_30); lean_inc(x_16); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_16); -lean_ctor_set(x_65, 1, x_30); -lean_ctor_set(x_65, 2, x_64); -x_66 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_16); +lean_ctor_set(x_66, 1, x_30); +lean_ctor_set(x_66, 2, x_65); +x_67 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_liftMethodForbiddenBinder___closed__11; lean_inc(x_6); -x_67 = l_Lean_Name_str___override(x_6, x_66); -x_68 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___closed__13; +x_68 = l_Lean_Name_str___override(x_6, x_67); +x_69 = l_Lean_Elab_Term_Do_ToCodeBlock_doForToCode___lambda__3___closed__13; lean_inc(x_16); -x_69 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_69, 0, x_16); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_array_push(x_59, x_69); +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_16); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_array_push(x_60, x_70); lean_inc(x_16); -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_16); -lean_ctor_set(x_71, 1, x_36); -lean_ctor_set(x_71, 2, x_70); -x_72 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__9; +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_16); +lean_ctor_set(x_72, 1, x_37); +lean_ctor_set(x_72, 2, x_71); +x_73 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__9; lean_inc(x_6); -x_73 = l_Lean_Name_str___override(x_6, x_72); -x_74 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; -x_75 = l_Lean_Name_str___override(x_6, x_74); -x_76 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; +x_74 = l_Lean_Name_str___override(x_6, x_73); +x_75 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_letDeclArgHasBinders___closed__1; +x_76 = l_Lean_Name_str___override(x_6, x_75); +x_77 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__11; lean_inc(x_16); -x_77 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_77, 0, x_16); -lean_ctor_set(x_77, 1, x_76); -x_78 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; -x_79 = lean_array_push(x_78, x_10); -lean_inc(x_38); -x_80 = lean_array_push(x_79, x_38); -lean_inc(x_38); -x_81 = lean_array_push(x_80, x_38); -x_82 = lean_array_push(x_81, x_77); -x_83 = lean_array_push(x_82, x_43); +x_78 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_78, 0, x_16); +lean_ctor_set(x_78, 1, x_77); +x_79 = l___private_Lean_Elab_Do_0__Lean_Elab_Term_Do_destructTuple_destruct___closed__18; +x_80 = lean_array_push(x_79, x_10); +lean_inc(x_39); +x_81 = lean_array_push(x_80, x_39); +lean_inc(x_39); +x_82 = lean_array_push(x_81, x_39); +x_83 = lean_array_push(x_82, x_78); +x_84 = lean_array_push(x_83, x_44); lean_inc(x_16); -x_84 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_84, 0, x_16); -lean_ctor_set(x_84, 1, x_75); -lean_ctor_set(x_84, 2, x_83); -x_85 = lean_array_push(x_59, x_84); +x_85 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_85, 0, x_16); +lean_ctor_set(x_85, 1, x_76); +lean_ctor_set(x_85, 2, x_84); +x_86 = lean_array_push(x_60, x_85); lean_inc(x_16); -x_86 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_86, 0, x_16); -lean_ctor_set(x_86, 1, x_73); -lean_ctor_set(x_86, 2, x_85); -x_87 = lean_array_push(x_53, x_71); -x_88 = lean_array_push(x_87, x_86); +x_87 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_87, 0, x_16); +lean_ctor_set(x_87, 1, x_74); +lean_ctor_set(x_87, 2, x_86); +x_88 = lean_array_push(x_54, x_72); +x_89 = lean_array_push(x_88, x_87); lean_inc(x_16); -x_89 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_89, 0, x_16); -lean_ctor_set(x_89, 1, x_67); -lean_ctor_set(x_89, 2, x_88); -x_90 = lean_array_push(x_62, x_89); -x_91 = lean_array_push(x_90, x_38); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_16); +lean_ctor_set(x_90, 1, x_68); +lean_ctor_set(x_90, 2, x_89); +x_91 = lean_array_push(x_63, x_90); +x_92 = lean_array_push(x_91, x_39); lean_inc(x_16); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_16); -lean_ctor_set(x_92, 1, x_30); -lean_ctor_set(x_92, 2, x_91); -x_93 = lean_array_push(x_62, x_65); -x_94 = lean_array_push(x_93, x_92); +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_16); +lean_ctor_set(x_93, 1, x_30); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_array_push(x_63, x_66); +x_95 = lean_array_push(x_94, x_93); lean_inc(x_16); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_16); -lean_ctor_set(x_95, 1, x_36); -lean_ctor_set(x_95, 2, x_94); -x_96 = lean_array_push(x_59, x_95); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_16); +lean_ctor_set(x_96, 1, x_37); +lean_ctor_set(x_96, 2, x_95); +x_97 = lean_array_push(x_60, x_96); lean_inc(x_16); -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_16); -lean_ctor_set(x_97, 1, x_28); -lean_ctor_set(x_97, 2, x_96); -x_98 = lean_array_push(x_62, x_26); -x_99 = lean_array_push(x_98, x_97); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_16); -lean_ctor_set(x_100, 1, x_25); -lean_ctor_set(x_100, 2, x_99); -x_101 = lean_apply_9(x_11, x_100, x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_21); -return x_101; +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_16); +lean_ctor_set(x_98, 1, x_28); +lean_ctor_set(x_98, 2, x_97); +x_99 = lean_array_push(x_63, x_26); +x_100 = lean_array_push(x_99, x_98); +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_16); +lean_ctor_set(x_101, 1, x_25); +lean_ctor_set(x_101, 2, x_100); +x_102 = lean_apply_9(x_11, x_101, x_1, x_2, x_3, x_4, x_5, x_12, x_13, x_21); +return x_102; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_Do_ToCodeBlock_doLetArrowToCode(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { diff --git a/stage0/stdlib/Lean/Elab/ElabRules.c b/stage0/stdlib/Lean/Elab/ElabRules.c index 5791fd7857..54fa937254 100644 --- a/stage0/stdlib/Lean/Elab/ElabRules.c +++ b/stage0/stdlib/Lean/Elab/ElabRules.c @@ -46,7 +46,7 @@ static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__8___closed__1; lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__112; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___closed__1; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules___closed__4; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__61; @@ -68,7 +68,7 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2 LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Command_elabElabRulesAux___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__44; static lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRules___lambda__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -178,7 +178,7 @@ static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__3 static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__78; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__22; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__10; @@ -252,7 +252,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Command_elabElabRules_declRange___c static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; static lean_object* l___regBuiltin_Lean_Elab_Command_elabElab_declRange___closed__2; lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabAuxDef___spec__1___rarg(lean_object*); -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_inferMacroRulesAltKind___spec__2___rarg(lean_object*); static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__101; static lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; @@ -1365,33 +1365,33 @@ return x_50; } } } -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; uint8_t x_6; -x_5 = l_Lean_Elab_Command_getRef(x_2, x_3, x_4); -x_6 = !lean_is_exclusive(x_5); -if (x_6 == 0) +lean_object* x_6; uint8_t x_7; +x_6 = l_Lean_Elab_Command_getRef(x_3, x_4, x_5); +x_7 = !lean_is_exclusive(x_6); +if (x_7 == 0) { -lean_object* x_7; lean_object* x_8; -x_7 = lean_ctor_get(x_5, 0); -x_8 = l_Lean_mkIdentFrom(x_7, x_1); -lean_ctor_set(x_5, 0, x_8); -return x_5; +lean_object* x_8; lean_object* x_9; +x_8 = lean_ctor_get(x_6, 0); +x_9 = l_Lean_mkIdentFrom(x_8, x_1, x_2); +lean_ctor_set(x_6, 0, x_9); +return x_6; } else { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; -x_9 = lean_ctor_get(x_5, 0); -x_10 = lean_ctor_get(x_5, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_10 = lean_ctor_get(x_6, 0); +x_11 = lean_ctor_get(x_6, 1); +lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -lean_dec(x_5); -x_11 = l_Lean_mkIdentFrom(x_9, x_1); -x_12 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_10); -return x_12; +lean_dec(x_6); +x_12 = l_Lean_mkIdentFrom(x_10, x_1, x_2); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_11); +return x_13; } } } @@ -2579,69 +2579,70 @@ return x_22; } else { -lean_object* x_23; lean_object* x_24; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_object* x_23; lean_object* x_24; uint8_t x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_dec(x_7); +x_261 = 0; lean_inc(x_2); -x_261 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_8, x_9, x_10); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); +x_262 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_261, x_8, x_9, x_10); +x_263 = lean_ctor_get(x_262, 0); lean_inc(x_263); -lean_dec(x_261); -x_264 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_263); -x_265 = lean_ctor_get(x_264, 0); -lean_inc(x_265); -x_266 = lean_ctor_get(x_264, 1); +x_264 = lean_ctor_get(x_262, 1); +lean_inc(x_264); +lean_dec(x_262); +x_265 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_264); +x_266 = lean_ctor_get(x_265, 0); lean_inc(x_266); -lean_dec(x_264); -x_267 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_266); -x_268 = lean_ctor_get(x_267, 1); -lean_inc(x_268); -lean_dec(x_267); -x_269 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_268); -x_270 = lean_ctor_get(x_269, 1); -lean_inc(x_270); -lean_dec(x_269); -x_271 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_272 = lean_array_push(x_271, x_262); -x_273 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_265); -x_274 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_274, 0, x_265); -lean_ctor_set(x_274, 1, x_273); -lean_ctor_set(x_274, 2, x_272); -x_275 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; -x_276 = lean_array_push(x_275, x_274); -x_277 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_265); -x_278 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_278, 0, x_265); -lean_ctor_set(x_278, 1, x_277); -lean_ctor_set(x_278, 2, x_276); -x_279 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_280 = lean_array_push(x_279, x_5); -x_281 = lean_array_push(x_280, x_278); -x_282 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -x_283 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_283, 0, x_265); -lean_ctor_set(x_283, 1, x_282); -lean_ctor_set(x_283, 2, x_281); +x_267 = lean_ctor_get(x_265, 1); +lean_inc(x_267); +lean_dec(x_265); +x_268 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_267); +x_269 = lean_ctor_get(x_268, 1); +lean_inc(x_269); +lean_dec(x_268); +x_270 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_269); +x_271 = lean_ctor_get(x_270, 1); +lean_inc(x_271); +lean_dec(x_270); +x_272 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_273 = lean_array_push(x_272, x_263); +x_274 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_266); +x_275 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_275, 0, x_266); +lean_ctor_set(x_275, 1, x_274); +lean_ctor_set(x_275, 2, x_273); +x_276 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__65; +x_277 = lean_array_push(x_276, x_275); +x_278 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_266); +x_279 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_279, 0, x_266); +lean_ctor_set(x_279, 1, x_278); +lean_ctor_set(x_279, 2, x_277); +x_280 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_281 = lean_array_push(x_280, x_5); +x_282 = lean_array_push(x_281, x_279); +x_283 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_284 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_284, 0, x_266); +lean_ctor_set(x_284, 1, x_283); +lean_ctor_set(x_284, 2, x_282); if (lean_obj_tag(x_6) == 0) { -lean_object* x_284; -x_284 = lean_array_push(x_271, x_283); -x_23 = x_284; -x_24 = x_270; +lean_object* x_285; +x_285 = lean_array_push(x_272, x_284); +x_23 = x_285; +x_24 = x_271; goto block_260; } else { -lean_object* x_285; lean_object* x_286; lean_object* x_287; -x_285 = lean_ctor_get(x_6, 0); -x_286 = l_Lean_Syntax_TSepArray_getElems___rarg(x_285); -x_287 = lean_array_push(x_286, x_283); -x_23 = x_287; -x_24 = x_270; +lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_286 = lean_ctor_get(x_6, 0); +x_287 = l_Lean_Syntax_TSepArray_getElems___rarg(x_286); +x_288 = lean_array_push(x_287, x_284); +x_23 = x_288; +x_24 = x_271; goto block_260; } block_260: @@ -3160,580 +3161,581 @@ return x_259; } else { -lean_object* x_288; lean_object* x_289; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; +lean_object* x_289; lean_object* x_290; uint8_t x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_dec(x_7); +x_527 = 0; lean_inc(x_2); -x_526 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_8, x_9, x_10); -x_527 = lean_ctor_get(x_526, 0); -lean_inc(x_527); -x_528 = lean_ctor_get(x_526, 1); -lean_inc(x_528); -lean_dec(x_526); -x_529 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_528); -x_530 = lean_ctor_get(x_529, 0); +x_528 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_527, x_8, x_9, x_10); +x_529 = lean_ctor_get(x_528, 0); +lean_inc(x_529); +x_530 = lean_ctor_get(x_528, 1); lean_inc(x_530); -x_531 = lean_ctor_get(x_529, 1); -lean_inc(x_531); -lean_dec(x_529); -x_532 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_531); -x_533 = lean_ctor_get(x_532, 1); +lean_dec(x_528); +x_531 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_530); +x_532 = lean_ctor_get(x_531, 0); +lean_inc(x_532); +x_533 = lean_ctor_get(x_531, 1); lean_inc(x_533); -lean_dec(x_532); -x_534 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_533); +lean_dec(x_531); +x_534 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_533); x_535 = lean_ctor_get(x_534, 1); lean_inc(x_535); lean_dec(x_534); -x_536 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_537 = lean_array_push(x_536, x_527); -x_538 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_530); -x_539 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_539, 0, x_530); -lean_ctor_set(x_539, 1, x_538); -lean_ctor_set(x_539, 2, x_537); -x_540 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; -x_541 = lean_array_push(x_540, x_539); -x_542 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_530); -x_543 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_543, 0, x_530); -lean_ctor_set(x_543, 1, x_542); -lean_ctor_set(x_543, 2, x_541); -x_544 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_545 = lean_array_push(x_544, x_5); -x_546 = lean_array_push(x_545, x_543); -x_547 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -x_548 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_548, 0, x_530); -lean_ctor_set(x_548, 1, x_547); -lean_ctor_set(x_548, 2, x_546); +x_536 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_535); +x_537 = lean_ctor_get(x_536, 1); +lean_inc(x_537); +lean_dec(x_536); +x_538 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_539 = lean_array_push(x_538, x_529); +x_540 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_532); +x_541 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_541, 0, x_532); +lean_ctor_set(x_541, 1, x_540); +lean_ctor_set(x_541, 2, x_539); +x_542 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__76; +x_543 = lean_array_push(x_542, x_541); +x_544 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_532); +x_545 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_545, 0, x_532); +lean_ctor_set(x_545, 1, x_544); +lean_ctor_set(x_545, 2, x_543); +x_546 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_547 = lean_array_push(x_546, x_5); +x_548 = lean_array_push(x_547, x_545); +x_549 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_550 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_550, 0, x_532); +lean_ctor_set(x_550, 1, x_549); +lean_ctor_set(x_550, 2, x_548); if (lean_obj_tag(x_6) == 0) { -lean_object* x_549; -x_549 = lean_array_push(x_536, x_548); -x_288 = x_549; -x_289 = x_535; -goto block_525; +lean_object* x_551; +x_551 = lean_array_push(x_538, x_550); +x_289 = x_551; +x_290 = x_537; +goto block_526; } else { -lean_object* x_550; lean_object* x_551; lean_object* x_552; -x_550 = lean_ctor_get(x_6, 0); -x_551 = l_Lean_Syntax_TSepArray_getElems___rarg(x_550); -x_552 = lean_array_push(x_551, x_548); -x_288 = x_552; -x_289 = x_535; -goto block_525; +lean_object* x_552; lean_object* x_553; lean_object* x_554; +x_552 = lean_ctor_get(x_6, 0); +x_553 = l_Lean_Syntax_TSepArray_getElems___rarg(x_552); +x_554 = lean_array_push(x_553, x_550); +x_289 = x_554; +x_290 = x_537; +goto block_526; } -block_525: +block_526: { -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; uint8_t x_297; -x_290 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_289); -x_291 = lean_ctor_get(x_290, 0); -lean_inc(x_291); -x_292 = lean_ctor_get(x_290, 1); +lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; uint8_t x_298; +x_291 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_290); +x_292 = lean_ctor_get(x_291, 0); lean_inc(x_292); -lean_dec(x_290); -x_293 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_292); +x_293 = lean_ctor_get(x_291, 1); +lean_inc(x_293); +lean_dec(x_291); +x_294 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_293); lean_dec(x_8); -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -x_295 = lean_ctor_get(x_293, 1); +x_295 = lean_ctor_get(x_294, 0); lean_inc(x_295); -lean_dec(x_293); -x_296 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_295); +x_296 = lean_ctor_get(x_294, 1); +lean_inc(x_296); +lean_dec(x_294); +x_297 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_296); lean_dec(x_9); -x_297 = !lean_is_exclusive(x_296); -if (x_297 == 0) +x_298 = !lean_is_exclusive(x_297); +if (x_298 == 0) { -lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; -x_298 = lean_ctor_get(x_296, 0); -x_299 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_291); -x_300 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_300, 0, x_291); -lean_ctor_set(x_300, 1, x_299); -x_301 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_302 = l_Lean_mkSepArray(x_288, x_301); -lean_dec(x_288); -x_303 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; -x_304 = l_Array_append___rarg(x_303, x_302); -x_305 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_291); -x_306 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_306, 0, x_291); -lean_ctor_set(x_306, 1, x_305); -lean_ctor_set(x_306, 2, x_304); -x_307 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_291); -x_308 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_308, 0, x_291); -lean_ctor_set(x_308, 1, x_307); -x_309 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_310 = lean_array_push(x_309, x_300); -x_311 = lean_array_push(x_310, x_306); -x_312 = lean_array_push(x_311, x_308); -x_313 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -lean_inc(x_291); -x_314 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_314, 0, x_291); -lean_ctor_set(x_314, 1, x_313); -lean_ctor_set(x_314, 2, x_312); -x_315 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_316 = lean_array_push(x_315, x_314); -lean_inc(x_291); -x_317 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_317, 0, x_291); -lean_ctor_set(x_317, 1, x_305); -lean_ctor_set(x_317, 2, x_316); -x_318 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -lean_inc(x_291); -x_319 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_319, 0, x_291); -lean_ctor_set(x_319, 1, x_318); -x_320 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; -lean_inc(x_294); -lean_inc(x_298); -x_321 = l_Lean_addMacroScope(x_298, x_320, x_294); -x_322 = lean_box(0); -x_323 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -lean_inc(x_291); -x_324 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_324, 0, x_291); -lean_ctor_set(x_324, 1, x_323); -lean_ctor_set(x_324, 2, x_321); -lean_ctor_set(x_324, 3, x_322); -x_325 = lean_mk_syntax_ident(x_2); -x_326 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_327 = lean_array_push(x_326, x_324); +lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; +x_299 = lean_ctor_get(x_297, 0); +x_300 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_292); +x_301 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_301, 0, x_292); +lean_ctor_set(x_301, 1, x_300); +x_302 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_303 = l_Lean_mkSepArray(x_289, x_302); +lean_dec(x_289); +x_304 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; +x_305 = l_Array_append___rarg(x_304, x_303); +x_306 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_292); +x_307 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_307, 0, x_292); +lean_ctor_set(x_307, 1, x_306); +lean_ctor_set(x_307, 2, x_305); +x_308 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_292); +x_309 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_309, 0, x_292); +lean_ctor_set(x_309, 1, x_308); +x_310 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_311 = lean_array_push(x_310, x_301); +x_312 = lean_array_push(x_311, x_307); +x_313 = lean_array_push(x_312, x_309); +x_314 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +lean_inc(x_292); +x_315 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_315, 0, x_292); +lean_ctor_set(x_315, 1, x_314); +lean_ctor_set(x_315, 2, x_313); +x_316 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_317 = lean_array_push(x_316, x_315); +lean_inc(x_292); +x_318 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_318, 0, x_292); +lean_ctor_set(x_318, 1, x_306); +lean_ctor_set(x_318, 2, x_317); +x_319 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_292); +x_320 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_320, 0, x_292); +lean_ctor_set(x_320, 1, x_319); +x_321 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +lean_inc(x_295); +lean_inc(x_299); +x_322 = l_Lean_addMacroScope(x_299, x_321, x_295); +x_323 = lean_box(0); +x_324 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +lean_inc(x_292); +x_325 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_325, 0, x_292); +lean_ctor_set(x_325, 1, x_324); +lean_ctor_set(x_325, 2, x_322); +lean_ctor_set(x_325, 3, x_323); +x_326 = lean_mk_syntax_ident(x_2); +x_327 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; x_328 = lean_array_push(x_327, x_325); -lean_inc(x_291); -x_329 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_329, 0, x_291); -lean_ctor_set(x_329, 1, x_305); -lean_ctor_set(x_329, 2, x_328); -x_330 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_inc(x_291); -x_331 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_331, 0, x_291); -lean_ctor_set(x_331, 1, x_330); -x_332 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; -lean_inc(x_294); -lean_inc(x_298); -x_333 = l_Lean_addMacroScope(x_298, x_332, x_294); -x_334 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -x_335 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -lean_inc(x_291); -x_336 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_336, 0, x_291); -lean_ctor_set(x_336, 1, x_334); -lean_ctor_set(x_336, 2, x_333); -lean_ctor_set(x_336, 3, x_335); -x_337 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_291); -x_338 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_338, 0, x_291); -lean_ctor_set(x_338, 1, x_337); -x_339 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_291); -x_340 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_340, 0, x_291); -lean_ctor_set(x_340, 1, x_339); -x_341 = l_Array_append___rarg(x_303, x_3); -x_342 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; -lean_inc(x_291); -x_343 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_343, 0, x_291); -lean_ctor_set(x_343, 1, x_342); -x_344 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_291); -x_345 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_345, 0, x_291); -lean_ctor_set(x_345, 1, x_344); -x_346 = lean_array_push(x_315, x_345); -x_347 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_291); -x_348 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_348, 0, x_291); -lean_ctor_set(x_348, 1, x_347); -lean_ctor_set(x_348, 2, x_346); -x_349 = lean_array_push(x_315, x_348); -lean_inc(x_291); -x_350 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_350, 0, x_291); -lean_ctor_set(x_350, 1, x_305); -lean_ctor_set(x_350, 2, x_349); -x_351 = lean_array_push(x_315, x_350); -lean_inc(x_291); -x_352 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_352, 0, x_291); -lean_ctor_set(x_352, 1, x_305); -lean_ctor_set(x_352, 2, x_351); -x_353 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_291); -x_354 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_354, 0, x_291); -lean_ctor_set(x_354, 1, x_353); -x_355 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -lean_inc(x_291); -x_356 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_356, 0, x_291); -lean_ctor_set(x_356, 1, x_355); -x_357 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -x_358 = l_Lean_addMacroScope(x_298, x_357, x_294); -x_359 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -x_360 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_291); -x_361 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_361, 0, x_291); -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 = lean_array_push(x_326, x_356); -x_363 = lean_array_push(x_362, x_361); -x_364 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -lean_inc(x_291); -x_365 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_365, 0, x_291); -lean_ctor_set(x_365, 1, x_364); -lean_ctor_set(x_365, 2, x_363); -x_366 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; -x_367 = lean_array_push(x_366, x_343); -x_368 = lean_array_push(x_367, x_352); -x_369 = lean_array_push(x_368, x_354); -x_370 = lean_array_push(x_369, x_365); -x_371 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; -lean_inc(x_291); -x_372 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_372, 0, x_291); -lean_ctor_set(x_372, 1, x_371); -lean_ctor_set(x_372, 2, x_370); -x_373 = lean_array_push(x_341, x_372); -lean_inc(x_291); -x_374 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_374, 0, x_291); -lean_ctor_set(x_374, 1, x_305); -lean_ctor_set(x_374, 2, x_373); -x_375 = lean_array_push(x_315, x_374); -x_376 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -lean_inc(x_291); -x_377 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_377, 0, x_291); -lean_ctor_set(x_377, 1, x_376); -lean_ctor_set(x_377, 2, x_375); -x_378 = lean_array_push(x_326, x_340); -x_379 = lean_array_push(x_378, x_377); -x_380 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_291); -x_381 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_381, 0, x_291); -lean_ctor_set(x_381, 1, x_380); -lean_ctor_set(x_381, 2, x_379); +x_329 = lean_array_push(x_328, x_326); +lean_inc(x_292); +x_330 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_330, 0, x_292); +lean_ctor_set(x_330, 1, x_306); +lean_ctor_set(x_330, 2, x_329); +x_331 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_inc(x_292); +x_332 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_332, 0, x_292); +lean_ctor_set(x_332, 1, x_331); +x_333 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +lean_inc(x_295); +lean_inc(x_299); +x_334 = l_Lean_addMacroScope(x_299, x_333, x_295); +x_335 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +x_336 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +lean_inc(x_292); +x_337 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_337, 0, x_292); +lean_ctor_set(x_337, 1, x_335); +lean_ctor_set(x_337, 2, x_334); +lean_ctor_set(x_337, 3, x_336); +x_338 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_292); +x_339 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_339, 0, x_292); +lean_ctor_set(x_339, 1, x_338); +x_340 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_292); +x_341 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_341, 0, x_292); +lean_ctor_set(x_341, 1, x_340); +x_342 = l_Array_append___rarg(x_304, x_3); +x_343 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; +lean_inc(x_292); +x_344 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_344, 0, x_292); +lean_ctor_set(x_344, 1, x_343); +x_345 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_292); +x_346 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_346, 0, x_292); +lean_ctor_set(x_346, 1, x_345); +x_347 = lean_array_push(x_316, x_346); +x_348 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_292); +x_349 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_349, 0, x_292); +lean_ctor_set(x_349, 1, x_348); +lean_ctor_set(x_349, 2, x_347); +x_350 = lean_array_push(x_316, x_349); +lean_inc(x_292); +x_351 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_351, 0, x_292); +lean_ctor_set(x_351, 1, x_306); +lean_ctor_set(x_351, 2, x_350); +x_352 = lean_array_push(x_316, x_351); +lean_inc(x_292); +x_353 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_353, 0, x_292); +lean_ctor_set(x_353, 1, x_306); +lean_ctor_set(x_353, 2, x_352); +x_354 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_292); +x_355 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_355, 0, x_292); +lean_ctor_set(x_355, 1, x_354); +x_356 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +lean_inc(x_292); +x_357 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_357, 0, x_292); +lean_ctor_set(x_357, 1, x_356); +x_358 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_359 = l_Lean_addMacroScope(x_299, x_358, x_295); +x_360 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_361 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_292); +x_362 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_362, 0, x_292); +lean_ctor_set(x_362, 1, x_360); +lean_ctor_set(x_362, 2, x_359); +lean_ctor_set(x_362, 3, x_361); +x_363 = lean_array_push(x_327, x_357); +x_364 = lean_array_push(x_363, x_362); +x_365 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +lean_inc(x_292); +x_366 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_366, 0, x_292); +lean_ctor_set(x_366, 1, x_365); +lean_ctor_set(x_366, 2, x_364); +x_367 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; +x_368 = lean_array_push(x_367, x_344); +x_369 = lean_array_push(x_368, x_353); +x_370 = lean_array_push(x_369, x_355); +x_371 = lean_array_push(x_370, x_366); +x_372 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; +lean_inc(x_292); +x_373 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_373, 0, x_292); +lean_ctor_set(x_373, 1, x_372); +lean_ctor_set(x_373, 2, x_371); +x_374 = lean_array_push(x_342, x_373); +lean_inc(x_292); +x_375 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_375, 0, x_292); +lean_ctor_set(x_375, 1, x_306); +lean_ctor_set(x_375, 2, x_374); +x_376 = lean_array_push(x_316, x_375); +x_377 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_292); +x_378 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_378, 0, x_292); +lean_ctor_set(x_378, 1, x_377); +lean_ctor_set(x_378, 2, x_376); +x_379 = lean_array_push(x_327, x_341); +x_380 = lean_array_push(x_379, x_378); +x_381 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_292); +x_382 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_382, 0, x_292); +lean_ctor_set(x_382, 1, x_381); +lean_ctor_set(x_382, 2, x_380); if (lean_obj_tag(x_4) == 0) { -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; -x_382 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_291); -x_383 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_383, 0, x_291); -lean_ctor_set(x_383, 1, x_305); -lean_ctor_set(x_383, 2, x_382); -x_384 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_385 = lean_array_push(x_384, x_383); -x_386 = lean_array_push(x_385, x_317); -x_387 = lean_array_push(x_386, x_319); -x_388 = lean_array_push(x_387, x_329); -x_389 = lean_array_push(x_388, x_331); -x_390 = lean_array_push(x_389, x_336); -x_391 = lean_array_push(x_390, x_338); -x_392 = lean_array_push(x_391, x_381); -x_393 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_394 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_394, 0, x_291); -lean_ctor_set(x_394, 1, x_393); -lean_ctor_set(x_394, 2, x_392); -lean_ctor_set(x_296, 0, x_394); -return x_296; +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; +x_383 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_292); +x_384 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_384, 0, x_292); +lean_ctor_set(x_384, 1, x_306); +lean_ctor_set(x_384, 2, x_383); +x_385 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_386 = lean_array_push(x_385, x_384); +x_387 = lean_array_push(x_386, x_318); +x_388 = lean_array_push(x_387, x_320); +x_389 = lean_array_push(x_388, x_330); +x_390 = lean_array_push(x_389, x_332); +x_391 = lean_array_push(x_390, x_337); +x_392 = lean_array_push(x_391, x_339); +x_393 = lean_array_push(x_392, x_382); +x_394 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_395 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_395, 0, x_292); +lean_ctor_set(x_395, 1, x_394); +lean_ctor_set(x_395, 2, x_393); +lean_ctor_set(x_297, 0, x_395); +return x_297; } else { -lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; -x_395 = lean_ctor_get(x_4, 0); -lean_inc(x_395); +lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; +x_396 = lean_ctor_get(x_4, 0); +lean_inc(x_396); lean_dec(x_4); -x_396 = lean_array_push(x_315, x_395); -x_397 = l_Array_append___rarg(x_303, x_396); -lean_inc(x_291); -x_398 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_398, 0, x_291); -lean_ctor_set(x_398, 1, x_305); -lean_ctor_set(x_398, 2, x_397); -x_399 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_400 = lean_array_push(x_399, x_398); -x_401 = lean_array_push(x_400, x_317); -x_402 = lean_array_push(x_401, x_319); -x_403 = lean_array_push(x_402, x_329); -x_404 = lean_array_push(x_403, x_331); -x_405 = lean_array_push(x_404, x_336); -x_406 = lean_array_push(x_405, x_338); -x_407 = lean_array_push(x_406, x_381); -x_408 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_409 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_409, 0, x_291); -lean_ctor_set(x_409, 1, x_408); -lean_ctor_set(x_409, 2, x_407); -lean_ctor_set(x_296, 0, x_409); -return x_296; +x_397 = lean_array_push(x_316, x_396); +x_398 = l_Array_append___rarg(x_304, x_397); +lean_inc(x_292); +x_399 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_399, 0, x_292); +lean_ctor_set(x_399, 1, x_306); +lean_ctor_set(x_399, 2, x_398); +x_400 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_401 = lean_array_push(x_400, x_399); +x_402 = lean_array_push(x_401, x_318); +x_403 = lean_array_push(x_402, x_320); +x_404 = lean_array_push(x_403, x_330); +x_405 = lean_array_push(x_404, x_332); +x_406 = lean_array_push(x_405, x_337); +x_407 = lean_array_push(x_406, x_339); +x_408 = lean_array_push(x_407, x_382); +x_409 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_410 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_410, 0, x_292); +lean_ctor_set(x_410, 1, x_409); +lean_ctor_set(x_410, 2, x_408); +lean_ctor_set(x_297, 0, x_410); +return x_297; } } else { -lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; -x_410 = lean_ctor_get(x_296, 0); -x_411 = lean_ctor_get(x_296, 1); +lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; +x_411 = lean_ctor_get(x_297, 0); +x_412 = lean_ctor_get(x_297, 1); +lean_inc(x_412); lean_inc(x_411); -lean_inc(x_410); -lean_dec(x_296); -x_412 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_291); -x_413 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_413, 0, x_291); -lean_ctor_set(x_413, 1, x_412); -x_414 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_415 = l_Lean_mkSepArray(x_288, x_414); -lean_dec(x_288); -x_416 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; -x_417 = l_Array_append___rarg(x_416, x_415); -x_418 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_291); -x_419 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_419, 0, x_291); -lean_ctor_set(x_419, 1, x_418); -lean_ctor_set(x_419, 2, x_417); -x_420 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_291); -x_421 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_421, 0, x_291); -lean_ctor_set(x_421, 1, x_420); -x_422 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_423 = lean_array_push(x_422, x_413); -x_424 = lean_array_push(x_423, x_419); -x_425 = lean_array_push(x_424, x_421); -x_426 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -lean_inc(x_291); -x_427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_427, 0, x_291); -lean_ctor_set(x_427, 1, x_426); -lean_ctor_set(x_427, 2, x_425); -x_428 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_429 = lean_array_push(x_428, x_427); -lean_inc(x_291); -x_430 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_430, 0, x_291); -lean_ctor_set(x_430, 1, x_418); -lean_ctor_set(x_430, 2, x_429); -x_431 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -lean_inc(x_291); -x_432 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_432, 0, x_291); -lean_ctor_set(x_432, 1, x_431); -x_433 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; -lean_inc(x_294); -lean_inc(x_410); -x_434 = l_Lean_addMacroScope(x_410, x_433, x_294); -x_435 = lean_box(0); -x_436 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -lean_inc(x_291); -x_437 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_437, 0, x_291); -lean_ctor_set(x_437, 1, x_436); -lean_ctor_set(x_437, 2, x_434); -lean_ctor_set(x_437, 3, x_435); -x_438 = lean_mk_syntax_ident(x_2); -x_439 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_440 = lean_array_push(x_439, x_437); +lean_dec(x_297); +x_413 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_292); +x_414 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_414, 0, x_292); +lean_ctor_set(x_414, 1, x_413); +x_415 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_416 = l_Lean_mkSepArray(x_289, x_415); +lean_dec(x_289); +x_417 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; +x_418 = l_Array_append___rarg(x_417, x_416); +x_419 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_292); +x_420 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_420, 0, x_292); +lean_ctor_set(x_420, 1, x_419); +lean_ctor_set(x_420, 2, x_418); +x_421 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_292); +x_422 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_422, 0, x_292); +lean_ctor_set(x_422, 1, x_421); +x_423 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_424 = lean_array_push(x_423, x_414); +x_425 = lean_array_push(x_424, x_420); +x_426 = lean_array_push(x_425, x_422); +x_427 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +lean_inc(x_292); +x_428 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_428, 0, x_292); +lean_ctor_set(x_428, 1, x_427); +lean_ctor_set(x_428, 2, x_426); +x_429 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_430 = lean_array_push(x_429, x_428); +lean_inc(x_292); +x_431 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_431, 0, x_292); +lean_ctor_set(x_431, 1, x_419); +lean_ctor_set(x_431, 2, x_430); +x_432 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_292); +x_433 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_433, 0, x_292); +lean_ctor_set(x_433, 1, x_432); +x_434 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +lean_inc(x_295); +lean_inc(x_411); +x_435 = l_Lean_addMacroScope(x_411, x_434, x_295); +x_436 = lean_box(0); +x_437 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +lean_inc(x_292); +x_438 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_438, 0, x_292); +lean_ctor_set(x_438, 1, x_437); +lean_ctor_set(x_438, 2, x_435); +lean_ctor_set(x_438, 3, x_436); +x_439 = lean_mk_syntax_ident(x_2); +x_440 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; x_441 = lean_array_push(x_440, x_438); -lean_inc(x_291); -x_442 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_442, 0, x_291); -lean_ctor_set(x_442, 1, x_418); -lean_ctor_set(x_442, 2, x_441); -x_443 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_inc(x_291); -x_444 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_444, 0, x_291); -lean_ctor_set(x_444, 1, x_443); -x_445 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; -lean_inc(x_294); -lean_inc(x_410); -x_446 = l_Lean_addMacroScope(x_410, x_445, x_294); -x_447 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; -x_448 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; -lean_inc(x_291); -x_449 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_449, 0, x_291); -lean_ctor_set(x_449, 1, x_447); -lean_ctor_set(x_449, 2, x_446); -lean_ctor_set(x_449, 3, x_448); -x_450 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_291); -x_451 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_451, 0, x_291); -lean_ctor_set(x_451, 1, x_450); -x_452 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_291); -x_453 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_453, 0, x_291); -lean_ctor_set(x_453, 1, x_452); -x_454 = l_Array_append___rarg(x_416, x_3); -x_455 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; -lean_inc(x_291); -x_456 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_456, 0, x_291); -lean_ctor_set(x_456, 1, x_455); -x_457 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_291); -x_458 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_458, 0, x_291); -lean_ctor_set(x_458, 1, x_457); -x_459 = lean_array_push(x_428, x_458); -x_460 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_291); -x_461 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_461, 0, x_291); -lean_ctor_set(x_461, 1, x_460); -lean_ctor_set(x_461, 2, x_459); -x_462 = lean_array_push(x_428, x_461); -lean_inc(x_291); -x_463 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_463, 0, x_291); -lean_ctor_set(x_463, 1, x_418); -lean_ctor_set(x_463, 2, x_462); -x_464 = lean_array_push(x_428, x_463); -lean_inc(x_291); -x_465 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_465, 0, x_291); -lean_ctor_set(x_465, 1, x_418); -lean_ctor_set(x_465, 2, x_464); -x_466 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_291); -x_467 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_467, 0, x_291); -lean_ctor_set(x_467, 1, x_466); -x_468 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -lean_inc(x_291); -x_469 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_469, 0, x_291); -lean_ctor_set(x_469, 1, x_468); -x_470 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -x_471 = l_Lean_addMacroScope(x_410, x_470, x_294); -x_472 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -x_473 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_291); -x_474 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_474, 0, x_291); -lean_ctor_set(x_474, 1, x_472); -lean_ctor_set(x_474, 2, x_471); -lean_ctor_set(x_474, 3, x_473); -x_475 = lean_array_push(x_439, x_469); -x_476 = lean_array_push(x_475, x_474); -x_477 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -lean_inc(x_291); -x_478 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_478, 0, x_291); -lean_ctor_set(x_478, 1, x_477); -lean_ctor_set(x_478, 2, x_476); -x_479 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; -x_480 = lean_array_push(x_479, x_456); -x_481 = lean_array_push(x_480, x_465); -x_482 = lean_array_push(x_481, x_467); -x_483 = lean_array_push(x_482, x_478); -x_484 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; -lean_inc(x_291); -x_485 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_485, 0, x_291); -lean_ctor_set(x_485, 1, x_484); -lean_ctor_set(x_485, 2, x_483); -x_486 = lean_array_push(x_454, x_485); -lean_inc(x_291); -x_487 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_487, 0, x_291); -lean_ctor_set(x_487, 1, x_418); -lean_ctor_set(x_487, 2, x_486); -x_488 = lean_array_push(x_428, x_487); -x_489 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -lean_inc(x_291); -x_490 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_490, 0, x_291); -lean_ctor_set(x_490, 1, x_489); -lean_ctor_set(x_490, 2, x_488); -x_491 = lean_array_push(x_439, x_453); -x_492 = lean_array_push(x_491, x_490); -x_493 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_291); -x_494 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_494, 0, x_291); -lean_ctor_set(x_494, 1, x_493); -lean_ctor_set(x_494, 2, x_492); +x_442 = lean_array_push(x_441, x_439); +lean_inc(x_292); +x_443 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_443, 0, x_292); +lean_ctor_set(x_443, 1, x_419); +lean_ctor_set(x_443, 2, x_442); +x_444 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_inc(x_292); +x_445 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_445, 0, x_292); +lean_ctor_set(x_445, 1, x_444); +x_446 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__72; +lean_inc(x_295); +lean_inc(x_411); +x_447 = l_Lean_addMacroScope(x_411, x_446, x_295); +x_448 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__70; +x_449 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__74; +lean_inc(x_292); +x_450 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_450, 0, x_292); +lean_ctor_set(x_450, 1, x_448); +lean_ctor_set(x_450, 2, x_447); +lean_ctor_set(x_450, 3, x_449); +x_451 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_292); +x_452 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_452, 0, x_292); +lean_ctor_set(x_452, 1, x_451); +x_453 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_292); +x_454 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_454, 0, x_292); +lean_ctor_set(x_454, 1, x_453); +x_455 = l_Array_append___rarg(x_417, x_3); +x_456 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; +lean_inc(x_292); +x_457 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_457, 0, x_292); +lean_ctor_set(x_457, 1, x_456); +x_458 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_292); +x_459 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_459, 0, x_292); +lean_ctor_set(x_459, 1, x_458); +x_460 = lean_array_push(x_429, x_459); +x_461 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_292); +x_462 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_462, 0, x_292); +lean_ctor_set(x_462, 1, x_461); +lean_ctor_set(x_462, 2, x_460); +x_463 = lean_array_push(x_429, x_462); +lean_inc(x_292); +x_464 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_464, 0, x_292); +lean_ctor_set(x_464, 1, x_419); +lean_ctor_set(x_464, 2, x_463); +x_465 = lean_array_push(x_429, x_464); +lean_inc(x_292); +x_466 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_466, 0, x_292); +lean_ctor_set(x_466, 1, x_419); +lean_ctor_set(x_466, 2, x_465); +x_467 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_292); +x_468 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_468, 0, x_292); +lean_ctor_set(x_468, 1, x_467); +x_469 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +lean_inc(x_292); +x_470 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_470, 0, x_292); +lean_ctor_set(x_470, 1, x_469); +x_471 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_472 = l_Lean_addMacroScope(x_411, x_471, x_295); +x_473 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_474 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_292); +x_475 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_475, 0, x_292); +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 = lean_array_push(x_440, x_470); +x_477 = lean_array_push(x_476, x_475); +x_478 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +lean_inc(x_292); +x_479 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_479, 0, x_292); +lean_ctor_set(x_479, 1, x_478); +lean_ctor_set(x_479, 2, x_477); +x_480 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; +x_481 = lean_array_push(x_480, x_457); +x_482 = lean_array_push(x_481, x_466); +x_483 = lean_array_push(x_482, x_468); +x_484 = lean_array_push(x_483, x_479); +x_485 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; +lean_inc(x_292); +x_486 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_486, 0, x_292); +lean_ctor_set(x_486, 1, x_485); +lean_ctor_set(x_486, 2, x_484); +x_487 = lean_array_push(x_455, x_486); +lean_inc(x_292); +x_488 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_488, 0, x_292); +lean_ctor_set(x_488, 1, x_419); +lean_ctor_set(x_488, 2, x_487); +x_489 = lean_array_push(x_429, x_488); +x_490 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_292); +x_491 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_491, 0, x_292); +lean_ctor_set(x_491, 1, x_490); +lean_ctor_set(x_491, 2, x_489); +x_492 = lean_array_push(x_440, x_454); +x_493 = lean_array_push(x_492, x_491); +x_494 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_292); +x_495 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_495, 0, x_292); +lean_ctor_set(x_495, 1, x_494); +lean_ctor_set(x_495, 2, x_493); if (lean_obj_tag(x_4) == 0) { -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; -x_495 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_291); -x_496 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_496, 0, x_291); -lean_ctor_set(x_496, 1, x_418); -lean_ctor_set(x_496, 2, x_495); -x_497 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_498 = lean_array_push(x_497, x_496); -x_499 = lean_array_push(x_498, x_430); -x_500 = lean_array_push(x_499, x_432); -x_501 = lean_array_push(x_500, x_442); -x_502 = lean_array_push(x_501, x_444); -x_503 = lean_array_push(x_502, x_449); -x_504 = lean_array_push(x_503, x_451); -x_505 = lean_array_push(x_504, x_494); -x_506 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_507 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_507, 0, x_291); -lean_ctor_set(x_507, 1, x_506); -lean_ctor_set(x_507, 2, x_505); -x_508 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_508, 0, x_507); -lean_ctor_set(x_508, 1, x_411); -return x_508; +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; +x_496 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_292); +x_497 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_497, 0, x_292); +lean_ctor_set(x_497, 1, x_419); +lean_ctor_set(x_497, 2, x_496); +x_498 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_499 = lean_array_push(x_498, x_497); +x_500 = lean_array_push(x_499, x_431); +x_501 = lean_array_push(x_500, x_433); +x_502 = lean_array_push(x_501, x_443); +x_503 = lean_array_push(x_502, x_445); +x_504 = lean_array_push(x_503, x_450); +x_505 = lean_array_push(x_504, x_452); +x_506 = lean_array_push(x_505, x_495); +x_507 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_508 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_508, 0, x_292); +lean_ctor_set(x_508, 1, x_507); +lean_ctor_set(x_508, 2, 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_412); +return x_509; } else { -lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; -x_509 = lean_ctor_get(x_4, 0); -lean_inc(x_509); +lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; +x_510 = lean_ctor_get(x_4, 0); +lean_inc(x_510); lean_dec(x_4); -x_510 = lean_array_push(x_428, x_509); -x_511 = l_Array_append___rarg(x_416, x_510); -lean_inc(x_291); -x_512 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_512, 0, x_291); -lean_ctor_set(x_512, 1, x_418); -lean_ctor_set(x_512, 2, x_511); -x_513 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_514 = lean_array_push(x_513, x_512); -x_515 = lean_array_push(x_514, x_430); -x_516 = lean_array_push(x_515, x_432); -x_517 = lean_array_push(x_516, x_442); -x_518 = lean_array_push(x_517, x_444); -x_519 = lean_array_push(x_518, x_449); -x_520 = lean_array_push(x_519, x_451); -x_521 = lean_array_push(x_520, x_494); -x_522 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_523 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_523, 0, x_291); -lean_ctor_set(x_523, 1, x_522); -lean_ctor_set(x_523, 2, x_521); -x_524 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_524, 0, x_523); -lean_ctor_set(x_524, 1, x_411); -return x_524; +x_511 = lean_array_push(x_429, x_510); +x_512 = l_Array_append___rarg(x_417, x_511); +lean_inc(x_292); +x_513 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_513, 0, x_292); +lean_ctor_set(x_513, 1, x_419); +lean_ctor_set(x_513, 2, x_512); +x_514 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_515 = lean_array_push(x_514, x_513); +x_516 = lean_array_push(x_515, x_431); +x_517 = lean_array_push(x_516, x_433); +x_518 = lean_array_push(x_517, x_443); +x_519 = lean_array_push(x_518, x_445); +x_520 = lean_array_push(x_519, x_450); +x_521 = lean_array_push(x_520, x_452); +x_522 = lean_array_push(x_521, x_495); +x_523 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_524 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_524, 0, x_292); +lean_ctor_set(x_524, 1, x_523); +lean_ctor_set(x_524, 2, x_522); +x_525 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_525, 0, x_524); +lean_ctor_set(x_525, 1, x_412); +return x_525; } } } @@ -3741,732 +3743,733 @@ return x_524; } else { -lean_object* x_553; lean_object* x_554; lean_object* x_857; lean_object* x_858; lean_object* x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; +lean_object* x_555; lean_object* x_556; uint8_t x_859; lean_object* x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; lean_object* x_869; lean_object* x_870; lean_object* x_871; lean_object* x_872; lean_object* x_873; lean_object* x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_dec(x_7); +x_859 = 0; lean_inc(x_2); -x_857 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_8, x_9, x_10); -x_858 = lean_ctor_get(x_857, 0); -lean_inc(x_858); -x_859 = lean_ctor_get(x_857, 1); -lean_inc(x_859); -lean_dec(x_857); -x_860 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_859); +x_860 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_859, x_8, x_9, x_10); x_861 = lean_ctor_get(x_860, 0); lean_inc(x_861); x_862 = lean_ctor_get(x_860, 1); lean_inc(x_862); lean_dec(x_860); -x_863 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_862); -x_864 = lean_ctor_get(x_863, 1); +x_863 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_862); +x_864 = lean_ctor_get(x_863, 0); lean_inc(x_864); +x_865 = lean_ctor_get(x_863, 1); +lean_inc(x_865); lean_dec(x_863); -x_865 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_864); -x_866 = lean_ctor_get(x_865, 1); -lean_inc(x_866); -lean_dec(x_865); -x_867 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_868 = lean_array_push(x_867, x_858); -x_869 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_861); -x_870 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_870, 0, x_861); -lean_ctor_set(x_870, 1, x_869); -lean_ctor_set(x_870, 2, x_868); -x_871 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; -x_872 = lean_array_push(x_871, x_870); -x_873 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_861); -x_874 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_874, 0, x_861); -lean_ctor_set(x_874, 1, x_873); -lean_ctor_set(x_874, 2, x_872); -x_875 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_876 = lean_array_push(x_875, x_5); -x_877 = lean_array_push(x_876, x_874); -x_878 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -x_879 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_879, 0, x_861); -lean_ctor_set(x_879, 1, x_878); -lean_ctor_set(x_879, 2, x_877); +x_866 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_865); +x_867 = lean_ctor_get(x_866, 1); +lean_inc(x_867); +lean_dec(x_866); +x_868 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_867); +x_869 = lean_ctor_get(x_868, 1); +lean_inc(x_869); +lean_dec(x_868); +x_870 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_871 = lean_array_push(x_870, x_861); +x_872 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_864); +x_873 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_873, 0, x_864); +lean_ctor_set(x_873, 1, x_872); +lean_ctor_set(x_873, 2, x_871); +x_874 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; +x_875 = lean_array_push(x_874, x_873); +x_876 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_864); +x_877 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_877, 0, x_864); +lean_ctor_set(x_877, 1, x_876); +lean_ctor_set(x_877, 2, x_875); +x_878 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_879 = lean_array_push(x_878, x_5); +x_880 = lean_array_push(x_879, x_877); +x_881 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_882 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_882, 0, x_864); +lean_ctor_set(x_882, 1, x_881); +lean_ctor_set(x_882, 2, x_880); if (lean_obj_tag(x_6) == 0) { -lean_object* x_880; -x_880 = lean_array_push(x_867, x_879); -x_553 = x_880; -x_554 = x_866; -goto block_856; +lean_object* x_883; +x_883 = lean_array_push(x_870, x_882); +x_555 = x_883; +x_556 = x_869; +goto block_858; } else { -lean_object* x_881; lean_object* x_882; lean_object* x_883; -x_881 = lean_ctor_get(x_6, 0); -x_882 = l_Lean_Syntax_TSepArray_getElems___rarg(x_881); -x_883 = lean_array_push(x_882, x_879); -x_553 = x_883; -x_554 = x_866; -goto block_856; +lean_object* x_884; lean_object* x_885; lean_object* x_886; +x_884 = lean_ctor_get(x_6, 0); +x_885 = l_Lean_Syntax_TSepArray_getElems___rarg(x_884); +x_886 = lean_array_push(x_885, x_882); +x_555 = x_886; +x_556 = x_869; +goto block_858; } -block_856: +block_858: { -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; uint8_t x_562; -x_555 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_554); -x_556 = lean_ctor_get(x_555, 0); -lean_inc(x_556); -x_557 = lean_ctor_get(x_555, 1); -lean_inc(x_557); -lean_dec(x_555); -x_558 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_557); +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; uint8_t x_564; +x_557 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_556); +x_558 = lean_ctor_get(x_557, 0); +lean_inc(x_558); +x_559 = lean_ctor_get(x_557, 1); +lean_inc(x_559); +lean_dec(x_557); +x_560 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_559); lean_dec(x_8); -x_559 = lean_ctor_get(x_558, 0); -lean_inc(x_559); -x_560 = lean_ctor_get(x_558, 1); -lean_inc(x_560); -lean_dec(x_558); -x_561 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_560); +x_561 = lean_ctor_get(x_560, 0); +lean_inc(x_561); +x_562 = lean_ctor_get(x_560, 1); +lean_inc(x_562); +lean_dec(x_560); +x_563 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_562); lean_dec(x_9); -x_562 = !lean_is_exclusive(x_561); -if (x_562 == 0) +x_564 = !lean_is_exclusive(x_563); +if (x_564 == 0) { -lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; -x_563 = lean_ctor_get(x_561, 0); -x_564 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_556); -x_565 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_565, 0, x_556); -lean_ctor_set(x_565, 1, x_564); -x_566 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_567 = l_Lean_mkSepArray(x_553, x_566); -lean_dec(x_553); -x_568 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; -x_569 = l_Array_append___rarg(x_568, x_567); -x_570 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_556); -x_571 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_571, 0, x_556); -lean_ctor_set(x_571, 1, x_570); -lean_ctor_set(x_571, 2, x_569); -x_572 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_556); -x_573 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_573, 0, x_556); +lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; +x_565 = lean_ctor_get(x_563, 0); +x_566 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_558); +x_567 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_567, 0, x_558); +lean_ctor_set(x_567, 1, x_566); +x_568 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_569 = l_Lean_mkSepArray(x_555, x_568); +lean_dec(x_555); +x_570 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; +x_571 = l_Array_append___rarg(x_570, x_569); +x_572 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_558); +x_573 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_573, 0, x_558); lean_ctor_set(x_573, 1, x_572); -x_574 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_575 = lean_array_push(x_574, x_565); -x_576 = lean_array_push(x_575, x_571); -x_577 = lean_array_push(x_576, x_573); -x_578 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -lean_inc(x_556); -x_579 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_579, 0, x_556); -lean_ctor_set(x_579, 1, x_578); -lean_ctor_set(x_579, 2, x_577); -x_580 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_581 = lean_array_push(x_580, x_579); -lean_inc(x_556); -x_582 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_582, 0, x_556); -lean_ctor_set(x_582, 1, x_570); -lean_ctor_set(x_582, 2, x_581); -x_583 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -lean_inc(x_556); -x_584 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_584, 0, x_556); -lean_ctor_set(x_584, 1, x_583); -x_585 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; -lean_inc(x_559); -lean_inc(x_563); -x_586 = l_Lean_addMacroScope(x_563, x_585, x_559); -x_587 = lean_box(0); -x_588 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -lean_inc(x_556); -x_589 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_589, 0, x_556); -lean_ctor_set(x_589, 1, x_588); -lean_ctor_set(x_589, 2, x_586); -lean_ctor_set(x_589, 3, x_587); -x_590 = lean_mk_syntax_ident(x_2); -x_591 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_592 = lean_array_push(x_591, x_589); -x_593 = lean_array_push(x_592, x_590); -lean_inc(x_556); -x_594 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_594, 0, x_556); -lean_ctor_set(x_594, 1, x_570); -lean_ctor_set(x_594, 2, x_593); -x_595 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_inc(x_556); -x_596 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_596, 0, x_556); -lean_ctor_set(x_596, 1, x_595); -x_597 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; -lean_inc(x_559); -lean_inc(x_563); -x_598 = l_Lean_addMacroScope(x_563, x_597, x_559); -x_599 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_600 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; -lean_inc(x_556); -x_601 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_601, 0, x_556); -lean_ctor_set(x_601, 1, x_599); -lean_ctor_set(x_601, 2, x_598); -lean_ctor_set(x_601, 3, x_600); -x_602 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_556); -x_603 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_603, 0, x_556); -lean_ctor_set(x_603, 1, x_602); -x_604 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_556); +lean_ctor_set(x_573, 2, x_571); +x_574 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_558); +x_575 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_575, 0, x_558); +lean_ctor_set(x_575, 1, x_574); +x_576 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_577 = lean_array_push(x_576, x_567); +x_578 = lean_array_push(x_577, x_573); +x_579 = lean_array_push(x_578, x_575); +x_580 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +lean_inc(x_558); +x_581 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_581, 0, x_558); +lean_ctor_set(x_581, 1, x_580); +lean_ctor_set(x_581, 2, x_579); +x_582 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_583 = lean_array_push(x_582, x_581); +lean_inc(x_558); +x_584 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_584, 0, x_558); +lean_ctor_set(x_584, 1, x_572); +lean_ctor_set(x_584, 2, x_583); +x_585 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_558); +x_586 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_586, 0, x_558); +lean_ctor_set(x_586, 1, x_585); +x_587 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +lean_inc(x_561); +lean_inc(x_565); +x_588 = l_Lean_addMacroScope(x_565, x_587, x_561); +x_589 = lean_box(0); +x_590 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +lean_inc(x_558); +x_591 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_591, 0, x_558); +lean_ctor_set(x_591, 1, x_590); +lean_ctor_set(x_591, 2, x_588); +lean_ctor_set(x_591, 3, x_589); +x_592 = lean_mk_syntax_ident(x_2); +x_593 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_594 = lean_array_push(x_593, x_591); +x_595 = lean_array_push(x_594, x_592); +lean_inc(x_558); +x_596 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_596, 0, x_558); +lean_ctor_set(x_596, 1, x_572); +lean_ctor_set(x_596, 2, x_595); +x_597 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_inc(x_558); +x_598 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_598, 0, x_558); +lean_ctor_set(x_598, 1, x_597); +x_599 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +lean_inc(x_561); +lean_inc(x_565); +x_600 = l_Lean_addMacroScope(x_565, x_599, x_561); +x_601 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +x_602 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; +lean_inc(x_558); +x_603 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_603, 0, x_558); +lean_ctor_set(x_603, 1, x_601); +lean_ctor_set(x_603, 2, x_600); +lean_ctor_set(x_603, 3, x_602); +x_604 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_558); x_605 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_605, 0, x_556); +lean_ctor_set(x_605, 0, x_558); lean_ctor_set(x_605, 1, x_604); -x_606 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; -lean_inc(x_559); -lean_inc(x_563); -x_607 = l_Lean_addMacroScope(x_563, x_606, x_559); -x_608 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; -lean_inc(x_556); -x_609 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_609, 0, x_556); -lean_ctor_set(x_609, 1, x_608); -lean_ctor_set(x_609, 2, x_607); -lean_ctor_set(x_609, 3, x_587); -x_610 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_556); -x_611 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_611, 0, x_556); +x_606 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_558); +x_607 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_607, 0, x_558); +lean_ctor_set(x_607, 1, x_606); +x_608 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +lean_inc(x_561); +lean_inc(x_565); +x_609 = l_Lean_addMacroScope(x_565, x_608, x_561); +x_610 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; +lean_inc(x_558); +x_611 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_611, 0, x_558); lean_ctor_set(x_611, 1, x_610); -x_612 = lean_array_push(x_580, x_611); -x_613 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_556); -x_614 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_614, 0, x_556); -lean_ctor_set(x_614, 1, x_613); -lean_ctor_set(x_614, 2, x_612); -lean_inc(x_609); -x_615 = lean_array_push(x_591, x_609); -lean_inc(x_614); -x_616 = lean_array_push(x_615, x_614); -lean_inc(x_556); -x_617 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_617, 0, x_556); -lean_ctor_set(x_617, 1, x_570); -lean_ctor_set(x_617, 2, x_616); -lean_inc(x_556); -x_618 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_618, 0, x_556); -lean_ctor_set(x_618, 1, x_570); -lean_ctor_set(x_618, 2, x_568); -x_619 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_556); -x_620 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_620, 0, x_556); -lean_ctor_set(x_620, 1, x_619); -x_621 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; -lean_inc(x_556); +lean_ctor_set(x_611, 2, x_609); +lean_ctor_set(x_611, 3, x_589); +x_612 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_558); +x_613 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_613, 0, x_558); +lean_ctor_set(x_613, 1, x_612); +x_614 = lean_array_push(x_582, x_613); +x_615 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_558); +x_616 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_616, 0, x_558); +lean_ctor_set(x_616, 1, x_615); +lean_ctor_set(x_616, 2, x_614); +lean_inc(x_611); +x_617 = lean_array_push(x_593, x_611); +lean_inc(x_616); +x_618 = lean_array_push(x_617, x_616); +lean_inc(x_558); +x_619 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_619, 0, x_558); +lean_ctor_set(x_619, 1, x_572); +lean_ctor_set(x_619, 2, x_618); +lean_inc(x_558); +x_620 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_620, 0, x_558); +lean_ctor_set(x_620, 1, x_572); +lean_ctor_set(x_620, 2, x_570); +x_621 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_558); x_622 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_622, 0, x_556); +lean_ctor_set(x_622, 0, x_558); lean_ctor_set(x_622, 1, x_621); -lean_inc(x_618); -x_623 = lean_array_push(x_591, x_618); -x_624 = lean_array_push(x_623, x_609); -x_625 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_556); -x_626 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_626, 0, x_556); -lean_ctor_set(x_626, 1, x_625); -lean_ctor_set(x_626, 2, x_624); -x_627 = lean_array_push(x_580, x_626); -lean_inc(x_556); -x_628 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_628, 0, x_556); -lean_ctor_set(x_628, 1, x_570); -lean_ctor_set(x_628, 2, x_627); -x_629 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; -lean_inc(x_556); -x_630 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_630, 0, x_556); -lean_ctor_set(x_630, 1, x_629); -x_631 = l_Array_append___rarg(x_568, x_3); -x_632 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; -lean_inc(x_556); -x_633 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_633, 0, x_556); -lean_ctor_set(x_633, 1, x_632); -x_634 = lean_array_push(x_580, x_614); -lean_inc(x_556); -x_635 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_635, 0, x_556); -lean_ctor_set(x_635, 1, x_570); -lean_ctor_set(x_635, 2, x_634); -x_636 = lean_array_push(x_580, x_635); -lean_inc(x_556); -x_637 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_637, 0, x_556); -lean_ctor_set(x_637, 1, x_570); -lean_ctor_set(x_637, 2, x_636); -x_638 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -lean_inc(x_556); -x_639 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_639, 0, x_556); -lean_ctor_set(x_639, 1, x_638); -x_640 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -x_641 = l_Lean_addMacroScope(x_563, x_640, x_559); -x_642 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -x_643 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_556); -x_644 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_644, 0, x_556); -lean_ctor_set(x_644, 1, x_642); -lean_ctor_set(x_644, 2, x_641); -lean_ctor_set(x_644, 3, x_643); -x_645 = lean_array_push(x_591, x_639); -x_646 = lean_array_push(x_645, x_644); -x_647 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -lean_inc(x_556); -x_648 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_648, 0, x_556); -lean_ctor_set(x_648, 1, x_647); -lean_ctor_set(x_648, 2, x_646); -x_649 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; -x_650 = lean_array_push(x_649, x_633); -x_651 = lean_array_push(x_650, x_637); +x_623 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +lean_inc(x_558); +x_624 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_624, 0, x_558); +lean_ctor_set(x_624, 1, x_623); lean_inc(x_620); -x_652 = lean_array_push(x_651, x_620); -x_653 = lean_array_push(x_652, x_648); -x_654 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; -lean_inc(x_556); -x_655 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_655, 0, x_556); -lean_ctor_set(x_655, 1, x_654); -lean_ctor_set(x_655, 2, x_653); -x_656 = lean_array_push(x_631, x_655); -lean_inc(x_556); +x_625 = lean_array_push(x_593, x_620); +x_626 = lean_array_push(x_625, x_611); +x_627 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_558); +x_628 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_628, 0, x_558); +lean_ctor_set(x_628, 1, x_627); +lean_ctor_set(x_628, 2, x_626); +x_629 = lean_array_push(x_582, x_628); +lean_inc(x_558); +x_630 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_630, 0, x_558); +lean_ctor_set(x_630, 1, x_572); +lean_ctor_set(x_630, 2, x_629); +x_631 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_558); +x_632 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_632, 0, x_558); +lean_ctor_set(x_632, 1, x_631); +x_633 = l_Array_append___rarg(x_570, x_3); +x_634 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; +lean_inc(x_558); +x_635 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_635, 0, x_558); +lean_ctor_set(x_635, 1, x_634); +x_636 = lean_array_push(x_582, x_616); +lean_inc(x_558); +x_637 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_637, 0, x_558); +lean_ctor_set(x_637, 1, x_572); +lean_ctor_set(x_637, 2, x_636); +x_638 = lean_array_push(x_582, x_637); +lean_inc(x_558); +x_639 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_639, 0, x_558); +lean_ctor_set(x_639, 1, x_572); +lean_ctor_set(x_639, 2, x_638); +x_640 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +lean_inc(x_558); +x_641 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_641, 0, x_558); +lean_ctor_set(x_641, 1, x_640); +x_642 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_643 = l_Lean_addMacroScope(x_565, x_642, x_561); +x_644 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_645 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_558); +x_646 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_646, 0, x_558); +lean_ctor_set(x_646, 1, x_644); +lean_ctor_set(x_646, 2, x_643); +lean_ctor_set(x_646, 3, x_645); +x_647 = lean_array_push(x_593, x_641); +x_648 = lean_array_push(x_647, x_646); +x_649 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +lean_inc(x_558); +x_650 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_650, 0, x_558); +lean_ctor_set(x_650, 1, x_649); +lean_ctor_set(x_650, 2, x_648); +x_651 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; +x_652 = lean_array_push(x_651, x_635); +x_653 = lean_array_push(x_652, x_639); +lean_inc(x_622); +x_654 = lean_array_push(x_653, x_622); +x_655 = lean_array_push(x_654, x_650); +x_656 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; +lean_inc(x_558); x_657 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_657, 0, x_556); -lean_ctor_set(x_657, 1, x_570); -lean_ctor_set(x_657, 2, x_656); -x_658 = lean_array_push(x_580, x_657); -x_659 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -lean_inc(x_556); -x_660 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_660, 0, x_556); -lean_ctor_set(x_660, 1, x_659); -lean_ctor_set(x_660, 2, x_658); -x_661 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; -x_662 = lean_array_push(x_661, x_622); -lean_inc(x_618); -x_663 = lean_array_push(x_662, x_618); -lean_inc(x_618); -x_664 = lean_array_push(x_663, x_618); -x_665 = lean_array_push(x_664, x_628); -x_666 = lean_array_push(x_665, x_630); -x_667 = lean_array_push(x_666, x_660); -x_668 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; -lean_inc(x_556); -x_669 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_669, 0, x_556); -lean_ctor_set(x_669, 1, x_668); -lean_ctor_set(x_669, 2, x_667); -x_670 = lean_array_push(x_649, x_617); -x_671 = lean_array_push(x_670, x_618); -x_672 = lean_array_push(x_671, x_620); -x_673 = lean_array_push(x_672, x_669); -x_674 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; -lean_inc(x_556); -x_675 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_675, 0, x_556); -lean_ctor_set(x_675, 1, x_674); -lean_ctor_set(x_675, 2, x_673); -x_676 = lean_array_push(x_591, x_605); -x_677 = lean_array_push(x_676, x_675); -x_678 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_556); -x_679 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_679, 0, x_556); -lean_ctor_set(x_679, 1, x_678); -lean_ctor_set(x_679, 2, x_677); -if (lean_obj_tag(x_4) == 0) -{ -lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; -x_680 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_556); +lean_ctor_set(x_657, 0, x_558); +lean_ctor_set(x_657, 1, x_656); +lean_ctor_set(x_657, 2, x_655); +x_658 = lean_array_push(x_633, x_657); +lean_inc(x_558); +x_659 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_659, 0, x_558); +lean_ctor_set(x_659, 1, x_572); +lean_ctor_set(x_659, 2, x_658); +x_660 = lean_array_push(x_582, x_659); +x_661 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_558); +x_662 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_662, 0, x_558); +lean_ctor_set(x_662, 1, x_661); +lean_ctor_set(x_662, 2, x_660); +x_663 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_664 = lean_array_push(x_663, x_624); +lean_inc(x_620); +x_665 = lean_array_push(x_664, x_620); +lean_inc(x_620); +x_666 = lean_array_push(x_665, x_620); +x_667 = lean_array_push(x_666, x_630); +x_668 = lean_array_push(x_667, x_632); +x_669 = lean_array_push(x_668, x_662); +x_670 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +lean_inc(x_558); +x_671 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_671, 0, x_558); +lean_ctor_set(x_671, 1, x_670); +lean_ctor_set(x_671, 2, x_669); +x_672 = lean_array_push(x_651, x_619); +x_673 = lean_array_push(x_672, x_620); +x_674 = lean_array_push(x_673, x_622); +x_675 = lean_array_push(x_674, x_671); +x_676 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_558); +x_677 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_677, 0, x_558); +lean_ctor_set(x_677, 1, x_676); +lean_ctor_set(x_677, 2, x_675); +x_678 = lean_array_push(x_593, x_607); +x_679 = lean_array_push(x_678, x_677); +x_680 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_558); x_681 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_681, 0, x_556); -lean_ctor_set(x_681, 1, x_570); -lean_ctor_set(x_681, 2, x_680); -x_682 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_683 = lean_array_push(x_682, x_681); -x_684 = lean_array_push(x_683, x_582); -x_685 = lean_array_push(x_684, x_584); -x_686 = lean_array_push(x_685, x_594); -x_687 = lean_array_push(x_686, x_596); -x_688 = lean_array_push(x_687, x_601); -x_689 = lean_array_push(x_688, x_603); -x_690 = lean_array_push(x_689, x_679); -x_691 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_692 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_692, 0, x_556); -lean_ctor_set(x_692, 1, x_691); -lean_ctor_set(x_692, 2, x_690); -lean_ctor_set(x_561, 0, x_692); -return x_561; -} -else -{ -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; -x_693 = lean_ctor_get(x_4, 0); -lean_inc(x_693); -lean_dec(x_4); -x_694 = lean_array_push(x_580, x_693); -x_695 = l_Array_append___rarg(x_568, x_694); -lean_inc(x_556); -x_696 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_696, 0, x_556); -lean_ctor_set(x_696, 1, x_570); -lean_ctor_set(x_696, 2, x_695); -x_697 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_698 = lean_array_push(x_697, x_696); -x_699 = lean_array_push(x_698, x_582); -x_700 = lean_array_push(x_699, x_584); -x_701 = lean_array_push(x_700, x_594); -x_702 = lean_array_push(x_701, x_596); -x_703 = lean_array_push(x_702, x_601); -x_704 = lean_array_push(x_703, x_603); -x_705 = lean_array_push(x_704, x_679); -x_706 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_707 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_707, 0, x_556); -lean_ctor_set(x_707, 1, x_706); -lean_ctor_set(x_707, 2, x_705); -lean_ctor_set(x_561, 0, x_707); -return x_561; -} -} -else -{ -lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; -x_708 = lean_ctor_get(x_561, 0); -x_709 = lean_ctor_get(x_561, 1); -lean_inc(x_709); -lean_inc(x_708); -lean_dec(x_561); -x_710 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_556); -x_711 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_711, 0, x_556); -lean_ctor_set(x_711, 1, x_710); -x_712 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_713 = l_Lean_mkSepArray(x_553, x_712); -lean_dec(x_553); -x_714 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; -x_715 = l_Array_append___rarg(x_714, x_713); -x_716 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_556); -x_717 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_717, 0, x_556); -lean_ctor_set(x_717, 1, x_716); -lean_ctor_set(x_717, 2, x_715); -x_718 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_556); -x_719 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_719, 0, x_556); -lean_ctor_set(x_719, 1, x_718); -x_720 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_721 = lean_array_push(x_720, x_711); -x_722 = lean_array_push(x_721, x_717); -x_723 = lean_array_push(x_722, x_719); -x_724 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -lean_inc(x_556); -x_725 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_725, 0, x_556); -lean_ctor_set(x_725, 1, x_724); -lean_ctor_set(x_725, 2, x_723); -x_726 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_727 = lean_array_push(x_726, x_725); -lean_inc(x_556); -x_728 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_728, 0, x_556); -lean_ctor_set(x_728, 1, x_716); -lean_ctor_set(x_728, 2, x_727); -x_729 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -lean_inc(x_556); -x_730 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_730, 0, x_556); -lean_ctor_set(x_730, 1, x_729); -x_731 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; -lean_inc(x_559); -lean_inc(x_708); -x_732 = l_Lean_addMacroScope(x_708, x_731, x_559); -x_733 = lean_box(0); -x_734 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -lean_inc(x_556); -x_735 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_735, 0, x_556); -lean_ctor_set(x_735, 1, x_734); -lean_ctor_set(x_735, 2, x_732); -lean_ctor_set(x_735, 3, x_733); -x_736 = lean_mk_syntax_ident(x_2); -x_737 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_738 = lean_array_push(x_737, x_735); -x_739 = lean_array_push(x_738, x_736); -lean_inc(x_556); -x_740 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_740, 0, x_556); -lean_ctor_set(x_740, 1, x_716); -lean_ctor_set(x_740, 2, x_739); -x_741 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_inc(x_556); -x_742 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_742, 0, x_556); -lean_ctor_set(x_742, 1, x_741); -x_743 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; -lean_inc(x_559); -lean_inc(x_708); -x_744 = l_Lean_addMacroScope(x_708, x_743, x_559); -x_745 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_746 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; -lean_inc(x_556); -x_747 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_747, 0, x_556); -lean_ctor_set(x_747, 1, x_745); -lean_ctor_set(x_747, 2, x_744); -lean_ctor_set(x_747, 3, x_746); -x_748 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_556); -x_749 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_749, 0, x_556); -lean_ctor_set(x_749, 1, x_748); -x_750 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_556); -x_751 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_751, 0, x_556); -lean_ctor_set(x_751, 1, x_750); -x_752 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; -lean_inc(x_559); -lean_inc(x_708); -x_753 = l_Lean_addMacroScope(x_708, x_752, x_559); -x_754 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; -lean_inc(x_556); -x_755 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_755, 0, x_556); -lean_ctor_set(x_755, 1, x_754); -lean_ctor_set(x_755, 2, x_753); -lean_ctor_set(x_755, 3, x_733); -x_756 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_556); -x_757 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_757, 0, x_556); -lean_ctor_set(x_757, 1, x_756); -x_758 = lean_array_push(x_726, x_757); -x_759 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_556); -x_760 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_760, 0, x_556); -lean_ctor_set(x_760, 1, x_759); -lean_ctor_set(x_760, 2, x_758); -lean_inc(x_755); -x_761 = lean_array_push(x_737, x_755); -lean_inc(x_760); -x_762 = lean_array_push(x_761, x_760); -lean_inc(x_556); -x_763 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_763, 0, x_556); -lean_ctor_set(x_763, 1, x_716); -lean_ctor_set(x_763, 2, x_762); -lean_inc(x_556); -x_764 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_764, 0, x_556); -lean_ctor_set(x_764, 1, x_716); -lean_ctor_set(x_764, 2, x_714); -x_765 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_556); -x_766 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_766, 0, x_556); -lean_ctor_set(x_766, 1, x_765); -x_767 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; -lean_inc(x_556); -x_768 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_768, 0, x_556); -lean_ctor_set(x_768, 1, x_767); -lean_inc(x_764); -x_769 = lean_array_push(x_737, x_764); -x_770 = lean_array_push(x_769, x_755); -x_771 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_556); -x_772 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_772, 0, x_556); -lean_ctor_set(x_772, 1, x_771); -lean_ctor_set(x_772, 2, x_770); -x_773 = lean_array_push(x_726, x_772); -lean_inc(x_556); -x_774 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_774, 0, x_556); -lean_ctor_set(x_774, 1, x_716); -lean_ctor_set(x_774, 2, x_773); -x_775 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; -lean_inc(x_556); -x_776 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_776, 0, x_556); -lean_ctor_set(x_776, 1, x_775); -x_777 = l_Array_append___rarg(x_714, x_3); -x_778 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; -lean_inc(x_556); -x_779 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_779, 0, x_556); -lean_ctor_set(x_779, 1, x_778); -x_780 = lean_array_push(x_726, x_760); -lean_inc(x_556); -x_781 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_781, 0, x_556); -lean_ctor_set(x_781, 1, x_716); -lean_ctor_set(x_781, 2, x_780); -x_782 = lean_array_push(x_726, x_781); -lean_inc(x_556); -x_783 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_783, 0, x_556); -lean_ctor_set(x_783, 1, x_716); -lean_ctor_set(x_783, 2, x_782); -x_784 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -lean_inc(x_556); -x_785 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_785, 0, x_556); -lean_ctor_set(x_785, 1, x_784); -x_786 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -x_787 = l_Lean_addMacroScope(x_708, x_786, x_559); -x_788 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -x_789 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_556); -x_790 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_790, 0, x_556); -lean_ctor_set(x_790, 1, x_788); -lean_ctor_set(x_790, 2, x_787); -lean_ctor_set(x_790, 3, x_789); -x_791 = lean_array_push(x_737, x_785); -x_792 = lean_array_push(x_791, x_790); -x_793 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -lean_inc(x_556); -x_794 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_794, 0, x_556); -lean_ctor_set(x_794, 1, x_793); -lean_ctor_set(x_794, 2, x_792); -x_795 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; -x_796 = lean_array_push(x_795, x_779); -x_797 = lean_array_push(x_796, x_783); -lean_inc(x_766); -x_798 = lean_array_push(x_797, x_766); -x_799 = lean_array_push(x_798, x_794); -x_800 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; -lean_inc(x_556); -x_801 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_801, 0, x_556); -lean_ctor_set(x_801, 1, x_800); -lean_ctor_set(x_801, 2, x_799); -x_802 = lean_array_push(x_777, x_801); -lean_inc(x_556); -x_803 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_803, 0, x_556); -lean_ctor_set(x_803, 1, x_716); -lean_ctor_set(x_803, 2, x_802); -x_804 = lean_array_push(x_726, x_803); -x_805 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -lean_inc(x_556); -x_806 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_806, 0, x_556); -lean_ctor_set(x_806, 1, x_805); -lean_ctor_set(x_806, 2, x_804); -x_807 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; -x_808 = lean_array_push(x_807, x_768); -lean_inc(x_764); -x_809 = lean_array_push(x_808, x_764); -lean_inc(x_764); -x_810 = lean_array_push(x_809, x_764); -x_811 = lean_array_push(x_810, x_774); -x_812 = lean_array_push(x_811, x_776); -x_813 = lean_array_push(x_812, x_806); -x_814 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; -lean_inc(x_556); -x_815 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_815, 0, x_556); -lean_ctor_set(x_815, 1, x_814); -lean_ctor_set(x_815, 2, x_813); -x_816 = lean_array_push(x_795, x_763); -x_817 = lean_array_push(x_816, x_764); -x_818 = lean_array_push(x_817, x_766); -x_819 = lean_array_push(x_818, x_815); -x_820 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; -lean_inc(x_556); -x_821 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_821, 0, x_556); -lean_ctor_set(x_821, 1, x_820); -lean_ctor_set(x_821, 2, x_819); -x_822 = lean_array_push(x_737, x_751); -x_823 = lean_array_push(x_822, x_821); -x_824 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_556); -x_825 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_825, 0, x_556); -lean_ctor_set(x_825, 1, x_824); -lean_ctor_set(x_825, 2, x_823); +lean_ctor_set(x_681, 0, x_558); +lean_ctor_set(x_681, 1, x_680); +lean_ctor_set(x_681, 2, x_679); if (lean_obj_tag(x_4) == 0) { -lean_object* x_826; lean_object* x_827; lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; -x_826 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_556); -x_827 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_827, 0, x_556); -lean_ctor_set(x_827, 1, x_716); -lean_ctor_set(x_827, 2, x_826); -x_828 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_829 = lean_array_push(x_828, x_827); -x_830 = lean_array_push(x_829, x_728); -x_831 = lean_array_push(x_830, x_730); -x_832 = lean_array_push(x_831, x_740); -x_833 = lean_array_push(x_832, x_742); -x_834 = lean_array_push(x_833, x_747); -x_835 = lean_array_push(x_834, x_749); -x_836 = lean_array_push(x_835, x_825); -x_837 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_838 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_838, 0, x_556); -lean_ctor_set(x_838, 1, x_837); -lean_ctor_set(x_838, 2, x_836); -x_839 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_839, 0, x_838); -lean_ctor_set(x_839, 1, x_709); -return x_839; +lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; +x_682 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_558); +x_683 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_683, 0, x_558); +lean_ctor_set(x_683, 1, x_572); +lean_ctor_set(x_683, 2, x_682); +x_684 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_685 = lean_array_push(x_684, x_683); +x_686 = lean_array_push(x_685, x_584); +x_687 = lean_array_push(x_686, x_586); +x_688 = lean_array_push(x_687, x_596); +x_689 = lean_array_push(x_688, x_598); +x_690 = lean_array_push(x_689, x_603); +x_691 = lean_array_push(x_690, x_605); +x_692 = lean_array_push(x_691, x_681); +x_693 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_694 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_694, 0, x_558); +lean_ctor_set(x_694, 1, x_693); +lean_ctor_set(x_694, 2, x_692); +lean_ctor_set(x_563, 0, x_694); +return x_563; } else { -lean_object* x_840; lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; -x_840 = lean_ctor_get(x_4, 0); -lean_inc(x_840); +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; +x_695 = lean_ctor_get(x_4, 0); +lean_inc(x_695); lean_dec(x_4); -x_841 = lean_array_push(x_726, x_840); -x_842 = l_Array_append___rarg(x_714, x_841); -lean_inc(x_556); -x_843 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_843, 0, x_556); -lean_ctor_set(x_843, 1, x_716); -lean_ctor_set(x_843, 2, x_842); -x_844 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_845 = lean_array_push(x_844, x_843); -x_846 = lean_array_push(x_845, x_728); -x_847 = lean_array_push(x_846, x_730); -x_848 = lean_array_push(x_847, x_740); -x_849 = lean_array_push(x_848, x_742); -x_850 = lean_array_push(x_849, x_747); -x_851 = lean_array_push(x_850, x_749); -x_852 = lean_array_push(x_851, x_825); -x_853 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_854 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_854, 0, x_556); -lean_ctor_set(x_854, 1, x_853); -lean_ctor_set(x_854, 2, x_852); -x_855 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_855, 0, x_854); -lean_ctor_set(x_855, 1, x_709); -return x_855; +x_696 = lean_array_push(x_582, x_695); +x_697 = l_Array_append___rarg(x_570, x_696); +lean_inc(x_558); +x_698 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_698, 0, x_558); +lean_ctor_set(x_698, 1, x_572); +lean_ctor_set(x_698, 2, x_697); +x_699 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_700 = lean_array_push(x_699, x_698); +x_701 = lean_array_push(x_700, x_584); +x_702 = lean_array_push(x_701, x_586); +x_703 = lean_array_push(x_702, x_596); +x_704 = lean_array_push(x_703, x_598); +x_705 = lean_array_push(x_704, x_603); +x_706 = lean_array_push(x_705, x_605); +x_707 = lean_array_push(x_706, x_681); +x_708 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_709 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_709, 0, x_558); +lean_ctor_set(x_709, 1, x_708); +lean_ctor_set(x_709, 2, x_707); +lean_ctor_set(x_563, 0, x_709); +return x_563; +} +} +else +{ +lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; +x_710 = lean_ctor_get(x_563, 0); +x_711 = lean_ctor_get(x_563, 1); +lean_inc(x_711); +lean_inc(x_710); +lean_dec(x_563); +x_712 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_558); +x_713 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_713, 0, x_558); +lean_ctor_set(x_713, 1, x_712); +x_714 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_715 = l_Lean_mkSepArray(x_555, x_714); +lean_dec(x_555); +x_716 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; +x_717 = l_Array_append___rarg(x_716, x_715); +x_718 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_558); +x_719 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_719, 0, x_558); +lean_ctor_set(x_719, 1, x_718); +lean_ctor_set(x_719, 2, x_717); +x_720 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_558); +x_721 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_721, 0, x_558); +lean_ctor_set(x_721, 1, x_720); +x_722 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_723 = lean_array_push(x_722, x_713); +x_724 = lean_array_push(x_723, x_719); +x_725 = lean_array_push(x_724, x_721); +x_726 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +lean_inc(x_558); +x_727 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_727, 0, x_558); +lean_ctor_set(x_727, 1, x_726); +lean_ctor_set(x_727, 2, x_725); +x_728 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_729 = lean_array_push(x_728, x_727); +lean_inc(x_558); +x_730 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_730, 0, x_558); +lean_ctor_set(x_730, 1, x_718); +lean_ctor_set(x_730, 2, x_729); +x_731 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_558); +x_732 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_732, 0, x_558); +lean_ctor_set(x_732, 1, x_731); +x_733 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +lean_inc(x_561); +lean_inc(x_710); +x_734 = l_Lean_addMacroScope(x_710, x_733, x_561); +x_735 = lean_box(0); +x_736 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +lean_inc(x_558); +x_737 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_737, 0, x_558); +lean_ctor_set(x_737, 1, x_736); +lean_ctor_set(x_737, 2, x_734); +lean_ctor_set(x_737, 3, x_735); +x_738 = lean_mk_syntax_ident(x_2); +x_739 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_740 = lean_array_push(x_739, x_737); +x_741 = lean_array_push(x_740, x_738); +lean_inc(x_558); +x_742 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_742, 0, x_558); +lean_ctor_set(x_742, 1, x_718); +lean_ctor_set(x_742, 2, x_741); +x_743 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_inc(x_558); +x_744 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_744, 0, x_558); +lean_ctor_set(x_744, 1, x_743); +x_745 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +lean_inc(x_561); +lean_inc(x_710); +x_746 = l_Lean_addMacroScope(x_710, x_745, x_561); +x_747 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +x_748 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; +lean_inc(x_558); +x_749 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_749, 0, x_558); +lean_ctor_set(x_749, 1, x_747); +lean_ctor_set(x_749, 2, x_746); +lean_ctor_set(x_749, 3, x_748); +x_750 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_558); +x_751 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_751, 0, x_558); +lean_ctor_set(x_751, 1, x_750); +x_752 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_558); +x_753 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_753, 0, x_558); +lean_ctor_set(x_753, 1, x_752); +x_754 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +lean_inc(x_561); +lean_inc(x_710); +x_755 = l_Lean_addMacroScope(x_710, x_754, x_561); +x_756 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; +lean_inc(x_558); +x_757 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_757, 0, x_558); +lean_ctor_set(x_757, 1, x_756); +lean_ctor_set(x_757, 2, x_755); +lean_ctor_set(x_757, 3, x_735); +x_758 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_558); +x_759 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_759, 0, x_558); +lean_ctor_set(x_759, 1, x_758); +x_760 = lean_array_push(x_728, x_759); +x_761 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_558); +x_762 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_762, 0, x_558); +lean_ctor_set(x_762, 1, x_761); +lean_ctor_set(x_762, 2, x_760); +lean_inc(x_757); +x_763 = lean_array_push(x_739, x_757); +lean_inc(x_762); +x_764 = lean_array_push(x_763, x_762); +lean_inc(x_558); +x_765 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_765, 0, x_558); +lean_ctor_set(x_765, 1, x_718); +lean_ctor_set(x_765, 2, x_764); +lean_inc(x_558); +x_766 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_766, 0, x_558); +lean_ctor_set(x_766, 1, x_718); +lean_ctor_set(x_766, 2, x_716); +x_767 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_558); +x_768 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_768, 0, x_558); +lean_ctor_set(x_768, 1, x_767); +x_769 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +lean_inc(x_558); +x_770 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_770, 0, x_558); +lean_ctor_set(x_770, 1, x_769); +lean_inc(x_766); +x_771 = lean_array_push(x_739, x_766); +x_772 = lean_array_push(x_771, x_757); +x_773 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_558); +x_774 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_774, 0, x_558); +lean_ctor_set(x_774, 1, x_773); +lean_ctor_set(x_774, 2, x_772); +x_775 = lean_array_push(x_728, x_774); +lean_inc(x_558); +x_776 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_776, 0, x_558); +lean_ctor_set(x_776, 1, x_718); +lean_ctor_set(x_776, 2, x_775); +x_777 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_558); +x_778 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_778, 0, x_558); +lean_ctor_set(x_778, 1, x_777); +x_779 = l_Array_append___rarg(x_716, x_3); +x_780 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; +lean_inc(x_558); +x_781 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_781, 0, x_558); +lean_ctor_set(x_781, 1, x_780); +x_782 = lean_array_push(x_728, x_762); +lean_inc(x_558); +x_783 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_783, 0, x_558); +lean_ctor_set(x_783, 1, x_718); +lean_ctor_set(x_783, 2, x_782); +x_784 = lean_array_push(x_728, x_783); +lean_inc(x_558); +x_785 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_785, 0, x_558); +lean_ctor_set(x_785, 1, x_718); +lean_ctor_set(x_785, 2, x_784); +x_786 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +lean_inc(x_558); +x_787 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_787, 0, x_558); +lean_ctor_set(x_787, 1, x_786); +x_788 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_789 = l_Lean_addMacroScope(x_710, x_788, x_561); +x_790 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_791 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_558); +x_792 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_792, 0, x_558); +lean_ctor_set(x_792, 1, x_790); +lean_ctor_set(x_792, 2, x_789); +lean_ctor_set(x_792, 3, x_791); +x_793 = lean_array_push(x_739, x_787); +x_794 = lean_array_push(x_793, x_792); +x_795 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +lean_inc(x_558); +x_796 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_796, 0, x_558); +lean_ctor_set(x_796, 1, x_795); +lean_ctor_set(x_796, 2, x_794); +x_797 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; +x_798 = lean_array_push(x_797, x_781); +x_799 = lean_array_push(x_798, x_785); +lean_inc(x_768); +x_800 = lean_array_push(x_799, x_768); +x_801 = lean_array_push(x_800, x_796); +x_802 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; +lean_inc(x_558); +x_803 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_803, 0, x_558); +lean_ctor_set(x_803, 1, x_802); +lean_ctor_set(x_803, 2, x_801); +x_804 = lean_array_push(x_779, x_803); +lean_inc(x_558); +x_805 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_805, 0, x_558); +lean_ctor_set(x_805, 1, x_718); +lean_ctor_set(x_805, 2, x_804); +x_806 = lean_array_push(x_728, x_805); +x_807 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_558); +x_808 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_808, 0, x_558); +lean_ctor_set(x_808, 1, x_807); +lean_ctor_set(x_808, 2, x_806); +x_809 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_810 = lean_array_push(x_809, x_770); +lean_inc(x_766); +x_811 = lean_array_push(x_810, x_766); +lean_inc(x_766); +x_812 = lean_array_push(x_811, x_766); +x_813 = lean_array_push(x_812, x_776); +x_814 = lean_array_push(x_813, x_778); +x_815 = lean_array_push(x_814, x_808); +x_816 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +lean_inc(x_558); +x_817 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_817, 0, x_558); +lean_ctor_set(x_817, 1, x_816); +lean_ctor_set(x_817, 2, x_815); +x_818 = lean_array_push(x_797, x_765); +x_819 = lean_array_push(x_818, x_766); +x_820 = lean_array_push(x_819, x_768); +x_821 = lean_array_push(x_820, x_817); +x_822 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_558); +x_823 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_823, 0, x_558); +lean_ctor_set(x_823, 1, x_822); +lean_ctor_set(x_823, 2, x_821); +x_824 = lean_array_push(x_739, x_753); +x_825 = lean_array_push(x_824, x_823); +x_826 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_558); +x_827 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_827, 0, x_558); +lean_ctor_set(x_827, 1, x_826); +lean_ctor_set(x_827, 2, x_825); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_828; lean_object* x_829; lean_object* x_830; lean_object* x_831; lean_object* x_832; lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_837; lean_object* x_838; lean_object* x_839; lean_object* x_840; lean_object* x_841; +x_828 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_558); +x_829 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_829, 0, x_558); +lean_ctor_set(x_829, 1, x_718); +lean_ctor_set(x_829, 2, x_828); +x_830 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_831 = lean_array_push(x_830, x_829); +x_832 = lean_array_push(x_831, x_730); +x_833 = lean_array_push(x_832, x_732); +x_834 = lean_array_push(x_833, x_742); +x_835 = lean_array_push(x_834, x_744); +x_836 = lean_array_push(x_835, x_749); +x_837 = lean_array_push(x_836, x_751); +x_838 = lean_array_push(x_837, x_827); +x_839 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_840 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_840, 0, x_558); +lean_ctor_set(x_840, 1, x_839); +lean_ctor_set(x_840, 2, x_838); +x_841 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_841, 0, x_840); +lean_ctor_set(x_841, 1, x_711); +return x_841; +} +else +{ +lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; lean_object* x_854; lean_object* x_855; lean_object* x_856; lean_object* x_857; +x_842 = lean_ctor_get(x_4, 0); +lean_inc(x_842); +lean_dec(x_4); +x_843 = lean_array_push(x_728, x_842); +x_844 = l_Array_append___rarg(x_716, x_843); +lean_inc(x_558); +x_845 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_845, 0, x_558); +lean_ctor_set(x_845, 1, x_718); +lean_ctor_set(x_845, 2, x_844); +x_846 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_847 = lean_array_push(x_846, x_845); +x_848 = lean_array_push(x_847, x_730); +x_849 = lean_array_push(x_848, x_732); +x_850 = lean_array_push(x_849, x_742); +x_851 = lean_array_push(x_850, x_744); +x_852 = lean_array_push(x_851, x_749); +x_853 = lean_array_push(x_852, x_751); +x_854 = lean_array_push(x_853, x_827); +x_855 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_856 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_856, 0, x_558); +lean_ctor_set(x_856, 1, x_855); +lean_ctor_set(x_856, 2, x_854); +x_857 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_857, 0, x_856); +lean_ctor_set(x_857, 1, x_711); +return x_857; } } } @@ -4474,884 +4477,885 @@ return x_855; } else { -lean_object* x_884; lean_object* x_885; uint8_t x_886; -x_884 = lean_ctor_get(x_1, 0); -lean_inc(x_884); +lean_object* x_887; lean_object* x_888; uint8_t x_889; +x_887 = lean_ctor_get(x_1, 0); +lean_inc(x_887); lean_dec(x_1); -x_885 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; -x_886 = lean_name_eq(x_7, x_885); -if (x_886 == 0) +x_888 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__2; +x_889 = lean_name_eq(x_7, x_888); +if (x_889 == 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_890; lean_object* x_891; lean_object* x_892; lean_object* x_893; lean_object* x_894; lean_object* x_895; lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_887 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_887, 0, x_7); -x_888 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; -x_889 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_889, 0, x_888); -lean_ctor_set(x_889, 1, x_887); -x_890 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; -x_891 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_891, 0, x_889); -lean_ctor_set(x_891, 1, x_890); -x_892 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__15(x_884, x_891, x_8, x_9, x_10); -return x_892; +x_890 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_890, 0, x_7); +x_891 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__102; +x_892 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_892, 0, x_891); +lean_ctor_set(x_892, 1, x_890); +x_893 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__104; +x_894 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_894, 0, x_892); +lean_ctor_set(x_894, 1, x_893); +x_895 = l_Lean_throwErrorAt___at_Lean_Elab_Command_elabCommand___spec__15(x_887, x_894, x_8, x_9, x_10); +return x_895; } else { -lean_object* x_893; lean_object* x_894; lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; +lean_object* x_896; lean_object* x_897; uint8_t x_1250; lean_object* x_1251; lean_object* x_1252; lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; lean_dec(x_7); +x_1250 = 0; lean_inc(x_2); -x_1247 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_8, x_9, x_10); -x_1248 = lean_ctor_get(x_1247, 0); -lean_inc(x_1248); -x_1249 = lean_ctor_get(x_1247, 1); -lean_inc(x_1249); -lean_dec(x_1247); -x_1250 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_1249); -x_1251 = lean_ctor_get(x_1250, 0); -lean_inc(x_1251); -x_1252 = lean_ctor_get(x_1250, 1); +x_1251 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_2, x_1250, x_8, x_9, x_10); +x_1252 = lean_ctor_get(x_1251, 0); lean_inc(x_1252); -lean_dec(x_1250); -x_1253 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_1252); -x_1254 = lean_ctor_get(x_1253, 1); -lean_inc(x_1254); -lean_dec(x_1253); -x_1255 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_1254); -x_1256 = lean_ctor_get(x_1255, 1); +x_1253 = lean_ctor_get(x_1251, 1); +lean_inc(x_1253); +lean_dec(x_1251); +x_1254 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_1253); +x_1255 = lean_ctor_get(x_1254, 0); +lean_inc(x_1255); +x_1256 = lean_ctor_get(x_1254, 1); lean_inc(x_1256); -lean_dec(x_1255); -x_1257 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_1258 = lean_array_push(x_1257, x_1248); -x_1259 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_1251); -x_1260 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1260, 0, x_1251); -lean_ctor_set(x_1260, 1, x_1259); -lean_ctor_set(x_1260, 2, x_1258); -x_1261 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; -x_1262 = lean_array_push(x_1261, x_1260); -x_1263 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; -lean_inc(x_1251); +lean_dec(x_1254); +x_1257 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_1256); +x_1258 = lean_ctor_get(x_1257, 1); +lean_inc(x_1258); +lean_dec(x_1257); +x_1259 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_1258); +x_1260 = lean_ctor_get(x_1259, 1); +lean_inc(x_1260); +lean_dec(x_1259); +x_1261 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_1262 = lean_array_push(x_1261, x_1252); +x_1263 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_1255); x_1264 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1264, 0, x_1251); +lean_ctor_set(x_1264, 0, x_1255); lean_ctor_set(x_1264, 1, x_1263); lean_ctor_set(x_1264, 2, x_1262); -x_1265 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_1266 = lean_array_push(x_1265, x_5); -x_1267 = lean_array_push(x_1266, x_1264); -x_1268 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; -x_1269 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1269, 0, x_1251); -lean_ctor_set(x_1269, 1, x_1268); -lean_ctor_set(x_1269, 2, x_1267); +x_1265 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__100; +x_1266 = lean_array_push(x_1265, x_1264); +x_1267 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__63; +lean_inc(x_1255); +x_1268 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1268, 0, x_1255); +lean_ctor_set(x_1268, 1, x_1267); +lean_ctor_set(x_1268, 2, x_1266); +x_1269 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_1270 = lean_array_push(x_1269, x_5); +x_1271 = lean_array_push(x_1270, x_1268); +x_1272 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__59; +x_1273 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1273, 0, x_1255); +lean_ctor_set(x_1273, 1, x_1272); +lean_ctor_set(x_1273, 2, x_1271); if (lean_obj_tag(x_6) == 0) { -lean_object* x_1270; -x_1270 = lean_array_push(x_1257, x_1269); -x_893 = x_1270; -x_894 = x_1256; -goto block_1246; +lean_object* x_1274; +x_1274 = lean_array_push(x_1261, x_1273); +x_896 = x_1274; +x_897 = x_1260; +goto block_1249; } else { -lean_object* x_1271; lean_object* x_1272; lean_object* x_1273; -x_1271 = lean_ctor_get(x_6, 0); -x_1272 = l_Lean_Syntax_TSepArray_getElems___rarg(x_1271); -x_1273 = lean_array_push(x_1272, x_1269); -x_893 = x_1273; -x_894 = x_1256; -goto block_1246; +lean_object* x_1275; lean_object* x_1276; lean_object* x_1277; +x_1275 = lean_ctor_get(x_6, 0); +x_1276 = l_Lean_Syntax_TSepArray_getElems___rarg(x_1275); +x_1277 = lean_array_push(x_1276, x_1273); +x_896 = x_1277; +x_897 = x_1260; +goto block_1249; } -block_1246: +block_1249: { -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; uint8_t x_902; -x_895 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_894); -x_896 = lean_ctor_get(x_895, 0); -lean_inc(x_896); -x_897 = lean_ctor_get(x_895, 1); -lean_inc(x_897); -lean_dec(x_895); -x_898 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_897); -lean_dec(x_8); +lean_object* x_898; lean_object* x_899; lean_object* x_900; lean_object* x_901; lean_object* x_902; lean_object* x_903; lean_object* x_904; uint8_t x_905; +x_898 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_897); x_899 = lean_ctor_get(x_898, 0); lean_inc(x_899); x_900 = lean_ctor_get(x_898, 1); lean_inc(x_900); lean_dec(x_898); -x_901 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_900); -lean_dec(x_9); -x_902 = !lean_is_exclusive(x_901); -if (x_902 == 0) -{ -lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; -x_903 = lean_ctor_get(x_901, 0); -x_904 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_896); -x_905 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_905, 0, x_896); -lean_ctor_set(x_905, 1, x_904); -x_906 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_907 = l_Lean_mkSepArray(x_893, x_906); -lean_dec(x_893); -x_908 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; -x_909 = l_Array_append___rarg(x_908, x_907); -x_910 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_896); -x_911 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_911, 0, x_896); -lean_ctor_set(x_911, 1, x_910); -lean_ctor_set(x_911, 2, x_909); -x_912 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_896); -x_913 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_913, 0, x_896); -lean_ctor_set(x_913, 1, x_912); -x_914 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_915 = lean_array_push(x_914, x_905); -x_916 = lean_array_push(x_915, x_911); -x_917 = lean_array_push(x_916, x_913); -x_918 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -lean_inc(x_896); -x_919 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_919, 0, x_896); -lean_ctor_set(x_919, 1, x_918); -lean_ctor_set(x_919, 2, x_917); -x_920 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_921 = lean_array_push(x_920, x_919); -lean_inc(x_896); -x_922 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_922, 0, x_896); -lean_ctor_set(x_922, 1, x_910); -lean_ctor_set(x_922, 2, x_921); -x_923 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -lean_inc(x_896); -x_924 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_924, 0, x_896); -lean_ctor_set(x_924, 1, x_923); -x_925 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; -lean_inc(x_899); +x_901 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_900); +lean_dec(x_8); +x_902 = lean_ctor_get(x_901, 0); +lean_inc(x_902); +x_903 = lean_ctor_get(x_901, 1); lean_inc(x_903); -x_926 = l_Lean_addMacroScope(x_903, x_925, x_899); -x_927 = lean_box(0); -x_928 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -lean_inc(x_896); -x_929 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_929, 0, x_896); -lean_ctor_set(x_929, 1, x_928); -lean_ctor_set(x_929, 2, x_926); -lean_ctor_set(x_929, 3, x_927); -x_930 = lean_mk_syntax_ident(x_2); -x_931 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_932 = lean_array_push(x_931, x_929); -x_933 = lean_array_push(x_932, x_930); -lean_inc(x_896); -x_934 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_934, 0, x_896); -lean_ctor_set(x_934, 1, x_910); -lean_ctor_set(x_934, 2, x_933); -x_935 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_inc(x_896); -x_936 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_936, 0, x_896); -lean_ctor_set(x_936, 1, x_935); -x_937 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; -lean_inc(x_899); -lean_inc(x_903); -x_938 = l_Lean_addMacroScope(x_903, x_937, x_899); -x_939 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_940 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; -lean_inc(x_896); -x_941 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_941, 0, x_896); -lean_ctor_set(x_941, 1, x_939); -lean_ctor_set(x_941, 2, x_938); -lean_ctor_set(x_941, 3, x_940); -x_942 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_896); -x_943 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_943, 0, x_896); -lean_ctor_set(x_943, 1, x_942); -x_944 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_896); -x_945 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_945, 0, x_896); -lean_ctor_set(x_945, 1, x_944); -x_946 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; -lean_inc(x_899); -lean_inc(x_903); -x_947 = l_Lean_addMacroScope(x_903, x_946, x_899); -x_948 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; -lean_inc(x_896); -x_949 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_949, 0, x_896); -lean_ctor_set(x_949, 1, x_948); -lean_ctor_set(x_949, 2, x_947); -lean_ctor_set(x_949, 3, x_927); -x_950 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108; -lean_inc(x_899); -lean_inc(x_903); -x_951 = l_Lean_addMacroScope(x_903, x_950, x_899); -x_952 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; -lean_inc(x_896); -x_953 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_953, 0, x_896); -lean_ctor_set(x_953, 1, x_952); -lean_ctor_set(x_953, 2, x_951); -lean_ctor_set(x_953, 3, x_927); -lean_inc(x_949); -x_954 = lean_array_push(x_931, x_949); -lean_inc(x_953); -x_955 = lean_array_push(x_954, x_953); -lean_inc(x_896); -x_956 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_956, 0, x_896); -lean_ctor_set(x_956, 1, x_910); -lean_ctor_set(x_956, 2, x_955); -lean_inc(x_896); -x_957 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_957, 0, x_896); -lean_ctor_set(x_957, 1, x_910); -lean_ctor_set(x_957, 2, x_908); -x_958 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_896); -x_959 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_959, 0, x_896); -lean_ctor_set(x_959, 1, x_958); -x_960 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; -lean_inc(x_899); -lean_inc(x_903); -x_961 = l_Lean_addMacroScope(x_903, x_960, x_899); -x_962 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; -x_963 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; -lean_inc(x_896); -x_964 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_964, 0, x_896); -lean_ctor_set(x_964, 1, x_962); -lean_ctor_set(x_964, 2, x_961); -lean_ctor_set(x_964, 3, x_963); -x_965 = lean_array_push(x_920, x_884); -lean_inc(x_896); -x_966 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_966, 0, x_896); -lean_ctor_set(x_966, 1, x_910); -lean_ctor_set(x_966, 2, x_965); -x_967 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; -lean_inc(x_896); -x_968 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_968, 0, x_896); -lean_ctor_set(x_968, 1, x_967); -lean_inc(x_957); -x_969 = lean_array_push(x_931, x_957); -x_970 = lean_array_push(x_969, x_949); -x_971 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_896); -x_972 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_972, 0, x_896); -lean_ctor_set(x_972, 1, x_971); -lean_ctor_set(x_972, 2, x_970); -x_973 = lean_array_push(x_920, x_972); -lean_inc(x_896); -x_974 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_974, 0, x_896); -lean_ctor_set(x_974, 1, x_910); -lean_ctor_set(x_974, 2, x_973); -x_975 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; -lean_inc(x_896); -x_976 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_976, 0, x_896); -lean_ctor_set(x_976, 1, x_975); -x_977 = l_Array_append___rarg(x_908, x_3); -x_978 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; -lean_inc(x_896); -x_979 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_979, 0, x_896); -lean_ctor_set(x_979, 1, x_978); -x_980 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_896); -x_981 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_981, 0, x_896); -lean_ctor_set(x_981, 1, x_980); -x_982 = lean_array_push(x_920, x_981); -x_983 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_896); -x_984 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_984, 0, x_896); -lean_ctor_set(x_984, 1, x_983); -lean_ctor_set(x_984, 2, x_982); -x_985 = lean_array_push(x_920, x_984); -lean_inc(x_896); -x_986 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_986, 0, x_896); -lean_ctor_set(x_986, 1, x_910); -lean_ctor_set(x_986, 2, x_985); -x_987 = lean_array_push(x_920, x_986); -lean_inc(x_896); -x_988 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_988, 0, x_896); -lean_ctor_set(x_988, 1, x_910); -lean_ctor_set(x_988, 2, x_987); -x_989 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -lean_inc(x_896); -x_990 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_990, 0, x_896); -lean_ctor_set(x_990, 1, x_989); -x_991 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -x_992 = l_Lean_addMacroScope(x_903, x_991, x_899); -x_993 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -x_994 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_896); -x_995 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_995, 0, x_896); -lean_ctor_set(x_995, 1, x_993); -lean_ctor_set(x_995, 2, x_992); -lean_ctor_set(x_995, 3, x_994); -x_996 = lean_array_push(x_931, x_990); -x_997 = lean_array_push(x_996, x_995); -x_998 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -lean_inc(x_896); -x_999 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_999, 0, x_896); -lean_ctor_set(x_999, 1, x_998); -lean_ctor_set(x_999, 2, x_997); -x_1000 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; -x_1001 = lean_array_push(x_1000, x_979); -x_1002 = lean_array_push(x_1001, x_988); -lean_inc(x_959); -x_1003 = lean_array_push(x_1002, x_959); -x_1004 = lean_array_push(x_1003, x_999); -x_1005 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; -lean_inc(x_896); -x_1006 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1006, 0, x_896); -lean_ctor_set(x_1006, 1, x_1005); -lean_ctor_set(x_1006, 2, x_1004); -x_1007 = lean_array_push(x_977, x_1006); -lean_inc(x_896); -x_1008 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1008, 0, x_896); -lean_ctor_set(x_1008, 1, x_910); -lean_ctor_set(x_1008, 2, x_1007); -x_1009 = lean_array_push(x_920, x_1008); -x_1010 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -lean_inc(x_896); -x_1011 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1011, 0, x_896); -lean_ctor_set(x_1011, 1, x_1010); -lean_ctor_set(x_1011, 2, x_1009); -x_1012 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; -x_1013 = lean_array_push(x_1012, x_968); -lean_inc(x_957); -x_1014 = lean_array_push(x_1013, x_957); -lean_inc(x_957); -x_1015 = lean_array_push(x_1014, x_957); -x_1016 = lean_array_push(x_1015, x_974); -x_1017 = lean_array_push(x_1016, x_976); -x_1018 = lean_array_push(x_1017, x_1011); -x_1019 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; -lean_inc(x_896); -x_1020 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1020, 0, x_896); -lean_ctor_set(x_1020, 1, x_1019); -lean_ctor_set(x_1020, 2, x_1018); -x_1021 = lean_array_push(x_1000, x_966); -lean_inc(x_957); -x_1022 = lean_array_push(x_1021, x_957); -lean_inc(x_959); -x_1023 = lean_array_push(x_1022, x_959); -x_1024 = lean_array_push(x_1023, x_1020); -x_1025 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; -lean_inc(x_896); -x_1026 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1026, 0, x_896); -lean_ctor_set(x_1026, 1, x_1025); -lean_ctor_set(x_1026, 2, x_1024); -x_1027 = lean_array_push(x_931, x_945); -lean_inc(x_1027); -x_1028 = lean_array_push(x_1027, x_1026); -x_1029 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_896); -x_1030 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1030, 0, x_896); -lean_ctor_set(x_1030, 1, x_1029); -lean_ctor_set(x_1030, 2, x_1028); -x_1031 = lean_array_push(x_931, x_953); -x_1032 = lean_array_push(x_1031, x_1030); -lean_inc(x_896); -x_1033 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1033, 0, x_896); -lean_ctor_set(x_1033, 1, x_910); -lean_ctor_set(x_1033, 2, x_1032); -x_1034 = lean_array_push(x_931, x_964); -x_1035 = lean_array_push(x_1034, x_1033); -x_1036 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; -lean_inc(x_896); -x_1037 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1037, 0, x_896); -lean_ctor_set(x_1037, 1, x_1036); -lean_ctor_set(x_1037, 2, x_1035); -x_1038 = lean_array_push(x_1000, x_956); -x_1039 = lean_array_push(x_1038, x_957); -x_1040 = lean_array_push(x_1039, x_959); -x_1041 = lean_array_push(x_1040, x_1037); -lean_inc(x_896); -x_1042 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1042, 0, x_896); -lean_ctor_set(x_1042, 1, x_1025); -lean_ctor_set(x_1042, 2, x_1041); -x_1043 = lean_array_push(x_1027, x_1042); -lean_inc(x_896); -x_1044 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1044, 0, x_896); -lean_ctor_set(x_1044, 1, x_1029); -lean_ctor_set(x_1044, 2, x_1043); -if (lean_obj_tag(x_4) == 0) -{ -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; -x_1045 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_896); -x_1046 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1046, 0, x_896); -lean_ctor_set(x_1046, 1, x_910); -lean_ctor_set(x_1046, 2, x_1045); -x_1047 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_1048 = lean_array_push(x_1047, x_1046); -x_1049 = lean_array_push(x_1048, x_922); -x_1050 = lean_array_push(x_1049, x_924); -x_1051 = lean_array_push(x_1050, x_934); -x_1052 = lean_array_push(x_1051, x_936); -x_1053 = lean_array_push(x_1052, x_941); -x_1054 = lean_array_push(x_1053, x_943); -x_1055 = lean_array_push(x_1054, x_1044); -x_1056 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1057 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1057, 0, x_896); -lean_ctor_set(x_1057, 1, x_1056); -lean_ctor_set(x_1057, 2, x_1055); -lean_ctor_set(x_901, 0, x_1057); -return x_901; -} -else -{ -lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; -x_1058 = lean_ctor_get(x_4, 0); -lean_inc(x_1058); -lean_dec(x_4); -x_1059 = lean_array_push(x_920, x_1058); -x_1060 = l_Array_append___rarg(x_908, x_1059); -lean_inc(x_896); -x_1061 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1061, 0, x_896); -lean_ctor_set(x_1061, 1, x_910); -lean_ctor_set(x_1061, 2, x_1060); -x_1062 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_1063 = lean_array_push(x_1062, x_1061); -x_1064 = lean_array_push(x_1063, x_922); -x_1065 = lean_array_push(x_1064, x_924); -x_1066 = lean_array_push(x_1065, x_934); -x_1067 = lean_array_push(x_1066, x_936); -x_1068 = lean_array_push(x_1067, x_941); -x_1069 = lean_array_push(x_1068, x_943); -x_1070 = lean_array_push(x_1069, x_1044); -x_1071 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1072 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1072, 0, x_896); -lean_ctor_set(x_1072, 1, x_1071); -lean_ctor_set(x_1072, 2, x_1070); -lean_ctor_set(x_901, 0, x_1072); -return x_901; -} -} -else -{ -lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; -x_1073 = lean_ctor_get(x_901, 0); -x_1074 = lean_ctor_get(x_901, 1); -lean_inc(x_1074); -lean_inc(x_1073); lean_dec(x_901); -x_1075 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_896); -x_1076 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1076, 0, x_896); -lean_ctor_set(x_1076, 1, x_1075); -x_1077 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; -x_1078 = l_Lean_mkSepArray(x_893, x_1077); -lean_dec(x_893); -x_1079 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; -x_1080 = l_Array_append___rarg(x_1079, x_1078); -x_1081 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_896); -x_1082 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1082, 0, x_896); -lean_ctor_set(x_1082, 1, x_1081); -lean_ctor_set(x_1082, 2, x_1080); -x_1083 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_896); -x_1084 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1084, 0, x_896); -lean_ctor_set(x_1084, 1, x_1083); -x_1085 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_1086 = lean_array_push(x_1085, x_1076); -x_1087 = lean_array_push(x_1086, x_1082); -x_1088 = lean_array_push(x_1087, x_1084); -x_1089 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; -lean_inc(x_896); -x_1090 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1090, 0, x_896); -lean_ctor_set(x_1090, 1, x_1089); -lean_ctor_set(x_1090, 2, x_1088); -x_1091 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_1092 = lean_array_push(x_1091, x_1090); -lean_inc(x_896); -x_1093 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1093, 0, x_896); -lean_ctor_set(x_1093, 1, x_1081); -lean_ctor_set(x_1093, 2, x_1092); -x_1094 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; -lean_inc(x_896); -x_1095 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1095, 0, x_896); -lean_ctor_set(x_1095, 1, x_1094); -x_1096 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +x_904 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_903); +lean_dec(x_9); +x_905 = !lean_is_exclusive(x_904); +if (x_905 == 0) +{ +lean_object* x_906; lean_object* x_907; lean_object* x_908; lean_object* x_909; lean_object* x_910; lean_object* x_911; lean_object* x_912; lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; lean_object* x_925; lean_object* x_926; lean_object* x_927; lean_object* x_928; lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; lean_object* x_933; lean_object* x_934; lean_object* x_935; lean_object* x_936; lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_940; lean_object* x_941; lean_object* x_942; lean_object* x_943; lean_object* x_944; lean_object* x_945; lean_object* x_946; lean_object* x_947; lean_object* x_948; lean_object* x_949; lean_object* x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; lean_object* x_954; lean_object* x_955; lean_object* x_956; lean_object* x_957; lean_object* x_958; lean_object* x_959; lean_object* x_960; lean_object* x_961; lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; lean_object* x_973; lean_object* x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; lean_object* x_978; lean_object* x_979; lean_object* x_980; lean_object* x_981; lean_object* x_982; lean_object* x_983; lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; lean_object* x_991; lean_object* x_992; lean_object* x_993; lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; lean_object* x_1007; lean_object* x_1008; lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; lean_object* x_1012; lean_object* x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; lean_object* x_1018; lean_object* x_1019; lean_object* x_1020; lean_object* x_1021; lean_object* x_1022; lean_object* x_1023; lean_object* x_1024; lean_object* x_1025; lean_object* x_1026; lean_object* x_1027; lean_object* x_1028; lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; lean_object* x_1034; lean_object* x_1035; lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; lean_object* x_1039; lean_object* x_1040; lean_object* x_1041; lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; +x_906 = lean_ctor_get(x_904, 0); +x_907 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; lean_inc(x_899); -lean_inc(x_1073); -x_1097 = l_Lean_addMacroScope(x_1073, x_1096, x_899); -x_1098 = lean_box(0); -x_1099 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; -lean_inc(x_896); -x_1100 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1100, 0, x_896); -lean_ctor_set(x_1100, 1, x_1099); -lean_ctor_set(x_1100, 2, x_1097); -lean_ctor_set(x_1100, 3, x_1098); -x_1101 = lean_mk_syntax_ident(x_2); -x_1102 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -x_1103 = lean_array_push(x_1102, x_1100); -x_1104 = lean_array_push(x_1103, x_1101); -lean_inc(x_896); -x_1105 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1105, 0, x_896); -lean_ctor_set(x_1105, 1, x_1081); -lean_ctor_set(x_1105, 2, x_1104); -x_1106 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_inc(x_896); -x_1107 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1107, 0, x_896); -lean_ctor_set(x_1107, 1, x_1106); -x_1108 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +x_908 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_908, 0, x_899); +lean_ctor_set(x_908, 1, x_907); +x_909 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_910 = l_Lean_mkSepArray(x_896, x_909); +lean_dec(x_896); +x_911 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; +x_912 = l_Array_append___rarg(x_911, x_910); +x_913 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; lean_inc(x_899); -lean_inc(x_1073); -x_1109 = l_Lean_addMacroScope(x_1073, x_1108, x_899); -x_1110 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; -x_1111 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; -lean_inc(x_896); -x_1112 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1112, 0, x_896); -lean_ctor_set(x_1112, 1, x_1110); -lean_ctor_set(x_1112, 2, x_1109); -lean_ctor_set(x_1112, 3, x_1111); -x_1113 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_896); -x_1114 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1114, 0, x_896); -lean_ctor_set(x_1114, 1, x_1113); -x_1115 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; -lean_inc(x_896); -x_1116 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1116, 0, x_896); -lean_ctor_set(x_1116, 1, x_1115); -x_1117 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +x_914 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_914, 0, x_899); +lean_ctor_set(x_914, 1, x_913); +lean_ctor_set(x_914, 2, x_912); +x_915 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; lean_inc(x_899); -lean_inc(x_1073); -x_1118 = l_Lean_addMacroScope(x_1073, x_1117, x_899); -x_1119 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; -lean_inc(x_896); -x_1120 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1120, 0, x_896); -lean_ctor_set(x_1120, 1, x_1119); -lean_ctor_set(x_1120, 2, x_1118); -lean_ctor_set(x_1120, 3, x_1098); -x_1121 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108; +x_916 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_916, 0, x_899); +lean_ctor_set(x_916, 1, x_915); +x_917 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_918 = lean_array_push(x_917, x_908); +x_919 = lean_array_push(x_918, x_914); +x_920 = lean_array_push(x_919, x_916); +x_921 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; lean_inc(x_899); -lean_inc(x_1073); -x_1122 = l_Lean_addMacroScope(x_1073, x_1121, x_899); -x_1123 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; -lean_inc(x_896); -x_1124 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1124, 0, x_896); -lean_ctor_set(x_1124, 1, x_1123); -lean_ctor_set(x_1124, 2, x_1122); -lean_ctor_set(x_1124, 3, x_1098); -lean_inc(x_1120); -x_1125 = lean_array_push(x_1102, x_1120); -lean_inc(x_1124); -x_1126 = lean_array_push(x_1125, x_1124); -lean_inc(x_896); -x_1127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1127, 0, x_896); -lean_ctor_set(x_1127, 1, x_1081); -lean_ctor_set(x_1127, 2, x_1126); -lean_inc(x_896); -x_1128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1128, 0, x_896); -lean_ctor_set(x_1128, 1, x_1081); -lean_ctor_set(x_1128, 2, x_1079); -x_1129 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_896); -x_1130 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1130, 0, x_896); -lean_ctor_set(x_1130, 1, x_1129); -x_1131 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +x_922 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_922, 0, x_899); +lean_ctor_set(x_922, 1, x_921); +lean_ctor_set(x_922, 2, x_920); +x_923 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_924 = lean_array_push(x_923, x_922); lean_inc(x_899); -lean_inc(x_1073); -x_1132 = l_Lean_addMacroScope(x_1073, x_1131, x_899); -x_1133 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; -x_1134 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; -lean_inc(x_896); -x_1135 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1135, 0, x_896); -lean_ctor_set(x_1135, 1, x_1133); -lean_ctor_set(x_1135, 2, x_1132); -lean_ctor_set(x_1135, 3, x_1134); -x_1136 = lean_array_push(x_1091, x_884); -lean_inc(x_896); -x_1137 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1137, 0, x_896); -lean_ctor_set(x_1137, 1, x_1081); -lean_ctor_set(x_1137, 2, x_1136); -x_1138 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; -lean_inc(x_896); -x_1139 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1139, 0, x_896); -lean_ctor_set(x_1139, 1, x_1138); -lean_inc(x_1128); -x_1140 = lean_array_push(x_1102, x_1128); -x_1141 = lean_array_push(x_1140, x_1120); -x_1142 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; -lean_inc(x_896); -x_1143 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1143, 0, x_896); -lean_ctor_set(x_1143, 1, x_1142); -lean_ctor_set(x_1143, 2, x_1141); -x_1144 = lean_array_push(x_1091, x_1143); -lean_inc(x_896); -x_1145 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1145, 0, x_896); -lean_ctor_set(x_1145, 1, x_1081); -lean_ctor_set(x_1145, 2, x_1144); -x_1146 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; -lean_inc(x_896); -x_1147 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1147, 0, x_896); -lean_ctor_set(x_1147, 1, x_1146); -x_1148 = l_Array_append___rarg(x_1079, x_3); -x_1149 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; -lean_inc(x_896); -x_1150 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1150, 0, x_896); -lean_ctor_set(x_1150, 1, x_1149); -x_1151 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; -lean_inc(x_896); -x_1152 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1152, 0, x_896); -lean_ctor_set(x_1152, 1, x_1151); -x_1153 = lean_array_push(x_1091, x_1152); -x_1154 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; -lean_inc(x_896); -x_1155 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1155, 0, x_896); -lean_ctor_set(x_1155, 1, x_1154); -lean_ctor_set(x_1155, 2, x_1153); -x_1156 = lean_array_push(x_1091, x_1155); -lean_inc(x_896); -x_1157 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1157, 0, x_896); -lean_ctor_set(x_1157, 1, x_1081); -lean_ctor_set(x_1157, 2, x_1156); -x_1158 = lean_array_push(x_1091, x_1157); -lean_inc(x_896); -x_1159 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1159, 0, x_896); -lean_ctor_set(x_1159, 1, x_1081); -lean_ctor_set(x_1159, 2, x_1158); -x_1160 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; -lean_inc(x_896); -x_1161 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_1161, 0, x_896); -lean_ctor_set(x_1161, 1, x_1160); -x_1162 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; -x_1163 = l_Lean_addMacroScope(x_1073, x_1162, x_899); -x_1164 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; -x_1165 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; -lean_inc(x_896); -x_1166 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_1166, 0, x_896); -lean_ctor_set(x_1166, 1, x_1164); -lean_ctor_set(x_1166, 2, x_1163); -lean_ctor_set(x_1166, 3, x_1165); -x_1167 = lean_array_push(x_1102, x_1161); -x_1168 = lean_array_push(x_1167, x_1166); -x_1169 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; -lean_inc(x_896); -x_1170 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1170, 0, x_896); -lean_ctor_set(x_1170, 1, x_1169); -lean_ctor_set(x_1170, 2, x_1168); -x_1171 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; -x_1172 = lean_array_push(x_1171, x_1150); -x_1173 = lean_array_push(x_1172, x_1159); -lean_inc(x_1130); -x_1174 = lean_array_push(x_1173, x_1130); -x_1175 = lean_array_push(x_1174, x_1170); -x_1176 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; -lean_inc(x_896); -x_1177 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1177, 0, x_896); -lean_ctor_set(x_1177, 1, x_1176); -lean_ctor_set(x_1177, 2, x_1175); -x_1178 = lean_array_push(x_1148, x_1177); -lean_inc(x_896); -x_1179 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1179, 0, x_896); -lean_ctor_set(x_1179, 1, x_1081); -lean_ctor_set(x_1179, 2, x_1178); -x_1180 = lean_array_push(x_1091, x_1179); -x_1181 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; -lean_inc(x_896); -x_1182 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1182, 0, x_896); -lean_ctor_set(x_1182, 1, x_1181); -lean_ctor_set(x_1182, 2, x_1180); -x_1183 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; -x_1184 = lean_array_push(x_1183, x_1139); -lean_inc(x_1128); -x_1185 = lean_array_push(x_1184, x_1128); -lean_inc(x_1128); -x_1186 = lean_array_push(x_1185, x_1128); -x_1187 = lean_array_push(x_1186, x_1145); -x_1188 = lean_array_push(x_1187, x_1147); -x_1189 = lean_array_push(x_1188, x_1182); -x_1190 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; -lean_inc(x_896); -x_1191 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1191, 0, x_896); -lean_ctor_set(x_1191, 1, x_1190); -lean_ctor_set(x_1191, 2, x_1189); -x_1192 = lean_array_push(x_1171, x_1137); -lean_inc(x_1128); -x_1193 = lean_array_push(x_1192, x_1128); -lean_inc(x_1130); -x_1194 = lean_array_push(x_1193, x_1130); -x_1195 = lean_array_push(x_1194, x_1191); -x_1196 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; -lean_inc(x_896); -x_1197 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1197, 0, x_896); -lean_ctor_set(x_1197, 1, x_1196); -lean_ctor_set(x_1197, 2, x_1195); -x_1198 = lean_array_push(x_1102, x_1116); -lean_inc(x_1198); -x_1199 = lean_array_push(x_1198, x_1197); -x_1200 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; -lean_inc(x_896); -x_1201 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1201, 0, x_896); -lean_ctor_set(x_1201, 1, x_1200); -lean_ctor_set(x_1201, 2, x_1199); -x_1202 = lean_array_push(x_1102, x_1124); -x_1203 = lean_array_push(x_1202, x_1201); -lean_inc(x_896); -x_1204 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1204, 0, x_896); -lean_ctor_set(x_1204, 1, x_1081); -lean_ctor_set(x_1204, 2, x_1203); -x_1205 = lean_array_push(x_1102, x_1135); -x_1206 = lean_array_push(x_1205, x_1204); -x_1207 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; -lean_inc(x_896); -x_1208 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1208, 0, x_896); -lean_ctor_set(x_1208, 1, x_1207); -lean_ctor_set(x_1208, 2, x_1206); -x_1209 = lean_array_push(x_1171, x_1127); -x_1210 = lean_array_push(x_1209, x_1128); -x_1211 = lean_array_push(x_1210, x_1130); -x_1212 = lean_array_push(x_1211, x_1208); -lean_inc(x_896); -x_1213 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1213, 0, x_896); -lean_ctor_set(x_1213, 1, x_1196); -lean_ctor_set(x_1213, 2, x_1212); -x_1214 = lean_array_push(x_1198, x_1213); -lean_inc(x_896); -x_1215 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1215, 0, x_896); -lean_ctor_set(x_1215, 1, x_1200); -lean_ctor_set(x_1215, 2, x_1214); +x_925 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_925, 0, x_899); +lean_ctor_set(x_925, 1, x_913); +lean_ctor_set(x_925, 2, x_924); +x_926 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_899); +x_927 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_927, 0, x_899); +lean_ctor_set(x_927, 1, x_926); +x_928 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +lean_inc(x_902); +lean_inc(x_906); +x_929 = l_Lean_addMacroScope(x_906, x_928, x_902); +x_930 = lean_box(0); +x_931 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +lean_inc(x_899); +x_932 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_932, 0, x_899); +lean_ctor_set(x_932, 1, x_931); +lean_ctor_set(x_932, 2, x_929); +lean_ctor_set(x_932, 3, x_930); +x_933 = lean_mk_syntax_ident(x_2); +x_934 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_935 = lean_array_push(x_934, x_932); +x_936 = lean_array_push(x_935, x_933); +lean_inc(x_899); +x_937 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_937, 0, x_899); +lean_ctor_set(x_937, 1, x_913); +lean_ctor_set(x_937, 2, x_936); +x_938 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_inc(x_899); +x_939 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_939, 0, x_899); +lean_ctor_set(x_939, 1, x_938); +x_940 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +lean_inc(x_902); +lean_inc(x_906); +x_941 = l_Lean_addMacroScope(x_906, x_940, x_902); +x_942 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +x_943 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; +lean_inc(x_899); +x_944 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_944, 0, x_899); +lean_ctor_set(x_944, 1, x_942); +lean_ctor_set(x_944, 2, x_941); +lean_ctor_set(x_944, 3, x_943); +x_945 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_899); +x_946 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_946, 0, x_899); +lean_ctor_set(x_946, 1, x_945); +x_947 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_899); +x_948 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_948, 0, x_899); +lean_ctor_set(x_948, 1, x_947); +x_949 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +lean_inc(x_902); +lean_inc(x_906); +x_950 = l_Lean_addMacroScope(x_906, x_949, x_902); +x_951 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; +lean_inc(x_899); +x_952 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_952, 0, x_899); +lean_ctor_set(x_952, 1, x_951); +lean_ctor_set(x_952, 2, x_950); +lean_ctor_set(x_952, 3, x_930); +x_953 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108; +lean_inc(x_902); +lean_inc(x_906); +x_954 = l_Lean_addMacroScope(x_906, x_953, x_902); +x_955 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; +lean_inc(x_899); +x_956 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_956, 0, x_899); +lean_ctor_set(x_956, 1, x_955); +lean_ctor_set(x_956, 2, x_954); +lean_ctor_set(x_956, 3, x_930); +lean_inc(x_952); +x_957 = lean_array_push(x_934, x_952); +lean_inc(x_956); +x_958 = lean_array_push(x_957, x_956); +lean_inc(x_899); +x_959 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_959, 0, x_899); +lean_ctor_set(x_959, 1, x_913); +lean_ctor_set(x_959, 2, x_958); +lean_inc(x_899); +x_960 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_960, 0, x_899); +lean_ctor_set(x_960, 1, x_913); +lean_ctor_set(x_960, 2, x_911); +x_961 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_899); +x_962 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_962, 0, x_899); +lean_ctor_set(x_962, 1, x_961); +x_963 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +lean_inc(x_902); +lean_inc(x_906); +x_964 = l_Lean_addMacroScope(x_906, x_963, x_902); +x_965 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; +x_966 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; +lean_inc(x_899); +x_967 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_967, 0, x_899); +lean_ctor_set(x_967, 1, x_965); +lean_ctor_set(x_967, 2, x_964); +lean_ctor_set(x_967, 3, x_966); +x_968 = lean_array_push(x_923, x_887); +lean_inc(x_899); +x_969 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_969, 0, x_899); +lean_ctor_set(x_969, 1, x_913); +lean_ctor_set(x_969, 2, x_968); +x_970 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +lean_inc(x_899); +x_971 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_971, 0, x_899); +lean_ctor_set(x_971, 1, x_970); +lean_inc(x_960); +x_972 = lean_array_push(x_934, x_960); +x_973 = lean_array_push(x_972, x_952); +x_974 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_899); +x_975 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_975, 0, x_899); +lean_ctor_set(x_975, 1, x_974); +lean_ctor_set(x_975, 2, x_973); +x_976 = lean_array_push(x_923, x_975); +lean_inc(x_899); +x_977 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_977, 0, x_899); +lean_ctor_set(x_977, 1, x_913); +lean_ctor_set(x_977, 2, x_976); +x_978 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_899); +x_979 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_979, 0, x_899); +lean_ctor_set(x_979, 1, x_978); +x_980 = l_Array_append___rarg(x_911, x_3); +x_981 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; +lean_inc(x_899); +x_982 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_982, 0, x_899); +lean_ctor_set(x_982, 1, x_981); +x_983 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_899); +x_984 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_984, 0, x_899); +lean_ctor_set(x_984, 1, x_983); +x_985 = lean_array_push(x_923, x_984); +x_986 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_899); +x_987 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_987, 0, x_899); +lean_ctor_set(x_987, 1, x_986); +lean_ctor_set(x_987, 2, x_985); +x_988 = lean_array_push(x_923, x_987); +lean_inc(x_899); +x_989 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_989, 0, x_899); +lean_ctor_set(x_989, 1, x_913); +lean_ctor_set(x_989, 2, x_988); +x_990 = lean_array_push(x_923, x_989); +lean_inc(x_899); +x_991 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_991, 0, x_899); +lean_ctor_set(x_991, 1, x_913); +lean_ctor_set(x_991, 2, x_990); +x_992 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +lean_inc(x_899); +x_993 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_993, 0, x_899); +lean_ctor_set(x_993, 1, x_992); +x_994 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_995 = l_Lean_addMacroScope(x_906, x_994, x_902); +x_996 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_997 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_899); +x_998 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_998, 0, x_899); +lean_ctor_set(x_998, 1, x_996); +lean_ctor_set(x_998, 2, x_995); +lean_ctor_set(x_998, 3, x_997); +x_999 = lean_array_push(x_934, x_993); +x_1000 = lean_array_push(x_999, x_998); +x_1001 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +lean_inc(x_899); +x_1002 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1002, 0, x_899); +lean_ctor_set(x_1002, 1, x_1001); +lean_ctor_set(x_1002, 2, x_1000); +x_1003 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; +x_1004 = lean_array_push(x_1003, x_982); +x_1005 = lean_array_push(x_1004, x_991); +lean_inc(x_962); +x_1006 = lean_array_push(x_1005, x_962); +x_1007 = lean_array_push(x_1006, x_1002); +x_1008 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; +lean_inc(x_899); +x_1009 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1009, 0, x_899); +lean_ctor_set(x_1009, 1, x_1008); +lean_ctor_set(x_1009, 2, x_1007); +x_1010 = lean_array_push(x_980, x_1009); +lean_inc(x_899); +x_1011 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1011, 0, x_899); +lean_ctor_set(x_1011, 1, x_913); +lean_ctor_set(x_1011, 2, x_1010); +x_1012 = lean_array_push(x_923, x_1011); +x_1013 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_899); +x_1014 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1014, 0, x_899); +lean_ctor_set(x_1014, 1, x_1013); +lean_ctor_set(x_1014, 2, x_1012); +x_1015 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_1016 = lean_array_push(x_1015, x_971); +lean_inc(x_960); +x_1017 = lean_array_push(x_1016, x_960); +lean_inc(x_960); +x_1018 = lean_array_push(x_1017, x_960); +x_1019 = lean_array_push(x_1018, x_977); +x_1020 = lean_array_push(x_1019, x_979); +x_1021 = lean_array_push(x_1020, x_1014); +x_1022 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +lean_inc(x_899); +x_1023 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1023, 0, x_899); +lean_ctor_set(x_1023, 1, x_1022); +lean_ctor_set(x_1023, 2, x_1021); +x_1024 = lean_array_push(x_1003, x_969); +lean_inc(x_960); +x_1025 = lean_array_push(x_1024, x_960); +lean_inc(x_962); +x_1026 = lean_array_push(x_1025, x_962); +x_1027 = lean_array_push(x_1026, x_1023); +x_1028 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_899); +x_1029 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1029, 0, x_899); +lean_ctor_set(x_1029, 1, x_1028); +lean_ctor_set(x_1029, 2, x_1027); +x_1030 = lean_array_push(x_934, x_948); +lean_inc(x_1030); +x_1031 = lean_array_push(x_1030, x_1029); +x_1032 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_899); +x_1033 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1033, 0, x_899); +lean_ctor_set(x_1033, 1, x_1032); +lean_ctor_set(x_1033, 2, x_1031); +x_1034 = lean_array_push(x_934, x_956); +x_1035 = lean_array_push(x_1034, x_1033); +lean_inc(x_899); +x_1036 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1036, 0, x_899); +lean_ctor_set(x_1036, 1, x_913); +lean_ctor_set(x_1036, 2, x_1035); +x_1037 = lean_array_push(x_934, x_967); +x_1038 = lean_array_push(x_1037, x_1036); +x_1039 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_899); +x_1040 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1040, 0, x_899); +lean_ctor_set(x_1040, 1, x_1039); +lean_ctor_set(x_1040, 2, x_1038); +x_1041 = lean_array_push(x_1003, x_959); +x_1042 = lean_array_push(x_1041, x_960); +x_1043 = lean_array_push(x_1042, x_962); +x_1044 = lean_array_push(x_1043, x_1040); +lean_inc(x_899); +x_1045 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1045, 0, x_899); +lean_ctor_set(x_1045, 1, x_1028); +lean_ctor_set(x_1045, 2, x_1044); +x_1046 = lean_array_push(x_1030, x_1045); +lean_inc(x_899); +x_1047 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1047, 0, x_899); +lean_ctor_set(x_1047, 1, x_1032); +lean_ctor_set(x_1047, 2, x_1046); if (lean_obj_tag(x_4) == 0) { -lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; -x_1216 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_896); -x_1217 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1217, 0, x_896); -lean_ctor_set(x_1217, 1, x_1081); -lean_ctor_set(x_1217, 2, x_1216); -x_1218 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_1219 = lean_array_push(x_1218, x_1217); -x_1220 = lean_array_push(x_1219, x_1093); -x_1221 = lean_array_push(x_1220, x_1095); -x_1222 = lean_array_push(x_1221, x_1105); -x_1223 = lean_array_push(x_1222, x_1107); -x_1224 = lean_array_push(x_1223, x_1112); -x_1225 = lean_array_push(x_1224, x_1114); -x_1226 = lean_array_push(x_1225, x_1215); -x_1227 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1228 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1228, 0, x_896); -lean_ctor_set(x_1228, 1, x_1227); -lean_ctor_set(x_1228, 2, x_1226); -x_1229 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1229, 0, x_1228); -lean_ctor_set(x_1229, 1, x_1074); -return x_1229; +lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; lean_object* x_1059; lean_object* x_1060; +x_1048 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_899); +x_1049 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1049, 0, x_899); +lean_ctor_set(x_1049, 1, x_913); +lean_ctor_set(x_1049, 2, x_1048); +x_1050 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_1051 = lean_array_push(x_1050, x_1049); +x_1052 = lean_array_push(x_1051, x_925); +x_1053 = lean_array_push(x_1052, x_927); +x_1054 = lean_array_push(x_1053, x_937); +x_1055 = lean_array_push(x_1054, x_939); +x_1056 = lean_array_push(x_1055, x_944); +x_1057 = lean_array_push(x_1056, x_946); +x_1058 = lean_array_push(x_1057, x_1047); +x_1059 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1060 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1060, 0, x_899); +lean_ctor_set(x_1060, 1, x_1059); +lean_ctor_set(x_1060, 2, x_1058); +lean_ctor_set(x_904, 0, x_1060); +return x_904; } else { -lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; -x_1230 = lean_ctor_get(x_4, 0); -lean_inc(x_1230); +lean_object* x_1061; lean_object* x_1062; lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; lean_object* x_1074; lean_object* x_1075; +x_1061 = lean_ctor_get(x_4, 0); +lean_inc(x_1061); lean_dec(x_4); -x_1231 = lean_array_push(x_1091, x_1230); -x_1232 = l_Array_append___rarg(x_1079, x_1231); -lean_inc(x_896); -x_1233 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1233, 0, x_896); -lean_ctor_set(x_1233, 1, x_1081); -lean_ctor_set(x_1233, 2, x_1232); -x_1234 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_1235 = lean_array_push(x_1234, x_1233); -x_1236 = lean_array_push(x_1235, x_1093); -x_1237 = lean_array_push(x_1236, x_1095); -x_1238 = lean_array_push(x_1237, x_1105); -x_1239 = lean_array_push(x_1238, x_1107); -x_1240 = lean_array_push(x_1239, x_1112); -x_1241 = lean_array_push(x_1240, x_1114); -x_1242 = lean_array_push(x_1241, x_1215); -x_1243 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; -x_1244 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_1244, 0, x_896); -lean_ctor_set(x_1244, 1, x_1243); -lean_ctor_set(x_1244, 2, x_1242); -x_1245 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_1245, 0, x_1244); -lean_ctor_set(x_1245, 1, x_1074); -return x_1245; +x_1062 = lean_array_push(x_923, x_1061); +x_1063 = l_Array_append___rarg(x_911, x_1062); +lean_inc(x_899); +x_1064 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1064, 0, x_899); +lean_ctor_set(x_1064, 1, x_913); +lean_ctor_set(x_1064, 2, x_1063); +x_1065 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_1066 = lean_array_push(x_1065, x_1064); +x_1067 = lean_array_push(x_1066, x_925); +x_1068 = lean_array_push(x_1067, x_927); +x_1069 = lean_array_push(x_1068, x_937); +x_1070 = lean_array_push(x_1069, x_939); +x_1071 = lean_array_push(x_1070, x_944); +x_1072 = lean_array_push(x_1071, x_946); +x_1073 = lean_array_push(x_1072, x_1047); +x_1074 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1075 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1075, 0, x_899); +lean_ctor_set(x_1075, 1, x_1074); +lean_ctor_set(x_1075, 2, x_1073); +lean_ctor_set(x_904, 0, x_1075); +return x_904; +} +} +else +{ +lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; lean_object* x_1081; lean_object* x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; lean_object* x_1096; lean_object* x_1097; lean_object* x_1098; lean_object* x_1099; lean_object* x_1100; lean_object* x_1101; lean_object* x_1102; lean_object* x_1103; lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1111; lean_object* x_1112; lean_object* x_1113; lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; lean_object* x_1127; lean_object* x_1128; lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; lean_object* x_1136; lean_object* x_1137; lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; lean_object* x_1141; lean_object* x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; lean_object* x_1158; lean_object* x_1159; lean_object* x_1160; lean_object* x_1161; lean_object* x_1162; lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; lean_object* x_1185; lean_object* x_1186; lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; lean_object* x_1201; lean_object* x_1202; lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; +x_1076 = lean_ctor_get(x_904, 0); +x_1077 = lean_ctor_get(x_904, 1); +lean_inc(x_1077); +lean_inc(x_1076); +lean_dec(x_904); +x_1078 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_899); +x_1079 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1079, 0, x_899); +lean_ctor_set(x_1079, 1, x_1078); +x_1080 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__19; +x_1081 = l_Lean_mkSepArray(x_896, x_1080); +lean_dec(x_896); +x_1082 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; +x_1083 = l_Array_append___rarg(x_1082, x_1081); +x_1084 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_899); +x_1085 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1085, 0, x_899); +lean_ctor_set(x_1085, 1, x_1084); +lean_ctor_set(x_1085, 2, x_1083); +x_1086 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_899); +x_1087 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1087, 0, x_899); +lean_ctor_set(x_1087, 1, x_1086); +x_1088 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_1089 = lean_array_push(x_1088, x_1079); +x_1090 = lean_array_push(x_1089, x_1085); +x_1091 = lean_array_push(x_1090, x_1087); +x_1092 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__16; +lean_inc(x_899); +x_1093 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1093, 0, x_899); +lean_ctor_set(x_1093, 1, x_1092); +lean_ctor_set(x_1093, 2, x_1091); +x_1094 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_1095 = lean_array_push(x_1094, x_1093); +lean_inc(x_899); +x_1096 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1096, 0, x_899); +lean_ctor_set(x_1096, 1, x_1084); +lean_ctor_set(x_1096, 2, x_1095); +x_1097 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__13; +lean_inc(x_899); +x_1098 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1098, 0, x_899); +lean_ctor_set(x_1098, 1, x_1097); +x_1099 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__25; +lean_inc(x_902); +lean_inc(x_1076); +x_1100 = l_Lean_addMacroScope(x_1076, x_1099, x_902); +x_1101 = lean_box(0); +x_1102 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__24; +lean_inc(x_899); +x_1103 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1103, 0, x_899); +lean_ctor_set(x_1103, 1, x_1102); +lean_ctor_set(x_1103, 2, x_1100); +lean_ctor_set(x_1103, 3, x_1101); +x_1104 = lean_mk_syntax_ident(x_2); +x_1105 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +x_1106 = lean_array_push(x_1105, x_1103); +x_1107 = lean_array_push(x_1106, x_1104); +lean_inc(x_899); +x_1108 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1108, 0, x_899); +lean_ctor_set(x_1108, 1, x_1084); +lean_ctor_set(x_1108, 2, x_1107); +x_1109 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_inc(x_899); +x_1110 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1110, 0, x_899); +lean_ctor_set(x_1110, 1, x_1109); +x_1111 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__84; +lean_inc(x_902); +lean_inc(x_1076); +x_1112 = l_Lean_addMacroScope(x_1076, x_1111, x_902); +x_1113 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__81; +x_1114 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__86; +lean_inc(x_899); +x_1115 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1115, 0, x_899); +lean_ctor_set(x_1115, 1, x_1113); +lean_ctor_set(x_1115, 2, x_1112); +lean_ctor_set(x_1115, 3, x_1114); +x_1116 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_899); +x_1117 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1117, 0, x_899); +lean_ctor_set(x_1117, 1, x_1116); +x_1118 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__37; +lean_inc(x_899); +x_1119 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1119, 0, x_899); +lean_ctor_set(x_1119, 1, x_1118); +x_1120 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__92; +lean_inc(x_902); +lean_inc(x_1076); +x_1121 = l_Lean_addMacroScope(x_1076, x_1120, x_902); +x_1122 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__91; +lean_inc(x_899); +x_1123 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1123, 0, x_899); +lean_ctor_set(x_1123, 1, x_1122); +lean_ctor_set(x_1123, 2, x_1121); +lean_ctor_set(x_1123, 3, x_1101); +x_1124 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__108; +lean_inc(x_902); +lean_inc(x_1076); +x_1125 = l_Lean_addMacroScope(x_1076, x_1124, x_902); +x_1126 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__107; +lean_inc(x_899); +x_1127 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1127, 0, x_899); +lean_ctor_set(x_1127, 1, x_1126); +lean_ctor_set(x_1127, 2, x_1125); +lean_ctor_set(x_1127, 3, x_1101); +lean_inc(x_1123); +x_1128 = lean_array_push(x_1105, x_1123); +lean_inc(x_1127); +x_1129 = lean_array_push(x_1128, x_1127); +lean_inc(x_899); +x_1130 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1130, 0, x_899); +lean_ctor_set(x_1130, 1, x_1084); +lean_ctor_set(x_1130, 2, x_1129); +lean_inc(x_899); +x_1131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1131, 0, x_899); +lean_ctor_set(x_1131, 1, x_1084); +lean_ctor_set(x_1131, 2, x_1082); +x_1132 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_899); +x_1133 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1133, 0, x_899); +lean_ctor_set(x_1133, 1, x_1132); +x_1134 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__115; +lean_inc(x_902); +lean_inc(x_1076); +x_1135 = l_Lean_addMacroScope(x_1076, x_1134, x_902); +x_1136 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__113; +x_1137 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__119; +lean_inc(x_899); +x_1138 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1138, 0, x_899); +lean_ctor_set(x_1138, 1, x_1136); +lean_ctor_set(x_1138, 2, x_1135); +lean_ctor_set(x_1138, 3, x_1137); +x_1139 = lean_array_push(x_1094, x_887); +lean_inc(x_899); +x_1140 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1140, 0, x_899); +lean_ctor_set(x_1140, 1, x_1084); +lean_ctor_set(x_1140, 2, x_1139); +x_1141 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__93; +lean_inc(x_899); +x_1142 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1142, 0, x_899); +lean_ctor_set(x_1142, 1, x_1141); +lean_inc(x_1131); +x_1143 = lean_array_push(x_1105, x_1131); +x_1144 = lean_array_push(x_1143, x_1123); +x_1145 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__96; +lean_inc(x_899); +x_1146 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1146, 0, x_899); +lean_ctor_set(x_1146, 1, x_1145); +lean_ctor_set(x_1146, 2, x_1144); +x_1147 = lean_array_push(x_1094, x_1146); +lean_inc(x_899); +x_1148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1148, 0, x_899); +lean_ctor_set(x_1148, 1, x_1084); +lean_ctor_set(x_1148, 2, x_1147); +x_1149 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__97; +lean_inc(x_899); +x_1150 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1150, 0, x_899); +lean_ctor_set(x_1150, 1, x_1149); +x_1151 = l_Array_append___rarg(x_1082, x_3); +x_1152 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; +lean_inc(x_899); +x_1153 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1153, 0, x_899); +lean_ctor_set(x_1153, 1, x_1152); +x_1154 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__43; +lean_inc(x_899); +x_1155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1155, 0, x_899); +lean_ctor_set(x_1155, 1, x_1154); +x_1156 = lean_array_push(x_1094, x_1155); +x_1157 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__42; +lean_inc(x_899); +x_1158 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1158, 0, x_899); +lean_ctor_set(x_1158, 1, x_1157); +lean_ctor_set(x_1158, 2, x_1156); +x_1159 = lean_array_push(x_1094, x_1158); +lean_inc(x_899); +x_1160 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1160, 0, x_899); +lean_ctor_set(x_1160, 1, x_1084); +lean_ctor_set(x_1160, 2, x_1159); +x_1161 = lean_array_push(x_1094, x_1160); +lean_inc(x_899); +x_1162 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1162, 0, x_899); +lean_ctor_set(x_1162, 1, x_1084); +lean_ctor_set(x_1162, 2, x_1161); +x_1163 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__46; +lean_inc(x_899); +x_1164 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_1164, 0, x_899); +lean_ctor_set(x_1164, 1, x_1163); +x_1165 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__50; +x_1166 = l_Lean_addMacroScope(x_1076, x_1165, x_902); +x_1167 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__49; +x_1168 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__55; +lean_inc(x_899); +x_1169 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_1169, 0, x_899); +lean_ctor_set(x_1169, 1, x_1167); +lean_ctor_set(x_1169, 2, x_1166); +lean_ctor_set(x_1169, 3, x_1168); +x_1170 = lean_array_push(x_1105, x_1164); +x_1171 = lean_array_push(x_1170, x_1169); +x_1172 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__45; +lean_inc(x_899); +x_1173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1173, 0, x_899); +lean_ctor_set(x_1173, 1, x_1172); +lean_ctor_set(x_1173, 2, x_1171); +x_1174 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; +x_1175 = lean_array_push(x_1174, x_1153); +x_1176 = lean_array_push(x_1175, x_1162); +lean_inc(x_1133); +x_1177 = lean_array_push(x_1176, x_1133); +x_1178 = lean_array_push(x_1177, x_1173); +x_1179 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__8; +lean_inc(x_899); +x_1180 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1180, 0, x_899); +lean_ctor_set(x_1180, 1, x_1179); +lean_ctor_set(x_1180, 2, x_1178); +x_1181 = lean_array_push(x_1151, x_1180); +lean_inc(x_899); +x_1182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1182, 0, x_899); +lean_ctor_set(x_1182, 1, x_1084); +lean_ctor_set(x_1182, 2, x_1181); +x_1183 = lean_array_push(x_1094, x_1182); +x_1184 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__40; +lean_inc(x_899); +x_1185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1185, 0, x_899); +lean_ctor_set(x_1185, 1, x_1184); +lean_ctor_set(x_1185, 2, x_1183); +x_1186 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__98; +x_1187 = lean_array_push(x_1186, x_1142); +lean_inc(x_1131); +x_1188 = lean_array_push(x_1187, x_1131); +lean_inc(x_1131); +x_1189 = lean_array_push(x_1188, x_1131); +x_1190 = lean_array_push(x_1189, x_1148); +x_1191 = lean_array_push(x_1190, x_1150); +x_1192 = lean_array_push(x_1191, x_1185); +x_1193 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__94; +lean_inc(x_899); +x_1194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1194, 0, x_899); +lean_ctor_set(x_1194, 1, x_1193); +lean_ctor_set(x_1194, 2, x_1192); +x_1195 = lean_array_push(x_1174, x_1140); +lean_inc(x_1131); +x_1196 = lean_array_push(x_1195, x_1131); +lean_inc(x_1133); +x_1197 = lean_array_push(x_1196, x_1133); +x_1198 = lean_array_push(x_1197, x_1194); +x_1199 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__88; +lean_inc(x_899); +x_1200 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1200, 0, x_899); +lean_ctor_set(x_1200, 1, x_1199); +lean_ctor_set(x_1200, 2, x_1198); +x_1201 = lean_array_push(x_1105, x_1119); +lean_inc(x_1201); +x_1202 = lean_array_push(x_1201, x_1200); +x_1203 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__38; +lean_inc(x_899); +x_1204 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1204, 0, x_899); +lean_ctor_set(x_1204, 1, x_1203); +lean_ctor_set(x_1204, 2, x_1202); +x_1205 = lean_array_push(x_1105, x_1127); +x_1206 = lean_array_push(x_1205, x_1204); +lean_inc(x_899); +x_1207 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1207, 0, x_899); +lean_ctor_set(x_1207, 1, x_1084); +lean_ctor_set(x_1207, 2, x_1206); +x_1208 = lean_array_push(x_1105, x_1138); +x_1209 = lean_array_push(x_1208, x_1207); +x_1210 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__110; +lean_inc(x_899); +x_1211 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1211, 0, x_899); +lean_ctor_set(x_1211, 1, x_1210); +lean_ctor_set(x_1211, 2, x_1209); +x_1212 = lean_array_push(x_1174, x_1130); +x_1213 = lean_array_push(x_1212, x_1131); +x_1214 = lean_array_push(x_1213, x_1133); +x_1215 = lean_array_push(x_1214, x_1211); +lean_inc(x_899); +x_1216 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1216, 0, x_899); +lean_ctor_set(x_1216, 1, x_1199); +lean_ctor_set(x_1216, 2, x_1215); +x_1217 = lean_array_push(x_1201, x_1216); +lean_inc(x_899); +x_1218 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1218, 0, x_899); +lean_ctor_set(x_1218, 1, x_1203); +lean_ctor_set(x_1218, 2, x_1217); +if (lean_obj_tag(x_4) == 0) +{ +lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; lean_object* x_1231; lean_object* x_1232; +x_1219 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_899); +x_1220 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1220, 0, x_899); +lean_ctor_set(x_1220, 1, x_1084); +lean_ctor_set(x_1220, 2, x_1219); +x_1221 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_1222 = lean_array_push(x_1221, x_1220); +x_1223 = lean_array_push(x_1222, x_1096); +x_1224 = lean_array_push(x_1223, x_1098); +x_1225 = lean_array_push(x_1224, x_1108); +x_1226 = lean_array_push(x_1225, x_1110); +x_1227 = lean_array_push(x_1226, x_1115); +x_1228 = lean_array_push(x_1227, x_1117); +x_1229 = lean_array_push(x_1228, x_1218); +x_1230 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1231 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1231, 0, x_899); +lean_ctor_set(x_1231, 1, x_1230); +lean_ctor_set(x_1231, 2, x_1229); +x_1232 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1232, 0, x_1231); +lean_ctor_set(x_1232, 1, x_1077); +return x_1232; +} +else +{ +lean_object* x_1233; lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; lean_object* x_1238; lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; lean_object* x_1243; lean_object* x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; lean_object* x_1248; +x_1233 = lean_ctor_get(x_4, 0); +lean_inc(x_1233); +lean_dec(x_4); +x_1234 = lean_array_push(x_1094, x_1233); +x_1235 = l_Array_append___rarg(x_1082, x_1234); +lean_inc(x_899); +x_1236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1236, 0, x_899); +lean_ctor_set(x_1236, 1, x_1084); +lean_ctor_set(x_1236, 2, x_1235); +x_1237 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_1238 = lean_array_push(x_1237, x_1236); +x_1239 = lean_array_push(x_1238, x_1096); +x_1240 = lean_array_push(x_1239, x_1098); +x_1241 = lean_array_push(x_1240, x_1108); +x_1242 = lean_array_push(x_1241, x_1110); +x_1243 = lean_array_push(x_1242, x_1115); +x_1244 = lean_array_push(x_1243, x_1117); +x_1245 = lean_array_push(x_1244, x_1218); +x_1246 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__14; +x_1247 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_1247, 0, x_899); +lean_ctor_set(x_1247, 1, x_1246); +lean_ctor_set(x_1247, 2, x_1245); +x_1248 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_1248, 0, x_1247); +lean_ctor_set(x_1248, 1, x_1077); +return x_1248; } } } @@ -5553,14 +5557,16 @@ x_10 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5( return x_10; } } -LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -lean_object* x_5; -x_5 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_1, x_2, x_3, x_4); -lean_dec(x_3); +uint8_t x_6; lean_object* x_7; +x_6 = lean_unbox(x_2); lean_dec(x_2); -return x_5; +x_7 = l_Lean_mkIdentFromRef___at_Lean_Elab_Command_elabElabRulesAux___spec__6(x_1, x_6, x_3, x_4, x_5); +lean_dec(x_4); +lean_dec(x_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElabRulesAux___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -6943,440 +6949,442 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabElab___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, size_t x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17, lean_object* x_18, lean_object* x_19, lean_object* x_20, lean_object* x_21) { _start: { -lean_object* x_22; lean_object* x_23; lean_object* x_24; +uint8_t x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = 1; lean_inc(x_18); lean_inc(x_1); -x_22 = l_Lean_mkIdentFrom(x_1, x_18); -x_23 = l_Lean_Elab_Command_getScope___rarg(x_20, x_21); +x_23 = l_Lean_mkIdentFrom(x_1, x_18, x_22); +x_24 = l_Lean_Elab_Command_getScope___rarg(x_20, x_21); if (lean_obj_tag(x_17) == 0) { -x_24 = x_22; -goto block_200; +x_25 = x_23; +goto block_202; } else { -lean_object* x_201; -lean_dec(x_22); -x_201 = lean_ctor_get(x_17, 0); -lean_inc(x_201); -lean_dec(x_17); -x_24 = x_201; -goto block_200; -} -block_200: -{ -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; size_t x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; -x_25 = lean_ctor_get(x_23, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_23, 1); -lean_inc(x_26); +lean_object* x_203; lean_dec(x_23); -x_27 = lean_ctor_get(x_25, 2); +x_203 = lean_ctor_get(x_17, 0); +lean_inc(x_203); +lean_dec(x_17); +x_25 = x_203; +goto block_202; +} +block_202: +{ +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; uint8_t x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; 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; size_t x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_26 = lean_ctor_get(x_24, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_24, 1); lean_inc(x_27); -lean_dec(x_25); -x_28 = l_Lean_Name_append(x_27, x_18); -lean_dec(x_27); -x_29 = lean_box(2); -x_30 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_28); -lean_ctor_set(x_30, 2, x_2); -x_31 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_19, x_20, x_26); -x_32 = lean_ctor_get(x_31, 0); -lean_inc(x_32); -x_33 = lean_ctor_get(x_31, 1); +lean_dec(x_24); +x_28 = lean_ctor_get(x_26, 2); +lean_inc(x_28); +lean_dec(x_26); +x_29 = l_Lean_Name_append(x_28, x_18); +lean_dec(x_28); +x_30 = lean_box(2); +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_29); +lean_ctor_set(x_31, 2, x_2); +x_32 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_19, x_20, x_27); +x_33 = lean_ctor_get(x_32, 0); lean_inc(x_33); -lean_dec(x_31); -x_34 = l_Lean_Elab_Command_getCurrMacroScope(x_19, x_20, x_33); -x_35 = lean_ctor_get(x_34, 1); -lean_inc(x_35); -lean_dec(x_34); -x_36 = l_Lean_Elab_Command_getMainModule___rarg(x_20, x_35); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = l_Lean_Elab_Command_elabElab___lambda__1___closed__1; +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_35 = l_Lean_Elab_Command_getCurrMacroScope(x_19, x_20, x_34); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_Lean_Elab_Command_getMainModule___rarg(x_20, x_36); +x_38 = lean_ctor_get(x_37, 1); +lean_inc(x_38); +lean_dec(x_37); +x_39 = l_Lean_Elab_Command_elabElab___lambda__1___closed__1; lean_inc(x_3); -x_39 = l_Lean_Name_str___override(x_3, x_38); -x_40 = l_Lean_SourceInfo_fromRef(x_1); -x_41 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_41, 0, x_40); -lean_ctor_set(x_41, 1, x_38); -x_42 = l_Lean_Elab_Command_elabElab___lambda__1___closed__2; +x_40 = l_Lean_Name_str___override(x_3, x_39); +x_41 = 0; +x_42 = l_Lean_SourceInfo_fromRef(x_1, x_41); +x_43 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_43, 0, x_42); +lean_ctor_set(x_43, 1, x_39); +x_44 = l_Lean_Elab_Command_elabElab___lambda__1___closed__2; lean_inc(x_3); -x_43 = l_Lean_Name_str___override(x_3, x_42); -x_44 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; -lean_inc(x_32); -x_45 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_45, 0, x_32); -lean_ctor_set(x_45, 1, x_44); -x_46 = l_Lean_Elab_Command_elabElab___lambda__1___closed__3; -lean_inc(x_32); +x_45 = l_Lean_Name_str___override(x_3, x_44); +x_46 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__3; +lean_inc(x_33); x_47 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_47, 0, x_32); +lean_ctor_set(x_47, 0, x_33); lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; -lean_inc(x_32); +x_48 = l_Lean_Elab_Command_elabElab___lambda__1___closed__3; +lean_inc(x_33); x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_32); +lean_ctor_set(x_49, 0, x_33); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5; -lean_inc(x_32); +x_50 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__36; +lean_inc(x_33); x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_32); +lean_ctor_set(x_51, 0, x_33); lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; -x_53 = lean_array_push(x_52, x_45); -lean_inc(x_53); -x_54 = lean_array_push(x_53, x_47); -lean_inc(x_49); -x_55 = lean_array_push(x_54, x_49); -x_56 = lean_array_push(x_55, x_24); +x_52 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__5; +lean_inc(x_33); +x_53 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_53, 0, x_33); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__6; +x_55 = lean_array_push(x_54, x_47); +lean_inc(x_55); +x_56 = lean_array_push(x_55, x_49); lean_inc(x_51); x_57 = lean_array_push(x_56, x_51); -lean_inc(x_32); -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_32); -lean_ctor_set(x_58, 1, x_43); -lean_ctor_set(x_58, 2, x_57); -x_59 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; -x_60 = lean_array_push(x_59, x_58); -x_61 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_32); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_32); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_60); -x_63 = l_Lean_Elab_Command_elabElab___lambda__1___closed__4; +x_58 = lean_array_push(x_57, x_25); +lean_inc(x_53); +x_59 = lean_array_push(x_58, x_53); +lean_inc(x_33); +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_33); +lean_ctor_set(x_60, 1, x_45); +lean_ctor_set(x_60, 2, x_59); +x_61 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__5; +x_62 = lean_array_push(x_61, x_60); +x_63 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_33); +x_64 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_64, 0, x_33); +lean_ctor_set(x_64, 1, x_63); +lean_ctor_set(x_64, 2, x_62); +x_65 = l_Lean_Elab_Command_elabElab___lambda__1___closed__4; lean_inc(x_3); -x_64 = l_Lean_Name_str___override(x_3, x_63); -x_65 = l_Lean_Elab_Command_elabElab___lambda__1___closed__5; -lean_inc(x_32); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_32); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Nat_repr(x_4); -x_68 = l_Lean_Syntax_mkNumLit(x_67, x_29); -x_69 = lean_array_push(x_53, x_66); -x_70 = lean_array_push(x_69, x_49); -x_71 = lean_array_push(x_70, x_68); -lean_inc(x_51); +x_66 = l_Lean_Name_str___override(x_3, x_65); +x_67 = l_Lean_Elab_Command_elabElab___lambda__1___closed__5; +lean_inc(x_33); +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_33); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Nat_repr(x_4); +x_70 = l_Lean_Syntax_mkNumLit(x_69, x_30); +x_71 = lean_array_push(x_55, x_68); x_72 = lean_array_push(x_71, x_51); -lean_inc(x_32); -x_73 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_73, 0, x_32); -lean_ctor_set(x_73, 1, x_64); -lean_ctor_set(x_73, 2, x_72); -x_74 = lean_array_push(x_59, x_73); -lean_inc(x_32); +x_73 = lean_array_push(x_72, x_70); +lean_inc(x_53); +x_74 = lean_array_push(x_73, x_53); +lean_inc(x_33); x_75 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_75, 0, x_32); -lean_ctor_set(x_75, 1, x_61); +lean_ctor_set(x_75, 0, x_33); +lean_ctor_set(x_75, 1, x_66); lean_ctor_set(x_75, 2, x_74); -x_76 = lean_array_get_size(x_5); -x_77 = lean_usize_of_nat(x_76); -lean_dec(x_76); -x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElab___spec__2(x_77, x_6, x_5); -x_79 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; -x_80 = l_Array_append___rarg(x_79, x_78); -lean_inc(x_32); -x_81 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_81, 0, x_32); -lean_ctor_set(x_81, 1, x_61); -lean_ctor_set(x_81, 2, x_80); -x_82 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; -lean_inc(x_32); -x_83 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_83, 0, x_32); -lean_ctor_set(x_83, 1, x_82); -x_84 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; -x_85 = l_Lean_Name_str___override(x_3, x_84); -lean_inc(x_32); -x_86 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_86, 0, x_32); -lean_ctor_set(x_86, 1, x_61); -lean_ctor_set(x_86, 2, x_79); -lean_inc(x_86); -x_87 = lean_array_push(x_59, x_86); -lean_inc(x_32); +x_76 = lean_array_push(x_61, x_75); +lean_inc(x_33); +x_77 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_77, 0, x_33); +lean_ctor_set(x_77, 1, x_63); +lean_ctor_set(x_77, 2, x_76); +x_78 = lean_array_get_size(x_5); +x_79 = lean_usize_of_nat(x_78); +lean_dec(x_78); +x_80 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElab___spec__2(x_79, x_6, x_5); +x_81 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__4; +x_82 = l_Array_append___rarg(x_81, x_80); +lean_inc(x_33); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_33); +lean_ctor_set(x_83, 1, x_63); +lean_ctor_set(x_83, 2, x_82); +x_84 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__27; +lean_inc(x_33); +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_33); +lean_ctor_set(x_85, 1, x_84); +x_86 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__1; +x_87 = l_Lean_Name_str___override(x_3, x_86); +lean_inc(x_33); x_88 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_88, 0, x_32); -lean_ctor_set(x_88, 1, x_7); -lean_ctor_set(x_88, 2, x_87); -lean_inc(x_32); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_32); -lean_ctor_set(x_89, 1, x_84); -x_90 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; -lean_inc(x_83); -x_91 = lean_array_push(x_90, x_83); +lean_ctor_set(x_88, 0, x_33); +lean_ctor_set(x_88, 1, x_63); +lean_ctor_set(x_88, 2, x_81); +lean_inc(x_88); +x_89 = lean_array_push(x_61, x_88); +lean_inc(x_33); +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_33); +lean_ctor_set(x_90, 1, x_7); +lean_ctor_set(x_90, 2, x_89); +lean_inc(x_33); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_33); +lean_ctor_set(x_91, 1, x_86); +x_92 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__26; +lean_inc(x_85); +x_93 = lean_array_push(x_92, x_85); lean_inc(x_8); -lean_inc(x_91); -x_92 = lean_array_push(x_91, x_8); -lean_inc(x_32); -x_93 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_93, 0, x_32); -lean_ctor_set(x_93, 1, x_61); -lean_ctor_set(x_93, 2, x_92); -x_94 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; -lean_inc(x_9); -x_95 = l_Lean_Name_str___override(x_9, x_94); -x_96 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__7; +lean_inc(x_93); +x_94 = lean_array_push(x_93, x_8); +lean_inc(x_33); +x_95 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_95, 0, x_33); +lean_ctor_set(x_95, 1, x_63); +lean_ctor_set(x_95, 2, x_94); +x_96 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__39; lean_inc(x_9); x_97 = l_Lean_Name_str___override(x_9, x_96); -x_98 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; -lean_inc(x_32); -x_99 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_99, 0, x_32); -lean_ctor_set(x_99, 1, x_98); -x_100 = l_Lean_Elab_Command_elabElab___lambda__1___closed__7; +x_98 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___closed__7; lean_inc(x_9); -x_101 = l_Lean_Name_str___override(x_9, x_100); -x_102 = l_Lean_Elab_Command_elabElab___lambda__1___closed__8; -lean_inc(x_32); -x_103 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_103, 0, x_32); -lean_ctor_set(x_103, 1, x_102); -x_104 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; -x_105 = lean_array_push(x_104, x_103); -x_106 = lean_array_push(x_105, x_30); -x_107 = lean_array_push(x_106, x_51); -lean_inc(x_32); -x_108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_108, 0, x_32); -lean_ctor_set(x_108, 1, x_101); -lean_ctor_set(x_108, 2, x_107); -x_109 = lean_array_push(x_59, x_108); -lean_inc(x_32); +x_99 = l_Lean_Name_str___override(x_9, x_98); +x_100 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__1; +lean_inc(x_33); +x_101 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_101, 0, x_33); +lean_ctor_set(x_101, 1, x_100); +x_102 = l_Lean_Elab_Command_elabElab___lambda__1___closed__7; +lean_inc(x_9); +x_103 = l_Lean_Name_str___override(x_9, x_102); +x_104 = l_Lean_Elab_Command_elabElab___lambda__1___closed__8; +lean_inc(x_33); +x_105 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_105, 0, x_33); +lean_ctor_set(x_105, 1, x_104); +x_106 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__21; +x_107 = lean_array_push(x_106, x_105); +x_108 = lean_array_push(x_107, x_31); +x_109 = lean_array_push(x_108, x_53); +lean_inc(x_33); x_110 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_110, 0, x_32); -lean_ctor_set(x_110, 1, x_61); +lean_ctor_set(x_110, 0, x_33); +lean_ctor_set(x_110, 1, x_103); lean_ctor_set(x_110, 2, x_109); -x_111 = lean_array_push(x_59, x_110); -lean_inc(x_32); +x_111 = lean_array_push(x_61, x_110); +lean_inc(x_33); x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_32); -lean_ctor_set(x_112, 1, x_61); +lean_ctor_set(x_112, 0, x_33); +lean_ctor_set(x_112, 1, x_63); lean_ctor_set(x_112, 2, x_111); -x_113 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_32); -x_114 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_114, 0, x_32); -lean_ctor_set(x_114, 1, x_113); -x_115 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; -x_116 = lean_array_push(x_115, x_99); -x_117 = lean_array_push(x_116, x_112); -x_118 = lean_array_push(x_117, x_114); -x_119 = lean_array_push(x_118, x_10); -lean_inc(x_32); -x_120 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_120, 0, x_32); -lean_ctor_set(x_120, 1, x_97); -lean_ctor_set(x_120, 2, x_119); -x_121 = lean_array_push(x_59, x_120); -lean_inc(x_32); +x_113 = lean_array_push(x_61, x_112); +lean_inc(x_33); +x_114 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_114, 0, x_33); +lean_ctor_set(x_114, 1, x_63); +lean_ctor_set(x_114, 2, x_113); +x_115 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_33); +x_116 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_116, 0, x_33); +lean_ctor_set(x_116, 1, x_115); +x_117 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabElabRulesAux___spec__5___lambda__2___closed__7; +x_118 = lean_array_push(x_117, x_101); +x_119 = lean_array_push(x_118, x_114); +x_120 = lean_array_push(x_119, x_116); +x_121 = lean_array_push(x_120, x_10); +lean_inc(x_33); x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_32); -lean_ctor_set(x_122, 1, x_61); +lean_ctor_set(x_122, 0, x_33); +lean_ctor_set(x_122, 1, x_99); lean_ctor_set(x_122, 2, x_121); -x_123 = lean_array_push(x_59, x_122); -lean_inc(x_32); +x_123 = lean_array_push(x_61, x_122); +lean_inc(x_33); x_124 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_124, 0, x_32); -lean_ctor_set(x_124, 1, x_95); +lean_ctor_set(x_124, 0, x_33); +lean_ctor_set(x_124, 1, x_63); lean_ctor_set(x_124, 2, x_123); +x_125 = lean_array_push(x_61, x_124); +lean_inc(x_33); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_33); +lean_ctor_set(x_126, 1, x_97); +lean_ctor_set(x_126, 2, x_125); if (lean_obj_tag(x_16) == 0) { -x_125 = x_79; -goto block_197; +x_127 = x_81; +goto block_199; } else { -lean_object* x_198; lean_object* x_199; -x_198 = lean_ctor_get(x_16, 0); -lean_inc(x_198); +lean_object* x_200; lean_object* x_201; +x_200 = lean_ctor_get(x_16, 0); +lean_inc(x_200); lean_dec(x_16); -x_199 = lean_array_push(x_59, x_198); -x_125 = x_199; -goto block_197; +x_201 = lean_array_push(x_61, x_200); +x_127 = x_201; +goto block_199; } -block_197: +block_199: { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; -x_126 = l_Array_append___rarg(x_79, x_125); -lean_inc(x_32); -x_127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_127, 0, x_32); -lean_ctor_set(x_127, 1, x_61); -lean_ctor_set(x_127, 2, x_126); -x_128 = l_Lean_Elab_Command_elabElab___lambda__1___closed__6; -lean_inc(x_127); -x_129 = lean_array_push(x_128, x_127); -x_130 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; -x_131 = lean_array_push(x_130, x_127); -lean_inc(x_86); -x_132 = lean_array_push(x_131, x_86); -x_133 = lean_array_push(x_132, x_88); -x_134 = lean_array_push(x_133, x_89); -x_135 = lean_array_push(x_134, x_86); -x_136 = lean_array_push(x_135, x_93); +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_128 = l_Array_append___rarg(x_81, x_127); +lean_inc(x_33); +x_129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_129, 0, x_33); +lean_ctor_set(x_129, 1, x_63); +lean_ctor_set(x_129, 2, x_128); +x_130 = l_Lean_Elab_Command_elabElab___lambda__1___closed__6; +lean_inc(x_129); +x_131 = lean_array_push(x_130, x_129); +x_132 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__56; +x_133 = lean_array_push(x_132, x_129); +lean_inc(x_88); +x_134 = lean_array_push(x_133, x_88); +x_135 = lean_array_push(x_134, x_90); +x_136 = lean_array_push(x_135, x_91); +x_137 = lean_array_push(x_136, x_88); +x_138 = lean_array_push(x_137, x_95); if (lean_obj_tag(x_15) == 0) { lean_dec(x_9); -x_137 = x_79; -goto block_182; +x_139 = x_81; +goto block_184; } else { -lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; -x_183 = lean_ctor_get(x_15, 0); -lean_inc(x_183); +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_185 = lean_ctor_get(x_15, 0); +lean_inc(x_185); lean_dec(x_15); -x_184 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; -x_185 = l_Lean_Name_str___override(x_9, x_184); -x_186 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; -lean_inc(x_32); -x_187 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_187, 0, x_32); -lean_ctor_set(x_187, 1, x_186); -x_188 = l_Array_append___rarg(x_79, x_183); -lean_inc(x_32); -x_189 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_189, 0, x_32); -lean_ctor_set(x_189, 1, x_61); -lean_ctor_set(x_189, 2, x_188); -x_190 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; -lean_inc(x_32); -x_191 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_191, 0, x_32); -lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_push(x_104, x_187); -x_193 = lean_array_push(x_192, x_189); -x_194 = lean_array_push(x_193, x_191); -lean_inc(x_32); -x_195 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_195, 0, x_32); -lean_ctor_set(x_195, 1, x_185); -lean_ctor_set(x_195, 2, x_194); -x_196 = lean_array_push(x_59, x_195); -x_137 = x_196; -goto block_182; +x_186 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__15; +x_187 = l_Lean_Name_str___override(x_9, x_186); +x_188 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__17; +lean_inc(x_33); +x_189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_189, 0, x_33); +lean_ctor_set(x_189, 1, x_188); +x_190 = l_Array_append___rarg(x_81, x_185); +lean_inc(x_33); +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_33); +lean_ctor_set(x_191, 1, x_63); +lean_ctor_set(x_191, 2, x_190); +x_192 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__20; +lean_inc(x_33); +x_193 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_193, 0, x_33); +lean_ctor_set(x_193, 1, x_192); +x_194 = lean_array_push(x_106, x_189); +x_195 = lean_array_push(x_194, x_191); +x_196 = lean_array_push(x_195, x_193); +lean_inc(x_33); +x_197 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_197, 0, x_33); +lean_ctor_set(x_197, 1, x_187); +lean_ctor_set(x_197, 2, x_196); +x_198 = lean_array_push(x_61, x_197); +x_139 = x_198; +goto block_184; } -block_182: +block_184: { -lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; -x_138 = l_Array_append___rarg(x_79, x_137); -lean_inc(x_32); -x_139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_139, 0, x_32); -lean_ctor_set(x_139, 1, x_61); -lean_ctor_set(x_139, 2, x_138); -x_140 = lean_array_push(x_129, x_139); -x_141 = lean_array_push(x_140, x_11); -x_142 = lean_array_push(x_141, x_41); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_140 = l_Array_append___rarg(x_81, x_139); +lean_inc(x_33); +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_33); +lean_ctor_set(x_141, 1, x_63); +lean_ctor_set(x_141, 2, x_140); +x_142 = lean_array_push(x_131, x_141); +x_143 = lean_array_push(x_142, x_11); +x_144 = lean_array_push(x_143, x_43); if (lean_obj_tag(x_13) == 0) { -lean_dec(x_91); +lean_dec(x_93); lean_dec(x_14); -x_143 = x_79; -goto block_175; +x_145 = x_81; +goto block_177; } else { -lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; -x_176 = lean_ctor_get(x_13, 0); -lean_inc(x_176); +lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_178 = lean_ctor_get(x_13, 0); +lean_inc(x_178); lean_dec(x_13); -x_177 = l_Lean_Elab_Command_elabElab___lambda__1___closed__9; -x_178 = l_Lean_Name_str___override(x_14, x_177); -x_179 = lean_array_push(x_91, x_176); -lean_inc(x_32); -x_180 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_180, 0, x_32); -lean_ctor_set(x_180, 1, x_178); -lean_ctor_set(x_180, 2, x_179); -x_181 = lean_array_push(x_59, x_180); -x_143 = x_181; -goto block_175; +x_179 = l_Lean_Elab_Command_elabElab___lambda__1___closed__9; +x_180 = l_Lean_Name_str___override(x_14, x_179); +x_181 = lean_array_push(x_93, x_178); +lean_inc(x_33); +x_182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_182, 0, x_33); +lean_ctor_set(x_182, 1, x_180); +lean_ctor_set(x_182, 2, x_181); +x_183 = lean_array_push(x_61, x_182); +x_145 = x_183; +goto block_177; } -block_175: +block_177: { -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_144 = l_Array_append___rarg(x_79, x_143); -lean_inc(x_32); -x_145 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_145, 0, x_32); -lean_ctor_set(x_145, 1, x_61); -lean_ctor_set(x_145, 2, x_144); -x_146 = lean_array_push(x_142, x_145); -x_147 = lean_array_push(x_146, x_62); -x_148 = lean_array_push(x_147, x_75); -x_149 = lean_array_push(x_148, x_81); -x_150 = lean_array_push(x_149, x_83); -x_151 = lean_array_push(x_150, x_8); -lean_inc(x_32); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_32); -lean_ctor_set(x_152, 1, x_39); -lean_ctor_set(x_152, 2, x_151); -x_153 = lean_array_push(x_90, x_152); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; +x_146 = l_Array_append___rarg(x_81, x_145); +lean_inc(x_33); +x_147 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_147, 0, x_33); +lean_ctor_set(x_147, 1, x_63); +lean_ctor_set(x_147, 2, x_146); +x_148 = lean_array_push(x_144, x_147); +x_149 = lean_array_push(x_148, x_64); +x_150 = lean_array_push(x_149, x_77); +x_151 = lean_array_push(x_150, x_83); +x_152 = lean_array_push(x_151, x_85); +x_153 = lean_array_push(x_152, x_8); +lean_inc(x_33); +x_154 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_154, 0, x_33); +lean_ctor_set(x_154, 1, x_40); +lean_ctor_set(x_154, 2, x_153); +x_155 = lean_array_push(x_92, x_154); if (lean_obj_tag(x_12) == 0) { -lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; -x_154 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; -lean_inc(x_32); -x_155 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_155, 0, x_32); -lean_ctor_set(x_155, 1, x_61); -lean_ctor_set(x_155, 2, x_154); -x_156 = lean_array_push(x_136, x_155); -x_157 = lean_array_push(x_156, x_124); -lean_inc(x_32); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_32); -lean_ctor_set(x_158, 1, x_85); -lean_ctor_set(x_158, 2, x_157); -x_159 = lean_array_push(x_153, x_158); +lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_156 = l_Lean_Elab_Command_elabElabRulesAux___lambda__1___closed__57; +lean_inc(x_33); +x_157 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_157, 0, x_33); +lean_ctor_set(x_157, 1, x_63); +lean_ctor_set(x_157, 2, x_156); +x_158 = lean_array_push(x_138, x_157); +x_159 = lean_array_push(x_158, x_126); +lean_inc(x_33); x_160 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_160, 0, x_32); -lean_ctor_set(x_160, 1, x_61); +lean_ctor_set(x_160, 0, x_33); +lean_ctor_set(x_160, 1, x_87); lean_ctor_set(x_160, 2, x_159); -x_161 = l_Lean_Elab_Command_elabCommand(x_160, x_19, x_20, x_37); -return x_161; +x_161 = lean_array_push(x_155, x_160); +x_162 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_162, 0, x_33); +lean_ctor_set(x_162, 1, x_63); +lean_ctor_set(x_162, 2, x_161); +x_163 = l_Lean_Elab_Command_elabCommand(x_162, x_19, x_20, x_38); +return x_163; } else { -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; -x_162 = lean_ctor_get(x_12, 0); -lean_inc(x_162); +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_164 = lean_ctor_get(x_12, 0); +lean_inc(x_164); lean_dec(x_12); -x_163 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; -lean_inc(x_32); -x_164 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_164, 0, x_32); -lean_ctor_set(x_164, 1, x_163); -x_165 = lean_array_push(x_90, x_164); -x_166 = lean_array_push(x_165, x_162); -x_167 = l_Array_append___rarg(x_79, x_166); -lean_inc(x_32); -x_168 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_168, 0, x_32); -lean_ctor_set(x_168, 1, x_61); -lean_ctor_set(x_168, 2, x_167); -x_169 = lean_array_push(x_136, x_168); -x_170 = lean_array_push(x_169, x_124); -lean_inc(x_32); -x_171 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_171, 0, x_32); -lean_ctor_set(x_171, 1, x_85); -lean_ctor_set(x_171, 2, x_170); -x_172 = lean_array_push(x_153, x_171); +x_165 = l_Lean_Elab_Command_elabElabRules___lambda__3___closed__2; +lean_inc(x_33); +x_166 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_166, 0, x_33); +lean_ctor_set(x_166, 1, x_165); +x_167 = lean_array_push(x_92, x_166); +x_168 = lean_array_push(x_167, x_164); +x_169 = l_Array_append___rarg(x_81, x_168); +lean_inc(x_33); +x_170 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_170, 0, x_33); +lean_ctor_set(x_170, 1, x_63); +lean_ctor_set(x_170, 2, x_169); +x_171 = lean_array_push(x_138, x_170); +x_172 = lean_array_push(x_171, x_126); +lean_inc(x_33); x_173 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_173, 0, x_32); -lean_ctor_set(x_173, 1, x_61); +lean_ctor_set(x_173, 0, x_33); +lean_ctor_set(x_173, 1, x_87); lean_ctor_set(x_173, 2, x_172); -x_174 = l_Lean_Elab_Command_elabCommand(x_173, x_19, x_20, x_37); -return x_174; +x_174 = lean_array_push(x_155, x_173); +x_175 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_175, 0, x_33); +lean_ctor_set(x_175, 1, x_63); +lean_ctor_set(x_175, 2, x_174); +x_176 = l_Lean_Elab_Command_elabCommand(x_175, x_19, x_20, x_38); +return x_176; } } } diff --git a/stage0/stdlib/Lean/Elab/Inductive.c b/stage0/stdlib/Lean/Elab/Inductive.c index 86a520a090..48d2148542 100644 --- a/stage0/stdlib/Lean/Elab/Inductive.c +++ b/stage0/stdlib/Lean/Elab/Inductive.c @@ -94,7 +94,7 @@ lean_object* l_Lean_Level_succ___override(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_reorderCtorArgs___spec__4___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_assignLevelMVar___at_Lean_Elab_Command_accLevelAtCtor___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkBelow___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_mkAuxConstructions___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_instInhabitedInductiveView; lean_object* l_Lean_Meta_removeUnused(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_elabCtors___spec__2(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -30772,212 +30772,214 @@ x_15 = l_Lean_Elab_Command_getMainModule___rarg(x_8, x_14); x_16 = !lean_is_exclusive(x_15); if (x_16 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +lean_object* x_17; uint8_t x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; x_17 = lean_ctor_get(x_15, 0); lean_dec(x_17); -x_18 = l_Lean_SourceInfo_fromRef(x_1); -x_19 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__9; -x_20 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -x_21 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__14; -x_22 = l_Lean_Name_append(x_21, x_2); -x_23 = l_Lean_Name_append(x_22, x_3); -lean_dec(x_22); -x_24 = lean_mk_syntax_ident(x_23); -x_25 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__16; -x_26 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +x_18 = 0; +x_19 = l_Lean_SourceInfo_fromRef(x_1, x_18); +x_20 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__9; +x_21 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__14; +x_23 = l_Lean_Name_append(x_22, x_2); +x_24 = l_Lean_Name_append(x_23, x_3); +lean_dec(x_23); +x_25 = lean_mk_syntax_ident(x_24); +x_26 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__16; +x_27 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; lean_inc(x_11); -x_27 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_27, 0, x_11); -lean_ctor_set(x_27, 1, x_25); -lean_ctor_set(x_27, 2, x_26); -x_28 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__17; -x_29 = lean_array_push(x_28, x_24); -lean_inc(x_27); -x_30 = lean_array_push(x_29, x_27); -x_31 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__12; +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_11); +lean_ctor_set(x_28, 1, x_26); +lean_ctor_set(x_28, 2, x_27); +x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__17; +x_30 = lean_array_push(x_29, x_25); +lean_inc(x_28); +x_31 = lean_array_push(x_30, x_28); +x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__12; lean_inc(x_11); -x_32 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_32, 0, x_11); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_32, 2, x_30); -x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__24; +x_33 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_33, 0, x_11); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set(x_33, 2, x_31); +x_34 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__24; lean_inc(x_11); -x_34 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_34, 0, x_11); -lean_ctor_set(x_34, 1, x_33); -x_35 = lean_array_push(x_28, x_34); -x_36 = lean_array_push(x_35, x_4); -x_37 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__23; +x_35 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_35, 0, x_11); +lean_ctor_set(x_35, 1, x_34); +x_36 = lean_array_push(x_29, x_35); +x_37 = lean_array_push(x_36, x_4); +x_38 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__23; lean_inc(x_11); -x_38 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_38, 0, x_11); -lean_ctor_set(x_38, 1, x_37); -lean_ctor_set(x_38, 2, x_36); -x_39 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__25; -x_40 = lean_array_push(x_39, x_38); +x_39 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_39, 0, x_11); +lean_ctor_set(x_39, 1, x_38); +lean_ctor_set(x_39, 2, x_37); +x_40 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__25; +x_41 = lean_array_push(x_40, x_39); lean_inc(x_11); -x_41 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_41, 0, x_11); -lean_ctor_set(x_41, 1, x_25); -lean_ctor_set(x_41, 2, x_40); -lean_inc(x_27); -x_42 = lean_array_push(x_28, x_27); -x_43 = lean_array_push(x_42, x_41); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__19; +x_42 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_42, 0, x_11); +lean_ctor_set(x_42, 1, x_26); +lean_ctor_set(x_42, 2, x_41); +lean_inc(x_28); +x_43 = lean_array_push(x_29, x_28); +x_44 = lean_array_push(x_43, x_42); +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__19; lean_inc(x_11); -x_45 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_45, 0, x_11); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_43); -x_46 = lean_array_push(x_28, x_5); -lean_inc(x_27); -x_47 = lean_array_push(x_46, x_27); -x_48 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__29; +x_46 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_46, 0, x_11); +lean_ctor_set(x_46, 1, x_45); +lean_ctor_set(x_46, 2, x_44); +x_47 = lean_array_push(x_29, x_5); +lean_inc(x_28); +x_48 = lean_array_push(x_47, x_28); +x_49 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__29; lean_inc(x_11); -x_49 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_49, 0, x_11); -lean_ctor_set(x_49, 1, x_48); -lean_ctor_set(x_49, 2, x_47); -x_50 = lean_array_push(x_39, x_49); -x_51 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__27; +x_50 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_50, 0, x_11); +lean_ctor_set(x_50, 1, x_49); +lean_ctor_set(x_50, 2, x_48); +x_51 = lean_array_push(x_40, x_50); +x_52 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__27; lean_inc(x_11); -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_11); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_50); -x_53 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__30; -x_54 = lean_array_push(x_53, x_20); -x_55 = lean_array_push(x_54, x_32); -x_56 = lean_array_push(x_55, x_45); -x_57 = lean_array_push(x_56, x_52); -lean_inc(x_27); -x_58 = lean_array_push(x_57, x_27); -lean_inc(x_27); -x_59 = lean_array_push(x_58, x_27); -x_60 = lean_array_push(x_59, x_27); -x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__10; +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_11); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_51); +x_54 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__30; +x_55 = lean_array_push(x_54, x_21); +x_56 = lean_array_push(x_55, x_33); +x_57 = lean_array_push(x_56, x_46); +x_58 = lean_array_push(x_57, x_53); +lean_inc(x_28); +x_59 = lean_array_push(x_58, x_28); +lean_inc(x_28); +x_60 = lean_array_push(x_59, x_28); +x_61 = lean_array_push(x_60, x_28); +x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__10; lean_inc(x_11); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_11); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_60); -x_63 = lean_array_push(x_28, x_6); -x_64 = lean_array_push(x_63, x_62); -x_65 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__8; -x_66 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_66, 0, x_11); -lean_ctor_set(x_66, 1, x_65); -lean_ctor_set(x_66, 2, x_64); -lean_ctor_set(x_15, 0, x_66); +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_11); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_61); +x_64 = lean_array_push(x_29, x_6); +x_65 = lean_array_push(x_64, x_63); +x_66 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__8; +x_67 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_67, 0, x_11); +lean_ctor_set(x_67, 1, x_66); +lean_ctor_set(x_67, 2, x_65); +lean_ctor_set(x_15, 0, x_67); return x_15; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; -x_67 = lean_ctor_get(x_15, 1); -lean_inc(x_67); +lean_object* x_68; uint8_t x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; +x_68 = lean_ctor_get(x_15, 1); +lean_inc(x_68); lean_dec(x_15); -x_68 = l_Lean_SourceInfo_fromRef(x_1); -x_69 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__9; -x_70 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__14; -x_72 = l_Lean_Name_append(x_71, x_2); -x_73 = l_Lean_Name_append(x_72, x_3); -lean_dec(x_72); -x_74 = lean_mk_syntax_ident(x_73); -x_75 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__16; -x_76 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; +x_69 = 0; +x_70 = l_Lean_SourceInfo_fromRef(x_1, x_69); +x_71 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__9; +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__14; +x_74 = l_Lean_Name_append(x_73, x_2); +x_75 = l_Lean_Name_append(x_74, x_3); +lean_dec(x_74); +x_76 = lean_mk_syntax_ident(x_75); +x_77 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__16; +x_78 = l_Lean_Elab_Command_instInhabitedCtorView___closed__1; lean_inc(x_11); -x_77 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_77, 0, x_11); -lean_ctor_set(x_77, 1, x_75); -lean_ctor_set(x_77, 2, x_76); -x_78 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__17; -x_79 = lean_array_push(x_78, x_74); -lean_inc(x_77); -x_80 = lean_array_push(x_79, x_77); -x_81 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__12; +x_79 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_79, 0, x_11); +lean_ctor_set(x_79, 1, x_77); +lean_ctor_set(x_79, 2, x_78); +x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__17; +x_81 = lean_array_push(x_80, x_76); +lean_inc(x_79); +x_82 = lean_array_push(x_81, x_79); +x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__12; lean_inc(x_11); -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_11); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_80); -x_83 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__24; -lean_inc(x_11); -x_84 = lean_alloc_ctor(2, 2, 0); +x_84 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_84, 0, x_11); lean_ctor_set(x_84, 1, x_83); -x_85 = lean_array_push(x_78, x_84); -x_86 = lean_array_push(x_85, x_4); -x_87 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__23; +lean_ctor_set(x_84, 2, x_82); +x_85 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__24; lean_inc(x_11); -x_88 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_88, 0, x_11); -lean_ctor_set(x_88, 1, x_87); -lean_ctor_set(x_88, 2, x_86); -x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__25; -x_90 = lean_array_push(x_89, x_88); +x_86 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_86, 0, x_11); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_array_push(x_80, x_86); +x_88 = lean_array_push(x_87, x_4); +x_89 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__23; lean_inc(x_11); -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_11); -lean_ctor_set(x_91, 1, x_75); -lean_ctor_set(x_91, 2, x_90); -lean_inc(x_77); -x_92 = lean_array_push(x_78, x_77); -x_93 = lean_array_push(x_92, x_91); -x_94 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__19; +x_90 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_90, 0, x_11); +lean_ctor_set(x_90, 1, x_89); +lean_ctor_set(x_90, 2, x_88); +x_91 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__25; +x_92 = lean_array_push(x_91, x_90); lean_inc(x_11); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_11); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set(x_95, 2, x_93); -x_96 = lean_array_push(x_78, x_5); -lean_inc(x_77); -x_97 = lean_array_push(x_96, x_77); -x_98 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__29; +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_11); +lean_ctor_set(x_93, 1, x_77); +lean_ctor_set(x_93, 2, x_92); +lean_inc(x_79); +x_94 = lean_array_push(x_80, x_79); +x_95 = lean_array_push(x_94, x_93); +x_96 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__19; lean_inc(x_11); -x_99 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_99, 0, x_11); -lean_ctor_set(x_99, 1, x_98); -lean_ctor_set(x_99, 2, x_97); -x_100 = lean_array_push(x_89, x_99); -x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__27; +x_97 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_97, 0, x_11); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set(x_97, 2, x_95); +x_98 = lean_array_push(x_80, x_5); +lean_inc(x_79); +x_99 = lean_array_push(x_98, x_79); +x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__29; lean_inc(x_11); -x_102 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_102, 0, x_11); -lean_ctor_set(x_102, 1, x_101); -lean_ctor_set(x_102, 2, x_100); -x_103 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__30; -x_104 = lean_array_push(x_103, x_70); -x_105 = lean_array_push(x_104, x_82); -x_106 = lean_array_push(x_105, x_95); -x_107 = lean_array_push(x_106, x_102); -lean_inc(x_77); -x_108 = lean_array_push(x_107, x_77); -lean_inc(x_77); -x_109 = lean_array_push(x_108, x_77); -x_110 = lean_array_push(x_109, x_77); -x_111 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__10; +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_11); +lean_ctor_set(x_101, 1, x_100); +lean_ctor_set(x_101, 2, x_99); +x_102 = lean_array_push(x_91, x_101); +x_103 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__27; lean_inc(x_11); -x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_11); -lean_ctor_set(x_112, 1, x_111); -lean_ctor_set(x_112, 2, x_110); -x_113 = lean_array_push(x_78, x_6); -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__8; -x_116 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_116, 0, x_11); -lean_ctor_set(x_116, 1, x_115); -lean_ctor_set(x_116, 2, x_114); -x_117 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_117, 0, x_116); -lean_ctor_set(x_117, 1, x_67); -return x_117; +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_11); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set(x_104, 2, x_102); +x_105 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__30; +x_106 = lean_array_push(x_105, x_72); +x_107 = lean_array_push(x_106, x_84); +x_108 = lean_array_push(x_107, x_97); +x_109 = lean_array_push(x_108, x_104); +lean_inc(x_79); +x_110 = lean_array_push(x_109, x_79); +lean_inc(x_79); +x_111 = lean_array_push(x_110, x_79); +x_112 = lean_array_push(x_111, x_79); +x_113 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__10; +lean_inc(x_11); +x_114 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_114, 0, x_11); +lean_ctor_set(x_114, 1, x_113); +lean_ctor_set(x_114, 2, x_112); +x_115 = lean_array_push(x_80, x_6); +x_116 = lean_array_push(x_115, x_114); +x_117 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Inductive_0__Lean_Elab_Command_applyComputedFields___spec__1___lambda__1___closed__8; +x_118 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_118, 0, x_11); +lean_ctor_set(x_118, 1, x_117); +lean_ctor_set(x_118, 2, x_116); +x_119 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_119, 0, x_118); +lean_ctor_set(x_119, 1, x_68); +return x_119; } } } diff --git a/stage0/stdlib/Lean/Elab/Macro.c b/stage0/stdlib/Lean/Elab/Macro.c index b630a61bf4..3a24d9b720 100644 --- a/stage0/stdlib/Lean/Elab/Macro.c +++ b/stage0/stdlib/Lean/Elab/Macro.c @@ -32,7 +32,7 @@ static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__15; static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__28; static lean_object* l_Lean_Elab_Command_elabMacro___closed__3; static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__5; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabMacro___lambda__2___closed__7; lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); @@ -466,7 +466,7 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabMacro___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, size_t 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) { _start: { -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_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; size_t 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_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_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; uint8_t 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; size_t x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; x_23 = l_Lean_Elab_Command_getScope___rarg(x_21, x_22); x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); @@ -523,76 +523,77 @@ lean_inc(x_188); x_204 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_204, 0, x_188); lean_ctor_set(x_204, 1, x_203); -x_205 = l_Lean_mkIdentFrom(x_9, x_19); -x_206 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9; +x_205 = 1; +x_206 = l_Lean_mkIdentFrom(x_9, x_19, x_205); +x_207 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__9; lean_inc(x_188); -x_207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_207, 0, x_188); -lean_ctor_set(x_207, 1, x_206); -x_208 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20; -x_209 = lean_array_push(x_208, x_200); -lean_inc(x_209); -x_210 = lean_array_push(x_209, x_202); +x_208 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_208, 0, x_188); +lean_ctor_set(x_208, 1, x_207); +x_209 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__20; +x_210 = lean_array_push(x_209, x_200); +lean_inc(x_210); +x_211 = lean_array_push(x_210, x_202); lean_inc(x_204); -x_211 = lean_array_push(x_210, x_204); -x_212 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__21; +x_212 = lean_array_push(x_211, x_204); +x_213 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__21; lean_inc(x_5); -x_213 = l_Lean_Name_str___override(x_5, x_212); -x_214 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__22; +x_214 = l_Lean_Name_str___override(x_5, x_213); +x_215 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__22; lean_inc(x_188); -x_215 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_215, 0, x_188); -lean_ctor_set(x_215, 1, x_214); -x_216 = l_Nat_repr(x_10); -x_217 = l_Lean_Syntax_mkNumLit(x_216, x_28); -x_218 = lean_array_push(x_209, x_215); -x_219 = lean_array_push(x_218, x_204); -x_220 = lean_array_push(x_219, x_217); -lean_inc(x_207); -x_221 = lean_array_push(x_220, x_207); +x_216 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_216, 0, x_188); +lean_ctor_set(x_216, 1, x_215); +x_217 = l_Nat_repr(x_10); +x_218 = l_Lean_Syntax_mkNumLit(x_217, x_28); +x_219 = lean_array_push(x_210, x_216); +x_220 = lean_array_push(x_219, x_204); +x_221 = lean_array_push(x_220, x_218); +lean_inc(x_208); +x_222 = lean_array_push(x_221, x_208); lean_inc(x_188); -x_222 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_222, 0, x_188); -lean_ctor_set(x_222, 1, x_213); -lean_ctor_set(x_222, 2, x_221); -x_223 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3; -x_224 = lean_array_push(x_223, x_222); +x_223 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_223, 0, x_188); +lean_ctor_set(x_223, 1, x_214); +lean_ctor_set(x_223, 2, x_222); +x_224 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__3; +x_225 = lean_array_push(x_224, x_223); lean_inc(x_3); lean_inc(x_188); -x_225 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_225, 0, x_188); -lean_ctor_set(x_225, 1, x_3); -lean_ctor_set(x_225, 2, x_224); -x_226 = lean_array_get_size(x_11); -x_227 = lean_usize_of_nat(x_226); -lean_dec(x_226); -x_228 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(x_227, x_12, x_11); -x_229 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2; -x_230 = l_Array_append___rarg(x_229, x_228); +x_226 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_226, 0, x_188); +lean_ctor_set(x_226, 1, x_3); +lean_ctor_set(x_226, 2, x_225); +x_227 = lean_array_get_size(x_11); +x_228 = lean_usize_of_nat(x_227); +lean_dec(x_227); +x_229 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacro___spec__2(x_228, x_12, x_11); +x_230 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__2; +x_231 = l_Array_append___rarg(x_230, x_229); lean_inc(x_3); lean_inc(x_188); -x_231 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_231, 0, x_188); -lean_ctor_set(x_231, 1, x_3); -lean_ctor_set(x_231, 2, x_230); -x_232 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__23; +x_232 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_232, 0, x_188); +lean_ctor_set(x_232, 1, x_3); +lean_ctor_set(x_232, 2, x_231); +x_233 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__23; lean_inc(x_188); -x_233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_233, 0, x_188); -lean_ctor_set(x_233, 1, x_232); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_188); +lean_ctor_set(x_234, 1, x_233); if (lean_obj_tag(x_8) == 0) { -x_234 = x_229; -goto block_296; +x_235 = x_230; +goto block_297; } else { -lean_object* x_297; lean_object* x_298; -x_297 = lean_ctor_get(x_8, 0); -lean_inc(x_297); -x_298 = lean_array_push(x_223, x_297); -x_234 = x_298; -goto block_296; +lean_object* x_298; lean_object* x_299; +x_298 = lean_ctor_get(x_8, 0); +lean_inc(x_298); +x_299 = lean_array_push(x_224, x_298); +x_235 = x_299; +goto block_297; } block_186: { @@ -953,174 +954,174 @@ return x_185; } } } -block_296: +block_297: { -lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -x_235 = l_Array_append___rarg(x_229, x_234); +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +x_236 = l_Array_append___rarg(x_230, x_235); lean_inc(x_3); lean_inc(x_188); -x_236 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_236, 0, x_188); -lean_ctor_set(x_236, 1, x_3); -lean_ctor_set(x_236, 2, x_235); -x_237 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__24; -x_238 = lean_array_push(x_237, x_236); +x_237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_237, 0, x_188); +lean_ctor_set(x_237, 1, x_3); +lean_ctor_set(x_237, 2, x_236); +x_238 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__24; +x_239 = lean_array_push(x_238, x_237); if (lean_obj_tag(x_18) == 0) { -x_239 = x_229; -goto block_280; +x_240 = x_230; +goto block_281; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_281 = lean_ctor_get(x_18, 0); -lean_inc(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_282 = lean_ctor_get(x_18, 0); +lean_inc(x_282); lean_dec(x_18); -x_282 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__26; +x_283 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__26; lean_inc(x_7); -x_283 = l_Lean_Name_str___override(x_7, x_282); -x_284 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__27; +x_284 = l_Lean_Name_str___override(x_7, x_283); +x_285 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__27; lean_inc(x_188); -x_285 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_285, 0, x_188); -lean_ctor_set(x_285, 1, x_284); -x_286 = l_Array_append___rarg(x_229, x_281); +x_286 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_286, 0, x_188); +lean_ctor_set(x_286, 1, x_285); +x_287 = l_Array_append___rarg(x_230, x_282); lean_inc(x_3); lean_inc(x_188); -x_287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_287, 0, x_188); -lean_ctor_set(x_287, 1, x_3); -lean_ctor_set(x_287, 2, x_286); -x_288 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__28; +x_288 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_288, 0, x_188); +lean_ctor_set(x_288, 1, x_3); +lean_ctor_set(x_288, 2, x_287); +x_289 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__28; lean_inc(x_188); -x_289 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_289, 0, x_188); -lean_ctor_set(x_289, 1, x_288); -x_290 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__10; -x_291 = lean_array_push(x_290, x_285); -x_292 = lean_array_push(x_291, x_287); -x_293 = lean_array_push(x_292, x_289); +x_290 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_290, 0, x_188); +lean_ctor_set(x_290, 1, x_289); +x_291 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__10; +x_292 = lean_array_push(x_291, x_286); +x_293 = lean_array_push(x_292, x_288); +x_294 = lean_array_push(x_293, x_290); lean_inc(x_188); -x_294 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_294, 0, x_188); -lean_ctor_set(x_294, 1, x_283); -lean_ctor_set(x_294, 2, x_293); -x_295 = lean_array_push(x_223, x_294); -x_239 = x_295; -goto block_280; +x_295 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_295, 0, x_188); +lean_ctor_set(x_295, 1, x_284); +lean_ctor_set(x_295, 2, x_294); +x_296 = lean_array_push(x_224, x_295); +x_240 = x_296; +goto block_281; } -block_280: +block_281: { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_240 = l_Array_append___rarg(x_229, x_239); +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_241 = l_Array_append___rarg(x_230, x_240); lean_inc(x_3); lean_inc(x_188); -x_241 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_241, 0, x_188); -lean_ctor_set(x_241, 1, x_3); -lean_ctor_set(x_241, 2, x_240); -x_242 = lean_array_push(x_238, x_241); -x_243 = lean_array_push(x_242, x_13); -x_244 = lean_array_push(x_243, x_196); +x_242 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_242, 0, x_188); +lean_ctor_set(x_242, 1, x_3); +lean_ctor_set(x_242, 2, x_241); +x_243 = lean_array_push(x_239, x_242); +x_244 = lean_array_push(x_243, x_13); +x_245 = lean_array_push(x_244, x_196); if (lean_obj_tag(x_16) == 0) { lean_dec(x_17); -x_245 = x_229; -goto block_272; +x_246 = x_230; +goto block_273; } else { -lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; -x_273 = lean_ctor_get(x_16, 0); -lean_inc(x_273); +lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_274 = lean_ctor_get(x_16, 0); +lean_inc(x_274); lean_dec(x_16); -x_274 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__25; -x_275 = l_Lean_Name_str___override(x_17, x_274); -lean_inc(x_233); +x_275 = l_Lean_Elab_Command_elabMacro___lambda__2___closed__25; +x_276 = l_Lean_Name_str___override(x_17, x_275); +lean_inc(x_234); lean_inc(x_2); -x_276 = lean_array_push(x_2, x_233); -x_277 = lean_array_push(x_276, x_273); +x_277 = lean_array_push(x_2, x_234); +x_278 = lean_array_push(x_277, x_274); lean_inc(x_188); -x_278 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_278, 0, x_188); -lean_ctor_set(x_278, 1, x_275); -lean_ctor_set(x_278, 2, x_277); -x_279 = lean_array_push(x_223, x_278); -x_245 = x_279; -goto block_272; +x_279 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_279, 0, x_188); +lean_ctor_set(x_279, 1, x_276); +lean_ctor_set(x_279, 2, x_278); +x_280 = lean_array_push(x_224, x_279); +x_246 = x_280; +goto block_273; } -block_272: +block_273: { -lean_object* x_246; lean_object* x_247; lean_object* x_248; -x_246 = l_Array_append___rarg(x_229, x_245); +lean_object* x_247; lean_object* x_248; lean_object* x_249; +x_247 = l_Array_append___rarg(x_230, x_246); lean_inc(x_3); lean_inc(x_188); -x_247 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_247, 0, x_188); -lean_ctor_set(x_247, 1, x_3); -lean_ctor_set(x_247, 2, x_246); -x_248 = lean_array_push(x_244, x_247); +x_248 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_248, 0, x_188); +lean_ctor_set(x_248, 1, x_3); +lean_ctor_set(x_248, 2, x_247); +x_249 = lean_array_push(x_245, x_248); if (lean_obj_tag(x_14) == 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; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_249 = lean_array_push(x_211, x_205); -x_250 = lean_array_push(x_249, x_207); +lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; +x_250 = lean_array_push(x_212, x_206); +x_251 = lean_array_push(x_250, x_208); lean_inc(x_188); -x_251 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_251, 0, x_188); -lean_ctor_set(x_251, 1, x_198); -lean_ctor_set(x_251, 2, x_250); -x_252 = lean_array_push(x_223, x_251); +x_252 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_252, 0, x_188); +lean_ctor_set(x_252, 1, x_198); +lean_ctor_set(x_252, 2, x_251); +x_253 = lean_array_push(x_224, x_252); lean_inc(x_3); lean_inc(x_188); -x_253 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_253, 0, x_188); -lean_ctor_set(x_253, 1, x_3); -lean_ctor_set(x_253, 2, x_252); -x_254 = lean_array_push(x_248, x_253); -x_255 = lean_array_push(x_254, x_225); -x_256 = lean_array_push(x_255, x_231); -x_257 = lean_array_push(x_256, x_233); -x_258 = lean_array_push(x_257, x_15); -x_259 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_259, 0, x_188); -lean_ctor_set(x_259, 1, x_195); -lean_ctor_set(x_259, 2, x_258); -x_30 = x_259; +x_254 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_254, 0, x_188); +lean_ctor_set(x_254, 1, x_3); +lean_ctor_set(x_254, 2, x_253); +x_255 = lean_array_push(x_249, x_254); +x_256 = lean_array_push(x_255, x_226); +x_257 = lean_array_push(x_256, x_232); +x_258 = lean_array_push(x_257, x_234); +x_259 = lean_array_push(x_258, x_15); +x_260 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_260, 0, x_188); +lean_ctor_set(x_260, 1, x_195); +lean_ctor_set(x_260, 2, x_259); +x_30 = x_260; x_31 = x_193; goto block_186; } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; -lean_dec(x_205); -x_260 = lean_ctor_get(x_14, 0); -lean_inc(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_dec(x_206); +x_261 = lean_ctor_get(x_14, 0); +lean_inc(x_261); lean_dec(x_14); -x_261 = lean_array_push(x_211, x_260); -x_262 = lean_array_push(x_261, x_207); +x_262 = lean_array_push(x_212, x_261); +x_263 = lean_array_push(x_262, x_208); lean_inc(x_188); -x_263 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_263, 0, x_188); -lean_ctor_set(x_263, 1, x_198); -lean_ctor_set(x_263, 2, x_262); -x_264 = lean_array_push(x_223, x_263); +x_264 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_264, 0, x_188); +lean_ctor_set(x_264, 1, x_198); +lean_ctor_set(x_264, 2, x_263); +x_265 = lean_array_push(x_224, x_264); lean_inc(x_3); lean_inc(x_188); -x_265 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_265, 0, x_188); -lean_ctor_set(x_265, 1, x_3); -lean_ctor_set(x_265, 2, x_264); -x_266 = lean_array_push(x_248, x_265); -x_267 = lean_array_push(x_266, x_225); -x_268 = lean_array_push(x_267, x_231); -x_269 = lean_array_push(x_268, x_233); -x_270 = lean_array_push(x_269, x_15); -x_271 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_271, 0, x_188); -lean_ctor_set(x_271, 1, x_195); -lean_ctor_set(x_271, 2, x_270); -x_30 = x_271; +x_266 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_266, 0, x_188); +lean_ctor_set(x_266, 1, x_3); +lean_ctor_set(x_266, 2, x_265); +x_267 = lean_array_push(x_249, x_266); +x_268 = lean_array_push(x_267, x_226); +x_269 = lean_array_push(x_268, x_232); +x_270 = lean_array_push(x_269, x_234); +x_271 = lean_array_push(x_270, x_15); +x_272 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_272, 0, x_188); +lean_ctor_set(x_272, 1, x_195); +lean_ctor_set(x_272, 2, x_271); +x_30 = x_272; x_31 = x_193; goto block_186; } @@ -2368,7 +2369,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Command_elabMacro_declRange__ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(39u); +x_1 = lean_unsigned_to_nat(42u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Elab/MacroRules.c b/stage0/stdlib/Lean/Elab/MacroRules.c index 51d7003aa1..e316e3f1f0 100644 --- a/stage0/stdlib/Lean/Elab/MacroRules.c +++ b/stage0/stdlib/Lean/Elab/MacroRules.c @@ -65,7 +65,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__4; static lean_object* l_Lean_Elab_Command_elabMacroRulesAux___closed__54; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Command_elabMacroRulesAux___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_elabMacroRules___lambda__4___closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__9; static lean_object* l___regBuiltin_Lean_Elab_Command_elabMacroRules_declRange___closed__1; @@ -1833,88 +1833,88 @@ lean_inc(x_5); x_13 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5(x_5, x_11, x_12, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_13) == 0) { -lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); lean_dec(x_13); -x_270 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_7, x_8, x_15); -x_271 = lean_ctor_get(x_270, 0); -lean_inc(x_271); -x_272 = lean_ctor_get(x_270, 1); -lean_inc(x_272); -lean_dec(x_270); -x_273 = l_Lean_Elab_Command_getCurrMacroScope(x_7, x_8, x_272); -x_274 = lean_ctor_get(x_273, 1); +x_272 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_7, x_8, x_15); +x_273 = lean_ctor_get(x_272, 0); +lean_inc(x_273); +x_274 = lean_ctor_get(x_272, 1); lean_inc(x_274); -lean_dec(x_273); -x_275 = l_Lean_Elab_Command_getMainModule___rarg(x_8, x_274); +lean_dec(x_272); +x_275 = l_Lean_Elab_Command_getCurrMacroScope(x_7, x_8, x_274); x_276 = lean_ctor_get(x_275, 1); lean_inc(x_276); lean_dec(x_275); -x_277 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; -lean_inc(x_271); -x_278 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_278, 0, x_271); -lean_ctor_set(x_278, 1, x_277); +x_277 = l_Lean_Elab_Command_getMainModule___rarg(x_8, x_276); +x_278 = lean_ctor_get(x_277, 1); +lean_inc(x_278); +lean_dec(x_277); +x_279 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; +lean_inc(x_273); +x_280 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_280, 0, x_273); +lean_ctor_set(x_280, 1, x_279); lean_inc(x_5); -x_279 = lean_mk_syntax_ident(x_5); -x_280 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_281 = lean_array_push(x_280, x_278); -x_282 = lean_array_push(x_281, x_279); -x_283 = l_Lean_Elab_Command_elabMacroRulesAux___closed__67; -lean_inc(x_271); -x_284 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_284, 0, x_271); -lean_ctor_set(x_284, 1, x_283); -lean_ctor_set(x_284, 2, x_282); -x_285 = lean_array_push(x_280, x_3); -x_286 = lean_array_push(x_285, x_284); -x_287 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; -x_288 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_288, 0, x_271); -lean_ctor_set(x_288, 1, x_287); -lean_ctor_set(x_288, 2, x_286); -x_289 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_7, x_8, x_276); +x_281 = lean_mk_syntax_ident(x_5); +x_282 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_283 = lean_array_push(x_282, x_280); +x_284 = lean_array_push(x_283, x_281); +x_285 = l_Lean_Elab_Command_elabMacroRulesAux___closed__67; +lean_inc(x_273); +x_286 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_286, 0, x_273); +lean_ctor_set(x_286, 1, x_285); +lean_ctor_set(x_286, 2, x_284); +x_287 = lean_array_push(x_282, x_3); +x_288 = lean_array_push(x_287, x_286); +x_289 = l_Lean_Elab_Command_elabMacroRulesAux___closed__63; +x_290 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_290, 0, x_273); +lean_ctor_set(x_290, 1, x_289); +lean_ctor_set(x_290, 2, x_288); +x_291 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_7, x_8, x_278); if (lean_obj_tag(x_2) == 0) { -lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; -x_290 = lean_ctor_get(x_289, 0); -lean_inc(x_290); -x_291 = lean_ctor_get(x_289, 1); -lean_inc(x_291); -lean_dec(x_289); -x_292 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; -x_293 = lean_array_push(x_292, x_288); -x_294 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; -x_295 = l_Lean_mkSepArray(x_293, x_294); -lean_dec(x_293); -x_16 = x_295; -x_17 = x_290; -x_18 = x_291; -goto block_269; +lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_291, 1); +lean_inc(x_293); +lean_dec(x_291); +x_294 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; +x_295 = lean_array_push(x_294, x_290); +x_296 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_297 = l_Lean_mkSepArray(x_295, x_296); +lean_dec(x_295); +x_16 = x_297; +x_17 = x_292; +x_18 = x_293; +goto block_271; } else { -lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; -x_296 = lean_ctor_get(x_2, 0); -x_297 = lean_ctor_get(x_289, 0); -lean_inc(x_297); -x_298 = lean_ctor_get(x_289, 1); -lean_inc(x_298); -lean_dec(x_289); -x_299 = l_Lean_Syntax_TSepArray_getElems___rarg(x_296); -x_300 = lean_array_push(x_299, x_288); -x_301 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; -x_302 = l_Lean_mkSepArray(x_300, x_301); -lean_dec(x_300); -x_16 = x_302; -x_17 = x_297; -x_18 = x_298; -goto block_269; +lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_298 = lean_ctor_get(x_2, 0); +x_299 = lean_ctor_get(x_291, 0); +lean_inc(x_299); +x_300 = lean_ctor_get(x_291, 1); +lean_inc(x_300); +lean_dec(x_291); +x_301 = l_Lean_Syntax_TSepArray_getElems___rarg(x_298); +x_302 = lean_array_push(x_301, x_290); +x_303 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_304 = l_Lean_mkSepArray(x_302, x_303); +lean_dec(x_302); +x_16 = x_304; +x_17 = x_299; +x_18 = x_300; +goto block_271; } -block_269: +block_271: { lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; x_19 = l_Lean_Elab_Command_getCurrMacroScope(x_7, x_8, x_18); @@ -1929,7 +1929,7 @@ lean_dec(x_8); x_23 = !lean_is_exclusive(x_22); if (x_23 == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; +lean_object* x_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; uint8_t x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; x_24 = lean_ctor_get(x_22, 0); x_25 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; lean_inc(x_17); @@ -1983,516 +1983,518 @@ lean_ctor_set(x_48, 0, x_17); lean_ctor_set(x_48, 1, x_47); lean_ctor_set(x_48, 2, x_45); lean_ctor_set(x_48, 3, x_46); -x_49 = l_Lean_mkIdentFrom(x_4, x_5); -x_50 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_51 = lean_array_push(x_50, x_48); -x_52 = lean_array_push(x_51, x_49); +x_49 = 1; +x_50 = l_Lean_mkIdentFrom(x_4, x_5, x_49); +x_51 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_52 = lean_array_push(x_51, x_48); +x_53 = lean_array_push(x_52, x_50); lean_inc(x_17); -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_17); -lean_ctor_set(x_53, 1, x_29); -lean_ctor_set(x_53, 2, x_52); -x_54 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_54 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_54, 0, x_17); +lean_ctor_set(x_54, 1, x_29); +lean_ctor_set(x_54, 2, x_53); +x_55 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; lean_inc(x_17); -x_55 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_55, 0, x_17); -lean_ctor_set(x_55, 1, x_54); -x_56 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_56 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_56, 0, x_17); +lean_ctor_set(x_56, 1, x_55); +x_57 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; lean_inc(x_20); lean_inc(x_24); -x_57 = l_Lean_addMacroScope(x_24, x_56, x_20); -x_58 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_59 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; +x_58 = l_Lean_addMacroScope(x_24, x_57, x_20); +x_59 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_60 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; lean_inc(x_17); -x_60 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_60, 0, x_17); -lean_ctor_set(x_60, 1, x_58); -lean_ctor_set(x_60, 2, x_57); -lean_ctor_set(x_60, 3, x_59); -x_61 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +x_61 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_61, 0, x_17); +lean_ctor_set(x_61, 1, x_59); +lean_ctor_set(x_61, 2, x_58); +lean_ctor_set(x_61, 3, x_60); +x_62 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; lean_inc(x_17); -x_62 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_62, 0, x_17); -lean_ctor_set(x_62, 1, x_61); -x_63 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +x_63 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_63, 0, x_17); +lean_ctor_set(x_63, 1, x_62); +x_64 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_inc(x_17); -x_64 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_64, 0, x_17); -lean_ctor_set(x_64, 1, x_63); -x_65 = l_Array_append___rarg(x_27, x_14); -x_66 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__1; +x_65 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_65, 0, x_17); +lean_ctor_set(x_65, 1, x_64); +x_66 = l_Array_append___rarg(x_27, x_14); +x_67 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__1; lean_inc(x_17); -x_67 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_67, 0, x_17); -lean_ctor_set(x_67, 1, x_66); -x_68 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +x_68 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_68, 0, x_17); +lean_ctor_set(x_68, 1, x_67); +x_69 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_inc(x_17); -x_69 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_69, 0, x_17); -lean_ctor_set(x_69, 1, x_68); -x_70 = lean_array_push(x_39, x_69); -x_71 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +x_70 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_70, 0, x_17); +lean_ctor_set(x_70, 1, x_69); +x_71 = lean_array_push(x_39, x_70); +x_72 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; lean_inc(x_17); -x_72 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_72, 0, x_17); -lean_ctor_set(x_72, 1, x_71); -lean_ctor_set(x_72, 2, x_70); -x_73 = lean_array_push(x_39, x_72); +x_73 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_73, 0, x_17); +lean_ctor_set(x_73, 1, x_72); +lean_ctor_set(x_73, 2, x_71); +x_74 = lean_array_push(x_39, x_73); lean_inc(x_17); -x_74 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_74, 0, x_17); -lean_ctor_set(x_74, 1, x_29); -lean_ctor_set(x_74, 2, x_73); -x_75 = lean_array_push(x_39, x_74); +x_75 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_75, 0, x_17); +lean_ctor_set(x_75, 1, x_29); +lean_ctor_set(x_75, 2, x_74); +x_76 = lean_array_push(x_39, x_75); lean_inc(x_17); -x_76 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_76, 0, x_17); -lean_ctor_set(x_76, 1, x_29); -lean_ctor_set(x_76, 2, x_75); -x_77 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; +x_77 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_77, 0, x_17); +lean_ctor_set(x_77, 1, x_29); +lean_ctor_set(x_77, 2, x_76); +x_78 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; lean_inc(x_17); -x_78 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_78, 0, x_17); -lean_ctor_set(x_78, 1, x_77); -x_79 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +x_79 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_79, 0, x_17); +lean_ctor_set(x_79, 1, x_78); +x_80 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; lean_inc(x_17); -x_80 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_80, 0, x_17); -lean_ctor_set(x_80, 1, x_79); -x_81 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; +x_81 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_81, 0, x_17); +lean_ctor_set(x_81, 1, x_80); +x_82 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; lean_inc(x_20); lean_inc(x_24); -x_82 = l_Lean_addMacroScope(x_24, x_81, x_20); -x_83 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_84 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; +x_83 = l_Lean_addMacroScope(x_24, x_82, x_20); +x_84 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_85 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; lean_inc(x_17); -x_85 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_85, 0, x_17); -lean_ctor_set(x_85, 1, x_83); -lean_ctor_set(x_85, 2, x_82); -lean_ctor_set(x_85, 3, x_84); -x_86 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; -x_87 = l_Lean_addMacroScope(x_24, x_86, x_20); -x_88 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; -x_89 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; +x_86 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_86, 0, x_17); +lean_ctor_set(x_86, 1, x_84); +lean_ctor_set(x_86, 2, x_83); +lean_ctor_set(x_86, 3, x_85); +x_87 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +x_88 = l_Lean_addMacroScope(x_24, x_87, x_20); +x_89 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; +x_90 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; lean_inc(x_17); -x_90 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_90, 0, x_17); -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_39, x_90); +x_91 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_91, 0, x_17); +lean_ctor_set(x_91, 1, x_89); +lean_ctor_set(x_91, 2, x_88); +lean_ctor_set(x_91, 3, x_90); +x_92 = lean_array_push(x_39, x_91); lean_inc(x_17); -x_92 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_92, 0, x_17); -lean_ctor_set(x_92, 1, x_29); -lean_ctor_set(x_92, 2, x_91); -x_93 = lean_array_push(x_50, x_85); -x_94 = lean_array_push(x_93, x_92); -x_95 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +x_93 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_93, 0, x_17); +lean_ctor_set(x_93, 1, x_29); +lean_ctor_set(x_93, 2, x_92); +x_94 = lean_array_push(x_51, x_86); +x_95 = lean_array_push(x_94, x_93); +x_96 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; lean_inc(x_17); -x_96 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_96, 0, x_17); -lean_ctor_set(x_96, 1, x_95); -lean_ctor_set(x_96, 2, x_94); -x_97 = lean_array_push(x_50, x_80); -x_98 = lean_array_push(x_97, x_96); -x_99 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; +x_97 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_97, 0, x_17); +lean_ctor_set(x_97, 1, x_96); +lean_ctor_set(x_97, 2, x_95); +x_98 = lean_array_push(x_51, x_81); +x_99 = lean_array_push(x_98, x_97); +x_100 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; lean_inc(x_17); -x_100 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_100, 0, x_17); -lean_ctor_set(x_100, 1, x_99); -lean_ctor_set(x_100, 2, x_98); -x_101 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; -x_102 = lean_array_push(x_101, x_67); -x_103 = lean_array_push(x_102, x_76); -x_104 = lean_array_push(x_103, x_78); -x_105 = lean_array_push(x_104, x_100); -x_106 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___closed__8; +x_101 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_101, 0, x_17); +lean_ctor_set(x_101, 1, x_100); +lean_ctor_set(x_101, 2, x_99); +x_102 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; +x_103 = lean_array_push(x_102, x_68); +x_104 = lean_array_push(x_103, x_77); +x_105 = lean_array_push(x_104, x_79); +x_106 = lean_array_push(x_105, x_101); +x_107 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___closed__8; lean_inc(x_17); -x_107 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_107, 0, x_17); -lean_ctor_set(x_107, 1, x_106); -lean_ctor_set(x_107, 2, x_105); -x_108 = lean_array_push(x_65, x_107); +x_108 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_108, 0, x_17); +lean_ctor_set(x_108, 1, x_107); +lean_ctor_set(x_108, 2, x_106); +x_109 = lean_array_push(x_66, x_108); lean_inc(x_17); -x_109 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_109, 0, x_17); -lean_ctor_set(x_109, 1, x_29); -lean_ctor_set(x_109, 2, x_108); -x_110 = lean_array_push(x_39, x_109); -x_111 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +x_110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_110, 0, x_17); +lean_ctor_set(x_110, 1, x_29); +lean_ctor_set(x_110, 2, x_109); +x_111 = lean_array_push(x_39, x_110); +x_112 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; lean_inc(x_17); -x_112 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_112, 0, x_17); -lean_ctor_set(x_112, 1, x_111); -lean_ctor_set(x_112, 2, x_110); -x_113 = lean_array_push(x_50, x_64); -x_114 = lean_array_push(x_113, x_112); -x_115 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +x_113 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_113, 0, x_17); +lean_ctor_set(x_113, 1, x_112); +lean_ctor_set(x_113, 2, x_111); +x_114 = lean_array_push(x_51, x_65); +x_115 = lean_array_push(x_114, x_113); +x_116 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; lean_inc(x_17); -x_116 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_116, 0, x_17); -lean_ctor_set(x_116, 1, x_115); -lean_ctor_set(x_116, 2, x_114); +x_117 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_117, 0, x_17); +lean_ctor_set(x_117, 1, x_116); +lean_ctor_set(x_117, 2, x_115); if (lean_obj_tag(x_1) == 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; -x_117 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; +lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; +x_118 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; lean_inc(x_17); -x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_17); -lean_ctor_set(x_118, 1, x_29); -lean_ctor_set(x_118, 2, x_117); -x_119 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_120 = lean_array_push(x_119, x_118); -x_121 = lean_array_push(x_120, x_41); -x_122 = lean_array_push(x_121, x_43); -x_123 = lean_array_push(x_122, x_53); -x_124 = lean_array_push(x_123, x_55); -x_125 = lean_array_push(x_124, x_60); -x_126 = lean_array_push(x_125, x_62); -x_127 = lean_array_push(x_126, x_116); -x_128 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -x_129 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_129, 0, x_17); -lean_ctor_set(x_129, 1, x_128); -lean_ctor_set(x_129, 2, x_127); -lean_ctor_set(x_22, 0, x_129); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_17); +lean_ctor_set(x_119, 1, x_29); +lean_ctor_set(x_119, 2, x_118); +x_120 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_121 = lean_array_push(x_120, x_119); +x_122 = lean_array_push(x_121, x_41); +x_123 = lean_array_push(x_122, x_43); +x_124 = lean_array_push(x_123, x_54); +x_125 = lean_array_push(x_124, x_56); +x_126 = lean_array_push(x_125, x_61); +x_127 = lean_array_push(x_126, x_63); +x_128 = lean_array_push(x_127, x_117); +x_129 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_130 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_130, 0, x_17); +lean_ctor_set(x_130, 1, x_129); +lean_ctor_set(x_130, 2, x_128); +lean_ctor_set(x_22, 0, x_130); return x_22; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; -x_130 = lean_ctor_get(x_1, 0); -lean_inc(x_130); +lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_131 = lean_ctor_get(x_1, 0); +lean_inc(x_131); lean_dec(x_1); -x_131 = lean_array_push(x_39, x_130); -x_132 = l_Array_append___rarg(x_27, x_131); +x_132 = lean_array_push(x_39, x_131); +x_133 = l_Array_append___rarg(x_27, x_132); lean_inc(x_17); -x_133 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_133, 0, x_17); -lean_ctor_set(x_133, 1, x_29); -lean_ctor_set(x_133, 2, x_132); -x_134 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_135 = lean_array_push(x_134, x_133); -x_136 = lean_array_push(x_135, x_41); -x_137 = lean_array_push(x_136, x_43); -x_138 = lean_array_push(x_137, x_53); -x_139 = lean_array_push(x_138, x_55); -x_140 = lean_array_push(x_139, x_60); -x_141 = lean_array_push(x_140, x_62); -x_142 = lean_array_push(x_141, x_116); -x_143 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -x_144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_144, 0, x_17); -lean_ctor_set(x_144, 1, x_143); -lean_ctor_set(x_144, 2, x_142); -lean_ctor_set(x_22, 0, x_144); +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_17); +lean_ctor_set(x_134, 1, x_29); +lean_ctor_set(x_134, 2, x_133); +x_135 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_136 = lean_array_push(x_135, x_134); +x_137 = lean_array_push(x_136, x_41); +x_138 = lean_array_push(x_137, x_43); +x_139 = lean_array_push(x_138, x_54); +x_140 = lean_array_push(x_139, x_56); +x_141 = lean_array_push(x_140, x_61); +x_142 = lean_array_push(x_141, x_63); +x_143 = lean_array_push(x_142, x_117); +x_144 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_17); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 2, x_143); +lean_ctor_set(x_22, 0, x_145); return x_22; } } else { -lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_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; -x_145 = lean_ctor_get(x_22, 0); -x_146 = lean_ctor_get(x_22, 1); +lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t 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; +x_146 = lean_ctor_get(x_22, 0); +x_147 = lean_ctor_get(x_22, 1); +lean_inc(x_147); lean_inc(x_146); -lean_inc(x_145); lean_dec(x_22); -x_147 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +x_148 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; lean_inc(x_17); -x_148 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_148, 0, x_17); -lean_ctor_set(x_148, 1, x_147); -x_149 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__4; -x_150 = l_Array_append___rarg(x_149, x_16); -x_151 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__3; +x_149 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_149, 0, x_17); +lean_ctor_set(x_149, 1, x_148); +x_150 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__4; +x_151 = l_Array_append___rarg(x_150, x_16); +x_152 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__3; lean_inc(x_17); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_17); -lean_ctor_set(x_152, 1, x_151); -lean_ctor_set(x_152, 2, x_150); -x_153 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_17); +lean_ctor_set(x_153, 1, x_152); +lean_ctor_set(x_153, 2, x_151); +x_154 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; lean_inc(x_17); -x_154 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_154, 0, x_17); -lean_ctor_set(x_154, 1, x_153); -x_155 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_156 = lean_array_push(x_155, x_148); -x_157 = lean_array_push(x_156, x_152); -x_158 = lean_array_push(x_157, x_154); -x_159 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; +x_155 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_155, 0, x_17); +lean_ctor_set(x_155, 1, x_154); +x_156 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_157 = lean_array_push(x_156, x_149); +x_158 = lean_array_push(x_157, x_153); +x_159 = lean_array_push(x_158, x_155); +x_160 = l_Lean_Elab_Command_elabMacroRulesAux___closed__8; lean_inc(x_17); -x_160 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_160, 0, x_17); -lean_ctor_set(x_160, 1, x_159); -lean_ctor_set(x_160, 2, x_158); -x_161 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; -x_162 = lean_array_push(x_161, x_160); +x_161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_161, 0, x_17); +lean_ctor_set(x_161, 1, x_160); +lean_ctor_set(x_161, 2, x_159); +x_162 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; +x_163 = lean_array_push(x_162, x_161); lean_inc(x_17); -x_163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_163, 0, x_17); -lean_ctor_set(x_163, 1, x_151); -lean_ctor_set(x_163, 2, x_162); -x_164 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_17); +lean_ctor_set(x_164, 1, x_152); +lean_ctor_set(x_164, 2, x_163); +x_165 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; lean_inc(x_17); -x_165 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_165, 0, x_17); -lean_ctor_set(x_165, 1, x_164); -x_166 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; +x_166 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_166, 0, x_17); +lean_ctor_set(x_166, 1, x_165); +x_167 = l_Lean_Elab_Command_elabMacroRulesAux___closed__15; lean_inc(x_20); -lean_inc(x_145); -x_167 = l_Lean_addMacroScope(x_145, x_166, x_20); -x_168 = lean_box(0); -x_169 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; +lean_inc(x_146); +x_168 = l_Lean_addMacroScope(x_146, x_167, x_20); +x_169 = lean_box(0); +x_170 = l_Lean_Elab_Command_elabMacroRulesAux___closed__14; lean_inc(x_17); -x_170 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_170, 0, x_17); -lean_ctor_set(x_170, 1, x_169); -lean_ctor_set(x_170, 2, x_167); -lean_ctor_set(x_170, 3, x_168); -x_171 = l_Lean_mkIdentFrom(x_4, x_5); -x_172 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_173 = lean_array_push(x_172, x_170); -x_174 = lean_array_push(x_173, x_171); +x_171 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_171, 0, x_17); +lean_ctor_set(x_171, 1, x_170); +lean_ctor_set(x_171, 2, x_168); +lean_ctor_set(x_171, 3, x_169); +x_172 = 1; +x_173 = l_Lean_mkIdentFrom(x_4, x_5, x_172); +x_174 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_175 = lean_array_push(x_174, x_171); +x_176 = lean_array_push(x_175, x_173); lean_inc(x_17); -x_175 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_175, 0, x_17); -lean_ctor_set(x_175, 1, x_151); -lean_ctor_set(x_175, 2, x_174); -x_176 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_17); -x_177 = lean_alloc_ctor(2, 2, 0); +x_177 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_177, 0, x_17); -lean_ctor_set(x_177, 1, x_176); -x_178 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +lean_ctor_set(x_177, 1, x_152); +lean_ctor_set(x_177, 2, x_176); +x_178 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_17); +x_179 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_179, 0, x_17); +lean_ctor_set(x_179, 1, x_178); +x_180 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; lean_inc(x_20); -lean_inc(x_145); -x_179 = l_Lean_addMacroScope(x_145, x_178, x_20); -x_180 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -x_181 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; +lean_inc(x_146); +x_181 = l_Lean_addMacroScope(x_146, x_180, x_20); +x_182 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__26; lean_inc(x_17); -x_182 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_182, 0, x_17); -lean_ctor_set(x_182, 1, x_180); -lean_ctor_set(x_182, 2, x_179); -lean_ctor_set(x_182, 3, x_181); -x_183 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; -lean_inc(x_17); -x_184 = lean_alloc_ctor(2, 2, 0); +x_184 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_184, 0, x_17); -lean_ctor_set(x_184, 1, x_183); -x_185 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_ctor_set(x_184, 1, x_182); +lean_ctor_set(x_184, 2, x_181); +lean_ctor_set(x_184, 3, x_183); +x_185 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; lean_inc(x_17); x_186 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_186, 0, x_17); lean_ctor_set(x_186, 1, x_185); -x_187 = l_Array_append___rarg(x_149, x_14); -x_188 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__1; +x_187 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_inc(x_17); -x_189 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_189, 0, x_17); -lean_ctor_set(x_189, 1, x_188); -x_190 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; +x_188 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_188, 0, x_17); +lean_ctor_set(x_188, 1, x_187); +x_189 = l_Array_append___rarg(x_150, x_14); +x_190 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__1; lean_inc(x_17); x_191 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_191, 0, x_17); lean_ctor_set(x_191, 1, x_190); -x_192 = lean_array_push(x_161, x_191); -x_193 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; +x_192 = l_Lean_Elab_Command_elabMacroRulesAux___closed__34; lean_inc(x_17); -x_194 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_194, 0, x_17); -lean_ctor_set(x_194, 1, x_193); -lean_ctor_set(x_194, 2, x_192); -x_195 = lean_array_push(x_161, x_194); +x_193 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_193, 0, x_17); +lean_ctor_set(x_193, 1, x_192); +x_194 = lean_array_push(x_162, x_193); +x_195 = l_Lean_Elab_Command_elabMacroRulesAux___closed__33; lean_inc(x_17); x_196 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_196, 0, x_17); -lean_ctor_set(x_196, 1, x_151); -lean_ctor_set(x_196, 2, x_195); -x_197 = lean_array_push(x_161, x_196); +lean_ctor_set(x_196, 1, x_195); +lean_ctor_set(x_196, 2, x_194); +x_197 = lean_array_push(x_162, x_196); lean_inc(x_17); x_198 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_198, 0, x_17); -lean_ctor_set(x_198, 1, x_151); +lean_ctor_set(x_198, 1, x_152); lean_ctor_set(x_198, 2, x_197); -x_199 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; +x_199 = lean_array_push(x_162, x_198); lean_inc(x_17); -x_200 = lean_alloc_ctor(2, 2, 0); +x_200 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_200, 0, x_17); -lean_ctor_set(x_200, 1, x_199); -x_201 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +lean_ctor_set(x_200, 1, x_152); +lean_ctor_set(x_200, 2, x_199); +x_201 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; lean_inc(x_17); x_202 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_202, 0, x_17); lean_ctor_set(x_202, 1, x_201); -x_203 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; +x_203 = l_Lean_Elab_Command_elabMacroRulesAux___closed__37; +lean_inc(x_17); +x_204 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_204, 0, x_17); +lean_ctor_set(x_204, 1, x_203); +x_205 = l_Lean_Elab_Command_elabMacroRulesAux___closed__43; lean_inc(x_20); -lean_inc(x_145); -x_204 = l_Lean_addMacroScope(x_145, x_203, x_20); -x_205 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; -x_206 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; +lean_inc(x_146); +x_206 = l_Lean_addMacroScope(x_146, x_205, x_20); +x_207 = l_Lean_Elab_Command_elabMacroRulesAux___closed__42; +x_208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__48; lean_inc(x_17); -x_207 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_207, 0, x_17); -lean_ctor_set(x_207, 1, x_205); -lean_ctor_set(x_207, 2, x_204); -lean_ctor_set(x_207, 3, x_206); -x_208 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; -x_209 = l_Lean_addMacroScope(x_145, x_208, x_20); -x_210 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; -x_211 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; +x_209 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_209, 0, x_17); +lean_ctor_set(x_209, 1, x_207); +lean_ctor_set(x_209, 2, x_206); +lean_ctor_set(x_209, 3, x_208); +x_210 = l_Lean_Elab_Command_elabMacroRulesAux___closed__55; +x_211 = l_Lean_addMacroScope(x_146, x_210, x_20); +x_212 = l_Lean_Elab_Command_elabMacroRulesAux___closed__51; +x_213 = l_Lean_Elab_Command_elabMacroRulesAux___closed__59; lean_inc(x_17); -x_212 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_212, 0, x_17); -lean_ctor_set(x_212, 1, x_210); -lean_ctor_set(x_212, 2, x_209); -lean_ctor_set(x_212, 3, x_211); -x_213 = lean_array_push(x_161, x_212); -lean_inc(x_17); -x_214 = lean_alloc_ctor(1, 3, 0); +x_214 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_214, 0, x_17); -lean_ctor_set(x_214, 1, x_151); -lean_ctor_set(x_214, 2, x_213); -x_215 = lean_array_push(x_172, x_207); -x_216 = lean_array_push(x_215, x_214); -x_217 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; +lean_ctor_set(x_214, 1, x_212); +lean_ctor_set(x_214, 2, x_211); +lean_ctor_set(x_214, 3, x_213); +x_215 = lean_array_push(x_162, x_214); lean_inc(x_17); -x_218 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_218, 0, x_17); -lean_ctor_set(x_218, 1, x_217); -lean_ctor_set(x_218, 2, x_216); -x_219 = lean_array_push(x_172, x_202); -x_220 = lean_array_push(x_219, x_218); -x_221 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; +x_216 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_216, 0, x_17); +lean_ctor_set(x_216, 1, x_152); +lean_ctor_set(x_216, 2, x_215); +x_217 = lean_array_push(x_174, x_209); +x_218 = lean_array_push(x_217, x_216); +x_219 = l_Lean_Elab_Command_elabMacroRulesAux___closed__39; lean_inc(x_17); -x_222 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_222, 0, x_17); -lean_ctor_set(x_222, 1, x_221); -lean_ctor_set(x_222, 2, x_220); -x_223 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; -x_224 = lean_array_push(x_223, x_189); -x_225 = lean_array_push(x_224, x_198); -x_226 = lean_array_push(x_225, x_200); -x_227 = lean_array_push(x_226, x_222); -x_228 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___closed__8; +x_220 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_220, 0, x_17); +lean_ctor_set(x_220, 1, x_219); +lean_ctor_set(x_220, 2, x_218); +x_221 = lean_array_push(x_174, x_204); +x_222 = lean_array_push(x_221, x_220); +x_223 = l_Lean_Elab_Command_elabMacroRulesAux___closed__36; lean_inc(x_17); -x_229 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_229, 0, x_17); -lean_ctor_set(x_229, 1, x_228); -lean_ctor_set(x_229, 2, x_227); -x_230 = lean_array_push(x_187, x_229); +x_224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_224, 0, x_17); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set(x_224, 2, x_222); +x_225 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; +x_226 = lean_array_push(x_225, x_191); +x_227 = lean_array_push(x_226, x_200); +x_228 = lean_array_push(x_227, x_202); +x_229 = lean_array_push(x_228, x_224); +x_230 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___closed__8; lean_inc(x_17); x_231 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_231, 0, x_17); -lean_ctor_set(x_231, 1, x_151); -lean_ctor_set(x_231, 2, x_230); -x_232 = lean_array_push(x_161, x_231); -x_233 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; +lean_ctor_set(x_231, 1, x_230); +lean_ctor_set(x_231, 2, x_229); +x_232 = lean_array_push(x_189, x_231); lean_inc(x_17); -x_234 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_234, 0, x_17); -lean_ctor_set(x_234, 1, x_233); -lean_ctor_set(x_234, 2, x_232); -x_235 = lean_array_push(x_172, x_186); -x_236 = lean_array_push(x_235, x_234); -x_237 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; +x_233 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_233, 0, x_17); +lean_ctor_set(x_233, 1, x_152); +lean_ctor_set(x_233, 2, x_232); +x_234 = lean_array_push(x_162, x_233); +x_235 = l_Lean_Elab_Command_elabMacroRulesAux___closed__31; lean_inc(x_17); -x_238 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_238, 0, x_17); -lean_ctor_set(x_238, 1, x_237); -lean_ctor_set(x_238, 2, x_236); -if (lean_obj_tag(x_1) == 0) -{ -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; -x_239 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; +x_236 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_236, 0, x_17); +lean_ctor_set(x_236, 1, x_235); +lean_ctor_set(x_236, 2, x_234); +x_237 = lean_array_push(x_174, x_188); +x_238 = lean_array_push(x_237, x_236); +x_239 = l_Lean_Elab_Command_elabMacroRulesAux___closed__29; lean_inc(x_17); x_240 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_240, 0, x_17); -lean_ctor_set(x_240, 1, x_151); -lean_ctor_set(x_240, 2, x_239); -x_241 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_242 = lean_array_push(x_241, x_240); -x_243 = lean_array_push(x_242, x_163); -x_244 = lean_array_push(x_243, x_165); -x_245 = lean_array_push(x_244, x_175); -x_246 = lean_array_push(x_245, x_177); -x_247 = lean_array_push(x_246, x_182); -x_248 = lean_array_push(x_247, x_184); -x_249 = lean_array_push(x_248, x_238); -x_250 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -x_251 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_251, 0, x_17); -lean_ctor_set(x_251, 1, x_250); -lean_ctor_set(x_251, 2, x_249); -x_252 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_252, 0, x_251); -lean_ctor_set(x_252, 1, x_146); -return x_252; -} -else +lean_ctor_set(x_240, 1, x_239); +lean_ctor_set(x_240, 2, x_238); +if (lean_obj_tag(x_1) == 0) { -lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; -x_253 = lean_ctor_get(x_1, 0); -lean_inc(x_253); -lean_dec(x_1); -x_254 = lean_array_push(x_161, x_253); -x_255 = l_Array_append___rarg(x_149, x_254); +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; +x_241 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; lean_inc(x_17); -x_256 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_256, 0, x_17); -lean_ctor_set(x_256, 1, x_151); -lean_ctor_set(x_256, 2, x_255); -x_257 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_258 = lean_array_push(x_257, x_256); -x_259 = lean_array_push(x_258, x_163); -x_260 = lean_array_push(x_259, x_165); -x_261 = lean_array_push(x_260, x_175); -x_262 = lean_array_push(x_261, x_177); -x_263 = lean_array_push(x_262, x_182); -x_264 = lean_array_push(x_263, x_184); -x_265 = lean_array_push(x_264, x_238); -x_266 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; -x_267 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_267, 0, x_17); -lean_ctor_set(x_267, 1, x_266); -lean_ctor_set(x_267, 2, x_265); -x_268 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_268, 0, x_267); -lean_ctor_set(x_268, 1, x_146); -return x_268; +x_242 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_242, 0, x_17); +lean_ctor_set(x_242, 1, x_152); +lean_ctor_set(x_242, 2, x_241); +x_243 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_244 = lean_array_push(x_243, x_242); +x_245 = lean_array_push(x_244, x_164); +x_246 = lean_array_push(x_245, x_166); +x_247 = lean_array_push(x_246, x_177); +x_248 = lean_array_push(x_247, x_179); +x_249 = lean_array_push(x_248, x_184); +x_250 = lean_array_push(x_249, x_186); +x_251 = lean_array_push(x_250, x_240); +x_252 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_253 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_253, 0, x_17); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set(x_253, 2, x_251); +x_254 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_254, 0, x_253); +lean_ctor_set(x_254, 1, x_147); +return x_254; +} +else +{ +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; +x_255 = lean_ctor_get(x_1, 0); +lean_inc(x_255); +lean_dec(x_1); +x_256 = lean_array_push(x_162, x_255); +x_257 = l_Array_append___rarg(x_150, x_256); +lean_inc(x_17); +x_258 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_258, 0, x_17); +lean_ctor_set(x_258, 1, x_152); +lean_ctor_set(x_258, 2, x_257); +x_259 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_260 = lean_array_push(x_259, x_258); +x_261 = lean_array_push(x_260, x_164); +x_262 = lean_array_push(x_261, x_166); +x_263 = lean_array_push(x_262, x_177); +x_264 = lean_array_push(x_263, x_179); +x_265 = lean_array_push(x_264, x_184); +x_266 = lean_array_push(x_265, x_186); +x_267 = lean_array_push(x_266, x_240); +x_268 = l_Lean_Elab_Command_elabMacroRulesAux___closed__6; +x_269 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_269, 0, x_17); +lean_ctor_set(x_269, 1, x_268); +lean_ctor_set(x_269, 2, x_267); +x_270 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_270, 0, x_269); +lean_ctor_set(x_270, 1, x_147); +return x_270; } } } } else { -uint8_t x_303; +uint8_t x_305; lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_303 = !lean_is_exclusive(x_13); -if (x_303 == 0) +x_305 = !lean_is_exclusive(x_13); +if (x_305 == 0) { return x_13; } else { -lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_304 = lean_ctor_get(x_13, 0); -x_305 = lean_ctor_get(x_13, 1); -lean_inc(x_305); -lean_inc(x_304); +lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_306 = lean_ctor_get(x_13, 0); +x_307 = lean_ctor_get(x_13, 1); +lean_inc(x_307); +lean_inc(x_306); lean_dec(x_13); -x_306 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_306, 0, x_304); -lean_ctor_set(x_306, 1, x_305); -return x_306; +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_306); +lean_ctor_set(x_308, 1, x_307); +return x_308; } } } @@ -3873,91 +3875,91 @@ lean_dec(x_249); x_254 = !lean_is_exclusive(x_8); if (x_254 == 0) { -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; +lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; x_255 = lean_ctor_get(x_8, 6); lean_dec(x_255); lean_ctor_set(x_8, 6, x_253); -x_448 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_252); -x_449 = lean_ctor_get(x_448, 0); -lean_inc(x_449); -x_450 = lean_ctor_get(x_448, 1); -lean_inc(x_450); -lean_dec(x_448); -x_451 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_450); -x_452 = lean_ctor_get(x_451, 1); +x_450 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_252); +x_451 = lean_ctor_get(x_450, 0); +lean_inc(x_451); +x_452 = lean_ctor_get(x_450, 1); lean_inc(x_452); -lean_dec(x_451); -x_453 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_452); +lean_dec(x_450); +x_453 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_452); x_454 = lean_ctor_get(x_453, 1); lean_inc(x_454); lean_dec(x_453); -x_455 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; +x_455 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_454); +x_456 = lean_ctor_get(x_455, 1); +lean_inc(x_456); +lean_dec(x_455); +x_457 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; lean_inc(x_14); -x_456 = l_Lean_Name_str___override(x_14, x_455); -x_457 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; -x_458 = l_Lean_Name_str___override(x_2, x_457); -x_459 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; -x_460 = l_Lean_Name_str___override(x_458, x_459); -lean_inc(x_449); -x_461 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_461, 0, x_449); -lean_ctor_set(x_461, 1, x_459); -x_462 = lean_array_push(x_244, x_461); +x_458 = l_Lean_Name_str___override(x_14, x_457); +x_459 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; +x_460 = l_Lean_Name_str___override(x_2, x_459); +x_461 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; +x_462 = l_Lean_Name_str___override(x_460, x_461); +lean_inc(x_451); +x_463 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_463, 0, x_451); +lean_ctor_set(x_463, 1, x_461); +x_464 = lean_array_push(x_244, x_463); lean_inc(x_28); -x_463 = lean_array_push(x_462, x_28); -lean_inc(x_449); -x_464 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_464, 0, x_449); -lean_ctor_set(x_464, 1, x_460); -lean_ctor_set(x_464, 2, x_463); -x_465 = lean_array_push(x_244, x_12); -x_466 = lean_array_push(x_465, x_464); -x_467 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_467, 0, x_449); -lean_ctor_set(x_467, 1, x_456); -lean_ctor_set(x_467, 2, x_466); -x_468 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_454); +x_465 = lean_array_push(x_464, x_28); +lean_inc(x_451); +x_466 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_466, 0, x_451); +lean_ctor_set(x_466, 1, x_462); +lean_ctor_set(x_466, 2, x_465); +x_467 = lean_array_push(x_244, x_12); +x_468 = lean_array_push(x_467, x_466); +x_469 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_469, 0, x_451); +lean_ctor_set(x_469, 1, x_458); +lean_ctor_set(x_469, 2, x_468); +x_470 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_8, x_9, x_456); if (lean_obj_tag(x_7) == 0) { -lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; -x_469 = lean_ctor_get(x_468, 0); -lean_inc(x_469); -x_470 = lean_ctor_get(x_468, 1); -lean_inc(x_470); -lean_dec(x_468); -x_471 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; -x_472 = lean_array_push(x_471, x_467); -x_473 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; -x_474 = l_Lean_mkSepArray(x_472, x_473); -lean_dec(x_472); -x_256 = x_474; -x_257 = x_469; -x_258 = x_470; -goto block_447; +lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; +x_471 = lean_ctor_get(x_470, 0); +lean_inc(x_471); +x_472 = lean_ctor_get(x_470, 1); +lean_inc(x_472); +lean_dec(x_470); +x_473 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; +x_474 = lean_array_push(x_473, x_469); +x_475 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_476 = l_Lean_mkSepArray(x_474, x_475); +lean_dec(x_474); +x_256 = x_476; +x_257 = x_471; +x_258 = x_472; +goto block_449; } else { -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; -x_475 = lean_ctor_get(x_7, 0); -lean_inc(x_475); -lean_dec(x_7); -x_476 = lean_ctor_get(x_468, 0); -lean_inc(x_476); -x_477 = lean_ctor_get(x_468, 1); +lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; +x_477 = lean_ctor_get(x_7, 0); lean_inc(x_477); -lean_dec(x_468); -x_478 = l_Lean_Syntax_TSepArray_getElems___rarg(x_475); -lean_dec(x_475); -x_479 = lean_array_push(x_478, x_467); -x_480 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; -x_481 = l_Lean_mkSepArray(x_479, x_480); -lean_dec(x_479); -x_256 = x_481; -x_257 = x_476; -x_258 = x_477; -goto block_447; +lean_dec(x_7); +x_478 = lean_ctor_get(x_470, 0); +lean_inc(x_478); +x_479 = lean_ctor_get(x_470, 1); +lean_inc(x_479); +lean_dec(x_470); +x_480 = l_Lean_Syntax_TSepArray_getElems___rarg(x_477); +lean_dec(x_477); +x_481 = lean_array_push(x_480, x_469); +x_482 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_483 = l_Lean_mkSepArray(x_481, x_482); +lean_dec(x_481); +x_256 = x_483; +x_257 = x_478; +x_258 = x_479; +goto block_449; } -block_447: +block_449: { lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; uint8_t x_263; x_259 = l_Lean_Elab_Command_getCurrMacroScope(x_8, x_9, x_258); @@ -3972,7 +3974,7 @@ lean_dec(x_9); x_263 = !lean_is_exclusive(x_262); if (x_263 == 0) { -lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; +lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; uint8_t x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; x_264 = lean_ctor_get(x_262, 0); x_265 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; lean_inc(x_4); @@ -4022,674 +4024,677 @@ x_288 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_288, 0, x_257); lean_ctor_set(x_288, 1, x_269); x_289 = l_Lean_Syntax_getId(x_28); -x_290 = l_Lean_mkIdentFrom(x_20, x_289); -x_291 = lean_array_push(x_244, x_290); -x_292 = lean_array_push(x_291, x_28); +x_290 = 1; +x_291 = l_Lean_mkIdentFrom(x_20, x_289, x_290); +x_292 = lean_array_push(x_244, x_291); +x_293 = lean_array_push(x_292, x_28); lean_inc(x_257); -x_293 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_293, 0, x_257); -lean_ctor_set(x_293, 1, x_248); -lean_ctor_set(x_293, 2, x_292); -x_294 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_294 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_294, 0, x_257); +lean_ctor_set(x_294, 1, x_248); +lean_ctor_set(x_294, 2, x_293); +x_295 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; lean_inc(x_257); -x_295 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_295, 0, x_257); -lean_ctor_set(x_295, 1, x_294); -x_296 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_297 = l_Lean_addMacroScope(x_264, x_296, x_260); -x_298 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -x_299 = l_Lean_Name_str___override(x_4, x_298); -x_300 = lean_box(0); -lean_inc(x_299); -x_301 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_301, 0, x_299); -lean_ctor_set(x_301, 1, x_300); -x_302 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_302, 0, x_299); -x_303 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_303, 0, x_302); -lean_ctor_set(x_303, 1, x_300); +x_296 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_296, 0, x_257); +lean_ctor_set(x_296, 1, x_295); +x_297 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_298 = l_Lean_addMacroScope(x_264, x_297, x_260); +x_299 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +x_300 = l_Lean_Name_str___override(x_4, x_299); +x_301 = lean_box(0); +lean_inc(x_300); +x_302 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_302, 0, x_300); +lean_ctor_set(x_302, 1, x_301); +x_303 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_303, 0, x_300); x_304 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_304, 0, x_301); -lean_ctor_set(x_304, 1, x_303); -x_305 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +lean_ctor_set(x_304, 0, x_303); +lean_ctor_set(x_304, 1, x_301); +x_305 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_305, 0, x_302); +lean_ctor_set(x_305, 1, x_304); +x_306 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; lean_inc(x_257); -x_306 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_306, 0, x_257); -lean_ctor_set(x_306, 1, x_305); -lean_ctor_set(x_306, 2, x_297); -lean_ctor_set(x_306, 3, x_304); -x_307 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +x_307 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_307, 0, x_257); +lean_ctor_set(x_307, 1, x_306); +lean_ctor_set(x_307, 2, x_298); +lean_ctor_set(x_307, 3, x_305); +x_308 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; lean_inc(x_257); -x_308 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_308, 0, x_257); -lean_ctor_set(x_308, 1, x_307); -x_309 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +x_309 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_309, 0, x_257); +lean_ctor_set(x_309, 1, x_308); +x_310 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_inc(x_14); -x_310 = l_Lean_Name_str___override(x_14, x_309); +x_311 = l_Lean_Name_str___override(x_14, x_310); lean_inc(x_257); -x_311 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_311, 0, x_257); -lean_ctor_set(x_311, 1, x_309); -x_312 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; -x_313 = l_Lean_Name_str___override(x_14, x_312); -x_314 = lean_array_push(x_285, x_201); -lean_inc(x_257); -x_315 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_315, 0, x_257); -lean_ctor_set(x_315, 1, x_248); -lean_ctor_set(x_315, 2, x_314); +x_312 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_312, 0, x_257); +lean_ctor_set(x_312, 1, x_310); +x_313 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +x_314 = l_Lean_Name_str___override(x_14, x_313); +x_315 = lean_array_push(x_285, x_201); lean_inc(x_257); x_316 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_316, 0, x_257); lean_ctor_set(x_316, 1, x_248); -lean_ctor_set(x_316, 2, x_275); -x_317 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; +lean_ctor_set(x_316, 2, x_315); lean_inc(x_257); -x_318 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_318, 0, x_257); -lean_ctor_set(x_318, 1, x_317); -x_319 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; -x_320 = lean_array_push(x_319, x_315); +x_317 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_317, 0, x_257); +lean_ctor_set(x_317, 1, x_248); +lean_ctor_set(x_317, 2, x_275); +x_318 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_257); +x_319 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_319, 0, x_257); +lean_ctor_set(x_319, 1, x_318); +x_320 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; x_321 = lean_array_push(x_320, x_316); -x_322 = lean_array_push(x_321, x_318); -x_323 = lean_array_push(x_322, x_243); +x_322 = lean_array_push(x_321, x_317); +x_323 = lean_array_push(x_322, x_319); +x_324 = lean_array_push(x_323, x_243); lean_inc(x_257); -x_324 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_324, 0, x_257); -lean_ctor_set(x_324, 1, x_313); -lean_ctor_set(x_324, 2, x_323); -x_325 = lean_array_push(x_244, x_311); -x_326 = lean_array_push(x_325, x_324); +x_325 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_325, 0, x_257); +lean_ctor_set(x_325, 1, x_314); +lean_ctor_set(x_325, 2, x_324); +x_326 = lean_array_push(x_244, x_312); +x_327 = lean_array_push(x_326, x_325); lean_inc(x_257); -x_327 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_327, 0, x_257); -lean_ctor_set(x_327, 1, x_310); -lean_ctor_set(x_327, 2, x_326); +x_328 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_328, 0, x_257); +lean_ctor_set(x_328, 1, x_311); +lean_ctor_set(x_328, 2, x_327); if (lean_obj_tag(x_3) == 0) { -lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_328 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; +lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; +x_329 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; lean_inc(x_257); -x_329 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_329, 0, x_257); -lean_ctor_set(x_329, 1, x_248); -lean_ctor_set(x_329, 2, x_328); -x_330 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_331 = lean_array_push(x_330, x_329); -x_332 = lean_array_push(x_331, x_287); -x_333 = lean_array_push(x_332, x_288); -x_334 = lean_array_push(x_333, x_293); -x_335 = lean_array_push(x_334, x_295); -x_336 = lean_array_push(x_335, x_306); -x_337 = lean_array_push(x_336, x_308); -x_338 = lean_array_push(x_337, x_327); -x_339 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_339, 0, x_257); -lean_ctor_set(x_339, 1, x_270); -lean_ctor_set(x_339, 2, x_338); -lean_ctor_set(x_262, 0, x_339); +x_330 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_330, 0, x_257); +lean_ctor_set(x_330, 1, x_248); +lean_ctor_set(x_330, 2, x_329); +x_331 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_332 = lean_array_push(x_331, x_330); +x_333 = lean_array_push(x_332, x_287); +x_334 = lean_array_push(x_333, x_288); +x_335 = lean_array_push(x_334, x_294); +x_336 = lean_array_push(x_335, x_296); +x_337 = lean_array_push(x_336, x_307); +x_338 = lean_array_push(x_337, x_309); +x_339 = lean_array_push(x_338, x_328); +x_340 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_340, 0, x_257); +lean_ctor_set(x_340, 1, x_270); +lean_ctor_set(x_340, 2, x_339); +lean_ctor_set(x_262, 0, x_340); return x_262; } else { -lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; -x_340 = lean_ctor_get(x_3, 0); -lean_inc(x_340); +lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; +x_341 = lean_ctor_get(x_3, 0); +lean_inc(x_341); lean_dec(x_3); -x_341 = lean_array_push(x_285, x_340); -x_342 = l_Array_append___rarg(x_275, x_341); +x_342 = lean_array_push(x_285, x_341); +x_343 = l_Array_append___rarg(x_275, x_342); lean_inc(x_257); -x_343 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_343, 0, x_257); -lean_ctor_set(x_343, 1, x_248); -lean_ctor_set(x_343, 2, x_342); -x_344 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_345 = lean_array_push(x_344, x_343); -x_346 = lean_array_push(x_345, x_287); -x_347 = lean_array_push(x_346, x_288); -x_348 = lean_array_push(x_347, x_293); -x_349 = lean_array_push(x_348, x_295); -x_350 = lean_array_push(x_349, x_306); -x_351 = lean_array_push(x_350, x_308); -x_352 = lean_array_push(x_351, x_327); -x_353 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_353, 0, x_257); -lean_ctor_set(x_353, 1, x_270); -lean_ctor_set(x_353, 2, x_352); -lean_ctor_set(x_262, 0, x_353); +x_344 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_344, 0, x_257); +lean_ctor_set(x_344, 1, x_248); +lean_ctor_set(x_344, 2, x_343); +x_345 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_346 = lean_array_push(x_345, x_344); +x_347 = lean_array_push(x_346, x_287); +x_348 = lean_array_push(x_347, x_288); +x_349 = lean_array_push(x_348, x_294); +x_350 = lean_array_push(x_349, x_296); +x_351 = lean_array_push(x_350, x_307); +x_352 = lean_array_push(x_351, x_309); +x_353 = lean_array_push(x_352, x_328); +x_354 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_354, 0, x_257); +lean_ctor_set(x_354, 1, x_270); +lean_ctor_set(x_354, 2, x_353); +lean_ctor_set(x_262, 0, x_354); return x_262; } } else { -lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; -x_354 = lean_ctor_get(x_262, 0); -x_355 = lean_ctor_get(x_262, 1); +lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; uint8_t x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; +x_355 = lean_ctor_get(x_262, 0); +x_356 = lean_ctor_get(x_262, 1); +lean_inc(x_356); lean_inc(x_355); -lean_inc(x_354); lean_dec(x_262); -x_356 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +x_357 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; lean_inc(x_4); -x_357 = l_Lean_Name_str___override(x_4, x_356); -x_358 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; -x_359 = l_Lean_Name_str___override(x_357, x_358); -x_360 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; -x_361 = l_Lean_Name_str___override(x_359, x_360); -x_362 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +x_358 = l_Lean_Name_str___override(x_4, x_357); +x_359 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; +x_360 = l_Lean_Name_str___override(x_358, x_359); +x_361 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_362 = l_Lean_Name_str___override(x_360, x_361); +x_363 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; lean_inc(x_14); -x_363 = l_Lean_Name_str___override(x_14, x_362); -x_364 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +x_364 = l_Lean_Name_str___override(x_14, x_363); +x_365 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; lean_inc(x_257); -x_365 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_365, 0, x_257); -lean_ctor_set(x_365, 1, x_364); -x_366 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__4; -x_367 = l_Array_append___rarg(x_366, x_256); +x_366 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_366, 0, x_257); +lean_ctor_set(x_366, 1, x_365); +x_367 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__4; +x_368 = l_Array_append___rarg(x_367, x_256); lean_inc(x_257); -x_368 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_368, 0, x_257); -lean_ctor_set(x_368, 1, x_248); -lean_ctor_set(x_368, 2, x_367); -x_369 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +x_369 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_369, 0, x_257); +lean_ctor_set(x_369, 1, x_248); +lean_ctor_set(x_369, 2, x_368); +x_370 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; lean_inc(x_257); -x_370 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_370, 0, x_257); -lean_ctor_set(x_370, 1, x_369); -x_371 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_372 = lean_array_push(x_371, x_365); -x_373 = lean_array_push(x_372, x_368); -x_374 = lean_array_push(x_373, x_370); +x_371 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_371, 0, x_257); +lean_ctor_set(x_371, 1, x_370); +x_372 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_373 = lean_array_push(x_372, x_366); +x_374 = lean_array_push(x_373, x_369); +x_375 = lean_array_push(x_374, x_371); lean_inc(x_257); -x_375 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_375, 0, x_257); -lean_ctor_set(x_375, 1, x_363); -lean_ctor_set(x_375, 2, x_374); -x_376 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; -x_377 = lean_array_push(x_376, x_375); +x_376 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_376, 0, x_257); +lean_ctor_set(x_376, 1, x_364); +lean_ctor_set(x_376, 2, x_375); +x_377 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; +x_378 = lean_array_push(x_377, x_376); lean_inc(x_257); -x_378 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_378, 0, x_257); -lean_ctor_set(x_378, 1, x_248); -lean_ctor_set(x_378, 2, x_377); -lean_inc(x_257); -x_379 = lean_alloc_ctor(2, 2, 0); +x_379 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_379, 0, x_257); -lean_ctor_set(x_379, 1, x_360); -x_380 = l_Lean_Syntax_getId(x_28); -x_381 = l_Lean_mkIdentFrom(x_20, x_380); -x_382 = lean_array_push(x_244, x_381); -x_383 = lean_array_push(x_382, x_28); +lean_ctor_set(x_379, 1, x_248); +lean_ctor_set(x_379, 2, x_378); lean_inc(x_257); -x_384 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_384, 0, x_257); -lean_ctor_set(x_384, 1, x_248); -lean_ctor_set(x_384, 2, x_383); -x_385 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +x_380 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_380, 0, x_257); +lean_ctor_set(x_380, 1, x_361); +x_381 = l_Lean_Syntax_getId(x_28); +x_382 = 1; +x_383 = l_Lean_mkIdentFrom(x_20, x_381, x_382); +x_384 = lean_array_push(x_244, x_383); +x_385 = lean_array_push(x_384, x_28); lean_inc(x_257); -x_386 = lean_alloc_ctor(2, 2, 0); +x_386 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_386, 0, x_257); -lean_ctor_set(x_386, 1, x_385); -x_387 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_388 = l_Lean_addMacroScope(x_354, x_387, x_260); -x_389 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -x_390 = l_Lean_Name_str___override(x_4, x_389); -x_391 = lean_box(0); -lean_inc(x_390); -x_392 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_392, 0, x_390); -lean_ctor_set(x_392, 1, x_391); -x_393 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_393, 0, x_390); +lean_ctor_set(x_386, 1, x_248); +lean_ctor_set(x_386, 2, x_385); +x_387 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_257); +x_388 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_388, 0, x_257); +lean_ctor_set(x_388, 1, x_387); +x_389 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_390 = l_Lean_addMacroScope(x_355, x_389, x_260); +x_391 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +x_392 = l_Lean_Name_str___override(x_4, x_391); +x_393 = lean_box(0); +lean_inc(x_392); x_394 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_394, 0, x_393); -lean_ctor_set(x_394, 1, x_391); -x_395 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_394, 0, x_392); +lean_ctor_set(x_394, 1, x_393); +x_395 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_395, 0, x_392); -lean_ctor_set(x_395, 1, x_394); -x_396 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -lean_inc(x_257); -x_397 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_397, 0, x_257); +x_396 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_396, 0, x_395); +lean_ctor_set(x_396, 1, x_393); +x_397 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_397, 0, x_394); lean_ctor_set(x_397, 1, x_396); -lean_ctor_set(x_397, 2, x_388); -lean_ctor_set(x_397, 3, x_395); -x_398 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +x_398 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; lean_inc(x_257); -x_399 = lean_alloc_ctor(2, 2, 0); +x_399 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_399, 0, x_257); lean_ctor_set(x_399, 1, x_398); -x_400 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_ctor_set(x_399, 2, x_390); +lean_ctor_set(x_399, 3, x_397); +x_400 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +lean_inc(x_257); +x_401 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_401, 0, x_257); +lean_ctor_set(x_401, 1, x_400); +x_402 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; lean_inc(x_14); -x_401 = l_Lean_Name_str___override(x_14, x_400); +x_403 = l_Lean_Name_str___override(x_14, x_402); lean_inc(x_257); -x_402 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_402, 0, x_257); -lean_ctor_set(x_402, 1, x_400); -x_403 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; -x_404 = l_Lean_Name_str___override(x_14, x_403); -x_405 = lean_array_push(x_376, x_201); +x_404 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_404, 0, x_257); +lean_ctor_set(x_404, 1, x_402); +x_405 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +x_406 = l_Lean_Name_str___override(x_14, x_405); +x_407 = lean_array_push(x_377, x_201); lean_inc(x_257); -x_406 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_406, 0, x_257); -lean_ctor_set(x_406, 1, x_248); -lean_ctor_set(x_406, 2, x_405); +x_408 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_408, 0, x_257); +lean_ctor_set(x_408, 1, x_248); +lean_ctor_set(x_408, 2, x_407); lean_inc(x_257); -x_407 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_407, 0, x_257); -lean_ctor_set(x_407, 1, x_248); -lean_ctor_set(x_407, 2, x_366); -x_408 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_257); -x_409 = lean_alloc_ctor(2, 2, 0); +x_409 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_409, 0, x_257); -lean_ctor_set(x_409, 1, x_408); -x_410 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; -x_411 = lean_array_push(x_410, x_406); -x_412 = lean_array_push(x_411, x_407); -x_413 = lean_array_push(x_412, x_409); -x_414 = lean_array_push(x_413, x_243); +lean_ctor_set(x_409, 1, x_248); +lean_ctor_set(x_409, 2, x_367); +x_410 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; lean_inc(x_257); -x_415 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_415, 0, x_257); -lean_ctor_set(x_415, 1, x_404); -lean_ctor_set(x_415, 2, x_414); -x_416 = lean_array_push(x_244, x_402); -x_417 = lean_array_push(x_416, x_415); +x_411 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_411, 0, x_257); +lean_ctor_set(x_411, 1, x_410); +x_412 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; +x_413 = lean_array_push(x_412, x_408); +x_414 = lean_array_push(x_413, x_409); +x_415 = lean_array_push(x_414, x_411); +x_416 = lean_array_push(x_415, x_243); lean_inc(x_257); -x_418 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_418, 0, x_257); -lean_ctor_set(x_418, 1, x_401); -lean_ctor_set(x_418, 2, x_417); -if (lean_obj_tag(x_3) == 0) -{ -lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; -x_419 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; +x_417 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_417, 0, x_257); +lean_ctor_set(x_417, 1, x_406); +lean_ctor_set(x_417, 2, x_416); +x_418 = lean_array_push(x_244, x_404); +x_419 = lean_array_push(x_418, x_417); lean_inc(x_257); x_420 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_420, 0, x_257); -lean_ctor_set(x_420, 1, x_248); +lean_ctor_set(x_420, 1, x_403); lean_ctor_set(x_420, 2, x_419); -x_421 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_422 = lean_array_push(x_421, x_420); -x_423 = lean_array_push(x_422, x_378); -x_424 = lean_array_push(x_423, x_379); -x_425 = lean_array_push(x_424, x_384); -x_426 = lean_array_push(x_425, x_386); -x_427 = lean_array_push(x_426, x_397); -x_428 = lean_array_push(x_427, x_399); -x_429 = lean_array_push(x_428, x_418); -x_430 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_430, 0, x_257); -lean_ctor_set(x_430, 1, x_361); -lean_ctor_set(x_430, 2, x_429); -x_431 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_355); -return x_431; -} -else +if (lean_obj_tag(x_3) == 0) { -lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; -x_432 = lean_ctor_get(x_3, 0); -lean_inc(x_432); -lean_dec(x_3); -x_433 = lean_array_push(x_376, x_432); -x_434 = l_Array_append___rarg(x_366, x_433); +lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; +x_421 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; lean_inc(x_257); -x_435 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_435, 0, x_257); -lean_ctor_set(x_435, 1, x_248); -lean_ctor_set(x_435, 2, x_434); -x_436 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_437 = lean_array_push(x_436, x_435); -x_438 = lean_array_push(x_437, x_378); -x_439 = lean_array_push(x_438, x_379); -x_440 = lean_array_push(x_439, x_384); -x_441 = lean_array_push(x_440, x_386); -x_442 = lean_array_push(x_441, x_397); -x_443 = lean_array_push(x_442, x_399); -x_444 = lean_array_push(x_443, x_418); -x_445 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_445, 0, x_257); -lean_ctor_set(x_445, 1, x_361); -lean_ctor_set(x_445, 2, x_444); -x_446 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_446, 0, x_445); -lean_ctor_set(x_446, 1, x_355); -return x_446; +x_422 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_422, 0, x_257); +lean_ctor_set(x_422, 1, x_248); +lean_ctor_set(x_422, 2, x_421); +x_423 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_424 = lean_array_push(x_423, x_422); +x_425 = lean_array_push(x_424, x_379); +x_426 = lean_array_push(x_425, x_380); +x_427 = lean_array_push(x_426, x_386); +x_428 = lean_array_push(x_427, x_388); +x_429 = lean_array_push(x_428, x_399); +x_430 = lean_array_push(x_429, x_401); +x_431 = lean_array_push(x_430, x_420); +x_432 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_432, 0, x_257); +lean_ctor_set(x_432, 1, x_362); +lean_ctor_set(x_432, 2, x_431); +x_433 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_433, 0, x_432); +lean_ctor_set(x_433, 1, x_356); +return x_433; +} +else +{ +lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_434 = lean_ctor_get(x_3, 0); +lean_inc(x_434); +lean_dec(x_3); +x_435 = lean_array_push(x_377, x_434); +x_436 = l_Array_append___rarg(x_367, x_435); +lean_inc(x_257); +x_437 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_437, 0, x_257); +lean_ctor_set(x_437, 1, x_248); +lean_ctor_set(x_437, 2, x_436); +x_438 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_439 = lean_array_push(x_438, x_437); +x_440 = lean_array_push(x_439, x_379); +x_441 = lean_array_push(x_440, x_380); +x_442 = lean_array_push(x_441, x_386); +x_443 = lean_array_push(x_442, x_388); +x_444 = lean_array_push(x_443, x_399); +x_445 = lean_array_push(x_444, x_401); +x_446 = lean_array_push(x_445, x_420); +x_447 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_447, 0, x_257); +lean_ctor_set(x_447, 1, x_362); +lean_ctor_set(x_447, 2, x_446); +x_448 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_448, 0, x_447); +lean_ctor_set(x_448, 1, x_356); +return x_448; } } } } else { -lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; -x_482 = lean_ctor_get(x_8, 0); -x_483 = lean_ctor_get(x_8, 1); -x_484 = lean_ctor_get(x_8, 2); -x_485 = lean_ctor_get(x_8, 3); -x_486 = lean_ctor_get(x_8, 4); -x_487 = lean_ctor_get(x_8, 5); -x_488 = lean_ctor_get(x_8, 7); +lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; +x_484 = lean_ctor_get(x_8, 0); +x_485 = lean_ctor_get(x_8, 1); +x_486 = lean_ctor_get(x_8, 2); +x_487 = lean_ctor_get(x_8, 3); +x_488 = lean_ctor_get(x_8, 4); +x_489 = lean_ctor_get(x_8, 5); +x_490 = lean_ctor_get(x_8, 7); +lean_inc(x_490); +lean_inc(x_489); lean_inc(x_488); lean_inc(x_487); lean_inc(x_486); lean_inc(x_485); lean_inc(x_484); -lean_inc(x_483); -lean_inc(x_482); lean_dec(x_8); -x_489 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_489, 0, x_482); -lean_ctor_set(x_489, 1, x_483); -lean_ctor_set(x_489, 2, x_484); -lean_ctor_set(x_489, 3, x_485); -lean_ctor_set(x_489, 4, x_486); -lean_ctor_set(x_489, 5, x_487); -lean_ctor_set(x_489, 6, x_253); -lean_ctor_set(x_489, 7, x_488); -x_592 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_489, x_9, x_252); -x_593 = lean_ctor_get(x_592, 0); -lean_inc(x_593); -x_594 = lean_ctor_get(x_592, 1); -lean_inc(x_594); -lean_dec(x_592); -x_595 = l_Lean_Elab_Command_getCurrMacroScope(x_489, x_9, x_594); -x_596 = lean_ctor_get(x_595, 1); +x_491 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_491, 0, x_484); +lean_ctor_set(x_491, 1, x_485); +lean_ctor_set(x_491, 2, x_486); +lean_ctor_set(x_491, 3, x_487); +lean_ctor_set(x_491, 4, x_488); +lean_ctor_set(x_491, 5, x_489); +lean_ctor_set(x_491, 6, x_253); +lean_ctor_set(x_491, 7, x_490); +x_595 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_491, x_9, x_252); +x_596 = lean_ctor_get(x_595, 0); lean_inc(x_596); +x_597 = lean_ctor_get(x_595, 1); +lean_inc(x_597); lean_dec(x_595); -x_597 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_596); -x_598 = lean_ctor_get(x_597, 1); -lean_inc(x_598); -lean_dec(x_597); -x_599 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; +x_598 = l_Lean_Elab_Command_getCurrMacroScope(x_491, x_9, x_597); +x_599 = lean_ctor_get(x_598, 1); +lean_inc(x_599); +lean_dec(x_598); +x_600 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_599); +x_601 = lean_ctor_get(x_600, 1); +lean_inc(x_601); +lean_dec(x_600); +x_602 = l_Lean_Elab_Command_elabMacroRulesAux___closed__62; lean_inc(x_14); -x_600 = l_Lean_Name_str___override(x_14, x_599); -x_601 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; -x_602 = l_Lean_Name_str___override(x_2, x_601); -x_603 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; -x_604 = l_Lean_Name_str___override(x_602, x_603); -lean_inc(x_593); -x_605 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_605, 0, x_593); -lean_ctor_set(x_605, 1, x_603); -x_606 = lean_array_push(x_244, x_605); +x_603 = l_Lean_Name_str___override(x_14, x_602); +x_604 = l_Lean_Elab_Command_elabMacroRulesAux___closed__64; +x_605 = l_Lean_Name_str___override(x_2, x_604); +x_606 = l_Lean_Elab_Command_elabMacroRulesAux___closed__66; +x_607 = l_Lean_Name_str___override(x_605, x_606); +lean_inc(x_596); +x_608 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_608, 0, x_596); +lean_ctor_set(x_608, 1, x_606); +x_609 = lean_array_push(x_244, x_608); lean_inc(x_28); -x_607 = lean_array_push(x_606, x_28); -lean_inc(x_593); -x_608 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_608, 0, x_593); -lean_ctor_set(x_608, 1, x_604); -lean_ctor_set(x_608, 2, x_607); -x_609 = lean_array_push(x_244, x_12); -x_610 = lean_array_push(x_609, x_608); +x_610 = lean_array_push(x_609, x_28); +lean_inc(x_596); x_611 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_611, 0, x_593); -lean_ctor_set(x_611, 1, x_600); +lean_ctor_set(x_611, 0, x_596); +lean_ctor_set(x_611, 1, x_607); lean_ctor_set(x_611, 2, x_610); -x_612 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_489, x_9, x_598); +x_612 = lean_array_push(x_244, x_12); +x_613 = lean_array_push(x_612, x_611); +x_614 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_614, 0, x_596); +lean_ctor_set(x_614, 1, x_603); +lean_ctor_set(x_614, 2, x_613); +x_615 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_elabAuxDef___spec__4(x_491, x_9, x_601); if (lean_obj_tag(x_7) == 0) { -lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; -x_613 = lean_ctor_get(x_612, 0); -lean_inc(x_613); -x_614 = lean_ctor_get(x_612, 1); -lean_inc(x_614); -lean_dec(x_612); -x_615 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; -x_616 = lean_array_push(x_615, x_611); -x_617 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; -x_618 = l_Lean_mkSepArray(x_616, x_617); -lean_dec(x_616); -x_490 = x_618; -x_491 = x_613; -x_492 = x_614; -goto block_591; +lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; +x_616 = lean_ctor_get(x_615, 0); +lean_inc(x_616); +x_617 = lean_ctor_get(x_615, 1); +lean_inc(x_617); +lean_dec(x_615); +x_618 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; +x_619 = lean_array_push(x_618, x_614); +x_620 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_621 = l_Lean_mkSepArray(x_619, x_620); +lean_dec(x_619); +x_492 = x_621; +x_493 = x_616; +x_494 = x_617; +goto block_594; } else { -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_619 = lean_ctor_get(x_7, 0); -lean_inc(x_619); +lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; +x_622 = lean_ctor_get(x_7, 0); +lean_inc(x_622); lean_dec(x_7); -x_620 = lean_ctor_get(x_612, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_612, 1); -lean_inc(x_621); -lean_dec(x_612); -x_622 = l_Lean_Syntax_TSepArray_getElems___rarg(x_619); -lean_dec(x_619); -x_623 = lean_array_push(x_622, x_611); -x_624 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; -x_625 = l_Lean_mkSepArray(x_623, x_624); -lean_dec(x_623); -x_490 = x_625; -x_491 = x_620; -x_492 = x_621; -goto block_591; +x_623 = lean_ctor_get(x_615, 0); +lean_inc(x_623); +x_624 = lean_ctor_get(x_615, 1); +lean_inc(x_624); +lean_dec(x_615); +x_625 = l_Lean_Syntax_TSepArray_getElems___rarg(x_622); +lean_dec(x_622); +x_626 = lean_array_push(x_625, x_614); +x_627 = l_Lean_Elab_Command_elabMacroRulesAux___closed__69; +x_628 = l_Lean_mkSepArray(x_626, x_627); +lean_dec(x_626); +x_492 = x_628; +x_493 = x_623; +x_494 = x_624; +goto block_594; } -block_591: +block_594: { -lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; -x_493 = l_Lean_Elab_Command_getCurrMacroScope(x_489, x_9, x_492); -lean_dec(x_489); -x_494 = lean_ctor_get(x_493, 0); -lean_inc(x_494); -x_495 = lean_ctor_get(x_493, 1); -lean_inc(x_495); -lean_dec(x_493); -x_496 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_495); -lean_dec(x_9); -x_497 = lean_ctor_get(x_496, 0); +lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; uint8_t x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; +x_495 = l_Lean_Elab_Command_getCurrMacroScope(x_491, x_9, x_494); +lean_dec(x_491); +x_496 = lean_ctor_get(x_495, 0); +lean_inc(x_496); +x_497 = lean_ctor_get(x_495, 1); lean_inc(x_497); -x_498 = lean_ctor_get(x_496, 1); -lean_inc(x_498); -if (lean_is_exclusive(x_496)) { - lean_ctor_release(x_496, 0); - lean_ctor_release(x_496, 1); - x_499 = x_496; +lean_dec(x_495); +x_498 = l_Lean_Elab_Command_getMainModule___rarg(x_9, x_497); +lean_dec(x_9); +x_499 = lean_ctor_get(x_498, 0); +lean_inc(x_499); +x_500 = lean_ctor_get(x_498, 1); +lean_inc(x_500); +if (lean_is_exclusive(x_498)) { + lean_ctor_release(x_498, 0); + lean_ctor_release(x_498, 1); + x_501 = x_498; } else { - lean_dec_ref(x_496); - x_499 = lean_box(0); + lean_dec_ref(x_498); + x_501 = lean_box(0); } -x_500 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; +x_502 = l_Lean_Elab_Command_elabMacroRulesAux___closed__1; lean_inc(x_4); -x_501 = l_Lean_Name_str___override(x_4, x_500); -x_502 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; -x_503 = l_Lean_Name_str___override(x_501, x_502); -x_504 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_503 = l_Lean_Name_str___override(x_4, x_502); +x_504 = l_Lean_Elab_Command_elabMacroRulesAux___closed__3; x_505 = l_Lean_Name_str___override(x_503, x_504); -x_506 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; +x_506 = l_Lean_Elab_Command_elabMacroRulesAux___closed__5; +x_507 = l_Lean_Name_str___override(x_505, x_506); +x_508 = l_Lean_Elab_Command_elabMacroRulesAux___closed__7; lean_inc(x_14); -x_507 = l_Lean_Name_str___override(x_14, x_506); -x_508 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; -lean_inc(x_491); -x_509 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_509, 0, x_491); -lean_ctor_set(x_509, 1, x_508); -x_510 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__4; -x_511 = l_Array_append___rarg(x_510, x_490); -lean_inc(x_491); -x_512 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_512, 0, x_491); -lean_ctor_set(x_512, 1, x_248); -lean_ctor_set(x_512, 2, x_511); -x_513 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; -lean_inc(x_491); -x_514 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_514, 0, x_491); -lean_ctor_set(x_514, 1, x_513); -x_515 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; -x_516 = lean_array_push(x_515, x_509); -x_517 = lean_array_push(x_516, x_512); -x_518 = lean_array_push(x_517, x_514); -lean_inc(x_491); -x_519 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_519, 0, x_491); -lean_ctor_set(x_519, 1, x_507); -lean_ctor_set(x_519, 2, x_518); -x_520 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; -x_521 = lean_array_push(x_520, x_519); -lean_inc(x_491); -x_522 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_522, 0, x_491); -lean_ctor_set(x_522, 1, x_248); -lean_ctor_set(x_522, 2, x_521); -lean_inc(x_491); -x_523 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_523, 0, x_491); -lean_ctor_set(x_523, 1, x_504); -x_524 = l_Lean_Syntax_getId(x_28); -x_525 = l_Lean_mkIdentFrom(x_20, x_524); -x_526 = lean_array_push(x_244, x_525); -x_527 = lean_array_push(x_526, x_28); -lean_inc(x_491); -x_528 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_528, 0, x_491); -lean_ctor_set(x_528, 1, x_248); -lean_ctor_set(x_528, 2, x_527); -x_529 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; -lean_inc(x_491); -x_530 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_530, 0, x_491); -lean_ctor_set(x_530, 1, x_529); -x_531 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; -x_532 = l_Lean_addMacroScope(x_497, x_531, x_494); -x_533 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; -x_534 = l_Lean_Name_str___override(x_4, x_533); -x_535 = lean_box(0); -lean_inc(x_534); -x_536 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_536, 0, x_534); -lean_ctor_set(x_536, 1, x_535); -x_537 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_537, 0, x_534); -x_538 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_538, 0, x_537); -lean_ctor_set(x_538, 1, x_535); +x_509 = l_Lean_Name_str___override(x_14, x_508); +x_510 = l_Lean_Elab_Command_elabMacroRulesAux___closed__9; +lean_inc(x_493); +x_511 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_511, 0, x_493); +lean_ctor_set(x_511, 1, x_510); +x_512 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__4; +x_513 = l_Array_append___rarg(x_512, x_492); +lean_inc(x_493); +x_514 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_514, 0, x_493); +lean_ctor_set(x_514, 1, x_248); +lean_ctor_set(x_514, 2, x_513); +x_515 = l_Lean_Elab_Command_elabMacroRulesAux___closed__10; +lean_inc(x_493); +x_516 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_516, 0, x_493); +lean_ctor_set(x_516, 1, x_515); +x_517 = l_Lean_Elab_Command_elabMacroRulesAux___closed__11; +x_518 = lean_array_push(x_517, x_511); +x_519 = lean_array_push(x_518, x_514); +x_520 = lean_array_push(x_519, x_516); +lean_inc(x_493); +x_521 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_521, 0, x_493); +lean_ctor_set(x_521, 1, x_509); +lean_ctor_set(x_521, 2, x_520); +x_522 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__5; +x_523 = lean_array_push(x_522, x_521); +lean_inc(x_493); +x_524 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_524, 0, x_493); +lean_ctor_set(x_524, 1, x_248); +lean_ctor_set(x_524, 2, x_523); +lean_inc(x_493); +x_525 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_525, 0, x_493); +lean_ctor_set(x_525, 1, x_506); +x_526 = l_Lean_Syntax_getId(x_28); +x_527 = 1; +x_528 = l_Lean_mkIdentFrom(x_20, x_526, x_527); +x_529 = lean_array_push(x_244, x_528); +x_530 = lean_array_push(x_529, x_28); +lean_inc(x_493); +x_531 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_531, 0, x_493); +lean_ctor_set(x_531, 1, x_248); +lean_ctor_set(x_531, 2, x_530); +x_532 = l_Lean_Elab_Command_elabMacroRulesAux___closed__17; +lean_inc(x_493); +x_533 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_533, 0, x_493); +lean_ctor_set(x_533, 1, x_532); +x_534 = l_Lean_Elab_Command_elabMacroRulesAux___closed__21; +x_535 = l_Lean_addMacroScope(x_499, x_534, x_496); +x_536 = l_Lean_Elab_Command_elabMacroRulesAux___closed__18; +x_537 = l_Lean_Name_str___override(x_4, x_536); +x_538 = lean_box(0); +lean_inc(x_537); x_539 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_539, 0, x_536); +lean_ctor_set(x_539, 0, x_537); lean_ctor_set(x_539, 1, x_538); -x_540 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; -lean_inc(x_491); -x_541 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_541, 0, x_491); -lean_ctor_set(x_541, 1, x_540); -lean_ctor_set(x_541, 2, x_532); -lean_ctor_set(x_541, 3, x_539); -x_542 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; -lean_inc(x_491); -x_543 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_543, 0, x_491); -lean_ctor_set(x_543, 1, x_542); -x_544 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; -lean_inc(x_14); -x_545 = l_Lean_Name_str___override(x_14, x_544); -lean_inc(x_491); +x_540 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_540, 0, x_537); +x_541 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_541, 0, x_540); +lean_ctor_set(x_541, 1, x_538); +x_542 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_542, 0, x_539); +lean_ctor_set(x_542, 1, x_541); +x_543 = l_Lean_Elab_Command_elabMacroRulesAux___closed__20; +lean_inc(x_493); +x_544 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_544, 0, x_493); +lean_ctor_set(x_544, 1, x_543); +lean_ctor_set(x_544, 2, x_535); +lean_ctor_set(x_544, 3, x_542); +x_545 = l_Lean_Elab_Command_elabMacroRulesAux___closed__27; +lean_inc(x_493); x_546 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_546, 0, x_491); -lean_ctor_set(x_546, 1, x_544); -x_547 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +lean_ctor_set(x_546, 0, x_493); +lean_ctor_set(x_546, 1, x_545); +x_547 = l_Lean_Elab_Command_elabMacroRulesAux___closed__28; +lean_inc(x_14); x_548 = l_Lean_Name_str___override(x_14, x_547); -x_549 = lean_array_push(x_520, x_201); -lean_inc(x_491); -x_550 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_550, 0, x_491); -lean_ctor_set(x_550, 1, x_248); -lean_ctor_set(x_550, 2, x_549); -lean_inc(x_491); -x_551 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_551, 0, x_491); -lean_ctor_set(x_551, 1, x_248); -lean_ctor_set(x_551, 2, x_510); -x_552 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; -lean_inc(x_491); -x_553 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_553, 0, x_491); -lean_ctor_set(x_553, 1, x_552); -x_554 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; -x_555 = lean_array_push(x_554, x_550); -x_556 = lean_array_push(x_555, x_551); -x_557 = lean_array_push(x_556, x_553); -x_558 = lean_array_push(x_557, x_243); -lean_inc(x_491); -x_559 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_559, 0, x_491); -lean_ctor_set(x_559, 1, x_548); -lean_ctor_set(x_559, 2, x_558); -x_560 = lean_array_push(x_244, x_546); -x_561 = lean_array_push(x_560, x_559); -lean_inc(x_491); +lean_inc(x_493); +x_549 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_549, 0, x_493); +lean_ctor_set(x_549, 1, x_547); +x_550 = l_Lean_Elab_Command_elabMacroRules___lambda__2___closed__4; +x_551 = l_Lean_Name_str___override(x_14, x_550); +x_552 = lean_array_push(x_522, x_201); +lean_inc(x_493); +x_553 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_553, 0, x_493); +lean_ctor_set(x_553, 1, x_248); +lean_ctor_set(x_553, 2, x_552); +lean_inc(x_493); +x_554 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_554, 0, x_493); +lean_ctor_set(x_554, 1, x_248); +lean_ctor_set(x_554, 2, x_512); +x_555 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__6; +lean_inc(x_493); +x_556 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_556, 0, x_493); +lean_ctor_set(x_556, 1, x_555); +x_557 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__7; +x_558 = lean_array_push(x_557, x_553); +x_559 = lean_array_push(x_558, x_554); +x_560 = lean_array_push(x_559, x_556); +x_561 = lean_array_push(x_560, x_243); +lean_inc(x_493); x_562 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_562, 0, x_491); -lean_ctor_set(x_562, 1, x_545); +lean_ctor_set(x_562, 0, x_493); +lean_ctor_set(x_562, 1, x_551); lean_ctor_set(x_562, 2, x_561); +x_563 = lean_array_push(x_244, x_549); +x_564 = lean_array_push(x_563, x_562); +lean_inc(x_493); +x_565 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_565, 0, x_493); +lean_ctor_set(x_565, 1, x_548); +lean_ctor_set(x_565, 2, x_564); if (lean_obj_tag(x_3) == 0) { -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; -x_563 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; -lean_inc(x_491); -x_564 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_564, 0, x_491); -lean_ctor_set(x_564, 1, x_248); -lean_ctor_set(x_564, 2, x_563); -x_565 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_566 = lean_array_push(x_565, x_564); -x_567 = lean_array_push(x_566, x_522); -x_568 = lean_array_push(x_567, x_523); -x_569 = lean_array_push(x_568, x_528); -x_570 = lean_array_push(x_569, x_530); -x_571 = lean_array_push(x_570, x_541); -x_572 = lean_array_push(x_571, x_543); -x_573 = lean_array_push(x_572, x_562); -x_574 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_574, 0, x_491); -lean_ctor_set(x_574, 1, x_505); -lean_ctor_set(x_574, 2, x_573); -if (lean_is_scalar(x_499)) { - x_575 = lean_alloc_ctor(0, 2, 0); +lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; +x_566 = l_Lean_Elab_Command_elabMacroRulesAux___closed__61; +lean_inc(x_493); +x_567 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_567, 0, x_493); +lean_ctor_set(x_567, 1, x_248); +lean_ctor_set(x_567, 2, x_566); +x_568 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_569 = lean_array_push(x_568, x_567); +x_570 = lean_array_push(x_569, x_524); +x_571 = lean_array_push(x_570, x_525); +x_572 = lean_array_push(x_571, x_531); +x_573 = lean_array_push(x_572, x_533); +x_574 = lean_array_push(x_573, x_544); +x_575 = lean_array_push(x_574, x_546); +x_576 = lean_array_push(x_575, x_565); +x_577 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_577, 0, x_493); +lean_ctor_set(x_577, 1, x_507); +lean_ctor_set(x_577, 2, x_576); +if (lean_is_scalar(x_501)) { + x_578 = lean_alloc_ctor(0, 2, 0); } else { - x_575 = x_499; + x_578 = x_501; } -lean_ctor_set(x_575, 0, x_574); -lean_ctor_set(x_575, 1, x_498); -return x_575; +lean_ctor_set(x_578, 0, x_577); +lean_ctor_set(x_578, 1, x_500); +return x_578; } else { -lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; -x_576 = lean_ctor_get(x_3, 0); -lean_inc(x_576); +lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; +x_579 = lean_ctor_get(x_3, 0); +lean_inc(x_579); lean_dec(x_3); -x_577 = lean_array_push(x_520, x_576); -x_578 = l_Array_append___rarg(x_510, x_577); -lean_inc(x_491); -x_579 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_579, 0, x_491); -lean_ctor_set(x_579, 1, x_248); -lean_ctor_set(x_579, 2, x_578); -x_580 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; -x_581 = lean_array_push(x_580, x_579); -x_582 = lean_array_push(x_581, x_522); -x_583 = lean_array_push(x_582, x_523); -x_584 = lean_array_push(x_583, x_528); -x_585 = lean_array_push(x_584, x_530); -x_586 = lean_array_push(x_585, x_541); -x_587 = lean_array_push(x_586, x_543); -x_588 = lean_array_push(x_587, x_562); -x_589 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_589, 0, x_491); -lean_ctor_set(x_589, 1, x_505); -lean_ctor_set(x_589, 2, x_588); -if (lean_is_scalar(x_499)) { - x_590 = lean_alloc_ctor(0, 2, 0); +x_580 = lean_array_push(x_522, x_579); +x_581 = l_Array_append___rarg(x_512, x_580); +lean_inc(x_493); +x_582 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_582, 0, x_493); +lean_ctor_set(x_582, 1, x_248); +lean_ctor_set(x_582, 2, x_581); +x_583 = l_Lean_Elab_Command_elabMacroRulesAux___closed__60; +x_584 = lean_array_push(x_583, x_582); +x_585 = lean_array_push(x_584, x_524); +x_586 = lean_array_push(x_585, x_525); +x_587 = lean_array_push(x_586, x_531); +x_588 = lean_array_push(x_587, x_533); +x_589 = lean_array_push(x_588, x_544); +x_590 = lean_array_push(x_589, x_546); +x_591 = lean_array_push(x_590, x_565); +x_592 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_592, 0, x_493); +lean_ctor_set(x_592, 1, x_507); +lean_ctor_set(x_592, 2, x_591); +if (lean_is_scalar(x_501)) { + x_593 = lean_alloc_ctor(0, 2, 0); } else { - x_590 = x_499; + x_593 = x_501; } -lean_ctor_set(x_590, 0, x_589); -lean_ctor_set(x_590, 1, x_498); -return x_590; +lean_ctor_set(x_593, 0, x_592); +lean_ctor_set(x_593, 1, x_500); +return x_593; } } } @@ -4703,22 +4708,22 @@ return x_590; } else { -lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; uint8_t x_630; +lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; uint8_t x_633; lean_dec(x_22); lean_dec(x_4); lean_dec(x_2); -x_626 = lean_unsigned_to_nat(5u); -x_627 = l_Lean_Syntax_getArg(x_1, x_626); -x_628 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; +x_629 = lean_unsigned_to_nat(5u); +x_630 = l_Lean_Syntax_getArg(x_1, x_629); +x_631 = l_Lean_Elab_Command_elabMacroRulesAux___closed__30; lean_inc(x_14); -x_629 = l_Lean_Name_str___override(x_14, x_628); -lean_inc(x_627); -x_630 = l_Lean_Syntax_isOfKind(x_627, x_629); -if (x_630 == 0) +x_632 = l_Lean_Name_str___override(x_14, x_631); +lean_inc(x_630); +x_633 = l_Lean_Syntax_isOfKind(x_630, x_632); +if (x_633 == 0) { -lean_object* x_631; -lean_dec(x_629); -lean_dec(x_627); +lean_object* x_634; +lean_dec(x_632); +lean_dec(x_630); lean_dec(x_20); lean_dec(x_14); lean_dec(x_12); @@ -4727,177 +4732,177 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_5); lean_dec(x_3); -x_631 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_10); -return x_631; +x_634 = l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Command_elabCommand___spec__18___rarg(x_10); +return x_634; } else { -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; uint8_t x_646; -x_632 = l_Lean_Syntax_getArg(x_627, x_23); -lean_dec(x_627); -x_633 = l_Lean_Syntax_getArgs(x_632); -lean_dec(x_632); -x_634 = lean_box(2); -x_635 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__3; -lean_inc(x_633); -x_636 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_636, 0, x_634); -lean_ctor_set(x_636, 1, x_635); -lean_ctor_set(x_636, 2, x_633); -x_637 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; -x_638 = lean_array_push(x_637, x_20); -x_639 = lean_array_push(x_638, x_636); -x_640 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_640, 0, x_634); -lean_ctor_set(x_640, 1, x_635); -lean_ctor_set(x_640, 2, x_639); -x_641 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed), 12, 7); -lean_closure_set(x_641, 0, x_635); -lean_closure_set(x_641, 1, x_629); -lean_closure_set(x_641, 2, x_12); -lean_closure_set(x_641, 3, x_5); -lean_closure_set(x_641, 4, x_7); -lean_closure_set(x_641, 5, x_14); -lean_closure_set(x_641, 6, x_3); -x_642 = l_Lean_Elab_Command_getRef(x_8, x_9, x_10); -x_643 = lean_ctor_get(x_642, 0); -lean_inc(x_643); -x_644 = lean_ctor_get(x_642, 1); -lean_inc(x_644); -lean_dec(x_642); -x_645 = l_Lean_replaceRef(x_640, x_643); +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; uint8_t x_649; +x_635 = l_Lean_Syntax_getArg(x_630, x_23); +lean_dec(x_630); +x_636 = l_Lean_Syntax_getArgs(x_635); +lean_dec(x_635); +x_637 = lean_box(2); +x_638 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_elabMacroRulesAux___spec__5___lambda__2___closed__3; +lean_inc(x_636); +x_639 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_639, 0, x_637); +lean_ctor_set(x_639, 1, x_638); +lean_ctor_set(x_639, 2, x_636); +x_640 = l_Lean_Elab_Command_elabMacroRulesAux___closed__16; +x_641 = lean_array_push(x_640, x_20); +x_642 = lean_array_push(x_641, x_639); +x_643 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_643, 0, x_637); +lean_ctor_set(x_643, 1, x_638); +lean_ctor_set(x_643, 2, x_642); +x_644 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabMacroRules___lambda__1___boxed), 12, 7); +lean_closure_set(x_644, 0, x_638); +lean_closure_set(x_644, 1, x_632); +lean_closure_set(x_644, 2, x_12); +lean_closure_set(x_644, 3, x_5); +lean_closure_set(x_644, 4, x_7); +lean_closure_set(x_644, 5, x_14); +lean_closure_set(x_644, 6, x_3); +x_645 = l_Lean_Elab_Command_getRef(x_8, x_9, x_10); +x_646 = lean_ctor_get(x_645, 0); +lean_inc(x_646); +x_647 = lean_ctor_get(x_645, 1); +lean_inc(x_647); +lean_dec(x_645); +x_648 = l_Lean_replaceRef(x_643, x_646); +lean_dec(x_646); lean_dec(x_643); -lean_dec(x_640); -x_646 = !lean_is_exclusive(x_8); -if (x_646 == 0) +x_649 = !lean_is_exclusive(x_8); +if (x_649 == 0) { -lean_object* x_647; lean_object* x_648; lean_object* x_649; -x_647 = lean_ctor_get(x_8, 6); -lean_dec(x_647); -lean_ctor_set(x_8, 6, x_645); -x_648 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -x_649 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_633, x_648, x_641, x_8, x_9, x_644); -if (lean_obj_tag(x_649) == 0) +lean_object* x_650; lean_object* x_651; lean_object* x_652; +x_650 = lean_ctor_get(x_8, 6); +lean_dec(x_650); +lean_ctor_set(x_8, 6, x_648); +x_651 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_652 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_636, x_651, x_644, x_8, x_9, x_647); +if (lean_obj_tag(x_652) == 0) { -uint8_t x_650; -x_650 = !lean_is_exclusive(x_649); -if (x_650 == 0) +uint8_t x_653; +x_653 = !lean_is_exclusive(x_652); +if (x_653 == 0) { -return x_649; +return x_652; } else { -lean_object* x_651; lean_object* x_652; lean_object* x_653; -x_651 = lean_ctor_get(x_649, 0); -x_652 = lean_ctor_get(x_649, 1); -lean_inc(x_652); -lean_inc(x_651); -lean_dec(x_649); -x_653 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_653, 0, x_651); -lean_ctor_set(x_653, 1, x_652); -return x_653; -} -} -else -{ -uint8_t x_654; -x_654 = !lean_is_exclusive(x_649); -if (x_654 == 0) -{ -return x_649; -} -else -{ -lean_object* x_655; lean_object* x_656; lean_object* x_657; -x_655 = lean_ctor_get(x_649, 0); -x_656 = lean_ctor_get(x_649, 1); -lean_inc(x_656); +lean_object* x_654; lean_object* x_655; lean_object* x_656; +x_654 = lean_ctor_get(x_652, 0); +x_655 = lean_ctor_get(x_652, 1); lean_inc(x_655); -lean_dec(x_649); -x_657 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_657, 0, x_655); -lean_ctor_set(x_657, 1, x_656); -return x_657; +lean_inc(x_654); +lean_dec(x_652); +x_656 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_656, 0, x_654); +lean_ctor_set(x_656, 1, x_655); +return x_656; +} +} +else +{ +uint8_t x_657; +x_657 = !lean_is_exclusive(x_652); +if (x_657 == 0) +{ +return x_652; +} +else +{ +lean_object* x_658; lean_object* x_659; lean_object* x_660; +x_658 = lean_ctor_get(x_652, 0); +x_659 = lean_ctor_get(x_652, 1); +lean_inc(x_659); +lean_inc(x_658); +lean_dec(x_652); +x_660 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_660, 0, x_658); +lean_ctor_set(x_660, 1, x_659); +return x_660; } } } else { -lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; -x_658 = lean_ctor_get(x_8, 0); -x_659 = lean_ctor_get(x_8, 1); -x_660 = lean_ctor_get(x_8, 2); -x_661 = lean_ctor_get(x_8, 3); -x_662 = lean_ctor_get(x_8, 4); -x_663 = lean_ctor_get(x_8, 5); -x_664 = lean_ctor_get(x_8, 7); +lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; +x_661 = lean_ctor_get(x_8, 0); +x_662 = lean_ctor_get(x_8, 1); +x_663 = lean_ctor_get(x_8, 2); +x_664 = lean_ctor_get(x_8, 3); +x_665 = lean_ctor_get(x_8, 4); +x_666 = lean_ctor_get(x_8, 5); +x_667 = lean_ctor_get(x_8, 7); +lean_inc(x_667); +lean_inc(x_666); +lean_inc(x_665); lean_inc(x_664); lean_inc(x_663); lean_inc(x_662); lean_inc(x_661); -lean_inc(x_660); -lean_inc(x_659); -lean_inc(x_658); lean_dec(x_8); -x_665 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_665, 0, x_658); -lean_ctor_set(x_665, 1, x_659); -lean_ctor_set(x_665, 2, x_660); -lean_ctor_set(x_665, 3, x_661); -lean_ctor_set(x_665, 4, x_662); -lean_ctor_set(x_665, 5, x_663); -lean_ctor_set(x_665, 6, x_645); -lean_ctor_set(x_665, 7, x_664); -x_666 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; -x_667 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_633, x_666, x_641, x_665, x_9, x_644); -if (lean_obj_tag(x_667) == 0) +x_668 = lean_alloc_ctor(0, 8, 0); +lean_ctor_set(x_668, 0, x_661); +lean_ctor_set(x_668, 1, x_662); +lean_ctor_set(x_668, 2, x_663); +lean_ctor_set(x_668, 3, x_664); +lean_ctor_set(x_668, 4, x_665); +lean_ctor_set(x_668, 5, x_666); +lean_ctor_set(x_668, 6, x_648); +lean_ctor_set(x_668, 7, x_667); +x_669 = l_Lean_Elab_Command_elabMacroRules___lambda__1___closed__1; +x_670 = l_Lean_Elab_Command_expandNoKindMacroRulesAux(x_636, x_669, x_644, x_668, x_9, x_647); +if (lean_obj_tag(x_670) == 0) { -lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; -x_668 = lean_ctor_get(x_667, 0); -lean_inc(x_668); -x_669 = lean_ctor_get(x_667, 1); -lean_inc(x_669); -if (lean_is_exclusive(x_667)) { - lean_ctor_release(x_667, 0); - lean_ctor_release(x_667, 1); - x_670 = x_667; +lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; +x_671 = lean_ctor_get(x_670, 0); +lean_inc(x_671); +x_672 = lean_ctor_get(x_670, 1); +lean_inc(x_672); +if (lean_is_exclusive(x_670)) { + lean_ctor_release(x_670, 0); + lean_ctor_release(x_670, 1); + x_673 = x_670; } else { - lean_dec_ref(x_667); - x_670 = lean_box(0); + lean_dec_ref(x_670); + x_673 = lean_box(0); } -if (lean_is_scalar(x_670)) { - x_671 = lean_alloc_ctor(0, 2, 0); +if (lean_is_scalar(x_673)) { + x_674 = lean_alloc_ctor(0, 2, 0); } else { - x_671 = x_670; + x_674 = x_673; } -lean_ctor_set(x_671, 0, x_668); -lean_ctor_set(x_671, 1, x_669); -return x_671; +lean_ctor_set(x_674, 0, x_671); +lean_ctor_set(x_674, 1, x_672); +return x_674; } else { -lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; -x_672 = lean_ctor_get(x_667, 0); -lean_inc(x_672); -x_673 = lean_ctor_get(x_667, 1); -lean_inc(x_673); -if (lean_is_exclusive(x_667)) { - lean_ctor_release(x_667, 0); - lean_ctor_release(x_667, 1); - x_674 = x_667; +lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; +x_675 = lean_ctor_get(x_670, 0); +lean_inc(x_675); +x_676 = lean_ctor_get(x_670, 1); +lean_inc(x_676); +if (lean_is_exclusive(x_670)) { + lean_ctor_release(x_670, 0); + lean_ctor_release(x_670, 1); + x_677 = x_670; } else { - lean_dec_ref(x_667); - x_674 = lean_box(0); + lean_dec_ref(x_670); + x_677 = lean_box(0); } -if (lean_is_scalar(x_674)) { - x_675 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_677)) { + x_678 = lean_alloc_ctor(1, 2, 0); } else { - x_675 = x_674; + x_678 = x_677; } -lean_ctor_set(x_675, 0, x_672); -lean_ctor_set(x_675, 1, x_673); -return x_675; +lean_ctor_set(x_678, 0, x_675); +lean_ctor_set(x_678, 1, x_676); +return x_678; } } } diff --git a/stage0/stdlib/Lean/Elab/Match.c b/stage0/stdlib/Lean/Elab/Match.c index ebc3c43735..2c02ea7c60 100644 --- a/stage0/stdlib/Lean/Elab/Match.c +++ b/stage0/stdlib/Lean/Elab/Match.c @@ -175,7 +175,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabInaccessible(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_getMatchAlts___spec__2(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_reportMatcherResultErrors___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ToDepElimPattern_main___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -662,7 +662,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_Elab_Term_ToDepElim LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___spec__6___boxed(lean_object*, lean_object*); -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_waitExpectedType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAux___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); @@ -714,7 +714,7 @@ LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyMAux___at___private_Lean_Elab_Matc LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrsWitMatchType___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_throwInvalidPattern(lean_object*); static lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_withToClear___rarg___closed__1; -lean_object* l_Lean_mkHole(lean_object*); +lean_object* l_Lean_mkHole(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_HashMap_insert___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_mkPatternRefMap_go___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchTypeAndDiscrs_elabDiscrs___spec__7___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_toPattern(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -34444,18 +34444,19 @@ return x_12; } else { -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; x_13 = lean_array_uget(x_3, x_2); x_14 = lean_unsigned_to_nat(0u); x_15 = lean_array_uset(x_3, x_2, x_14); x_16 = lean_ctor_get(x_8, 5); lean_inc(x_16); -x_17 = l_Lean_mkIdentFrom(x_16, x_13); -x_18 = 1; -x_19 = lean_usize_add(x_2, x_18); -x_20 = lean_array_uset(x_15, x_2, x_17); -x_2 = x_19; -x_3 = x_20; +x_17 = 0; +x_18 = l_Lean_mkIdentFrom(x_16, x_13, x_17); +x_19 = 1; +x_20 = lean_usize_add(x_2, x_19); +x_21 = lean_array_uset(x_15, x_2, x_18); +x_2 = x_20; +x_3 = x_21; goto _start; } } @@ -37230,110 +37231,113 @@ x_16 = lean_array_uset(x_4, x_3, x_15); x_17 = l_Lean_Expr_isFVar(x_14); if (x_17 == 0) { -lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; +uint8_t x_18; lean_object* x_19; size_t x_20; size_t x_21; lean_object* x_22; lean_dec(x_14); +x_18 = 0; lean_inc(x_1); -x_18 = l_Lean_mkHole(x_1); -x_19 = 1; -x_20 = lean_usize_add(x_3, x_19); -x_21 = lean_array_uset(x_16, x_3, x_18); -x_3 = x_20; -x_4 = x_21; +x_19 = l_Lean_mkHole(x_1, x_18); +x_20 = 1; +x_21 = lean_usize_add(x_3, x_20); +x_22 = lean_array_uset(x_16, x_3, x_19); +x_3 = x_21; +x_4 = x_22; goto _start; } else { -lean_object* x_23; lean_object* x_24; -x_23 = l_Lean_Expr_fvarId_x21(x_14); +lean_object* x_24; lean_object* x_25; +x_24 = l_Lean_Expr_fvarId_x21(x_14); lean_inc(x_7); -x_24 = l_Lean_FVarId_getDecl(x_23, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_24) == 0) +x_25 = l_Lean_FVarId_getDecl(x_24, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_25) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_ctor_get(x_24, 1); +lean_object* x_26; lean_object* x_27; lean_object* x_28; uint8_t x_29; +x_26 = lean_ctor_get(x_25, 0); lean_inc(x_26); -lean_dec(x_24); -x_27 = l_Lean_LocalDecl_userName(x_25); +x_27 = lean_ctor_get(x_25, 1); +lean_inc(x_27); lean_dec(x_25); -x_28 = l_Lean_Name_hasMacroScopes(x_27); -if (x_28 == 0) +x_28 = l_Lean_LocalDecl_userName(x_26); +lean_dec(x_26); +x_29 = l_Lean_Name_hasMacroScopes(x_28); +if (x_29 == 0) { -lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; size_t x_42; size_t x_43; lean_object* x_44; +uint8_t x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; +x_30 = 0; lean_inc(x_1); -x_29 = l_Lean_mkIdentFrom(x_1, x_27); +x_31 = l_Lean_mkIdentFrom(x_1, x_28, x_30); lean_inc(x_9); -x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_26); -x_31 = lean_ctor_get(x_30, 0); -lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_33 = lean_st_ref_get(x_10, x_32); -x_34 = lean_ctor_get(x_33, 1); +x_32 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_9, x_10, x_27); +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); lean_inc(x_34); -lean_dec(x_33); -x_35 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___closed__3; -lean_inc(x_31); -x_36 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_36, 0, x_31); -lean_ctor_set(x_36, 1, x_35); -x_37 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_packMatchTypePatterns___spec__1___closed__5; -x_38 = lean_array_push(x_37, x_36); -x_39 = lean_array_push(x_38, x_29); -x_40 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___closed__2; -x_41 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_41, 0, x_31); -lean_ctor_set(x_41, 1, x_40); -lean_ctor_set(x_41, 2, x_39); -x_42 = 1; -x_43 = lean_usize_add(x_3, x_42); -x_44 = lean_array_uset(x_16, x_3, x_41); -x_3 = x_43; -x_4 = x_44; -x_11 = x_34; +lean_dec(x_32); +x_35 = lean_st_ref_get(x_10, x_34); +x_36 = lean_ctor_get(x_35, 1); +lean_inc(x_36); +lean_dec(x_35); +x_37 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___closed__3; +lean_inc(x_33); +x_38 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_38, 0, x_33); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Match_0__Lean_Elab_Term_ToDepElimPattern_packMatchTypePatterns___spec__1___closed__5; +x_40 = lean_array_push(x_39, x_38); +x_41 = lean_array_push(x_40, x_31); +x_42 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__2___closed__2; +x_43 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_43, 0, x_33); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_41); +x_44 = 1; +x_45 = lean_usize_add(x_3, x_44); +x_46 = lean_array_uset(x_16, x_3, x_43); +x_3 = x_45; +x_4 = x_46; +x_11 = x_36; goto _start; } else { -lean_object* x_46; size_t x_47; size_t x_48; lean_object* x_49; -lean_dec(x_27); +uint8_t x_48; lean_object* x_49; size_t x_50; size_t x_51; lean_object* x_52; +lean_dec(x_28); +x_48 = 0; lean_inc(x_1); -x_46 = l_Lean_mkHole(x_1); -x_47 = 1; -x_48 = lean_usize_add(x_3, x_47); -x_49 = lean_array_uset(x_16, x_3, x_46); -x_3 = x_48; -x_4 = x_49; -x_11 = x_26; +x_49 = l_Lean_mkHole(x_1, x_48); +x_50 = 1; +x_51 = lean_usize_add(x_3, x_50); +x_52 = lean_array_uset(x_16, x_3, x_49); +x_3 = x_51; +x_4 = x_52; +x_11 = x_27; goto _start; } } else { -uint8_t x_51; +uint8_t x_54; lean_dec(x_16); lean_dec(x_9); lean_dec(x_7); lean_dec(x_1); -x_51 = !lean_is_exclusive(x_24); -if (x_51 == 0) +x_54 = !lean_is_exclusive(x_25); +if (x_54 == 0) { -return x_24; +return x_25; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_24, 0); -x_53 = lean_ctor_get(x_24, 1); -lean_inc(x_53); -lean_inc(x_52); -lean_dec(x_24); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +lean_object* x_55; lean_object* x_56; lean_object* x_57; +x_55 = lean_ctor_get(x_25, 0); +x_56 = lean_ctor_get(x_25, 1); +lean_inc(x_56); +lean_inc(x_55); +lean_dec(x_25); +x_57 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_57, 0, x_55); +lean_ctor_set(x_57, 1, x_56); +return x_57; } } } @@ -37457,7 +37461,7 @@ uint8_t x_24; x_24 = !lean_is_exclusive(x_17); if (x_24 == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; size_t x_32; size_t x_33; lean_object* x_34; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; uint8_t x_30; lean_object* x_31; lean_object* x_32; size_t x_33; size_t x_34; lean_object* x_35; x_25 = lean_ctor_get(x_17, 0); x_26 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__4___closed__2; x_27 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_26, x_9, x_10, x_11); @@ -37466,44 +37470,46 @@ lean_inc(x_28); x_29 = lean_ctor_get(x_27, 1); lean_inc(x_29); lean_dec(x_27); -x_30 = l_Lean_mkIdentFrom(x_25, x_28); -lean_ctor_set(x_17, 0, x_30); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_14); -lean_ctor_set(x_31, 1, x_17); -x_32 = 1; -x_33 = lean_usize_add(x_3, x_32); -x_34 = lean_array_uset(x_16, x_3, x_31); -x_3 = x_33; -x_4 = x_34; +x_30 = 0; +x_31 = l_Lean_mkIdentFrom(x_25, x_28, x_30); +lean_ctor_set(x_17, 0, x_31); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_14); +lean_ctor_set(x_32, 1, x_17); +x_33 = 1; +x_34 = lean_usize_add(x_3, x_33); +x_35 = lean_array_uset(x_16, x_3, x_32); +x_3 = x_34; +x_4 = x_35; x_11 = x_29; goto _start; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; size_t x_45; lean_object* x_46; -x_36 = lean_ctor_get(x_17, 0); -lean_inc(x_36); +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; size_t x_46; size_t x_47; lean_object* x_48; +x_37 = lean_ctor_get(x_17, 0); +lean_inc(x_37); lean_dec(x_17); -x_37 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__4___closed__2; -x_38 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_37, x_9, x_10, x_11); -x_39 = lean_ctor_get(x_38, 0); -lean_inc(x_39); -x_40 = lean_ctor_get(x_38, 1); +x_38 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Match_0__Lean_Elab_Term_elabMatchAltViews_loop___spec__4___closed__2; +x_39 = l___private_Lean_CoreM_0__Lean_Core_mkFreshNameImp(x_38, x_9, x_10, x_11); +x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -lean_dec(x_38); -x_41 = l_Lean_mkIdentFrom(x_36, x_39); -x_42 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_42, 0, x_41); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_14); -lean_ctor_set(x_43, 1, x_42); -x_44 = 1; -x_45 = lean_usize_add(x_3, x_44); -x_46 = lean_array_uset(x_16, x_3, x_43); -x_3 = x_45; -x_4 = x_46; -x_11 = x_40; +x_41 = lean_ctor_get(x_39, 1); +lean_inc(x_41); +lean_dec(x_39); +x_42 = 0; +x_43 = l_Lean_mkIdentFrom(x_37, x_40, x_42); +x_44 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_44, 0, x_43); +x_45 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_45, 0, x_14); +lean_ctor_set(x_45, 1, x_44); +x_46 = 1; +x_47 = lean_usize_add(x_3, x_46); +x_48 = lean_array_uset(x_16, x_3, x_45); +x_3 = x_47; +x_4 = x_48; +x_11 = x_41; goto _start; } } @@ -43491,7 +43497,7 @@ _start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -43500,107 +43506,108 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); x_12 = l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___closed__1; +x_13 = 0; lean_inc(x_1); -x_13 = l_Lean_mkAtomFrom(x_1, x_12); -x_14 = l_Lean_Syntax_mkSep(x_3, x_13); +x_14 = l_Lean_mkAtomFrom(x_1, x_12, x_13); +x_15 = l_Lean_Syntax_mkSep(x_3, x_14); lean_dec(x_3); -x_15 = lean_unsigned_to_nat(3u); -x_16 = l_Lean_Syntax_setArg(x_1, x_15, x_14); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_16); -lean_ctor_set(x_17, 1, x_11); -return x_17; +x_16 = lean_unsigned_to_nat(3u); +x_17 = l_Lean_Syntax_setArg(x_1, x_16, x_15); +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_11); +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_18 = lean_ctor_get(x_2, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_2, 1); +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_2, 0); lean_inc(x_19); +x_20 = lean_ctor_get(x_2, 1); +lean_inc(x_20); lean_dec(x_2); -x_20 = lean_unsigned_to_nat(1u); -x_21 = l_Lean_Syntax_getArg(x_18, x_20); +x_21 = lean_unsigned_to_nat(1u); +x_22 = l_Lean_Syntax_getArg(x_19, x_21); lean_inc(x_9); lean_inc(x_7); lean_inc(x_5); -lean_inc(x_21); -x_22 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_21, x_5, x_6, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_22) == 0) -{ -lean_object* x_23; -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); +lean_inc(x_22); +x_23 = l_Lean_Elab_Term_isAtomicDiscr_x3f(x_22, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_23) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 1); +lean_object* x_24; +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2), 13, 10); -lean_closure_set(x_25, 0, x_5); -lean_closure_set(x_25, 1, x_6); -lean_closure_set(x_25, 2, x_7); -lean_closure_set(x_25, 3, x_8); -lean_closure_set(x_25, 4, x_18); -lean_closure_set(x_25, 5, x_3); -lean_closure_set(x_25, 6, x_1); -lean_closure_set(x_25, 7, x_19); -lean_closure_set(x_25, 8, x_4); -lean_closure_set(x_25, 9, x_21); -x_26 = l_Lean_Core_withFreshMacroScope___rarg(x_25, x_9, x_10, x_24); -return x_26; +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2), 13, 10); +lean_closure_set(x_26, 0, x_5); +lean_closure_set(x_26, 1, x_6); +lean_closure_set(x_26, 2, x_7); +lean_closure_set(x_26, 3, x_8); +lean_closure_set(x_26, 4, x_19); +lean_closure_set(x_26, 5, x_3); +lean_closure_set(x_26, 6, x_1); +lean_closure_set(x_26, 7, x_20); +lean_closure_set(x_26, 8, x_4); +lean_closure_set(x_26, 9, x_22); +x_27 = l_Lean_Core_withFreshMacroScope___rarg(x_26, x_9, x_10, x_25); +return x_27; } else { -lean_object* x_27; lean_object* x_28; uint8_t x_29; -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_ctor_get(x_23, 0); +lean_object* x_28; lean_object* x_29; uint8_t x_30; +x_28 = lean_ctor_get(x_23, 1); lean_inc(x_28); lean_dec(x_23); -x_29 = l_Lean_Expr_isFVar(x_28); -if (x_29 == 0) +x_29 = lean_ctor_get(x_24, 0); +lean_inc(x_29); +lean_dec(x_24); +x_30 = l_Lean_Expr_isFVar(x_29); +if (x_30 == 0) { -lean_object* x_30; lean_object* x_31; -lean_dec(x_28); -x_30 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2), 13, 10); -lean_closure_set(x_30, 0, x_5); -lean_closure_set(x_30, 1, x_6); -lean_closure_set(x_30, 2, x_7); -lean_closure_set(x_30, 3, x_8); -lean_closure_set(x_30, 4, x_18); -lean_closure_set(x_30, 5, x_3); -lean_closure_set(x_30, 6, x_1); -lean_closure_set(x_30, 7, x_19); -lean_closure_set(x_30, 8, x_4); -lean_closure_set(x_30, 9, x_21); -x_31 = l_Lean_Core_withFreshMacroScope___rarg(x_30, x_9, x_10, x_27); -return x_31; +lean_object* x_31; lean_object* x_32; +lean_dec(x_29); +x_31 = lean_alloc_closure((void*)(l___private_Lean_Elab_Match_0__Lean_Elab_Term_expandNonAtomicDiscrs_x3f_loop___lambda__2), 13, 10); +lean_closure_set(x_31, 0, x_5); +lean_closure_set(x_31, 1, x_6); +lean_closure_set(x_31, 2, x_7); +lean_closure_set(x_31, 3, x_8); +lean_closure_set(x_31, 4, x_19); +lean_closure_set(x_31, 5, x_3); +lean_closure_set(x_31, 6, x_1); +lean_closure_set(x_31, 7, x_20); +lean_closure_set(x_31, 8, x_4); +lean_closure_set(x_31, 9, x_22); +x_32 = l_Lean_Core_withFreshMacroScope___rarg(x_31, x_9, x_10, x_28); +return x_32; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; -lean_dec(x_21); -x_32 = lean_array_push(x_3, x_18); -x_33 = l_Lean_Expr_fvarId_x21(x_28); -x_34 = lean_box(0); -x_35 = l_Lean_RBNode_insert___at_Lean_CollectFVars_State_add___spec__1(x_4, x_33, x_34); -x_2 = x_19; -x_3 = x_32; -x_4 = x_35; -x_11 = x_27; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_dec(x_22); +x_33 = lean_array_push(x_3, x_19); +x_34 = l_Lean_Expr_fvarId_x21(x_29); +x_35 = lean_box(0); +x_36 = l_Lean_RBNode_insert___at_Lean_CollectFVars_State_add___spec__1(x_4, x_34, x_35); +x_2 = x_20; +x_3 = x_33; +x_4 = x_36; +x_11 = x_28; goto _start; } } } else { -uint8_t x_37; -lean_dec(x_21); +uint8_t x_38; +lean_dec(x_22); +lean_dec(x_20); lean_dec(x_19); -lean_dec(x_18); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -43610,23 +43617,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_22); -if (x_37 == 0) +x_38 = !lean_is_exclusive(x_23); +if (x_38 == 0) { -return x_22; +return x_23; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_22, 0); -x_39 = lean_ctor_get(x_22, 1); +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_23, 0); +x_40 = lean_ctor_get(x_23, 1); +lean_inc(x_40); lean_inc(x_39); -lean_inc(x_38); -lean_dec(x_22); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_dec(x_23); +x_41 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +return x_41; } } } diff --git a/stage0/stdlib/Lean/Elab/MutualDef.c b/stage0/stdlib/Lean/Elab/MutualDef.c index 85d8ef95be..5ce4160187 100644 --- a/stage0/stdlib/Lean/Elab/MutualDef.c +++ b/stage0/stdlib/Lean/Elab/MutualDef.c @@ -660,7 +660,7 @@ LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_MutualDef_0__L static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_getPendindMVarErrorMessage___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_pickMaxFVar_x3f___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_elabMutualDef_processDeriving___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkHole(lean_object*); +lean_object* l_Lean_mkHole(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_checkModifiers___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_MutualClosure_FixPoint_updateUsedVarsOf___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_instInhabitedDefViewElabHeader___closed__1; @@ -4891,7 +4891,7 @@ x_16 = lean_ctor_get(x_1, 4); lean_inc(x_16); if (lean_obj_tag(x_16) == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; +lean_object* x_17; lean_object* x_18; uint8_t x_19; lean_object* x_20; lean_object* x_21; x_17 = lean_ctor_get(x_1, 5); lean_inc(x_17); lean_inc(x_17); @@ -4905,81 +4905,82 @@ lean_closure_set(x_18, 5, x_5); lean_closure_set(x_18, 6, x_17); lean_closure_set(x_18, 7, x_6); lean_closure_set(x_18, 8, x_7); +x_19 = 0; lean_inc(x_17); -x_19 = l_Lean_mkHole(x_17); +x_20 = l_Lean_mkHole(x_17, x_19); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_20 = l_Lean_Elab_Term_elabType(x_19, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_20) == 0) +x_21 = l_Lean_Elab_Term_elabType(x_20, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; uint8_t x_26; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -x_23 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__4; -x_24 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_23, x_9, x_10, x_11, x_12, x_13, x_14, x_22); -x_25 = lean_ctor_get(x_24, 0); -lean_inc(x_25); -x_26 = lean_unbox(x_25); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__4; +x_25 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_24, x_9, x_10, x_11, x_12, x_13, x_14, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_unbox(x_26); +lean_dec(x_26); +if (x_27 == 0) +{ +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_25, 1); +lean_inc(x_28); lean_dec(x_25); -if (x_26 == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_27 = lean_ctor_get(x_24, 1); -lean_inc(x_27); -lean_dec(x_24); -x_28 = lean_box(0); -x_29 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__4(x_21, x_17, x_18, x_28, x_9, x_10, x_11, x_12, x_13, x_14, x_27); -return x_29; +x_29 = lean_box(0); +x_30 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__4(x_22, x_17, x_18, x_29, x_9, x_10, x_11, x_12, x_13, x_14, x_28); +return x_30; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_30 = lean_ctor_get(x_24, 1); -lean_inc(x_30); -lean_dec(x_24); -lean_inc(x_21); -x_31 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_31, 0, x_21); -x_32 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__6; -x_33 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_33, 0, x_32); -lean_ctor_set(x_33, 1, x_31); -x_34 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__8; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -lean_inc(x_21); -x_36 = l_Lean_Expr_mvarId_x21(x_21); -x_37 = lean_alloc_ctor(5, 1, 0); -lean_ctor_set(x_37, 0, x_36); -x_38 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_38, 0, x_35); -lean_ctor_set(x_38, 1, x_37); -x_39 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__6; -x_40 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -x_41 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_23, x_40, x_9, x_10, x_11, x_12, x_13, x_14, x_30); -x_42 = lean_ctor_get(x_41, 0); -lean_inc(x_42); -x_43 = lean_ctor_get(x_41, 1); +lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_31 = lean_ctor_get(x_25, 1); +lean_inc(x_31); +lean_dec(x_25); +lean_inc(x_22); +x_32 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_32, 0, x_22); +x_33 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__6; +x_34 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_32); +x_35 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__5___closed__8; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +lean_inc(x_22); +x_37 = l_Lean_Expr_mvarId_x21(x_22); +x_38 = lean_alloc_ctor(5, 1, 0); +lean_ctor_set(x_38, 0, x_37); +x_39 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_38); +x_40 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_check___lambda__2___closed__6; +x_41 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_41, 0, x_39); +lean_ctor_set(x_41, 1, x_40); +x_42 = l_Lean_addTrace___at_Lean_Elab_Term_traceAtCmdPos___spec__2(x_24, x_41, x_9, x_10, x_11, x_12, x_13, x_14, x_31); +x_43 = lean_ctor_get(x_42, 0); lean_inc(x_43); -lean_dec(x_41); -x_44 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__4(x_21, x_17, x_18, x_42, x_9, x_10, x_11, x_12, x_13, x_14, x_43); +x_44 = lean_ctor_get(x_42, 1); +lean_inc(x_44); lean_dec(x_42); -return x_44; +x_45 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__4(x_22, x_17, x_18, x_43, x_9, x_10, x_11, x_12, x_13, x_14, x_44); +lean_dec(x_43); +return x_45; } } else { -uint8_t x_45; +uint8_t x_46; lean_dec(x_18); lean_dec(x_17); lean_dec(x_14); @@ -4988,33 +4989,33 @@ lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); -x_45 = !lean_is_exclusive(x_20); -if (x_45 == 0) +x_46 = !lean_is_exclusive(x_21); +if (x_46 == 0) { -return x_20; +return x_21; } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; -x_46 = lean_ctor_get(x_20, 0); -x_47 = lean_ctor_get(x_20, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_47 = lean_ctor_get(x_21, 0); +x_48 = lean_ctor_get(x_21, 1); +lean_inc(x_48); lean_inc(x_47); -lean_inc(x_46); -lean_dec(x_20); -x_48 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_48, 0, x_46); -lean_ctor_set(x_48, 1, x_47); -return x_48; +lean_dec(x_21); +x_49 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_49, 0, x_47); +lean_ctor_set(x_49, 1, x_48); +return x_49; } } } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_1, 5); -lean_inc(x_49); -x_50 = lean_ctor_get(x_16, 0); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_1, 5); lean_inc(x_50); +x_51 = lean_ctor_get(x_16, 0); +lean_inc(x_51); lean_dec(x_16); lean_inc(x_14); lean_inc(x_13); @@ -5022,29 +5023,29 @@ lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -lean_inc(x_50); -x_51 = l_Lean_Elab_Term_elabType(x_50, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_51) == 0) +lean_inc(x_51); +x_52 = l_Lean_Elab_Term_elabType(x_51, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +if (lean_obj_tag(x_52) == 0) { -lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_52 = lean_ctor_get(x_51, 0); -lean_inc(x_52); -x_53 = lean_ctor_get(x_51, 1); +lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_53 = lean_ctor_get(x_52, 0); lean_inc(x_53); -lean_dec(x_51); -x_54 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo(x_52, x_50, x_9, x_10, x_11, x_12, x_13, x_14, x_53); -x_55 = lean_ctor_get(x_54, 1); -lean_inc(x_55); -lean_dec(x_54); -x_56 = l_Lean_Parser_Term_type; -x_57 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__3(x_8, x_1, x_2, x_3, x_4, x_5, x_49, x_6, x_7, x_56, x_52, x_9, x_10, x_11, x_12, x_13, x_14, x_55); -return x_57; +x_54 = lean_ctor_get(x_52, 1); +lean_inc(x_54); +lean_dec(x_52); +x_55 = l___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_registerFailedToInferDefTypeInfo(x_53, x_51, x_9, x_10, x_11, x_12, x_13, x_14, x_54); +x_56 = lean_ctor_get(x_55, 1); +lean_inc(x_56); +lean_dec(x_55); +x_57 = l_Lean_Parser_Term_type; +x_58 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_MutualDef_0__Lean_Elab_Term_elabHeaders___spec__6___lambda__3(x_8, x_1, x_2, x_3, x_4, x_5, x_50, x_6, x_7, x_57, x_53, x_9, x_10, x_11, x_12, x_13, x_14, x_56); +return x_58; } else { -uint8_t x_58; +uint8_t x_59; +lean_dec(x_51); lean_dec(x_50); -lean_dec(x_49); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -5059,23 +5060,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_58 = !lean_is_exclusive(x_51); -if (x_58 == 0) +x_59 = !lean_is_exclusive(x_52); +if (x_59 == 0) { -return x_51; +return x_52; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_51, 0); -x_60 = lean_ctor_get(x_51, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_52, 0); +x_61 = lean_ctor_get(x_52, 1); +lean_inc(x_61); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_51); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_dec(x_52); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } diff --git a/stage0/stdlib/Lean/Elab/Notation.c b/stage0/stdlib/Lean/Elab/Notation.c index c57f75195c..3a74a759f9 100644 --- a/stage0/stdlib/Lean/Elab/Notation.c +++ b/stage0/stdlib/Lean/Elab/Notation.c @@ -41,7 +41,7 @@ lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___lambda__1___closed__53; static lean_object* l_Lean_Elab_Command_mkSimpleDelab___lambda__1___closed__42; LEAN_EXPORT lean_object* l_Lean_Elab_Command_expandNotation___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___lambda__1___closed__17; static lean_object* l_Lean_Elab_Command_removeParentheses___closed__2; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); @@ -62,7 +62,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___lambda__1___closed__11; static lean_object* l_Lean_Elab_Command_addInheritDocDefault___closed__6; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___lambda__1___closed__70; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_mkSimpleDelab___lambda__1___closed__36; @@ -3468,17 +3468,18 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Command_mkSimpleDelab___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; x_3 = lean_ctor_get(x_1, 5); lean_inc(x_3); lean_dec(x_1); -x_4 = l_Lean_SourceInfo_fromRef(x_3); -x_5 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_5, 0, x_4); -x_6 = lean_alloc_ctor(0, 2, 0); +x_4 = 0; +x_5 = l_Lean_SourceInfo_fromRef(x_3, x_4); +x_6 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_2); -return x_6; +x_7 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_7, 0, x_6); +lean_ctor_set(x_7, 1, x_2); +return x_7; } } static lean_object* _init_l_Lean_Elab_Command_mkSimpleDelab___lambda__1___closed__1() { @@ -8101,41 +8102,42 @@ lean_inc(x_9); x_19 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___spec__1(x_17, x_18, x_9, x_11, x_15); if (lean_obj_tag(x_19) == 0) { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_20; lean_object* x_21; lean_object* x_22; uint8_t x_23; lean_object* x_24; x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); x_21 = lean_ctor_get(x_19, 1); lean_inc(x_21); lean_dec(x_19); x_22 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_antiquote___closed__4; -x_23 = l_Lean_mkIdentFrom(x_1, x_22); +x_23 = 0; +x_24 = l_Lean_mkIdentFrom(x_1, x_22, x_23); if (lean_obj_tag(x_7) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_box(2); -x_25 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_addInheritDocDefault___spec__1___lambda__2___closed__2; +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_box(2); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Elab_Command_addInheritDocDefault___spec__1___lambda__2___closed__2; lean_inc(x_20); -x_26 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -lean_ctor_set(x_26, 2, x_20); +x_27 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +lean_ctor_set(x_27, 2, x_20); lean_inc(x_11); -x_27 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_22, x_26, x_11, x_21); -if (lean_obj_tag(x_27) == 0) +x_28 = l_Lean_Elab_Command_mkNameFromParserSyntax(x_22, x_27, x_11, x_21); +if (lean_obj_tag(x_28) == 0) { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_27, 0); -lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); lean_inc(x_29); -lean_dec(x_27); -x_30 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_16, x_10, x_4, x_17, x_18, x_9, x_2, x_5, x_14, x_20, x_7, x_23, x_6, x_3, x_28, x_11, x_29); -return x_30; +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_16, x_10, x_4, x_17, x_18, x_9, x_2, x_5, x_14, x_20, x_7, x_24, x_6, x_3, x_29, x_11, x_30); +return x_31; } else { -uint8_t x_31; -lean_dec(x_23); +uint8_t x_32; +lean_dec(x_24); lean_dec(x_20); lean_dec(x_16); lean_dec(x_14); @@ -8147,40 +8149,40 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_31 = !lean_is_exclusive(x_27); -if (x_31 == 0) +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) { -return x_27; +return x_28; } else { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_32 = lean_ctor_get(x_27, 0); -x_33 = lean_ctor_get(x_27, 1); +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_28, 0); +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); lean_inc(x_33); -lean_inc(x_32); -lean_dec(x_27); -x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_32); -lean_ctor_set(x_34, 1, x_33); -return x_34; +lean_dec(x_28); +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_35; lean_object* x_36; lean_object* x_37; -x_35 = lean_ctor_get(x_7, 0); -lean_inc(x_35); -x_36 = l_Lean_Syntax_getId(x_35); -lean_dec(x_35); -x_37 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_16, x_10, x_4, x_17, x_18, x_9, x_2, x_5, x_14, x_20, x_7, x_23, x_6, x_3, x_36, x_11, x_21); -return x_37; +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_7, 0); +lean_inc(x_36); +x_37 = l_Lean_Syntax_getId(x_36); +lean_dec(x_36); +x_38 = l___private_Lean_Elab_Notation_0__Lean_Elab_Command_expandNotationAux___lambda__2(x_16, x_10, x_4, x_17, x_18, x_9, x_2, x_5, x_14, x_20, x_7, x_24, x_6, x_3, x_37, x_11, x_21); +return x_38; } } else { -uint8_t x_38; +uint8_t x_39; lean_dec(x_16); lean_dec(x_14); lean_dec(x_11); @@ -8193,29 +8195,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_38 = !lean_is_exclusive(x_19); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_19); +if (x_39 == 0) { return x_19; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_19, 0); -x_40 = lean_ctor_get(x_19, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_19, 0); +x_41 = lean_ctor_get(x_19, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); lean_dec(x_19); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } else { -uint8_t x_42; +uint8_t x_43; lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); @@ -8226,23 +8228,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_42 = !lean_is_exclusive(x_13); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_13); +if (x_43 == 0) { return x_13; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_13, 0); -x_44 = lean_ctor_get(x_13, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_13, 0); +x_45 = lean_ctor_get(x_13, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); lean_dec(x_13); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } diff --git a/stage0/stdlib/Lean/Elab/PatternVar.c b/stage0/stdlib/Lean/Elab/PatternVar.c index 357a3f6dc1..82acd508aa 100644 --- a/stage0/stdlib/Lean/Elab/PatternVar.c +++ b/stage0/stdlib/Lean/Elab/PatternVar.c @@ -51,7 +51,7 @@ static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPa lean_object* l_Array_append___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__6; static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__6; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__1; static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwInvalidPattern___rarg___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -76,7 +76,7 @@ uint8_t lean_name_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_throwCtorExpected___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at_Lean_Elab_Term_getPatternsVars___spec__1___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Array_mapSepElemsMAux___at_Lean_Elab_Term_CollectPatternVars_collect___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect___closed__23; static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___lambda__2___closed__2; static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_processVar___closed__2; @@ -266,7 +266,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect(lean_object lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processExplicitArg___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_CollectPatternVars_collect_processCtorAppContext(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_getNextParam___closed__3; lean_object* l_Lean_Syntax_TSepArray_getElems___rarg(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__3; @@ -778,15 +778,16 @@ return x_18; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { @@ -2002,7 +2003,7 @@ lean_inc(x_5); x_35 = l_Lean_Elab_Term_CollectPatternVars_collect(x_21, x_5, x_6, x_7, x_8, x_9, x_34, x_11, x_12); if (lean_obj_tag(x_35) == 0) { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; 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; size_t x_59; size_t x_60; lean_object* x_61; +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; uint8_t x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; 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; size_t x_60; size_t x_61; lean_object* x_62; x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); x_37 = lean_ctor_get(x_35, 1); @@ -2026,38 +2027,39 @@ lean_inc(x_39); x_46 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_46, 0, x_39); lean_ctor_set(x_46, 1, x_45); -x_47 = l_Lean_mkIdentFrom(x_19, x_20); -x_48 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__3; +x_47 = 0; +x_48 = l_Lean_mkIdentFrom(x_19, x_20, x_47); +x_49 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__3; lean_inc(x_39); -x_49 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_49, 0, x_39); -lean_ctor_set(x_49, 1, x_48); -x_50 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__4; +x_50 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_50, 0, x_39); +lean_ctor_set(x_50, 1, x_49); +x_51 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__4; lean_inc(x_39); -x_51 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_51, 0, x_39); -lean_ctor_set(x_51, 1, x_50); -x_52 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__5; -x_53 = lean_array_push(x_52, x_46); -x_54 = lean_array_push(x_53, x_47); -x_55 = lean_array_push(x_54, x_49); -x_56 = lean_array_push(x_55, x_36); -x_57 = lean_array_push(x_56, x_51); -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_39); -lean_ctor_set(x_58, 1, x_44); -lean_ctor_set(x_58, 2, x_57); -x_59 = 1; -x_60 = lean_usize_add(x_3, x_59); -x_61 = lean_array_uset(x_17, x_3, x_58); -x_3 = x_60; -x_4 = x_61; +x_52 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_52, 0, x_39); +lean_ctor_set(x_52, 1, x_51); +x_53 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__5; +x_54 = lean_array_push(x_53, x_46); +x_55 = lean_array_push(x_54, x_48); +x_56 = lean_array_push(x_55, x_50); +x_57 = lean_array_push(x_56, x_36); +x_58 = lean_array_push(x_57, x_52); +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_39); +lean_ctor_set(x_59, 1, x_44); +lean_ctor_set(x_59, 2, x_58); +x_60 = 1; +x_61 = lean_usize_add(x_3, x_60); +x_62 = lean_array_uset(x_17, x_3, x_59); +x_3 = x_61; +x_4 = x_62; x_12 = x_42; goto _start; } else { -uint8_t x_63; +uint8_t x_64; lean_dec(x_34); lean_dec(x_20); lean_dec(x_19); @@ -2070,32 +2072,32 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_63 = !lean_is_exclusive(x_35); -if (x_63 == 0) +x_64 = !lean_is_exclusive(x_35); +if (x_64 == 0) { return x_35; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_35, 0); -x_65 = lean_ctor_get(x_35, 1); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_35, 0); +x_66 = lean_ctor_get(x_35, 1); +lean_inc(x_66); lean_inc(x_65); -lean_inc(x_64); lean_dec(x_35); -x_66 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_66, 0, x_64); -lean_ctor_set(x_66, 1, x_65); -return x_66; +x_67 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_67, 0, x_65); +lean_ctor_set(x_67, 1, x_66); +return x_67; } } } else { -lean_object* x_67; lean_object* x_68; +lean_object* x_68; lean_object* x_69; lean_dec(x_18); lean_dec(x_15); -x_67 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__9; +x_68 = l_Array_mapMUnsafe_map___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__2___closed__9; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); @@ -2103,26 +2105,26 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_68 = l_panic___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__1(x_67, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -if (lean_obj_tag(x_68) == 0) +x_69 = l_panic___at_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___spec__1(x_68, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_69; lean_object* x_70; size_t x_71; size_t x_72; lean_object* x_73; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +lean_object* x_70; lean_object* x_71; size_t x_72; size_t x_73; lean_object* x_74; +x_70 = lean_ctor_get(x_69, 0); lean_inc(x_70); -lean_dec(x_68); -x_71 = 1; -x_72 = lean_usize_add(x_3, x_71); -x_73 = lean_array_uset(x_17, x_3, x_69); -x_3 = x_72; -x_4 = x_73; -x_12 = x_70; +x_71 = lean_ctor_get(x_69, 1); +lean_inc(x_71); +lean_dec(x_69); +x_72 = 1; +x_73 = lean_usize_add(x_3, x_72); +x_74 = lean_array_uset(x_17, x_3, x_70); +x_3 = x_73; +x_4 = x_74; +x_12 = x_71; goto _start; } else { -uint8_t x_75; +uint8_t x_76; lean_dec(x_17); lean_dec(x_11); lean_dec(x_10); @@ -2132,23 +2134,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_1); -x_75 = !lean_is_exclusive(x_68); -if (x_75 == 0) +x_76 = !lean_is_exclusive(x_69); +if (x_76 == 0) { -return x_68; +return x_69; } else { -lean_object* x_76; lean_object* x_77; lean_object* x_78; -x_76 = lean_ctor_get(x_68, 0); -x_77 = lean_ctor_get(x_68, 1); +lean_object* x_77; lean_object* x_78; lean_object* x_79; +x_77 = lean_ctor_get(x_69, 0); +x_78 = lean_ctor_get(x_69, 1); +lean_inc(x_78); lean_inc(x_77); -lean_inc(x_76); -lean_dec(x_68); -x_78 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -return x_78; +lean_dec(x_69); +x_79 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_79, 0, x_77); +lean_ctor_set(x_79, 1, x_78); +return x_79; } } } @@ -2501,25 +2503,26 @@ return x_38; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_object* x_39; lean_object* x_40; lean_object* x_41; uint8_t x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; x_39 = lean_ctor_get(x_33, 0); lean_inc(x_39); x_40 = lean_ctor_get(x_33, 1); lean_inc(x_40); lean_dec(x_33); x_41 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__5; -x_42 = l_Lean_mkAtomFrom(x_1, x_41); -x_43 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__6; -x_44 = lean_array_push(x_43, x_42); -x_45 = lean_box(2); -x_46 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__4; -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_44); -x_48 = lean_array_push(x_39, x_47); -x_49 = lean_box(0); -x_50 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___lambda__1(x_29, x_15, x_48, x_49, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); +x_42 = 0; +x_43 = l_Lean_mkAtomFrom(x_1, x_41, x_42); +x_44 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__6; +x_45 = lean_array_push(x_44, x_43); +x_46 = lean_box(2); +x_47 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__4; +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_45); +x_49 = lean_array_push(x_39, x_48); +x_50 = lean_box(0); +x_51 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___lambda__1(x_29, x_15, x_49, x_50, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_40); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2527,12 +2530,12 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_50; +return x_51; } } else { -uint8_t x_51; +uint8_t x_52; lean_dec(x_29); lean_dec(x_18); lean_dec(x_15); @@ -2544,29 +2547,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_51 = !lean_is_exclusive(x_33); -if (x_51 == 0) +x_52 = !lean_is_exclusive(x_33); +if (x_52 == 0) { return x_33; } else { -lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_52 = lean_ctor_get(x_33, 0); -x_53 = lean_ctor_get(x_33, 1); +lean_object* x_53; lean_object* x_54; lean_object* x_55; +x_53 = lean_ctor_get(x_33, 0); +x_54 = lean_ctor_get(x_33, 1); +lean_inc(x_54); lean_inc(x_53); -lean_inc(x_52); lean_dec(x_33); -x_54 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_54, 0, x_52); -lean_ctor_set(x_54, 1, x_53); -return x_54; +x_55 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_55, 0, x_53); +lean_ctor_set(x_55, 1, x_54); +return x_55; } } } else { -uint8_t x_55; +uint8_t x_56; lean_dec(x_18); lean_dec(x_17); lean_dec(x_15); @@ -2578,30 +2581,30 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_55 = !lean_is_exclusive(x_28); -if (x_55 == 0) +x_56 = !lean_is_exclusive(x_28); +if (x_56 == 0) { return x_28; } else { -lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_56 = lean_ctor_get(x_28, 0); -x_57 = lean_ctor_get(x_28, 1); +lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_57 = lean_ctor_get(x_28, 0); +x_58 = lean_ctor_get(x_28, 1); +lean_inc(x_58); lean_inc(x_57); -lean_inc(x_56); lean_dec(x_28); -x_58 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_58, 0, x_56); -lean_ctor_set(x_58, 1, x_57); -return x_58; +x_59 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_59, 0, x_57); +lean_ctor_set(x_59, 1, x_58); +return x_59; } } } } else { -uint8_t x_59; +uint8_t x_60; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -2610,23 +2613,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_59 = !lean_is_exclusive(x_10); -if (x_59 == 0) +x_60 = !lean_is_exclusive(x_10); +if (x_60 == 0) { return x_10; } else { -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_10, 0); -x_61 = lean_ctor_get(x_10, 1); +lean_object* x_61; lean_object* x_62; lean_object* x_63; +x_61 = lean_ctor_get(x_10, 0); +x_62 = lean_ctor_get(x_10, 1); +lean_inc(x_62); lean_inc(x_61); -lean_inc(x_60); lean_dec(x_10); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); -return x_62; +x_63 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_63, 0, x_61); +lean_ctor_set(x_63, 1, x_62); +return x_63; } } } @@ -5715,32 +5718,32 @@ x_47 = lean_array_push(x_46, x_34); if (lean_obj_tag(x_10) == 0) { x_48 = x_40; -goto block_85; +goto block_86; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_86 = lean_ctor_get(x_10, 0); -lean_inc(x_86); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_87 = lean_ctor_get(x_10, 0); +lean_inc(x_87); lean_dec(x_10); -x_87 = l_Array_append___rarg(x_40, x_86); +x_88 = l_Array_append___rarg(x_40, x_87); lean_inc(x_28); -x_88 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_88, 0, x_28); -lean_ctor_set(x_88, 1, x_42); -lean_ctor_set(x_88, 2, x_87); -x_89 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__10; +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_28); +lean_ctor_set(x_89, 1, x_42); +lean_ctor_set(x_89, 2, x_88); +x_90 = l_Lean_Elab_Term_CollectPatternVars_collect___lambda__2___closed__10; lean_inc(x_28); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_28); -lean_ctor_set(x_90, 1, x_89); -x_91 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; -x_92 = lean_array_push(x_91, x_88); -x_93 = lean_array_push(x_92, x_90); -x_48 = x_93; -goto block_85; +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_28); +lean_ctor_set(x_91, 1, x_90); +x_92 = l___private_Lean_Elab_PatternVar_0__Lean_Elab_Term_CollectPatternVars_finalize___closed__12; +x_93 = lean_array_push(x_92, x_89); +x_94 = lean_array_push(x_93, x_91); +x_48 = x_94; +goto block_86; } -block_85: +block_86: { lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; x_49 = l_Array_append___rarg(x_40, x_48); @@ -5758,18 +5761,19 @@ goto block_78; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; +lean_object* x_79; uint8_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; x_79 = lean_ctor_get(x_9, 0); lean_inc(x_79); lean_dec(x_9); -x_80 = l_Lean_SourceInfo_fromRef(x_79); -x_81 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__5; -x_82 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -x_83 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__6; -x_84 = lean_array_push(x_83, x_82); -x_53 = x_84; +x_80 = 0; +x_81 = l_Lean_SourceInfo_fromRef(x_79, x_80); +x_82 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__5; +x_83 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +x_84 = l_Lean_Elab_Term_CollectPatternVars_collect_processCtorApp___closed__6; +x_85 = lean_array_push(x_84, x_83); +x_53 = x_85; goto block_78; } block_78: @@ -5853,7 +5857,7 @@ return x_77; } else { -uint8_t x_94; +uint8_t x_95; lean_dec(x_18); lean_dec(x_17); lean_dec(x_10); @@ -5861,23 +5865,23 @@ lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_94 = !lean_is_exclusive(x_24); -if (x_94 == 0) +x_95 = !lean_is_exclusive(x_24); +if (x_95 == 0) { return x_24; } else { -lean_object* x_95; lean_object* x_96; lean_object* x_97; -x_95 = lean_ctor_get(x_24, 0); -x_96 = lean_ctor_get(x_24, 1); +lean_object* x_96; lean_object* x_97; lean_object* x_98; +x_96 = lean_ctor_get(x_24, 0); +x_97 = lean_ctor_get(x_24, 1); +lean_inc(x_97); lean_inc(x_96); -lean_inc(x_95); lean_dec(x_24); -x_97 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_97, 0, x_95); -lean_ctor_set(x_97, 1, x_96); -return x_97; +x_98 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_98, 0, x_96); +lean_ctor_set(x_98, 1, x_97); +return x_98; } } } diff --git a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c index ff6221bfa2..f140ba759c 100644 --- a/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c +++ b/stage0/stdlib/Lean/Elab/PreDefinition/WF/Fix.c @@ -50,7 +50,7 @@ static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_r LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__7___boxed(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processSumCasesOn___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps___closed__5; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_processPSigmaCasesOn___closed__4; lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_replaceRecApps_loop___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -279,15 +279,16 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_PreDefinition_WF_Fix_0__Lean_Elab_WF_applyDefaultDecrTactic___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) { diff --git a/stage0/stdlib/Lean/Elab/Quotation.c b/stage0/stdlib/Lean/Elab/Quotation.c index 0bf1acbbd9..f2f258bf25 100644 --- a/stage0/stdlib/Lean/Elab/Quotation.c +++ b/stage0/stdlib/Lean/Elab/Quotation.c @@ -13,6 +13,7 @@ #ifdef __cplusplus extern "C" { #endif +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange(lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__12; lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); @@ -24,8 +25,10 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quot static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__61; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__50; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__20; -lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__23; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__2; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__18; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__9___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__2; @@ -42,6 +45,7 @@ uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__38; lean_object* l_Lean_extractMacroScopes(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__2; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__2___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__17; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__6; @@ -54,8 +58,6 @@ static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__29; lean_object* l_List_tail_x21___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__6(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__2; lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); lean_object* l_Lean_Elab_Term_addTermInfo_x27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2; @@ -66,7 +68,6 @@ static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation_____ static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__14; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__28; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__11___closed__1; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__46; @@ -77,8 +78,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__3; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__49; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__68; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__4; @@ -90,6 +90,7 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__30; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__75; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__13; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__42; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__1; @@ -109,6 +110,7 @@ static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_ge uint8_t l_Lean_isLitKind(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__26; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__44; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__1; lean_object* l_Array_eraseIdx___rarg(lean_object*, lean_object*); uint8_t lean_usize_dec_eq(size_t, size_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__21; @@ -134,14 +136,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quota static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable___boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__13; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__4; lean_object* l_Lean_log___at_Lean_Elab_Term_exceptionToSorry___spec__2(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__34; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__17; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkConstWithFreshMVarLevels(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__18; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__2; LEAN_EXPORT lean_object* l_Std_Format_joinSep___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__11(lean_object*, lean_object*); lean_object* l_Lean_Syntax_antiquotSuffixSplice_x3f(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__63; @@ -149,67 +149,68 @@ static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__7; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__71; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__14; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__37; static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__9; static lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__2; lean_object* l_List_filterMap___at_Lean_resolveGlobalConst___spec__1(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__2; lean_object* l_List_unzip___rarg(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__10; static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__4; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__32; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__8; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16___boxed(lean_object**); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19___boxed(lean_object**); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__3; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__53; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__7; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__7(size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__9; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__14; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_append(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_structEq(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__4; static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__8; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__3; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__16; size_t lean_usize_sub(size_t, size_t); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__11; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_Quotation_getQuotKind___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__4; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__28___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__40; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__2; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5___closed__1; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__20; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__10; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__6; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__9; @@ -224,16 +225,15 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__27; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__19; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10(lean_object*, lean_object*, size_t, size_t); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__24; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__10(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__4; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__19___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__2; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__12; @@ -245,12 +245,11 @@ LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quot static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__47; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__29; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__43; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__11; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; lean_object* l_Array_toSubarray___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__4; lean_object* lean_array_push(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__26; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__51; @@ -270,26 +269,23 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quota static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__22; static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__15; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__2; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__34; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__14; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__1; lean_object* l_Lean_Syntax_getAntiquotTerm(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange(lean_object*); LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__6; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__31___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__28(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__43; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__1; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__19; @@ -318,15 +314,16 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quota lean_object* lean_string_utf8_byte_size(lean_object*); static lean_object* l_panic___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1___closed__1; lean_object* l_List_head_x21___rarg(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__2; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getPatternsVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_mkTuple(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__56; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_findUsedAlts___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__13; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_Quotation_getQuotKind___spec__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__20; @@ -336,12 +333,14 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__16; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__50; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__13; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__3; lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__41; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__9; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__4; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__12; @@ -353,41 +352,41 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__15; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__3; lean_object* l_Lean_mkHashSetImp___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__17___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__5; static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__27; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__12___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853_(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__2; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__63; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__4; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__1; lean_object* lean_nat_add(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__21; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__3; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__9; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__21; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__24; @@ -395,12 +394,12 @@ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__18; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20___boxed(lean_object**); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__18; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__5; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__23; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__7; @@ -413,56 +412,60 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__56; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__77; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__22; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__11; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__49; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_findUsedAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__16; extern lean_object* l_Lean_LocalContext_empty; size_t lean_uint64_to_usize(uint64_t); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__16; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__3; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__9(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__42; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__2(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__18; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___boxed(lean_object**); uint8_t l_Lean_Syntax_isAntiquots(lean_object*); -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot__; lean_object* l_Lean_Core_withFreshMacroScope___rarg(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__15; LEAN_EXPORT lean_object* l_List_replace___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__8(lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__3; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10___boxed(lean_object**); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__18; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_tryAddSyntaxNodeKindInfo___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__49; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__4; lean_object* l_Array_mapMUnsafe_map___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__3(size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at_Lean_Elab_Term_Quotation_getQuotKind___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__12; lean_object* l_Lean_ConstantInfo_levelParams(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__28; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25(lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__14; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__55; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__1; @@ -475,15 +478,19 @@ static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation_____ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__9; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__16(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__29; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__3; lean_object* lean_array_fget(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; uint8_t l_Lean_Option_get___at_Lean_getSanitizeNames___spec__1(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__2; static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__25; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__3; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t lean_nat_dec_eq(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__37; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__52; @@ -498,16 +505,15 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ uint8_t l_Lean_Syntax_matchesNull(lean_object*, lean_object*); lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__12___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__14; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__14; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__6; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__9___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__8; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_checkUnusedAlts___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_take(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__27(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__62; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__2; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__2___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__25; @@ -516,6 +522,7 @@ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__4; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__54; lean_object* l_ReaderT_bind___at_Lean_Unhygienic_instMonadQuotationUnhygienic___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*); @@ -524,6 +531,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__45; lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__2; @@ -538,20 +546,18 @@ LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_getQuot static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__3___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__17; lean_object* l_Lean_Syntax_mkCApp(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__8; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__2; static lean_object* l_Lean_Elab_Term_Quotation_tryAddSyntaxNodeKindInfo___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__17; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__29; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__17; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__2; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__7; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__28; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__4; @@ -564,11 +570,13 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__12; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__33; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__22; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__9; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__8; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__47; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__15; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__18; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__12; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__17; @@ -583,88 +591,90 @@ static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation_____ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__8; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__46; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__3; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__27; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__2; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__59; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__1; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); lean_object* l_Lean_Name_num___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__37; lean_object* l_Lean_replaceRef(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__2; lean_object* l_Lean_ResolveName_resolveNamespace(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__28___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__42; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__5; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__53; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__13; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__21; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__6; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_findUsedAlts_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__23; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__9; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__3; LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__9(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__3; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__8; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__78; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__22; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__14; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__28; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__2; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__41; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__8___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__2; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_checkUnusedAlts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_Quotation_getQuotKind___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__4; static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__24; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__42; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__9; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__2; lean_object* l_Nat_repr(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__4; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_Quotation_getQuotKind___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__3; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__15(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__33; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_findUsedAlts_go___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__15; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__53; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__26; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22___boxed(lean_object**); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__13; static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__11; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__3; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__55; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__12; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__54; @@ -672,18 +682,16 @@ static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous_ lean_object* l_Lean_Syntax_getId(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__4; lean_object* l_Lean_Elab_addMacroStack___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1___closed__6; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__31; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__21; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__52; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__2; static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__28; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*); @@ -691,7 +699,6 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__8; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__22; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__3; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__37; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__2; lean_object* l_List_replicateTR___rarg(lean_object*, lean_object*); @@ -700,22 +707,17 @@ lean_object* l_Array_back___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_mkConstWithLevelParams___at_Lean_Elab_Term_Quotation_getQuotKind___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_checkUnusedAlts___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__4; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__26; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3___lambda__1___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__9; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__23; LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__13(lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__1; lean_object* l_Function_comp___rarg(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__3; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__11; lean_object* lean_array_to_list(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -725,16 +727,17 @@ static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_mkTuple___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__2; uint8_t l_Lean_Environment_contains(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__2; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax_declRange___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__4; static lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Term_Quotation_getQuotKind___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__10; @@ -746,10 +749,8 @@ static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation_____ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__62; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__30___closed__1; -static lean_object* l_Lean_Elab_Term_Quotation_addNamedQuotInfo___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__30___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___spec__1___boxed(lean_object*); lean_object* l_Lean_Elab_Term_Quotation_getAntiquotationIds(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -764,12 +765,12 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_addNamedQuotInfo(lean_object static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__21; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__2; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_16664_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_16709_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__20; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__7; lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__8; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__17(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -781,20 +782,26 @@ uint8_t l_Array_isEmpty___rarg(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__2___closed__5; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__43; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__52; static lean_object* l_List_format___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__10___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__10; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax_declRange___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__12(lean_object*, size_t, size_t, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__27; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__7; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(lean_object*, size_t, size_t, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__16; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__7; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__3; lean_object* l_Lean_mkSepArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__30(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__1; static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_elabNoErrorIfUnused___spec__1___rarg(lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__4; @@ -840,10 +847,12 @@ lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__30___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__45; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__36; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax_declRange___closed__7; static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__13___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__20; LEAN_EXPORT lean_object* l_Lean_HashSetImp_expand___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__4(lean_object*, lean_object*); @@ -852,6 +861,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___closed__1; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__12; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__18___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__64; @@ -862,19 +872,19 @@ uint8_t l_Lean_Syntax_isAtom(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__35; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__13; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__39; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__7; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_addNamedQuotInfo___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_termElabAttribute; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__27___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__41; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__11(lean_object*, size_t, lean_object*, size_t, size_t); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__12; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange(lean_object*); lean_object* l_Lean_resolveGlobalName___at_Lean_Elab_Term_resolveName___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__15; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__19(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__60; @@ -884,23 +894,24 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Lean_Syntax_mkNumLit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_beq___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__5___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__29; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; LEAN_EXPORT uint8_t l_Lean_HashSetImp_contains___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_checkUnusedAlts___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__25; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__24(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__5; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__16; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__24; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__18; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__14; lean_object* l_Lean_Syntax_getQuotContent(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5(size_t, size_t, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__3; static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1___rarg___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__4; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__32; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__3; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__10; @@ -917,8 +928,6 @@ static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation_____ LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__23(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__17; lean_object* l_List_redLength___rarg(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__2; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__15; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__12; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__17___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -927,19 +936,20 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at___private_Lean_Elab_Quotati LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___boxed(lean_object**); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__30; uint8_t l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at___private_Lean_Meta_Basic_0__Lean_Meta_beqInfoCacheKey____x40_Lean_Meta_Basic___hyg_369____spec__1(lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__6; lean_object* l_Lean_Expr_const___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__49; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__20(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__48; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__29(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__34; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__23; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__5; LEAN_EXPORT lean_object* l_Lean_resolveGlobalConstCore___at_Lean_Elab_Term_Quotation_getQuotKind___spec__5___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -951,27 +961,26 @@ LEAN_EXPORT lean_object* l_Lean_Elab_addConstInfo___at_Lean_Elab_Term_Quotation_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__23; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__5; LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__17(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862_(lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853_(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895_(lean_object*); lean_object* l_Lean_Syntax_setArg(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__18; lean_object* lean_environment_main_module(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__2___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__14; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___lambda__3(lean_object*, lean_object*); @@ -1021,27 +1030,30 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quota LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12(lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MacroScopesView_review(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__20; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__4; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__1; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__11; lean_object* l_Lean_quoteNameMk(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Elab_Term_Quotation_getQuotKind___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__14; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_elabNoErrorIfUnused___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__10; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__60; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__6; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__47; lean_object* l_Lean_RBNode_find___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__2(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__4; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__57; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__19; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__56; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__2; static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__13; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__8; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__10(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__2___closed__2; @@ -1056,9 +1068,11 @@ static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous_ LEAN_EXPORT lean_object* l_List_foldl___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__6(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__44; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__3(lean_object*, size_t, size_t, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__24; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__11; lean_object* l_Array_sequenceMap___at___aux__Init__NotationExtra______macroRules__term_x25_x5b___x7c___x5d__1___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__6; @@ -1080,7 +1094,6 @@ static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_ static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__22; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__2; lean_object* l_Lean_Elab_Term_adaptExpander(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__16; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__3; lean_object* lean_nat_mul(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__45; @@ -1093,17 +1106,15 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ lean_object* l_Lean_Syntax_mkNameLit(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__13___boxed(lean_object**); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__1; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax_declRange___closed__2; lean_object* l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_resolveNamespaceCore___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__28___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__2; lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__2; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__19; LEAN_EXPORT uint8_t l_List_elem___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__3(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__2; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__9; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__3; @@ -1119,23 +1130,24 @@ LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__9; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___boxed(lean_object**); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__44; lean_object* l_List_toArrayAux___rarg(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__11; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__14; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__2; LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__27; lean_object* l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__46; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__40; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__9; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__6; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__1; LEAN_EXPORT lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__2(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__6; @@ -1143,22 +1155,23 @@ static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0_ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__16(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__4; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__57; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__6; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__1; lean_object* l_Lean_Syntax_getAntiquotSpliceContents(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__17; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5___closed__7; LEAN_EXPORT lean_object* l_List_replace___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__8___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__57; @@ -1168,46 +1181,47 @@ lean_object* lean_mk_array(lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__11; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__1; LEAN_EXPORT lean_object* l_Array_mapIdxM_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__16; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__26; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___boxed(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1___closed__13; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getTailPos_x3f(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__11; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__2; static lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__12___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__13___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__8(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax_declRange___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__23; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__3; LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_adaptRhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__22(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__17; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__16___closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__7; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__35; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax_declRange___closed__6; static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__8; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__61; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__7(lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_instQuotePreresolvedStrAnonymous___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__12___closed__4; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__9___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1; lean_object* lean_string_length(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__8; extern lean_object* l_Lean_Elab_unsupportedSyntaxExceptionId; @@ -1217,15 +1231,14 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quota LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__39; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__10; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__8; LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_resolveSectionVariable_loop(lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isEscapedAntiquot(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__3; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__34; LEAN_EXPORT lean_object* l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__3; lean_object* l_List_lengthTRAux___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__5___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_ReaderT_pure___at_Lean_Elab_Term_addTermInfo___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1239,7 +1252,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabNoErrorIfUnused(lean_obj static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__19; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__24; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__4; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1; @@ -1247,18 +1260,16 @@ static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__26; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__13; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__4; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__33; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__4; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__36; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__29___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__5; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange(lean_object*); +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48; LEAN_EXPORT lean_object* l_Array_sequenceMap_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_deduplicate___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__1; LEAN_EXPORT lean_object* l_Lean_HashSetImp_insert___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__2(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__21; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__3; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__70; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_elabNoErrorIfUnused___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1270,16 +1281,16 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__31; lean_object* l_Lean_Syntax_antiquotSpliceKind_x3f(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__14; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused___closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__28; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__69; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__27; lean_object* l_Lean_Syntax_getAtomVal(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__2; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__7; LEAN_EXPORT lean_object* l_panic___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__4(lean_object*); static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_Quotation_getQuotKind___spec__3___closed__2; @@ -1303,7 +1314,7 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__9___lambda__1___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___closed__1; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__12; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__7; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__3; lean_object* l_Lean_RBNode_insert___at_Lean_NameMap_insert___spec__1___rarg(lean_object*, lean_object*, lean_object*); @@ -1317,17 +1328,18 @@ static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__2___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__51; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__30; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__6; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__11; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__22; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__18; extern lean_object* l_Lean_Elab_Term_Quotation_hygiene; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__25(lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__14___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__31; LEAN_EXPORT lean_object* l_Lean_HashSetImp_moveEntries___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__5(lean_object*, lean_object*, lean_object*); @@ -1344,6 +1356,7 @@ static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_ static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__51; LEAN_EXPORT lean_object* l_Lean_resolveNamespaceCore___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__28___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_foldrMUnsafe_fold___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__5___closed__3; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__4; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__23; static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__20; static lean_object* l_Lean_Elab_Term_Quotation_getQuotKind___closed__22; @@ -1357,12 +1370,10 @@ static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_ static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__65; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__27; lean_object* lean_nat_to_int(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__9___lambda__1___closed__2; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__33; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_findUsedAlts_go___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_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__3; lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__8; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__2___closed__7; @@ -1372,13 +1383,11 @@ static lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Term_Quotation_getQ LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__24___closed__8; static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__14; -static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__12; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__39; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__13; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__4(lean_object*, lean_object*); static lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__4___closed__5; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__1; lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); @@ -1390,13 +1399,14 @@ lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__23___closed__13; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_findUsedAlts_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashSet___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__1(lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__4; LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__21___boxed(lean_object**); LEAN_EXPORT lean_object* l_List_forIn_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__10; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___spec__9___closed__4; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54; static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__11; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__15; +static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52; LEAN_EXPORT lean_object* l_List_elem___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__9___rarg(lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__10___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1405,31 +1415,28 @@ static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation_____ static lean_object* l_Lean_Elab_Term_Quotation_ArrayStxBuilder_push___closed__3; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__31; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__9; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1; -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__4; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange(lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__59; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5___closed__3; static lean_object* l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__36; static lean_object* l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__5; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5___closed__5; lean_object* l_Lean_Elab_getBetterRef(lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_Quotation_match__syntax_expand___spec__4___boxed(lean_object*, lean_object*, lean_object*); uint8_t lean_string_dec_eq(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__30(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_tryAddSyntaxNodeKindInfo(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_stxQuot_expand___closed__19; LEAN_EXPORT lean_object* l_List_mapM_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_markRhss___spec__9___lambda__1___closed__3; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_match__syntax_expand___closed__1; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__1; uint8_t l_Lean_Syntax_isIdent(lean_object*); static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__9; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__7; -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange(lean_object*); static lean_object* l_Lean_Elab_Term_Quotation_mkTuple___closed__10; static lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__29; uint8_t l_Lean_Syntax_isAntiquotSplice(lean_object*); @@ -1527,18 +1534,19 @@ return x_30; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_9; uint8_t x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; x_9 = lean_ctor_get(x_6, 5); lean_inc(x_9); lean_dec(x_6); -x_10 = l_Lean_SourceInfo_fromRef(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_1); +x_10 = 0; +x_11 = l_Lean_SourceInfo_fromRef(x_9, x_10); x_12 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_12, 0, x_11); -lean_ctor_set(x_12, 1, x_8); -return x_12; +lean_ctor_set(x_12, 1, x_1); +x_13 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_13, 0, x_12); +lean_ctor_set(x_13, 1, x_8); +return x_13; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___spec__3(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4) { @@ -3704,11 +3712,12 @@ return x_3; static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__5() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__4; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l___private_Init_Meta_0__Lean_quoteList___at_Lean_Elab_Term_Quotation_ArrayStxBuilder_build___spec__1___closed__6() { @@ -5653,30 +5662,31 @@ return x_6; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; size_t x_18; size_t x_19; lean_object* x_20; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; size_t x_19; size_t x_20; lean_object* x_21; x_8 = lean_array_uget(x_6, x_5); x_9 = lean_unsigned_to_nat(0u); x_10 = lean_array_uset(x_6, x_5, x_9); x_11 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13___closed__1; lean_inc(x_2); x_12 = l_Lean_Name_str___override(x_2, x_11); -x_13 = l_Lean_SourceInfo_fromRef(x_8); -x_14 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13___closed__2; -x_15 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_15, 0, x_13); -lean_ctor_set(x_15, 1, x_14); +x_13 = 0; +x_14 = l_Lean_SourceInfo_fromRef(x_8, x_13); +x_15 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__13___closed__2; +x_16 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_16, 0, x_14); +lean_ctor_set(x_16, 1, x_15); lean_inc(x_3); -x_16 = lean_array_push(x_3, x_15); +x_17 = lean_array_push(x_3, x_16); lean_inc(x_1); -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_1); -lean_ctor_set(x_17, 1, x_12); -lean_ctor_set(x_17, 2, x_16); -x_18 = 1; -x_19 = lean_usize_add(x_5, x_18); -x_20 = lean_array_uset(x_10, x_5, x_17); -x_5 = x_19; -x_6 = x_20; +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_1); +lean_ctor_set(x_18, 1, x_12); +lean_ctor_set(x_18, 2, x_17); +x_19 = 1; +x_20 = lean_usize_add(x_5, x_19); +x_21 = lean_array_uset(x_10, x_5, x_18); +x_5 = x_20; +x_6 = x_21; goto _start; } } @@ -12656,221 +12666,373 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__46() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("namedArgument", 13); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__6; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__46; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("canonical", 9); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__49() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__49; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("true", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__53() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52; +x_2 = lean_string_utf8_byte_size(x_1); +return x_2; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52; +x_2 = lean_unsigned_to_nat(0u); +x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__53; +x_4 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_2); +lean_ctor_set(x_4, 2, x_3); +return x_4; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__56() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Bool", 4); +return x_1; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__57() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__56; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__57; +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__59() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58; +x_3 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_3, 0, x_2); +lean_ctor_set(x_3, 1, x_1); +return x_3; +} +} +static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__59; +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_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_135; lean_object* x_156; uint8_t x_318; +lean_object* x_11; lean_object* x_135; lean_object* x_156; uint8_t x_378; lean_dec(x_3); lean_inc(x_1); -x_318 = l_Lean_Syntax_isAntiquots(x_1); -if (x_318 == 0) +x_378 = l_Lean_Syntax_isAntiquots(x_1); +if (x_378 == 0) { -uint8_t x_319; +uint8_t x_379; lean_inc(x_1); -x_319 = l_Lean_Syntax_isTokenAntiquot(x_1); -if (x_319 == 0) +x_379 = l_Lean_Syntax_isTokenAntiquot(x_1); +if (x_379 == 0) { -lean_object* x_320; -x_320 = lean_box(0); -x_135 = x_320; +lean_object* x_380; +x_380 = lean_box(0); +x_135 = x_380; goto block_155; } else { -uint8_t x_321; -x_321 = l_Lean_Syntax_isEscapedAntiquot(x_1); -if (x_321 == 0) +uint8_t x_381; +x_381 = l_Lean_Syntax_isEscapedAntiquot(x_1); +if (x_381 == 0) { -lean_object* x_322; +lean_object* x_382; lean_dec(x_2); -x_322 = lean_box(0); -x_156 = x_322; -goto block_317; +x_382 = lean_box(0); +x_156 = x_382; +goto block_377; } else { -lean_object* x_323; -x_323 = lean_box(0); -x_135 = x_323; +lean_object* x_383; +x_383 = lean_box(0); +x_135 = x_383; goto block_155; } } } else { -lean_object* x_324; uint8_t x_325; +lean_object* x_384; uint8_t x_385; lean_inc(x_1); -x_324 = l_Lean_Syntax_getCanonicalAntiquot(x_1); -x_325 = l_Lean_Syntax_isEscapedAntiquot(x_324); -if (x_325 == 0) +x_384 = l_Lean_Syntax_getCanonicalAntiquot(x_1); +x_385 = l_Lean_Syntax_isEscapedAntiquot(x_384); +if (x_385 == 0) { -lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; uint8_t x_332; +lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; uint8_t x_392; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_326 = l_Lean_Syntax_antiquotKinds(x_1); +x_386 = l_Lean_Syntax_antiquotKinds(x_1); lean_inc(x_8); -x_327 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_10); -x_328 = lean_ctor_get(x_327, 0); -lean_inc(x_328); -x_329 = lean_ctor_get(x_327, 1); -lean_inc(x_329); -lean_dec(x_327); -x_330 = lean_ctor_get(x_8, 10); -lean_inc(x_330); +x_387 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_10); +x_388 = lean_ctor_get(x_387, 0); +lean_inc(x_388); +x_389 = lean_ctor_get(x_387, 1); +lean_inc(x_389); +lean_dec(x_387); +x_390 = lean_ctor_get(x_8, 10); +lean_inc(x_390); lean_dec(x_8); -x_331 = lean_st_ref_get(x_9, x_329); +x_391 = lean_st_ref_get(x_9, x_389); lean_dec(x_9); -x_332 = !lean_is_exclusive(x_331); -if (x_332 == 0) +x_392 = !lean_is_exclusive(x_391); +if (x_392 == 0) { -lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; -x_333 = lean_ctor_get(x_331, 0); -x_334 = lean_ctor_get(x_333, 0); -lean_inc(x_334); -lean_dec(x_333); -x_335 = lean_environment_main_module(x_334); -x_336 = lean_box(0); -x_337 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__21; -lean_inc(x_328); -x_338 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_338, 0, x_328); -lean_ctor_set(x_338, 1, x_337); -x_339 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__58; -x_340 = l_Lean_addMacroScope(x_335, x_339, x_330); -x_341 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__55; -x_342 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__62; -lean_inc(x_328); -x_343 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_343, 0, x_328); -lean_ctor_set(x_343, 1, x_341); -lean_ctor_set(x_343, 2, x_340); -lean_ctor_set(x_343, 3, x_342); -x_344 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; -x_345 = lean_array_push(x_344, x_338); -x_346 = lean_array_push(x_345, x_343); -x_347 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__20; -lean_inc(x_328); -x_348 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_348, 0, x_328); -lean_ctor_set(x_348, 1, x_347); -lean_ctor_set(x_348, 2, x_346); -x_349 = l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21(x_326, x_336); -x_350 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__24(x_349); -x_351 = l_Lean_Syntax_getAntiquotTerm(x_324); -lean_dec(x_324); -x_352 = lean_array_push(x_344, x_350); -x_353 = lean_array_push(x_352, x_351); -x_354 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; -lean_inc(x_328); -x_355 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_355, 0, x_328); -lean_ctor_set(x_355, 1, x_354); -lean_ctor_set(x_355, 2, x_353); -x_356 = lean_array_push(x_344, x_348); -x_357 = lean_array_push(x_356, x_355); -x_358 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; -x_359 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_359, 0, x_328); -lean_ctor_set(x_359, 1, x_358); -lean_ctor_set(x_359, 2, x_357); -lean_ctor_set(x_331, 0, x_359); -return x_331; +lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; +x_393 = lean_ctor_get(x_391, 0); +x_394 = lean_ctor_get(x_393, 0); +lean_inc(x_394); +lean_dec(x_393); +x_395 = lean_environment_main_module(x_394); +x_396 = lean_box(0); +x_397 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__21; +lean_inc(x_388); +x_398 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_398, 0, x_388); +lean_ctor_set(x_398, 1, x_397); +x_399 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__58; +x_400 = l_Lean_addMacroScope(x_395, x_399, x_390); +x_401 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__55; +x_402 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__62; +lean_inc(x_388); +x_403 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_403, 0, x_388); +lean_ctor_set(x_403, 1, x_401); +lean_ctor_set(x_403, 2, x_400); +lean_ctor_set(x_403, 3, x_402); +x_404 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; +x_405 = lean_array_push(x_404, x_398); +x_406 = lean_array_push(x_405, x_403); +x_407 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__20; +lean_inc(x_388); +x_408 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_408, 0, x_388); +lean_ctor_set(x_408, 1, x_407); +lean_ctor_set(x_408, 2, x_406); +x_409 = l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21(x_386, x_396); +x_410 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__24(x_409); +x_411 = l_Lean_Syntax_getAntiquotTerm(x_384); +lean_dec(x_384); +x_412 = lean_array_push(x_404, x_410); +x_413 = lean_array_push(x_412, x_411); +x_414 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; +lean_inc(x_388); +x_415 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_415, 0, x_388); +lean_ctor_set(x_415, 1, x_414); +lean_ctor_set(x_415, 2, x_413); +x_416 = lean_array_push(x_404, x_408); +x_417 = lean_array_push(x_416, x_415); +x_418 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; +x_419 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_419, 0, x_388); +lean_ctor_set(x_419, 1, x_418); +lean_ctor_set(x_419, 2, x_417); +lean_ctor_set(x_391, 0, x_419); +return x_391; } else { -lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; -x_360 = lean_ctor_get(x_331, 0); -x_361 = lean_ctor_get(x_331, 1); -lean_inc(x_361); -lean_inc(x_360); -lean_dec(x_331); -x_362 = lean_ctor_get(x_360, 0); -lean_inc(x_362); -lean_dec(x_360); -x_363 = lean_environment_main_module(x_362); -x_364 = lean_box(0); -x_365 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__21; -lean_inc(x_328); -x_366 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_366, 0, x_328); -lean_ctor_set(x_366, 1, x_365); -x_367 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__58; -x_368 = l_Lean_addMacroScope(x_363, x_367, x_330); -x_369 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__55; -x_370 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__62; -lean_inc(x_328); -x_371 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_371, 0, x_328); -lean_ctor_set(x_371, 1, x_369); -lean_ctor_set(x_371, 2, x_368); -lean_ctor_set(x_371, 3, x_370); -x_372 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; -x_373 = lean_array_push(x_372, x_366); -x_374 = lean_array_push(x_373, x_371); -x_375 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__20; -lean_inc(x_328); -x_376 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_376, 0, x_328); -lean_ctor_set(x_376, 1, x_375); -lean_ctor_set(x_376, 2, x_374); -x_377 = l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21(x_326, x_364); -x_378 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__24(x_377); -x_379 = l_Lean_Syntax_getAntiquotTerm(x_324); -lean_dec(x_324); -x_380 = lean_array_push(x_372, x_378); -x_381 = lean_array_push(x_380, x_379); -x_382 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; -lean_inc(x_328); -x_383 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_383, 0, x_328); -lean_ctor_set(x_383, 1, x_382); -lean_ctor_set(x_383, 2, x_381); -x_384 = lean_array_push(x_372, x_376); -x_385 = lean_array_push(x_384, x_383); -x_386 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; -x_387 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_387, 0, x_328); -lean_ctor_set(x_387, 1, x_386); -lean_ctor_set(x_387, 2, x_385); -x_388 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_361); -return x_388; +lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_420 = lean_ctor_get(x_391, 0); +x_421 = lean_ctor_get(x_391, 1); +lean_inc(x_421); +lean_inc(x_420); +lean_dec(x_391); +x_422 = lean_ctor_get(x_420, 0); +lean_inc(x_422); +lean_dec(x_420); +x_423 = lean_environment_main_module(x_422); +x_424 = lean_box(0); +x_425 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__21; +lean_inc(x_388); +x_426 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_426, 0, x_388); +lean_ctor_set(x_426, 1, x_425); +x_427 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__58; +x_428 = l_Lean_addMacroScope(x_423, x_427, x_390); +x_429 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__55; +x_430 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__62; +lean_inc(x_388); +x_431 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_431, 0, x_388); +lean_ctor_set(x_431, 1, x_429); +lean_ctor_set(x_431, 2, x_428); +lean_ctor_set(x_431, 3, x_430); +x_432 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; +x_433 = lean_array_push(x_432, x_426); +x_434 = lean_array_push(x_433, x_431); +x_435 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___closed__20; +lean_inc(x_388); +x_436 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_436, 0, x_388); +lean_ctor_set(x_436, 1, x_435); +lean_ctor_set(x_436, 2, x_434); +x_437 = l_List_mapTRAux___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__21(x_386, x_424); +x_438 = l___private_Init_Meta_0__Lean_quoteList___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__24(x_437); +x_439 = l_Lean_Syntax_getAntiquotTerm(x_384); +lean_dec(x_384); +x_440 = lean_array_push(x_432, x_438); +x_441 = lean_array_push(x_440, x_439); +x_442 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; +lean_inc(x_388); +x_443 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_443, 0, x_388); +lean_ctor_set(x_443, 1, x_442); +lean_ctor_set(x_443, 2, x_441); +x_444 = lean_array_push(x_432, x_436); +x_445 = lean_array_push(x_444, x_443); +x_446 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; +x_447 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_447, 0, x_388); +lean_ctor_set(x_447, 1, x_446); +lean_ctor_set(x_447, 2, x_445); +x_448 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_448, 0, x_447); +lean_ctor_set(x_448, 1, x_421); +return x_448; } } else { -uint8_t x_389; -lean_dec(x_324); +uint8_t x_449; +lean_dec(x_384); lean_inc(x_1); -x_389 = l_Lean_Syntax_isTokenAntiquot(x_1); -if (x_389 == 0) +x_449 = l_Lean_Syntax_isTokenAntiquot(x_1); +if (x_449 == 0) { -lean_object* x_390; -x_390 = lean_box(0); -x_135 = x_390; +lean_object* x_450; +x_450 = lean_box(0); +x_135 = x_450; goto block_155; } else { -uint8_t x_391; -x_391 = l_Lean_Syntax_isEscapedAntiquot(x_1); -if (x_391 == 0) +uint8_t x_451; +x_451 = l_Lean_Syntax_isEscapedAntiquot(x_1); +if (x_451 == 0) { -lean_object* x_392; +lean_object* x_452; lean_dec(x_2); -x_392 = lean_box(0); -x_156 = x_392; -goto block_317; +x_452 = lean_box(0); +x_156 = x_452; +goto block_377; } else { -lean_object* x_393; -x_393 = lean_box(0); -x_135 = x_393; +lean_object* x_453; +x_453 = lean_box(0); +x_135 = x_453; goto block_155; } } @@ -13257,7 +13419,7 @@ goto block_134; } } } -block_317: +block_377: { lean_object* x_157; lean_object* x_158; lean_dec(x_156); @@ -13292,7 +13454,7 @@ lean_dec(x_9); x_167 = !lean_is_exclusive(x_166); if (x_167 == 0) { -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_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; x_168 = lean_ctor_get(x_166, 0); x_169 = lean_ctor_get(x_168, 0); lean_inc(x_169); @@ -13302,342 +13464,471 @@ x_171 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax_ lean_inc(x_165); lean_inc(x_170); x_172 = l_Lean_addMacroScope(x_170, x_171, x_165); -x_173 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; -x_174 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; +x_173 = lean_box(0); +x_174 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; +x_175 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; lean_inc(x_163); -x_175 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_175, 0, x_163); -lean_ctor_set(x_175, 1, x_173); -lean_ctor_set(x_175, 2, x_172); -lean_ctor_set(x_175, 3, x_174); -x_176 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__7; +x_176 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_176, 0, x_163); +lean_ctor_set(x_176, 1, x_174); +lean_ctor_set(x_176, 2, x_172); +lean_ctor_set(x_176, 3, x_175); +x_177 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__7; lean_inc(x_163); -lean_ctor_set(x_158, 1, x_176); +lean_ctor_set(x_158, 1, x_177); lean_ctor_set(x_158, 0, x_163); -x_177 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__39; -x_178 = l_Lean_addMacroScope(x_170, x_177, x_165); -x_179 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__35; -x_180 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45; +x_178 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__39; +lean_inc(x_165); +lean_inc(x_170); +x_179 = l_Lean_addMacroScope(x_170, x_178, x_165); +x_180 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__35; +x_181 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45; lean_inc(x_163); -x_181 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_181, 0, x_163); -lean_ctor_set(x_181, 1, x_179); -lean_ctor_set(x_181, 2, x_178); -lean_ctor_set(x_181, 3, x_180); -x_182 = l_Lean_Syntax_getAntiquotTerm(x_1); +x_182 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_182, 0, x_163); +lean_ctor_set(x_182, 1, x_180); +lean_ctor_set(x_182, 2, x_179); +lean_ctor_set(x_182, 3, x_181); +x_183 = l_Lean_Syntax_getAntiquotTerm(x_1); lean_dec(x_1); -x_183 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__18; -x_184 = lean_array_push(x_183, x_182); -x_185 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; +x_184 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51; +lean_inc(x_165); +lean_inc(x_170); +x_185 = l_Lean_addMacroScope(x_170, x_184, x_165); +x_186 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50; lean_inc(x_163); -x_186 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_186, 0, x_163); -lean_ctor_set(x_186, 1, x_185); -lean_ctor_set(x_186, 2, x_184); -x_187 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; -x_188 = lean_array_push(x_187, x_181); -x_189 = lean_array_push(x_188, x_186); -x_190 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; +x_187 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_187, 0, x_163); +lean_ctor_set(x_187, 1, x_186); +lean_ctor_set(x_187, 2, x_185); +lean_ctor_set(x_187, 3, x_173); +x_188 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__16; lean_inc(x_163); -x_191 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_191, 0, x_163); -lean_ctor_set(x_191, 1, x_190); -lean_ctor_set(x_191, 2, x_189); -x_192 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__15; +x_189 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_189, 0, x_163); +lean_ctor_set(x_189, 1, x_188); +x_190 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55; +x_191 = l_Lean_addMacroScope(x_170, x_190, x_165); +x_192 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54; +x_193 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60; lean_inc(x_163); -x_193 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_193, 0, x_163); -lean_ctor_set(x_193, 1, x_185); -lean_ctor_set(x_193, 2, x_192); -x_194 = lean_array_push(x_187, x_191); -x_195 = lean_array_push(x_194, x_193); +x_194 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_194, 0, x_163); +lean_ctor_set(x_194, 1, x_192); +lean_ctor_set(x_194, 2, x_191); +lean_ctor_set(x_194, 3, x_193); +x_195 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__13; lean_inc(x_163); -x_196 = lean_alloc_ctor(1, 3, 0); +x_196 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_196, 0, x_163); -lean_ctor_set(x_196, 1, x_185); -lean_ctor_set(x_196, 2, x_195); -x_197 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__13; -lean_inc(x_163); -x_198 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_198, 0, x_163); -lean_ctor_set(x_198, 1, x_197); -x_199 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__14; -x_200 = lean_array_push(x_199, x_158); -x_201 = lean_array_push(x_200, x_196); -x_202 = lean_array_push(x_201, x_198); -x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__6; +lean_ctor_set(x_196, 1, x_195); +x_197 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__17; +lean_inc(x_158); +x_198 = lean_array_push(x_197, x_158); +x_199 = lean_array_push(x_198, x_187); +x_200 = lean_array_push(x_199, x_189); +x_201 = lean_array_push(x_200, x_194); +lean_inc(x_196); +x_202 = lean_array_push(x_201, x_196); +x_203 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47; lean_inc(x_163); x_204 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_204, 0, x_163); lean_ctor_set(x_204, 1, x_203); lean_ctor_set(x_204, 2, x_202); -x_205 = lean_box(2); -x_206 = l_Lean_Syntax_mkStrLit(x_160, x_205); -lean_dec(x_160); -x_207 = lean_array_push(x_187, x_204); -x_208 = lean_array_push(x_207, x_206); +x_205 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; +x_206 = lean_array_push(x_205, x_183); +x_207 = lean_array_push(x_206, x_204); +x_208 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; lean_inc(x_163); x_209 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_209, 0, x_163); -lean_ctor_set(x_209, 1, x_185); -lean_ctor_set(x_209, 2, x_208); -x_210 = lean_array_push(x_187, x_175); +lean_ctor_set(x_209, 1, x_208); +lean_ctor_set(x_209, 2, x_207); +x_210 = lean_array_push(x_205, x_182); x_211 = lean_array_push(x_210, x_209); -x_212 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_212, 0, x_163); -lean_ctor_set(x_212, 1, x_190); -lean_ctor_set(x_212, 2, x_211); -lean_ctor_set(x_166, 0, x_212); +x_212 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; +lean_inc(x_163); +x_213 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_213, 0, x_163); +lean_ctor_set(x_213, 1, x_212); +lean_ctor_set(x_213, 2, x_211); +x_214 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__15; +lean_inc(x_163); +x_215 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_215, 0, x_163); +lean_ctor_set(x_215, 1, x_208); +lean_ctor_set(x_215, 2, x_214); +x_216 = lean_array_push(x_205, x_213); +x_217 = lean_array_push(x_216, x_215); +lean_inc(x_163); +x_218 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_218, 0, x_163); +lean_ctor_set(x_218, 1, x_208); +lean_ctor_set(x_218, 2, x_217); +x_219 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__14; +x_220 = lean_array_push(x_219, x_158); +x_221 = lean_array_push(x_220, x_218); +x_222 = lean_array_push(x_221, x_196); +x_223 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__6; +lean_inc(x_163); +x_224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_224, 0, x_163); +lean_ctor_set(x_224, 1, x_223); +lean_ctor_set(x_224, 2, x_222); +x_225 = lean_box(2); +x_226 = l_Lean_Syntax_mkStrLit(x_160, x_225); +lean_dec(x_160); +x_227 = lean_array_push(x_205, x_224); +x_228 = lean_array_push(x_227, x_226); +lean_inc(x_163); +x_229 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_229, 0, x_163); +lean_ctor_set(x_229, 1, x_208); +lean_ctor_set(x_229, 2, x_228); +x_230 = lean_array_push(x_205, x_176); +x_231 = lean_array_push(x_230, x_229); +x_232 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_232, 0, x_163); +lean_ctor_set(x_232, 1, x_212); +lean_ctor_set(x_232, 2, x_231); +lean_ctor_set(x_166, 0, x_232); return x_166; } else { -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_213 = lean_ctor_get(x_166, 0); -x_214 = lean_ctor_get(x_166, 1); -lean_inc(x_214); -lean_inc(x_213); +lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; +x_233 = lean_ctor_get(x_166, 0); +x_234 = lean_ctor_get(x_166, 1); +lean_inc(x_234); +lean_inc(x_233); lean_dec(x_166); -x_215 = lean_ctor_get(x_213, 0); -lean_inc(x_215); -lean_dec(x_213); -x_216 = lean_environment_main_module(x_215); -x_217 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__27; +x_235 = lean_ctor_get(x_233, 0); +lean_inc(x_235); +lean_dec(x_233); +x_236 = lean_environment_main_module(x_235); +x_237 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__27; lean_inc(x_165); -lean_inc(x_216); -x_218 = l_Lean_addMacroScope(x_216, x_217, x_165); -x_219 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; -x_220 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; +lean_inc(x_236); +x_238 = l_Lean_addMacroScope(x_236, x_237, x_165); +x_239 = lean_box(0); +x_240 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; +x_241 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; lean_inc(x_163); -x_221 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_221, 0, x_163); -lean_ctor_set(x_221, 1, x_219); -lean_ctor_set(x_221, 2, x_218); -lean_ctor_set(x_221, 3, x_220); -x_222 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__7; -lean_inc(x_163); -lean_ctor_set(x_158, 1, x_222); -lean_ctor_set(x_158, 0, x_163); -x_223 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__39; -x_224 = l_Lean_addMacroScope(x_216, x_223, x_165); -x_225 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__35; -x_226 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45; -lean_inc(x_163); -x_227 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_227, 0, x_163); -lean_ctor_set(x_227, 1, x_225); -lean_ctor_set(x_227, 2, x_224); -lean_ctor_set(x_227, 3, x_226); -x_228 = l_Lean_Syntax_getAntiquotTerm(x_1); -lean_dec(x_1); -x_229 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__18; -x_230 = lean_array_push(x_229, x_228); -x_231 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; -lean_inc(x_163); -x_232 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_232, 0, x_163); -lean_ctor_set(x_232, 1, x_231); -lean_ctor_set(x_232, 2, x_230); -x_233 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; -x_234 = lean_array_push(x_233, x_227); -x_235 = lean_array_push(x_234, x_232); -x_236 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; -lean_inc(x_163); -x_237 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_237, 0, x_163); -lean_ctor_set(x_237, 1, x_236); -lean_ctor_set(x_237, 2, x_235); -x_238 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__15; -lean_inc(x_163); -x_239 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_239, 0, x_163); -lean_ctor_set(x_239, 1, x_231); -lean_ctor_set(x_239, 2, x_238); -x_240 = lean_array_push(x_233, x_237); -x_241 = lean_array_push(x_240, x_239); -lean_inc(x_163); -x_242 = lean_alloc_ctor(1, 3, 0); +x_242 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_242, 0, x_163); -lean_ctor_set(x_242, 1, x_231); -lean_ctor_set(x_242, 2, x_241); -x_243 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__13; +lean_ctor_set(x_242, 1, x_240); +lean_ctor_set(x_242, 2, x_238); +lean_ctor_set(x_242, 3, x_241); +x_243 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__7; lean_inc(x_163); -x_244 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_244, 0, x_163); -lean_ctor_set(x_244, 1, x_243); -x_245 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__14; -x_246 = lean_array_push(x_245, x_158); -x_247 = lean_array_push(x_246, x_242); -x_248 = lean_array_push(x_247, x_244); -x_249 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__6; +lean_ctor_set(x_158, 1, x_243); +lean_ctor_set(x_158, 0, x_163); +x_244 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__39; +lean_inc(x_165); +lean_inc(x_236); +x_245 = l_Lean_addMacroScope(x_236, x_244, x_165); +x_246 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__35; +x_247 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45; lean_inc(x_163); -x_250 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_250, 0, x_163); -lean_ctor_set(x_250, 1, x_249); -lean_ctor_set(x_250, 2, x_248); -x_251 = lean_box(2); -x_252 = l_Lean_Syntax_mkStrLit(x_160, x_251); -lean_dec(x_160); -x_253 = lean_array_push(x_233, x_250); -x_254 = lean_array_push(x_253, x_252); +x_248 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_248, 0, x_163); +lean_ctor_set(x_248, 1, x_246); +lean_ctor_set(x_248, 2, x_245); +lean_ctor_set(x_248, 3, x_247); +x_249 = l_Lean_Syntax_getAntiquotTerm(x_1); +lean_dec(x_1); +x_250 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51; +lean_inc(x_165); +lean_inc(x_236); +x_251 = l_Lean_addMacroScope(x_236, x_250, x_165); +x_252 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50; lean_inc(x_163); -x_255 = lean_alloc_ctor(1, 3, 0); +x_253 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_253, 0, x_163); +lean_ctor_set(x_253, 1, x_252); +lean_ctor_set(x_253, 2, x_251); +lean_ctor_set(x_253, 3, x_239); +x_254 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__16; +lean_inc(x_163); +x_255 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_255, 0, x_163); -lean_ctor_set(x_255, 1, x_231); -lean_ctor_set(x_255, 2, x_254); -x_256 = lean_array_push(x_233, x_221); -x_257 = lean_array_push(x_256, x_255); -x_258 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_258, 0, x_163); -lean_ctor_set(x_258, 1, x_236); -lean_ctor_set(x_258, 2, x_257); -x_259 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_259, 0, x_258); -lean_ctor_set(x_259, 1, x_214); -return x_259; +lean_ctor_set(x_255, 1, x_254); +x_256 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55; +x_257 = l_Lean_addMacroScope(x_236, x_256, x_165); +x_258 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54; +x_259 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60; +lean_inc(x_163); +x_260 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_260, 0, x_163); +lean_ctor_set(x_260, 1, x_258); +lean_ctor_set(x_260, 2, x_257); +lean_ctor_set(x_260, 3, x_259); +x_261 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__13; +lean_inc(x_163); +x_262 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_262, 0, x_163); +lean_ctor_set(x_262, 1, x_261); +x_263 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__17; +lean_inc(x_158); +x_264 = lean_array_push(x_263, x_158); +x_265 = lean_array_push(x_264, x_253); +x_266 = lean_array_push(x_265, x_255); +x_267 = lean_array_push(x_266, x_260); +lean_inc(x_262); +x_268 = lean_array_push(x_267, x_262); +x_269 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47; +lean_inc(x_163); +x_270 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_270, 0, x_163); +lean_ctor_set(x_270, 1, x_269); +lean_ctor_set(x_270, 2, x_268); +x_271 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; +x_272 = lean_array_push(x_271, x_249); +x_273 = lean_array_push(x_272, x_270); +x_274 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; +lean_inc(x_163); +x_275 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_275, 0, x_163); +lean_ctor_set(x_275, 1, x_274); +lean_ctor_set(x_275, 2, x_273); +x_276 = lean_array_push(x_271, x_248); +x_277 = lean_array_push(x_276, x_275); +x_278 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; +lean_inc(x_163); +x_279 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_279, 0, x_163); +lean_ctor_set(x_279, 1, x_278); +lean_ctor_set(x_279, 2, x_277); +x_280 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__15; +lean_inc(x_163); +x_281 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_281, 0, x_163); +lean_ctor_set(x_281, 1, x_274); +lean_ctor_set(x_281, 2, x_280); +x_282 = lean_array_push(x_271, x_279); +x_283 = lean_array_push(x_282, x_281); +lean_inc(x_163); +x_284 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_284, 0, x_163); +lean_ctor_set(x_284, 1, x_274); +lean_ctor_set(x_284, 2, x_283); +x_285 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__14; +x_286 = lean_array_push(x_285, x_158); +x_287 = lean_array_push(x_286, x_284); +x_288 = lean_array_push(x_287, x_262); +x_289 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__6; +lean_inc(x_163); +x_290 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_290, 0, x_163); +lean_ctor_set(x_290, 1, x_289); +lean_ctor_set(x_290, 2, x_288); +x_291 = lean_box(2); +x_292 = l_Lean_Syntax_mkStrLit(x_160, x_291); +lean_dec(x_160); +x_293 = lean_array_push(x_271, x_290); +x_294 = lean_array_push(x_293, x_292); +lean_inc(x_163); +x_295 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_295, 0, x_163); +lean_ctor_set(x_295, 1, x_274); +lean_ctor_set(x_295, 2, x_294); +x_296 = lean_array_push(x_271, x_242); +x_297 = lean_array_push(x_296, x_295); +x_298 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_298, 0, x_163); +lean_ctor_set(x_298, 1, x_278); +lean_ctor_set(x_298, 2, x_297); +x_299 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_299, 0, x_298); +lean_ctor_set(x_299, 1, x_234); +return x_299; } } else { -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; -x_260 = lean_ctor_get(x_158, 1); -lean_inc(x_260); +lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; +x_300 = lean_ctor_get(x_158, 1); +lean_inc(x_300); lean_dec(x_158); lean_inc(x_8); -x_261 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_10); -x_262 = lean_ctor_get(x_261, 0); -lean_inc(x_262); -x_263 = lean_ctor_get(x_261, 1); -lean_inc(x_263); -lean_dec(x_261); -x_264 = lean_ctor_get(x_8, 10); -lean_inc(x_264); +x_301 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_8, x_9, x_10); +x_302 = lean_ctor_get(x_301, 0); +lean_inc(x_302); +x_303 = lean_ctor_get(x_301, 1); +lean_inc(x_303); +lean_dec(x_301); +x_304 = lean_ctor_get(x_8, 10); +lean_inc(x_304); lean_dec(x_8); -x_265 = lean_st_ref_get(x_9, x_263); +x_305 = lean_st_ref_get(x_9, x_303); lean_dec(x_9); -x_266 = lean_ctor_get(x_265, 0); -lean_inc(x_266); -x_267 = lean_ctor_get(x_265, 1); -lean_inc(x_267); -if (lean_is_exclusive(x_265)) { - lean_ctor_release(x_265, 0); - lean_ctor_release(x_265, 1); - x_268 = x_265; +x_306 = lean_ctor_get(x_305, 0); +lean_inc(x_306); +x_307 = lean_ctor_get(x_305, 1); +lean_inc(x_307); +if (lean_is_exclusive(x_305)) { + lean_ctor_release(x_305, 0); + lean_ctor_release(x_305, 1); + x_308 = x_305; } else { - lean_dec_ref(x_265); - x_268 = lean_box(0); + lean_dec_ref(x_305); + x_308 = lean_box(0); } -x_269 = lean_ctor_get(x_266, 0); -lean_inc(x_269); -lean_dec(x_266); -x_270 = lean_environment_main_module(x_269); -x_271 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__27; -lean_inc(x_264); -lean_inc(x_270); -x_272 = l_Lean_addMacroScope(x_270, x_271, x_264); -x_273 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; -x_274 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; -lean_inc(x_262); -x_275 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_275, 0, x_262); -lean_ctor_set(x_275, 1, x_273); -lean_ctor_set(x_275, 2, x_272); -lean_ctor_set(x_275, 3, x_274); -x_276 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__7; -lean_inc(x_262); -x_277 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_277, 0, x_262); -lean_ctor_set(x_277, 1, x_276); -x_278 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__39; -x_279 = l_Lean_addMacroScope(x_270, x_278, x_264); -x_280 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__35; -x_281 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45; -lean_inc(x_262); -x_282 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_282, 0, x_262); -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_Lean_Syntax_getAntiquotTerm(x_1); +x_309 = lean_ctor_get(x_306, 0); +lean_inc(x_309); +lean_dec(x_306); +x_310 = lean_environment_main_module(x_309); +x_311 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__27; +lean_inc(x_304); +lean_inc(x_310); +x_312 = l_Lean_addMacroScope(x_310, x_311, x_304); +x_313 = lean_box(0); +x_314 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__25; +x_315 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__32; +lean_inc(x_302); +x_316 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_316, 0, x_302); +lean_ctor_set(x_316, 1, x_314); +lean_ctor_set(x_316, 2, x_312); +lean_ctor_set(x_316, 3, x_315); +x_317 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__7; +lean_inc(x_302); +x_318 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_318, 0, x_302); +lean_ctor_set(x_318, 1, x_317); +x_319 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__39; +lean_inc(x_304); +lean_inc(x_310); +x_320 = l_Lean_addMacroScope(x_310, x_319, x_304); +x_321 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__35; +x_322 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45; +lean_inc(x_302); +x_323 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_323, 0, x_302); +lean_ctor_set(x_323, 1, x_321); +lean_ctor_set(x_323, 2, x_320); +lean_ctor_set(x_323, 3, x_322); +x_324 = l_Lean_Syntax_getAntiquotTerm(x_1); lean_dec(x_1); -x_284 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__18; -x_285 = lean_array_push(x_284, x_283); -x_286 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; -lean_inc(x_262); -x_287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_287, 0, x_262); -lean_ctor_set(x_287, 1, x_286); -lean_ctor_set(x_287, 2, x_285); -x_288 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; -x_289 = lean_array_push(x_288, x_282); -x_290 = lean_array_push(x_289, x_287); -x_291 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; -lean_inc(x_262); -x_292 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_292, 0, x_262); -lean_ctor_set(x_292, 1, x_291); -lean_ctor_set(x_292, 2, x_290); -x_293 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__15; -lean_inc(x_262); -x_294 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_294, 0, x_262); -lean_ctor_set(x_294, 1, x_286); -lean_ctor_set(x_294, 2, x_293); -x_295 = lean_array_push(x_288, x_292); -x_296 = lean_array_push(x_295, x_294); -lean_inc(x_262); -x_297 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_297, 0, x_262); -lean_ctor_set(x_297, 1, x_286); -lean_ctor_set(x_297, 2, x_296); -x_298 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__13; -lean_inc(x_262); -x_299 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_299, 0, x_262); -lean_ctor_set(x_299, 1, x_298); -x_300 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__14; -x_301 = lean_array_push(x_300, x_277); -x_302 = lean_array_push(x_301, x_297); -x_303 = lean_array_push(x_302, x_299); -x_304 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__6; -lean_inc(x_262); -x_305 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_305, 0, x_262); -lean_ctor_set(x_305, 1, x_304); -lean_ctor_set(x_305, 2, x_303); -x_306 = lean_box(2); -x_307 = l_Lean_Syntax_mkStrLit(x_260, x_306); -lean_dec(x_260); -x_308 = lean_array_push(x_288, x_305); -x_309 = lean_array_push(x_308, x_307); -lean_inc(x_262); -x_310 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_310, 0, x_262); -lean_ctor_set(x_310, 1, x_286); -lean_ctor_set(x_310, 2, x_309); -x_311 = lean_array_push(x_288, x_275); -x_312 = lean_array_push(x_311, x_310); -x_313 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_313, 0, x_262); -lean_ctor_set(x_313, 1, x_291); -lean_ctor_set(x_313, 2, x_312); -if (lean_is_scalar(x_268)) { - x_314 = lean_alloc_ctor(0, 2, 0); +x_325 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51; +lean_inc(x_304); +lean_inc(x_310); +x_326 = l_Lean_addMacroScope(x_310, x_325, x_304); +x_327 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50; +lean_inc(x_302); +x_328 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_328, 0, x_302); +lean_ctor_set(x_328, 1, x_327); +lean_ctor_set(x_328, 2, x_326); +lean_ctor_set(x_328, 3, x_313); +x_329 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__16; +lean_inc(x_302); +x_330 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_330, 0, x_302); +lean_ctor_set(x_330, 1, x_329); +x_331 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55; +x_332 = l_Lean_addMacroScope(x_310, x_331, x_304); +x_333 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54; +x_334 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60; +lean_inc(x_302); +x_335 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_335, 0, x_302); +lean_ctor_set(x_335, 1, x_333); +lean_ctor_set(x_335, 2, x_332); +lean_ctor_set(x_335, 3, x_334); +x_336 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__13; +lean_inc(x_302); +x_337 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_337, 0, x_302); +lean_ctor_set(x_337, 1, x_336); +x_338 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__17; +lean_inc(x_318); +x_339 = lean_array_push(x_338, x_318); +x_340 = lean_array_push(x_339, x_328); +x_341 = lean_array_push(x_340, x_330); +x_342 = lean_array_push(x_341, x_335); +lean_inc(x_337); +x_343 = lean_array_push(x_342, x_337); +x_344 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47; +lean_inc(x_302); +x_345 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_345, 0, x_302); +lean_ctor_set(x_345, 1, x_344); +lean_ctor_set(x_345, 2, x_343); +x_346 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__14; +x_347 = lean_array_push(x_346, x_324); +x_348 = lean_array_push(x_347, x_345); +x_349 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__14; +lean_inc(x_302); +x_350 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_350, 0, x_302); +lean_ctor_set(x_350, 1, x_349); +lean_ctor_set(x_350, 2, x_348); +x_351 = lean_array_push(x_346, x_323); +x_352 = lean_array_push(x_351, x_350); +x_353 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___lambda__1___closed__4; +lean_inc(x_302); +x_354 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_354, 0, x_302); +lean_ctor_set(x_354, 1, x_353); +lean_ctor_set(x_354, 2, x_352); +x_355 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__15; +lean_inc(x_302); +x_356 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_356, 0, x_302); +lean_ctor_set(x_356, 1, x_349); +lean_ctor_set(x_356, 2, x_355); +x_357 = lean_array_push(x_346, x_354); +x_358 = lean_array_push(x_357, x_356); +lean_inc(x_302); +x_359 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_359, 0, x_302); +lean_ctor_set(x_359, 1, x_349); +lean_ctor_set(x_359, 2, x_358); +x_360 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__14; +x_361 = lean_array_push(x_360, x_318); +x_362 = lean_array_push(x_361, x_359); +x_363 = lean_array_push(x_362, x_337); +x_364 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__6; +lean_inc(x_302); +x_365 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_365, 0, x_302); +lean_ctor_set(x_365, 1, x_364); +lean_ctor_set(x_365, 2, x_363); +x_366 = lean_box(2); +x_367 = l_Lean_Syntax_mkStrLit(x_300, x_366); +lean_dec(x_300); +x_368 = lean_array_push(x_346, x_365); +x_369 = lean_array_push(x_368, x_367); +lean_inc(x_302); +x_370 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_370, 0, x_302); +lean_ctor_set(x_370, 1, x_349); +lean_ctor_set(x_370, 2, x_369); +x_371 = lean_array_push(x_346, x_316); +x_372 = lean_array_push(x_371, x_370); +x_373 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_373, 0, x_302); +lean_ctor_set(x_373, 1, x_353); +lean_ctor_set(x_373, 2, x_372); +if (lean_is_scalar(x_308)) { + x_374 = lean_alloc_ctor(0, 2, 0); } else { - x_314 = x_268; + x_374 = x_308; } -lean_ctor_set(x_314, 0, x_313); -lean_ctor_set(x_314, 1, x_267); -return x_314; +lean_ctor_set(x_374, 0, x_373); +lean_ctor_set(x_374, 1, x_307); +return x_374; } } else { -lean_object* x_315; lean_object* x_316; +lean_object* x_375; lean_object* x_376; lean_dec(x_158); -x_315 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__22; -x_316 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__26(x_1, x_315, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -return x_316; +x_375 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__22; +x_376 = l_Lean_throwErrorAt___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__26(x_1, x_375, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_376; } } } @@ -15547,19 +15838,6 @@ lean_dec(x_3); return x_12; } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_addNamedQuotInfo___closed__1() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepStxFromSplice___closed__1; -x_2 = lean_unsigned_to_nat(0u); -x_3 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_2); -lean_ctor_set(x_3, 2, x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_addNamedQuotInfo(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { @@ -15672,7 +15950,7 @@ return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_28 = lean_ctor_get(x_26, 0); lean_inc(x_28); lean_dec(x_26); @@ -15682,60 +15960,58 @@ lean_dec(x_25); x_31 = lean_unsigned_to_nat(1u); x_32 = lean_nat_sub(x_28, x_31); lean_dec(x_28); -x_33 = l_Lean_Elab_Term_Quotation_addNamedQuotInfo___closed__1; -x_34 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_30); -lean_ctor_set(x_34, 2, x_33); -lean_ctor_set(x_34, 3, x_32); -x_35 = l_Lean_Syntax_setInfo(x_34, x_15); +x_33 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_33, 0, x_30); +lean_ctor_set(x_33, 1, x_32); +lean_ctor_set_uint8(x_33, sizeof(void*)*2, x_22); +x_34 = l_Lean_Syntax_setInfo(x_33, x_15); lean_inc(x_2); -x_36 = l_Lean_Elab_Term_Quotation_tryAddSyntaxNodeKindInfo(x_35, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); -if (lean_obj_tag(x_36) == 0) +x_35 = l_Lean_Elab_Term_Quotation_tryAddSyntaxNodeKindInfo(x_34, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); +if (lean_obj_tag(x_35) == 0) { -uint8_t x_37; -x_37 = !lean_is_exclusive(x_36); -if (x_37 == 0) +uint8_t x_36; +x_36 = !lean_is_exclusive(x_35); +if (x_36 == 0) { -lean_object* x_38; -x_38 = lean_ctor_get(x_36, 0); -lean_dec(x_38); -lean_ctor_set(x_36, 0, x_2); -return x_36; +lean_object* x_37; +x_37 = lean_ctor_get(x_35, 0); +lean_dec(x_37); +lean_ctor_set(x_35, 0, x_2); +return x_35; } else { -lean_object* x_39; lean_object* x_40; -x_39 = lean_ctor_get(x_36, 1); -lean_inc(x_39); -lean_dec(x_36); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_2); -lean_ctor_set(x_40, 1, x_39); -return x_40; +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_35, 1); +lean_inc(x_38); +lean_dec(x_35); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_2); +lean_ctor_set(x_39, 1, x_38); +return x_39; } } else { -uint8_t x_41; +uint8_t x_40; lean_dec(x_2); -x_41 = !lean_is_exclusive(x_36); -if (x_41 == 0) +x_40 = !lean_is_exclusive(x_35); +if (x_40 == 0) { -return x_36; +return x_35; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_36, 0); -x_43 = lean_ctor_get(x_36, 1); -lean_inc(x_43); +lean_object* x_41; lean_object* x_42; lean_object* x_43; +x_41 = lean_ctor_get(x_35, 0); +x_42 = lean_ctor_get(x_35, 1); lean_inc(x_42); -lean_dec(x_36); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +lean_inc(x_41); +lean_dec(x_35); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +return x_43; } } } @@ -20328,7 +20604,7 @@ return x_239; } } } -static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1() { _start: { lean_object* x_1; @@ -20336,16 +20612,16 @@ x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_stxQuot_expand), 8, return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20355,17 +20631,17 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20375,7 +20651,7 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__4() { _start: { lean_object* x_1; @@ -20383,47 +20659,47 @@ x_1 = lean_mk_string_from_bytes("_@", 2); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__5() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__3; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__4; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__6() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__5; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__5; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__7() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__7() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__6; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__6; x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__8() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__8() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__7; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__7; x_2 = l_Lean_Elab_Term_Quotation_commandElab__stx__quot_____closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__9() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__9() { _start: { lean_object* x_1; @@ -20431,27 +20707,27 @@ x_1 = lean_mk_string_from_bytes("_hyg", 4); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__8; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__9; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__8; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__9; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__11() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__11() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5802u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5847u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12() { _start: { lean_object* x_1; @@ -20459,31 +20735,31 @@ x_1 = l_Lean_Elab_Term_termElabAttribute; return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__13() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__13() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__11; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__13; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__11; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__13; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(254u); +x_1 = lean_unsigned_to_nat(253u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20491,11 +20767,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(254u); +x_1 = lean_unsigned_to_nat(253u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20503,13 +20779,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__2; x_4 = lean_unsigned_to_nat(31u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -20519,37 +20795,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__11; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__11; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20559,41 +20835,41 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5808u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5853u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(255u); +x_1 = lean_unsigned_to_nat(254u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20601,11 +20877,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(255u); +x_1 = lean_unsigned_to_nat(254u); x_2 = lean_unsigned_to_nat(30u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20613,13 +20889,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__2; x_4 = lean_unsigned_to_nat(30u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -20629,37 +20905,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__2; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__1() { _start: { lean_object* x_1; @@ -20667,61 +20943,61 @@ x_1 = lean_mk_string_from_bytes("funBinder", 9); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__1; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__2; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__2; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5814u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5859u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__5; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__3; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__5; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(256u); +x_1 = lean_unsigned_to_nat(255u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20729,11 +21005,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(256u); +x_1 = lean_unsigned_to_nat(255u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20741,13 +21017,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__2; x_4 = lean_unsigned_to_nat(40u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -20757,37 +21033,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__4; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__4; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__1() { _start: { lean_object* x_1; @@ -20795,61 +21071,61 @@ x_1 = lean_mk_string_from_bytes("bracketedBinder", 15); return x_1; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_floatOutAntiquotTerms___lambda__1___closed__6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__1; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__2; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__2; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5820u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5865u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__5() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__5() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__3; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__4; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__5; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__3; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__4; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__5; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(257u); +x_1 = lean_unsigned_to_nat(256u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20857,11 +21133,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(257u); +x_1 = lean_unsigned_to_nat(256u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20869,13 +21145,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__2; x_4 = lean_unsigned_to_nat(46u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -20885,37 +21161,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__4; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__4; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -20925,41 +21201,41 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5826u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5871u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(257u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20967,11 +21243,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(258u); +x_1 = lean_unsigned_to_nat(257u); x_2 = lean_unsigned_to_nat(41u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -20979,13 +21255,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__2; x_4 = lean_unsigned_to_nat(41u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -20995,37 +21271,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__2; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21035,51 +21311,51 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5832u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5877u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(259u); +x_1 = lean_unsigned_to_nat(258u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21087,11 +21363,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(259u); +x_1 = lean_unsigned_to_nat(258u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21099,13 +21375,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__2; x_4 = lean_unsigned_to_nat(32u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21115,81 +21391,81 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__3; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__8; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5838u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5883u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(260u); +x_1 = lean_unsigned_to_nat(259u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21197,11 +21473,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(260u); +x_1 = lean_unsigned_to_nat(259u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21209,13 +21485,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__2; x_4 = lean_unsigned_to_nat(35u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21225,37 +21501,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__2; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21265,51 +21541,51 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5844u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5889u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(261u); +x_1 = lean_unsigned_to_nat(260u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21317,11 +21593,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(261u); +x_1 = lean_unsigned_to_nat(260u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21329,13 +21605,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__2; x_4 = lean_unsigned_to_nat(34u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21345,37 +21621,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__3; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21385,51 +21661,51 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5850u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5895u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(262u); +x_1 = lean_unsigned_to_nat(261u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21437,11 +21713,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(262u); +x_1 = lean_unsigned_to_nat(261u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21449,13 +21725,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__2; x_4 = lean_unsigned_to_nat(35u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21465,37 +21741,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__3; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21505,51 +21781,51 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5856u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5901u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(262u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21557,11 +21833,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(263u); +x_1 = lean_unsigned_to_nat(262u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21569,13 +21845,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__2; x_4 = lean_unsigned_to_nat(35u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21585,37 +21861,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__3; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21625,51 +21901,51 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5862u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5907u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(264u); +x_1 = lean_unsigned_to_nat(263u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21677,11 +21953,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(264u); +x_1 = lean_unsigned_to_nat(263u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21689,13 +21965,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__2; x_4 = lean_unsigned_to_nat(35u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21705,37 +21981,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__3; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21745,51 +22021,51 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__1; x_2 = l_Lean_Elab_Term_Quotation_getQuotKind___closed__4; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5868u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5913u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__4() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__2; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__3; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__2; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__3; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__4; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(265u); +x_1 = lean_unsigned_to_nat(264u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21797,11 +22073,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(265u); +x_1 = lean_unsigned_to_nat(264u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21809,13 +22085,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__2; x_4 = lean_unsigned_to_nat(37u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21825,37 +22101,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__3; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__3; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21865,41 +22141,41 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5874u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5919u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(266u); +x_1 = lean_unsigned_to_nat(265u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21907,11 +22183,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(266u); +x_1 = lean_unsigned_to_nat(265u); x_2 = lean_unsigned_to_nat(37u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -21919,13 +22195,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__2; x_4 = lean_unsigned_to_nat(37u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -21935,37 +22211,37 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__2; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925_(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { lean_object* x_10; lean_object* x_11; -x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1; +x_10 = l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1; x_11 = l_Lean_Elab_Term_adaptExpander(x_10, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); return x_11; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -21975,41 +22251,41 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10; -x_2 = lean_unsigned_to_nat(5880u); +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10; +x_2 = lean_unsigned_to_nat(5925u); x_3 = l_Lean_Name_num___override(x_1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__3() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880_), 9, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925_), 9, 0); return x_1; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__1; -x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__2; -x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__3; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__1; +x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__2; +x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__3; x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); return x_6; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__1() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(267u); +x_1 = lean_unsigned_to_nat(266u); x_2 = lean_unsigned_to_nat(0u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22017,11 +22293,11 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__2() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(267u); +x_1 = lean_unsigned_to_nat(266u); x_2 = lean_unsigned_to_nat(33u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -22029,13 +22305,13 @@ lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__3() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__3() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__1; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__1; x_2 = lean_unsigned_to_nat(0u); -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__2; x_4 = lean_unsigned_to_nat(33u); x_5 = lean_alloc_ctor(0, 4, 0); lean_ctor_set(x_5, 0, x_1); @@ -22045,23 +22321,23 @@ lean_ctor_set(x_5, 3, x_4); return x_5; } } -static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__4() { +static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__4() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__3; +x_1 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__3; x_2 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_2, 0, x_1); lean_ctor_set(x_2, 1, x_1); return x_2; } } -LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange(lean_object* x_1) { +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__2; -x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__4; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__2; +x_3 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__4; x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } @@ -22514,7 +22790,7 @@ x_9 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_T x_10 = lean_array_push(x_9, x_6); x_11 = lean_array_push(x_10, x_1); x_12 = lean_array_push(x_11, x_8); -x_13 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1; +x_13 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1; x_14 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_14, 0, x_2); lean_ctor_set(x_14, 1, x_13); @@ -26131,75 +26407,6 @@ lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("true", 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__12() { -_start: -{ -lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11; -x_2 = lean_string_utf8_byte_size(x_1); -return x_2; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__13() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11; -x_2 = lean_unsigned_to_nat(0u); -x_3 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__12; -x_4 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_4, 0, x_1); -lean_ctor_set(x_4, 1, x_2); -lean_ctor_set(x_4, 2, x_3); -return x_4; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__14() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__15() { -_start: -{ -lean_object* x_1; -x_1 = lean_mk_string_from_bytes("Bool", 4); -return x_1; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__16() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_box(0); -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__15; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} -static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__17() { -_start: -{ -lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__16; -x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11; -x_3 = l_Lean_Name_str___override(x_1, x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -26307,9 +26514,9 @@ lean_ctor_set(x_46, 0, x_21); lean_ctor_set(x_46, 1, x_45); lean_ctor_set(x_46, 2, x_40); lean_ctor_set(x_46, 3, x_44); -x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__14; +x_47 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55; x_48 = l_Lean_addMacroScope(x_28, x_47, x_23); -x_49 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__17; +x_49 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58; lean_inc(x_3); x_50 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_50, 0, x_49); @@ -26317,7 +26524,7 @@ lean_ctor_set(x_50, 1, x_3); x_51 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_51, 0, x_50); lean_ctor_set(x_51, 1, x_3); -x_52 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__13; +x_52 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54; lean_inc(x_21); x_53 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_53, 0, x_21); @@ -26449,9 +26656,9 @@ lean_ctor_set(x_104, 0, x_21); lean_ctor_set(x_104, 1, x_103); lean_ctor_set(x_104, 2, x_98); lean_ctor_set(x_104, 3, x_102); -x_105 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__14; +x_105 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55; x_106 = l_Lean_addMacroScope(x_86, x_105, x_23); -x_107 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__17; +x_107 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58; lean_inc(x_3); x_108 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_108, 0, x_107); @@ -26459,7 +26666,7 @@ lean_ctor_set(x_108, 1, x_3); x_109 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_109, 0, x_108); lean_ctor_set(x_109, 1, x_3); -x_110 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__13; +x_110 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54; lean_inc(x_21); x_111 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_111, 0, x_21); @@ -31327,7 +31534,7 @@ x_324 = lean_array_push(x_284, x_321); x_325 = lean_array_push(x_324, x_323); lean_inc(x_283); x_326 = lean_array_push(x_325, x_283); -x_327 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1; +x_327 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1; lean_inc(x_232); x_328 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_328, 0, x_232); @@ -31677,7 +31884,7 @@ x_478 = lean_array_push(x_438, x_475); x_479 = lean_array_push(x_478, x_477); lean_inc(x_437); x_480 = lean_array_push(x_479, x_437); -x_481 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1; +x_481 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1; lean_inc(x_232); x_482 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_482, 0, x_232); @@ -34160,7 +34367,7 @@ static lean_object* _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quot _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__16; +x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__57; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__26___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; @@ -41054,7 +41261,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__1; x_2 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___lambda__5___closed__4; -x_3 = lean_unsigned_to_nat(581u); +x_3 = lean_unsigned_to_nat(580u); x_4 = lean_unsigned_to_nat(12u); x_5 = l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getSepFromSplice___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -45822,7 +46029,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; x_3 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___spec__25___lambda__3___closed__17; x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__2; x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSyntax___closed__3; @@ -45834,7 +46041,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSynta _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(661u); +x_1 = lean_unsigned_to_nat(660u); x_2 = lean_unsigned_to_nat(27u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45846,7 +46053,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSynta _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(662u); +x_1 = lean_unsigned_to_nat(661u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45874,7 +46081,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSynta _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(661u); +x_1 = lean_unsigned_to_nat(660u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -45886,7 +46093,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabMatchSynta _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(661u); +x_1 = lean_unsigned_to_nat(660u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46028,7 +46235,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUn _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; -x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12; +x_2 = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12; x_3 = l_Array_mapMUnsafe_map___at___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_compileStxMatch___spec__5___closed__1; x_4 = l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused___closed__2; x_5 = l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused___closed__3; @@ -46040,7 +46247,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfU _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(664u); +x_1 = lean_unsigned_to_nat(663u); x_2 = lean_unsigned_to_nat(35u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46052,7 +46259,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfU _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(667u); +x_1 = lean_unsigned_to_nat(666u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46080,7 +46287,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfU _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(664u); +x_1 = lean_unsigned_to_nat(663u); x_2 = lean_unsigned_to_nat(39u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46092,7 +46299,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfU _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(664u); +x_1 = lean_unsigned_to_nat(663u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -46138,7 +46345,7 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_16664_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_16709_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -46834,6 +47041,36 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__44); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__45); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__46 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__46(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__46); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__47); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__48); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__49 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__49(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__49); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__50); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__51); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__52); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__53 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__53(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__53); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__54); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__55); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__56 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__56(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__56); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__57 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__57(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__57); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__58); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__59 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__59(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__59); +l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60(); +lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__1___closed__60); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___lambda__2___closed__2(); @@ -46902,8 +47139,6 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__2); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_quoteSyntax___closed__3); -l_Lean_Elab_Term_Quotation_addNamedQuotInfo___closed__1 = _init_l_Lean_Elab_Term_Quotation_addNamedQuotInfo___closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_addNamedQuotInfo___closed__1); l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6___closed__1 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6___closed__1(); lean_mark_persistent(l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6___closed__1); l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6___closed__2 = _init_l_Lean_throwUnknownConstant___at_Lean_Elab_Term_Quotation_getQuotKind___spec__6___closed__2(); @@ -47252,326 +47487,326 @@ l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__E lean_mark_persistent(l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__65); l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__66 = _init_l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__66(); lean_mark_persistent(l_Lean_Elab_Term_Quotation___aux__Lean__Elab__Quotation______macroRules__Lean__Elab__Term__Quotation__commandElab__stx__quot____1___closed__66); -l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__5); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__6 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__6(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__6); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__7 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__7(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__7); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__8 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__8(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__8); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__9 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__9(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__9); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__10); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__11 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__11(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__11); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__12); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__13 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__13(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802____closed__13); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802_(lean_io_mk_world()); +l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1 = _init_l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__4); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__5); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__6 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__6); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__7 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__7); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__8 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__8(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__8); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__9 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__9(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__9); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__10); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__11 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__11(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__11); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__12); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__13 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__13(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847____closed__13); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5802__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5847__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5808__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5853__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814____closed__5); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__4); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859____closed__5); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5814__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5859__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__4); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__5(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820____closed__5); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__4); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__5 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865____closed__5); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5820__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5865__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5826__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5871__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5832__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5877__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5838__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5883__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5844__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5889__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5850__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5895__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5856__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5901__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5862__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5907__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868____closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913____closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5868__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5913__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5874__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5919__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880____closed__3); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880_(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925____closed__3); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__1(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__1); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__2(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__2); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__3(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__3); -l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__4(); -lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange___closed__4); -res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5880__declRange(lean_io_mk_world()); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__1); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__2); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__3); +l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange___closed__4); +res = l___regBuiltin_Lean_Elab_Term_Quotation_elabQuot____x40_Lean_Elab_Quotation___hyg_5925__declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_noOpMatchAdaptPats___lambda__1___closed__1(); @@ -47662,20 +47897,6 @@ l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__9); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__10 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__10(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__10); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__11); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__12 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__12(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__12); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__13 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__13(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__13); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__14 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__14(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__14); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__15 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__15(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__15); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__16 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__16(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__16); -l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__17 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__17(); -lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__8___closed__17); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1(); lean_mark_persistent(l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__1); l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2 = _init_l___private_Lean_Elab_Quotation_0__Lean_Elab_Term_Quotation_getHeadInfo___lambda__10___closed__2(); @@ -48078,7 +48299,7 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused res = l___regBuiltin_Lean_Elab_Term_Quotation_elabNoErrorIfUnused_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); -res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_16664_(lean_io_mk_world()); +res = l_Lean_Elab_Term_Quotation_initFn____x40_Lean_Elab_Quotation___hyg_16709_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/StructInst.c b/stage0/stdlib/Lean/Elab/StructInst.c index 082d3d1c94..5979075c99 100644 --- a/stage0/stdlib/Lean/Elab/StructInst.c +++ b/stage0/stdlib/Lean/Elab/StructInst.c @@ -94,7 +94,7 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___la static lean_object* l_List_mapM_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_groupFields___spec__8___closed__1; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_AssocList_contains___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__7(lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg___closed__5; LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -158,7 +158,7 @@ LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_StructInst LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_elabStructInst(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev_declRange___closed__4; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__9; static lean_object* l_List_format___at_Lean_Elab_Term_StructInst_formatStruct___spec__3___closed__3; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); @@ -543,7 +543,7 @@ lean_object* l_Lean_Meta_forallTelescope___at___private_Lean_Meta_InferType_0__L static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__8; static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__10; -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_getStructName_throwUnknownExpectedType___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNumLitFields(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -585,7 +585,7 @@ static lean_object* l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___la lean_object* l_List_find_x3f___rarg(lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Term_instMonadTermElabM; LEAN_EXPORT lean_object* l_Lean_HashMapImp_moveEntries___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkFieldMap___spec__9(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkHole(lean_object*); +lean_object* l_Lean_mkHole(lean_object*, uint8_t); extern lean_object* l_Lean_Elab_macroAttribute; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1868,32 +1868,32 @@ x_54 = lean_array_push(x_53, x_41); if (lean_obj_tag(x_6) == 0) { x_55 = x_47; -goto block_92; +goto block_93; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_93 = lean_ctor_get(x_6, 0); -lean_inc(x_93); +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_94 = lean_ctor_get(x_6, 0); +lean_inc(x_94); lean_dec(x_6); -x_94 = l_Array_append___rarg(x_47, x_93); +x_95 = l_Array_append___rarg(x_47, x_94); lean_inc(x_37); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_37); -lean_ctor_set(x_95, 1, x_49); -lean_ctor_set(x_95, 2, x_94); -x_96 = l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__10; +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_37); +lean_ctor_set(x_96, 1, x_49); +lean_ctor_set(x_96, 2, x_95); +x_97 = l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__10; lean_inc(x_37); -x_97 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_97, 0, x_37); -lean_ctor_set(x_97, 1, x_96); -x_98 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_99 = lean_array_push(x_98, x_95); -x_100 = lean_array_push(x_99, x_97); -x_55 = x_100; -goto block_92; +x_98 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_98, 0, x_37); +lean_ctor_set(x_98, 1, x_97); +x_99 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_100 = lean_array_push(x_99, x_96); +x_101 = lean_array_push(x_100, x_98); +x_55 = x_101; +goto block_93; } -block_92: +block_93: { lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; x_56 = l_Array_append___rarg(x_47, x_55); @@ -1911,18 +1911,19 @@ goto block_85; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; +lean_object* x_86; uint8_t x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; x_86 = lean_ctor_get(x_5, 0); lean_inc(x_86); lean_dec(x_5); -x_87 = l_Lean_SourceInfo_fromRef(x_86); -x_88 = l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__9; -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_87); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; -x_91 = lean_array_push(x_90, x_89); -x_60 = x_91; +x_87 = 0; +x_88 = l_Lean_SourceInfo_fromRef(x_86, x_87); +x_89 = l_Lean_Elab_Term_StructInst_expandStructInstFieldAbbrev___lambda__1___closed__9; +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_88); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__18; +x_92 = lean_array_push(x_91, x_90); +x_60 = x_92; goto block_85; } block_85: @@ -2805,7 +2806,7 @@ _start: { if (lean_obj_tag(x_2) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +lean_object* x_11; uint8_t 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_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -2813,64 +2814,65 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); x_11 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___closed__1; +x_12 = 0; lean_inc(x_1); -x_12 = l_Lean_mkAtomFrom(x_1, x_11); -x_13 = l_Lean_Syntax_mkSep(x_3, x_12); +x_13 = l_Lean_mkAtomFrom(x_1, x_11, x_12); +x_14 = l_Lean_Syntax_mkSep(x_3, x_13); lean_dec(x_3); -x_14 = lean_unsigned_to_nat(1u); -x_15 = l_Lean_Syntax_getArg(x_1, x_14); -x_16 = lean_unsigned_to_nat(0u); -x_17 = l_Lean_Syntax_setArg(x_15, x_16, x_13); -x_18 = l_Lean_Syntax_setArg(x_1, x_14, x_17); -x_19 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_19, 0, x_18); -lean_ctor_set(x_19, 1, x_10); -return x_19; +x_15 = lean_unsigned_to_nat(1u); +x_16 = l_Lean_Syntax_getArg(x_1, x_15); +x_17 = lean_unsigned_to_nat(0u); +x_18 = l_Lean_Syntax_setArg(x_16, x_17, x_14); +x_19 = l_Lean_Syntax_setArg(x_1, x_15, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_19); +lean_ctor_set(x_20, 1, x_10); +return x_20; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_20 = lean_ctor_get(x_2, 0); -lean_inc(x_20); -x_21 = lean_ctor_get(x_2, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_21 = lean_ctor_get(x_2, 0); lean_inc(x_21); +x_22 = lean_ctor_get(x_2, 1); +lean_inc(x_22); lean_dec(x_2); lean_inc(x_8); lean_inc(x_6); lean_inc(x_4); -lean_inc(x_20); -x_22 = l_Lean_Elab_Term_isLocalIdent_x3f(x_20, x_4, x_5, x_6, x_7, x_8, x_9, x_10); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_22, 1); +lean_inc(x_21); +x_23 = l_Lean_Elab_Term_isLocalIdent_x3f(x_21, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -lean_dec(x_22); -x_25 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1), 11, 8); -lean_closure_set(x_25, 0, x_3); -lean_closure_set(x_25, 1, x_1); -lean_closure_set(x_25, 2, x_21); -lean_closure_set(x_25, 3, x_4); -lean_closure_set(x_25, 4, x_5); -lean_closure_set(x_25, 5, x_6); -lean_closure_set(x_25, 6, x_7); -lean_closure_set(x_25, 7, x_20); -x_26 = l_Lean_Core_withFreshMacroScope___rarg(x_25, x_8, x_9, x_24); -return x_26; +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_closure((void*)(l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___lambda__1), 11, 8); +lean_closure_set(x_26, 0, x_3); +lean_closure_set(x_26, 1, x_1); +lean_closure_set(x_26, 2, x_22); +lean_closure_set(x_26, 3, x_4); +lean_closure_set(x_26, 4, x_5); +lean_closure_set(x_26, 5, x_6); +lean_closure_set(x_26, 6, x_7); +lean_closure_set(x_26, 7, x_21); +x_27 = l_Lean_Core_withFreshMacroScope___rarg(x_26, x_8, x_9, x_25); +return x_27; } else { -lean_object* x_27; lean_object* x_28; +lean_object* x_28; lean_object* x_29; +lean_dec(x_24); +x_28 = lean_ctor_get(x_23, 1); +lean_inc(x_28); lean_dec(x_23); -x_27 = lean_ctor_get(x_22, 1); -lean_inc(x_27); -lean_dec(x_22); -x_28 = lean_array_push(x_3, x_20); -x_2 = x_21; -x_3 = x_28; -x_10 = x_27; +x_29 = lean_array_push(x_3, x_21); +x_2 = x_22; +x_3 = x_29; +x_10 = x_28; goto _start; } } @@ -3527,46 +3529,48 @@ x_4 = lean_nat_dec_lt(x_3, x_2); lean_dec(x_2); if (x_4 == 0) { -lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +lean_object* x_5; lean_object* x_6; lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; x_5 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__4; x_6 = l_panic___at_Lean_expandExplicitBindersAux_loop___spec__1(x_5); x_7 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___closed__1; +x_8 = 0; lean_inc(x_6); -x_8 = l_Lean_mkAtomFrom(x_6, x_7); -x_9 = l_Lean_Syntax_mkSep(x_1, x_8); -x_10 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__5; -x_11 = l_Lean_mkAtomFrom(x_6, x_10); -x_12 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_13 = lean_array_push(x_12, x_9); -x_14 = lean_array_push(x_13, x_11); -x_15 = lean_box(2); -x_16 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__3; -x_17 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -lean_ctor_set(x_17, 2, x_14); -return x_17; +x_9 = l_Lean_mkAtomFrom(x_6, x_7, x_8); +x_10 = l_Lean_Syntax_mkSep(x_1, x_9); +x_11 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__5; +x_12 = l_Lean_mkAtomFrom(x_6, x_11, x_8); +x_13 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_14 = lean_array_push(x_13, x_10); +x_15 = lean_array_push(x_14, x_12); +x_16 = lean_box(2); +x_17 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__3; +x_18 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +lean_ctor_set(x_18, 2, x_15); +return x_18; } else { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; -x_18 = lean_array_fget(x_1, x_3); -x_19 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___closed__1; -lean_inc(x_18); -x_20 = l_Lean_mkAtomFrom(x_18, x_19); -x_21 = l_Lean_Syntax_mkSep(x_1, x_20); -x_22 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__5; -x_23 = l_Lean_mkAtomFrom(x_18, x_22); -x_24 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_25 = lean_array_push(x_24, x_21); -x_26 = lean_array_push(x_25, x_23); -x_27 = lean_box(2); -x_28 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__3; -x_29 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_29, 0, x_27); -lean_ctor_set(x_29, 1, x_28); -lean_ctor_set(x_29, 2, x_26); -return x_29; +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_19 = lean_array_fget(x_1, x_3); +x_20 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandNonAtomicExplicitSources_go___closed__1; +x_21 = 0; +lean_inc(x_19); +x_22 = l_Lean_mkAtomFrom(x_19, x_20, x_21); +x_23 = l_Lean_Syntax_mkSep(x_1, x_22); +x_24 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkSourcesWithSyntax___closed__5; +x_25 = l_Lean_mkAtomFrom(x_19, x_24, x_21); +x_26 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_27 = lean_array_push(x_26, x_23); +x_28 = lean_array_push(x_27, x_25); +x_29 = lean_box(2); +x_30 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__3; +x_31 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_31, 0, x_29); +lean_ctor_set(x_31, 1, x_30); +lean_ctor_set(x_31, 2, x_28); +return x_31; } } } @@ -8002,77 +8006,80 @@ case 0: { if (x_1 == 0) { -lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; 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_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; 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___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; +x_6 = 0; lean_inc(x_3); -x_6 = l_Lean_mkAtomFrom(x_3, x_5); -x_7 = l_Lean_mkIdentFrom(x_3, x_4); -x_8 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_9 = lean_array_push(x_8, x_6); +x_7 = l_Lean_mkAtomFrom(x_3, x_5, x_6); +x_8 = l_Lean_mkIdentFrom(x_3, x_4, x_6); +x_9 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; x_10 = lean_array_push(x_9, x_7); -x_11 = lean_box(2); -x_12 = l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax___closed__2; -x_13 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -lean_ctor_set(x_13, 2, x_10); -return x_13; +x_11 = lean_array_push(x_10, x_8); +x_12 = lean_box(2); +x_13 = l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax___closed__2; +x_14 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_14, 0, x_12); +lean_ctor_set(x_14, 1, x_13); +lean_ctor_set(x_14, 2, x_11); +return x_14; } else { -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_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_2, 0); lean_inc(x_15); +x_16 = lean_ctor_get(x_2, 1); +lean_inc(x_16); lean_dec(x_2); -x_16 = l_Lean_mkIdentFrom(x_14, x_15); -return x_16; +x_17 = 0; +x_18 = l_Lean_mkIdentFrom(x_15, x_16, x_17); +return x_18; } } case 1: { if (x_1 == 0) { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_17 = lean_ctor_get(x_2, 0); -lean_inc(x_17); +lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_19 = lean_ctor_get(x_2, 0); +lean_inc(x_19); lean_dec(x_2); -x_18 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; -lean_inc(x_17); -x_19 = l_Lean_mkAtomFrom(x_17, x_18); -x_20 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_21 = lean_array_push(x_20, x_19); -x_22 = lean_array_push(x_21, x_17); -x_23 = lean_box(2); -x_24 = l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax___closed__2; -x_25 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_25, 0, x_23); -lean_ctor_set(x_25, 1, x_24); -lean_ctor_set(x_25, 2, x_22); -return x_25; +x_20 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; +x_21 = 0; +lean_inc(x_19); +x_22 = l_Lean_mkAtomFrom(x_19, x_20, x_21); +x_23 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_24 = lean_array_push(x_23, x_22); +x_25 = lean_array_push(x_24, x_19); +x_26 = lean_box(2); +x_27 = l_Lean_Elab_Term_StructInst_FieldLHS_toSyntax___closed__2; +x_28 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_28, 0, x_26); +lean_ctor_set(x_28, 1, x_27); +lean_ctor_set(x_28, 2, x_25); +return x_28; } else { -lean_object* x_26; -x_26 = lean_ctor_get(x_2, 0); -lean_inc(x_26); +lean_object* x_29; +x_29 = lean_ctor_get(x_2, 0); +lean_inc(x_29); lean_dec(x_2); -return x_26; +return x_29; } } default: { -lean_object* x_27; -x_27 = lean_ctor_get(x_2, 0); -lean_inc(x_27); +lean_object* x_30; +x_30 = lean_ctor_get(x_2, 0); +lean_inc(x_30); lean_dec(x_2); -return x_27; +return x_30; } } } @@ -13013,28 +13020,29 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_mkProjStx_x3f___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_11 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__3; +x_12 = 0; lean_inc(x_1); -x_12 = l_Lean_mkAtomFrom(x_1, x_11); +x_13 = l_Lean_mkAtomFrom(x_1, x_11, x_12); lean_inc(x_1); -x_13 = l_Lean_mkIdentFrom(x_1, x_2); -x_14 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; -x_15 = lean_array_push(x_14, x_1); -x_16 = lean_array_push(x_15, x_12); +x_14 = l_Lean_mkIdentFrom(x_1, x_2, x_12); +x_15 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__20; +x_16 = lean_array_push(x_15, x_1); x_17 = lean_array_push(x_16, x_13); -x_18 = lean_box(2); -x_19 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13; -x_20 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_20, 0, x_18); -lean_ctor_set(x_20, 1, x_19); -lean_ctor_set(x_20, 2, x_17); -x_21 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_21, 0, x_20); -x_22 = lean_alloc_ctor(0, 2, 0); +x_18 = lean_array_push(x_17, x_14); +x_19 = lean_box(2); +x_20 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__3___closed__13; +x_21 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +lean_ctor_set(x_21, 2, x_18); +x_22 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_22, 0, x_21); -lean_ctor_set(x_22, 1, x_10); -return x_22; +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_10); +return x_23; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_StructInst_mkProjStx_x3f(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -14495,48 +14503,48 @@ lean_inc(x_2); x_26 = l_Lean_isSubobjectField_x3f(x_2, x_3, x_17); if (lean_obj_tag(x_26) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_55; lean_object* x_56; lean_object* x_57; size_t x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t x_59; size_t x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; x_27 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -x_55 = lean_ctor_get(x_27, 0); -lean_inc(x_55); -x_56 = lean_box(0); -x_57 = lean_array_get_size(x_55); -x_58 = lean_usize_of_nat(x_57); -lean_dec(x_57); -x_59 = 0; -x_60 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__3___closed__1; +x_56 = lean_ctor_get(x_27, 0); +lean_inc(x_56); +x_57 = lean_box(0); +x_58 = lean_array_get_size(x_56); +x_59 = lean_usize_of_nat(x_58); +lean_dec(x_58); +x_60 = 0; +x_61 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__3___closed__1; lean_inc(x_17); -x_61 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(x_17, x_60, x_55, x_58, x_59, x_60, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_55); -x_62 = lean_ctor_get(x_61, 0); -lean_inc(x_62); +x_62 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__1(x_17, x_61, x_56, x_59, x_60, x_61, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_56); x_63 = lean_ctor_get(x_62, 0); lean_inc(x_63); -lean_dec(x_62); -if (lean_obj_tag(x_63) == 0) -{ -lean_object* x_64; -x_64 = lean_ctor_get(x_61, 1); +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_61); -x_28 = x_56; -x_29 = x_64; -goto block_54; +lean_dec(x_63); +if (lean_obj_tag(x_64) == 0) +{ +lean_object* x_65; +x_65 = lean_ctor_get(x_62, 1); +lean_inc(x_65); +lean_dec(x_62); +x_28 = x_57; +x_29 = x_65; +goto block_55; } else { -lean_object* x_65; lean_object* x_66; -x_65 = lean_ctor_get(x_61, 1); -lean_inc(x_65); -lean_dec(x_61); -x_66 = lean_ctor_get(x_63, 0); +lean_object* x_66; lean_object* x_67; +x_66 = lean_ctor_get(x_62, 1); lean_inc(x_66); -lean_dec(x_63); -x_28 = x_66; -x_29 = x_65; -goto block_54; +lean_dec(x_62); +x_67 = lean_ctor_get(x_64, 0); +lean_inc(x_67); +lean_dec(x_64); +x_28 = x_67; +x_29 = x_66; +goto block_55; } -block_54: +block_55: { if (lean_obj_tag(x_28) == 0) { @@ -14572,63 +14580,64 @@ goto block_23; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; +uint8_t x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_dec(x_30); +x_38 = 0; lean_inc(x_4); -x_38 = l_Lean_mkHole(x_4); -x_39 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_39, 0, x_38); +x_39 = l_Lean_mkHole(x_4, x_38); +x_40 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_40, 0, x_39); lean_inc(x_4); -x_40 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_40, 0, x_4); -lean_ctor_set(x_40, 1, x_17); -x_41 = lean_box(0); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -x_43 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_4); +lean_ctor_set(x_41, 1, x_17); +x_42 = lean_box(0); +x_43 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_43, 0, x_41); +lean_ctor_set(x_43, 1, x_42); +x_44 = lean_box(0); lean_inc(x_4); -x_44 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_44, 0, x_4); -lean_ctor_set(x_44, 1, x_42); -lean_ctor_set(x_44, 2, x_39); -lean_ctor_set(x_44, 3, x_43); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_8); -x_18 = x_45; +x_45 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_45, 0, x_4); +lean_ctor_set(x_45, 1, x_43); +lean_ctor_set(x_45, 2, x_40); +lean_ctor_set(x_45, 3, x_44); +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_45); +lean_ctor_set(x_46, 1, x_8); +x_18 = x_46; x_19 = x_29; goto block_23; } } else { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; +lean_object* x_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_dec(x_27); -x_46 = lean_ctor_get(x_28, 0); -lean_inc(x_46); +x_47 = lean_ctor_get(x_28, 0); +lean_inc(x_47); lean_dec(x_28); -x_47 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_47, 0, x_46); +x_48 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_48, 0, x_47); lean_inc(x_4); -x_48 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_48, 0, x_4); -lean_ctor_set(x_48, 1, x_17); -x_49 = lean_box(0); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_box(0); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_4); +lean_ctor_set(x_49, 1, x_17); +x_50 = lean_box(0); +x_51 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_51, 0, x_49); +lean_ctor_set(x_51, 1, x_50); +x_52 = lean_box(0); lean_inc(x_4); -x_52 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_52, 0, x_4); -lean_ctor_set(x_52, 1, x_50); -lean_ctor_set(x_52, 2, x_47); -lean_ctor_set(x_52, 3, x_51); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_52); -lean_ctor_set(x_53, 1, x_8); -x_18 = x_53; +x_53 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_53, 0, x_4); +lean_ctor_set(x_53, 1, x_51); +lean_ctor_set(x_53, 2, x_48); +lean_ctor_set(x_53, 3, x_52); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_53); +lean_ctor_set(x_54, 1, x_8); +x_18 = x_54; x_19 = x_29; goto block_23; } @@ -14636,105 +14645,105 @@ goto block_23; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_96; lean_object* x_97; lean_object* x_98; size_t x_99; size_t x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; -x_67 = lean_ctor_get(x_26, 0); -lean_inc(x_67); +lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_97; lean_object* x_98; lean_object* x_99; size_t x_100; size_t x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; +x_68 = lean_ctor_get(x_26, 0); +lean_inc(x_68); lean_dec(x_26); -x_68 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); -x_96 = lean_ctor_get(x_68, 0); -lean_inc(x_96); -x_97 = lean_box(0); -x_98 = lean_array_get_size(x_96); -x_99 = lean_usize_of_nat(x_98); -lean_dec(x_98); -x_100 = 0; -x_101 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__3___closed__1; +x_69 = l_Lean_Elab_Term_StructInst_Struct_source(x_1); +x_97 = lean_ctor_get(x_69, 0); +lean_inc(x_97); +x_98 = lean_box(0); +x_99 = lean_array_get_size(x_97); +x_100 = lean_usize_of_nat(x_99); +lean_dec(x_99); +x_101 = 0; +x_102 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__3___closed__1; lean_inc(x_17); -x_102 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__2(x_17, x_101, x_96, x_99, x_100, x_101, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_96); -x_103 = lean_ctor_get(x_102, 0); -lean_inc(x_103); +x_103 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_addMissingFields___spec__2(x_17, x_102, x_97, x_100, x_101, x_102, x_9, x_10, x_11, x_12, x_13, x_14, x_15); +lean_dec(x_97); x_104 = lean_ctor_get(x_103, 0); lean_inc(x_104); -lean_dec(x_103); -if (lean_obj_tag(x_104) == 0) -{ -lean_object* x_105; -x_105 = lean_ctor_get(x_102, 1); +x_105 = lean_ctor_get(x_104, 0); lean_inc(x_105); -lean_dec(x_102); -x_69 = x_97; -x_70 = x_105; -goto block_95; +lean_dec(x_104); +if (lean_obj_tag(x_105) == 0) +{ +lean_object* x_106; +x_106 = lean_ctor_get(x_103, 1); +lean_inc(x_106); +lean_dec(x_103); +x_70 = x_98; +x_71 = x_106; +goto block_96; } else { -lean_object* x_106; lean_object* x_107; -x_106 = lean_ctor_get(x_102, 1); -lean_inc(x_106); -lean_dec(x_102); -x_107 = lean_ctor_get(x_104, 0); +lean_object* x_107; lean_object* x_108; +x_107 = lean_ctor_get(x_103, 1); lean_inc(x_107); -lean_dec(x_104); -x_69 = x_107; -x_70 = x_106; -goto block_95; +lean_dec(x_103); +x_108 = lean_ctor_get(x_105, 0); +lean_inc(x_108); +lean_dec(x_105); +x_70 = x_108; +x_71 = x_107; +goto block_96; } -block_95: +block_96: { -if (lean_obj_tag(x_69) == 0) +if (lean_obj_tag(x_70) == 0) { -lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; -x_71 = lean_box(0); -x_72 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1; +lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_72 = lean_box(0); +x_73 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__1; lean_inc(x_4); -x_73 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_73, 0, x_4); -lean_ctor_set(x_73, 1, x_67); -lean_ctor_set(x_73, 2, x_72); -lean_ctor_set(x_73, 3, x_71); -lean_ctor_set(x_73, 4, x_68); +x_74 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_74, 0, x_4); +lean_ctor_set(x_74, 1, x_68); +lean_ctor_set(x_74, 2, x_73); +lean_ctor_set(x_74, 3, x_72); +lean_ctor_set(x_74, 4, x_69); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); -x_74 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_73, x_9, x_10, x_11, x_12, x_13, x_14, x_70); -if (lean_obj_tag(x_74) == 0) +x_75 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_expandStruct(x_74, x_9, x_10, x_11, x_12, x_13, x_14, x_71); +if (lean_obj_tag(x_75) == 0) { -lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); +lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_76 = lean_ctor_get(x_75, 0); lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_77, 0, x_75); +x_77 = lean_ctor_get(x_75, 1); +lean_inc(x_77); +lean_dec(x_75); +x_78 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_78, 0, x_76); lean_inc(x_4); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_4); -lean_ctor_set(x_78, 1, x_17); -x_79 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_79, 0, x_78); -lean_ctor_set(x_79, 1, x_71); -x_80 = lean_box(0); +x_79 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_79, 0, x_4); +lean_ctor_set(x_79, 1, x_17); +x_80 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_80, 0, x_79); +lean_ctor_set(x_80, 1, x_72); +x_81 = lean_box(0); lean_inc(x_4); -x_81 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_81, 0, x_4); -lean_ctor_set(x_81, 1, x_79); -lean_ctor_set(x_81, 2, x_77); -lean_ctor_set(x_81, 3, x_80); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_81); -lean_ctor_set(x_82, 1, x_8); -x_18 = x_82; -x_19 = x_76; +x_82 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_82, 0, x_4); +lean_ctor_set(x_82, 1, x_80); +lean_ctor_set(x_82, 2, x_78); +lean_ctor_set(x_82, 3, x_81); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_82); +lean_ctor_set(x_83, 1, x_8); +x_18 = x_83; +x_19 = x_77; goto block_23; } else { -uint8_t x_83; +uint8_t x_84; lean_dec(x_17); lean_dec(x_14); lean_dec(x_13); @@ -14746,56 +14755,56 @@ lean_dec(x_8); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_83 = !lean_is_exclusive(x_74); -if (x_83 == 0) +x_84 = !lean_is_exclusive(x_75); +if (x_84 == 0) { -return x_74; +return x_75; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_74, 0); -x_85 = lean_ctor_get(x_74, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_75, 0); +x_86 = lean_ctor_get(x_75, 1); +lean_inc(x_86); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_74); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_dec(x_75); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } else { -lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -lean_dec(x_68); -lean_dec(x_67); -x_87 = lean_ctor_get(x_69, 0); -lean_inc(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_dec(x_69); -x_88 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_88, 0, x_87); +lean_dec(x_68); +x_88 = lean_ctor_get(x_70, 0); +lean_inc(x_88); +lean_dec(x_70); +x_89 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_89, 0, x_88); lean_inc(x_4); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_4); -lean_ctor_set(x_89, 1, x_17); -x_90 = lean_box(0); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -x_92 = lean_box(0); +x_90 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_90, 0, x_4); +lean_ctor_set(x_90, 1, x_17); +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +x_93 = lean_box(0); lean_inc(x_4); -x_93 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_93, 0, x_4); -lean_ctor_set(x_93, 1, x_91); -lean_ctor_set(x_93, 2, x_88); -lean_ctor_set(x_93, 3, x_92); -x_94 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_94, 0, x_93); -lean_ctor_set(x_94, 1, x_8); -x_18 = x_94; -x_19 = x_70; +x_94 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_94, 0, x_4); +lean_ctor_set(x_94, 1, x_92); +lean_ctor_set(x_94, 2, x_89); +lean_ctor_set(x_94, 3, x_93); +x_95 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_95, 0, x_94); +lean_ctor_set(x_95, 1, x_8); +x_18 = x_95; +x_19 = x_71; goto block_23; } } @@ -14803,15 +14812,15 @@ goto block_23; } else { -lean_object* x_108; lean_object* x_109; +lean_object* x_109; lean_object* x_110; lean_dec(x_17); -x_108 = lean_ctor_get(x_25, 0); -lean_inc(x_108); +x_109 = lean_ctor_get(x_25, 0); +lean_inc(x_109); lean_dec(x_25); -x_109 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_109, 0, x_108); -lean_ctor_set(x_109, 1, x_8); -x_18 = x_109; +x_110 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_110, 0, x_109); +lean_ctor_set(x_110, 1, x_8); +x_18 = x_110; x_19 = x_15; goto block_23; } @@ -14828,7 +14837,7 @@ goto _start; } else { -lean_object* x_110; +lean_object* x_111; lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); @@ -14838,10 +14847,10 @@ lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_8); -lean_ctor_set(x_110, 1, x_15); -return x_110; +x_111 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_111, 0, x_8); +lean_ctor_set(x_111, 1, x_15); +return x_111; } } } @@ -16970,325 +16979,327 @@ lean_dec(x_67); x_119 = !lean_is_exclusive(x_68); if (x_119 == 0) { -lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; uint8_t x_130; +lean_object* x_120; lean_object* x_121; uint8_t 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; uint8_t x_131; x_120 = lean_ctor_get(x_68, 0); x_121 = lean_ctor_get(x_2, 0); lean_inc(x_121); lean_dec(x_2); +x_122 = 0; lean_inc(x_121); -x_122 = l_Lean_mkHole(x_121); +x_123 = l_Lean_mkHole(x_121, x_122); lean_ctor_set_tag(x_19, 0); -lean_ctor_set(x_19, 0, x_122); -x_123 = lean_ctor_get(x_14, 1); -lean_inc(x_123); +lean_ctor_set(x_19, 0, x_123); +x_124 = lean_ctor_get(x_14, 1); +lean_inc(x_124); lean_inc(x_3); -x_124 = l_Lean_Name_append(x_4, x_3); +x_125 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); lean_inc(x_120); -x_125 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_125, 0, x_124); -lean_ctor_set(x_125, 1, x_3); -lean_ctor_set(x_125, 2, x_123); -lean_ctor_set(x_125, 3, x_120); -lean_ctor_set(x_125, 4, x_5); -x_126 = lean_alloc_ctor(4, 1, 0); +x_126 = lean_alloc_ctor(0, 5, 0); lean_ctor_set(x_126, 0, x_125); -x_127 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_128 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_128, 0, x_126); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_128, x_12, x_13, x_14, x_15, x_16, x_17, x_118); +lean_ctor_set(x_126, 1, x_3); +lean_ctor_set(x_126, 2, x_124); +lean_ctor_set(x_126, 3, x_120); +lean_ctor_set(x_126, 4, x_5); +x_127 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_127, 0, x_126); +x_128 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_129 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_129, 0, x_127); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_129, x_12, x_13, x_14, x_15, x_16, x_17, x_118); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_130 = !lean_is_exclusive(x_129); -if (x_130 == 0) +x_131 = !lean_is_exclusive(x_130); +if (x_131 == 0) { -lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_131 = lean_ctor_get(x_129, 0); -lean_dec(x_131); +lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; +x_132 = lean_ctor_get(x_130, 0); +lean_dec(x_132); lean_inc(x_120); -x_132 = l_Lean_Expr_app___override(x_6, x_120); -x_133 = lean_expr_instantiate1(x_64, x_120); +x_133 = l_Lean_Expr_app___override(x_6, x_120); +x_134 = lean_expr_instantiate1(x_64, x_120); lean_dec(x_64); -x_134 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_134, 0, x_121); -lean_ctor_set(x_134, 1, x_7); -lean_ctor_set(x_134, 2, x_19); -lean_ctor_set(x_134, 3, x_68); -x_135 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_135, 0, x_134); -lean_ctor_set(x_135, 1, x_8); -x_136 = lean_alloc_ctor(0, 2, 0); +x_135 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_135, 0, x_121); +lean_ctor_set(x_135, 1, x_7); +lean_ctor_set(x_135, 2, x_19); +lean_ctor_set(x_135, 3, x_68); +x_136 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_136, 0, x_135); -lean_ctor_set(x_136, 1, x_9); +lean_ctor_set(x_136, 1, x_8); x_137 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_137, 0, x_133); -lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_137, 0, x_136); +lean_ctor_set(x_137, 1, x_9); x_138 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_138, 0, x_132); +lean_ctor_set(x_138, 0, x_134); lean_ctor_set(x_138, 1, x_137); -lean_ctor_set(x_129, 0, x_138); -return x_129; +x_139 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_139, 0, x_133); +lean_ctor_set(x_139, 1, x_138); +lean_ctor_set(x_130, 0, x_139); +return x_130; } else { -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_139 = lean_ctor_get(x_129, 1); -lean_inc(x_139); -lean_dec(x_129); +lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_140 = lean_ctor_get(x_130, 1); +lean_inc(x_140); +lean_dec(x_130); lean_inc(x_120); -x_140 = l_Lean_Expr_app___override(x_6, x_120); -x_141 = lean_expr_instantiate1(x_64, x_120); +x_141 = l_Lean_Expr_app___override(x_6, x_120); +x_142 = lean_expr_instantiate1(x_64, x_120); lean_dec(x_64); -x_142 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_142, 0, x_121); -lean_ctor_set(x_142, 1, x_7); -lean_ctor_set(x_142, 2, x_19); -lean_ctor_set(x_142, 3, x_68); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_8); -x_144 = lean_alloc_ctor(0, 2, 0); +x_143 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_143, 0, x_121); +lean_ctor_set(x_143, 1, x_7); +lean_ctor_set(x_143, 2, x_19); +lean_ctor_set(x_143, 3, x_68); +x_144 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_144, 0, x_143); -lean_ctor_set(x_144, 1, x_9); +lean_ctor_set(x_144, 1, x_8); x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_141); -lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_145, 1, x_9); x_146 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_146, 0, x_140); +lean_ctor_set(x_146, 0, x_142); lean_ctor_set(x_146, 1, x_145); x_147 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_147, 0, x_146); -lean_ctor_set(x_147, 1, x_139); -return x_147; +lean_ctor_set(x_147, 0, x_141); +lean_ctor_set(x_147, 1, x_146); +x_148 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_148, 0, x_147); +lean_ctor_set(x_148, 1, x_140); +return x_148; } } else { -lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; -x_148 = lean_ctor_get(x_68, 0); -lean_inc(x_148); +lean_object* x_149; lean_object* x_150; uint8_t x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +x_149 = lean_ctor_get(x_68, 0); +lean_inc(x_149); lean_dec(x_68); -x_149 = lean_ctor_get(x_2, 0); -lean_inc(x_149); +x_150 = lean_ctor_get(x_2, 0); +lean_inc(x_150); lean_dec(x_2); -lean_inc(x_149); -x_150 = l_Lean_mkHole(x_149); +x_151 = 0; +lean_inc(x_150); +x_152 = l_Lean_mkHole(x_150, x_151); lean_ctor_set_tag(x_19, 0); -lean_ctor_set(x_19, 0, x_150); -x_151 = lean_ctor_get(x_14, 1); -lean_inc(x_151); +lean_ctor_set(x_19, 0, x_152); +x_153 = lean_ctor_get(x_14, 1); +lean_inc(x_153); lean_inc(x_3); -x_152 = l_Lean_Name_append(x_4, x_3); +x_154 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_148); -x_153 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_153, 0, x_152); -lean_ctor_set(x_153, 1, x_3); -lean_ctor_set(x_153, 2, x_151); -lean_ctor_set(x_153, 3, x_148); -lean_ctor_set(x_153, 4, x_5); -x_154 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_154, 0, x_153); -x_155 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_156 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_156, 0, x_154); -lean_ctor_set(x_156, 1, x_155); -x_157 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_156, x_12, x_13, x_14, x_15, x_16, x_17, x_118); +lean_inc(x_149); +x_155 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_155, 0, x_154); +lean_ctor_set(x_155, 1, x_3); +lean_ctor_set(x_155, 2, x_153); +lean_ctor_set(x_155, 3, x_149); +lean_ctor_set(x_155, 4, x_5); +x_156 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_156, 0, x_155); +x_157 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_158 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +x_159 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_158, x_12, x_13, x_14, x_15, x_16, x_17, x_118); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_158 = lean_ctor_get(x_157, 1); -lean_inc(x_158); -if (lean_is_exclusive(x_157)) { - lean_ctor_release(x_157, 0); - lean_ctor_release(x_157, 1); - x_159 = x_157; +x_160 = lean_ctor_get(x_159, 1); +lean_inc(x_160); +if (lean_is_exclusive(x_159)) { + lean_ctor_release(x_159, 0); + lean_ctor_release(x_159, 1); + x_161 = x_159; } else { - lean_dec_ref(x_157); - x_159 = lean_box(0); + lean_dec_ref(x_159); + x_161 = lean_box(0); } -lean_inc(x_148); -x_160 = l_Lean_Expr_app___override(x_6, x_148); -x_161 = lean_expr_instantiate1(x_64, x_148); +lean_inc(x_149); +x_162 = l_Lean_Expr_app___override(x_6, x_149); +x_163 = lean_expr_instantiate1(x_64, x_149); lean_dec(x_64); -x_162 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_162, 0, x_148); -x_163 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_163, 0, x_149); -lean_ctor_set(x_163, 1, x_7); -lean_ctor_set(x_163, 2, x_19); -lean_ctor_set(x_163, 3, x_162); -x_164 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_164, 0, x_163); -lean_ctor_set(x_164, 1, x_8); -x_165 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_165, 0, x_164); -lean_ctor_set(x_165, 1, x_9); -x_166 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_166, 0, x_161); -lean_ctor_set(x_166, 1, x_165); +x_164 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_164, 0, x_149); +x_165 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_165, 0, x_150); +lean_ctor_set(x_165, 1, x_7); +lean_ctor_set(x_165, 2, x_19); +lean_ctor_set(x_165, 3, x_164); +x_166 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_166, 0, x_165); +lean_ctor_set(x_166, 1, x_8); x_167 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_167, 0, x_160); -lean_ctor_set(x_167, 1, x_166); -if (lean_is_scalar(x_159)) { - x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_167, 0, x_166); +lean_ctor_set(x_167, 1, x_9); +x_168 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_168, 0, x_163); +lean_ctor_set(x_168, 1, x_167); +x_169 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_169, 0, x_162); +lean_ctor_set(x_169, 1, x_168); +if (lean_is_scalar(x_161)) { + x_170 = lean_alloc_ctor(0, 2, 0); } else { - x_168 = x_159; + x_170 = x_161; } -lean_ctor_set(x_168, 0, x_167); -lean_ctor_set(x_168, 1, x_158); -return x_168; +lean_ctor_set(x_170, 0, x_169); +lean_ctor_set(x_170, 1, x_160); +return x_170; } } } else { -lean_object* x_169; lean_object* x_170; lean_object* x_171; -x_169 = lean_ctor_get(x_19, 0); -lean_inc(x_169); +lean_object* x_171; lean_object* x_172; lean_object* x_173; +x_171 = lean_ctor_get(x_19, 0); +lean_inc(x_171); lean_dec(x_19); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_63); -lean_inc(x_169); -x_170 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_169, x_63, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -x_171 = lean_ctor_get(x_170, 0); lean_inc(x_171); -if (lean_obj_tag(x_171) == 0) -{ -lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_172 = lean_ctor_get(x_170, 1); -lean_inc(x_172); -lean_dec(x_170); -x_173 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_173, 0, x_63); -lean_inc(x_17); -lean_inc(x_16); -lean_inc(x_15); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); +x_172 = l_Lean_Elab_Term_StructInst_trySynthStructInstance_x3f(x_171, x_63, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_173 = lean_ctor_get(x_172, 0); lean_inc(x_173); -x_174 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct(x_169, x_173, x_12, x_13, x_14, x_15, x_16, x_17, x_172); -if (lean_obj_tag(x_174) == 0) +if (lean_obj_tag(x_173) == 0) { -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_175 = lean_ctor_get(x_174, 0); -lean_inc(x_175); -x_176 = lean_ctor_get(x_174, 1); -lean_inc(x_176); -lean_dec(x_174); -x_177 = lean_ctor_get(x_175, 0); -lean_inc(x_177); -x_178 = lean_ctor_get(x_175, 1); -lean_inc(x_178); -x_179 = lean_ctor_get(x_175, 2); -lean_inc(x_179); -lean_dec(x_175); -x_180 = lean_box(0); +lean_object* x_174; lean_object* x_175; lean_object* x_176; +x_174 = lean_ctor_get(x_172, 1); +lean_inc(x_174); +lean_dec(x_172); +x_175 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_175, 0, x_63); lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_181 = l_Lean_Elab_Term_ensureHasType(x_173, x_177, x_180, x_12, x_13, x_14, x_15, x_16, x_17, x_176); -if (lean_obj_tag(x_181) == 0) +lean_inc(x_175); +x_176 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct(x_171, x_175, x_12, x_13, x_14, x_15, x_16, x_17, x_174); +if (lean_obj_tag(x_176) == 0) { -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; -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 1); -lean_inc(x_183); -lean_dec(x_181); -x_184 = lean_ctor_get(x_2, 0); +lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +x_177 = lean_ctor_get(x_176, 0); +lean_inc(x_177); +x_178 = lean_ctor_get(x_176, 1); +lean_inc(x_178); +lean_dec(x_176); +x_179 = lean_ctor_get(x_177, 0); +lean_inc(x_179); +x_180 = lean_ctor_get(x_177, 1); +lean_inc(x_180); +x_181 = lean_ctor_get(x_177, 2); +lean_inc(x_181); +lean_dec(x_177); +x_182 = lean_box(0); +lean_inc(x_17); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_12); +x_183 = l_Lean_Elab_Term_ensureHasType(x_175, x_179, x_182, x_12, x_13, x_14, x_15, x_16, x_17, x_178); +if (lean_obj_tag(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; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_184 = lean_ctor_get(x_183, 0); lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +lean_dec(x_183); +x_186 = lean_ctor_get(x_2, 0); +lean_inc(x_186); lean_dec(x_2); -x_185 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_185, 0, x_178); -x_186 = l_Array_append___rarg(x_9, x_179); -x_187 = lean_ctor_get(x_14, 1); -lean_inc(x_187); +x_187 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_187, 0, x_180); +x_188 = l_Array_append___rarg(x_9, x_181); +x_189 = lean_ctor_get(x_14, 1); +lean_inc(x_189); lean_inc(x_3); -x_188 = l_Lean_Name_append(x_4, x_3); +x_190 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_182); -x_189 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_189, 0, x_188); -lean_ctor_set(x_189, 1, x_3); -lean_ctor_set(x_189, 2, x_187); -lean_ctor_set(x_189, 3, x_182); -lean_ctor_set(x_189, 4, x_5); -x_190 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_190, 0, x_189); -x_191 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_192 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_192, 0, x_190); -lean_ctor_set(x_192, 1, x_191); -x_193 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_192, x_12, x_13, x_14, x_15, x_16, x_17, x_183); +lean_inc(x_184); +x_191 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_191, 0, x_190); +lean_ctor_set(x_191, 1, x_3); +lean_ctor_set(x_191, 2, x_189); +lean_ctor_set(x_191, 3, x_184); +lean_ctor_set(x_191, 4, x_5); +x_192 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_192, 0, x_191); +x_193 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_194 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_194, 0, x_192); +lean_ctor_set(x_194, 1, x_193); +x_195 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_194, x_12, x_13, x_14, x_15, x_16, x_17, x_185); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_194 = lean_ctor_get(x_193, 1); -lean_inc(x_194); -if (lean_is_exclusive(x_193)) { - lean_ctor_release(x_193, 0); - lean_ctor_release(x_193, 1); - x_195 = x_193; +x_196 = lean_ctor_get(x_195, 1); +lean_inc(x_196); +if (lean_is_exclusive(x_195)) { + lean_ctor_release(x_195, 0); + lean_ctor_release(x_195, 1); + x_197 = x_195; } else { - lean_dec_ref(x_193); - x_195 = lean_box(0); + lean_dec_ref(x_195); + x_197 = lean_box(0); } -lean_inc(x_182); -x_196 = l_Lean_Expr_app___override(x_6, x_182); -x_197 = lean_expr_instantiate1(x_64, x_182); +lean_inc(x_184); +x_198 = l_Lean_Expr_app___override(x_6, x_184); +x_199 = lean_expr_instantiate1(x_64, x_184); lean_dec(x_64); -x_198 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_198, 0, x_182); -x_199 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_199, 0, x_184); -lean_ctor_set(x_199, 1, x_7); -lean_ctor_set(x_199, 2, x_185); -lean_ctor_set(x_199, 3, x_198); -x_200 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_200, 0, x_199); -lean_ctor_set(x_200, 1, x_8); -x_201 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_201, 0, x_200); -lean_ctor_set(x_201, 1, x_186); -x_202 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_202, 0, x_197); -lean_ctor_set(x_202, 1, x_201); +x_200 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_200, 0, x_184); +x_201 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_201, 0, x_186); +lean_ctor_set(x_201, 1, x_7); +lean_ctor_set(x_201, 2, x_187); +lean_ctor_set(x_201, 3, x_200); +x_202 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_202, 0, x_201); +lean_ctor_set(x_202, 1, x_8); x_203 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_203, 0, x_196); -lean_ctor_set(x_203, 1, x_202); -if (lean_is_scalar(x_195)) { - x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_203, 0, x_202); +lean_ctor_set(x_203, 1, x_188); +x_204 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_204, 0, x_199); +lean_ctor_set(x_204, 1, x_203); +x_205 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_205, 0, x_198); +lean_ctor_set(x_205, 1, x_204); +if (lean_is_scalar(x_197)) { + x_206 = lean_alloc_ctor(0, 2, 0); } else { - x_204 = x_195; + x_206 = x_197; } -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_194); -return x_204; +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_196); +return x_206; } else { -lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; -lean_dec(x_179); -lean_dec(x_178); +lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_181); +lean_dec(x_180); lean_dec(x_64); lean_dec(x_17); lean_dec(x_16); @@ -17304,32 +17315,32 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_205 = lean_ctor_get(x_181, 0); -lean_inc(x_205); -x_206 = lean_ctor_get(x_181, 1); -lean_inc(x_206); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_207 = x_181; +x_207 = lean_ctor_get(x_183, 0); +lean_inc(x_207); +x_208 = lean_ctor_get(x_183, 1); +lean_inc(x_208); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_209 = x_183; } else { - lean_dec_ref(x_181); - x_207 = lean_box(0); + lean_dec_ref(x_183); + x_209 = lean_box(0); } -if (lean_is_scalar(x_207)) { - x_208 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_209)) { + x_210 = lean_alloc_ctor(1, 2, 0); } else { - x_208 = x_207; + x_210 = x_209; } -lean_ctor_set(x_208, 0, x_205); -lean_ctor_set(x_208, 1, x_206); -return x_208; +lean_ctor_set(x_210, 0, x_207); +lean_ctor_set(x_210, 1, x_208); +return x_210; } } else { -lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; -lean_dec(x_173); +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; +lean_dec(x_175); lean_dec(x_64); lean_dec(x_17); lean_dec(x_16); @@ -17345,644 +17356,645 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_209 = lean_ctor_get(x_174, 0); -lean_inc(x_209); -x_210 = lean_ctor_get(x_174, 1); -lean_inc(x_210); -if (lean_is_exclusive(x_174)) { - lean_ctor_release(x_174, 0); - lean_ctor_release(x_174, 1); - x_211 = x_174; +x_211 = lean_ctor_get(x_176, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_176, 1); +lean_inc(x_212); +if (lean_is_exclusive(x_176)) { + lean_ctor_release(x_176, 0); + lean_ctor_release(x_176, 1); + x_213 = x_176; } else { - lean_dec_ref(x_174); - x_211 = lean_box(0); + lean_dec_ref(x_176); + x_213 = lean_box(0); } -if (lean_is_scalar(x_211)) { - x_212 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_213)) { + x_214 = lean_alloc_ctor(1, 2, 0); } else { - x_212 = x_211; + x_214 = x_213; } -lean_ctor_set(x_212, 0, x_209); -lean_ctor_set(x_212, 1, x_210); -return x_212; +lean_ctor_set(x_214, 0, x_211); +lean_ctor_set(x_214, 1, x_212); +return x_214; } } else { -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_dec(x_169); +lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; uint8_t x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; 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_dec(x_171); lean_dec(x_63); -x_213 = lean_ctor_get(x_170, 1); -lean_inc(x_213); -lean_dec(x_170); -x_214 = lean_ctor_get(x_171, 0); -lean_inc(x_214); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - x_215 = x_171; +x_215 = lean_ctor_get(x_172, 1); +lean_inc(x_215); +lean_dec(x_172); +x_216 = lean_ctor_get(x_173, 0); +lean_inc(x_216); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + x_217 = x_173; } else { - lean_dec_ref(x_171); - x_215 = lean_box(0); + lean_dec_ref(x_173); + x_217 = lean_box(0); } -x_216 = lean_ctor_get(x_2, 0); -lean_inc(x_216); +x_218 = lean_ctor_get(x_2, 0); +lean_inc(x_218); lean_dec(x_2); -lean_inc(x_216); -x_217 = l_Lean_mkHole(x_216); -x_218 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_218, 0, x_217); -x_219 = lean_ctor_get(x_14, 1); -lean_inc(x_219); -lean_inc(x_3); -x_220 = l_Lean_Name_append(x_4, x_3); -lean_dec(x_4); -lean_inc(x_214); -x_221 = lean_alloc_ctor(0, 5, 0); +x_219 = 0; +lean_inc(x_218); +x_220 = l_Lean_mkHole(x_218, x_219); +x_221 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_221, 0, x_220); -lean_ctor_set(x_221, 1, x_3); -lean_ctor_set(x_221, 2, x_219); -lean_ctor_set(x_221, 3, x_214); -lean_ctor_set(x_221, 4, x_5); -x_222 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_222, 0, x_221); -x_223 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_224 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_224, 0, x_222); -lean_ctor_set(x_224, 1, x_223); -x_225 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_224, x_12, x_13, x_14, x_15, x_16, x_17, x_213); +x_222 = lean_ctor_get(x_14, 1); +lean_inc(x_222); +lean_inc(x_3); +x_223 = l_Lean_Name_append(x_4, x_3); +lean_dec(x_4); +lean_inc(x_216); +x_224 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_224, 0, x_223); +lean_ctor_set(x_224, 1, x_3); +lean_ctor_set(x_224, 2, x_222); +lean_ctor_set(x_224, 3, x_216); +lean_ctor_set(x_224, 4, x_5); +x_225 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_225, 0, x_224); +x_226 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_227 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_227, 0, x_225); +lean_ctor_set(x_227, 1, x_226); +x_228 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_227, x_12, x_13, x_14, x_15, x_16, x_17, x_215); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_226 = lean_ctor_get(x_225, 1); -lean_inc(x_226); -if (lean_is_exclusive(x_225)) { - lean_ctor_release(x_225, 0); - lean_ctor_release(x_225, 1); - x_227 = x_225; +x_229 = lean_ctor_get(x_228, 1); +lean_inc(x_229); +if (lean_is_exclusive(x_228)) { + lean_ctor_release(x_228, 0); + lean_ctor_release(x_228, 1); + x_230 = x_228; } else { - lean_dec_ref(x_225); - x_227 = lean_box(0); + lean_dec_ref(x_228); + x_230 = lean_box(0); } -lean_inc(x_214); -x_228 = l_Lean_Expr_app___override(x_6, x_214); -x_229 = lean_expr_instantiate1(x_64, x_214); +lean_inc(x_216); +x_231 = l_Lean_Expr_app___override(x_6, x_216); +x_232 = lean_expr_instantiate1(x_64, x_216); lean_dec(x_64); -if (lean_is_scalar(x_215)) { - x_230 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_217)) { + x_233 = lean_alloc_ctor(1, 1, 0); } else { - x_230 = x_215; -} -lean_ctor_set(x_230, 0, x_214); -x_231 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_231, 0, x_216); -lean_ctor_set(x_231, 1, x_7); -lean_ctor_set(x_231, 2, x_218); -lean_ctor_set(x_231, 3, x_230); -x_232 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_232, 0, x_231); -lean_ctor_set(x_232, 1, x_8); -x_233 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_233, 0, x_232); -lean_ctor_set(x_233, 1, x_9); -x_234 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_234, 0, x_229); -lean_ctor_set(x_234, 1, x_233); -x_235 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_235, 0, x_228); -lean_ctor_set(x_235, 1, x_234); -if (lean_is_scalar(x_227)) { - x_236 = lean_alloc_ctor(0, 2, 0); -} else { - x_236 = x_227; + x_233 = x_217; } +lean_ctor_set(x_233, 0, x_216); +x_234 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_234, 0, x_218); +lean_ctor_set(x_234, 1, x_7); +lean_ctor_set(x_234, 2, x_221); +lean_ctor_set(x_234, 3, x_233); +x_235 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_235, 0, x_234); +lean_ctor_set(x_235, 1, x_8); +x_236 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_236, 0, x_235); -lean_ctor_set(x_236, 1, x_226); -return x_236; +lean_ctor_set(x_236, 1, x_9); +x_237 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_237, 0, x_232); +lean_ctor_set(x_237, 1, x_236); +x_238 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_238, 0, x_231); +lean_ctor_set(x_238, 1, x_237); +if (lean_is_scalar(x_230)) { + x_239 = lean_alloc_ctor(0, 2, 0); +} else { + x_239 = x_230; +} +lean_ctor_set(x_239, 0, x_238); +lean_ctor_set(x_239, 1, x_229); +return x_239; } } } default: { -lean_object* x_237; lean_object* x_238; uint8_t x_239; lean_object* x_240; -x_237 = lean_ctor_get(x_1, 1); -lean_inc(x_237); -x_238 = lean_ctor_get(x_1, 2); -lean_inc(x_238); -x_239 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); +lean_object* x_240; lean_object* x_241; uint8_t x_242; lean_object* x_243; +x_240 = lean_ctor_get(x_1, 1); +lean_inc(x_240); +x_241 = lean_ctor_get(x_1, 2); +lean_inc(x_241); +x_242 = lean_ctor_get_uint8(x_1, sizeof(void*)*3 + 8); lean_dec(x_1); -x_240 = l_Lean_Expr_getAutoParamTactic_x3f(x_237); -if (lean_obj_tag(x_240) == 0) +x_243 = l_Lean_Expr_getAutoParamTactic_x3f(x_240); +if (lean_obj_tag(x_243) == 0) { -uint8_t x_241; uint8_t x_242; +uint8_t x_244; uint8_t x_245; lean_dec(x_10); -x_241 = 3; -x_242 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_239, x_241); -if (x_242 == 0) +x_244 = 3; +x_245 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_242, x_244); +if (x_245 == 0) { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; uint8_t x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; 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; uint8_t x_271; -x_243 = lean_ctor_get(x_2, 0); -lean_inc(x_243); +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; uint8_t 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; uint8_t x_274; +x_246 = lean_ctor_get(x_2, 0); +lean_inc(x_246); lean_dec(x_2); -x_244 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_244, 0, x_237); -x_245 = lean_ctor_get(x_16, 5); -lean_inc(x_245); -x_246 = l_Lean_replaceRef(x_243, x_245); -lean_dec(x_245); -x_247 = lean_ctor_get(x_16, 0); -lean_inc(x_247); -x_248 = lean_ctor_get(x_16, 1); +x_247 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_247, 0, x_240); +x_248 = lean_ctor_get(x_16, 5); lean_inc(x_248); -x_249 = lean_ctor_get(x_16, 2); -lean_inc(x_249); -x_250 = lean_ctor_get(x_16, 3); +x_249 = l_Lean_replaceRef(x_246, x_248); +lean_dec(x_248); +x_250 = lean_ctor_get(x_16, 0); lean_inc(x_250); -x_251 = lean_ctor_get(x_16, 4); +x_251 = lean_ctor_get(x_16, 1); lean_inc(x_251); -x_252 = lean_ctor_get(x_16, 6); +x_252 = lean_ctor_get(x_16, 2); lean_inc(x_252); -x_253 = lean_ctor_get(x_16, 7); +x_253 = lean_ctor_get(x_16, 3); lean_inc(x_253); -x_254 = lean_ctor_get(x_16, 8); +x_254 = lean_ctor_get(x_16, 4); lean_inc(x_254); -x_255 = lean_ctor_get(x_16, 9); +x_255 = lean_ctor_get(x_16, 6); lean_inc(x_255); -x_256 = lean_ctor_get(x_16, 10); +x_256 = lean_ctor_get(x_16, 7); lean_inc(x_256); -x_257 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_257, 0, x_247); -lean_ctor_set(x_257, 1, x_248); -lean_ctor_set(x_257, 2, x_249); -lean_ctor_set(x_257, 3, x_250); -lean_ctor_set(x_257, 4, x_251); -lean_ctor_set(x_257, 5, x_246); -lean_ctor_set(x_257, 6, x_252); -lean_ctor_set(x_257, 7, x_253); -lean_ctor_set(x_257, 8, x_254); -lean_ctor_set(x_257, 9, x_255); -lean_ctor_set(x_257, 10, x_256); -x_258 = 0; -x_259 = lean_box(0); +x_257 = lean_ctor_get(x_16, 8); +lean_inc(x_257); +x_258 = lean_ctor_get(x_16, 9); +lean_inc(x_258); +x_259 = lean_ctor_get(x_16, 10); +lean_inc(x_259); +x_260 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_260, 0, x_250); +lean_ctor_set(x_260, 1, x_251); +lean_ctor_set(x_260, 2, x_252); +lean_ctor_set(x_260, 3, x_253); +lean_ctor_set(x_260, 4, x_254); +lean_ctor_set(x_260, 5, x_249); +lean_ctor_set(x_260, 6, x_255); +lean_ctor_set(x_260, 7, x_256); +lean_ctor_set(x_260, 8, x_257); +lean_ctor_set(x_260, 9, x_258); +lean_ctor_set(x_260, 10, x_259); +x_261 = 0; +x_262 = lean_box(0); lean_inc(x_14); -x_260 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_244, x_258, x_259, x_14, x_15, x_257, x_17, x_18); -lean_dec(x_257); -x_261 = lean_ctor_get(x_260, 0); -lean_inc(x_261); -x_262 = lean_ctor_get(x_260, 1); -lean_inc(x_262); +x_263 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_247, x_261, x_262, x_14, x_15, x_260, x_17, x_18); lean_dec(x_260); -x_263 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_261); -x_264 = lean_ctor_get(x_14, 1); +x_264 = lean_ctor_get(x_263, 0); lean_inc(x_264); +x_265 = lean_ctor_get(x_263, 1); +lean_inc(x_265); +lean_dec(x_263); +x_266 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_264); +x_267 = lean_ctor_get(x_14, 1); +lean_inc(x_267); lean_inc(x_3); -x_265 = l_Lean_Name_append(x_4, x_3); +x_268 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_263); -x_266 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_3); -lean_ctor_set(x_266, 2, x_264); -lean_ctor_set(x_266, 3, x_263); -lean_ctor_set(x_266, 4, x_5); -x_267 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_267, 0, x_266); -x_268 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_269 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_269, 0, x_267); -lean_ctor_set(x_269, 1, x_268); -x_270 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_269, x_12, x_13, x_14, x_15, x_16, x_17, x_262); +lean_inc(x_266); +x_269 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_269, 0, x_268); +lean_ctor_set(x_269, 1, x_3); +lean_ctor_set(x_269, 2, x_267); +lean_ctor_set(x_269, 3, x_266); +lean_ctor_set(x_269, 4, x_5); +x_270 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_270, 0, x_269); +x_271 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_272 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_272, 0, x_270); +lean_ctor_set(x_272, 1, x_271); +x_273 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_272, x_12, x_13, x_14, x_15, x_16, x_17, x_265); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_271 = !lean_is_exclusive(x_270); -if (x_271 == 0) +x_274 = !lean_is_exclusive(x_273); +if (x_274 == 0) { -lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -x_272 = lean_ctor_get(x_270, 0); -lean_dec(x_272); -lean_inc(x_263); -x_273 = l_Lean_Expr_app___override(x_6, x_263); -x_274 = lean_expr_instantiate1(x_238, x_263); -lean_dec(x_238); -x_275 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_275, 0, x_263); -x_276 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_276, 0, x_243); -lean_ctor_set(x_276, 1, x_7); -lean_ctor_set(x_276, 2, x_19); -lean_ctor_set(x_276, 3, x_275); -x_277 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_277, 0, x_276); -lean_ctor_set(x_277, 1, x_8); -x_278 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_278, 0, x_277); -lean_ctor_set(x_278, 1, x_9); -x_279 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_279, 0, x_274); -lean_ctor_set(x_279, 1, x_278); -x_280 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_280, 0, x_273); -lean_ctor_set(x_280, 1, x_279); -lean_ctor_set(x_270, 0, x_280); -return x_270; +lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; +x_275 = lean_ctor_get(x_273, 0); +lean_dec(x_275); +lean_inc(x_266); +x_276 = l_Lean_Expr_app___override(x_6, x_266); +x_277 = lean_expr_instantiate1(x_241, x_266); +lean_dec(x_241); +x_278 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_278, 0, x_266); +x_279 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_279, 0, x_246); +lean_ctor_set(x_279, 1, x_7); +lean_ctor_set(x_279, 2, x_19); +lean_ctor_set(x_279, 3, x_278); +x_280 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_280, 0, x_279); +lean_ctor_set(x_280, 1, x_8); +x_281 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_281, 0, x_280); +lean_ctor_set(x_281, 1, x_9); +x_282 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_282, 0, x_277); +lean_ctor_set(x_282, 1, x_281); +x_283 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_283, 0, x_276); +lean_ctor_set(x_283, 1, x_282); +lean_ctor_set(x_273, 0, x_283); +return x_273; } else { -lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; -x_281 = lean_ctor_get(x_270, 1); -lean_inc(x_281); -lean_dec(x_270); -lean_inc(x_263); -x_282 = l_Lean_Expr_app___override(x_6, x_263); -x_283 = lean_expr_instantiate1(x_238, x_263); -lean_dec(x_238); -x_284 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_284, 0, x_263); -x_285 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_285, 0, x_243); -lean_ctor_set(x_285, 1, x_7); -lean_ctor_set(x_285, 2, x_19); -lean_ctor_set(x_285, 3, x_284); -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_285); -lean_ctor_set(x_286, 1, x_8); -x_287 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_287, 0, x_286); -lean_ctor_set(x_287, 1, x_9); -x_288 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_288, 0, x_283); -lean_ctor_set(x_288, 1, x_287); -x_289 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_289, 0, x_282); -lean_ctor_set(x_289, 1, x_288); +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; +x_284 = lean_ctor_get(x_273, 1); +lean_inc(x_284); +lean_dec(x_273); +lean_inc(x_266); +x_285 = l_Lean_Expr_app___override(x_6, x_266); +x_286 = lean_expr_instantiate1(x_241, x_266); +lean_dec(x_241); +x_287 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_287, 0, x_266); +x_288 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_288, 0, x_246); +lean_ctor_set(x_288, 1, x_7); +lean_ctor_set(x_288, 2, x_19); +lean_ctor_set(x_288, 3, x_287); +x_289 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_289, 0, x_288); +lean_ctor_set(x_289, 1, x_8); x_290 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_290, 0, x_289); -lean_ctor_set(x_290, 1, x_281); -return x_290; +lean_ctor_set(x_290, 1, x_9); +x_291 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_291, 0, x_286); +lean_ctor_set(x_291, 1, x_290); +x_292 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_292, 0, x_285); +lean_ctor_set(x_292, 1, x_291); +x_293 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_293, 0, x_292); +lean_ctor_set(x_293, 1, x_284); +return x_293; } } else { -lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; uint8_t 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; uint8_t x_320; -x_291 = lean_ctor_get(x_2, 0); -lean_inc(x_291); +lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; uint8_t x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; uint8_t x_323; +x_294 = lean_ctor_get(x_2, 0); +lean_inc(x_294); lean_dec(x_2); -x_292 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_292, 0, x_237); -x_293 = lean_ctor_get(x_16, 5); -lean_inc(x_293); -x_294 = l_Lean_replaceRef(x_291, x_293); -lean_dec(x_293); -x_295 = lean_ctor_get(x_16, 0); -lean_inc(x_295); -x_296 = lean_ctor_get(x_16, 1); +x_295 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_295, 0, x_240); +x_296 = lean_ctor_get(x_16, 5); lean_inc(x_296); -x_297 = lean_ctor_get(x_16, 2); -lean_inc(x_297); -x_298 = lean_ctor_get(x_16, 3); +x_297 = l_Lean_replaceRef(x_294, x_296); +lean_dec(x_296); +x_298 = lean_ctor_get(x_16, 0); lean_inc(x_298); -x_299 = lean_ctor_get(x_16, 4); +x_299 = lean_ctor_get(x_16, 1); lean_inc(x_299); -x_300 = lean_ctor_get(x_16, 6); +x_300 = lean_ctor_get(x_16, 2); lean_inc(x_300); -x_301 = lean_ctor_get(x_16, 7); +x_301 = lean_ctor_get(x_16, 3); lean_inc(x_301); -x_302 = lean_ctor_get(x_16, 8); +x_302 = lean_ctor_get(x_16, 4); lean_inc(x_302); -x_303 = lean_ctor_get(x_16, 9); +x_303 = lean_ctor_get(x_16, 6); lean_inc(x_303); -x_304 = lean_ctor_get(x_16, 10); +x_304 = lean_ctor_get(x_16, 7); lean_inc(x_304); -x_305 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_305, 0, x_295); -lean_ctor_set(x_305, 1, x_296); -lean_ctor_set(x_305, 2, x_297); -lean_ctor_set(x_305, 3, x_298); -lean_ctor_set(x_305, 4, x_299); -lean_ctor_set(x_305, 5, x_294); -lean_ctor_set(x_305, 6, x_300); -lean_ctor_set(x_305, 7, x_301); -lean_ctor_set(x_305, 8, x_302); -lean_ctor_set(x_305, 9, x_303); -lean_ctor_set(x_305, 10, x_304); -x_306 = 1; -x_307 = lean_box(0); +x_305 = lean_ctor_get(x_16, 8); +lean_inc(x_305); +x_306 = lean_ctor_get(x_16, 9); +lean_inc(x_306); +x_307 = lean_ctor_get(x_16, 10); +lean_inc(x_307); +x_308 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_308, 0, x_298); +lean_ctor_set(x_308, 1, x_299); +lean_ctor_set(x_308, 2, x_300); +lean_ctor_set(x_308, 3, x_301); +lean_ctor_set(x_308, 4, x_302); +lean_ctor_set(x_308, 5, x_297); +lean_ctor_set(x_308, 6, x_303); +lean_ctor_set(x_308, 7, x_304); +lean_ctor_set(x_308, 8, x_305); +lean_ctor_set(x_308, 9, x_306); +lean_ctor_set(x_308, 10, x_307); +x_309 = 1; +x_310 = lean_box(0); lean_inc(x_14); -x_308 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_292, x_306, x_307, x_14, x_15, x_305, x_17, x_18); -lean_dec(x_305); -x_309 = lean_ctor_get(x_308, 0); -lean_inc(x_309); -x_310 = lean_ctor_get(x_308, 1); -lean_inc(x_310); +x_311 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_295, x_309, x_310, x_14, x_15, x_308, x_17, x_18); lean_dec(x_308); -lean_inc(x_309); -x_311 = l_Lean_Expr_mvarId_x21(x_309); -x_312 = lean_array_push(x_9, x_311); -x_313 = lean_ctor_get(x_14, 1); +x_312 = lean_ctor_get(x_311, 0); +lean_inc(x_312); +x_313 = lean_ctor_get(x_311, 1); lean_inc(x_313); +lean_dec(x_311); +lean_inc(x_312); +x_314 = l_Lean_Expr_mvarId_x21(x_312); +x_315 = lean_array_push(x_9, x_314); +x_316 = lean_ctor_get(x_14, 1); +lean_inc(x_316); lean_inc(x_3); -x_314 = l_Lean_Name_append(x_4, x_3); +x_317 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_309); -x_315 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_315, 0, x_314); -lean_ctor_set(x_315, 1, x_3); -lean_ctor_set(x_315, 2, x_313); -lean_ctor_set(x_315, 3, x_309); -lean_ctor_set(x_315, 4, x_5); -x_316 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_316, 0, x_315); -x_317 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_318 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_318, 0, x_316); -lean_ctor_set(x_318, 1, x_317); -x_319 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_318, x_12, x_13, x_14, x_15, x_16, x_17, x_310); +lean_inc(x_312); +x_318 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_318, 0, x_317); +lean_ctor_set(x_318, 1, x_3); +lean_ctor_set(x_318, 2, x_316); +lean_ctor_set(x_318, 3, x_312); +lean_ctor_set(x_318, 4, x_5); +x_319 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_319, 0, x_318); +x_320 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_321 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_321, 0, x_319); +lean_ctor_set(x_321, 1, x_320); +x_322 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_321, x_12, x_13, x_14, x_15, x_16, x_17, x_313); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_320 = !lean_is_exclusive(x_319); -if (x_320 == 0) +x_323 = !lean_is_exclusive(x_322); +if (x_323 == 0) { -lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; -x_321 = lean_ctor_get(x_319, 0); -lean_dec(x_321); -lean_inc(x_309); -x_322 = l_Lean_Expr_app___override(x_6, x_309); -x_323 = lean_expr_instantiate1(x_238, x_309); -lean_dec(x_238); -x_324 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_324, 0, x_309); -x_325 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_325, 0, x_291); -lean_ctor_set(x_325, 1, x_7); -lean_ctor_set(x_325, 2, x_19); -lean_ctor_set(x_325, 3, x_324); -x_326 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_326, 0, x_325); -lean_ctor_set(x_326, 1, x_8); -x_327 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_327, 0, x_326); -lean_ctor_set(x_327, 1, x_312); -x_328 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_328, 0, x_323); -lean_ctor_set(x_328, 1, x_327); -x_329 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_329, 0, x_322); -lean_ctor_set(x_329, 1, x_328); -lean_ctor_set(x_319, 0, x_329); -return x_319; +lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_324 = lean_ctor_get(x_322, 0); +lean_dec(x_324); +lean_inc(x_312); +x_325 = l_Lean_Expr_app___override(x_6, x_312); +x_326 = lean_expr_instantiate1(x_241, x_312); +lean_dec(x_241); +x_327 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_327, 0, x_312); +x_328 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_328, 0, x_294); +lean_ctor_set(x_328, 1, x_7); +lean_ctor_set(x_328, 2, x_19); +lean_ctor_set(x_328, 3, x_327); +x_329 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_329, 0, x_328); +lean_ctor_set(x_329, 1, x_8); +x_330 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_330, 0, x_329); +lean_ctor_set(x_330, 1, x_315); +x_331 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_331, 0, x_326); +lean_ctor_set(x_331, 1, x_330); +x_332 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_332, 0, x_325); +lean_ctor_set(x_332, 1, x_331); +lean_ctor_set(x_322, 0, x_332); +return x_322; } else { -lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_330 = lean_ctor_get(x_319, 1); -lean_inc(x_330); -lean_dec(x_319); -lean_inc(x_309); -x_331 = l_Lean_Expr_app___override(x_6, x_309); -x_332 = lean_expr_instantiate1(x_238, x_309); -lean_dec(x_238); -x_333 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_333, 0, x_309); -x_334 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_334, 0, x_291); -lean_ctor_set(x_334, 1, x_7); -lean_ctor_set(x_334, 2, x_19); -lean_ctor_set(x_334, 3, x_333); -x_335 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_335, 0, x_334); -lean_ctor_set(x_335, 1, x_8); -x_336 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_336, 0, x_335); -lean_ctor_set(x_336, 1, x_312); -x_337 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_337, 0, x_332); -lean_ctor_set(x_337, 1, x_336); -x_338 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_338, 0, x_331); -lean_ctor_set(x_338, 1, x_337); +lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; +x_333 = lean_ctor_get(x_322, 1); +lean_inc(x_333); +lean_dec(x_322); +lean_inc(x_312); +x_334 = l_Lean_Expr_app___override(x_6, x_312); +x_335 = lean_expr_instantiate1(x_241, x_312); +lean_dec(x_241); +x_336 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_336, 0, x_312); +x_337 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_337, 0, x_294); +lean_ctor_set(x_337, 1, x_7); +lean_ctor_set(x_337, 2, x_19); +lean_ctor_set(x_337, 3, x_336); +x_338 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_338, 0, x_337); +lean_ctor_set(x_338, 1, x_8); x_339 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_339, 0, x_338); -lean_ctor_set(x_339, 1, x_330); -return x_339; +lean_ctor_set(x_339, 1, x_315); +x_340 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_340, 0, x_335); +lean_ctor_set(x_340, 1, x_339); +x_341 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_341, 0, x_334); +lean_ctor_set(x_341, 1, x_340); +x_342 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_342, 0, x_341); +lean_ctor_set(x_342, 1, x_333); +return x_342; } } } else { -uint8_t x_340; -x_340 = !lean_is_exclusive(x_240); -if (x_340 == 0) +uint8_t x_343; +x_343 = !lean_is_exclusive(x_243); +if (x_343 == 0) { -lean_object* x_341; -x_341 = lean_ctor_get(x_240, 0); -if (lean_obj_tag(x_341) == 4) +lean_object* x_344; +x_344 = lean_ctor_get(x_243, 0); +if (lean_obj_tag(x_344) == 4) { -lean_object* x_342; lean_object* x_343; lean_object* x_344; -x_342 = lean_ctor_get(x_341, 0); -lean_inc(x_342); -lean_dec(x_341); -x_343 = lean_ctor_get(x_16, 2); -lean_inc(x_343); -x_344 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(x_10, x_343, x_342); -lean_dec(x_343); -if (lean_obj_tag(x_344) == 0) -{ -lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; -lean_free_object(x_240); -lean_dec(x_238); -lean_dec(x_237); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_345; lean_object* x_346; lean_object* x_347; x_345 = lean_ctor_get(x_344, 0); lean_inc(x_345); lean_dec(x_344); -x_346 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_346, 0, x_345); -x_347 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_347, 0, x_346); -x_348 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2(x_347, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_346 = lean_ctor_get(x_16, 2); +lean_inc(x_346); +x_347 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(x_10, x_346, x_345); +lean_dec(x_346); +if (lean_obj_tag(x_347) == 0) +{ +lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; +lean_free_object(x_243); +lean_dec(x_241); +lean_dec(x_240); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_348 = lean_ctor_get(x_347, 0); +lean_inc(x_348); +lean_dec(x_347); +x_349 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_349, 0, x_348); +x_350 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_350, 0, x_349); +x_351 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2(x_350, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -return x_348; +return x_351; } else { -lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; lean_object* x_371; -x_349 = lean_ctor_get(x_344, 0); -lean_inc(x_349); -lean_dec(x_344); -lean_inc(x_16); -x_350 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_16, x_17, x_18); -x_351 = lean_ctor_get(x_350, 0); -lean_inc(x_351); -x_352 = lean_ctor_get(x_350, 1); +lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; uint8_t x_373; lean_object* x_374; +x_352 = lean_ctor_get(x_347, 0); lean_inc(x_352); -lean_dec(x_350); -x_353 = lean_st_ref_get(x_17, x_352); -x_354 = lean_ctor_get(x_353, 1); +lean_dec(x_347); +lean_inc(x_16); +x_353 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_16, x_17, x_18); +x_354 = lean_ctor_get(x_353, 0); lean_inc(x_354); +x_355 = lean_ctor_get(x_353, 1); +lean_inc(x_355); lean_dec(x_353); -x_355 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__6; -lean_inc(x_351); -x_356 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_356, 0, x_351); -lean_ctor_set(x_356, 1, x_355); -x_357 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_358 = lean_array_push(x_357, x_356); -x_359 = lean_array_push(x_358, x_349); -x_360 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__5; -x_361 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_361, 0, x_351); -lean_ctor_set(x_361, 1, x_360); -lean_ctor_set(x_361, 2, x_359); -x_362 = lean_unsigned_to_nat(0u); -x_363 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_237, x_362); -x_364 = lean_nat_sub(x_363, x_362); -lean_dec(x_363); -x_365 = lean_unsigned_to_nat(1u); -x_366 = lean_nat_sub(x_364, x_365); -lean_dec(x_364); -x_367 = l_Lean_Expr_getRevArg_x21(x_237, x_366); -x_368 = lean_expr_consume_type_annotations(x_367); -lean_ctor_set(x_240, 0, x_368); -x_369 = lean_box(0); -x_370 = 1; +x_356 = lean_st_ref_get(x_17, x_355); +x_357 = lean_ctor_get(x_356, 1); +lean_inc(x_357); +lean_dec(x_356); +x_358 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__6; +lean_inc(x_354); +x_359 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_359, 0, x_354); +lean_ctor_set(x_359, 1, x_358); +x_360 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_361 = lean_array_push(x_360, x_359); +x_362 = lean_array_push(x_361, x_352); +x_363 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__5; +x_364 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_364, 0, x_354); +lean_ctor_set(x_364, 1, x_363); +lean_ctor_set(x_364, 2, x_362); +x_365 = lean_unsigned_to_nat(0u); +x_366 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_240, x_365); +x_367 = lean_nat_sub(x_366, x_365); +lean_dec(x_366); +x_368 = lean_unsigned_to_nat(1u); +x_369 = lean_nat_sub(x_367, x_368); +lean_dec(x_367); +x_370 = l_Lean_Expr_getRevArg_x21(x_240, x_369); +x_371 = lean_expr_consume_type_annotations(x_370); +lean_ctor_set(x_243, 0, x_371); +x_372 = lean_box(0); +x_373 = 1; lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_371 = l_Lean_Elab_Term_elabTermEnsuringType(x_361, x_240, x_370, x_370, x_369, x_12, x_13, x_14, x_15, x_16, x_17, x_354); -if (lean_obj_tag(x_371) == 0) +x_374 = l_Lean_Elab_Term_elabTermEnsuringType(x_364, x_243, x_373, x_373, x_372, x_12, x_13, x_14, x_15, x_16, x_17, x_357); +if (lean_obj_tag(x_374) == 0) { -lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; uint8_t x_381; -x_372 = lean_ctor_get(x_371, 0); -lean_inc(x_372); -x_373 = lean_ctor_get(x_371, 1); -lean_inc(x_373); -lean_dec(x_371); -x_374 = lean_ctor_get(x_14, 1); -lean_inc(x_374); +lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; uint8_t x_384; +x_375 = lean_ctor_get(x_374, 0); +lean_inc(x_375); +x_376 = lean_ctor_get(x_374, 1); +lean_inc(x_376); +lean_dec(x_374); +x_377 = lean_ctor_get(x_14, 1); +lean_inc(x_377); lean_inc(x_3); -x_375 = l_Lean_Name_append(x_4, x_3); +x_378 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_372); -x_376 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_376, 0, x_375); -lean_ctor_set(x_376, 1, x_3); -lean_ctor_set(x_376, 2, x_374); -lean_ctor_set(x_376, 3, x_372); -lean_ctor_set(x_376, 4, x_5); -x_377 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_377, 0, x_376); -x_378 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_377); -lean_ctor_set(x_379, 1, x_378); -x_380 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_379, x_12, x_13, x_14, x_15, x_16, x_17, x_373); +lean_inc(x_375); +x_379 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_3); +lean_ctor_set(x_379, 2, x_377); +lean_ctor_set(x_379, 3, x_375); +lean_ctor_set(x_379, 4, x_5); +x_380 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_380, 0, x_379); +x_381 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_382 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_382, 0, x_380); +lean_ctor_set(x_382, 1, x_381); +x_383 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_382, x_12, x_13, x_14, x_15, x_16, x_17, x_376); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_381 = !lean_is_exclusive(x_380); -if (x_381 == 0) +x_384 = !lean_is_exclusive(x_383); +if (x_384 == 0) { -lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; -x_382 = lean_ctor_get(x_380, 0); -lean_dec(x_382); -lean_inc(x_372); -x_383 = l_Lean_Expr_app___override(x_6, x_372); -x_384 = lean_expr_instantiate1(x_238, x_372); -lean_dec(x_238); -x_385 = lean_ctor_get(x_2, 0); -lean_inc(x_385); +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; +x_385 = lean_ctor_get(x_383, 0); +lean_dec(x_385); +lean_inc(x_375); +x_386 = l_Lean_Expr_app___override(x_6, x_375); +x_387 = lean_expr_instantiate1(x_241, x_375); +lean_dec(x_241); +x_388 = lean_ctor_get(x_2, 0); +lean_inc(x_388); lean_dec(x_2); -x_386 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_386, 0, x_372); -x_387 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_387, 0, x_385); -lean_ctor_set(x_387, 1, x_7); -lean_ctor_set(x_387, 2, x_19); -lean_ctor_set(x_387, 3, x_386); -x_388 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_388, 0, x_387); -lean_ctor_set(x_388, 1, x_8); -x_389 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_389, 0, x_388); -lean_ctor_set(x_389, 1, x_9); -x_390 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_390, 0, x_384); -lean_ctor_set(x_390, 1, x_389); -x_391 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_391, 0, x_383); -lean_ctor_set(x_391, 1, x_390); -lean_ctor_set(x_380, 0, x_391); -return x_380; +x_389 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_389, 0, x_375); +x_390 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_390, 0, x_388); +lean_ctor_set(x_390, 1, x_7); +lean_ctor_set(x_390, 2, x_19); +lean_ctor_set(x_390, 3, x_389); +x_391 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_391, 0, x_390); +lean_ctor_set(x_391, 1, x_8); +x_392 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_392, 0, x_391); +lean_ctor_set(x_392, 1, x_9); +x_393 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_393, 0, x_387); +lean_ctor_set(x_393, 1, x_392); +x_394 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_394, 0, x_386); +lean_ctor_set(x_394, 1, x_393); +lean_ctor_set(x_383, 0, x_394); +return x_383; } else { -lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; -x_392 = lean_ctor_get(x_380, 1); -lean_inc(x_392); -lean_dec(x_380); -lean_inc(x_372); -x_393 = l_Lean_Expr_app___override(x_6, x_372); -x_394 = lean_expr_instantiate1(x_238, x_372); -lean_dec(x_238); -x_395 = lean_ctor_get(x_2, 0); +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; +x_395 = lean_ctor_get(x_383, 1); lean_inc(x_395); +lean_dec(x_383); +lean_inc(x_375); +x_396 = l_Lean_Expr_app___override(x_6, x_375); +x_397 = lean_expr_instantiate1(x_241, x_375); +lean_dec(x_241); +x_398 = lean_ctor_get(x_2, 0); +lean_inc(x_398); lean_dec(x_2); -x_396 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_396, 0, x_372); -x_397 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_397, 0, x_395); -lean_ctor_set(x_397, 1, x_7); -lean_ctor_set(x_397, 2, x_19); -lean_ctor_set(x_397, 3, x_396); -x_398 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_398, 0, x_397); -lean_ctor_set(x_398, 1, x_8); -x_399 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_399, 0, x_398); -lean_ctor_set(x_399, 1, x_9); -x_400 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_400, 0, x_394); -lean_ctor_set(x_400, 1, x_399); -x_401 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_401, 0, x_393); -lean_ctor_set(x_401, 1, x_400); +x_399 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_399, 0, x_375); +x_400 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_400, 0, x_398); +lean_ctor_set(x_400, 1, x_7); +lean_ctor_set(x_400, 2, x_19); +lean_ctor_set(x_400, 3, x_399); +x_401 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_401, 0, x_400); +lean_ctor_set(x_401, 1, x_8); x_402 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_402, 0, x_401); -lean_ctor_set(x_402, 1, x_392); -return x_402; +lean_ctor_set(x_402, 1, x_9); +x_403 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_403, 0, x_397); +lean_ctor_set(x_403, 1, x_402); +x_404 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_404, 0, x_396); +lean_ctor_set(x_404, 1, x_403); +x_405 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_405, 0, x_404); +lean_ctor_set(x_405, 1, x_395); +return x_405; } } else { -uint8_t x_403; -lean_dec(x_238); +uint8_t x_406; +lean_dec(x_241); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -17997,506 +18009,506 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_403 = !lean_is_exclusive(x_371); -if (x_403 == 0) +x_406 = !lean_is_exclusive(x_374); +if (x_406 == 0) { -return x_371; +return x_374; } else { -lean_object* x_404; lean_object* x_405; lean_object* x_406; -x_404 = lean_ctor_get(x_371, 0); -x_405 = lean_ctor_get(x_371, 1); -lean_inc(x_405); -lean_inc(x_404); -lean_dec(x_371); -x_406 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_406, 0, x_404); -lean_ctor_set(x_406, 1, x_405); -return x_406; +lean_object* x_407; lean_object* x_408; lean_object* x_409; +x_407 = lean_ctor_get(x_374, 0); +x_408 = lean_ctor_get(x_374, 1); +lean_inc(x_408); +lean_inc(x_407); +lean_dec(x_374); +x_409 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_409, 0, x_407); +lean_ctor_set(x_409, 1, x_408); +return x_409; } } } } else { -uint8_t x_407; uint8_t x_408; -lean_dec(x_341); +uint8_t x_410; uint8_t x_411; +lean_dec(x_344); lean_dec(x_10); -x_407 = 3; -x_408 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_239, x_407); -if (x_408 == 0) +x_410 = 3; +x_411 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_242, x_410); +if (x_411 == 0) { -lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; uint8_t x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; uint8_t x_436; -x_409 = lean_ctor_get(x_2, 0); -lean_inc(x_409); -lean_dec(x_2); -lean_ctor_set(x_240, 0, x_237); -x_410 = lean_ctor_get(x_16, 5); -lean_inc(x_410); -x_411 = l_Lean_replaceRef(x_409, x_410); -lean_dec(x_410); -x_412 = lean_ctor_get(x_16, 0); +lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; uint8_t x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; uint8_t x_439; +x_412 = lean_ctor_get(x_2, 0); lean_inc(x_412); -x_413 = lean_ctor_get(x_16, 1); +lean_dec(x_2); +lean_ctor_set(x_243, 0, x_240); +x_413 = lean_ctor_get(x_16, 5); lean_inc(x_413); -x_414 = lean_ctor_get(x_16, 2); -lean_inc(x_414); -x_415 = lean_ctor_get(x_16, 3); +x_414 = l_Lean_replaceRef(x_412, x_413); +lean_dec(x_413); +x_415 = lean_ctor_get(x_16, 0); lean_inc(x_415); -x_416 = lean_ctor_get(x_16, 4); +x_416 = lean_ctor_get(x_16, 1); lean_inc(x_416); -x_417 = lean_ctor_get(x_16, 6); +x_417 = lean_ctor_get(x_16, 2); lean_inc(x_417); -x_418 = lean_ctor_get(x_16, 7); +x_418 = lean_ctor_get(x_16, 3); lean_inc(x_418); -x_419 = lean_ctor_get(x_16, 8); +x_419 = lean_ctor_get(x_16, 4); lean_inc(x_419); -x_420 = lean_ctor_get(x_16, 9); +x_420 = lean_ctor_get(x_16, 6); lean_inc(x_420); -x_421 = lean_ctor_get(x_16, 10); +x_421 = lean_ctor_get(x_16, 7); lean_inc(x_421); -x_422 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_422, 0, x_412); -lean_ctor_set(x_422, 1, x_413); -lean_ctor_set(x_422, 2, x_414); -lean_ctor_set(x_422, 3, x_415); -lean_ctor_set(x_422, 4, x_416); -lean_ctor_set(x_422, 5, x_411); -lean_ctor_set(x_422, 6, x_417); -lean_ctor_set(x_422, 7, x_418); -lean_ctor_set(x_422, 8, x_419); -lean_ctor_set(x_422, 9, x_420); -lean_ctor_set(x_422, 10, x_421); -x_423 = 0; -x_424 = lean_box(0); +x_422 = lean_ctor_get(x_16, 8); +lean_inc(x_422); +x_423 = lean_ctor_get(x_16, 9); +lean_inc(x_423); +x_424 = lean_ctor_get(x_16, 10); +lean_inc(x_424); +x_425 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_425, 0, x_415); +lean_ctor_set(x_425, 1, x_416); +lean_ctor_set(x_425, 2, x_417); +lean_ctor_set(x_425, 3, x_418); +lean_ctor_set(x_425, 4, x_419); +lean_ctor_set(x_425, 5, x_414); +lean_ctor_set(x_425, 6, x_420); +lean_ctor_set(x_425, 7, x_421); +lean_ctor_set(x_425, 8, x_422); +lean_ctor_set(x_425, 9, x_423); +lean_ctor_set(x_425, 10, x_424); +x_426 = 0; +x_427 = lean_box(0); lean_inc(x_14); -x_425 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_240, x_423, x_424, x_14, x_15, x_422, x_17, x_18); -lean_dec(x_422); -x_426 = lean_ctor_get(x_425, 0); -lean_inc(x_426); -x_427 = lean_ctor_get(x_425, 1); -lean_inc(x_427); +x_428 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_243, x_426, x_427, x_14, x_15, x_425, x_17, x_18); lean_dec(x_425); -x_428 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_426); -x_429 = lean_ctor_get(x_14, 1); +x_429 = lean_ctor_get(x_428, 0); lean_inc(x_429); +x_430 = lean_ctor_get(x_428, 1); +lean_inc(x_430); +lean_dec(x_428); +x_431 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_429); +x_432 = lean_ctor_get(x_14, 1); +lean_inc(x_432); lean_inc(x_3); -x_430 = l_Lean_Name_append(x_4, x_3); +x_433 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_428); -x_431 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_431, 0, x_430); -lean_ctor_set(x_431, 1, x_3); -lean_ctor_set(x_431, 2, x_429); -lean_ctor_set(x_431, 3, x_428); -lean_ctor_set(x_431, 4, x_5); -x_432 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_432, 0, x_431); -x_433 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_434 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_434, 0, x_432); -lean_ctor_set(x_434, 1, x_433); -x_435 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_434, x_12, x_13, x_14, x_15, x_16, x_17, x_427); +lean_inc(x_431); +x_434 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_434, 0, x_433); +lean_ctor_set(x_434, 1, x_3); +lean_ctor_set(x_434, 2, x_432); +lean_ctor_set(x_434, 3, x_431); +lean_ctor_set(x_434, 4, x_5); +x_435 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_435, 0, x_434); +x_436 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_437 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_437, 0, x_435); +lean_ctor_set(x_437, 1, x_436); +x_438 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_437, x_12, x_13, x_14, x_15, x_16, x_17, x_430); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_436 = !lean_is_exclusive(x_435); -if (x_436 == 0) +x_439 = !lean_is_exclusive(x_438); +if (x_439 == 0) { -lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; -x_437 = lean_ctor_get(x_435, 0); -lean_dec(x_437); -lean_inc(x_428); -x_438 = l_Lean_Expr_app___override(x_6, x_428); -x_439 = lean_expr_instantiate1(x_238, x_428); -lean_dec(x_238); -x_440 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_440, 0, x_428); -x_441 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_441, 0, x_409); -lean_ctor_set(x_441, 1, x_7); -lean_ctor_set(x_441, 2, x_19); -lean_ctor_set(x_441, 3, x_440); -x_442 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_442, 0, x_441); -lean_ctor_set(x_442, 1, x_8); -x_443 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_443, 0, x_442); -lean_ctor_set(x_443, 1, x_9); -x_444 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_444, 0, x_439); -lean_ctor_set(x_444, 1, x_443); -x_445 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_445, 0, x_438); -lean_ctor_set(x_445, 1, x_444); -lean_ctor_set(x_435, 0, x_445); -return x_435; +lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; +x_440 = lean_ctor_get(x_438, 0); +lean_dec(x_440); +lean_inc(x_431); +x_441 = l_Lean_Expr_app___override(x_6, x_431); +x_442 = lean_expr_instantiate1(x_241, x_431); +lean_dec(x_241); +x_443 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_443, 0, x_431); +x_444 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_444, 0, x_412); +lean_ctor_set(x_444, 1, x_7); +lean_ctor_set(x_444, 2, x_19); +lean_ctor_set(x_444, 3, x_443); +x_445 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_445, 0, x_444); +lean_ctor_set(x_445, 1, x_8); +x_446 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_446, 0, x_445); +lean_ctor_set(x_446, 1, x_9); +x_447 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_447, 0, x_442); +lean_ctor_set(x_447, 1, x_446); +x_448 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_448, 0, x_441); +lean_ctor_set(x_448, 1, x_447); +lean_ctor_set(x_438, 0, x_448); +return x_438; } else { -lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; -x_446 = lean_ctor_get(x_435, 1); -lean_inc(x_446); -lean_dec(x_435); -lean_inc(x_428); -x_447 = l_Lean_Expr_app___override(x_6, x_428); -x_448 = lean_expr_instantiate1(x_238, x_428); -lean_dec(x_238); -x_449 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_449, 0, x_428); -x_450 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_450, 0, x_409); -lean_ctor_set(x_450, 1, x_7); -lean_ctor_set(x_450, 2, x_19); -lean_ctor_set(x_450, 3, x_449); -x_451 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_451, 0, x_450); -lean_ctor_set(x_451, 1, x_8); -x_452 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_452, 0, x_451); -lean_ctor_set(x_452, 1, x_9); -x_453 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_453, 0, x_448); -lean_ctor_set(x_453, 1, x_452); -x_454 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_454, 0, x_447); -lean_ctor_set(x_454, 1, x_453); +lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; +x_449 = lean_ctor_get(x_438, 1); +lean_inc(x_449); +lean_dec(x_438); +lean_inc(x_431); +x_450 = l_Lean_Expr_app___override(x_6, x_431); +x_451 = lean_expr_instantiate1(x_241, x_431); +lean_dec(x_241); +x_452 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_452, 0, x_431); +x_453 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_453, 0, x_412); +lean_ctor_set(x_453, 1, x_7); +lean_ctor_set(x_453, 2, x_19); +lean_ctor_set(x_453, 3, x_452); +x_454 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_454, 0, x_453); +lean_ctor_set(x_454, 1, x_8); x_455 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_455, 0, x_454); -lean_ctor_set(x_455, 1, x_446); -return x_455; +lean_ctor_set(x_455, 1, x_9); +x_456 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_456, 0, x_451); +lean_ctor_set(x_456, 1, x_455); +x_457 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_457, 0, x_450); +lean_ctor_set(x_457, 1, x_456); +x_458 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_458, 0, x_457); +lean_ctor_set(x_458, 1, x_449); +return x_458; } } else { -lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; uint8_t x_470; lean_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; uint8_t x_484; -x_456 = lean_ctor_get(x_2, 0); -lean_inc(x_456); -lean_dec(x_2); -lean_ctor_set(x_240, 0, x_237); -x_457 = lean_ctor_get(x_16, 5); -lean_inc(x_457); -x_458 = l_Lean_replaceRef(x_456, x_457); -lean_dec(x_457); -x_459 = lean_ctor_get(x_16, 0); +lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; lean_object* x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; uint8_t 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; uint8_t x_487; +x_459 = lean_ctor_get(x_2, 0); lean_inc(x_459); -x_460 = lean_ctor_get(x_16, 1); +lean_dec(x_2); +lean_ctor_set(x_243, 0, x_240); +x_460 = lean_ctor_get(x_16, 5); lean_inc(x_460); -x_461 = lean_ctor_get(x_16, 2); -lean_inc(x_461); -x_462 = lean_ctor_get(x_16, 3); +x_461 = l_Lean_replaceRef(x_459, x_460); +lean_dec(x_460); +x_462 = lean_ctor_get(x_16, 0); lean_inc(x_462); -x_463 = lean_ctor_get(x_16, 4); +x_463 = lean_ctor_get(x_16, 1); lean_inc(x_463); -x_464 = lean_ctor_get(x_16, 6); +x_464 = lean_ctor_get(x_16, 2); lean_inc(x_464); -x_465 = lean_ctor_get(x_16, 7); +x_465 = lean_ctor_get(x_16, 3); lean_inc(x_465); -x_466 = lean_ctor_get(x_16, 8); +x_466 = lean_ctor_get(x_16, 4); lean_inc(x_466); -x_467 = lean_ctor_get(x_16, 9); +x_467 = lean_ctor_get(x_16, 6); lean_inc(x_467); -x_468 = lean_ctor_get(x_16, 10); +x_468 = lean_ctor_get(x_16, 7); lean_inc(x_468); -x_469 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_469, 0, x_459); -lean_ctor_set(x_469, 1, x_460); -lean_ctor_set(x_469, 2, x_461); -lean_ctor_set(x_469, 3, x_462); -lean_ctor_set(x_469, 4, x_463); -lean_ctor_set(x_469, 5, x_458); -lean_ctor_set(x_469, 6, x_464); -lean_ctor_set(x_469, 7, x_465); -lean_ctor_set(x_469, 8, x_466); -lean_ctor_set(x_469, 9, x_467); -lean_ctor_set(x_469, 10, x_468); -x_470 = 1; -x_471 = lean_box(0); +x_469 = lean_ctor_get(x_16, 8); +lean_inc(x_469); +x_470 = lean_ctor_get(x_16, 9); +lean_inc(x_470); +x_471 = lean_ctor_get(x_16, 10); +lean_inc(x_471); +x_472 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_472, 0, x_462); +lean_ctor_set(x_472, 1, x_463); +lean_ctor_set(x_472, 2, x_464); +lean_ctor_set(x_472, 3, x_465); +lean_ctor_set(x_472, 4, x_466); +lean_ctor_set(x_472, 5, x_461); +lean_ctor_set(x_472, 6, x_467); +lean_ctor_set(x_472, 7, x_468); +lean_ctor_set(x_472, 8, x_469); +lean_ctor_set(x_472, 9, x_470); +lean_ctor_set(x_472, 10, x_471); +x_473 = 1; +x_474 = lean_box(0); lean_inc(x_14); -x_472 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_240, x_470, x_471, x_14, x_15, x_469, x_17, x_18); -lean_dec(x_469); -x_473 = lean_ctor_get(x_472, 0); -lean_inc(x_473); -x_474 = lean_ctor_get(x_472, 1); -lean_inc(x_474); +x_475 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_243, x_473, x_474, x_14, x_15, x_472, x_17, x_18); lean_dec(x_472); -lean_inc(x_473); -x_475 = l_Lean_Expr_mvarId_x21(x_473); -x_476 = lean_array_push(x_9, x_475); -x_477 = lean_ctor_get(x_14, 1); +x_476 = lean_ctor_get(x_475, 0); +lean_inc(x_476); +x_477 = lean_ctor_get(x_475, 1); lean_inc(x_477); +lean_dec(x_475); +lean_inc(x_476); +x_478 = l_Lean_Expr_mvarId_x21(x_476); +x_479 = lean_array_push(x_9, x_478); +x_480 = lean_ctor_get(x_14, 1); +lean_inc(x_480); lean_inc(x_3); -x_478 = l_Lean_Name_append(x_4, x_3); +x_481 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_473); -x_479 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_479, 0, x_478); -lean_ctor_set(x_479, 1, x_3); -lean_ctor_set(x_479, 2, x_477); -lean_ctor_set(x_479, 3, x_473); -lean_ctor_set(x_479, 4, x_5); -x_480 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_480, 0, x_479); -x_481 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_482 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_482, 0, x_480); -lean_ctor_set(x_482, 1, x_481); -x_483 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_482, x_12, x_13, x_14, x_15, x_16, x_17, x_474); +lean_inc(x_476); +x_482 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_482, 0, x_481); +lean_ctor_set(x_482, 1, x_3); +lean_ctor_set(x_482, 2, x_480); +lean_ctor_set(x_482, 3, x_476); +lean_ctor_set(x_482, 4, x_5); +x_483 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_483, 0, x_482); +x_484 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_485 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_485, 0, x_483); +lean_ctor_set(x_485, 1, x_484); +x_486 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_485, x_12, x_13, x_14, x_15, x_16, x_17, x_477); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_484 = !lean_is_exclusive(x_483); -if (x_484 == 0) +x_487 = !lean_is_exclusive(x_486); +if (x_487 == 0) { -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; -x_485 = lean_ctor_get(x_483, 0); -lean_dec(x_485); -lean_inc(x_473); -x_486 = l_Lean_Expr_app___override(x_6, x_473); -x_487 = lean_expr_instantiate1(x_238, x_473); -lean_dec(x_238); -x_488 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_488, 0, x_473); -x_489 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_489, 0, x_456); -lean_ctor_set(x_489, 1, x_7); -lean_ctor_set(x_489, 2, x_19); -lean_ctor_set(x_489, 3, x_488); -x_490 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_490, 0, x_489); -lean_ctor_set(x_490, 1, x_8); -x_491 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_491, 0, x_490); -lean_ctor_set(x_491, 1, x_476); -x_492 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_492, 0, x_487); -lean_ctor_set(x_492, 1, x_491); -x_493 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_493, 0, x_486); -lean_ctor_set(x_493, 1, x_492); -lean_ctor_set(x_483, 0, x_493); -return x_483; +lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; +x_488 = lean_ctor_get(x_486, 0); +lean_dec(x_488); +lean_inc(x_476); +x_489 = l_Lean_Expr_app___override(x_6, x_476); +x_490 = lean_expr_instantiate1(x_241, x_476); +lean_dec(x_241); +x_491 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_491, 0, x_476); +x_492 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_492, 0, x_459); +lean_ctor_set(x_492, 1, x_7); +lean_ctor_set(x_492, 2, x_19); +lean_ctor_set(x_492, 3, x_491); +x_493 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_493, 0, x_492); +lean_ctor_set(x_493, 1, x_8); +x_494 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_494, 0, x_493); +lean_ctor_set(x_494, 1, x_479); +x_495 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_495, 0, x_490); +lean_ctor_set(x_495, 1, x_494); +x_496 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_496, 0, x_489); +lean_ctor_set(x_496, 1, x_495); +lean_ctor_set(x_486, 0, x_496); +return x_486; } else { -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; -x_494 = lean_ctor_get(x_483, 1); -lean_inc(x_494); -lean_dec(x_483); -lean_inc(x_473); -x_495 = l_Lean_Expr_app___override(x_6, x_473); -x_496 = lean_expr_instantiate1(x_238, x_473); -lean_dec(x_238); -x_497 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_497, 0, x_473); -x_498 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_498, 0, x_456); -lean_ctor_set(x_498, 1, x_7); -lean_ctor_set(x_498, 2, x_19); -lean_ctor_set(x_498, 3, x_497); -x_499 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_499, 0, x_498); -lean_ctor_set(x_499, 1, x_8); -x_500 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_500, 0, x_499); -lean_ctor_set(x_500, 1, x_476); -x_501 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_501, 0, x_496); -lean_ctor_set(x_501, 1, x_500); -x_502 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_502, 0, x_495); -lean_ctor_set(x_502, 1, x_501); +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; +x_497 = lean_ctor_get(x_486, 1); +lean_inc(x_497); +lean_dec(x_486); +lean_inc(x_476); +x_498 = l_Lean_Expr_app___override(x_6, x_476); +x_499 = lean_expr_instantiate1(x_241, x_476); +lean_dec(x_241); +x_500 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_500, 0, x_476); +x_501 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_501, 0, x_459); +lean_ctor_set(x_501, 1, x_7); +lean_ctor_set(x_501, 2, x_19); +lean_ctor_set(x_501, 3, x_500); +x_502 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_502, 0, x_501); +lean_ctor_set(x_502, 1, x_8); x_503 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_503, 0, x_502); -lean_ctor_set(x_503, 1, x_494); -return x_503; +lean_ctor_set(x_503, 1, x_479); +x_504 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_504, 0, x_499); +lean_ctor_set(x_504, 1, x_503); +x_505 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_505, 0, x_498); +lean_ctor_set(x_505, 1, x_504); +x_506 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_506, 0, x_505); +lean_ctor_set(x_506, 1, x_497); +return x_506; } } } } else { -lean_object* x_504; -x_504 = lean_ctor_get(x_240, 0); -lean_inc(x_504); -lean_dec(x_240); -if (lean_obj_tag(x_504) == 4) +lean_object* x_507; +x_507 = lean_ctor_get(x_243, 0); +lean_inc(x_507); +lean_dec(x_243); +if (lean_obj_tag(x_507) == 4) { -lean_object* x_505; lean_object* x_506; lean_object* x_507; -x_505 = lean_ctor_get(x_504, 0); -lean_inc(x_505); -lean_dec(x_504); -x_506 = lean_ctor_get(x_16, 2); -lean_inc(x_506); -x_507 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(x_10, x_506, x_505); -lean_dec(x_506); -if (lean_obj_tag(x_507) == 0) -{ -lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; -lean_dec(x_238); -lean_dec(x_237); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); +lean_object* x_508; lean_object* x_509; lean_object* x_510; x_508 = lean_ctor_get(x_507, 0); lean_inc(x_508); lean_dec(x_507); -x_509 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_509, 0, x_508); -x_510 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_510, 0, x_509); -x_511 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2(x_510, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +x_509 = lean_ctor_get(x_16, 2); +lean_inc(x_509); +x_510 = l___private_Lean_Elab_Util_0__Lean_Elab_evalSyntaxConstantUnsafe(x_10, x_509, x_508); +lean_dec(x_509); +if (lean_obj_tag(x_510) == 0) +{ +lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; +lean_dec(x_241); +lean_dec(x_240); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_511 = lean_ctor_get(x_510, 0); +lean_inc(x_511); +lean_dec(x_510); +x_512 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_512, 0, x_511); +x_513 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_513, 0, x_512); +x_514 = l_Lean_throwError___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__2(x_513, x_12, x_13, x_14, x_15, x_16, x_17, x_18); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -return x_511; +return x_514; } else { -lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; uint8_t x_534; lean_object* x_535; -x_512 = lean_ctor_get(x_507, 0); -lean_inc(x_512); -lean_dec(x_507); -lean_inc(x_16); -x_513 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_16, x_17, x_18); -x_514 = lean_ctor_get(x_513, 0); -lean_inc(x_514); -x_515 = lean_ctor_get(x_513, 1); +lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; uint8_t x_537; lean_object* x_538; +x_515 = lean_ctor_get(x_510, 0); lean_inc(x_515); -lean_dec(x_513); -x_516 = lean_st_ref_get(x_17, x_515); -x_517 = lean_ctor_get(x_516, 1); +lean_dec(x_510); +lean_inc(x_16); +x_516 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_16, x_17, x_18); +x_517 = lean_ctor_get(x_516, 0); lean_inc(x_517); +x_518 = lean_ctor_get(x_516, 1); +lean_inc(x_518); lean_dec(x_516); -x_518 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__6; -lean_inc(x_514); -x_519 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_519, 0, x_514); -lean_ctor_set(x_519, 1, x_518); -x_520 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; -x_521 = lean_array_push(x_520, x_519); -x_522 = lean_array_push(x_521, x_512); -x_523 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__5; -x_524 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_524, 0, x_514); -lean_ctor_set(x_524, 1, x_523); -lean_ctor_set(x_524, 2, x_522); -x_525 = lean_unsigned_to_nat(0u); -x_526 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_237, x_525); -x_527 = lean_nat_sub(x_526, x_525); -lean_dec(x_526); -x_528 = lean_unsigned_to_nat(1u); -x_529 = lean_nat_sub(x_527, x_528); -lean_dec(x_527); -x_530 = l_Lean_Expr_getRevArg_x21(x_237, x_529); -x_531 = lean_expr_consume_type_annotations(x_530); -x_532 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_532, 0, x_531); -x_533 = lean_box(0); -x_534 = 1; +x_519 = lean_st_ref_get(x_17, x_518); +x_520 = lean_ctor_get(x_519, 1); +lean_inc(x_520); +lean_dec(x_519); +x_521 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__6; +lean_inc(x_517); +x_522 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_522, 0, x_517); +lean_ctor_set(x_522, 1, x_521); +x_523 = l_Lean_Elab_Term_StructInst_expandStructInstExpectedType___closed__17; +x_524 = lean_array_push(x_523, x_522); +x_525 = lean_array_push(x_524, x_515); +x_526 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__5; +x_527 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_527, 0, x_517); +lean_ctor_set(x_527, 1, x_526); +lean_ctor_set(x_527, 2, x_525); +x_528 = lean_unsigned_to_nat(0u); +x_529 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_240, x_528); +x_530 = lean_nat_sub(x_529, x_528); +lean_dec(x_529); +x_531 = lean_unsigned_to_nat(1u); +x_532 = lean_nat_sub(x_530, x_531); +lean_dec(x_530); +x_533 = l_Lean_Expr_getRevArg_x21(x_240, x_532); +x_534 = lean_expr_consume_type_annotations(x_533); +x_535 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_535, 0, x_534); +x_536 = lean_box(0); +x_537 = 1; lean_inc(x_17); lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -x_535 = l_Lean_Elab_Term_elabTermEnsuringType(x_524, x_532, x_534, x_534, x_533, x_12, x_13, x_14, x_15, x_16, x_17, x_517); -if (lean_obj_tag(x_535) == 0) +x_538 = l_Lean_Elab_Term_elabTermEnsuringType(x_527, x_535, x_537, x_537, x_536, x_12, x_13, x_14, x_15, x_16, x_17, x_520); +if (lean_obj_tag(x_538) == 0) { -lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; -x_536 = lean_ctor_get(x_535, 0); -lean_inc(x_536); -x_537 = lean_ctor_get(x_535, 1); -lean_inc(x_537); -lean_dec(x_535); -x_538 = lean_ctor_get(x_14, 1); -lean_inc(x_538); +lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; lean_object* x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; +x_539 = lean_ctor_get(x_538, 0); +lean_inc(x_539); +x_540 = lean_ctor_get(x_538, 1); +lean_inc(x_540); +lean_dec(x_538); +x_541 = lean_ctor_get(x_14, 1); +lean_inc(x_541); lean_inc(x_3); -x_539 = l_Lean_Name_append(x_4, x_3); +x_542 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_536); -x_540 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_540, 0, x_539); -lean_ctor_set(x_540, 1, x_3); -lean_ctor_set(x_540, 2, x_538); -lean_ctor_set(x_540, 3, x_536); -lean_ctor_set(x_540, 4, x_5); -x_541 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_541, 0, x_540); -x_542 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_543 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_543, 0, x_541); -lean_ctor_set(x_543, 1, x_542); -x_544 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_543, x_12, x_13, x_14, x_15, x_16, x_17, x_537); +lean_inc(x_539); +x_543 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_543, 0, x_542); +lean_ctor_set(x_543, 1, x_3); +lean_ctor_set(x_543, 2, x_541); +lean_ctor_set(x_543, 3, x_539); +lean_ctor_set(x_543, 4, x_5); +x_544 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_544, 0, x_543); +x_545 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_546 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_546, 0, x_544); +lean_ctor_set(x_546, 1, x_545); +x_547 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_546, x_12, x_13, x_14, x_15, x_16, x_17, x_540); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_545 = lean_ctor_get(x_544, 1); -lean_inc(x_545); -if (lean_is_exclusive(x_544)) { - lean_ctor_release(x_544, 0); - lean_ctor_release(x_544, 1); - x_546 = x_544; +x_548 = lean_ctor_get(x_547, 1); +lean_inc(x_548); +if (lean_is_exclusive(x_547)) { + lean_ctor_release(x_547, 0); + lean_ctor_release(x_547, 1); + x_549 = x_547; } else { - lean_dec_ref(x_544); - x_546 = lean_box(0); + lean_dec_ref(x_547); + x_549 = lean_box(0); } -lean_inc(x_536); -x_547 = l_Lean_Expr_app___override(x_6, x_536); -x_548 = lean_expr_instantiate1(x_238, x_536); -lean_dec(x_238); -x_549 = lean_ctor_get(x_2, 0); -lean_inc(x_549); +lean_inc(x_539); +x_550 = l_Lean_Expr_app___override(x_6, x_539); +x_551 = lean_expr_instantiate1(x_241, x_539); +lean_dec(x_241); +x_552 = lean_ctor_get(x_2, 0); +lean_inc(x_552); lean_dec(x_2); -x_550 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_550, 0, x_536); -x_551 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_551, 0, x_549); -lean_ctor_set(x_551, 1, x_7); -lean_ctor_set(x_551, 2, x_19); -lean_ctor_set(x_551, 3, x_550); -x_552 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_552, 0, x_551); -lean_ctor_set(x_552, 1, x_8); -x_553 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_553, 0, x_552); -lean_ctor_set(x_553, 1, x_9); -x_554 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_554, 0, x_548); -lean_ctor_set(x_554, 1, x_553); -x_555 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_555, 0, x_547); -lean_ctor_set(x_555, 1, x_554); -if (lean_is_scalar(x_546)) { - x_556 = lean_alloc_ctor(0, 2, 0); -} else { - x_556 = x_546; -} +x_553 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_553, 0, x_539); +x_554 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_554, 0, x_552); +lean_ctor_set(x_554, 1, x_7); +lean_ctor_set(x_554, 2, x_19); +lean_ctor_set(x_554, 3, x_553); +x_555 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_555, 0, x_554); +lean_ctor_set(x_555, 1, x_8); +x_556 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_556, 0, x_555); -lean_ctor_set(x_556, 1, x_545); -return x_556; +lean_ctor_set(x_556, 1, x_9); +x_557 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_557, 0, x_551); +lean_ctor_set(x_557, 1, x_556); +x_558 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_558, 0, x_550); +lean_ctor_set(x_558, 1, x_557); +if (lean_is_scalar(x_549)) { + x_559 = lean_alloc_ctor(0, 2, 0); +} else { + x_559 = x_549; +} +lean_ctor_set(x_559, 0, x_558); +lean_ctor_set(x_559, 1, x_548); +return x_559; } else { -lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; -lean_dec(x_238); +lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; +lean_dec(x_241); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); @@ -18511,281 +18523,281 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_557 = lean_ctor_get(x_535, 0); -lean_inc(x_557); -x_558 = lean_ctor_get(x_535, 1); -lean_inc(x_558); -if (lean_is_exclusive(x_535)) { - lean_ctor_release(x_535, 0); - lean_ctor_release(x_535, 1); - x_559 = x_535; +x_560 = lean_ctor_get(x_538, 0); +lean_inc(x_560); +x_561 = lean_ctor_get(x_538, 1); +lean_inc(x_561); +if (lean_is_exclusive(x_538)) { + lean_ctor_release(x_538, 0); + lean_ctor_release(x_538, 1); + x_562 = x_538; } else { - lean_dec_ref(x_535); - x_559 = lean_box(0); + lean_dec_ref(x_538); + x_562 = lean_box(0); } -if (lean_is_scalar(x_559)) { - x_560 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_562)) { + x_563 = lean_alloc_ctor(1, 2, 0); } else { - x_560 = x_559; + x_563 = x_562; } -lean_ctor_set(x_560, 0, x_557); -lean_ctor_set(x_560, 1, x_558); -return x_560; +lean_ctor_set(x_563, 0, x_560); +lean_ctor_set(x_563, 1, x_561); +return x_563; } } } else { -uint8_t x_561; uint8_t x_562; -lean_dec(x_504); +uint8_t x_564; uint8_t x_565; +lean_dec(x_507); lean_dec(x_10); -x_561 = 3; -x_562 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_239, x_561); -if (x_562 == 0) +x_564 = 3; +x_565 = l___private_Lean_Expr_0__Lean_beqBinderInfo____x40_Lean_Expr___hyg_390_(x_242, x_564); +if (x_565 == 0) { -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; uint8_t x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; 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_563 = lean_ctor_get(x_2, 0); -lean_inc(x_563); +lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; uint8_t x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; +x_566 = lean_ctor_get(x_2, 0); +lean_inc(x_566); lean_dec(x_2); -x_564 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_564, 0, x_237); -x_565 = lean_ctor_get(x_16, 5); -lean_inc(x_565); -x_566 = l_Lean_replaceRef(x_563, x_565); -lean_dec(x_565); -x_567 = lean_ctor_get(x_16, 0); -lean_inc(x_567); -x_568 = lean_ctor_get(x_16, 1); +x_567 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_567, 0, x_240); +x_568 = lean_ctor_get(x_16, 5); lean_inc(x_568); -x_569 = lean_ctor_get(x_16, 2); -lean_inc(x_569); -x_570 = lean_ctor_get(x_16, 3); +x_569 = l_Lean_replaceRef(x_566, x_568); +lean_dec(x_568); +x_570 = lean_ctor_get(x_16, 0); lean_inc(x_570); -x_571 = lean_ctor_get(x_16, 4); +x_571 = lean_ctor_get(x_16, 1); lean_inc(x_571); -x_572 = lean_ctor_get(x_16, 6); +x_572 = lean_ctor_get(x_16, 2); lean_inc(x_572); -x_573 = lean_ctor_get(x_16, 7); +x_573 = lean_ctor_get(x_16, 3); lean_inc(x_573); -x_574 = lean_ctor_get(x_16, 8); +x_574 = lean_ctor_get(x_16, 4); lean_inc(x_574); -x_575 = lean_ctor_get(x_16, 9); +x_575 = lean_ctor_get(x_16, 6); lean_inc(x_575); -x_576 = lean_ctor_get(x_16, 10); +x_576 = lean_ctor_get(x_16, 7); lean_inc(x_576); -x_577 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_577, 0, x_567); -lean_ctor_set(x_577, 1, x_568); -lean_ctor_set(x_577, 2, x_569); -lean_ctor_set(x_577, 3, x_570); -lean_ctor_set(x_577, 4, x_571); -lean_ctor_set(x_577, 5, x_566); -lean_ctor_set(x_577, 6, x_572); -lean_ctor_set(x_577, 7, x_573); -lean_ctor_set(x_577, 8, x_574); -lean_ctor_set(x_577, 9, x_575); -lean_ctor_set(x_577, 10, x_576); -x_578 = 0; -x_579 = lean_box(0); +x_577 = lean_ctor_get(x_16, 8); +lean_inc(x_577); +x_578 = lean_ctor_get(x_16, 9); +lean_inc(x_578); +x_579 = lean_ctor_get(x_16, 10); +lean_inc(x_579); +x_580 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_580, 0, x_570); +lean_ctor_set(x_580, 1, x_571); +lean_ctor_set(x_580, 2, x_572); +lean_ctor_set(x_580, 3, x_573); +lean_ctor_set(x_580, 4, x_574); +lean_ctor_set(x_580, 5, x_569); +lean_ctor_set(x_580, 6, x_575); +lean_ctor_set(x_580, 7, x_576); +lean_ctor_set(x_580, 8, x_577); +lean_ctor_set(x_580, 9, x_578); +lean_ctor_set(x_580, 10, x_579); +x_581 = 0; +x_582 = lean_box(0); lean_inc(x_14); -x_580 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_564, x_578, x_579, x_14, x_15, x_577, x_17, x_18); -lean_dec(x_577); -x_581 = lean_ctor_get(x_580, 0); -lean_inc(x_581); -x_582 = lean_ctor_get(x_580, 1); -lean_inc(x_582); +x_583 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_567, x_581, x_582, x_14, x_15, x_580, x_17, x_18); lean_dec(x_580); -x_583 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_581); -x_584 = lean_ctor_get(x_14, 1); +x_584 = lean_ctor_get(x_583, 0); lean_inc(x_584); +x_585 = lean_ctor_get(x_583, 1); +lean_inc(x_585); +lean_dec(x_583); +x_586 = l_Lean_Elab_Term_StructInst_markDefaultMissing(x_584); +x_587 = lean_ctor_get(x_14, 1); +lean_inc(x_587); lean_inc(x_3); -x_585 = l_Lean_Name_append(x_4, x_3); +x_588 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_583); -x_586 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_586, 0, x_585); -lean_ctor_set(x_586, 1, x_3); -lean_ctor_set(x_586, 2, x_584); -lean_ctor_set(x_586, 3, x_583); -lean_ctor_set(x_586, 4, x_5); -x_587 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_587, 0, x_586); -x_588 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_589 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_589, 0, x_587); -lean_ctor_set(x_589, 1, x_588); -x_590 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_589, x_12, x_13, x_14, x_15, x_16, x_17, x_582); +lean_inc(x_586); +x_589 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_589, 0, x_588); +lean_ctor_set(x_589, 1, x_3); +lean_ctor_set(x_589, 2, x_587); +lean_ctor_set(x_589, 3, x_586); +lean_ctor_set(x_589, 4, x_5); +x_590 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_590, 0, x_589); +x_591 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_592 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_592, 0, x_590); +lean_ctor_set(x_592, 1, x_591); +x_593 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_592, x_12, x_13, x_14, x_15, x_16, x_17, x_585); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_591 = lean_ctor_get(x_590, 1); -lean_inc(x_591); -if (lean_is_exclusive(x_590)) { - lean_ctor_release(x_590, 0); - lean_ctor_release(x_590, 1); - x_592 = x_590; +x_594 = lean_ctor_get(x_593, 1); +lean_inc(x_594); +if (lean_is_exclusive(x_593)) { + lean_ctor_release(x_593, 0); + lean_ctor_release(x_593, 1); + x_595 = x_593; } else { - lean_dec_ref(x_590); - x_592 = lean_box(0); -} -lean_inc(x_583); -x_593 = l_Lean_Expr_app___override(x_6, x_583); -x_594 = lean_expr_instantiate1(x_238, x_583); -lean_dec(x_238); -x_595 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_595, 0, x_583); -x_596 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_596, 0, x_563); -lean_ctor_set(x_596, 1, x_7); -lean_ctor_set(x_596, 2, x_19); -lean_ctor_set(x_596, 3, x_595); -x_597 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_597, 0, x_596); -lean_ctor_set(x_597, 1, x_8); -x_598 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_598, 0, x_597); -lean_ctor_set(x_598, 1, x_9); -x_599 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_599, 0, x_594); -lean_ctor_set(x_599, 1, x_598); -x_600 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_600, 0, x_593); -lean_ctor_set(x_600, 1, x_599); -if (lean_is_scalar(x_592)) { - x_601 = lean_alloc_ctor(0, 2, 0); -} else { - x_601 = x_592; + lean_dec_ref(x_593); + x_595 = lean_box(0); } +lean_inc(x_586); +x_596 = l_Lean_Expr_app___override(x_6, x_586); +x_597 = lean_expr_instantiate1(x_241, x_586); +lean_dec(x_241); +x_598 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_598, 0, x_586); +x_599 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_599, 0, x_566); +lean_ctor_set(x_599, 1, x_7); +lean_ctor_set(x_599, 2, x_19); +lean_ctor_set(x_599, 3, x_598); +x_600 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_600, 0, x_599); +lean_ctor_set(x_600, 1, x_8); +x_601 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_601, 0, x_600); -lean_ctor_set(x_601, 1, x_591); -return x_601; +lean_ctor_set(x_601, 1, x_9); +x_602 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_602, 0, x_597); +lean_ctor_set(x_602, 1, x_601); +x_603 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_603, 0, x_596); +lean_ctor_set(x_603, 1, x_602); +if (lean_is_scalar(x_595)) { + x_604 = lean_alloc_ctor(0, 2, 0); +} else { + x_604 = x_595; +} +lean_ctor_set(x_604, 0, x_603); +lean_ctor_set(x_604, 1, x_594); +return x_604; } 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; uint8_t x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; -x_602 = lean_ctor_get(x_2, 0); -lean_inc(x_602); +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; uint8_t x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; +x_605 = lean_ctor_get(x_2, 0); +lean_inc(x_605); lean_dec(x_2); -x_603 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_603, 0, x_237); -x_604 = lean_ctor_get(x_16, 5); -lean_inc(x_604); -x_605 = l_Lean_replaceRef(x_602, x_604); -lean_dec(x_604); -x_606 = lean_ctor_get(x_16, 0); -lean_inc(x_606); -x_607 = lean_ctor_get(x_16, 1); +x_606 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_606, 0, x_240); +x_607 = lean_ctor_get(x_16, 5); lean_inc(x_607); -x_608 = lean_ctor_get(x_16, 2); -lean_inc(x_608); -x_609 = lean_ctor_get(x_16, 3); +x_608 = l_Lean_replaceRef(x_605, x_607); +lean_dec(x_607); +x_609 = lean_ctor_get(x_16, 0); lean_inc(x_609); -x_610 = lean_ctor_get(x_16, 4); +x_610 = lean_ctor_get(x_16, 1); lean_inc(x_610); -x_611 = lean_ctor_get(x_16, 6); +x_611 = lean_ctor_get(x_16, 2); lean_inc(x_611); -x_612 = lean_ctor_get(x_16, 7); +x_612 = lean_ctor_get(x_16, 3); lean_inc(x_612); -x_613 = lean_ctor_get(x_16, 8); +x_613 = lean_ctor_get(x_16, 4); lean_inc(x_613); -x_614 = lean_ctor_get(x_16, 9); +x_614 = lean_ctor_get(x_16, 6); lean_inc(x_614); -x_615 = lean_ctor_get(x_16, 10); +x_615 = lean_ctor_get(x_16, 7); lean_inc(x_615); -x_616 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_616, 0, x_606); -lean_ctor_set(x_616, 1, x_607); -lean_ctor_set(x_616, 2, x_608); -lean_ctor_set(x_616, 3, x_609); -lean_ctor_set(x_616, 4, x_610); -lean_ctor_set(x_616, 5, x_605); -lean_ctor_set(x_616, 6, x_611); -lean_ctor_set(x_616, 7, x_612); -lean_ctor_set(x_616, 8, x_613); -lean_ctor_set(x_616, 9, x_614); -lean_ctor_set(x_616, 10, x_615); -x_617 = 1; -x_618 = lean_box(0); +x_616 = lean_ctor_get(x_16, 8); +lean_inc(x_616); +x_617 = lean_ctor_get(x_16, 9); +lean_inc(x_617); +x_618 = lean_ctor_get(x_16, 10); +lean_inc(x_618); +x_619 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_619, 0, x_609); +lean_ctor_set(x_619, 1, x_610); +lean_ctor_set(x_619, 2, x_611); +lean_ctor_set(x_619, 3, x_612); +lean_ctor_set(x_619, 4, x_613); +lean_ctor_set(x_619, 5, x_608); +lean_ctor_set(x_619, 6, x_614); +lean_ctor_set(x_619, 7, x_615); +lean_ctor_set(x_619, 8, x_616); +lean_ctor_set(x_619, 9, x_617); +lean_ctor_set(x_619, 10, x_618); +x_620 = 1; +x_621 = lean_box(0); lean_inc(x_14); -x_619 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_603, x_617, x_618, x_14, x_15, x_616, x_17, x_18); -lean_dec(x_616); -x_620 = lean_ctor_get(x_619, 0); -lean_inc(x_620); -x_621 = lean_ctor_get(x_619, 1); -lean_inc(x_621); +x_622 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_606, x_620, x_621, x_14, x_15, x_619, x_17, x_18); lean_dec(x_619); -lean_inc(x_620); -x_622 = l_Lean_Expr_mvarId_x21(x_620); -x_623 = lean_array_push(x_9, x_622); -x_624 = lean_ctor_get(x_14, 1); +x_623 = lean_ctor_get(x_622, 0); +lean_inc(x_623); +x_624 = lean_ctor_get(x_622, 1); lean_inc(x_624); +lean_dec(x_622); +lean_inc(x_623); +x_625 = l_Lean_Expr_mvarId_x21(x_623); +x_626 = lean_array_push(x_9, x_625); +x_627 = lean_ctor_get(x_14, 1); +lean_inc(x_627); lean_inc(x_3); -x_625 = l_Lean_Name_append(x_4, x_3); +x_628 = l_Lean_Name_append(x_4, x_3); lean_dec(x_4); -lean_inc(x_620); -x_626 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_626, 0, x_625); -lean_ctor_set(x_626, 1, x_3); -lean_ctor_set(x_626, 2, x_624); -lean_ctor_set(x_626, 3, x_620); -lean_ctor_set(x_626, 4, x_5); -x_627 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_627, 0, x_626); -x_628 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; -x_629 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_629, 0, x_627); -lean_ctor_set(x_629, 1, x_628); -x_630 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_629, x_12, x_13, x_14, x_15, x_16, x_17, x_621); +lean_inc(x_623); +x_629 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_629, 0, x_628); +lean_ctor_set(x_629, 1, x_3); +lean_ctor_set(x_629, 2, x_627); +lean_ctor_set(x_629, 3, x_623); +lean_ctor_set(x_629, 4, x_5); +x_630 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_630, 0, x_629); +x_631 = l_List_foldlM___at___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabStruct___spec__3___lambda__1___closed__3; +x_632 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_632, 0, x_630); +lean_ctor_set(x_632, 1, x_631); +x_633 = l_Lean_Elab_pushInfoTree___at_Lean_Elab_Term_addDotCompletionInfo___spec__3(x_632, x_12, x_13, x_14, x_15, x_16, x_17, x_624); lean_dec(x_17); lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); lean_dec(x_12); -x_631 = lean_ctor_get(x_630, 1); -lean_inc(x_631); -if (lean_is_exclusive(x_630)) { - lean_ctor_release(x_630, 0); - lean_ctor_release(x_630, 1); - x_632 = x_630; +x_634 = lean_ctor_get(x_633, 1); +lean_inc(x_634); +if (lean_is_exclusive(x_633)) { + lean_ctor_release(x_633, 0); + lean_ctor_release(x_633, 1); + x_635 = x_633; } else { - lean_dec_ref(x_630); - x_632 = lean_box(0); -} -lean_inc(x_620); -x_633 = l_Lean_Expr_app___override(x_6, x_620); -x_634 = lean_expr_instantiate1(x_238, x_620); -lean_dec(x_238); -x_635 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_635, 0, x_620); -x_636 = lean_alloc_ctor(0, 4, 0); -lean_ctor_set(x_636, 0, x_602); -lean_ctor_set(x_636, 1, x_7); -lean_ctor_set(x_636, 2, x_19); -lean_ctor_set(x_636, 3, x_635); -x_637 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_637, 0, x_636); -lean_ctor_set(x_637, 1, x_8); -x_638 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_638, 0, x_637); -lean_ctor_set(x_638, 1, x_623); -x_639 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_639, 0, x_634); -lean_ctor_set(x_639, 1, x_638); -x_640 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_640, 0, x_633); -lean_ctor_set(x_640, 1, x_639); -if (lean_is_scalar(x_632)) { - x_641 = lean_alloc_ctor(0, 2, 0); -} else { - x_641 = x_632; + lean_dec_ref(x_633); + x_635 = lean_box(0); } +lean_inc(x_623); +x_636 = l_Lean_Expr_app___override(x_6, x_623); +x_637 = lean_expr_instantiate1(x_241, x_623); +lean_dec(x_241); +x_638 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_638, 0, x_623); +x_639 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_639, 0, x_605); +lean_ctor_set(x_639, 1, x_7); +lean_ctor_set(x_639, 2, x_19); +lean_ctor_set(x_639, 3, x_638); +x_640 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_640, 0, x_639); +lean_ctor_set(x_640, 1, x_8); +x_641 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_641, 0, x_640); -lean_ctor_set(x_641, 1, x_631); -return x_641; +lean_ctor_set(x_641, 1, x_626); +x_642 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_642, 0, x_637); +lean_ctor_set(x_642, 1, x_641); +x_643 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_643, 0, x_636); +lean_ctor_set(x_643, 1, x_642); +if (lean_is_scalar(x_635)) { + x_644 = lean_alloc_ctor(0, 2, 0); +} else { + x_644 = x_635; +} +lean_ctor_set(x_644, 0, x_643); +lean_ctor_set(x_644, 1, x_634); +return x_644; } } } @@ -18795,68 +18807,68 @@ return x_641; } else { -lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; +lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); -x_642 = lean_ctor_get(x_2, 0); -lean_inc(x_642); +x_645 = lean_ctor_get(x_2, 0); +lean_inc(x_645); lean_dec(x_2); -x_643 = l_Lean_indentExpr(x_1); -x_644 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__2; -x_645 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_645, 0, x_644); -lean_ctor_set(x_645, 1, x_643); -x_646 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; -x_647 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_647, 0, x_645); -lean_ctor_set(x_647, 1, x_646); -x_648 = lean_ctor_get(x_16, 5); -lean_inc(x_648); -x_649 = l_Lean_replaceRef(x_642, x_648); -lean_dec(x_648); -lean_dec(x_642); -x_650 = lean_ctor_get(x_16, 0); -lean_inc(x_650); -x_651 = lean_ctor_get(x_16, 1); +x_646 = l_Lean_indentExpr(x_1); +x_647 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_mkCtorHeaderAux___closed__2; +x_648 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_648, 0, x_647); +lean_ctor_set(x_648, 1, x_646); +x_649 = l___private_Lean_Elab_StructInst_0__Lean_Elab_Term_StructInst_elabModifyOp___lambda__2___closed__17; +x_650 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_650, 0, x_648); +lean_ctor_set(x_650, 1, x_649); +x_651 = lean_ctor_get(x_16, 5); lean_inc(x_651); -x_652 = lean_ctor_get(x_16, 2); -lean_inc(x_652); -x_653 = lean_ctor_get(x_16, 3); +x_652 = l_Lean_replaceRef(x_645, x_651); +lean_dec(x_651); +lean_dec(x_645); +x_653 = lean_ctor_get(x_16, 0); lean_inc(x_653); -x_654 = lean_ctor_get(x_16, 4); +x_654 = lean_ctor_get(x_16, 1); lean_inc(x_654); -x_655 = lean_ctor_get(x_16, 6); +x_655 = lean_ctor_get(x_16, 2); lean_inc(x_655); -x_656 = lean_ctor_get(x_16, 7); +x_656 = lean_ctor_get(x_16, 3); lean_inc(x_656); -x_657 = lean_ctor_get(x_16, 8); +x_657 = lean_ctor_get(x_16, 4); lean_inc(x_657); -x_658 = lean_ctor_get(x_16, 9); +x_658 = lean_ctor_get(x_16, 6); lean_inc(x_658); -x_659 = lean_ctor_get(x_16, 10); +x_659 = lean_ctor_get(x_16, 7); lean_inc(x_659); +x_660 = lean_ctor_get(x_16, 8); +lean_inc(x_660); +x_661 = lean_ctor_get(x_16, 9); +lean_inc(x_661); +x_662 = lean_ctor_get(x_16, 10); +lean_inc(x_662); lean_dec(x_16); -x_660 = lean_alloc_ctor(0, 11, 0); -lean_ctor_set(x_660, 0, x_650); -lean_ctor_set(x_660, 1, x_651); -lean_ctor_set(x_660, 2, x_652); -lean_ctor_set(x_660, 3, x_653); -lean_ctor_set(x_660, 4, x_654); -lean_ctor_set(x_660, 5, x_649); -lean_ctor_set(x_660, 6, x_655); -lean_ctor_set(x_660, 7, x_656); -lean_ctor_set(x_660, 8, x_657); -lean_ctor_set(x_660, 9, x_658); -lean_ctor_set(x_660, 10, x_659); -x_661 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_3, x_4, x_647, x_12, x_13, x_14, x_15, x_660, x_17, x_18); +x_663 = lean_alloc_ctor(0, 11, 0); +lean_ctor_set(x_663, 0, x_653); +lean_ctor_set(x_663, 1, x_654); +lean_ctor_set(x_663, 2, x_655); +lean_ctor_set(x_663, 3, x_656); +lean_ctor_set(x_663, 4, x_657); +lean_ctor_set(x_663, 5, x_652); +lean_ctor_set(x_663, 6, x_658); +lean_ctor_set(x_663, 7, x_659); +lean_ctor_set(x_663, 8, x_660); +lean_ctor_set(x_663, 9, x_661); +lean_ctor_set(x_663, 10, x_662); +x_664 = l_Lean_Elab_Term_StructInst_throwFailedToElabField___rarg(x_3, x_4, x_650, x_12, x_13, x_14, x_15, x_663, x_17, x_18); lean_dec(x_17); lean_dec(x_15); lean_dec(x_13); -return x_661; +return x_664; } } } diff --git a/stage0/stdlib/Lean/Elab/Structure.c b/stage0/stdlib/Lean/Elab/Structure.c index fd1f38f17d..19ec9d98b5 100644 --- a/stage0/stdlib/Lean/Elab/Structure.c +++ b/stage0/stdlib/Lean/Elab/Structure.c @@ -172,7 +172,7 @@ static lean_object* l_Lean_Elab_Command_checkValidFieldModifier___lambda__1___cl LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_elabStructureView___lambda__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_declRangeExt; lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Structure___hyg_3487____closed__3; LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__15(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__9(lean_object*); @@ -624,7 +624,7 @@ static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStr lean_object* l_Lean_Meta_mkProjection(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_withFields_go___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__2; static lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_copyNewFieldsFrom_copyFields_copy___rarg___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551_(lean_object*, lean_object*); @@ -7328,7 +7328,7 @@ lean_inc(x_52); x_53 = l_Lean_Elab_Term_declareTacticSyntax(x_52, x_7, x_8, x_9, x_10, x_11, x_12, x_13); if (lean_obj_tag(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_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_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; uint8_t x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); x_55 = lean_ctor_get(x_53, 1); @@ -7410,31 +7410,32 @@ lean_ctor_set(x_92, 0, x_80); lean_ctor_set(x_92, 1, x_90); lean_ctor_set(x_92, 2, x_89); lean_ctor_set(x_92, 3, x_91); -x_93 = l_Lean_mkIdentFrom(x_52, x_54); -x_94 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__16; -x_95 = lean_array_push(x_94, x_78); -x_96 = lean_array_push(x_95, x_93); +x_93 = 0; +x_94 = l_Lean_mkIdentFrom(x_52, x_54, x_93); +x_95 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__16; +x_96 = lean_array_push(x_95, x_78); +x_97 = lean_array_push(x_96, x_94); lean_inc(x_80); -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_80); -lean_ctor_set(x_97, 1, x_66); -lean_ctor_set(x_97, 2, x_96); -x_98 = lean_array_push(x_94, x_92); -x_99 = lean_array_push(x_98, x_97); -x_100 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__9; -x_101 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_101, 0, x_80); -lean_ctor_set(x_101, 1, x_100); -lean_ctor_set(x_101, 2, x_99); -lean_ctor_set(x_33, 0, x_101); -x_102 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__17; -lean_ctor_set(x_30, 0, x_102); -x_103 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_85); -return x_103; +x_98 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_98, 0, x_80); +lean_ctor_set(x_98, 1, x_66); +lean_ctor_set(x_98, 2, x_97); +x_99 = lean_array_push(x_95, x_92); +x_100 = lean_array_push(x_99, x_98); +x_101 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__9; +x_102 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_102, 0, x_80); +lean_ctor_set(x_102, 1, x_101); +lean_ctor_set(x_102, 2, x_100); +lean_ctor_set(x_33, 0, x_102); +x_103 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__17; +lean_ctor_set(x_30, 0, x_103); +x_104 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_85); +return x_104; } else { -uint8_t x_104; +uint8_t x_105; lean_dec(x_52); lean_free_object(x_33); lean_dec(x_50); @@ -7450,34 +7451,34 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_104 = !lean_is_exclusive(x_53); -if (x_104 == 0) +x_105 = !lean_is_exclusive(x_53); +if (x_105 == 0) { return x_53; } else { -lean_object* x_105; lean_object* x_106; lean_object* x_107; -x_105 = lean_ctor_get(x_53, 0); -x_106 = lean_ctor_get(x_53, 1); +lean_object* x_106; lean_object* x_107; lean_object* x_108; +x_106 = lean_ctor_get(x_53, 0); +x_107 = lean_ctor_get(x_53, 1); +lean_inc(x_107); lean_inc(x_106); -lean_inc(x_105); lean_dec(x_53); -x_107 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_107, 0, x_105); -lean_ctor_set(x_107, 1, x_106); -return x_107; +x_108 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_108, 0, x_106); +lean_ctor_set(x_108, 1, x_107); +return x_108; } } } else { -lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; -x_108 = lean_ctor_get(x_33, 0); -lean_inc(x_108); +lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; +x_109 = lean_ctor_get(x_33, 0); +lean_inc(x_109); lean_dec(x_33); -x_109 = lean_unsigned_to_nat(2u); -x_110 = l_Lean_Syntax_getArg(x_38, x_109); +x_110 = lean_unsigned_to_nat(2u); +x_111 = l_Lean_Syntax_getArg(x_38, x_110); lean_dec(x_38); lean_inc(x_12); lean_inc(x_11); @@ -7485,121 +7486,122 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_110); -x_111 = l_Lean_Elab_Term_declareTacticSyntax(x_110, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_111) == 0) +lean_inc(x_111); +x_112 = l_Lean_Elab_Term_declareTacticSyntax(x_111, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_112) == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; uint8_t x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; +x_113 = lean_ctor_get(x_112, 0); lean_inc(x_113); -lean_dec(x_111); +x_114 = lean_ctor_get(x_112, 1); +lean_inc(x_114); +lean_dec(x_112); lean_inc(x_11); -x_114 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_113); -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); +x_115 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_114); +x_116 = lean_ctor_get(x_115, 0); lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_st_ref_get(x_12, x_116); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -lean_dec(x_117); -x_119 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__3; -lean_inc(x_115); -x_120 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_120, 0, x_115); -lean_ctor_set(x_120, 1, x_119); -x_121 = l_Lean_Syntax_getArgs(x_32); +x_117 = lean_ctor_get(x_115, 1); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_st_ref_get(x_12, x_117); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +lean_dec(x_118); +x_120 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__3; +lean_inc(x_116); +x_121 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_121, 0, x_116); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Lean_Syntax_getArgs(x_32); lean_dec(x_32); -x_122 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; -x_123 = l_Array_append___rarg(x_122, x_121); -x_124 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; -lean_inc(x_115); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_115); -lean_ctor_set(x_125, 1, x_124); -lean_ctor_set(x_125, 2, x_123); -lean_inc(x_115); +x_123 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; +x_124 = l_Array_append___rarg(x_123, x_122); +x_125 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; +lean_inc(x_116); x_126 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_126, 0, x_115); -lean_ctor_set(x_126, 1, x_124); -lean_ctor_set(x_126, 2, x_122); -x_127 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__8; -lean_inc(x_115); -x_128 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_128, 0, x_115); -lean_ctor_set(x_128, 1, x_127); -x_129 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__7; -x_130 = lean_array_push(x_129, x_120); -x_131 = lean_array_push(x_130, x_125); +lean_ctor_set(x_126, 0, x_116); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_126, 2, x_124); +lean_inc(x_116); +x_127 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_127, 0, x_116); +lean_ctor_set(x_127, 1, x_125); +lean_ctor_set(x_127, 2, x_123); +x_128 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__8; +lean_inc(x_116); +x_129 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_129, 0, x_116); +lean_ctor_set(x_129, 1, x_128); +x_130 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__7; +x_131 = lean_array_push(x_130, x_121); x_132 = lean_array_push(x_131, x_126); -x_133 = lean_array_push(x_132, x_128); -x_134 = lean_array_push(x_133, x_108); -x_135 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__4; -x_136 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_136, 0, x_115); -lean_ctor_set(x_136, 1, x_135); -lean_ctor_set(x_136, 2, x_134); +x_133 = lean_array_push(x_132, x_127); +x_134 = lean_array_push(x_133, x_129); +x_135 = lean_array_push(x_134, x_109); +x_136 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__4; +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_116); +lean_ctor_set(x_137, 1, x_136); +lean_ctor_set(x_137, 2, x_135); lean_inc(x_11); -x_137 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_118); -x_138 = lean_ctor_get(x_137, 0); -lean_inc(x_138); -x_139 = lean_ctor_get(x_137, 1); +x_138 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_119); +x_139 = lean_ctor_get(x_138, 0); lean_inc(x_139); -lean_dec(x_137); -x_140 = lean_ctor_get(x_11, 10); +x_140 = lean_ctor_get(x_138, 1); lean_inc(x_140); -x_141 = lean_st_ref_get(x_12, x_139); -x_142 = lean_ctor_get(x_141, 0); -lean_inc(x_142); -x_143 = lean_ctor_get(x_141, 1); +lean_dec(x_138); +x_141 = lean_ctor_get(x_11, 10); +lean_inc(x_141); +x_142 = lean_st_ref_get(x_12, x_140); +x_143 = lean_ctor_get(x_142, 0); lean_inc(x_143); -lean_dec(x_141); -x_144 = lean_ctor_get(x_142, 0); +x_144 = lean_ctor_get(x_142, 1); lean_inc(x_144); lean_dec(x_142); -x_145 = lean_environment_main_module(x_144); -x_146 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__13; -x_147 = l_Lean_addMacroScope(x_145, x_146, x_140); -x_148 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__12; -x_149 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__15; -lean_inc(x_138); -x_150 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_150, 0, x_138); -lean_ctor_set(x_150, 1, x_148); -lean_ctor_set(x_150, 2, x_147); -lean_ctor_set(x_150, 3, x_149); -x_151 = l_Lean_mkIdentFrom(x_110, x_112); -x_152 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__16; -x_153 = lean_array_push(x_152, x_136); -x_154 = lean_array_push(x_153, x_151); -lean_inc(x_138); -x_155 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_155, 0, x_138); -lean_ctor_set(x_155, 1, x_124); -lean_ctor_set(x_155, 2, x_154); -x_156 = lean_array_push(x_152, x_150); -x_157 = lean_array_push(x_156, x_155); -x_158 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__9; -x_159 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_159, 0, x_138); -lean_ctor_set(x_159, 1, x_158); -lean_ctor_set(x_159, 2, x_157); -x_160 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__17; -lean_ctor_set(x_30, 1, x_160); -lean_ctor_set(x_30, 0, x_161); -x_162 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_143); -return x_162; +x_145 = lean_ctor_get(x_143, 0); +lean_inc(x_145); +lean_dec(x_143); +x_146 = lean_environment_main_module(x_145); +x_147 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__13; +x_148 = l_Lean_addMacroScope(x_146, x_147, x_141); +x_149 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__12; +x_150 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__15; +lean_inc(x_139); +x_151 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_151, 0, x_139); +lean_ctor_set(x_151, 1, x_149); +lean_ctor_set(x_151, 2, x_148); +lean_ctor_set(x_151, 3, x_150); +x_152 = 0; +x_153 = l_Lean_mkIdentFrom(x_111, x_113, x_152); +x_154 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__16; +x_155 = lean_array_push(x_154, x_137); +x_156 = lean_array_push(x_155, x_153); +lean_inc(x_139); +x_157 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_157, 0, x_139); +lean_ctor_set(x_157, 1, x_125); +lean_ctor_set(x_157, 2, x_156); +x_158 = lean_array_push(x_154, x_151); +x_159 = lean_array_push(x_158, x_157); +x_160 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__9; +x_161 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_161, 0, x_139); +lean_ctor_set(x_161, 1, x_160); +lean_ctor_set(x_161, 2, x_159); +x_162 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_162, 0, x_161); +x_163 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__17; +lean_ctor_set(x_30, 1, x_162); +lean_ctor_set(x_30, 0, x_163); +x_164 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_144); +return x_164; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -lean_dec(x_110); -lean_dec(x_108); +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +lean_dec(x_111); +lean_dec(x_109); lean_free_object(x_30); lean_dec(x_32); lean_dec(x_12); @@ -7612,26 +7614,26 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_163 = lean_ctor_get(x_111, 0); -lean_inc(x_163); -x_164 = lean_ctor_get(x_111, 1); -lean_inc(x_164); -if (lean_is_exclusive(x_111)) { - lean_ctor_release(x_111, 0); - lean_ctor_release(x_111, 1); - x_165 = x_111; +x_165 = lean_ctor_get(x_112, 0); +lean_inc(x_165); +x_166 = lean_ctor_get(x_112, 1); +lean_inc(x_166); +if (lean_is_exclusive(x_112)) { + lean_ctor_release(x_112, 0); + lean_ctor_release(x_112, 1); + x_167 = x_112; } else { - lean_dec_ref(x_111); - x_165 = lean_box(0); + lean_dec_ref(x_112); + x_167 = lean_box(0); } -if (lean_is_scalar(x_165)) { - x_166 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_167)) { + x_168 = lean_alloc_ctor(1, 2, 0); } else { - x_166 = x_165; + x_168 = x_167; } -lean_ctor_set(x_166, 0, x_163); -lean_ctor_set(x_166, 1, x_164); -return x_166; +lean_ctor_set(x_168, 0, x_165); +lean_ctor_set(x_168, 1, x_166); +return x_168; } } } @@ -7639,220 +7641,221 @@ return x_166; } else { -lean_object* x_167; +lean_object* x_169; lean_dec(x_35); -x_167 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_167; +x_169 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_30, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_169; } } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; uint8_t x_172; -x_168 = lean_ctor_get(x_30, 0); -x_169 = lean_ctor_get(x_30, 1); -lean_inc(x_169); -lean_inc(x_168); +lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; uint8_t x_174; +x_170 = lean_ctor_get(x_30, 0); +x_171 = lean_ctor_get(x_30, 1); +lean_inc(x_171); +lean_inc(x_170); lean_dec(x_30); -x_170 = lean_unsigned_to_nat(4u); -x_171 = l_Lean_Syntax_getArg(x_1, x_170); -x_172 = l_Lean_Syntax_isNone(x_171); -if (x_172 == 0) +x_172 = lean_unsigned_to_nat(4u); +x_173 = l_Lean_Syntax_getArg(x_1, x_172); +x_174 = l_Lean_Syntax_isNone(x_173); +if (x_174 == 0) { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; uint8_t x_177; -x_173 = lean_unsigned_to_nat(0u); -x_174 = l_Lean_Syntax_getArg(x_171, x_173); -lean_dec(x_171); -lean_inc(x_174); -x_175 = l_Lean_Syntax_getKind(x_174); -x_176 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2___closed__2; -x_177 = lean_name_eq(x_175, x_176); -lean_dec(x_175); -if (x_177 == 0) +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; uint8_t x_179; +x_175 = lean_unsigned_to_nat(0u); +x_176 = l_Lean_Syntax_getArg(x_173, x_175); +lean_dec(x_173); +lean_inc(x_176); +x_177 = l_Lean_Syntax_getKind(x_176); +x_178 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2___closed__2; +x_179 = lean_name_eq(x_177, x_178); +lean_dec(x_177); +if (x_179 == 0) { -lean_object* x_178; lean_object* x_179; -lean_dec(x_174); -x_178 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_178, 0, x_168); -lean_ctor_set(x_178, 1, x_169); -x_179 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_178, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_179; +lean_object* x_180; lean_object* x_181; +lean_dec(x_176); +x_180 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_180, 0, x_170); +lean_ctor_set(x_180, 1, x_171); +x_181 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_180, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_181; } else { -if (lean_obj_tag(x_169) == 0) +if (lean_obj_tag(x_171) == 0) { -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; -lean_dec(x_168); +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_dec(x_170); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_180 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__2; -x_181 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(x_174, x_180, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -x_182 = lean_ctor_get(x_181, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_181, 1); -lean_inc(x_183); -if (lean_is_exclusive(x_181)) { - lean_ctor_release(x_181, 0); - lean_ctor_release(x_181, 1); - x_184 = x_181; +x_182 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__2; +x_183 = l_Lean_throwErrorAt___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__2(x_176, x_182, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +x_184 = lean_ctor_get(x_183, 0); +lean_inc(x_184); +x_185 = lean_ctor_get(x_183, 1); +lean_inc(x_185); +if (lean_is_exclusive(x_183)) { + lean_ctor_release(x_183, 0); + lean_ctor_release(x_183, 1); + x_186 = x_183; } else { - lean_dec_ref(x_181); - x_184 = lean_box(0); + lean_dec_ref(x_183); + x_186 = lean_box(0); } -if (lean_is_scalar(x_184)) { - x_185 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_186)) { + x_187 = lean_alloc_ctor(1, 2, 0); } else { - x_185 = x_184; + x_187 = x_186; } -lean_ctor_set(x_185, 0, x_182); -lean_ctor_set(x_185, 1, x_183); -return x_185; +lean_ctor_set(x_187, 0, x_184); +lean_ctor_set(x_187, 1, x_185); +return x_187; } else { -lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_186 = lean_ctor_get(x_169, 0); -lean_inc(x_186); -if (lean_is_exclusive(x_169)) { - lean_ctor_release(x_169, 0); - x_187 = x_169; +lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_188 = lean_ctor_get(x_171, 0); +lean_inc(x_188); +if (lean_is_exclusive(x_171)) { + lean_ctor_release(x_171, 0); + x_189 = x_171; } else { - lean_dec_ref(x_169); - x_187 = lean_box(0); + lean_dec_ref(x_171); + x_189 = lean_box(0); } -x_188 = lean_unsigned_to_nat(2u); -x_189 = l_Lean_Syntax_getArg(x_174, x_188); -lean_dec(x_174); +x_190 = lean_unsigned_to_nat(2u); +x_191 = l_Lean_Syntax_getArg(x_176, x_190); +lean_dec(x_176); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -lean_inc(x_189); -x_190 = l_Lean_Elab_Term_declareTacticSyntax(x_189, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -if (lean_obj_tag(x_190) == 0) -{ -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; -x_191 = lean_ctor_get(x_190, 0); lean_inc(x_191); -x_192 = lean_ctor_get(x_190, 1); -lean_inc(x_192); -lean_dec(x_190); -lean_inc(x_11); -x_193 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_192); -x_194 = lean_ctor_get(x_193, 0); +x_192 = l_Lean_Elab_Term_declareTacticSyntax(x_191, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +if (lean_obj_tag(x_192) == 0) +{ +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; uint8_t x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +x_193 = lean_ctor_get(x_192, 0); +lean_inc(x_193); +x_194 = lean_ctor_get(x_192, 1); lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); -lean_dec(x_193); -x_196 = lean_st_ref_get(x_12, x_195); -x_197 = lean_ctor_get(x_196, 1); +lean_dec(x_192); +lean_inc(x_11); +x_195 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_194); +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_195, 1); lean_inc(x_197); -lean_dec(x_196); -x_198 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__3; -lean_inc(x_194); -x_199 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_199, 0, x_194); -lean_ctor_set(x_199, 1, x_198); -x_200 = l_Lean_Syntax_getArgs(x_168); -lean_dec(x_168); -x_201 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; -x_202 = l_Array_append___rarg(x_201, x_200); -x_203 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; -lean_inc(x_194); -x_204 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_204, 0, x_194); -lean_ctor_set(x_204, 1, x_203); -lean_ctor_set(x_204, 2, x_202); -lean_inc(x_194); -x_205 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_205, 0, x_194); -lean_ctor_set(x_205, 1, x_203); -lean_ctor_set(x_205, 2, x_201); -x_206 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__8; -lean_inc(x_194); -x_207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_207, 0, x_194); -lean_ctor_set(x_207, 1, x_206); -x_208 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__7; -x_209 = lean_array_push(x_208, x_199); -x_210 = lean_array_push(x_209, x_204); -x_211 = lean_array_push(x_210, x_205); -x_212 = lean_array_push(x_211, x_207); -x_213 = lean_array_push(x_212, x_186); -x_214 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__4; -x_215 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_215, 0, x_194); -lean_ctor_set(x_215, 1, x_214); -lean_ctor_set(x_215, 2, x_213); +lean_dec(x_195); +x_198 = lean_st_ref_get(x_12, x_197); +x_199 = lean_ctor_get(x_198, 1); +lean_inc(x_199); +lean_dec(x_198); +x_200 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__3; +lean_inc(x_196); +x_201 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_201, 0, x_196); +lean_ctor_set(x_201, 1, x_200); +x_202 = l_Lean_Syntax_getArgs(x_170); +lean_dec(x_170); +x_203 = l_Lean_Elab_elabAttrs___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandCtor___spec__3___closed__1; +x_204 = l_Array_append___rarg(x_203, x_202); +x_205 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; +lean_inc(x_196); +x_206 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_206, 0, x_196); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_206, 2, x_204); +lean_inc(x_196); +x_207 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_207, 0, x_196); +lean_ctor_set(x_207, 1, x_205); +lean_ctor_set(x_207, 2, x_203); +x_208 = l___private_Lean_Elab_Structure_0__Lean_Elab_Command_reprStructFieldInfo____x40_Lean_Elab_Structure___hyg_551____closed__8; +lean_inc(x_196); +x_209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_209, 0, x_196); +lean_ctor_set(x_209, 1, x_208); +x_210 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__7; +x_211 = lean_array_push(x_210, x_201); +x_212 = lean_array_push(x_211, x_206); +x_213 = lean_array_push(x_212, x_207); +x_214 = lean_array_push(x_213, x_209); +x_215 = lean_array_push(x_214, x_188); +x_216 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__4; +x_217 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_217, 0, x_196); +lean_ctor_set(x_217, 1, x_216); +lean_ctor_set(x_217, 2, x_215); lean_inc(x_11); -x_216 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_197); -x_217 = lean_ctor_get(x_216, 0); -lean_inc(x_217); -x_218 = lean_ctor_get(x_216, 1); -lean_inc(x_218); -lean_dec(x_216); -x_219 = lean_ctor_get(x_11, 10); +x_218 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(x_11, x_12, x_199); +x_219 = lean_ctor_get(x_218, 0); lean_inc(x_219); -x_220 = lean_st_ref_get(x_12, x_218); -x_221 = lean_ctor_get(x_220, 0); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_ctor_get(x_11, 10); lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); -lean_inc(x_222); -lean_dec(x_220); -x_223 = lean_ctor_get(x_221, 0); +x_222 = lean_st_ref_get(x_12, x_220); +x_223 = lean_ctor_get(x_222, 0); lean_inc(x_223); -lean_dec(x_221); -x_224 = lean_environment_main_module(x_223); -x_225 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__13; -x_226 = l_Lean_addMacroScope(x_224, x_225, x_219); -x_227 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__12; -x_228 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__15; -lean_inc(x_217); -x_229 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_229, 0, x_217); -lean_ctor_set(x_229, 1, x_227); -lean_ctor_set(x_229, 2, x_226); -lean_ctor_set(x_229, 3, x_228); -x_230 = l_Lean_mkIdentFrom(x_189, x_191); -x_231 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__16; -x_232 = lean_array_push(x_231, x_215); -x_233 = lean_array_push(x_232, x_230); -lean_inc(x_217); -x_234 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_234, 0, x_217); -lean_ctor_set(x_234, 1, x_203); -lean_ctor_set(x_234, 2, x_233); -x_235 = lean_array_push(x_231, x_229); -x_236 = lean_array_push(x_235, x_234); -x_237 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__9; -x_238 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_238, 0, x_217); -lean_ctor_set(x_238, 1, x_237); -lean_ctor_set(x_238, 2, x_236); -if (lean_is_scalar(x_187)) { - x_239 = lean_alloc_ctor(1, 1, 0); +x_224 = lean_ctor_get(x_222, 1); +lean_inc(x_224); +lean_dec(x_222); +x_225 = lean_ctor_get(x_223, 0); +lean_inc(x_225); +lean_dec(x_223); +x_226 = lean_environment_main_module(x_225); +x_227 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__13; +x_228 = l_Lean_addMacroScope(x_226, x_227, x_221); +x_229 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__12; +x_230 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__15; +lean_inc(x_219); +x_231 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_231, 0, x_219); +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 = 0; +x_233 = l_Lean_mkIdentFrom(x_191, x_193, x_232); +x_234 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__16; +x_235 = lean_array_push(x_234, x_217); +x_236 = lean_array_push(x_235, x_233); +lean_inc(x_219); +x_237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_237, 0, x_219); +lean_ctor_set(x_237, 1, x_205); +lean_ctor_set(x_237, 2, x_236); +x_238 = lean_array_push(x_234, x_231); +x_239 = lean_array_push(x_238, x_237); +x_240 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__9; +x_241 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_241, 0, x_219); +lean_ctor_set(x_241, 1, x_240); +lean_ctor_set(x_241, 2, x_239); +if (lean_is_scalar(x_189)) { + x_242 = lean_alloc_ctor(1, 1, 0); } else { - x_239 = x_187; + x_242 = x_189; } -lean_ctor_set(x_239, 0, x_238); -x_240 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__17; -x_241 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_241, 0, x_240); -lean_ctor_set(x_241, 1, x_239); -x_242 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_241, x_7, x_8, x_9, x_10, x_11, x_12, x_222); -return x_242; +lean_ctor_set(x_242, 0, x_241); +x_243 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__17; +x_244 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_244, 0, x_243); +lean_ctor_set(x_244, 1, x_242); +x_245 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_244, x_7, x_8, x_9, x_10, x_11, x_12, x_224); +return x_245; } else { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; +lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; +lean_dec(x_191); lean_dec(x_189); -lean_dec(x_187); -lean_dec(x_186); -lean_dec(x_168); +lean_dec(x_188); +lean_dec(x_170); lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); @@ -7863,39 +7866,39 @@ lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_243 = lean_ctor_get(x_190, 0); -lean_inc(x_243); -x_244 = lean_ctor_get(x_190, 1); -lean_inc(x_244); -if (lean_is_exclusive(x_190)) { - lean_ctor_release(x_190, 0); - lean_ctor_release(x_190, 1); - x_245 = x_190; +x_246 = lean_ctor_get(x_192, 0); +lean_inc(x_246); +x_247 = lean_ctor_get(x_192, 1); +lean_inc(x_247); +if (lean_is_exclusive(x_192)) { + lean_ctor_release(x_192, 0); + lean_ctor_release(x_192, 1); + x_248 = x_192; } else { - lean_dec_ref(x_190); - x_245 = lean_box(0); + lean_dec_ref(x_192); + x_248 = lean_box(0); } -if (lean_is_scalar(x_245)) { - x_246 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_248)) { + x_249 = lean_alloc_ctor(1, 2, 0); } else { - x_246 = x_245; + x_249 = x_248; } -lean_ctor_set(x_246, 0, x_243); -lean_ctor_set(x_246, 1, x_244); -return x_246; +lean_ctor_set(x_249, 0, x_246); +lean_ctor_set(x_249, 1, x_247); +return x_249; } } } } else { -lean_object* x_247; lean_object* x_248; -lean_dec(x_171); -x_247 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_247, 0, x_168); -lean_ctor_set(x_247, 1, x_169); -x_248 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_247, x_7, x_8, x_9, x_10, x_11, x_12, x_13); -return x_248; +lean_object* x_250; lean_object* x_251; +lean_dec(x_173); +x_250 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_250, 0, x_170); +lean_ctor_set(x_250, 1, x_171); +x_251 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__2(x_1, x_2, x_3, x_4, x_5, x_250, x_7, x_8, x_9, x_10, x_11, x_12, x_13); +return x_251; } } } @@ -8464,44 +8467,45 @@ return x_42; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 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_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; x_43 = lean_unsigned_to_nat(0u); x_44 = l_Lean_Syntax_getArg(x_15, x_43); x_45 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__3; +x_46 = 0; lean_inc(x_15); -x_46 = l_Lean_mkAtomFrom(x_15, x_45); -x_47 = lean_unsigned_to_nat(1u); -x_48 = l_Lean_Syntax_getArg(x_15, x_47); -x_49 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__4; -x_50 = lean_array_push(x_49, x_48); -x_51 = lean_box(2); -x_52 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_50); -x_54 = lean_unsigned_to_nat(2u); -x_55 = l_Lean_Syntax_getArg(x_15, x_54); -x_56 = lean_unsigned_to_nat(3u); -x_57 = l_Lean_Syntax_getArg(x_15, x_56); -x_58 = lean_unsigned_to_nat(4u); -x_59 = l_Lean_Syntax_getArg(x_15, x_58); -x_60 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__5; -x_61 = l_Lean_mkAtomFrom(x_15, x_60); -x_62 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__6; -x_63 = lean_array_push(x_62, x_44); -x_64 = lean_array_push(x_63, x_46); -x_65 = lean_array_push(x_64, x_53); -x_66 = lean_array_push(x_65, x_55); -x_67 = lean_array_push(x_66, x_57); -x_68 = lean_array_push(x_67, x_59); -x_69 = lean_array_push(x_68, x_61); -x_70 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6___closed__2; -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_51); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_69); -x_72 = lean_box(0); +x_47 = l_Lean_mkAtomFrom(x_15, x_45, x_46); +x_48 = lean_unsigned_to_nat(1u); +x_49 = l_Lean_Syntax_getArg(x_15, x_48); +x_50 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__4; +x_51 = lean_array_push(x_50, x_49); +x_52 = lean_box(2); +x_53 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; +x_54 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_51); +x_55 = lean_unsigned_to_nat(2u); +x_56 = l_Lean_Syntax_getArg(x_15, x_55); +x_57 = lean_unsigned_to_nat(3u); +x_58 = l_Lean_Syntax_getArg(x_15, x_57); +x_59 = lean_unsigned_to_nat(4u); +x_60 = l_Lean_Syntax_getArg(x_15, x_59); +x_61 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__5; +x_62 = l_Lean_mkAtomFrom(x_15, x_61, x_46); +x_63 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__6; +x_64 = lean_array_push(x_63, x_44); +x_65 = lean_array_push(x_64, x_47); +x_66 = lean_array_push(x_65, x_54); +x_67 = lean_array_push(x_66, x_56); +x_68 = lean_array_push(x_67, x_58); +x_69 = lean_array_push(x_68, x_60); +x_70 = lean_array_push(x_69, x_62); +x_71 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6___closed__2; +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_52); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_70); +x_73 = lean_box(0); lean_inc(x_12); lean_inc(x_10); lean_inc(x_9); @@ -8509,25 +8513,25 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); lean_inc(x_2); -x_73 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6(x_6, x_2, x_1, x_71, x_72, x_7, x_8, x_9, x_10, x_31, x_12, x_13); -if (lean_obj_tag(x_73) == 0) +x_74 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6(x_6, x_2, x_1, x_72, x_73, x_7, x_8, x_9, x_10, x_31, x_12, x_13); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_74; lean_object* x_75; size_t x_76; size_t x_77; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; size_t x_77; size_t x_78; +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = 1; -x_77 = lean_usize_add(x_4, x_76); -x_4 = x_77; -x_6 = x_74; -x_13 = x_75; +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = 1; +x_78 = lean_usize_add(x_4, x_77); +x_4 = x_78; +x_6 = x_75; +x_13 = x_76; goto _start; } else { -uint8_t x_79; +uint8_t x_80; lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -8535,30 +8539,30 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_79 = !lean_is_exclusive(x_73); -if (x_79 == 0) +x_80 = !lean_is_exclusive(x_74); +if (x_80 == 0) { -return x_73; +return x_74; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_73, 0); -x_81 = lean_ctor_get(x_73, 1); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_74, 0); +x_82 = lean_ctor_get(x_74, 1); +lean_inc(x_82); lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_73); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_dec(x_74); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } } else { -lean_object* x_83; +lean_object* x_84; lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -8566,10 +8570,10 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_6); -lean_ctor_set(x_83, 1, x_13); -return x_83; +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_6); +lean_ctor_set(x_84, 1, x_13); +return x_84; } } } @@ -8680,44 +8684,45 @@ return x_42; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; 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_43; lean_object* x_44; lean_object* x_45; uint8_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; x_43 = lean_unsigned_to_nat(0u); x_44 = l_Lean_Syntax_getArg(x_15, x_43); x_45 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__3; +x_46 = 0; lean_inc(x_15); -x_46 = l_Lean_mkAtomFrom(x_15, x_45); -x_47 = lean_unsigned_to_nat(1u); -x_48 = l_Lean_Syntax_getArg(x_15, x_47); -x_49 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__4; -x_50 = lean_array_push(x_49, x_48); -x_51 = lean_box(2); -x_52 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; -x_53 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -lean_ctor_set(x_53, 2, x_50); -x_54 = lean_unsigned_to_nat(2u); -x_55 = l_Lean_Syntax_getArg(x_15, x_54); -x_56 = lean_unsigned_to_nat(3u); -x_57 = l_Lean_Syntax_getArg(x_15, x_56); -x_58 = lean_unsigned_to_nat(4u); -x_59 = l_Lean_Syntax_getArg(x_15, x_58); -x_60 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__5; -x_61 = l_Lean_mkAtomFrom(x_15, x_60); -x_62 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__6; -x_63 = lean_array_push(x_62, x_44); -x_64 = lean_array_push(x_63, x_46); -x_65 = lean_array_push(x_64, x_53); -x_66 = lean_array_push(x_65, x_55); -x_67 = lean_array_push(x_66, x_57); -x_68 = lean_array_push(x_67, x_59); -x_69 = lean_array_push(x_68, x_61); -x_70 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6___closed__2; -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_51); -lean_ctor_set(x_71, 1, x_70); -lean_ctor_set(x_71, 2, x_69); -x_72 = lean_box(0); +x_47 = l_Lean_mkAtomFrom(x_15, x_45, x_46); +x_48 = lean_unsigned_to_nat(1u); +x_49 = l_Lean_Syntax_getArg(x_15, x_48); +x_50 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__4; +x_51 = lean_array_push(x_50, x_49); +x_52 = lean_box(2); +x_53 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__3___closed__6; +x_54 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +lean_ctor_set(x_54, 2, x_51); +x_55 = lean_unsigned_to_nat(2u); +x_56 = l_Lean_Syntax_getArg(x_15, x_55); +x_57 = lean_unsigned_to_nat(3u); +x_58 = l_Lean_Syntax_getArg(x_15, x_57); +x_59 = lean_unsigned_to_nat(4u); +x_60 = l_Lean_Syntax_getArg(x_15, x_59); +x_61 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__5; +x_62 = l_Lean_mkAtomFrom(x_15, x_61, x_46); +x_63 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___closed__6; +x_64 = lean_array_push(x_63, x_44); +x_65 = lean_array_push(x_64, x_47); +x_66 = lean_array_push(x_65, x_54); +x_67 = lean_array_push(x_66, x_56); +x_68 = lean_array_push(x_67, x_58); +x_69 = lean_array_push(x_68, x_60); +x_70 = lean_array_push(x_69, x_62); +x_71 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6___closed__2; +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_52); +lean_ctor_set(x_72, 1, x_71); +lean_ctor_set(x_72, 2, x_70); +x_73 = lean_box(0); lean_inc(x_12); lean_inc(x_10); lean_inc(x_9); @@ -8725,25 +8730,25 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_1); lean_inc(x_2); -x_73 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6(x_6, x_2, x_1, x_71, x_72, x_7, x_8, x_9, x_10, x_31, x_12, x_13); -if (lean_obj_tag(x_73) == 0) +x_74 = l_Array_foldlMUnsafe_fold___at___private_Lean_Elab_Structure_0__Lean_Elab_Command_expandFields___spec__5___lambda__6(x_6, x_2, x_1, x_72, x_73, x_7, x_8, x_9, x_10, x_31, x_12, x_13); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_74; lean_object* x_75; size_t x_76; size_t x_77; -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +lean_object* x_75; lean_object* x_76; size_t x_77; size_t x_78; +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_76 = 1; -x_77 = lean_usize_add(x_4, x_76); -x_4 = x_77; -x_6 = x_74; -x_13 = x_75; +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); +x_77 = 1; +x_78 = lean_usize_add(x_4, x_77); +x_4 = x_78; +x_6 = x_75; +x_13 = x_76; goto _start; } else { -uint8_t x_79; +uint8_t x_80; lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -8751,30 +8756,30 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_79 = !lean_is_exclusive(x_73); -if (x_79 == 0) +x_80 = !lean_is_exclusive(x_74); +if (x_80 == 0) { -return x_73; +return x_74; } else { -lean_object* x_80; lean_object* x_81; lean_object* x_82; -x_80 = lean_ctor_get(x_73, 0); -x_81 = lean_ctor_get(x_73, 1); +lean_object* x_81; lean_object* x_82; lean_object* x_83; +x_81 = lean_ctor_get(x_74, 0); +x_82 = lean_ctor_get(x_74, 1); +lean_inc(x_82); lean_inc(x_81); -lean_inc(x_80); -lean_dec(x_73); -x_82 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_82, 0, x_80); -lean_ctor_set(x_82, 1, x_81); -return x_82; +lean_dec(x_74); +x_83 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_83, 0, x_81); +lean_ctor_set(x_83, 1, x_82); +return x_83; } } } } else { -lean_object* x_83; +lean_object* x_84; lean_dec(x_12); lean_dec(x_10); lean_dec(x_9); @@ -8782,10 +8787,10 @@ lean_dec(x_8); lean_dec(x_7); lean_dec(x_2); lean_dec(x_1); -x_83 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_83, 0, x_6); -lean_ctor_set(x_83, 1, x_13); -return x_83; +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_6); +lean_ctor_set(x_84, 1, x_13); +return x_84; } } } diff --git a/stage0/stdlib/Lean/Elab/Syntax.c b/stage0/stdlib/Lean/Elab/Syntax.c index 35e1d2cca0..e5599219a2 100644 --- a/stage0/stdlib/Lean/Elab/Syntax.c +++ b/stage0/stdlib/Lean/Elab/Syntax.c @@ -18,7 +18,7 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn lean_object* l_List_reverse___rarg(lean_object*); uint8_t l_Lean_Syntax_isQuot(lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__9; -lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__25; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__3___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__1___rarg(lean_object*); @@ -93,7 +93,7 @@ static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___lambda__1___clo static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__41; LEAN_EXPORT lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__23; static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__72; @@ -158,7 +158,7 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_toParserDescr_processAlias___spec__1(size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_toParserDescr_processAlias(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__15; static lean_object* l_Lean_Elab_Term_toParserDescr_processAtom___closed__2; @@ -359,7 +359,7 @@ static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyn lean_object* l_Lean_Unhygienic_run___rarg(lean_object*); lean_object* l_String_capitalize(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureUnaryOutput(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832_(lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_process___closed__13; static lean_object* l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__7; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___lambda__2___closed__2; @@ -483,6 +483,7 @@ static lean_object* l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_ LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSyntax___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_type(lean_object*); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832____closed__1; lean_object* l_Lean_addMacroScope(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processParserCategory___closed__2; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Elab_Command_expandNoKindMacroRulesAux___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*); @@ -504,11 +505,10 @@ lean_object* l_Lean_Macro_expandMacro_x3f(lean_object*, lean_object*, lean_objec static lean_object* l_Lean_Elab_pushInfoLeaf___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__13___closed__3; lean_object* l_Lean_Parser_ensureUnaryParserAlias(lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_push___rarg(lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830____closed__1; static lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy___lambda__1___closed__8; static lean_object* l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__43; static lean_object* l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__4; -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Command_elabSyntax___lambda__11(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Command_elabSyntax___lambda__4___closed__6; static lean_object* l_Lean_Elab_Command_elabSyntaxAbbrev___closed__1; @@ -600,7 +600,7 @@ uint8_t l___private_Lean_Util_Trace_0__Lean_checkTraceOption(lean_object*, lean_ uint8_t l_Lean_Parser_isValidSyntaxNodeKind(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__4; lean_object* l_Lean_quoteNameMk(lean_object*); -uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358_(uint8_t, uint8_t); +uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195_(uint8_t, uint8_t); static lean_object* l_Lean_Elab_Command_elabSyntax___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_checkLeftRec(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_toParserDescr_processAlias___closed__11; @@ -4524,15 +4524,16 @@ return x_9; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_toParserDescr_processNonReserved___spec__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { @@ -5398,7 +5399,7 @@ _start: lean_object* x_12; uint8_t x_64; uint8_t x_65; uint8_t x_66; x_64 = lean_ctor_get_uint8(x_3, sizeof(void*)*1 + 2); x_65 = 0; -x_66 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358_(x_64, x_65); +x_66 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195_(x_64, x_65); if (x_66 == 0) { uint8_t x_67; @@ -7687,11 +7688,12 @@ return x_2; static lean_object* _init_l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__11() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescr_processNonReserved___closed__27; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } static lean_object* _init_l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__12() { @@ -7715,11 +7717,12 @@ return x_3; static lean_object* _init_l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__14() { _start: { -lean_object* x_1; lean_object* x_2; lean_object* x_3; +lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; x_1 = lean_box(0); x_2 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__13; -x_3 = l_Lean_mkCIdentFrom(x_1, x_2); -return x_3; +x_3 = 0; +x_4 = l_Lean_mkCIdentFrom(x_1, x_2, x_3); +return x_4; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13) { @@ -12757,143 +12760,146 @@ uint8_t x_219; x_219 = !lean_is_exclusive(x_218); if (x_219 == 0) { -lean_object* x_220; lean_object* x_221; lean_object* x_222; +lean_object* x_220; uint8_t x_221; lean_object* x_222; lean_object* x_223; x_220 = lean_ctor_get(x_218, 0); lean_dec(x_220); -x_221 = l_Lean_mkIdentFrom(x_1, x_216); -x_222 = lean_unsigned_to_nat(1u); -lean_ctor_set(x_45, 1, x_222); -lean_ctor_set(x_45, 0, x_221); +x_221 = 0; +x_222 = l_Lean_mkIdentFrom(x_1, x_216, x_221); +x_223 = lean_unsigned_to_nat(1u); +lean_ctor_set(x_45, 1, x_223); +lean_ctor_set(x_45, 0, x_222); lean_ctor_set(x_218, 0, x_45); return x_218; } else { -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; -x_223 = lean_ctor_get(x_218, 1); -lean_inc(x_223); +lean_object* x_224; uint8_t x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; +x_224 = lean_ctor_get(x_218, 1); +lean_inc(x_224); lean_dec(x_218); -x_224 = l_Lean_mkIdentFrom(x_1, x_216); -x_225 = lean_unsigned_to_nat(1u); -lean_ctor_set(x_45, 1, x_225); -lean_ctor_set(x_45, 0, x_224); -x_226 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_226, 0, x_45); -lean_ctor_set(x_226, 1, x_223); -return x_226; +x_225 = 0; +x_226 = l_Lean_mkIdentFrom(x_1, x_216, x_225); +x_227 = lean_unsigned_to_nat(1u); +lean_ctor_set(x_45, 1, x_227); +lean_ctor_set(x_45, 0, x_226); +x_228 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_228, 0, x_45); +lean_ctor_set(x_228, 1, x_224); +return x_228; } } else { -uint8_t x_227; +uint8_t x_229; lean_free_object(x_45); lean_dec(x_216); lean_dec(x_1); -x_227 = !lean_is_exclusive(x_218); -if (x_227 == 0) +x_229 = !lean_is_exclusive(x_218); +if (x_229 == 0) { return x_218; } else { -lean_object* x_228; lean_object* x_229; lean_object* x_230; -x_228 = lean_ctor_get(x_218, 0); -x_229 = lean_ctor_get(x_218, 1); -lean_inc(x_229); -lean_inc(x_228); -lean_dec(x_218); -x_230 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_230, 0, x_228); -lean_ctor_set(x_230, 1, x_229); -return x_230; -} -} -} -else -{ -lean_object* x_231; lean_object* x_232; -x_231 = lean_ctor_get(x_45, 0); +lean_object* x_230; lean_object* x_231; lean_object* x_232; +x_230 = lean_ctor_get(x_218, 0); +x_231 = lean_ctor_get(x_218, 1); lean_inc(x_231); -lean_dec(x_45); -x_232 = l_Lean_Elab_Term_toParserDescr_ensureNoPrec(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_214); -if (lean_obj_tag(x_232) == 0) +lean_inc(x_230); +lean_dec(x_218); +x_232 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_232, 0, x_230); +lean_ctor_set(x_232, 1, x_231); +return x_232; +} +} +} +else { -lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; -x_233 = lean_ctor_get(x_232, 1); +lean_object* x_233; lean_object* x_234; +x_233 = lean_ctor_get(x_45, 0); lean_inc(x_233); -if (lean_is_exclusive(x_232)) { - lean_ctor_release(x_232, 0); - lean_ctor_release(x_232, 1); - x_234 = x_232; +lean_dec(x_45); +x_234 = l_Lean_Elab_Term_toParserDescr_ensureNoPrec(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_214); +if (lean_obj_tag(x_234) == 0) +{ +lean_object* x_235; lean_object* x_236; uint8_t x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; +x_235 = lean_ctor_get(x_234, 1); +lean_inc(x_235); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_236 = x_234; } else { - lean_dec_ref(x_232); - x_234 = lean_box(0); + lean_dec_ref(x_234); + x_236 = lean_box(0); } -x_235 = l_Lean_mkIdentFrom(x_1, x_231); -x_236 = lean_unsigned_to_nat(1u); -x_237 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_237, 0, x_235); -lean_ctor_set(x_237, 1, x_236); -if (lean_is_scalar(x_234)) { - x_238 = lean_alloc_ctor(0, 2, 0); +x_237 = 0; +x_238 = l_Lean_mkIdentFrom(x_1, x_233, x_237); +x_239 = lean_unsigned_to_nat(1u); +x_240 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_240, 0, x_238); +lean_ctor_set(x_240, 1, x_239); +if (lean_is_scalar(x_236)) { + x_241 = lean_alloc_ctor(0, 2, 0); } else { - x_238 = x_234; + x_241 = x_236; } -lean_ctor_set(x_238, 0, x_237); -lean_ctor_set(x_238, 1, x_233); -return x_238; +lean_ctor_set(x_241, 0, x_240); +lean_ctor_set(x_241, 1, x_235); +return x_241; } else { -lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; -lean_dec(x_231); +lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; +lean_dec(x_233); lean_dec(x_1); -x_239 = lean_ctor_get(x_232, 0); -lean_inc(x_239); -x_240 = lean_ctor_get(x_232, 1); -lean_inc(x_240); -if (lean_is_exclusive(x_232)) { - lean_ctor_release(x_232, 0); - lean_ctor_release(x_232, 1); - x_241 = x_232; +x_242 = lean_ctor_get(x_234, 0); +lean_inc(x_242); +x_243 = lean_ctor_get(x_234, 1); +lean_inc(x_243); +if (lean_is_exclusive(x_234)) { + lean_ctor_release(x_234, 0); + lean_ctor_release(x_234, 1); + x_244 = x_234; } else { - lean_dec_ref(x_232); - x_241 = lean_box(0); + lean_dec_ref(x_234); + x_244 = lean_box(0); } -if (lean_is_scalar(x_241)) { - x_242 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_244)) { + x_245 = lean_alloc_ctor(1, 2, 0); } else { - x_242 = x_241; + x_245 = x_244; } -lean_ctor_set(x_242, 0, x_239); -lean_ctor_set(x_242, 1, x_240); -return x_242; +lean_ctor_set(x_245, 0, x_242); +lean_ctor_set(x_245, 1, x_243); +return x_245; } } } else { -lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; +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_dec(x_213); lean_dec(x_45); lean_dec(x_1); -x_243 = lean_ctor_get(x_13, 1); -lean_inc(x_243); +x_246 = lean_ctor_get(x_13, 1); +lean_inc(x_246); lean_dec(x_13); -x_244 = lean_box(0); -x_245 = l_List_mapTRAux___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__17(x_14, x_244); -x_246 = l_List_mapTRAux___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__18(x_245, x_244); -x_247 = l_Lean_MessageData_ofList(x_246); -lean_dec(x_246); -x_248 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__14; -x_249 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_249, 0, x_248); -lean_ctor_set(x_249, 1, x_247); -x_250 = l_Lean_Elab_Term_toParserDescr_process___closed__17; -x_251 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_251, 0, x_249); -lean_ctor_set(x_251, 1, x_250); -x_252 = l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__7(x_251, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_243); +x_247 = lean_box(0); +x_248 = l_List_mapTRAux___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__17(x_14, x_247); +x_249 = l_List_mapTRAux___at_Lean_Elab_Term_toParserDescr_processNullaryOrCat___spec__18(x_248, x_247); +x_250 = l_Lean_MessageData_ofList(x_249); +lean_dec(x_249); +x_251 = l_Lean_Elab_Term_toParserDescr_processNullaryOrCat___closed__14; +x_252 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_252, 0, x_251); +lean_ctor_set(x_252, 1, x_250); +x_253 = l_Lean_Elab_Term_toParserDescr_process___closed__17; +x_254 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_254, 0, x_252); +lean_ctor_set(x_254, 1, x_253); +x_255 = l_Lean_throwError___at_Lean_Elab_Term_toParserDescr_process___spec__7(x_254, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_246); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); @@ -12902,7 +12908,7 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -return x_252; +return x_255; } } } @@ -13944,25 +13950,27 @@ x_4 = l_Lean_Elab_Command_getRef(x_1, x_2, x_3); x_5 = !lean_is_exclusive(x_4); if (x_5 == 0) { -lean_object* x_6; lean_object* x_7; +lean_object* x_6; uint8_t x_7; lean_object* x_8; x_6 = lean_ctor_get(x_4, 0); -x_7 = l_Lean_SourceInfo_fromRef(x_6); -lean_ctor_set(x_4, 0, x_7); +x_7 = 0; +x_8 = l_Lean_SourceInfo_fromRef(x_6, x_7); +lean_ctor_set(x_4, 0, x_8); return x_4; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_8 = lean_ctor_get(x_4, 0); -x_9 = lean_ctor_get(x_4, 1); +lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; +x_9 = lean_ctor_get(x_4, 0); +x_10 = lean_ctor_get(x_4, 1); +lean_inc(x_10); lean_inc(x_9); -lean_inc(x_8); lean_dec(x_4); -x_10 = l_Lean_SourceInfo_fromRef(x_8); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_9); -return x_11; +x_11 = 0; +x_12 = l_Lean_SourceInfo_fromRef(x_9, 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); +return x_13; } } } @@ -15704,68 +15712,68 @@ x_17 = l_Lean_Name_append(x_16, x_10); x_18 = lean_st_ref_get(x_3, x_4); if (lean_obj_tag(x_7) == 0) { -lean_object* x_180; -x_180 = lean_box(0); -x_19 = x_180; -goto block_179; +lean_object* x_181; +x_181 = lean_box(0); +x_19 = x_181; +goto block_180; } else { -uint8_t x_181; -x_181 = !lean_is_exclusive(x_7); -if (x_181 == 0) +uint8_t x_182; +x_182 = !lean_is_exclusive(x_7); +if (x_182 == 0) { x_19 = x_7; -goto block_179; +goto block_180; } else { -lean_object* x_182; lean_object* x_183; -x_182 = lean_ctor_get(x_7, 0); -lean_inc(x_182); +lean_object* x_183; lean_object* x_184; +x_183 = lean_ctor_get(x_7, 0); +lean_inc(x_183); lean_dec(x_7); -x_183 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_183, 0, x_182); -x_19 = x_183; -goto block_179; +x_184 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_184, 0, x_183); +x_19 = x_184; +goto block_180; } } -block_179: +block_180: { uint8_t x_20; if (x_13 == 0) { -lean_object* x_172; lean_object* x_173; lean_object* x_174; uint8_t x_175; -x_172 = l_Lean_Syntax_getArg(x_12, x_11); +lean_object* x_173; lean_object* x_174; lean_object* x_175; uint8_t x_176; +x_173 = l_Lean_Syntax_getArg(x_12, x_11); lean_dec(x_12); -x_173 = l_Lean_Syntax_getKind(x_172); -x_174 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__20; -x_175 = lean_name_eq(x_173, x_174); -lean_dec(x_173); -if (x_175 == 0) -{ -uint8_t x_176; -x_176 = 1; -x_20 = x_176; -goto block_171; -} -else +x_174 = l_Lean_Syntax_getKind(x_173); +x_175 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__20; +x_176 = lean_name_eq(x_174, x_175); +lean_dec(x_174); +if (x_176 == 0) { uint8_t x_177; -x_177 = 2; +x_177 = 1; x_20 = x_177; -goto block_171; -} +goto block_172; } else { uint8_t x_178; -lean_dec(x_12); -x_178 = 0; +x_178 = 2; x_20 = x_178; -goto block_171; +goto block_172; } -block_171: +} +else +{ +uint8_t x_179; +lean_dec(x_12); +x_179 = 0; +x_20 = x_179; +goto block_172; +} +block_172: { lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; x_21 = lean_ctor_get(x_18, 0); @@ -15781,7 +15789,7 @@ lean_inc(x_10); x_24 = l_Lean_Parser_registerParserCategory(x_23, x_15, x_10, x_20, x_17, x_22); if (lean_obj_tag(x_24) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; 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_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; uint8_t x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; 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_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); x_26 = lean_ctor_get(x_24, 1); @@ -15823,335 +15831,336 @@ lean_ctor_set(x_42, 0, x_30); lean_ctor_set(x_42, 1, x_41); x_43 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__2; x_44 = l_Lean_Name_append(x_43, x_17); -x_45 = l_Lean_mkIdentFrom(x_9, x_44); -x_46 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__31; -x_47 = lean_array_push(x_46, x_45); -x_48 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; -x_49 = lean_array_push(x_47, x_48); -x_50 = lean_box(2); -x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; -x_52 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_52, 0, x_50); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_49); -x_53 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +x_45 = 1; +x_46 = l_Lean_mkIdentFrom(x_9, x_44, x_45); +x_47 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__31; +x_48 = lean_array_push(x_47, x_46); +x_49 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__32; +x_50 = lean_array_push(x_48, x_49); +x_51 = lean_box(2); +x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__31; +x_53 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_50); +x_54 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; lean_inc(x_30); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_30); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_addMacroScope(x_36, x_16, x_33); -x_56 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; -x_57 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__9; +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_30); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_addMacroScope(x_36, x_16, x_33); +x_57 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__5; +x_58 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__9; lean_inc(x_30); -x_58 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_58, 0, x_30); -lean_ctor_set(x_58, 1, x_56); -lean_ctor_set(x_58, 2, x_55); -lean_ctor_set(x_58, 3, x_57); -x_59 = lean_array_push(x_46, x_54); -x_60 = lean_array_push(x_59, x_58); -x_61 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; +x_59 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_59, 0, x_30); +lean_ctor_set(x_59, 1, x_57); +lean_ctor_set(x_59, 2, x_56); +lean_ctor_set(x_59, 3, x_58); +x_60 = lean_array_push(x_47, x_55); +x_61 = lean_array_push(x_60, x_59); +x_62 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__36; lean_inc(x_30); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_30); -lean_ctor_set(x_62, 1, x_61); -lean_ctor_set(x_62, 2, x_60); -x_63 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_64 = lean_array_push(x_63, x_62); +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_30); +lean_ctor_set(x_63, 1, x_62); +lean_ctor_set(x_63, 2, x_61); +x_64 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_65 = lean_array_push(x_64, x_63); lean_inc(x_30); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_30); -lean_ctor_set(x_65, 1, x_38); -lean_ctor_set(x_65, 2, x_64); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_30); +lean_ctor_set(x_66, 1, x_38); +lean_ctor_set(x_66, 2, x_65); lean_inc(x_40); -x_66 = lean_array_push(x_46, x_40); -x_67 = lean_array_push(x_66, x_65); -x_68 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; +x_67 = lean_array_push(x_47, x_40); +x_68 = lean_array_push(x_67, x_66); +x_69 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__34; lean_inc(x_30); -x_69 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_69, 0, x_30); -lean_ctor_set(x_69, 1, x_68); -lean_ctor_set(x_69, 2, x_67); -x_70 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +x_70 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_70, 0, x_30); +lean_ctor_set(x_70, 1, x_69); +lean_ctor_set(x_70, 2, x_68); +x_71 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; lean_inc(x_30); -x_71 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_71, 0, x_30); -lean_ctor_set(x_71, 1, x_70); -x_72 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__12; +x_72 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_72, 0, x_30); +lean_ctor_set(x_72, 1, x_71); +x_73 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__12; lean_inc(x_30); -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_30); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__13; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_30); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__13; lean_inc(x_30); -x_75 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_75, 0, x_30); -lean_ctor_set(x_75, 1, x_74); -lean_inc(x_73); -x_76 = lean_array_push(x_46, x_73); -lean_inc(x_75); -x_77 = lean_array_push(x_76, x_75); -x_78 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__11; +x_76 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_76, 0, x_30); +lean_ctor_set(x_76, 1, x_75); +lean_inc(x_74); +x_77 = lean_array_push(x_47, x_74); +lean_inc(x_76); +x_78 = lean_array_push(x_77, x_76); +x_79 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__11; lean_inc(x_30); -x_79 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_79, 0, x_30); -lean_ctor_set(x_79, 1, x_78); -lean_ctor_set(x_79, 2, x_77); +x_80 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_80, 0, x_30); +lean_ctor_set(x_80, 1, x_79); +lean_ctor_set(x_80, 2, x_78); lean_inc(x_40); -x_80 = lean_array_push(x_63, x_40); -x_81 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__17; +x_81 = lean_array_push(x_64, x_40); +x_82 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__17; lean_inc(x_30); -x_82 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_82, 0, x_30); -lean_ctor_set(x_82, 1, x_81); -lean_ctor_set(x_82, 2, x_80); -x_83 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; -x_84 = lean_array_push(x_83, x_73); -lean_inc(x_40); -x_85 = lean_array_push(x_84, x_40); +x_83 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_83, 0, x_30); +lean_ctor_set(x_83, 1, x_82); +lean_ctor_set(x_83, 2, x_81); +x_84 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; +x_85 = lean_array_push(x_84, x_74); lean_inc(x_40); x_86 = lean_array_push(x_85, x_40); -x_87 = lean_array_push(x_86, x_82); lean_inc(x_40); -x_88 = lean_array_push(x_87, x_40); -x_89 = lean_array_push(x_88, x_75); -x_90 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__15; -lean_inc(x_30); -x_91 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_91, 0, x_30); -lean_ctor_set(x_91, 1, x_90); -lean_ctor_set(x_91, 2, x_89); -x_92 = lean_array_push(x_46, x_79); -x_93 = lean_array_push(x_92, x_91); -x_94 = l_Lean_Elab_Term_toParserDescr_process___closed__2; -lean_inc(x_30); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_30); -lean_ctor_set(x_95, 1, x_94); -lean_ctor_set(x_95, 2, x_93); -x_96 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__30; -x_97 = lean_array_push(x_96, x_71); -x_98 = lean_array_push(x_97, x_95); +x_87 = lean_array_push(x_86, x_40); +x_88 = lean_array_push(x_87, x_83); lean_inc(x_40); -x_99 = lean_array_push(x_98, x_40); -x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46; +x_89 = lean_array_push(x_88, x_40); +x_90 = lean_array_push(x_89, x_76); +x_91 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__15; lean_inc(x_30); -x_101 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_101, 0, x_30); -lean_ctor_set(x_101, 1, x_100); -lean_ctor_set(x_101, 2, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; -x_103 = lean_array_push(x_102, x_42); -x_104 = lean_array_push(x_103, x_52); -x_105 = lean_array_push(x_104, x_69); -x_106 = lean_array_push(x_105, x_101); +x_92 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_92, 0, x_30); +lean_ctor_set(x_92, 1, x_91); +lean_ctor_set(x_92, 2, x_90); +x_93 = lean_array_push(x_47, x_80); +x_94 = lean_array_push(x_93, x_92); +x_95 = l_Lean_Elab_Term_toParserDescr_process___closed__2; +lean_inc(x_30); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_30); +lean_ctor_set(x_96, 1, x_95); +lean_ctor_set(x_96, 2, x_94); +x_97 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__30; +x_98 = lean_array_push(x_97, x_72); +x_99 = lean_array_push(x_98, x_96); lean_inc(x_40); -x_107 = lean_array_push(x_106, x_40); +x_100 = lean_array_push(x_99, x_40); +x_101 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__46; +lean_inc(x_30); +x_102 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_102, 0, x_30); +lean_ctor_set(x_102, 1, x_101); +lean_ctor_set(x_102, 2, x_100); +x_103 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; +x_104 = lean_array_push(x_103, x_42); +x_105 = lean_array_push(x_104, x_53); +x_106 = lean_array_push(x_105, x_70); +x_107 = lean_array_push(x_106, x_102); lean_inc(x_40); x_108 = lean_array_push(x_107, x_40); lean_inc(x_40); x_109 = lean_array_push(x_108, x_40); -x_110 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; +lean_inc(x_40); +x_110 = lean_array_push(x_109, x_40); +x_111 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__29; lean_inc(x_30); -x_111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_111, 0, x_30); -lean_ctor_set(x_111, 1, x_110); -lean_ctor_set(x_111, 2, x_109); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_30); +lean_ctor_set(x_112, 1, x_111); +lean_ctor_set(x_112, 2, x_110); if (lean_obj_tag(x_19) == 0) { -lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; -x_112 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__18; +lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_113 = l_Lean_Elab_Command_elabDeclareSyntaxCat___closed__18; lean_inc(x_30); -x_113 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_113, 0, x_30); -lean_ctor_set(x_113, 1, x_38); -lean_ctor_set(x_113, 2, x_112); -x_114 = lean_array_push(x_83, x_113); -lean_inc(x_40); -x_115 = lean_array_push(x_114, x_40); +x_114 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_114, 0, x_30); +lean_ctor_set(x_114, 1, x_38); +lean_ctor_set(x_114, 2, x_113); +x_115 = lean_array_push(x_84, x_114); lean_inc(x_40); x_116 = lean_array_push(x_115, x_40); lean_inc(x_40); x_117 = lean_array_push(x_116, x_40); lean_inc(x_40); x_118 = lean_array_push(x_117, x_40); +lean_inc(x_40); x_119 = lean_array_push(x_118, x_40); -x_120 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; +x_120 = lean_array_push(x_119, x_40); +x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; lean_inc(x_30); -x_121 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_121, 0, x_30); -lean_ctor_set(x_121, 1, x_120); -lean_ctor_set(x_121, 2, x_119); -x_122 = lean_array_push(x_46, x_121); -x_123 = lean_array_push(x_122, x_111); -x_124 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_30); -lean_ctor_set(x_125, 1, x_124); -lean_ctor_set(x_125, 2, x_123); +x_122 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_122, 0, x_30); +lean_ctor_set(x_122, 1, x_121); +lean_ctor_set(x_122, 2, x_120); +x_123 = lean_array_push(x_47, x_122); +x_124 = lean_array_push(x_123, x_112); +x_125 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_30); +lean_ctor_set(x_126, 1, x_125); +lean_ctor_set(x_126, 2, x_124); lean_inc(x_3); lean_inc(x_2); -x_126 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(x_10, x_2, x_3, x_37); -if (lean_obj_tag(x_126) == 0) +x_127 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(x_10, x_2, x_3, x_37); +if (lean_obj_tag(x_127) == 0) { -lean_object* x_127; lean_object* x_128; -x_127 = lean_ctor_get(x_126, 1); -lean_inc(x_127); -lean_dec(x_126); -x_128 = l_Lean_Elab_Command_elabCommand(x_125, x_2, x_3, x_127); -return x_128; +lean_object* x_128; lean_object* x_129; +x_128 = lean_ctor_get(x_127, 1); +lean_inc(x_128); +lean_dec(x_127); +x_129 = l_Lean_Elab_Command_elabCommand(x_126, x_2, x_3, x_128); +return x_129; } else { -uint8_t x_129; -lean_dec(x_125); +uint8_t x_130; +lean_dec(x_126); lean_dec(x_3); lean_dec(x_2); -x_129 = !lean_is_exclusive(x_126); -if (x_129 == 0) +x_130 = !lean_is_exclusive(x_127); +if (x_130 == 0) { -return x_126; +return x_127; } else { -lean_object* x_130; lean_object* x_131; lean_object* x_132; -x_130 = lean_ctor_get(x_126, 0); -x_131 = lean_ctor_get(x_126, 1); +lean_object* x_131; lean_object* x_132; lean_object* x_133; +x_131 = lean_ctor_get(x_127, 0); +x_132 = lean_ctor_get(x_127, 1); +lean_inc(x_132); lean_inc(x_131); -lean_inc(x_130); -lean_dec(x_126); -x_132 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_132, 0, x_130); -lean_ctor_set(x_132, 1, x_131); -return x_132; +lean_dec(x_127); +x_133 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_133, 0, x_131); +lean_ctor_set(x_133, 1, x_132); +return x_133; } } } else { -lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_133 = lean_ctor_get(x_19, 0); -lean_inc(x_133); +lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_134 = lean_ctor_get(x_19, 0); +lean_inc(x_134); lean_dec(x_19); -x_134 = lean_array_push(x_63, x_133); -x_135 = l_Array_append___rarg(x_39, x_134); +x_135 = lean_array_push(x_64, x_134); +x_136 = l_Array_append___rarg(x_39, x_135); lean_inc(x_30); -x_136 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_136, 0, x_30); -lean_ctor_set(x_136, 1, x_38); -lean_ctor_set(x_136, 2, x_135); -x_137 = lean_array_push(x_83, x_136); -lean_inc(x_40); -x_138 = lean_array_push(x_137, x_40); +x_137 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_137, 0, x_30); +lean_ctor_set(x_137, 1, x_38); +lean_ctor_set(x_137, 2, x_136); +x_138 = lean_array_push(x_84, x_137); lean_inc(x_40); x_139 = lean_array_push(x_138, x_40); lean_inc(x_40); x_140 = lean_array_push(x_139, x_40); lean_inc(x_40); x_141 = lean_array_push(x_140, x_40); +lean_inc(x_40); x_142 = lean_array_push(x_141, x_40); -x_143 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; +x_143 = lean_array_push(x_142, x_40); +x_144 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__10; lean_inc(x_30); -x_144 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_144, 0, x_30); -lean_ctor_set(x_144, 1, x_143); -lean_ctor_set(x_144, 2, x_142); -x_145 = lean_array_push(x_46, x_144); -x_146 = lean_array_push(x_145, x_111); -x_147 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; -x_148 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_148, 0, x_30); -lean_ctor_set(x_148, 1, x_147); -lean_ctor_set(x_148, 2, x_146); +x_145 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_145, 0, x_30); +lean_ctor_set(x_145, 1, x_144); +lean_ctor_set(x_145, 2, x_143); +x_146 = lean_array_push(x_47, x_145); +x_147 = lean_array_push(x_146, x_112); +x_148 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__8; +x_149 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_149, 0, x_30); +lean_ctor_set(x_149, 1, x_148); +lean_ctor_set(x_149, 2, x_147); lean_inc(x_3); lean_inc(x_2); -x_149 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(x_10, x_2, x_3, x_37); -if (lean_obj_tag(x_149) == 0) +x_150 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser(x_10, x_2, x_3, x_37); +if (lean_obj_tag(x_150) == 0) { -lean_object* x_150; lean_object* x_151; -x_150 = lean_ctor_get(x_149, 1); -lean_inc(x_150); -lean_dec(x_149); -x_151 = l_Lean_Elab_Command_elabCommand(x_148, x_2, x_3, x_150); -return x_151; +lean_object* x_151; lean_object* x_152; +x_151 = lean_ctor_get(x_150, 1); +lean_inc(x_151); +lean_dec(x_150); +x_152 = l_Lean_Elab_Command_elabCommand(x_149, x_2, x_3, x_151); +return x_152; } else { -uint8_t x_152; -lean_dec(x_148); +uint8_t x_153; +lean_dec(x_149); lean_dec(x_3); lean_dec(x_2); -x_152 = !lean_is_exclusive(x_149); -if (x_152 == 0) +x_153 = !lean_is_exclusive(x_150); +if (x_153 == 0) { -return x_149; +return x_150; } else { -lean_object* x_153; lean_object* x_154; lean_object* x_155; -x_153 = lean_ctor_get(x_149, 0); -x_154 = lean_ctor_get(x_149, 1); +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_150, 0); +x_155 = lean_ctor_get(x_150, 1); +lean_inc(x_155); lean_inc(x_154); -lean_inc(x_153); -lean_dec(x_149); -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; +lean_dec(x_150); +x_156 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_156, 0, x_154); +lean_ctor_set(x_156, 1, x_155); +return x_156; } } } } else { -uint8_t x_156; +uint8_t x_157; lean_dec(x_19); lean_dec(x_17); lean_dec(x_10); lean_dec(x_9); lean_dec(x_3); -x_156 = !lean_is_exclusive(x_24); -if (x_156 == 0) +x_157 = !lean_is_exclusive(x_24); +if (x_157 == 0) { -lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_157 = lean_ctor_get(x_24, 0); -x_158 = lean_ctor_get(x_2, 6); -lean_inc(x_158); +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_158 = lean_ctor_get(x_24, 0); +x_159 = lean_ctor_get(x_2, 6); +lean_inc(x_159); lean_dec(x_2); -x_159 = lean_io_error_to_string(x_157); -x_160 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_160, 0, x_159); -x_161 = lean_alloc_ctor(0, 1, 0); +x_160 = lean_io_error_to_string(x_158); +x_161 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_161, 0, x_160); -x_162 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_162, 0, x_158); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_24, 0, x_162); +x_162 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_162, 0, x_161); +x_163 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_163, 0, x_159); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_24, 0, x_163); return x_24; } else { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; -x_163 = lean_ctor_get(x_24, 0); -x_164 = lean_ctor_get(x_24, 1); -lean_inc(x_164); -lean_inc(x_163); -lean_dec(x_24); -x_165 = lean_ctor_get(x_2, 6); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; +x_164 = lean_ctor_get(x_24, 0); +x_165 = lean_ctor_get(x_24, 1); lean_inc(x_165); +lean_inc(x_164); +lean_dec(x_24); +x_166 = lean_ctor_get(x_2, 6); +lean_inc(x_166); lean_dec(x_2); -x_166 = lean_io_error_to_string(x_163); -x_167 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_167, 0, x_166); -x_168 = lean_alloc_ctor(0, 1, 0); +x_167 = lean_io_error_to_string(x_164); +x_168 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_168, 0, x_167); -x_169 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_169, 0, x_165); -lean_ctor_set(x_169, 1, x_168); -x_170 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_170, 0, x_169); -lean_ctor_set(x_170, 1, x_164); -return x_170; +x_169 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_169, 0, x_168); +x_170 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_170, 0, x_166); +lean_ctor_set(x_170, 1, x_169); +x_171 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_171, 0, x_170); +lean_ctor_set(x_171, 1, x_165); +return x_171; } } } @@ -18077,20 +18086,20 @@ x_24 = l_Lean_Elab_Command_getScope___rarg(x_18, x_23); if (lean_obj_tag(x_14) == 0) { x_25 = x_15; -goto block_380; +goto block_382; } else { -lean_object* x_381; +lean_object* x_383; lean_dec(x_15); -x_381 = lean_ctor_get(x_14, 0); -lean_inc(x_381); -x_25 = x_381; -goto block_380; +x_383 = lean_ctor_get(x_14, 0); +lean_inc(x_383); +x_25 = x_383; +goto block_382; } -block_380: +block_382: { -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_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; x_26 = lean_ctor_get(x_24, 0); lean_inc(x_26); x_27 = lean_ctor_get(x_24, 1); @@ -18105,800 +18114,802 @@ lean_dec(x_28); x_30 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__3; lean_inc(x_2); x_31 = lean_name_append_after(x_2, x_30); +x_32 = 0; lean_inc(x_25); -x_32 = l_Lean_mkIdentFrom(x_25, x_31); -x_33 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__2___boxed), 10, 2); -lean_closure_set(x_33, 0, x_3); -lean_closure_set(x_33, 1, x_2); +x_33 = l_Lean_mkIdentFrom(x_25, x_31, x_32); +x_34 = lean_alloc_closure((void*)(l_Lean_Elab_Command_elabSyntax___lambda__2___boxed), 10, 2); +lean_closure_set(x_34, 0, x_3); +lean_closure_set(x_34, 1, x_2); lean_inc(x_17); -x_34 = l_Lean_Elab_Command_runTermElabM___rarg(x_33, x_17, x_18, x_27); -if (lean_obj_tag(x_34) == 0) +x_35 = l_Lean_Elab_Command_runTermElabM___rarg(x_34, x_17, x_18, x_27); +if (lean_obj_tag(x_35) == 0) { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_35 = lean_ctor_get(x_34, 0); -lean_inc(x_35); -x_36 = lean_ctor_get(x_34, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_36 = lean_ctor_get(x_35, 0); lean_inc(x_36); -lean_dec(x_34); -x_37 = lean_ctor_get(x_35, 0); +x_37 = lean_ctor_get(x_35, 1); lean_inc(x_37); -x_38 = lean_ctor_get(x_35, 1); -lean_inc(x_38); lean_dec(x_35); +x_38 = lean_ctor_get(x_36, 0); +lean_inc(x_38); +x_39 = lean_ctor_get(x_36, 1); +lean_inc(x_39); +lean_dec(x_36); if (lean_obj_tag(x_14) == 0) { -lean_object* x_374; -x_374 = l_Lean_mkIdentFrom(x_25, x_16); -x_39 = x_374; -goto block_373; +uint8_t x_375; lean_object* x_376; +x_375 = 1; +x_376 = l_Lean_mkIdentFrom(x_25, x_16, x_375); +x_40 = x_376; +goto block_374; } else { -lean_object* x_375; +lean_object* x_377; lean_dec(x_25); lean_dec(x_16); -x_375 = lean_ctor_get(x_14, 0); -lean_inc(x_375); +x_377 = lean_ctor_get(x_14, 0); +lean_inc(x_377); lean_dec(x_14); -x_39 = x_375; -goto block_373; +x_40 = x_377; +goto block_374; } -block_373: +block_374: { -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; -x_40 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_17, x_18, x_36); -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -x_42 = lean_ctor_get(x_40, 1); +lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_41 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_17, x_18, x_37); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_42); -x_44 = lean_ctor_get(x_43, 1); -lean_inc(x_44); -lean_dec(x_43); -x_45 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_44); -x_46 = lean_ctor_get(x_45, 1); -lean_inc(x_46); -lean_dec(x_45); -x_47 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_43); +x_45 = lean_ctor_get(x_44, 1); +lean_inc(x_45); +lean_dec(x_44); +x_46 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_45); +x_47 = lean_ctor_get(x_46, 1); +lean_inc(x_47); +lean_dec(x_46); +x_48 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__14; lean_inc(x_4); -x_48 = l_Lean_Name_str___override(x_4, x_47); -x_49 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; -x_50 = l_Lean_Name_str___override(x_5, x_49); -x_51 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; -x_52 = l_Lean_Name_str___override(x_50, x_51); -x_53 = l_Nat_repr(x_22); -x_54 = lean_box(2); -x_55 = l_Lean_Syntax_mkNumLit(x_53, x_54); -x_56 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; -x_57 = lean_array_push(x_56, x_55); +x_49 = l_Lean_Name_str___override(x_4, x_48); +x_50 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__18; +x_51 = l_Lean_Name_str___override(x_5, x_50); +x_52 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__20; +x_53 = l_Lean_Name_str___override(x_51, x_52); +x_54 = l_Nat_repr(x_22); +x_55 = lean_box(2); +x_56 = l_Lean_Syntax_mkNumLit(x_54, x_55); +x_57 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__29; +x_58 = lean_array_push(x_57, x_56); lean_inc(x_6); -lean_inc(x_41); -x_58 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_58, 0, x_41); -lean_ctor_set(x_58, 1, x_6); -lean_ctor_set(x_58, 2, x_57); -x_59 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__31; -x_60 = lean_array_push(x_59, x_32); -x_61 = lean_array_push(x_60, x_58); -lean_inc(x_41); -x_62 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_62, 0, x_41); -lean_ctor_set(x_62, 1, x_52); -lean_ctor_set(x_62, 2, x_61); -x_63 = lean_array_push(x_59, x_7); -x_64 = lean_array_push(x_63, x_62); -x_65 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_65, 0, x_41); -lean_ctor_set(x_65, 1, x_48); -lean_ctor_set(x_65, 2, x_64); +lean_inc(x_42); +x_59 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_59, 0, x_42); +lean_ctor_set(x_59, 1, x_6); +lean_ctor_set(x_59, 2, x_58); +x_60 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__31; +x_61 = lean_array_push(x_60, x_33); +x_62 = lean_array_push(x_61, x_59); +lean_inc(x_42); +x_63 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_63, 0, x_42); +lean_ctor_set(x_63, 1, x_53); +lean_ctor_set(x_63, 2, x_62); +x_64 = lean_array_push(x_60, x_7); +x_65 = lean_array_push(x_64, x_63); +x_66 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_66, 0, x_42); +lean_ctor_set(x_66, 1, x_49); +lean_ctor_set(x_66, 2, x_65); if (lean_obj_tag(x_13) == 0) { -lean_object* x_371; -x_371 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; -x_66 = x_371; -goto block_370; -} -else -{ lean_object* x_372; -x_372 = lean_ctor_get(x_13, 0); -lean_inc(x_372); +x_372 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; +x_67 = x_372; +goto block_371; +} +else +{ +lean_object* x_373; +x_373 = lean_ctor_get(x_13, 0); +lean_inc(x_373); lean_dec(x_13); -x_66 = x_372; -goto block_370; +x_67 = x_373; +goto block_371; } -block_370: +block_371: { -lean_object* x_67; lean_object* x_68; -x_67 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; -x_68 = l_Lean_Syntax_TSepArray_push___rarg(x_67, x_66, x_65); -if (lean_obj_tag(x_38) == 0) +lean_object* x_68; lean_object* x_69; +x_68 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__1; +x_69 = l_Lean_Syntax_TSepArray_push___rarg(x_68, x_67, x_66); +if (lean_obj_tag(x_39) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_69 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_17, x_18, x_46); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); +lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_70 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_17, x_18, x_47); +x_71 = lean_ctor_get(x_70, 0); lean_inc(x_71); -lean_dec(x_69); -x_72 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_71); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +x_73 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_72); +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_72); -x_75 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_74); -x_76 = lean_ctor_get(x_75, 0); -lean_inc(x_76); -x_77 = lean_ctor_get(x_75, 1); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); +lean_dec(x_73); +x_76 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_75); +x_77 = lean_ctor_get(x_76, 0); lean_inc(x_77); -lean_dec(x_75); -x_78 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_78 = lean_ctor_get(x_76, 1); +lean_inc(x_78); +lean_dec(x_76); +x_79 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; lean_inc(x_9); -x_79 = l_Lean_Name_str___override(x_9, x_78); -x_80 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_80 = l_Lean_Name_str___override(x_9, x_79); +x_81 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; lean_inc(x_9); -x_81 = l_Lean_Name_str___override(x_9, x_80); -x_82 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_82 = l_Lean_Name_str___override(x_9, x_81); +x_83 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; lean_inc(x_4); -x_83 = l_Lean_Name_str___override(x_4, x_82); -x_84 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_70); -x_85 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_85, 0, x_70); -lean_ctor_set(x_85, 1, x_84); -x_86 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; -x_87 = l_Array_append___rarg(x_86, x_68); +x_84 = l_Lean_Name_str___override(x_4, x_83); +x_85 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +lean_inc(x_71); +x_86 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_86, 0, x_71); +lean_ctor_set(x_86, 1, x_85); +x_87 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; +x_88 = l_Array_append___rarg(x_87, x_69); lean_inc(x_6); -lean_inc(x_70); -x_88 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_88, 0, x_70); -lean_ctor_set(x_88, 1, x_6); -lean_ctor_set(x_88, 2, x_87); -x_89 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -lean_inc(x_70); -x_90 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_90, 0, x_70); -lean_ctor_set(x_90, 1, x_89); -x_91 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__30; -x_92 = lean_array_push(x_91, x_85); -x_93 = lean_array_push(x_92, x_88); -x_94 = lean_array_push(x_93, x_90); -lean_inc(x_70); -x_95 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_95, 0, x_70); -lean_ctor_set(x_95, 1, x_83); -lean_ctor_set(x_95, 2, x_94); -x_96 = lean_array_push(x_56, x_95); +lean_inc(x_71); +x_89 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_89, 0, x_71); +lean_ctor_set(x_89, 1, x_6); +lean_ctor_set(x_89, 2, x_88); +x_90 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +lean_inc(x_71); +x_91 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_91, 0, x_71); +lean_ctor_set(x_91, 1, x_90); +x_92 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__30; +x_93 = lean_array_push(x_92, x_86); +x_94 = lean_array_push(x_93, x_89); +x_95 = lean_array_push(x_94, x_91); +lean_inc(x_71); +x_96 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_96, 0, x_71); +lean_ctor_set(x_96, 1, x_84); +lean_ctor_set(x_96, 2, x_95); +x_97 = lean_array_push(x_57, x_96); lean_inc(x_6); -lean_inc(x_70); -x_97 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_97, 0, x_70); -lean_ctor_set(x_97, 1, x_6); -lean_ctor_set(x_97, 2, x_96); -lean_inc(x_6); -lean_inc(x_70); +lean_inc(x_71); x_98 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_98, 0, x_70); +lean_ctor_set(x_98, 0, x_71); lean_ctor_set(x_98, 1, x_6); -lean_ctor_set(x_98, 2, x_86); -x_99 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +lean_ctor_set(x_98, 2, x_97); +lean_inc(x_6); +lean_inc(x_71); +x_99 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_99, 0, x_71); +lean_ctor_set(x_99, 1, x_6); +lean_ctor_set(x_99, 2, x_87); +x_100 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; lean_inc(x_9); -x_100 = l_Lean_Name_str___override(x_9, x_99); -lean_inc(x_70); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_70); -lean_ctor_set(x_101, 1, x_99); -x_102 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; +x_101 = l_Lean_Name_str___override(x_9, x_100); +lean_inc(x_71); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_71); +lean_ctor_set(x_102, 1, x_100); +x_103 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; lean_inc(x_9); -x_103 = l_Lean_Name_str___override(x_9, x_102); -x_104 = lean_array_push(x_59, x_39); -lean_inc(x_98); -x_105 = lean_array_push(x_104, x_98); -lean_inc(x_70); -x_106 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_106, 0, x_70); -lean_ctor_set(x_106, 1, x_103); -lean_ctor_set(x_106, 2, x_105); -x_107 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +x_104 = l_Lean_Name_str___override(x_9, x_103); +x_105 = lean_array_push(x_60, x_40); +lean_inc(x_99); +x_106 = lean_array_push(x_105, x_99); +lean_inc(x_71); +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_71); +lean_ctor_set(x_107, 1, x_104); +lean_ctor_set(x_107, 2, x_106); +x_108 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; lean_inc(x_9); -x_108 = l_Lean_Name_str___override(x_9, x_107); -x_109 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; +x_109 = l_Lean_Name_str___override(x_9, x_108); +x_110 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; lean_inc(x_4); -x_110 = l_Lean_Name_str___override(x_4, x_109); -x_111 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_70); -x_112 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_112, 0, x_70); -lean_ctor_set(x_112, 1, x_111); -x_113 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; -x_114 = l_Lean_Name_str___override(x_10, x_113); -lean_inc(x_73); -lean_inc(x_114); -lean_inc(x_76); -x_115 = l_Lean_addMacroScope(x_76, x_114, x_73); -x_116 = lean_box(0); -lean_inc(x_114); -x_117 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_117, 0, x_114); -lean_ctor_set(x_117, 1, x_116); -lean_inc(x_114); -x_118 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_118, 0, x_114); -x_119 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_119, 0, x_118); -lean_ctor_set(x_119, 1, x_116); +x_111 = l_Lean_Name_str___override(x_4, x_110); +x_112 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_71); +x_113 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_113, 0, x_71); +lean_ctor_set(x_113, 1, x_112); +x_114 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; +x_115 = l_Lean_Name_str___override(x_10, x_114); +lean_inc(x_74); +lean_inc(x_115); +lean_inc(x_77); +x_116 = l_Lean_addMacroScope(x_77, x_115, x_74); +x_117 = lean_box(0); +lean_inc(x_115); +x_118 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_118, 0, x_115); +lean_ctor_set(x_118, 1, x_117); +lean_inc(x_115); +x_119 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_119, 0, x_115); x_120 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_120, 0, x_117); -lean_ctor_set(x_120, 1, x_119); -x_121 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; -lean_inc(x_70); -x_122 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_122, 0, x_70); -lean_ctor_set(x_122, 1, x_121); -lean_ctor_set(x_122, 2, x_115); -lean_ctor_set(x_122, 3, x_120); -x_123 = lean_array_push(x_59, x_112); -x_124 = lean_array_push(x_123, x_122); -lean_inc(x_70); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_70); -lean_ctor_set(x_125, 1, x_110); -lean_ctor_set(x_125, 2, x_124); -x_126 = lean_array_push(x_56, x_125); +lean_ctor_set(x_120, 0, x_119); +lean_ctor_set(x_120, 1, x_117); +x_121 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_121, 0, x_118); +lean_ctor_set(x_121, 1, x_120); +x_122 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__40; +lean_inc(x_71); +x_123 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_123, 0, x_71); +lean_ctor_set(x_123, 1, x_122); +lean_ctor_set(x_123, 2, x_116); +lean_ctor_set(x_123, 3, x_121); +x_124 = lean_array_push(x_60, x_113); +x_125 = lean_array_push(x_124, x_123); +lean_inc(x_71); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_71); +lean_ctor_set(x_126, 1, x_111); +lean_ctor_set(x_126, 2, x_125); +x_127 = lean_array_push(x_57, x_126); lean_inc(x_6); -lean_inc(x_70); -x_127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_127, 0, x_70); -lean_ctor_set(x_127, 1, x_6); -lean_ctor_set(x_127, 2, x_126); -lean_inc(x_98); -x_128 = lean_array_push(x_59, x_98); -x_129 = lean_array_push(x_128, x_127); -lean_inc(x_70); -x_130 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_130, 0, x_70); -lean_ctor_set(x_130, 1, x_108); -lean_ctor_set(x_130, 2, x_129); -x_131 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; -x_132 = l_Lean_Name_str___override(x_9, x_131); -x_133 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -lean_inc(x_70); -x_134 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_134, 0, x_70); -lean_ctor_set(x_134, 1, x_133); -x_135 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +lean_inc(x_71); +x_128 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_128, 0, x_71); +lean_ctor_set(x_128, 1, x_6); +lean_ctor_set(x_128, 2, x_127); +lean_inc(x_99); +x_129 = lean_array_push(x_60, x_99); +x_130 = lean_array_push(x_129, x_128); +lean_inc(x_71); +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_71); +lean_ctor_set(x_131, 1, x_109); +lean_ctor_set(x_131, 2, x_130); +x_132 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; +x_133 = l_Lean_Name_str___override(x_9, x_132); +x_134 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +lean_inc(x_71); +x_135 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_135, 0, x_71); +lean_ctor_set(x_135, 1, x_134); +x_136 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; lean_inc(x_4); -x_136 = l_Lean_Name_str___override(x_4, x_135); -x_137 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; -x_138 = l_Lean_addMacroScope(x_76, x_137, x_73); -x_139 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; -x_140 = l_Lean_Name_str___override(x_114, x_139); -lean_inc(x_140); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_140); -lean_ctor_set(x_141, 1, x_116); -x_142 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_142, 0, x_140); -x_143 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_143, 0, x_142); -lean_ctor_set(x_143, 1, x_116); +x_137 = l_Lean_Name_str___override(x_4, x_136); +x_138 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__5; +x_139 = l_Lean_addMacroScope(x_77, x_138, x_74); +x_140 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__51; +x_141 = l_Lean_Name_str___override(x_115, x_140); +lean_inc(x_141); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_141); +lean_ctor_set(x_142, 1, x_117); +x_143 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_143, 0, x_141); x_144 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_144, 0, x_141); -lean_ctor_set(x_144, 1, x_143); -x_145 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; -lean_inc(x_70); -x_146 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_146, 0, x_70); -lean_ctor_set(x_146, 1, x_145); -lean_ctor_set(x_146, 2, x_138); -lean_ctor_set(x_146, 3, x_144); +lean_ctor_set(x_144, 0, x_143); +lean_ctor_set(x_144, 1, x_117); +x_145 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_145, 0, x_142); +lean_ctor_set(x_145, 1, x_144); +x_146 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__4; +lean_inc(x_71); +x_147 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_147, 0, x_71); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_139); +lean_ctor_set(x_147, 3, x_145); lean_inc(x_29); -x_147 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_116, x_29); -x_148 = l_Nat_repr(x_11); -x_149 = l_Lean_Syntax_mkNumLit(x_148, x_54); -x_150 = lean_array_push(x_59, x_146); -x_151 = lean_array_push(x_91, x_134); -x_152 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; -x_153 = lean_array_push(x_152, x_101); -x_154 = lean_array_push(x_153, x_106); -x_155 = lean_array_push(x_154, x_130); +x_148 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_117, x_29); +x_149 = l_Nat_repr(x_11); +x_150 = l_Lean_Syntax_mkNumLit(x_149, x_55); +x_151 = lean_array_push(x_60, x_147); +x_152 = lean_array_push(x_92, x_135); +x_153 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; +x_154 = lean_array_push(x_153, x_102); +x_155 = lean_array_push(x_154, x_107); +x_156 = lean_array_push(x_155, x_131); if (lean_obj_tag(x_12) == 0) { -x_156 = x_86; -goto block_213; +x_157 = x_87; +goto block_214; } else { -lean_object* x_214; lean_object* x_215; -x_214 = lean_ctor_get(x_12, 0); -lean_inc(x_214); +lean_object* x_215; lean_object* x_216; +x_215 = lean_ctor_get(x_12, 0); +lean_inc(x_215); lean_dec(x_12); -x_215 = lean_array_push(x_56, x_214); -x_156 = x_215; -goto block_213; +x_216 = lean_array_push(x_57, x_215); +x_157 = x_216; +goto block_214; } -block_213: +block_214: { -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; -x_157 = l_Array_append___rarg(x_86, x_156); +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_158 = l_Array_append___rarg(x_87, x_157); lean_inc(x_6); -lean_inc(x_70); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_70); -lean_ctor_set(x_158, 1, x_6); -lean_ctor_set(x_158, 2, x_157); -x_159 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; -x_160 = lean_array_push(x_159, x_158); -x_161 = lean_array_push(x_160, x_97); -lean_inc(x_98); +lean_inc(x_71); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_71); +lean_ctor_set(x_159, 1, x_6); +lean_ctor_set(x_159, 2, x_158); +x_160 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; +x_161 = lean_array_push(x_160, x_159); x_162 = lean_array_push(x_161, x_98); -lean_inc(x_98); -x_163 = lean_array_push(x_162, x_98); -lean_inc(x_98); -x_164 = lean_array_push(x_163, x_98); -lean_inc(x_98); -x_165 = lean_array_push(x_164, x_98); -lean_inc(x_70); -x_166 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_166, 0, x_70); -lean_ctor_set(x_166, 1, x_81); -lean_ctor_set(x_166, 2, x_165); -x_167 = lean_array_push(x_59, x_166); -if (lean_obj_tag(x_147) == 0) +lean_inc(x_99); +x_163 = lean_array_push(x_162, x_99); +lean_inc(x_99); +x_164 = lean_array_push(x_163, x_99); +lean_inc(x_99); +x_165 = lean_array_push(x_164, x_99); +lean_inc(x_99); +x_166 = lean_array_push(x_165, x_99); +lean_inc(x_71); +x_167 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_167, 0, x_71); +lean_ctor_set(x_167, 1, x_82); +lean_ctor_set(x_167, 2, x_166); +x_168 = lean_array_push(x_60, x_167); +if (lean_obj_tag(x_148) == 0) { -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_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_dec(x_4); -x_168 = l_Lean_quoteNameMk(x_29); -x_169 = lean_array_push(x_91, x_168); -x_170 = lean_array_push(x_169, x_149); -x_171 = lean_array_push(x_170, x_37); -lean_inc(x_70); -x_172 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_172, 0, x_70); -lean_ctor_set(x_172, 1, x_6); -lean_ctor_set(x_172, 2, x_171); -x_173 = lean_array_push(x_150, x_172); -lean_inc(x_70); -x_174 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_174, 0, x_70); -lean_ctor_set(x_174, 1, x_136); -lean_ctor_set(x_174, 2, x_173); -x_175 = lean_array_push(x_151, x_174); -lean_inc(x_98); -x_176 = lean_array_push(x_175, x_98); -lean_inc(x_70); -x_177 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_177, 0, x_70); -lean_ctor_set(x_177, 1, x_132); -lean_ctor_set(x_177, 2, x_176); -x_178 = lean_array_push(x_155, x_177); -lean_inc(x_98); -x_179 = lean_array_push(x_178, x_98); -lean_inc(x_98); -x_180 = lean_array_push(x_179, x_98); -x_181 = lean_array_push(x_180, x_98); -lean_inc(x_70); -x_182 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_182, 0, x_70); -lean_ctor_set(x_182, 1, x_100); -lean_ctor_set(x_182, 2, x_181); -x_183 = lean_array_push(x_167, x_182); -x_184 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_184, 0, x_70); -lean_ctor_set(x_184, 1, x_79); -lean_ctor_set(x_184, 2, x_183); -x_185 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_184, x_17, x_18, x_77); -return x_185; +x_169 = l_Lean_quoteNameMk(x_29); +x_170 = lean_array_push(x_92, x_169); +x_171 = lean_array_push(x_170, x_150); +x_172 = lean_array_push(x_171, x_38); +lean_inc(x_71); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_71); +lean_ctor_set(x_173, 1, x_6); +lean_ctor_set(x_173, 2, x_172); +x_174 = lean_array_push(x_151, x_173); +lean_inc(x_71); +x_175 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_175, 0, x_71); +lean_ctor_set(x_175, 1, x_137); +lean_ctor_set(x_175, 2, x_174); +x_176 = lean_array_push(x_152, x_175); +lean_inc(x_99); +x_177 = lean_array_push(x_176, x_99); +lean_inc(x_71); +x_178 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_178, 0, x_71); +lean_ctor_set(x_178, 1, x_133); +lean_ctor_set(x_178, 2, x_177); +x_179 = lean_array_push(x_156, x_178); +lean_inc(x_99); +x_180 = lean_array_push(x_179, x_99); +lean_inc(x_99); +x_181 = lean_array_push(x_180, x_99); +x_182 = lean_array_push(x_181, x_99); +lean_inc(x_71); +x_183 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_183, 0, x_71); +lean_ctor_set(x_183, 1, x_101); +lean_ctor_set(x_183, 2, x_182); +x_184 = lean_array_push(x_168, x_183); +x_185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_185, 0, x_71); +lean_ctor_set(x_185, 1, x_80); +lean_ctor_set(x_185, 2, x_184); +x_186 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_185, x_17, x_18, x_78); +return x_186; } else { -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_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_dec(x_29); -x_186 = lean_ctor_get(x_147, 0); -lean_inc(x_186); -lean_dec(x_147); -x_187 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__24; -x_188 = l_Lean_Name_str___override(x_4, x_187); -x_189 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__18; -x_190 = l_String_intercalate(x_189, x_186); -x_191 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__19; -x_192 = lean_string_append(x_191, x_190); -lean_dec(x_190); -x_193 = l_Lean_Syntax_mkNameLit(x_192, x_54); -x_194 = lean_array_push(x_56, x_193); -x_195 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_195, 0, x_54); -lean_ctor_set(x_195, 1, x_188); -lean_ctor_set(x_195, 2, x_194); -x_196 = lean_array_push(x_91, x_195); -x_197 = lean_array_push(x_196, x_149); -x_198 = lean_array_push(x_197, x_37); -lean_inc(x_70); -x_199 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_199, 0, x_70); -lean_ctor_set(x_199, 1, x_6); -lean_ctor_set(x_199, 2, x_198); -x_200 = lean_array_push(x_150, x_199); -lean_inc(x_70); -x_201 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_201, 0, x_70); -lean_ctor_set(x_201, 1, x_136); -lean_ctor_set(x_201, 2, x_200); -x_202 = lean_array_push(x_151, x_201); -lean_inc(x_98); -x_203 = lean_array_push(x_202, x_98); -lean_inc(x_70); -x_204 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_204, 0, x_70); -lean_ctor_set(x_204, 1, x_132); -lean_ctor_set(x_204, 2, x_203); -x_205 = lean_array_push(x_155, x_204); -lean_inc(x_98); -x_206 = lean_array_push(x_205, x_98); -lean_inc(x_98); -x_207 = lean_array_push(x_206, x_98); -x_208 = lean_array_push(x_207, x_98); -lean_inc(x_70); -x_209 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_209, 0, x_70); -lean_ctor_set(x_209, 1, x_100); -lean_ctor_set(x_209, 2, x_208); -x_210 = lean_array_push(x_167, x_209); -x_211 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_211, 0, x_70); -lean_ctor_set(x_211, 1, x_79); -lean_ctor_set(x_211, 2, x_210); -x_212 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_211, x_17, x_18, x_77); -return x_212; +x_187 = lean_ctor_get(x_148, 0); +lean_inc(x_187); +lean_dec(x_148); +x_188 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__24; +x_189 = l_Lean_Name_str___override(x_4, x_188); +x_190 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__18; +x_191 = l_String_intercalate(x_190, x_187); +x_192 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__19; +x_193 = lean_string_append(x_192, x_191); +lean_dec(x_191); +x_194 = l_Lean_Syntax_mkNameLit(x_193, x_55); +x_195 = lean_array_push(x_57, x_194); +x_196 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_196, 0, x_55); +lean_ctor_set(x_196, 1, x_189); +lean_ctor_set(x_196, 2, x_195); +x_197 = lean_array_push(x_92, x_196); +x_198 = lean_array_push(x_197, x_150); +x_199 = lean_array_push(x_198, x_38); +lean_inc(x_71); +x_200 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_200, 0, x_71); +lean_ctor_set(x_200, 1, x_6); +lean_ctor_set(x_200, 2, x_199); +x_201 = lean_array_push(x_151, x_200); +lean_inc(x_71); +x_202 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_202, 0, x_71); +lean_ctor_set(x_202, 1, x_137); +lean_ctor_set(x_202, 2, x_201); +x_203 = lean_array_push(x_152, x_202); +lean_inc(x_99); +x_204 = lean_array_push(x_203, x_99); +lean_inc(x_71); +x_205 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_205, 0, x_71); +lean_ctor_set(x_205, 1, x_133); +lean_ctor_set(x_205, 2, x_204); +x_206 = lean_array_push(x_156, x_205); +lean_inc(x_99); +x_207 = lean_array_push(x_206, x_99); +lean_inc(x_99); +x_208 = lean_array_push(x_207, x_99); +x_209 = lean_array_push(x_208, x_99); +lean_inc(x_71); +x_210 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_210, 0, x_71); +lean_ctor_set(x_210, 1, x_101); +lean_ctor_set(x_210, 2, x_209); +x_211 = lean_array_push(x_168, x_210); +x_212 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_212, 0, x_71); +lean_ctor_set(x_212, 1, x_80); +lean_ctor_set(x_212, 2, x_211); +x_213 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_212, x_17, x_18, x_78); +return x_213; } } } else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_216 = lean_ctor_get(x_38, 0); -lean_inc(x_216); -lean_dec(x_38); -x_217 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_17, x_18, x_46); -x_218 = lean_ctor_get(x_217, 0); -lean_inc(x_218); -x_219 = lean_ctor_get(x_217, 1); +lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; +x_217 = lean_ctor_get(x_39, 0); +lean_inc(x_217); +lean_dec(x_39); +x_218 = l_Lean_MonadRef_mkInfoFromRefPos___at___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___spec__1(x_17, x_18, x_47); +x_219 = lean_ctor_get(x_218, 0); lean_inc(x_219); -lean_dec(x_217); -x_220 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_219); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -x_222 = lean_ctor_get(x_220, 1); +x_220 = lean_ctor_get(x_218, 1); +lean_inc(x_220); +lean_dec(x_218); +x_221 = l_Lean_Elab_Command_getCurrMacroScope(x_17, x_18, x_220); +x_222 = lean_ctor_get(x_221, 0); lean_inc(x_222); -lean_dec(x_220); -x_223 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_222); -x_224 = lean_ctor_get(x_223, 0); -lean_inc(x_224); -x_225 = lean_ctor_get(x_223, 1); +x_223 = lean_ctor_get(x_221, 1); +lean_inc(x_223); +lean_dec(x_221); +x_224 = l_Lean_Elab_Command_getMainModule___rarg(x_18, x_223); +x_225 = lean_ctor_get(x_224, 0); lean_inc(x_225); -lean_dec(x_223); -x_226 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; +x_226 = lean_ctor_get(x_224, 1); +lean_inc(x_226); +lean_dec(x_224); +x_227 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__7; lean_inc(x_9); -x_227 = l_Lean_Name_str___override(x_9, x_226); -x_228 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; +x_228 = l_Lean_Name_str___override(x_9, x_227); +x_229 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__9; lean_inc(x_9); -x_229 = l_Lean_Name_str___override(x_9, x_228); -x_230 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; +x_230 = l_Lean_Name_str___override(x_9, x_229); +x_231 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__11; lean_inc(x_4); -x_231 = l_Lean_Name_str___override(x_4, x_230); -x_232 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; -lean_inc(x_218); -x_233 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_233, 0, x_218); -lean_ctor_set(x_233, 1, x_232); -x_234 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; -x_235 = l_Array_append___rarg(x_234, x_68); +x_232 = l_Lean_Name_str___override(x_4, x_231); +x_233 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__13; +lean_inc(x_219); +x_234 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_234, 0, x_219); +lean_ctor_set(x_234, 1, x_233); +x_235 = l_Lean_addTrace___at_Lean_Elab_Term_checkLeftRec___spec__3___closed__1; +x_236 = l_Array_append___rarg(x_235, x_69); lean_inc(x_6); -lean_inc(x_218); -x_236 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_236, 0, x_218); -lean_ctor_set(x_236, 1, x_6); -lean_ctor_set(x_236, 2, x_235); -x_237 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; -lean_inc(x_218); -x_238 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_238, 0, x_218); -lean_ctor_set(x_238, 1, x_237); -x_239 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__30; -x_240 = lean_array_push(x_239, x_233); -x_241 = lean_array_push(x_240, x_236); -x_242 = lean_array_push(x_241, x_238); -lean_inc(x_218); -x_243 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_243, 0, x_218); -lean_ctor_set(x_243, 1, x_231); -lean_ctor_set(x_243, 2, x_242); -x_244 = lean_array_push(x_56, x_243); +lean_inc(x_219); +x_237 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_237, 0, x_219); +lean_ctor_set(x_237, 1, x_6); +lean_ctor_set(x_237, 2, x_236); +x_238 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__26; +lean_inc(x_219); +x_239 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_239, 0, x_219); +lean_ctor_set(x_239, 1, x_238); +x_240 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__30; +x_241 = lean_array_push(x_240, x_234); +x_242 = lean_array_push(x_241, x_237); +x_243 = lean_array_push(x_242, x_239); +lean_inc(x_219); +x_244 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_244, 0, x_219); +lean_ctor_set(x_244, 1, x_232); +lean_ctor_set(x_244, 2, x_243); +x_245 = lean_array_push(x_57, x_244); lean_inc(x_6); -lean_inc(x_218); -x_245 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_245, 0, x_218); -lean_ctor_set(x_245, 1, x_6); -lean_ctor_set(x_245, 2, x_244); -lean_inc(x_6); -lean_inc(x_218); +lean_inc(x_219); x_246 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_246, 0, x_218); +lean_ctor_set(x_246, 0, x_219); lean_ctor_set(x_246, 1, x_6); -lean_ctor_set(x_246, 2, x_234); -x_247 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; -lean_inc(x_9); -x_248 = l_Lean_Name_str___override(x_9, x_247); -lean_inc(x_218); -x_249 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_249, 0, x_218); -lean_ctor_set(x_249, 1, x_247); -x_250 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; -lean_inc(x_9); -x_251 = l_Lean_Name_str___override(x_9, x_250); -x_252 = lean_array_push(x_59, x_39); -lean_inc(x_246); -x_253 = lean_array_push(x_252, x_246); -lean_inc(x_218); -x_254 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_254, 0, x_218); -lean_ctor_set(x_254, 1, x_251); -lean_ctor_set(x_254, 2, x_253); -x_255 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; -lean_inc(x_9); -x_256 = l_Lean_Name_str___override(x_9, x_255); -x_257 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; -lean_inc(x_4); -x_258 = l_Lean_Name_str___override(x_4, x_257); -x_259 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; -lean_inc(x_218); -x_260 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_260, 0, x_218); -lean_ctor_set(x_260, 1, x_259); -x_261 = l_List_filterMap___at_Lean_Elab_Term_resolveParserName___spec__1___closed__1; -lean_inc(x_10); -x_262 = l_Lean_Name_str___override(x_10, x_261); -lean_inc(x_221); -lean_inc(x_262); -lean_inc(x_224); -x_263 = l_Lean_addMacroScope(x_224, x_262, x_221); -x_264 = lean_box(0); -x_265 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_265, 0, x_262); -lean_ctor_set(x_265, 1, x_264); -x_266 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_266, 0, x_265); -lean_ctor_set(x_266, 1, x_264); -x_267 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; -lean_inc(x_218); -x_268 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_268, 0, x_218); -lean_ctor_set(x_268, 1, x_267); -lean_ctor_set(x_268, 2, x_263); -lean_ctor_set(x_268, 3, x_266); -x_269 = lean_array_push(x_59, x_260); -x_270 = lean_array_push(x_269, x_268); -lean_inc(x_218); -x_271 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_271, 0, x_218); -lean_ctor_set(x_271, 1, x_258); -lean_ctor_set(x_271, 2, x_270); -x_272 = lean_array_push(x_56, x_271); +lean_ctor_set(x_246, 2, x_245); lean_inc(x_6); -lean_inc(x_218); -x_273 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_273, 0, x_218); -lean_ctor_set(x_273, 1, x_6); -lean_ctor_set(x_273, 2, x_272); -lean_inc(x_246); -x_274 = lean_array_push(x_59, x_246); -x_275 = lean_array_push(x_274, x_273); -lean_inc(x_218); -x_276 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_276, 0, x_218); -lean_ctor_set(x_276, 1, x_256); -lean_ctor_set(x_276, 2, x_275); -x_277 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; -x_278 = l_Lean_Name_str___override(x_9, x_277); -x_279 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; -lean_inc(x_218); -x_280 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_280, 0, x_218); -lean_ctor_set(x_280, 1, x_279); -x_281 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +lean_inc(x_219); +x_247 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_247, 0, x_219); +lean_ctor_set(x_247, 1, x_6); +lean_ctor_set(x_247, 2, x_235); +x_248 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__28; +lean_inc(x_9); +x_249 = l_Lean_Name_str___override(x_9, x_248); +lean_inc(x_219); +x_250 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_250, 0, x_219); +lean_ctor_set(x_250, 1, x_248); +x_251 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__30; +lean_inc(x_9); +x_252 = l_Lean_Name_str___override(x_9, x_251); +x_253 = lean_array_push(x_60, x_40); +lean_inc(x_247); +x_254 = lean_array_push(x_253, x_247); +lean_inc(x_219); +x_255 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_255, 0, x_219); +lean_ctor_set(x_255, 1, x_252); +lean_ctor_set(x_255, 2, x_254); +x_256 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__33; +lean_inc(x_9); +x_257 = l_Lean_Name_str___override(x_9, x_256); +x_258 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__35; lean_inc(x_4); -x_282 = l_Lean_Name_str___override(x_4, x_281); -x_283 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13; -x_284 = l_Lean_addMacroScope(x_224, x_283, x_221); -x_285 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; -x_286 = l_Lean_Name_str___override(x_10, x_285); -x_287 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; -x_288 = l_Lean_Name_str___override(x_286, x_287); -lean_inc(x_288); -x_289 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_289, 0, x_288); -lean_ctor_set(x_289, 1, x_264); -x_290 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_290, 0, x_288); -x_291 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_291, 0, x_290); -lean_ctor_set(x_291, 1, x_264); +x_259 = l_Lean_Name_str___override(x_4, x_258); +x_260 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__37; +lean_inc(x_219); +x_261 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_261, 0, x_219); +lean_ctor_set(x_261, 1, x_260); +x_262 = l_List_filterMap___at_Lean_Elab_Term_resolveParserName___spec__1___closed__1; +lean_inc(x_10); +x_263 = l_Lean_Name_str___override(x_10, x_262); +lean_inc(x_222); +lean_inc(x_263); +lean_inc(x_225); +x_264 = l_Lean_addMacroScope(x_225, x_263, x_222); +x_265 = lean_box(0); +x_266 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_266, 0, x_263); +lean_ctor_set(x_266, 1, x_265); +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 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__8; +lean_inc(x_219); +x_269 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_269, 0, x_219); +lean_ctor_set(x_269, 1, x_268); +lean_ctor_set(x_269, 2, x_264); +lean_ctor_set(x_269, 3, x_267); +x_270 = lean_array_push(x_60, x_261); +x_271 = lean_array_push(x_270, x_269); +lean_inc(x_219); +x_272 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_272, 0, x_219); +lean_ctor_set(x_272, 1, x_259); +lean_ctor_set(x_272, 2, x_271); +x_273 = lean_array_push(x_57, x_272); +lean_inc(x_6); +lean_inc(x_219); +x_274 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_274, 0, x_219); +lean_ctor_set(x_274, 1, x_6); +lean_ctor_set(x_274, 2, x_273); +lean_inc(x_247); +x_275 = lean_array_push(x_60, x_247); +x_276 = lean_array_push(x_275, x_274); +lean_inc(x_219); +x_277 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_277, 0, x_219); +lean_ctor_set(x_277, 1, x_257); +lean_ctor_set(x_277, 2, x_276); +x_278 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__45; +x_279 = l_Lean_Name_str___override(x_9, x_278); +x_280 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__47; +lean_inc(x_219); +x_281 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_281, 0, x_219); +lean_ctor_set(x_281, 1, x_280); +x_282 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__7; +lean_inc(x_4); +x_283 = l_Lean_Name_str___override(x_4, x_282); +x_284 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__13; +x_285 = l_Lean_addMacroScope(x_225, x_284, x_222); +x_286 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__12; +x_287 = l_Lean_Name_str___override(x_10, x_286); +x_288 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__12; +x_289 = l_Lean_Name_str___override(x_287, x_288); +lean_inc(x_289); +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_289); +lean_ctor_set(x_290, 1, x_265); +x_291 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_291, 0, x_289); x_292 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_292, 0, x_289); -lean_ctor_set(x_292, 1, x_291); -x_293 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; -lean_inc(x_218); -x_294 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_294, 0, x_218); -lean_ctor_set(x_294, 1, x_293); -lean_ctor_set(x_294, 2, x_284); -lean_ctor_set(x_294, 3, x_292); +lean_ctor_set(x_292, 0, x_291); +lean_ctor_set(x_292, 1, x_265); +x_293 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_293, 0, x_290); +lean_ctor_set(x_293, 1, x_292); +x_294 = l_Lean_Elab_Command_elabSyntax___lambda__4___closed__11; +lean_inc(x_219); +x_295 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_295, 0, x_219); +lean_ctor_set(x_295, 1, x_294); +lean_ctor_set(x_295, 2, x_285); +lean_ctor_set(x_295, 3, x_293); lean_inc(x_29); -x_295 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_264, x_29); -x_296 = l_Nat_repr(x_11); -x_297 = l_Lean_Syntax_mkNumLit(x_296, x_54); -x_298 = l_Nat_repr(x_216); -x_299 = l_Lean_Syntax_mkNumLit(x_298, x_54); -x_300 = lean_array_push(x_59, x_294); -x_301 = lean_array_push(x_239, x_280); -x_302 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; -x_303 = lean_array_push(x_302, x_249); -x_304 = lean_array_push(x_303, x_254); -x_305 = lean_array_push(x_304, x_276); +x_296 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_265, x_29); +x_297 = l_Nat_repr(x_11); +x_298 = l_Lean_Syntax_mkNumLit(x_297, x_55); +x_299 = l_Nat_repr(x_217); +x_300 = l_Lean_Syntax_mkNumLit(x_299, x_55); +x_301 = lean_array_push(x_60, x_295); +x_302 = lean_array_push(x_240, x_281); +x_303 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__81; +x_304 = lean_array_push(x_303, x_250); +x_305 = lean_array_push(x_304, x_255); +x_306 = lean_array_push(x_305, x_277); if (lean_obj_tag(x_12) == 0) { -x_306 = x_234; -goto block_367; +x_307 = x_235; +goto block_368; } else { -lean_object* x_368; lean_object* x_369; -x_368 = lean_ctor_get(x_12, 0); -lean_inc(x_368); +lean_object* x_369; lean_object* x_370; +x_369 = lean_ctor_get(x_12, 0); +lean_inc(x_369); lean_dec(x_12); -x_369 = lean_array_push(x_56, x_368); -x_306 = x_369; -goto block_367; +x_370 = lean_array_push(x_57, x_369); +x_307 = x_370; +goto block_368; } -block_367: +block_368: { -lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; -x_307 = l_Array_append___rarg(x_234, x_306); +lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_308 = l_Array_append___rarg(x_235, x_307); lean_inc(x_6); -lean_inc(x_218); -x_308 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_308, 0, x_218); -lean_ctor_set(x_308, 1, x_6); -lean_ctor_set(x_308, 2, x_307); -x_309 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; -x_310 = lean_array_push(x_309, x_308); -x_311 = lean_array_push(x_310, x_245); -lean_inc(x_246); +lean_inc(x_219); +x_309 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_309, 0, x_219); +lean_ctor_set(x_309, 1, x_6); +lean_ctor_set(x_309, 2, x_308); +x_310 = l___private_Lean_Elab_Syntax_0__Lean_Elab_Command_declareSyntaxCatQuotParser___closed__27; +x_311 = lean_array_push(x_310, x_309); x_312 = lean_array_push(x_311, x_246); -lean_inc(x_246); -x_313 = lean_array_push(x_312, x_246); -lean_inc(x_246); -x_314 = lean_array_push(x_313, x_246); -lean_inc(x_246); -x_315 = lean_array_push(x_314, x_246); -lean_inc(x_218); -x_316 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_316, 0, x_218); -lean_ctor_set(x_316, 1, x_229); -lean_ctor_set(x_316, 2, x_315); -x_317 = lean_array_push(x_59, x_316); -if (lean_obj_tag(x_295) == 0) +lean_inc(x_247); +x_313 = lean_array_push(x_312, x_247); +lean_inc(x_247); +x_314 = lean_array_push(x_313, x_247); +lean_inc(x_247); +x_315 = lean_array_push(x_314, x_247); +lean_inc(x_247); +x_316 = lean_array_push(x_315, x_247); +lean_inc(x_219); +x_317 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_317, 0, x_219); +lean_ctor_set(x_317, 1, x_230); +lean_ctor_set(x_317, 2, x_316); +x_318 = lean_array_push(x_60, x_317); +if (lean_obj_tag(x_296) == 0) { -lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_dec(x_4); -x_318 = l_Lean_quoteNameMk(x_29); -x_319 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__10; -x_320 = lean_array_push(x_319, x_318); -x_321 = lean_array_push(x_320, x_297); -x_322 = lean_array_push(x_321, x_299); -x_323 = lean_array_push(x_322, x_37); -lean_inc(x_218); -x_324 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_324, 0, x_218); -lean_ctor_set(x_324, 1, x_6); -lean_ctor_set(x_324, 2, x_323); -x_325 = lean_array_push(x_300, x_324); -lean_inc(x_218); -x_326 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_326, 0, x_218); -lean_ctor_set(x_326, 1, x_282); -lean_ctor_set(x_326, 2, x_325); -x_327 = lean_array_push(x_301, x_326); -lean_inc(x_246); -x_328 = lean_array_push(x_327, x_246); -lean_inc(x_218); -x_329 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_329, 0, x_218); -lean_ctor_set(x_329, 1, x_278); -lean_ctor_set(x_329, 2, x_328); -x_330 = lean_array_push(x_305, x_329); -lean_inc(x_246); -x_331 = lean_array_push(x_330, x_246); -lean_inc(x_246); -x_332 = lean_array_push(x_331, x_246); -x_333 = lean_array_push(x_332, x_246); -lean_inc(x_218); -x_334 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_334, 0, x_218); -lean_ctor_set(x_334, 1, x_248); -lean_ctor_set(x_334, 2, x_333); -x_335 = lean_array_push(x_317, x_334); -x_336 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_336, 0, x_218); -lean_ctor_set(x_336, 1, x_227); -lean_ctor_set(x_336, 2, x_335); -x_337 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_336, x_17, x_18, x_225); -return x_337; +x_319 = l_Lean_quoteNameMk(x_29); +x_320 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__10; +x_321 = lean_array_push(x_320, x_319); +x_322 = lean_array_push(x_321, x_298); +x_323 = lean_array_push(x_322, x_300); +x_324 = lean_array_push(x_323, x_38); +lean_inc(x_219); +x_325 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_325, 0, x_219); +lean_ctor_set(x_325, 1, x_6); +lean_ctor_set(x_325, 2, x_324); +x_326 = lean_array_push(x_301, x_325); +lean_inc(x_219); +x_327 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_327, 0, x_219); +lean_ctor_set(x_327, 1, x_283); +lean_ctor_set(x_327, 2, x_326); +x_328 = lean_array_push(x_302, x_327); +lean_inc(x_247); +x_329 = lean_array_push(x_328, x_247); +lean_inc(x_219); +x_330 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_330, 0, x_219); +lean_ctor_set(x_330, 1, x_279); +lean_ctor_set(x_330, 2, x_329); +x_331 = lean_array_push(x_306, x_330); +lean_inc(x_247); +x_332 = lean_array_push(x_331, x_247); +lean_inc(x_247); +x_333 = lean_array_push(x_332, x_247); +x_334 = lean_array_push(x_333, x_247); +lean_inc(x_219); +x_335 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_335, 0, x_219); +lean_ctor_set(x_335, 1, x_249); +lean_ctor_set(x_335, 2, x_334); +x_336 = lean_array_push(x_318, x_335); +x_337 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_337, 0, x_219); +lean_ctor_set(x_337, 1, x_228); +lean_ctor_set(x_337, 2, x_336); +x_338 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_337, x_17, x_18, x_226); +return x_338; } else { -lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; lean_object* x_352; lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_dec(x_29); -x_338 = lean_ctor_get(x_295, 0); -lean_inc(x_338); -lean_dec(x_295); -x_339 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__24; -x_340 = l_Lean_Name_str___override(x_4, x_339); -x_341 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__18; -x_342 = l_String_intercalate(x_341, x_338); -x_343 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__19; -x_344 = lean_string_append(x_343, x_342); -lean_dec(x_342); -x_345 = l_Lean_Syntax_mkNameLit(x_344, x_54); -x_346 = lean_array_push(x_56, x_345); -x_347 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_347, 0, x_54); -lean_ctor_set(x_347, 1, x_340); -lean_ctor_set(x_347, 2, x_346); -x_348 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__10; -x_349 = lean_array_push(x_348, x_347); -x_350 = lean_array_push(x_349, x_297); -x_351 = lean_array_push(x_350, x_299); -x_352 = lean_array_push(x_351, x_37); -lean_inc(x_218); -x_353 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_353, 0, x_218); -lean_ctor_set(x_353, 1, x_6); -lean_ctor_set(x_353, 2, x_352); -x_354 = lean_array_push(x_300, x_353); -lean_inc(x_218); -x_355 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_355, 0, x_218); -lean_ctor_set(x_355, 1, x_282); -lean_ctor_set(x_355, 2, x_354); -x_356 = lean_array_push(x_301, x_355); -lean_inc(x_246); -x_357 = lean_array_push(x_356, x_246); -lean_inc(x_218); -x_358 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_358, 0, x_218); -lean_ctor_set(x_358, 1, x_278); -lean_ctor_set(x_358, 2, x_357); -x_359 = lean_array_push(x_305, x_358); -lean_inc(x_246); -x_360 = lean_array_push(x_359, x_246); -lean_inc(x_246); -x_361 = lean_array_push(x_360, x_246); -x_362 = lean_array_push(x_361, x_246); -lean_inc(x_218); -x_363 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_363, 0, x_218); -lean_ctor_set(x_363, 1, x_248); -lean_ctor_set(x_363, 2, x_362); -x_364 = lean_array_push(x_317, x_363); -x_365 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_365, 0, x_218); -lean_ctor_set(x_365, 1, x_227); -lean_ctor_set(x_365, 2, x_364); -x_366 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_365, x_17, x_18, x_225); -return x_366; +x_339 = lean_ctor_get(x_296, 0); +lean_inc(x_339); +lean_dec(x_296); +x_340 = l_Subarray_forInUnsafe_loop___at___private_Lean_Elab_Syntax_0__Lean_Elab_Term_mkParserSeq___spec__1___closed__24; +x_341 = l_Lean_Name_str___override(x_4, x_340); +x_342 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__18; +x_343 = l_String_intercalate(x_342, x_339); +x_344 = l_Lean_Elab_Term_ensureUnaryOutput___lambda__1___closed__19; +x_345 = lean_string_append(x_344, x_343); +lean_dec(x_343); +x_346 = l_Lean_Syntax_mkNameLit(x_345, x_55); +x_347 = lean_array_push(x_57, x_346); +x_348 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_348, 0, x_55); +lean_ctor_set(x_348, 1, x_341); +lean_ctor_set(x_348, 2, x_347); +x_349 = l_Lean_Elab_Term_toParserDescr_processSepBy1___lambda__1___closed__10; +x_350 = lean_array_push(x_349, x_348); +x_351 = lean_array_push(x_350, x_298); +x_352 = lean_array_push(x_351, x_300); +x_353 = lean_array_push(x_352, x_38); +lean_inc(x_219); +x_354 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_354, 0, x_219); +lean_ctor_set(x_354, 1, x_6); +lean_ctor_set(x_354, 2, x_353); +x_355 = lean_array_push(x_301, x_354); +lean_inc(x_219); +x_356 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_356, 0, x_219); +lean_ctor_set(x_356, 1, x_283); +lean_ctor_set(x_356, 2, x_355); +x_357 = lean_array_push(x_302, x_356); +lean_inc(x_247); +x_358 = lean_array_push(x_357, x_247); +lean_inc(x_219); +x_359 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_359, 0, x_219); +lean_ctor_set(x_359, 1, x_279); +lean_ctor_set(x_359, 2, x_358); +x_360 = lean_array_push(x_306, x_359); +lean_inc(x_247); +x_361 = lean_array_push(x_360, x_247); +lean_inc(x_247); +x_362 = lean_array_push(x_361, x_247); +x_363 = lean_array_push(x_362, x_247); +lean_inc(x_219); +x_364 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_364, 0, x_219); +lean_ctor_set(x_364, 1, x_249); +lean_ctor_set(x_364, 2, x_363); +x_365 = lean_array_push(x_318, x_364); +x_366 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_366, 0, x_219); +lean_ctor_set(x_366, 1, x_228); +lean_ctor_set(x_366, 2, x_365); +x_367 = l_Lean_Elab_Command_elabSyntax___lambda__3(x_8, x_366, x_17, x_18, x_226); +return x_367; } } } @@ -18907,8 +18918,8 @@ return x_366; } else { -uint8_t x_376; -lean_dec(x_32); +uint8_t x_378; +lean_dec(x_33); lean_dec(x_29); lean_dec(x_25); lean_dec(x_22); @@ -18926,30 +18937,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_376 = !lean_is_exclusive(x_34); -if (x_376 == 0) +x_378 = !lean_is_exclusive(x_35); +if (x_378 == 0) { -return x_34; +return x_35; } else { -lean_object* x_377; lean_object* x_378; lean_object* x_379; -x_377 = lean_ctor_get(x_34, 0); -x_378 = lean_ctor_get(x_34, 1); -lean_inc(x_378); -lean_inc(x_377); -lean_dec(x_34); -x_379 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_379, 0, x_377); -lean_ctor_set(x_379, 1, x_378); -return x_379; +lean_object* x_379; lean_object* x_380; lean_object* x_381; +x_379 = lean_ctor_get(x_35, 0); +x_380 = lean_ctor_get(x_35, 1); +lean_inc(x_380); +lean_inc(x_379); +lean_dec(x_35); +x_381 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_381, 0, x_379); +lean_ctor_set(x_381, 1, x_380); +return x_381; } } } } else { -uint8_t x_382; +uint8_t x_384; lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); @@ -18967,23 +18978,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_382 = !lean_is_exclusive(x_21); -if (x_382 == 0) +x_384 = !lean_is_exclusive(x_21); +if (x_384 == 0) { return x_21; } else { -lean_object* x_383; lean_object* x_384; lean_object* x_385; -x_383 = lean_ctor_get(x_21, 0); -x_384 = lean_ctor_get(x_21, 1); -lean_inc(x_384); -lean_inc(x_383); +lean_object* x_385; lean_object* x_386; lean_object* x_387; +x_385 = lean_ctor_get(x_21, 0); +x_386 = lean_ctor_get(x_21, 1); +lean_inc(x_386); +lean_inc(x_385); lean_dec(x_21); -x_385 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_385, 0, x_383); -lean_ctor_set(x_385, 1, x_384); -return x_385; +x_387 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_387, 0, x_385); +lean_ctor_set(x_387, 1, x_386); +return x_387; } } } @@ -22166,15 +22177,16 @@ return x_6; } else { -lean_object* x_7; lean_object* x_8; lean_object* x_9; +lean_object* x_7; uint8_t x_8; lean_object* x_9; lean_object* x_10; x_7 = lean_ctor_get(x_4, 0); lean_inc(x_7); lean_dec(x_4); -x_8 = l_Lean_mkAtomFrom(x_1, x_7); -x_9 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_9, 0, x_8); -lean_ctor_set(x_9, 1, x_3); -return x_9; +x_8 = 0; +x_9 = l_Lean_mkAtomFrom(x_1, x_7, x_8); +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; } } } @@ -22187,7 +22199,7 @@ lean_dec(x_2); return x_4; } } -static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830____closed__1() { +static lean_object* _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832____closed__1() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; @@ -22197,11 +22209,11 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830____closed__1; +x_2 = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832____closed__1; x_3 = 0; x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); return x_4; @@ -23040,9 +23052,9 @@ l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5 = _init_l_ lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__5); l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6 = _init_l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6(); lean_mark_persistent(l_Lean_Elab_Command_expandNoKindMacroRulesAux___lambda__1___closed__6); -l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830____closed__1(); -lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830____closed__1); -res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10830_(lean_io_mk_world()); +l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832____closed__1 = _init_l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832____closed__1(); +lean_mark_persistent(l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832____closed__1); +res = l_Lean_Elab_Command_initFn____x40_Lean_Elab_Syntax___hyg_10832_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c index 4346157d9c..0ed87ac439 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/BuiltinTactic.c @@ -123,7 +123,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalSkip(lean_object*, lean_object*, static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRotateLeft_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace___closed__2; lean_object* l_Lean_log___at_Lean_Elab_Tactic_closeUsingOrAdmit___spec__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_addCompletionInfo___at_Lean_Elab_Tactic_elabSetOption___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_toMessageList(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalClear(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -445,7 +445,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_evalChoice(lean_object* static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSubstVars_declRange___closed__4; lean_object* l_Lean_Elab_Tactic_focus___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalFirst_loop(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_local_ctx_get(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_getAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_MVarId_setTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalWithAnnotateState___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalDbgTrace_declRange___closed__4; @@ -746,7 +746,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalParen___closed__3; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_evalClear___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalTacticSeq_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalAllGoals_declRange___closed__4; -lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkAtomFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalIntros___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalFocus_declRange___closed__5; static lean_object* l_Lean_resolveNamespace___at_Lean_Elab_Tactic_evalOpen___spec__6___closed__1; @@ -2667,7 +2667,7 @@ x_20 = lean_unsigned_to_nat(0u); x_21 = lean_nat_dec_eq(x_5, 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; uint8_t x_31; lean_object* x_32; lean_object* x_70; uint8_t x_71; lean_object* x_72; +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_71; uint8_t x_72; lean_object* x_73; x_22 = lean_unsigned_to_nat(1u); x_23 = lean_nat_sub(x_5, x_22); lean_dec(x_5); @@ -2686,48 +2686,48 @@ if (lean_is_exclusive(x_9)) { x_27 = lean_unsigned_to_nat(2u); x_28 = lean_nat_mul(x_27, x_6); x_29 = l_Lean_Syntax_getArg(x_1, x_28); -x_70 = lean_nat_add(x_28, x_22); +x_71 = lean_nat_add(x_28, x_22); lean_dec(x_28); -x_71 = lean_nat_dec_lt(x_70, x_4); +x_72 = lean_nat_dec_lt(x_71, x_4); lean_inc(x_29); -x_72 = l_Lean_Elab_Tactic_isCheckpointableTactic(x_29, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); -if (x_71 == 0) +x_73 = l_Lean_Elab_Tactic_isCheckpointableTactic(x_29, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17, x_18); +if (x_72 == 0) { -lean_object* x_73; lean_object* x_74; lean_object* x_75; uint8_t x_76; -lean_dec(x_70); -x_73 = lean_ctor_get(x_72, 0); -lean_inc(x_73); -x_74 = lean_ctor_get(x_72, 1); +lean_object* x_74; lean_object* x_75; lean_object* x_76; uint8_t x_77; +lean_dec(x_71); +x_74 = lean_ctor_get(x_73, 0); lean_inc(x_74); -lean_dec(x_72); -x_75 = lean_box(0); -x_76 = lean_unbox(x_73); +x_75 = lean_ctor_get(x_73, 1); +lean_inc(x_75); lean_dec(x_73); -x_30 = x_75; -x_31 = x_76; -x_32 = x_74; -goto block_69; +x_76 = lean_box(0); +x_77 = lean_unbox(x_74); +lean_dec(x_74); +x_30 = x_76; +x_31 = x_77; +x_32 = x_75; +goto block_70; } else { -lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; uint8_t x_81; -x_77 = lean_ctor_get(x_72, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_72, 1); +lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; uint8_t x_82; +x_78 = lean_ctor_get(x_73, 0); lean_inc(x_78); -lean_dec(x_72); -x_79 = lean_array_fget(x_3, x_70); -lean_dec(x_70); -x_80 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_80, 0, x_79); -x_81 = lean_unbox(x_77); -lean_dec(x_77); -x_30 = x_80; -x_31 = x_81; -x_32 = x_78; -goto block_69; +x_79 = lean_ctor_get(x_73, 1); +lean_inc(x_79); +lean_dec(x_73); +x_80 = lean_array_fget(x_3, x_71); +lean_dec(x_71); +x_81 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_81, 0, x_80); +x_82 = lean_unbox(x_78); +lean_dec(x_78); +x_30 = x_81; +x_31 = x_82; +x_32 = x_79; +goto block_70; } -block_69: +block_70: { if (x_31 == 0) { @@ -2776,78 +2776,79 @@ goto _start; } else { -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_42; uint8_t x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; x_42 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__1; +x_43 = 0; lean_inc(x_29); -x_43 = l_Lean_mkAtomFrom(x_29, x_42); -x_44 = lean_array_push(x_24, x_29); -x_45 = lean_box(2); -x_46 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__8; -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_44); -x_48 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__9; -x_49 = lean_array_push(x_48, x_47); -x_50 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__6; -x_51 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_51, 0, x_45); -lean_ctor_set(x_51, 1, x_50); -lean_ctor_set(x_51, 2, x_49); -x_52 = lean_array_push(x_48, x_51); -x_53 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__4; -x_54 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_54, 0, x_45); -lean_ctor_set(x_54, 1, x_53); -lean_ctor_set(x_54, 2, x_52); -x_55 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__10; -x_56 = lean_array_push(x_55, x_43); -x_57 = lean_array_push(x_56, x_54); -x_58 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__2; -x_59 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_59, 0, x_45); -lean_ctor_set(x_59, 1, x_58); -lean_ctor_set(x_59, 2, x_57); -x_60 = lean_array_push(x_25, x_59); +x_44 = l_Lean_mkAtomFrom(x_29, x_42, x_43); +x_45 = lean_array_push(x_24, x_29); +x_46 = lean_box(2); +x_47 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__8; +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_45); +x_49 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__9; +x_50 = lean_array_push(x_49, x_48); +x_51 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__6; +x_52 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_52, 0, x_46); +lean_ctor_set(x_52, 1, x_51); +lean_ctor_set(x_52, 2, x_50); +x_53 = lean_array_push(x_49, x_52); +x_54 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__4; +x_55 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_55, 0, x_46); +lean_ctor_set(x_55, 1, x_54); +lean_ctor_set(x_55, 2, x_53); +x_56 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__10; +x_57 = lean_array_push(x_56, x_44); +x_58 = lean_array_push(x_57, x_55); +x_59 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_addCheckpoints___spec__1___closed__2; +x_60 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_60, 0, x_46); +lean_ctor_set(x_60, 1, x_59); +lean_ctor_set(x_60, 2, x_58); +x_61 = lean_array_push(x_25, x_60); if (lean_obj_tag(x_30) == 0) { -lean_object* x_61; lean_object* x_62; +lean_object* x_62; lean_object* x_63; lean_inc(x_2); if (lean_is_scalar(x_26)) { - x_61 = lean_alloc_ctor(0, 2, 0); + x_62 = lean_alloc_ctor(0, 2, 0); } else { - x_61 = x_26; + x_62 = x_26; } -lean_ctor_set(x_61, 0, x_2); -lean_ctor_set(x_61, 1, x_60); -x_62 = lean_nat_add(x_6, x_8); +lean_ctor_set(x_62, 0, x_2); +lean_ctor_set(x_62, 1, x_61); +x_63 = lean_nat_add(x_6, x_8); lean_dec(x_6); x_5 = x_23; -x_6 = x_62; -x_9 = x_61; +x_6 = x_63; +x_9 = x_62; x_18 = x_32; goto _start; } else { -lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_64 = lean_ctor_get(x_30, 0); -lean_inc(x_64); +lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; +x_65 = lean_ctor_get(x_30, 0); +lean_inc(x_65); lean_dec(x_30); -x_65 = lean_array_push(x_60, x_64); +x_66 = lean_array_push(x_61, x_65); lean_inc(x_2); if (lean_is_scalar(x_26)) { - x_66 = lean_alloc_ctor(0, 2, 0); + x_67 = lean_alloc_ctor(0, 2, 0); } else { - x_66 = x_26; + x_67 = x_26; } -lean_ctor_set(x_66, 0, x_2); -lean_ctor_set(x_66, 1, x_65); -x_67 = lean_nat_add(x_6, x_8); +lean_ctor_set(x_67, 0, x_2); +lean_ctor_set(x_67, 1, x_66); +x_68 = lean_nat_add(x_6, x_8); lean_dec(x_6); x_5 = x_23; -x_6 = x_67; -x_9 = x_66; +x_6 = x_68; +x_9 = x_67; x_18 = x_32; goto _start; } @@ -2856,18 +2857,6 @@ goto _start; } else { -lean_object* x_82; -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_2); -x_82 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_82, 0, x_9); -lean_ctor_set(x_82, 1, x_18); -return x_82; -} -} -else -{ lean_object* x_83; lean_dec(x_6); lean_dec(x_5); @@ -2878,6 +2867,18 @@ lean_ctor_set(x_83, 1, x_18); return x_83; } } +else +{ +lean_object* x_84; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_2); +x_84 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_84, 0, x_9); +lean_ctor_set(x_84, 1, x_18); +return x_84; +} +} } LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Tactic_addCheckpoints___spec__2(lean_object* x_1, size_t x_2, size_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { _start: @@ -16649,15 +16650,16 @@ return x_12; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___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) { @@ -21321,7 +21323,8 @@ x_32 = lean_nat_sub(x_1, x_3); x_33 = lean_nat_sub(x_32, x_19); lean_dec(x_32); lean_inc(x_31); -x_34 = lean_local_ctx_get(x_31, x_33); +x_34 = l_Lean_LocalContext_getAt_x3f(x_31, x_33); +lean_dec(x_33); if (lean_obj_tag(x_34) == 0) { lean_object* x_35; @@ -21762,7 +21765,8 @@ x_118 = lean_nat_sub(x_1, x_3); x_119 = lean_nat_sub(x_118, x_19); lean_dec(x_118); lean_inc(x_117); -x_120 = lean_local_ctx_get(x_117, x_119); +x_120 = l_Lean_LocalContext_getAt_x3f(x_117, x_119); +lean_dec(x_119); if (lean_obj_tag(x_120) == 0) { lean_object* x_121; lean_object* x_122; @@ -22208,7 +22212,8 @@ x_201 = lean_nat_sub(x_1, x_3); x_202 = lean_nat_sub(x_201, x_19); lean_dec(x_201); lean_inc(x_199); -x_203 = lean_local_ctx_get(x_199, x_202); +x_203 = l_Lean_LocalContext_getAt_x3f(x_199, x_202); +lean_dec(x_202); if (lean_obj_tag(x_203) == 0) { lean_object* x_204; lean_object* x_205; lean_object* x_206; @@ -22671,7 +22676,8 @@ x_287 = lean_nat_sub(x_1, x_3); x_288 = lean_nat_sub(x_287, x_19); lean_dec(x_287); lean_inc(x_285); -x_289 = lean_local_ctx_get(x_285, x_288); +x_289 = l_Lean_LocalContext_getAt_x3f(x_285, x_288); +lean_dec(x_288); if (lean_obj_tag(x_289) == 0) { lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c index eb9d76a924..19e6a64ab3 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Basic.c @@ -31,9 +31,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq___close static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRange___closed__7; lean_object* l_Lean_stringToMessageData(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_mkLHSGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_convert___closed__3; lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRange(lean_object*); +lean_object* l_Lean_mkLHSGoalRaw(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__14; @@ -57,7 +59,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__5; static lean_object* l_Lean_Elab_Tactic_Conv_evalReduce___rarg___closed__1; lean_object* l_Lean_Meta_zetaReduce___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__12; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); lean_object* l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__4; @@ -67,13 +69,13 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeq(lean_object*, lean_ lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_evalExact___spec__1___rarg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRange___closed__3; -lean_object* l_Lean_mkLHSGoal(lean_object*); lean_object* l_Lean_Meta_saveState___rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq___closed__5; static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__9; +lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalNestedTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__4; @@ -83,6 +85,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_changeLhs(lean_object*, lean_ob LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Basic_0__Lean_Elab_Tactic_Conv_convTarget___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_changeLhs___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__13; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq___closed__1; @@ -134,9 +137,11 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__8; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRange___closed__1; static lean_object* l_Lean_Elab_Tactic_Conv_evalZeta___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__1; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvConvSeq___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_markAsConvGoal___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__2; @@ -148,6 +153,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_declRa lean_object* l___private_Lean_Meta_Tactic_Replace_0__Lean_Meta_replaceLocalDeclCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declRange___closed__4; lean_object* l_Lean_Elab_Tactic_focus___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -161,6 +167,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen(lean_obj static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__17; lean_object* l_Lean_Elab_Tactic_closeUsingOrAdmit(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalNestedTactic___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta___closed__2; @@ -171,12 +178,13 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRange___closed__2; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Basic_0__Lean_Elab_Tactic_Conv_convTarget___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore_declRange___closed__4; lean_object* l_Lean_Elab_Tactic_getUnsolvedGoals(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainTarget(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalFirst(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce___closed__4; static lean_object* l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__6; @@ -211,18 +219,22 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRange___cl static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce___closed__1; static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__8; static lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore___lambda__1___closed__2; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_Conv_convert___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvConvSeq(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__4; lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv___closed__5; +uint8_t l_Lean_Expr_isAppOfArity(lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore_declRange___closed__7; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalZeta___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalFirst___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore_declRange(lean_object*); @@ -241,6 +253,7 @@ lean_object* lean_whnf(lean_object*, lean_object*, lean_object*, lean_object*, l static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_getLhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__2; lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_of_nat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeq1Indented(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -304,6 +317,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracketed_de static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__20; static lean_object* l_Lean_Elab_Tactic_Conv_evalZeta___rarg___lambda__1___closed__1; lean_object* l_Lean_Meta_mkEqTrans(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRange___closed__3; lean_object* l_Lean_Meta_getLocalDeclFromUserName(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_declRange___closed__5; @@ -317,10 +331,12 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRange___cl LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_getLhsRhsCore___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___closed__1; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__7; uint8_t l_Lean_Syntax_isNone(lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRange___closed__7; @@ -374,6 +390,7 @@ lean_object* l_Lean_Meta_mkEq(lean_object*, lean_object*, lean_object*, lean_obj LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalWhnf___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticCore(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRange(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq(lean_object*); @@ -386,146 +403,246 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalReduce___boxed(lean_object* static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__16; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRange(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvTactic___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_declRange___closed__5; +static lean_object* l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__2; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRange(lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvConvSeq___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented_declRange___closed__4; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq___closed__3; +static lean_object* l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalNestedConv(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRange___closed__3; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +static lean_object* _init_l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__1() { _start: { -lean_object* x_7; -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); -lean_inc(x_1); -x_7 = lean_infer_type(x_1, x_2, x_3, x_4, x_5, x_6); -if (lean_obj_tag(x_7) == 0) +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("Eq", 2); +return x_1; +} +} +static lean_object* _init_l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__2() { +_start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; uint8_t x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_8 = lean_ctor_get(x_7, 0); -lean_inc(x_8); -x_9 = lean_ctor_get(x_7, 1); -lean_inc(x_9); -lean_dec(x_7); -x_10 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_10, 0, x_8); -x_11 = 0; -x_12 = lean_box(0); -lean_inc(x_2); -x_13 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_10, x_11, x_12, x_2, x_3, x_4, x_5, x_9); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_box(0); +x_2 = l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_mkLHSGoal(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { +_start: +{ +lean_object* x_7; lean_object* x_8; uint8_t x_9; +x_7 = l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__2; +x_8 = lean_unsigned_to_nat(3u); +x_9 = l_Lean_Expr_isAppOfArity(x_1, x_7, x_8); +if (x_9 == 0) +{ +lean_object* x_10; +x_10 = lean_whnf(x_1, x_2, x_3, x_4, x_5, x_6); +if (lean_obj_tag(x_10) == 0) +{ +uint8_t x_11; +x_11 = !lean_is_exclusive(x_10); +if (x_11 == 0) +{ +lean_object* x_12; lean_object* x_13; +x_12 = lean_ctor_get(x_10, 0); +x_13 = l_Lean_mkLHSGoalRaw(x_12); +lean_ctor_set(x_10, 0, x_13); +return x_10; +} +else +{ +lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_14 = lean_ctor_get(x_10, 0); +x_15 = lean_ctor_get(x_10, 1); lean_inc(x_15); -lean_dec(x_13); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_2); lean_inc(x_14); -x_16 = l_Lean_Meta_mkEq(x_1, x_14, x_2, x_3, x_4, x_5, x_15); -if (lean_obj_tag(x_16) == 0) +lean_dec(x_10); +x_16 = l_Lean_mkLHSGoalRaw(x_14); +x_17 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_17, 0, x_16); +lean_ctor_set(x_17, 1, x_15); +return x_17; +} +} +else { -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; -x_17 = lean_ctor_get(x_16, 0); -lean_inc(x_17); -x_18 = lean_ctor_get(x_16, 1); -lean_inc(x_18); -lean_dec(x_16); -x_19 = l_Lean_mkLHSGoal(x_17); -x_20 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_19, x_12, x_2, x_3, x_4, x_5, x_18); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_21 = !lean_is_exclusive(x_20); -if (x_21 == 0) +uint8_t x_18; +x_18 = !lean_is_exclusive(x_10); +if (x_18 == 0) +{ +return x_10; +} +else +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_10, 0); +x_20 = lean_ctor_get(x_10, 1); +lean_inc(x_20); +lean_inc(x_19); +lean_dec(x_10); +x_21 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +return x_21; +} +} +} +else { lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_20, 0); -x_23 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_23, 0, x_14); -lean_ctor_set(x_23, 1, x_22); -lean_ctor_set(x_20, 0, x_23); -return x_20; -} -else -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_24 = lean_ctor_get(x_20, 0); -x_25 = lean_ctor_get(x_20, 1); -lean_inc(x_25); -lean_inc(x_24); -lean_dec(x_20); -x_26 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_26, 0, x_14); -lean_ctor_set(x_26, 1, x_24); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_25); -return x_27; -} -} -else -{ -uint8_t x_28; -lean_dec(x_14); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_28 = !lean_is_exclusive(x_16); -if (x_28 == 0) +x_22 = l_Lean_mkLHSGoalRaw(x_1); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_22); +lean_ctor_set(x_23, 1, x_6); +return x_23; +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object* x_1, 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: { -return x_16; +lean_object* x_8; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_1); +x_8 = lean_infer_type(x_1, x_3, x_4, x_5, x_6, x_7); +if (lean_obj_tag(x_8) == 0) +{ +lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; +x_9 = lean_ctor_get(x_8, 0); +lean_inc(x_9); +x_10 = lean_ctor_get(x_8, 1); +lean_inc(x_10); +lean_dec(x_8); +x_11 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_11, 0, x_9); +x_12 = 0; +x_13 = lean_box(0); +lean_inc(x_3); +x_14 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_11, x_12, x_13, x_3, x_4, x_5, x_6, x_10); +x_15 = lean_ctor_get(x_14, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_14, 1); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_15); +x_17 = l_Lean_Meta_mkEq(x_1, x_15, x_3, x_4, x_5, x_6, x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_22; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_mkLHSGoalRaw(x_18); +x_21 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_20, x_2, x_3, x_4, x_5, x_6, x_19); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_22 = !lean_is_exclusive(x_21); +if (x_22 == 0) +{ +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_21, 0); +x_24 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_24, 0, x_15); +lean_ctor_set(x_24, 1, x_23); +lean_ctor_set(x_21, 0, x_24); +return x_21; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_29 = lean_ctor_get(x_16, 0); -x_30 = lean_ctor_get(x_16, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_25 = lean_ctor_get(x_21, 0); +x_26 = lean_ctor_get(x_21, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_21); +x_27 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_27, 0, x_15); +lean_ctor_set(x_27, 1, x_25); +x_28 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +return x_28; +} +} +else +{ +uint8_t x_29; +lean_dec(x_15); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_29 = !lean_is_exclusive(x_17); +if (x_29 == 0) +{ +return x_17; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_17, 0); +x_31 = lean_ctor_get(x_17, 1); +lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); -lean_dec(x_16); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_29); -lean_ctor_set(x_31, 1, x_30); -return x_31; +lean_dec(x_17); +x_32 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +return x_32; } } } else { -uint8_t x_32; +uint8_t x_33; +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_32 = !lean_is_exclusive(x_7); -if (x_32 == 0) +x_33 = !lean_is_exclusive(x_8); +if (x_33 == 0) { -return x_7; +return x_8; } else { -lean_object* x_33; lean_object* x_34; lean_object* x_35; -x_33 = lean_ctor_get(x_7, 0); -x_34 = lean_ctor_get(x_7, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_8, 0); +x_35 = lean_ctor_get(x_8, 1); +lean_inc(x_35); lean_inc(x_34); -lean_inc(x_33); -lean_dec(x_7); -x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_33); -lean_ctor_set(x_35, 1, x_34); -return x_35; +lean_dec(x_8); +x_36 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_36, 0, x_34); +lean_ctor_set(x_36, 1, x_35); +return x_36; } } } @@ -538,41 +655,81 @@ lean_inc(x_1); x_8 = l_Lean_MVarId_getType(x_1, x_3, x_4, x_5, x_6, x_7); if (lean_obj_tag(x_8) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_ctor_get(x_8, 0); lean_inc(x_9); x_10 = lean_ctor_get(x_8, 1); lean_inc(x_10); lean_dec(x_8); -x_11 = l_Lean_mkLHSGoal(x_9); -x_12 = l_Lean_MVarId_replaceTargetDefEq(x_1, x_11, x_3, x_4, x_5, x_6, x_10); -return x_12; +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_11 = l_Lean_Elab_Tactic_Conv_mkLHSGoal(x_9, x_3, x_4, x_5, x_6, x_10); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_12; lean_object* x_13; lean_object* x_14; +x_12 = lean_ctor_get(x_11, 0); +lean_inc(x_12); +x_13 = lean_ctor_get(x_11, 1); +lean_inc(x_13); +lean_dec(x_11); +x_14 = l_Lean_MVarId_replaceTargetDefEq(x_1, x_12, x_3, x_4, x_5, x_6, x_13); +return x_14; } else { -uint8_t x_13; +uint8_t x_15; lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_13 = !lean_is_exclusive(x_8); -if (x_13 == 0) +x_15 = !lean_is_exclusive(x_11); +if (x_15 == 0) +{ +return x_11; +} +else +{ +lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_16 = lean_ctor_get(x_11, 0); +x_17 = lean_ctor_get(x_11, 1); +lean_inc(x_17); +lean_inc(x_16); +lean_dec(x_11); +x_18 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_18, 0, x_16); +lean_ctor_set(x_18, 1, x_17); +return x_18; +} +} +} +else +{ +uint8_t x_19; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_19 = !lean_is_exclusive(x_8); +if (x_19 == 0) { return x_8; } else { -lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_14 = lean_ctor_get(x_8, 0); -x_15 = lean_ctor_get(x_8, 1); -lean_inc(x_15); -lean_inc(x_14); +lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_20 = lean_ctor_get(x_8, 0); +x_21 = lean_ctor_get(x_8, 1); +lean_inc(x_21); +lean_inc(x_20); lean_dec(x_8); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_14); -lean_ctor_set(x_16, 1, x_15); -return x_16; +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_20); +lean_ctor_set(x_22, 1, x_21); +return x_22; } } } @@ -845,48 +1002,49 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_convert(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { -lean_object* x_12; +lean_object* x_12; lean_object* x_13; +x_12 = lean_box(0); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_12 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_7, x_8, x_9, x_10, x_11); -if (lean_obj_tag(x_12) == 0) +x_13 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_12, x_7, x_8, x_9, x_10, x_11); +if (lean_obj_tag(x_13) == 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_40; lean_object* x_41; lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_13 = lean_ctor_get(x_12, 0); -lean_inc(x_13); -x_14 = lean_ctor_get(x_12, 1); +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_41; lean_object* x_42; lean_object* x_49; lean_object* x_50; lean_object* x_51; +x_14 = lean_ctor_get(x_13, 0); lean_inc(x_14); -lean_dec(x_12); -x_15 = lean_ctor_get(x_13, 0); +x_15 = lean_ctor_get(x_13, 1); lean_inc(x_15); -x_16 = lean_ctor_get(x_13, 1); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); lean_inc(x_16); -if (lean_is_exclusive(x_13)) { - lean_ctor_release(x_13, 0); - lean_ctor_release(x_13, 1); - x_17 = x_13; +x_17 = lean_ctor_get(x_14, 1); +lean_inc(x_17); +if (lean_is_exclusive(x_14)) { + lean_ctor_release(x_14, 0); + lean_ctor_release(x_14, 1); + x_18 = x_14; } else { - lean_dec_ref(x_13); - x_17 = lean_box(0); + lean_dec_ref(x_14); + x_18 = lean_box(0); } -x_18 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); -x_19 = lean_ctor_get(x_18, 0); -lean_inc(x_19); -x_20 = lean_ctor_get(x_18, 1); +x_19 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_15); +x_20 = lean_ctor_get(x_19, 0); lean_inc(x_20); -lean_dec(x_18); -lean_inc(x_16); -x_21 = l_Lean_Expr_mvarId_x21(x_16); -x_22 = lean_box(0); -x_23 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_23, 0, x_21); -lean_ctor_set(x_23, 1, x_22); -x_48 = l_Lean_Elab_Tactic_setGoals(x_23, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_20); -x_49 = lean_ctor_get(x_48, 1); -lean_inc(x_49); -lean_dec(x_48); +x_21 = lean_ctor_get(x_19, 1); +lean_inc(x_21); +lean_dec(x_19); +lean_inc(x_17); +x_22 = l_Lean_Expr_mvarId_x21(x_17); +x_23 = lean_box(0); +x_24 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_24, 0, x_22); +lean_ctor_set(x_24, 1, x_23); +x_49 = l_Lean_Elab_Tactic_setGoals(x_24, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_21); +x_50 = lean_ctor_get(x_49, 1); +lean_inc(x_50); +lean_dec(x_49); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -895,75 +1053,75 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_50 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_49); -if (lean_obj_tag(x_50) == 0) +x_51 = lean_apply_9(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_50); +if (lean_obj_tag(x_51) == 0) { -lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; uint8_t x_64; -x_51 = lean_ctor_get(x_50, 1); -lean_inc(x_51); -lean_dec(x_50); -x_52 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_51); -x_53 = lean_ctor_get(x_52, 0); -lean_inc(x_53); -x_54 = lean_ctor_get(x_52, 1); +lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_52 = lean_ctor_get(x_51, 1); +lean_inc(x_52); +lean_dec(x_51); +x_53 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_52); +x_54 = lean_ctor_get(x_53, 0); lean_inc(x_54); -lean_dec(x_52); -x_55 = lean_box(0); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +x_56 = lean_box(0); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_56 = l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1(x_53, x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_54); -x_57 = lean_ctor_get(x_56, 1); -lean_inc(x_57); -lean_dec(x_56); -x_58 = l_Lean_Elab_Tactic_pruneSolvedGoals(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_57); -x_59 = lean_ctor_get(x_58, 1); -lean_inc(x_59); -lean_dec(x_58); -x_60 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_59); -x_61 = lean_ctor_get(x_60, 0); -lean_inc(x_61); -x_62 = lean_ctor_get(x_60, 1); +x_57 = l_List_forIn_loop___at_Lean_Elab_Tactic_Conv_convert___spec__1(x_54, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_55); +x_58 = lean_ctor_get(x_57, 1); +lean_inc(x_58); +lean_dec(x_57); +x_59 = l_Lean_Elab_Tactic_pruneSolvedGoals(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_58); +x_60 = lean_ctor_get(x_59, 1); +lean_inc(x_60); +lean_dec(x_59); +x_61 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_60); +x_62 = lean_ctor_get(x_61, 0); lean_inc(x_62); -lean_dec(x_60); -x_63 = l_Lean_Elab_Tactic_Conv_convert___closed__1; -x_64 = l_List_isEmpty___rarg(x_61); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); lean_dec(x_61); -if (x_64 == 0) +x_64 = l_Lean_Elab_Tactic_Conv_convert___closed__1; +x_65 = l_List_isEmpty___rarg(x_62); +lean_dec(x_62); +if (x_65 == 0) { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +lean_object* x_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_dec(x_18); lean_dec(x_17); lean_dec(x_16); -lean_dec(x_15); -x_65 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_62); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); +x_66 = l_Lean_Elab_Tactic_getGoals___rarg(x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_63); +x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -lean_dec(x_65); -x_68 = l_Lean_Elab_goalsToMessageData(x_66); -x_69 = l_Lean_Elab_Tactic_Conv_convert___closed__3; -x_70 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_68); -x_71 = l_Lean_Elab_Tactic_Conv_convert___closed__5; -x_72 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_72, 0, x_70); -lean_ctor_set(x_72, 1, x_71); -x_73 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_72, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_67); -x_74 = lean_ctor_get(x_73, 0); -lean_inc(x_74); -x_75 = lean_ctor_get(x_73, 1); +x_68 = lean_ctor_get(x_66, 1); +lean_inc(x_68); +lean_dec(x_66); +x_69 = l_Lean_Elab_goalsToMessageData(x_67); +x_70 = l_Lean_Elab_Tactic_Conv_convert___closed__3; +x_71 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_71, 0, x_70); +lean_ctor_set(x_71, 1, x_69); +x_72 = l_Lean_Elab_Tactic_Conv_convert___closed__5; +x_73 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_73, 0, x_71); +lean_ctor_set(x_73, 1, x_72); +x_74 = l_Lean_throwError___at_Lean_Elab_Tactic_evalTactic___spec__2(x_73, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_68); +x_75 = lean_ctor_get(x_74, 0); lean_inc(x_75); -lean_dec(x_73); -x_40 = x_74; +x_76 = lean_ctor_get(x_74, 1); +lean_inc(x_76); +lean_dec(x_74); x_41 = x_75; -goto block_47; +x_42 = x_76; +goto block_48; } else { -lean_object* x_76; +lean_object* x_77; lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -972,66 +1130,66 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_76 = lean_apply_10(x_63, x_55, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_62); -if (lean_obj_tag(x_76) == 0) +x_77 = lean_apply_10(x_64, x_56, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_63); +if (lean_obj_tag(x_77) == 0) { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_76, 0); -lean_inc(x_77); -x_78 = lean_ctor_get(x_76, 1); +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_77, 0); lean_inc(x_78); -lean_dec(x_76); -x_24 = x_77; -x_25 = x_78; -goto block_39; -} -else -{ -lean_object* x_79; lean_object* x_80; -lean_dec(x_17); -lean_dec(x_16); -lean_dec(x_15); -x_79 = lean_ctor_get(x_76, 0); +x_79 = lean_ctor_get(x_77, 1); lean_inc(x_79); -x_80 = lean_ctor_get(x_76, 1); -lean_inc(x_80); -lean_dec(x_76); -x_40 = x_79; -x_41 = x_80; -goto block_47; -} -} +lean_dec(x_77); +x_25 = x_78; +x_26 = x_79; +goto block_40; } else { -lean_object* x_81; lean_object* x_82; +lean_object* x_80; lean_object* x_81; +lean_dec(x_18); lean_dec(x_17); lean_dec(x_16); -lean_dec(x_15); -x_81 = lean_ctor_get(x_50, 0); +x_80 = lean_ctor_get(x_77, 0); +lean_inc(x_80); +x_81 = lean_ctor_get(x_77, 1); lean_inc(x_81); -x_82 = lean_ctor_get(x_50, 1); +lean_dec(x_77); +x_41 = x_80; +x_42 = x_81; +goto block_48; +} +} +} +else +{ +lean_object* x_82; lean_object* x_83; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +x_82 = lean_ctor_get(x_51, 0); lean_inc(x_82); -lean_dec(x_50); -x_40 = x_81; +x_83 = lean_ctor_get(x_51, 1); +lean_inc(x_83); +lean_dec(x_51); x_41 = x_82; -goto block_47; +x_42 = x_83; +goto block_48; } -block_39: +block_40: { -lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -lean_dec(x_24); -x_26 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_25); -x_27 = lean_ctor_get(x_26, 1); -lean_inc(x_27); -lean_dec(x_26); -x_28 = l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1(x_15, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_27); -x_29 = lean_ctor_get(x_28, 0); -lean_inc(x_29); -x_30 = lean_ctor_get(x_28, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_dec(x_25); +x_27 = l_Lean_Elab_Tactic_setGoals(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_26); +x_28 = lean_ctor_get(x_27, 1); +lean_inc(x_28); +lean_dec(x_27); +x_29 = l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28); +x_30 = lean_ctor_get(x_29, 0); lean_inc(x_30); -lean_dec(x_28); -x_31 = l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1(x_16, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_30); +x_31 = lean_ctor_get(x_29, 1); +lean_inc(x_31); +lean_dec(x_29); +x_32 = l_Lean_instantiateMVars___at_Lean_Elab_Tactic_getMainTarget___spec__1(x_17, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_31); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1040,46 +1198,46 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_32 = !lean_is_exclusive(x_31); -if (x_32 == 0) +x_33 = !lean_is_exclusive(x_32); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; -x_33 = lean_ctor_get(x_31, 0); -if (lean_is_scalar(x_17)) { - x_34 = lean_alloc_ctor(0, 2, 0); +lean_object* x_34; lean_object* x_35; +x_34 = lean_ctor_get(x_32, 0); +if (lean_is_scalar(x_18)) { + x_35 = lean_alloc_ctor(0, 2, 0); } else { - x_34 = x_17; + x_35 = x_18; } -lean_ctor_set(x_34, 0, x_29); -lean_ctor_set(x_34, 1, x_33); -lean_ctor_set(x_31, 0, x_34); -return x_31; +lean_ctor_set(x_35, 0, x_30); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_32, 0, x_35); +return x_32; } else { -lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_35 = lean_ctor_get(x_31, 0); -x_36 = lean_ctor_get(x_31, 1); +lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +x_36 = lean_ctor_get(x_32, 0); +x_37 = lean_ctor_get(x_32, 1); +lean_inc(x_37); lean_inc(x_36); -lean_inc(x_35); -lean_dec(x_31); -if (lean_is_scalar(x_17)) { - x_37 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_32); +if (lean_is_scalar(x_18)) { + x_38 = lean_alloc_ctor(0, 2, 0); } else { - x_37 = x_17; + x_38 = x_18; } -lean_ctor_set(x_37, 0, x_29); -lean_ctor_set(x_37, 1, x_35); -x_38 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_38, 0, x_37); +lean_ctor_set(x_38, 0, x_30); lean_ctor_set(x_38, 1, x_36); -return x_38; +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; } } -block_47: +block_48: { -lean_object* x_42; uint8_t x_43; -x_42 = l_Lean_Elab_Tactic_setGoals(x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_41); +lean_object* x_43; uint8_t x_44; +x_43 = l_Lean_Elab_Tactic_setGoals(x_20, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_42); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1088,32 +1246,32 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) { -lean_object* x_44; -x_44 = lean_ctor_get(x_42, 0); -lean_dec(x_44); -lean_ctor_set_tag(x_42, 1); -lean_ctor_set(x_42, 0, x_40); -return x_42; +lean_object* x_45; +x_45 = lean_ctor_get(x_43, 0); +lean_dec(x_45); +lean_ctor_set_tag(x_43, 1); +lean_ctor_set(x_43, 0, x_41); +return x_43; } else { -lean_object* x_45; lean_object* x_46; -x_45 = lean_ctor_get(x_42, 1); -lean_inc(x_45); -lean_dec(x_42); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_40); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_object* x_46; lean_object* x_47; +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); +lean_dec(x_43); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_41); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } } else { -uint8_t x_83; +uint8_t x_84; lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1123,23 +1281,23 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_83 = !lean_is_exclusive(x_12); -if (x_83 == 0) +x_84 = !lean_is_exclusive(x_13); +if (x_84 == 0) { -return x_12; +return x_13; } else { -lean_object* x_84; lean_object* x_85; lean_object* x_86; -x_84 = lean_ctor_get(x_12, 0); -x_85 = lean_ctor_get(x_12, 1); +lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_85 = lean_ctor_get(x_13, 0); +x_86 = lean_ctor_get(x_13, 1); +lean_inc(x_86); lean_inc(x_85); -lean_inc(x_84); -lean_dec(x_12); -x_86 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_86, 0, x_84); -lean_ctor_set(x_86, 1, x_85); -return x_86; +lean_dec(x_13); +x_87 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_87, 0, x_85); +lean_ctor_set(x_87, 1, x_86); +return x_87; } } } @@ -1595,7 +1753,7 @@ lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); lean_inc(x_3); -x_12 = l_Lean_Elab_Tactic_Conv_getRhs(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); +x_12 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11); if (lean_obj_tag(x_12) == 0) { lean_object* x_13; lean_object* x_14; lean_object* x_15; @@ -1608,104 +1766,147 @@ lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); -x_15 = l_Lean_Meta_mkEq(x_1, x_13, x_7, x_8, x_9, x_10, x_14); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +x_15 = l_Lean_Elab_Tactic_Conv_getRhs(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_14); if (lean_obj_tag(x_15) == 0) { -lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; +lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_mkLHSGoal(x_16); -x_19 = lean_box(0); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); lean_inc(x_7); -x_20 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_18, x_19, x_7, x_8, x_9, x_10, x_17); -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); +x_18 = l_Lean_Meta_mkEq(x_1, x_16, x_7, x_8, x_9, x_10, x_17); +if (lean_obj_tag(x_18) == 0) +{ +lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_19 = lean_ctor_get(x_18, 0); +lean_inc(x_19); +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +lean_inc(x_13); +x_21 = l_Lean_MVarId_getTag(x_13, x_7, x_8, x_9, x_10, x_20); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; +x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); -lean_dec(x_20); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = l_Lean_mkLHSGoalRaw(x_19); lean_inc(x_7); -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); -x_23 = l_Lean_Elab_Tactic_getMainGoal(x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_22); -if (lean_obj_tag(x_23) == 0) -{ -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); -lean_inc(x_25); -lean_dec(x_23); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_7); -lean_inc(x_21); -x_26 = l_Lean_Meta_mkEqTrans(x_2, x_21, x_7, x_8, x_9, x_10, x_25); -if (lean_obj_tag(x_26) == 0) -{ -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; -x_27 = lean_ctor_get(x_26, 0); +x_25 = l_Lean_Meta_mkFreshExprSyntheticOpaqueMVar(x_24, x_22, x_7, x_8, x_9, x_10, x_23); +x_26 = lean_ctor_get(x_25, 0); +lean_inc(x_26); +x_27 = lean_ctor_get(x_25, 1); lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); -lean_inc(x_28); -lean_dec(x_26); -x_29 = l_Lean_MVarId_assign___at_Lean_Elab_Tactic_closeMainGoal___spec__1(x_24, x_27, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_28); -x_30 = lean_ctor_get(x_29, 1); +lean_dec(x_25); +lean_inc(x_10); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_26); +x_28 = l_Lean_Meta_mkEqTrans(x_2, x_26, x_7, x_8, x_9, x_10, x_27); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); lean_inc(x_30); -lean_dec(x_29); -x_31 = l_Lean_Expr_mvarId_x21(x_21); -x_32 = lean_box(0); -x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_31); -lean_ctor_set(x_33, 1, x_32); -x_34 = l_Lean_Elab_Tactic_replaceMainGoal(x_33, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_30); -return x_34; +lean_dec(x_28); +x_31 = l_Lean_MVarId_assign___at_Lean_Elab_Tactic_closeMainGoal___spec__1(x_13, x_29, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_30); +x_32 = lean_ctor_get(x_31, 1); +lean_inc(x_32); +lean_dec(x_31); +x_33 = l_Lean_Expr_mvarId_x21(x_26); +x_34 = lean_box(0); +x_35 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_35, 0, x_33); +lean_ctor_set(x_35, 1, x_34); +x_36 = l_Lean_Elab_Tactic_replaceMainGoal(x_35, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_32); +return x_36; } else { -uint8_t x_35; -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -x_35 = !lean_is_exclusive(x_26); -if (x_35 == 0) -{ -return x_26; -} -else -{ -lean_object* x_36; lean_object* x_37; lean_object* x_38; -x_36 = lean_ctor_get(x_26, 0); -x_37 = lean_ctor_get(x_26, 1); -lean_inc(x_37); -lean_inc(x_36); +uint8_t x_37; lean_dec(x_26); -x_38 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_37); -return x_38; +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +x_37 = !lean_is_exclusive(x_28); +if (x_37 == 0) +{ +return x_28; +} +else +{ +lean_object* x_38; lean_object* x_39; lean_object* x_40; +x_38 = lean_ctor_get(x_28, 0); +x_39 = lean_ctor_get(x_28, 1); +lean_inc(x_39); +lean_inc(x_38); +lean_dec(x_28); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +return x_40; } } } else { -uint8_t x_39; +uint8_t x_41; +lean_dec(x_19); +lean_dec(x_13); +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_41 = !lean_is_exclusive(x_21); +if (x_41 == 0) +{ +return x_21; +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_21, 0); +x_43 = lean_ctor_get(x_21, 1); +lean_inc(x_43); +lean_inc(x_42); lean_dec(x_21); +x_44 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_44, 0, x_42); +lean_ctor_set(x_44, 1, x_43); +return x_44; +} +} +} +else +{ +uint8_t x_45; +lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1715,61 +1916,30 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_39 = !lean_is_exclusive(x_23); -if (x_39 == 0) +x_45 = !lean_is_exclusive(x_18); +if (x_45 == 0) { -return x_23; +return x_18; } else { -lean_object* x_40; lean_object* x_41; lean_object* x_42; -x_40 = lean_ctor_get(x_23, 0); -x_41 = lean_ctor_get(x_23, 1); -lean_inc(x_41); -lean_inc(x_40); -lean_dec(x_23); -x_42 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_42, 0, x_40); -lean_ctor_set(x_42, 1, x_41); -return x_42; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_18, 0); +x_47 = lean_ctor_get(x_18, 1); +lean_inc(x_47); +lean_inc(x_46); +lean_dec(x_18); +x_48 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_48, 0, x_46); +lean_ctor_set(x_48, 1, x_47); +return x_48; } } } else { -uint8_t x_43; -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -x_43 = !lean_is_exclusive(x_15); -if (x_43 == 0) -{ -return x_15; -} -else -{ -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_15, 0); -x_45 = lean_ctor_get(x_15, 1); -lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_15); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; -} -} -} -else -{ -uint8_t x_47; +uint8_t x_49; +lean_dec(x_13); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); @@ -1780,23 +1950,56 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_47 = !lean_is_exclusive(x_12); -if (x_47 == 0) +x_49 = !lean_is_exclusive(x_15); +if (x_49 == 0) +{ +return x_15; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_15, 0); +x_51 = lean_ctor_get(x_15, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_15); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +else +{ +uint8_t x_53; +lean_dec(x_10); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_53 = !lean_is_exclusive(x_12); +if (x_53 == 0) { return x_12; } else { -lean_object* x_48; lean_object* x_49; lean_object* x_50; -x_48 = lean_ctor_get(x_12, 0); -x_49 = lean_ctor_get(x_12, 1); -lean_inc(x_49); -lean_inc(x_48); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_12, 0); +x_55 = lean_ctor_get(x_12, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_12); -x_50 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_50, 0, x_48); -lean_ctor_set(x_50, 1, x_49); -return x_50; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -1835,7 +2038,7 @@ lean_inc(x_16); x_17 = lean_ctor_get(x_15, 1); lean_inc(x_17); lean_dec(x_15); -x_18 = l_Lean_mkLHSGoal(x_16); +x_18 = l_Lean_mkLHSGoalRaw(x_16); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); @@ -2325,7 +2528,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(76u); +x_1 = lean_unsigned_to_nat(88u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2337,7 +2540,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(78u); +x_1 = lean_unsigned_to_nat(90u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2365,7 +2568,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(76u); +x_1 = lean_unsigned_to_nat(88u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2377,7 +2580,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(76u); +x_1 = lean_unsigned_to_nat(88u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2618,7 +2821,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(80u); +x_1 = lean_unsigned_to_nat(92u); x_2 = lean_unsigned_to_nat(48u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2630,7 +2833,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(82u); +x_1 = lean_unsigned_to_nat(94u); x_2 = lean_unsigned_to_nat(36u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2658,7 +2861,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(80u); +x_1 = lean_unsigned_to_nat(92u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2670,7 +2873,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalReduce_declRa _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(80u); +x_1 = lean_unsigned_to_nat(92u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2929,7 +3132,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(84u); +x_1 = lean_unsigned_to_nat(96u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2941,7 +3144,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(86u); +x_1 = lean_unsigned_to_nat(98u); x_2 = lean_unsigned_to_nat(40u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2969,7 +3172,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(84u); +x_1 = lean_unsigned_to_nat(96u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -2981,7 +3184,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalZeta_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(84u); +x_1 = lean_unsigned_to_nat(96u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3184,7 +3387,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(96u); +x_1 = lean_unsigned_to_nat(108u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3196,7 +3399,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(97u); +x_1 = lean_unsigned_to_nat(109u); x_2 = lean_unsigned_to_nat(28u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3224,7 +3427,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(96u); +x_1 = lean_unsigned_to_nat(108u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3236,7 +3439,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Inden _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(96u); +x_1 = lean_unsigned_to_nat(108u); x_2 = lean_unsigned_to_nat(82u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3924,7 +4127,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(99u); +x_1 = lean_unsigned_to_nat(111u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3936,7 +4139,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(105u); +x_1 = lean_unsigned_to_nat(117u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3964,7 +4167,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(99u); +x_1 = lean_unsigned_to_nat(111u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -3976,7 +4179,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeqBracke _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(99u); +x_1 = lean_unsigned_to_nat(111u); x_2 = lean_unsigned_to_nat(82u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4101,7 +4304,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(107u); +x_1 = lean_unsigned_to_nat(119u); x_2 = lean_unsigned_to_nat(52u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4113,7 +4316,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(108u); +x_1 = lean_unsigned_to_nat(120u); x_2 = lean_unsigned_to_nat(29u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4141,7 +4344,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(107u); +x_1 = lean_unsigned_to_nat(119u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4153,7 +4356,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedConv_de _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(107u); +x_1 = lean_unsigned_to_nat(119u); x_2 = lean_unsigned_to_nat(70u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4278,7 +4481,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(110u); +x_1 = lean_unsigned_to_nat(122u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4290,7 +4493,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(111u); +x_1 = lean_unsigned_to_nat(123u); x_2 = lean_unsigned_to_nat(19u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4318,7 +4521,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(110u); +x_1 = lean_unsigned_to_nat(122u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4330,7 +4533,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq_declR _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(110u); +x_1 = lean_unsigned_to_nat(122u); x_2 = lean_unsigned_to_nat(64u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4571,7 +4774,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(113u); +x_1 = lean_unsigned_to_nat(125u); x_2 = lean_unsigned_to_nat(53u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4583,7 +4786,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(116u); +x_1 = lean_unsigned_to_nat(128u); x_2 = lean_unsigned_to_nat(26u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4611,7 +4814,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(113u); +x_1 = lean_unsigned_to_nat(125u); x_2 = lean_unsigned_to_nat(57u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4623,7 +4826,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvConvSeq_d _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(113u); +x_1 = lean_unsigned_to_nat(125u); x_2 = lean_unsigned_to_nat(72u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4740,7 +4943,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(118u); +x_1 = lean_unsigned_to_nat(130u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4752,7 +4955,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(119u); +x_1 = lean_unsigned_to_nat(131u); x_2 = lean_unsigned_to_nat(19u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4780,7 +4983,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(118u); +x_1 = lean_unsigned_to_nat(130u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4792,7 +4995,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalParen_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(118u); +x_1 = lean_unsigned_to_nat(130u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4927,103 +5130,185 @@ return x_14; } else { -lean_object* x_28; lean_object* x_29; +lean_object* x_28; lean_free_object(x_14); -x_28 = l_Lean_mkLHSGoal(x_12); -x_29 = l_Lean_MVarId_replaceTargetDefEq(x_1, x_28, x_6, x_7, x_8, x_9, x_23); -return x_29; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_28 = l_Lean_Elab_Tactic_Conv_mkLHSGoal(x_12, x_6, x_7, x_8, x_9, x_23); +if (lean_obj_tag(x_28) == 0) +{ +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_ctor_get(x_28, 0); +lean_inc(x_29); +x_30 = lean_ctor_get(x_28, 1); +lean_inc(x_30); +lean_dec(x_28); +x_31 = l_Lean_MVarId_replaceTargetDefEq(x_1, x_29, x_6, x_7, x_8, x_9, x_30); +return x_31; +} +else +{ +uint8_t x_32; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_32 = !lean_is_exclusive(x_28); +if (x_32 == 0) +{ +return x_28; +} +else +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; +x_33 = lean_ctor_get(x_28, 0); +x_34 = lean_ctor_get(x_28, 1); +lean_inc(x_34); +lean_inc(x_33); +lean_dec(x_28); +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_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; -x_30 = lean_ctor_get(x_14, 1); -lean_inc(x_30); +lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; +x_36 = lean_ctor_get(x_14, 1); +lean_inc(x_36); lean_dec(x_14); -x_31 = lean_ctor_get(x_21, 1); -lean_inc(x_31); +x_37 = lean_ctor_get(x_21, 1); +lean_inc(x_37); lean_dec(x_21); -x_32 = l_Lean_Expr_getAppFn(x_31); -lean_dec(x_31); -x_33 = l_Lean_Expr_isMVar(x_32); -lean_dec(x_32); -if (x_33 == 0) +x_38 = l_Lean_Expr_getAppFn(x_37); +lean_dec(x_37); +x_39 = l_Lean_Expr_isMVar(x_38); +lean_dec(x_38); +if (x_39 == 0) { -lean_object* x_34; +lean_object* x_40; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_1); -lean_ctor_set(x_34, 1, x_30); -return x_34; +x_40 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_40, 0, x_1); +lean_ctor_set(x_40, 1, x_36); +return x_40; } else { -lean_object* x_35; lean_object* x_36; -x_35 = l_Lean_mkLHSGoal(x_12); -x_36 = l_Lean_MVarId_replaceTargetDefEq(x_1, x_35, x_6, x_7, x_8, x_9, x_30); -return x_36; +lean_object* x_41; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_41 = l_Lean_Elab_Tactic_Conv_mkLHSGoal(x_12, x_6, x_7, x_8, x_9, x_36); +if (lean_obj_tag(x_41) == 0) +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +x_42 = lean_ctor_get(x_41, 0); +lean_inc(x_42); +x_43 = lean_ctor_get(x_41, 1); +lean_inc(x_43); +lean_dec(x_41); +x_44 = l_Lean_MVarId_replaceTargetDefEq(x_1, x_42, x_6, x_7, x_8, x_9, x_43); +return x_44; +} +else +{ +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_1); +x_45 = lean_ctor_get(x_41, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_47 = x_41; +} else { + lean_dec_ref(x_41); + x_47 = lean_box(0); +} +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(1, 2, 0); +} else { + x_48 = x_47; +} +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_46); +return x_48; +} } } } } else { -uint8_t x_37; +uint8_t x_49; lean_dec(x_12); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_37 = !lean_is_exclusive(x_14); -if (x_37 == 0) +x_49 = !lean_is_exclusive(x_14); +if (x_49 == 0) { return x_14; } else { -lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_38 = lean_ctor_get(x_14, 0); -x_39 = lean_ctor_get(x_14, 1); -lean_inc(x_39); -lean_inc(x_38); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_14, 0); +x_51 = lean_ctor_get(x_14, 1); +lean_inc(x_51); +lean_inc(x_50); lean_dec(x_14); -x_40 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_40, 0, x_38); -lean_ctor_set(x_40, 1, x_39); -return x_40; +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -uint8_t x_41; +uint8_t x_53; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_41 = !lean_is_exclusive(x_11); -if (x_41 == 0) +x_53 = !lean_is_exclusive(x_11); +if (x_53 == 0) { return x_11; } else { -lean_object* x_42; lean_object* x_43; lean_object* x_44; -x_42 = lean_ctor_get(x_11, 0); -x_43 = lean_ctor_get(x_11, 1); -lean_inc(x_43); -lean_inc(x_42); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_11, 0); +x_55 = lean_ctor_get(x_11, 1); +lean_inc(x_55); +lean_inc(x_54); lean_dec(x_11); -x_44 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_44, 0, x_42); -lean_ctor_set(x_44, 1, x_43); -return x_44; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } @@ -5405,7 +5690,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(134u); +x_1 = lean_unsigned_to_nat(146u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5417,7 +5702,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(136u); +x_1 = lean_unsigned_to_nat(148u); x_2 = lean_unsigned_to_nat(34u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5445,7 +5730,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(134u); +x_1 = lean_unsigned_to_nat(146u); x_2 = lean_unsigned_to_nat(62u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5457,7 +5742,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTacticC _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(134u); +x_1 = lean_unsigned_to_nat(146u); x_2 = lean_unsigned_to_nat(82u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5876,7 +6161,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(138u); +x_1 = lean_unsigned_to_nat(150u); x_2 = lean_unsigned_to_nat(54u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5888,7 +6173,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(144u); +x_1 = lean_unsigned_to_nat(156u); x_2 = lean_unsigned_to_nat(43u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5916,7 +6201,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(138u); +x_1 = lean_unsigned_to_nat(150u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5928,7 +6213,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_ _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(138u); +x_1 = lean_unsigned_to_nat(150u); x_2 = lean_unsigned_to_nat(74u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5974,6 +6259,183 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvTactic(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; lean_object* x_13; +x_11 = lean_unsigned_to_nat(2u); +x_12 = l_Lean_Syntax_getArg(x_1, x_11); +x_13 = l_Lean_Elab_Tactic_evalTactic(x_12, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_13; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalConvTactic___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +x_11 = l_Lean_Elab_Tactic_Conv_evalConvTactic(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +lean_dec(x_1); +return x_11; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("convTactic", 10); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__8; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalConvTactic", 14); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__14; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalConvTactic___boxed), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalWhnf___closed__17; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(158u); +x_2 = lean_unsigned_to_nat(52u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(159u); +x_2 = lean_unsigned_to_nat(19u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__1; +x_2 = lean_unsigned_to_nat(52u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__2; +x_4 = lean_unsigned_to_nat(19u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(158u); +x_2 = lean_unsigned_to_nat(56u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(158u); +x_2 = lean_unsigned_to_nat(70u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__4; +x_2 = lean_unsigned_to_nat(56u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__5; +x_4 = lean_unsigned_to_nat(70u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Basic_0__Lean_Elab_Tactic_Conv_convTarget___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11) { _start: { @@ -6779,35 +7241,35 @@ x_64 = l_Lean_Syntax_getOptional_x3f(x_57); lean_dec(x_57); if (lean_obj_tag(x_64) == 0) { -lean_object* x_151; -x_151 = lean_box(0); -x_65 = x_151; -goto block_150; +lean_object* x_152; +x_152 = lean_box(0); +x_65 = x_152; +goto block_151; } else { -uint8_t x_152; -x_152 = !lean_is_exclusive(x_64); -if (x_152 == 0) +uint8_t x_153; +x_153 = !lean_is_exclusive(x_64); +if (x_153 == 0) { x_65 = x_64; -goto block_150; +goto block_151; } else { -lean_object* x_153; lean_object* x_154; -x_153 = lean_ctor_get(x_64, 0); -lean_inc(x_153); +lean_object* x_154; lean_object* x_155; +x_154 = lean_ctor_get(x_64, 0); +lean_inc(x_154); lean_dec(x_64); -x_154 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_154, 0, x_153); -x_65 = x_154; -goto block_150; +x_155 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_155, 0, x_154); +x_65 = x_155; +goto block_151; } } -block_150: +block_151: { -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_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; uint8_t 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_inc(x_13); x_66 = l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalIntro___spec__1___rarg(x_13, x_14, x_15); x_67 = lean_ctor_get(x_66, 0); @@ -6819,189 +7281,190 @@ x_69 = lean_st_ref_get(x_14, x_68); x_70 = lean_ctor_get(x_69, 1); lean_inc(x_70); lean_dec(x_69); -x_71 = l_Lean_SourceInfo_fromRef(x_2); -x_72 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__1; -x_73 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_73, 0, x_71); -lean_ctor_set(x_73, 1, x_72); -x_74 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__9; -x_75 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__2; +x_71 = 0; +x_72 = l_Lean_SourceInfo_fromRef(x_2, x_71); +x_73 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__1; +x_74 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_74, 0, x_72); +lean_ctor_set(x_74, 1, x_73); +x_75 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__9; +x_76 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__2; lean_inc(x_67); -x_76 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_76, 0, x_67); -lean_ctor_set(x_76, 1, x_74); -lean_ctor_set(x_76, 2, x_75); -x_77 = l_Lean_SourceInfo_fromRef(x_59); -x_78 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__3; -x_79 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_79, 0, x_77); -lean_ctor_set(x_79, 1, x_78); -x_80 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented___closed__1; +x_77 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_77, 0, x_67); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_76); +x_78 = l_Lean_SourceInfo_fromRef(x_59, x_71); +x_79 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__3; +x_80 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_80, 0, x_78); +lean_ctor_set(x_80, 1, x_79); +x_81 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvSeq1Indented___closed__1; lean_inc(x_3); -x_81 = l_Lean_Name_str___override(x_3, x_80); -x_82 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__4; +x_82 = l_Lean_Name_str___override(x_3, x_81); +x_83 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__4; lean_inc(x_3); -x_83 = l_Lean_Name_str___override(x_3, x_82); +x_84 = l_Lean_Name_str___override(x_3, x_83); lean_inc(x_67); -x_84 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_84, 0, x_67); -lean_ctor_set(x_84, 1, x_82); -x_85 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__22; -x_86 = lean_array_push(x_85, x_84); -x_87 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__5; +x_85 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_85, 0, x_67); +lean_ctor_set(x_85, 1, x_83); +x_86 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__22; +x_87 = lean_array_push(x_86, x_85); +x_88 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__5; lean_inc(x_67); -x_88 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_88, 0, x_67); -lean_ctor_set(x_88, 1, x_87); -x_89 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__10; -x_90 = l_Lean_Name_str___override(x_3, x_89); -x_91 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__12; +x_89 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_89, 0, x_67); +lean_ctor_set(x_89, 1, x_88); +x_90 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__10; +x_91 = l_Lean_Name_str___override(x_3, x_90); +x_92 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__12; lean_inc(x_67); -x_92 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_92, 0, x_67); -lean_ctor_set(x_92, 1, x_91); -x_93 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__21; +x_93 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_93, 0, x_67); +lean_ctor_set(x_93, 1, x_92); +x_94 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__21; lean_inc(x_67); -x_94 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_94, 0, x_67); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_array_push(x_85, x_92); -x_96 = lean_array_push(x_95, x_61); -x_97 = lean_array_push(x_96, x_94); +x_95 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_95, 0, x_67); +lean_ctor_set(x_95, 1, x_94); +x_96 = lean_array_push(x_86, x_93); +x_97 = lean_array_push(x_96, x_61); +x_98 = lean_array_push(x_97, x_95); lean_inc(x_67); -x_98 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_98, 0, x_67); -lean_ctor_set(x_98, 1, x_90); -lean_ctor_set(x_98, 2, x_97); -x_99 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__6; -x_100 = lean_array_push(x_99, x_73); +x_99 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_99, 0, x_67); +lean_ctor_set(x_99, 1, x_91); +lean_ctor_set(x_99, 2, x_98); +x_100 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__6; +x_101 = lean_array_push(x_100, x_74); if (lean_obj_tag(x_6) == 0) { -x_101 = x_75; -goto block_143; +x_102 = x_76; +goto block_144; } else { -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; -x_144 = lean_ctor_get(x_6, 0); -lean_inc(x_144); +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; +x_145 = lean_ctor_get(x_6, 0); +lean_inc(x_145); lean_dec(x_6); -x_145 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__8; +x_146 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__8; lean_inc(x_67); -x_146 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_146, 0, x_67); -lean_ctor_set(x_146, 1, x_145); -x_147 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__20; -x_148 = lean_array_push(x_147, x_146); -x_149 = lean_array_push(x_148, x_144); -x_101 = x_149; -goto block_143; +x_147 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_147, 0, x_67); +lean_ctor_set(x_147, 1, x_146); +x_148 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__20; +x_149 = lean_array_push(x_148, x_147); +x_150 = lean_array_push(x_149, x_145); +x_102 = x_150; +goto block_144; } -block_143: +block_144: { -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; -x_102 = l_Array_append___rarg(x_75, x_101); +lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; +x_103 = l_Array_append___rarg(x_76, x_102); lean_inc(x_67); -x_103 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_103, 0, x_67); -lean_ctor_set(x_103, 1, x_74); -lean_ctor_set(x_103, 2, x_102); -x_104 = lean_array_push(x_100, x_103); -x_105 = lean_array_push(x_104, x_76); -x_106 = lean_array_push(x_105, x_79); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_67); +lean_ctor_set(x_104, 1, x_75); +lean_ctor_set(x_104, 2, x_103); +x_105 = lean_array_push(x_101, x_104); +x_106 = lean_array_push(x_105, x_77); +x_107 = lean_array_push(x_106, x_80); if (lean_obj_tag(x_65) == 0) { -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; -x_107 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__7; +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; +x_108 = l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__7; lean_inc(x_67); -x_108 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_108, 0, x_67); -lean_ctor_set(x_108, 1, x_74); -lean_ctor_set(x_108, 2, x_107); -x_109 = lean_array_push(x_86, x_108); -x_110 = lean_array_push(x_109, x_58); +x_109 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_109, 0, x_67); +lean_ctor_set(x_109, 1, x_75); +lean_ctor_set(x_109, 2, x_108); +x_110 = lean_array_push(x_87, x_109); +x_111 = lean_array_push(x_110, x_58); lean_inc(x_67); -x_111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_111, 0, x_67); -lean_ctor_set(x_111, 1, x_83); -lean_ctor_set(x_111, 2, x_110); -x_112 = lean_array_push(x_85, x_111); -x_113 = lean_array_push(x_112, x_88); -x_114 = lean_array_push(x_113, x_98); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_67); +lean_ctor_set(x_112, 1, x_84); +lean_ctor_set(x_112, 2, x_111); +x_113 = lean_array_push(x_86, x_112); +x_114 = lean_array_push(x_113, x_89); +x_115 = lean_array_push(x_114, x_99); lean_inc(x_67); -x_115 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_115, 0, x_67); -lean_ctor_set(x_115, 1, x_74); -lean_ctor_set(x_115, 2, x_114); -x_116 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__19; -x_117 = lean_array_push(x_116, x_115); +x_116 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_116, 0, x_67); +lean_ctor_set(x_116, 1, x_75); +lean_ctor_set(x_116, 2, x_115); +x_117 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__19; +x_118 = lean_array_push(x_117, x_116); lean_inc(x_67); -x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_67); -lean_ctor_set(x_118, 1, x_81); -lean_ctor_set(x_118, 2, x_117); -x_119 = lean_array_push(x_116, x_118); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_67); +lean_ctor_set(x_119, 1, x_82); +lean_ctor_set(x_119, 2, x_118); +x_120 = lean_array_push(x_117, x_119); lean_inc(x_67); -x_120 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_120, 0, x_67); -lean_ctor_set(x_120, 1, x_63); -lean_ctor_set(x_120, 2, x_119); -x_121 = lean_array_push(x_106, x_120); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_67); -lean_ctor_set(x_122, 1, x_4); -lean_ctor_set(x_122, 2, x_121); -x_123 = l_Lean_Elab_Tactic_evalTactic(x_122, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_70); -return x_123; +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_67); +lean_ctor_set(x_121, 1, x_63); +lean_ctor_set(x_121, 2, x_120); +x_122 = lean_array_push(x_107, x_121); +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_67); +lean_ctor_set(x_123, 1, x_4); +lean_ctor_set(x_123, 2, x_122); +x_124 = l_Lean_Elab_Tactic_evalTactic(x_123, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_70); +return x_124; } else { -lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; -x_124 = lean_ctor_get(x_65, 0); -lean_inc(x_124); +lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; +x_125 = lean_ctor_get(x_65, 0); +lean_inc(x_125); lean_dec(x_65); -x_125 = lean_array_push(x_75, x_124); -x_126 = l_Array_append___rarg(x_75, x_125); +x_126 = lean_array_push(x_76, x_125); +x_127 = l_Array_append___rarg(x_76, x_126); lean_inc(x_67); -x_127 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_127, 0, x_67); -lean_ctor_set(x_127, 1, x_74); -lean_ctor_set(x_127, 2, x_126); -x_128 = lean_array_push(x_86, x_127); -x_129 = lean_array_push(x_128, x_58); +x_128 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_128, 0, x_67); +lean_ctor_set(x_128, 1, x_75); +lean_ctor_set(x_128, 2, x_127); +x_129 = lean_array_push(x_87, x_128); +x_130 = lean_array_push(x_129, x_58); lean_inc(x_67); -x_130 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_130, 0, x_67); -lean_ctor_set(x_130, 1, x_83); -lean_ctor_set(x_130, 2, x_129); -x_131 = lean_array_push(x_85, x_130); -x_132 = lean_array_push(x_131, x_88); -x_133 = lean_array_push(x_132, x_98); +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_67); +lean_ctor_set(x_131, 1, x_84); +lean_ctor_set(x_131, 2, x_130); +x_132 = lean_array_push(x_86, x_131); +x_133 = lean_array_push(x_132, x_89); +x_134 = lean_array_push(x_133, x_99); lean_inc(x_67); -x_134 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_134, 0, x_67); -lean_ctor_set(x_134, 1, x_74); -lean_ctor_set(x_134, 2, x_133); -x_135 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__19; -x_136 = lean_array_push(x_135, x_134); +x_135 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_135, 0, x_67); +lean_ctor_set(x_135, 1, x_75); +lean_ctor_set(x_135, 2, x_134); +x_136 = l_Lean_Elab_Tactic_Conv_evalConvSeqBracketed___lambda__2___closed__19; +x_137 = lean_array_push(x_136, x_135); lean_inc(x_67); -x_137 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_137, 0, x_67); -lean_ctor_set(x_137, 1, x_81); -lean_ctor_set(x_137, 2, x_136); -x_138 = lean_array_push(x_135, x_137); +x_138 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_138, 0, x_67); +lean_ctor_set(x_138, 1, x_82); +lean_ctor_set(x_138, 2, x_137); +x_139 = lean_array_push(x_136, x_138); lean_inc(x_67); -x_139 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_139, 0, x_67); -lean_ctor_set(x_139, 1, x_63); -lean_ctor_set(x_139, 2, x_138); -x_140 = lean_array_push(x_106, x_139); -x_141 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_141, 0, x_67); -lean_ctor_set(x_141, 1, x_4); -lean_ctor_set(x_141, 2, x_140); -x_142 = l_Lean_Elab_Tactic_evalTactic(x_141, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_70); -return x_142; +x_140 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_140, 0, x_67); +lean_ctor_set(x_140, 1, x_63); +lean_ctor_set(x_140, 2, x_139); +x_141 = lean_array_push(x_107, x_140); +x_142 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_142, 0, x_67); +lean_ctor_set(x_142, 1, x_4); +lean_ctor_set(x_142, 2, x_141); +x_143 = l_Lean_Elab_Tactic_evalTactic(x_142, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_70); +return x_143; } } } @@ -7151,7 +7614,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(158u); +x_1 = lean_unsigned_to_nat(173u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7163,7 +7626,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(169u); +x_1 = lean_unsigned_to_nat(184u); x_2 = lean_unsigned_to_nat(31u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7191,7 +7654,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(158u); +x_1 = lean_unsigned_to_nat(173u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7203,7 +7666,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConv_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(158u); +x_1 = lean_unsigned_to_nat(173u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7326,7 +7789,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(171u); +x_1 = lean_unsigned_to_nat(186u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7338,7 +7801,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); +x_1 = lean_unsigned_to_nat(187u); x_2 = lean_unsigned_to_nat(18u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7366,7 +7829,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(171u); +x_1 = lean_unsigned_to_nat(186u); x_2 = lean_unsigned_to_nat(59u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7378,7 +7841,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalFirst_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(171u); +x_1 = lean_unsigned_to_nat(186u); x_2 = lean_unsigned_to_nat(68u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7453,6 +7916,10 @@ lean_dec_ref(res); res = initialize_Lean_Elab_Tactic_BuiltinTactic(builtin, lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__1 = _init_l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__1(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__1); +l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__2 = _init_l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__2(); +lean_mark_persistent(l_Lean_Elab_Tactic_Conv_mkLHSGoal___closed__2); l_Lean_Elab_Tactic_Conv_convert___closed__1 = _init_l_Lean_Elab_Tactic_Conv_convert___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_Conv_convert___closed__1); l_Lean_Elab_Tactic_Conv_convert___closed__2 = _init_l_Lean_Elab_Tactic_Conv_convert___closed__2(); @@ -7877,6 +8344,36 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_declR res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalNestedTactic_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange___closed__7); +res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalConvTactic_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__1 = _init_l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__1(); lean_mark_persistent(l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__1); l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__2 = _init_l_Lean_Elab_Tactic_Conv_evalConv___lambda__1___closed__2(); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c index f70124f64d..9defccccfb 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Congr.c @@ -62,6 +62,7 @@ static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___sp static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__2___closed__2; static lean_object* l_Lean_Elab_Tactic_Conv_evalArg___lambda__2___closed__1; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_object* l_Lean_MVarId_getTag(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt_declRange___closed__3; static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -100,19 +101,20 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt___closed__2; extern lean_object* l_Lean_levelZero; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip_declRange___closed__4; lean_object* lean_nat_add(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_throwError___at_Lean_Meta_exactlyOne___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkEqRefl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr_declRange___closed__1; static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__4___closed__3; +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_panic___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_fixKindsForDependencies___spec__2(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__7; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg_declRange(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg_declRange___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3(lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__18; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__15; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr_declRange___closed__2; @@ -144,7 +146,7 @@ static lean_object* l_Lean_Elab_Tactic_Conv_evalLhs___rarg___closed__1; lean_object* l_Lean_Meta_mkLambdaFVars(lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___closed__2; static lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___closed__1; -lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip_declRange___closed__6; lean_object* l_panic___at_Lean_Expr_getRevArg_x21___spec__1(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectIdx(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -172,7 +174,7 @@ static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_ lean_object* l_Lean_MVarId_apply(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_refl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr_declRange___closed__5; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_getMainGoal(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs___closed__2; LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Tactic_Conv_evalExt___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -197,7 +199,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalRhs(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectIdx___lambda__1___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip___closed__4; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt_declRange___closed__4; extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; lean_object* l_panic___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_fixKindsForDependencies___spec__1(lean_object*); @@ -228,6 +230,7 @@ uint8_t lean_int_dec_le(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__11; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt_declRange___closed__1; static lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__1; +lean_object* l_Lean_Expr_bindingName_x21(lean_object*); static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__3___closed__1; LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__9; @@ -235,9 +238,10 @@ static lean_object* l_Lean_Elab_Tactic_Conv_evalArg___closed__1; uint8_t lean_nat_dec_le(lean_object*, lean_object*); lean_object* l_Lean_Expr_beta(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__4; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); +lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs_declRange___closed__3; static lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__5; @@ -326,13 +330,13 @@ lean_object* l_Lean_Expr_bindingBody_x21(lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalArg___lambda__1___closed__1; static lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__1___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs___closed__3; -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___boxed(lean_object**); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__17; lean_object* lean_nat_to_int(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_List_appendTR___rarg(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr___closed__8; -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg_declRange___closed__5; lean_object* l_Lean_Elab_Tactic_Conv_getLhsRhsCore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1181,6 +1185,103 @@ x_9 = lean_apply_5(x_8, x_2, x_3, x_4, x_5, x_6); return x_9; } } +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; +lean_inc(x_1); +x_11 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_1, x_5, x_6, x_7, x_8, x_9, x_10); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_13 = lean_ctor_get(x_11, 0); +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +lean_inc(x_15); +x_16 = l_Lean_mkApp3(x_4, x_1, x_14, x_15); +x_17 = l_Lean_Expr_mvarId_x21(x_15); +x_18 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_18, 0, x_17); +x_19 = lean_array_push(x_3, x_18); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_2); +lean_ctor_set(x_20, 1, x_16); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_19); +lean_ctor_set(x_21, 1, x_20); +x_22 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_11, 0, x_22); +return x_11; +} +else +{ +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; +x_23 = lean_ctor_get(x_11, 0); +x_24 = lean_ctor_get(x_11, 1); +lean_inc(x_24); +lean_inc(x_23); +lean_dec(x_11); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +x_26 = lean_ctor_get(x_23, 1); +lean_inc(x_26); +lean_dec(x_23); +lean_inc(x_26); +x_27 = l_Lean_mkApp3(x_4, x_1, x_25, x_26); +x_28 = l_Lean_Expr_mvarId_x21(x_26); +x_29 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_29, 0, x_28); +x_30 = lean_array_push(x_3, x_29); +x_31 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_31, 0, x_2); +lean_ctor_set(x_31, 1, x_27); +x_32 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_32, 0, x_30); +lean_ctor_set(x_32, 1, x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_34, 0, x_33); +lean_ctor_set(x_34, 1, x_24); +return x_34; +} +} +else +{ +uint8_t x_35; +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +lean_dec(x_1); +x_35 = !lean_is_exclusive(x_11); +if (x_35 == 0) +{ +return x_11; +} +else +{ +lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_36 = lean_ctor_get(x_11, 0); +x_37 = lean_ctor_get(x_11, 1); +lean_inc(x_37); +lean_inc(x_36); +lean_dec(x_11); +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +return x_38; +} +} +} +} static lean_object* _init_l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__1() { _start: { @@ -1248,188 +1349,197 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__5; x_2 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__6; -x_3 = lean_unsigned_to_nat(60u); +x_3 = lean_unsigned_to_nat(65u); x_4 = lean_unsigned_to_nat(32u); x_5 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__7; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); return x_6; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(uint8_t x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(uint8_t x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { _start: { -uint8_t x_16; -x_16 = lean_nat_dec_le(x_8, x_7); -if (x_16 == 0) -{ -lean_object* x_17; uint8_t x_18; -x_17 = lean_unsigned_to_nat(0u); -x_18 = lean_nat_dec_eq(x_6, x_17); +uint8_t x_18; +x_18 = lean_nat_dec_le(x_10, x_9); if (x_18 == 0) { -lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_19 = lean_unsigned_to_nat(1u); -x_20 = lean_nat_sub(x_6, x_19); -lean_dec(x_6); -x_27 = lean_ctor_get(x_10, 1); -lean_inc(x_27); -x_28 = lean_ctor_get(x_10, 0); -lean_inc(x_28); -if (lean_is_exclusive(x_10)) { - lean_ctor_release(x_10, 0); - lean_ctor_release(x_10, 1); - x_29 = x_10; -} else { - lean_dec_ref(x_10); - x_29 = lean_box(0); -} -x_30 = lean_ctor_get(x_27, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_27, 1); +lean_object* x_19; uint8_t x_20; +x_19 = lean_unsigned_to_nat(0u); +x_20 = lean_nat_dec_eq(x_8, 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_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; uint8_t x_37; lean_object* x_38; lean_object* x_39; uint8_t x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_21 = lean_unsigned_to_nat(1u); +x_22 = lean_nat_sub(x_8, x_21); +lean_dec(x_8); +x_31 = lean_ctor_get(x_12, 1); lean_inc(x_31); -if (lean_is_exclusive(x_27)) { - lean_ctor_release(x_27, 0); - lean_ctor_release(x_27, 1); - x_32 = x_27; +x_32 = lean_ctor_get(x_12, 0); +lean_inc(x_32); +if (lean_is_exclusive(x_12)) { + lean_ctor_release(x_12, 0); + lean_ctor_release(x_12, 1); + x_33 = x_12; } else { - lean_dec_ref(x_27); - x_32 = lean_box(0); + lean_dec_ref(x_12); + x_33 = lean_box(0); } -x_33 = lean_nat_dec_lt(x_7, x_5); -x_34 = lean_ctor_get(x_2, 0); -x_35 = lean_array_get_size(x_34); -x_36 = lean_nat_dec_lt(x_7, x_35); -lean_dec(x_35); -x_37 = lean_ctor_get(x_4, 2); -x_38 = lean_array_get_size(x_37); -x_39 = lean_nat_dec_lt(x_7, x_38); -lean_dec(x_38); -if (x_33 == 0) +x_34 = lean_ctor_get(x_31, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_31, 1); +lean_inc(x_35); +if (lean_is_exclusive(x_31)) { + lean_ctor_release(x_31, 0); + lean_ctor_release(x_31, 1); + x_36 = x_31; +} else { + lean_dec_ref(x_31); + x_36 = lean_box(0); +} +x_37 = lean_nat_dec_lt(x_9, x_7); +x_38 = lean_ctor_get(x_4, 0); +x_39 = lean_array_get_size(x_38); +x_40 = lean_nat_dec_lt(x_9, x_39); +lean_dec(x_39); +x_41 = lean_ctor_get(x_6, 2); +x_42 = lean_array_get_size(x_41); +x_43 = lean_nat_dec_lt(x_9, x_42); +lean_dec(x_42); +if (x_37 == 0) { -lean_object* x_270; lean_object* x_271; -x_270 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__4; -x_271 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_270); -x_40 = x_271; -goto block_269; +lean_object* x_406; lean_object* x_407; +x_406 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__4; +x_407 = l_panic___at_Lean_Expr_getRevArg_x21___spec__1(x_406); +x_44 = x_407; +goto block_405; } else { -lean_object* x_272; -x_272 = lean_array_fget(x_3, x_7); -x_40 = x_272; -goto block_269; +lean_object* x_408; +x_408 = lean_array_fget(x_5, x_9); +x_44 = x_408; +goto block_405; } -block_26: +block_30: { -lean_object* x_23; lean_object* x_24; -x_23 = lean_ctor_get(x_21, 0); -lean_inc(x_23); -lean_dec(x_21); -x_24 = lean_nat_add(x_7, x_9); -lean_dec(x_7); -x_6 = x_20; -x_7 = x_24; -x_10 = x_23; -x_15 = x_22; -goto _start; -} -block_269: +if (lean_obj_tag(x_23) == 0) { -lean_object* x_41; -if (x_36 == 0) -{ -lean_object* x_266; lean_object* x_267; -x_266 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__4; -x_267 = l_panic___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_fixKindsForDependencies___spec__2(x_266); -x_41 = x_267; -goto block_265; -} -else -{ -lean_object* x_268; -x_268 = lean_array_fget(x_34, x_7); -x_41 = x_268; -goto block_265; -} -block_265: -{ -if (x_39 == 0) -{ -lean_object* x_42; lean_object* x_43; uint8_t x_44; lean_object* x_45; -x_42 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__4; -x_43 = l_panic___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_fixKindsForDependencies___spec__1(x_42); -x_44 = lean_unbox(x_43); -lean_dec(x_43); -x_45 = lean_box(x_44); -switch (lean_obj_tag(x_45)) { -case 1: -{ -lean_object* x_46; lean_object* x_47; -lean_dec(x_41); -lean_dec(x_40); -x_46 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_47 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_46, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_47) == 0) -{ -lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_48 = lean_ctor_get(x_47, 1); -lean_inc(x_48); -lean_dec(x_47); -if (lean_is_scalar(x_32)) { - x_49 = lean_alloc_ctor(0, 2, 0); -} else { - x_49 = x_32; -} -lean_ctor_set(x_49, 0, x_30); -lean_ctor_set(x_49, 1, x_31); -if (lean_is_scalar(x_29)) { - x_50 = lean_alloc_ctor(0, 2, 0); -} else { - x_50 = x_29; -} -lean_ctor_set(x_50, 0, x_28); -lean_ctor_set(x_50, 1, x_49); -x_51 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_51, 0, x_50); -x_21 = x_51; -x_22 = x_48; -goto block_26; -} -else -{ -uint8_t x_52; -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); +lean_object* x_25; lean_object* x_26; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_52 = !lean_is_exclusive(x_47); -if (x_52 == 0) -{ -return x_47; +lean_dec(x_9); +lean_dec(x_3); +x_25 = lean_ctor_get(x_23, 0); +lean_inc(x_25); +lean_dec(x_23); +x_26 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_26, 0, x_25); +lean_ctor_set(x_26, 1, x_24); +return x_26; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_47, 0); -x_54 = lean_ctor_get(x_47, 1); -lean_inc(x_54); -lean_inc(x_53); -lean_dec(x_47); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +lean_object* x_27; lean_object* x_28; +x_27 = lean_ctor_get(x_23, 0); +lean_inc(x_27); +lean_dec(x_23); +x_28 = lean_nat_add(x_9, x_11); +lean_dec(x_9); +x_8 = x_22; +x_9 = x_28; +x_12 = x_27; +x_17 = x_24; +goto _start; +} +} +block_405: +{ +lean_object* x_45; +if (x_40 == 0) +{ +lean_object* x_77; lean_object* x_78; +x_77 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__4; +x_78 = l_panic___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_fixKindsForDependencies___spec__2(x_77); +if (x_43 == 0) +{ +lean_object* x_79; uint8_t x_80; lean_object* x_81; +x_79 = l_panic___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_fixKindsForDependencies___spec__1(x_77); +x_80 = lean_unbox(x_79); +lean_dec(x_79); +x_81 = lean_box(x_80); +switch (lean_obj_tag(x_81)) { +case 1: +{ +lean_object* x_82; lean_object* x_83; +lean_dec(x_78); +lean_dec(x_44); +x_82 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_83 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_82, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_83) == 0) +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; +x_84 = lean_ctor_get(x_83, 1); +lean_inc(x_84); +lean_dec(x_83); +if (lean_is_scalar(x_36)) { + x_85 = lean_alloc_ctor(0, 2, 0); +} else { + x_85 = x_36; +} +lean_ctor_set(x_85, 0, x_34); +lean_ctor_set(x_85, 1, x_35); +if (lean_is_scalar(x_33)) { + x_86 = lean_alloc_ctor(0, 2, 0); +} else { + x_86 = x_33; +} +lean_ctor_set(x_86, 0, x_32); +lean_ctor_set(x_86, 1, x_85); +x_87 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_87, 0, x_86); +x_23 = x_87; +x_24 = x_84; +goto block_30; +} +else +{ +uint8_t x_88; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_88 = !lean_is_exclusive(x_83); +if (x_88 == 0) +{ +return x_83; +} +else +{ +lean_object* x_89; lean_object* x_90; lean_object* x_91; +x_89 = lean_ctor_get(x_83, 0); +x_90 = lean_ctor_get(x_83, 1); +lean_inc(x_90); +lean_inc(x_89); +lean_dec(x_83); +x_91 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_90); +return x_91; } } } @@ -1437,76 +1547,1992 @@ case 2: { if (x_1 == 0) { -uint8_t x_56; -x_56 = l_Lean_Meta_ParamInfo_isExplicit(x_41); -lean_dec(x_41); -if (x_56 == 0) +uint8_t x_92; +x_92 = l_Lean_Meta_ParamInfo_isExplicit(x_78); +lean_dec(x_78); +if (x_92 == 0) { -lean_object* x_57; +lean_object* x_93; +lean_inc(x_16); +lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_40); -x_57 = l_Lean_Meta_mkEqRefl(x_40, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_57) == 0) +lean_inc(x_44); +x_93 = l_Lean_Meta_mkEqRefl(x_44, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_93) == 0) { -lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; -x_58 = lean_ctor_get(x_57, 0); +lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; +x_94 = lean_ctor_get(x_93, 0); +lean_inc(x_94); +x_95 = lean_ctor_get(x_93, 1); +lean_inc(x_95); +lean_dec(x_93); +lean_inc(x_44); +x_96 = l_Lean_mkApp3(x_35, x_44, x_44, x_94); +if (lean_is_scalar(x_36)) { + x_97 = lean_alloc_ctor(0, 2, 0); +} else { + x_97 = x_36; +} +lean_ctor_set(x_97, 0, x_34); +lean_ctor_set(x_97, 1, x_96); +if (lean_is_scalar(x_33)) { + x_98 = lean_alloc_ctor(0, 2, 0); +} else { + x_98 = x_33; +} +lean_ctor_set(x_98, 0, x_32); +lean_ctor_set(x_98, 1, x_97); +x_99 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_99, 0, x_98); +x_23 = x_99; +x_24 = x_95; +goto block_30; +} +else +{ +uint8_t x_100; +lean_dec(x_44); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_100 = !lean_is_exclusive(x_93); +if (x_100 == 0) +{ +return x_93; +} +else +{ +lean_object* x_101; lean_object* x_102; lean_object* x_103; +x_101 = lean_ctor_get(x_93, 0); +x_102 = lean_ctor_get(x_93, 1); +lean_inc(x_102); +lean_inc(x_101); +lean_dec(x_93); +x_103 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_103, 0, x_101); +lean_ctor_set(x_103, 1, x_102); +return x_103; +} +} +} +else +{ +lean_object* x_104; +lean_dec(x_36); +lean_dec(x_33); +x_104 = lean_box(0); +x_45 = x_104; +goto block_76; +} +} +else +{ +lean_object* x_105; +lean_dec(x_78); +lean_dec(x_36); +lean_dec(x_33); +x_105 = lean_box(0); +x_45 = x_105; +goto block_76; +} +} +case 4: +{ +lean_object* x_106; lean_object* x_107; +lean_dec(x_78); +lean_dec(x_44); +x_106 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_107 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_106, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_107) == 0) +{ +lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; +x_108 = lean_ctor_get(x_107, 1); +lean_inc(x_108); +lean_dec(x_107); +if (lean_is_scalar(x_36)) { + x_109 = lean_alloc_ctor(0, 2, 0); +} else { + x_109 = x_36; +} +lean_ctor_set(x_109, 0, x_34); +lean_ctor_set(x_109, 1, x_35); +if (lean_is_scalar(x_33)) { + x_110 = lean_alloc_ctor(0, 2, 0); +} else { + x_110 = x_33; +} +lean_ctor_set(x_110, 0, x_32); +lean_ctor_set(x_110, 1, x_109); +x_111 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_111, 0, x_110); +x_23 = x_111; +x_24 = x_108; +goto block_30; +} +else +{ +uint8_t x_112; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_112 = !lean_is_exclusive(x_107); +if (x_112 == 0) +{ +return x_107; +} +else +{ +lean_object* x_113; lean_object* x_114; lean_object* x_115; +x_113 = lean_ctor_get(x_107, 0); +x_114 = lean_ctor_get(x_107, 1); +lean_inc(x_114); +lean_inc(x_113); +lean_dec(x_107); +x_115 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_115, 0, x_113); +lean_ctor_set(x_115, 1, x_114); +return x_115; +} +} +} +case 5: +{ +lean_object* x_116; lean_object* x_117; +lean_dec(x_78); +x_116 = l_Lean_Expr_app___override(x_35, x_44); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_116); +x_117 = lean_infer_type(x_116, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_117) == 0) +{ +lean_object* x_118; lean_object* x_119; lean_object* x_120; +x_118 = lean_ctor_get(x_117, 0); +lean_inc(x_118); +x_119 = lean_ctor_get(x_117, 1); +lean_inc(x_119); +lean_dec(x_117); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_120 = lean_whnf(x_118, x_13, x_14, x_15, x_16, x_119); +if (lean_obj_tag(x_120) == 0) +{ +lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; uint8_t x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_123 = l_Lean_Expr_bindingDomain_x21(x_121); +lean_dec(x_121); +x_124 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_124, 0, x_123); +x_125 = 0; +x_126 = lean_box(0); +lean_inc(x_13); +x_127 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_124, x_125, x_126, x_13, x_14, x_15, x_16, x_122); +x_128 = lean_ctor_get(x_127, 0); +lean_inc(x_128); +x_129 = lean_ctor_get(x_127, 1); +lean_inc(x_129); +lean_dec(x_127); +lean_inc(x_128); +x_130 = l_Lean_Expr_app___override(x_116, x_128); +x_131 = l_Lean_Expr_mvarId_x21(x_128); +x_132 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_132, 0, x_131); +x_133 = lean_array_push(x_34, x_132); +if (lean_is_scalar(x_36)) { + x_134 = lean_alloc_ctor(0, 2, 0); +} else { + x_134 = x_36; +} +lean_ctor_set(x_134, 0, x_133); +lean_ctor_set(x_134, 1, x_130); +if (lean_is_scalar(x_33)) { + x_135 = lean_alloc_ctor(0, 2, 0); +} else { + x_135 = x_33; +} +lean_ctor_set(x_135, 0, x_32); +lean_ctor_set(x_135, 1, x_134); +x_136 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_23 = x_136; +x_24 = x_129; +goto block_30; +} +else +{ +uint8_t x_137; +lean_dec(x_116); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_137 = !lean_is_exclusive(x_120); +if (x_137 == 0) +{ +return x_120; +} +else +{ +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_120, 0); +x_139 = lean_ctor_get(x_120, 1); +lean_inc(x_139); +lean_inc(x_138); +lean_dec(x_120); +x_140 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_140, 0, x_138); +lean_ctor_set(x_140, 1, x_139); +return x_140; +} +} +} +else +{ +uint8_t x_141; +lean_dec(x_116); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_141 = !lean_is_exclusive(x_117); +if (x_141 == 0) +{ +return x_117; +} +else +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; +x_142 = lean_ctor_get(x_117, 0); +x_143 = lean_ctor_get(x_117, 1); +lean_inc(x_143); +lean_inc(x_142); +lean_dec(x_117); +x_144 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +return x_144; +} +} +} +default: +{ +lean_object* x_145; +lean_dec(x_81); +x_145 = l_Lean_Expr_app___override(x_35, x_44); +if (x_1 == 0) +{ +uint8_t x_146; +x_146 = l_Lean_Meta_ParamInfo_isExplicit(x_78); +lean_dec(x_78); +if (x_146 == 0) +{ +lean_object* x_147; lean_object* x_148; lean_object* x_149; +if (lean_is_scalar(x_36)) { + x_147 = lean_alloc_ctor(0, 2, 0); +} else { + x_147 = x_36; +} +lean_ctor_set(x_147, 0, x_34); +lean_ctor_set(x_147, 1, x_145); +if (lean_is_scalar(x_33)) { + x_148 = lean_alloc_ctor(0, 2, 0); +} else { + x_148 = x_33; +} +lean_ctor_set(x_148, 0, x_32); +lean_ctor_set(x_148, 1, x_147); +x_149 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_149, 0, x_148); +x_23 = x_149; +x_24 = x_17; +goto block_30; +} +else +{ +lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; +x_150 = lean_box(0); +x_151 = lean_array_push(x_32, x_150); +if (lean_is_scalar(x_36)) { + x_152 = lean_alloc_ctor(0, 2, 0); +} else { + x_152 = x_36; +} +lean_ctor_set(x_152, 0, x_34); +lean_ctor_set(x_152, 1, x_145); +if (lean_is_scalar(x_33)) { + x_153 = lean_alloc_ctor(0, 2, 0); +} else { + x_153 = x_33; +} +lean_ctor_set(x_153, 0, x_151); +lean_ctor_set(x_153, 1, x_152); +x_154 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_154, 0, x_153); +x_23 = x_154; +x_24 = x_17; +goto block_30; +} +} +else +{ +lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; +lean_dec(x_78); +x_155 = lean_box(0); +x_156 = lean_array_push(x_32, x_155); +if (lean_is_scalar(x_36)) { + x_157 = lean_alloc_ctor(0, 2, 0); +} else { + x_157 = x_36; +} +lean_ctor_set(x_157, 0, x_34); +lean_ctor_set(x_157, 1, x_145); +if (lean_is_scalar(x_33)) { + x_158 = lean_alloc_ctor(0, 2, 0); +} else { + x_158 = x_33; +} +lean_ctor_set(x_158, 0, x_156); +lean_ctor_set(x_158, 1, x_157); +x_159 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_159, 0, x_158); +x_23 = x_159; +x_24 = x_17; +goto block_30; +} +} +} +} +else +{ +lean_object* x_160; uint8_t x_161; lean_object* x_162; +x_160 = lean_array_fget(x_41, x_9); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +x_162 = lean_box(x_161); +switch (lean_obj_tag(x_162)) { +case 1: +{ +lean_object* x_163; lean_object* x_164; +lean_dec(x_78); +lean_dec(x_44); +x_163 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_164 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_163, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_164) == 0) +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; +x_165 = lean_ctor_get(x_164, 1); +lean_inc(x_165); +lean_dec(x_164); +if (lean_is_scalar(x_36)) { + x_166 = lean_alloc_ctor(0, 2, 0); +} else { + x_166 = x_36; +} +lean_ctor_set(x_166, 0, x_34); +lean_ctor_set(x_166, 1, x_35); +if (lean_is_scalar(x_33)) { + x_167 = lean_alloc_ctor(0, 2, 0); +} else { + x_167 = x_33; +} +lean_ctor_set(x_167, 0, x_32); +lean_ctor_set(x_167, 1, x_166); +x_168 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_168, 0, x_167); +x_23 = x_168; +x_24 = x_165; +goto block_30; +} +else +{ +uint8_t x_169; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_169 = !lean_is_exclusive(x_164); +if (x_169 == 0) +{ +return x_164; +} +else +{ +lean_object* x_170; lean_object* x_171; lean_object* x_172; +x_170 = lean_ctor_get(x_164, 0); +x_171 = lean_ctor_get(x_164, 1); +lean_inc(x_171); +lean_inc(x_170); +lean_dec(x_164); +x_172 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_172, 0, x_170); +lean_ctor_set(x_172, 1, x_171); +return x_172; +} +} +} +case 2: +{ +if (x_1 == 0) +{ +uint8_t x_173; +x_173 = l_Lean_Meta_ParamInfo_isExplicit(x_78); +lean_dec(x_78); +if (x_173 == 0) +{ +lean_object* x_174; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_44); +x_174 = l_Lean_Meta_mkEqRefl(x_44, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_174) == 0) +{ +lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; +x_175 = lean_ctor_get(x_174, 0); +lean_inc(x_175); +x_176 = lean_ctor_get(x_174, 1); +lean_inc(x_176); +lean_dec(x_174); +lean_inc(x_44); +x_177 = l_Lean_mkApp3(x_35, x_44, x_44, x_175); +if (lean_is_scalar(x_36)) { + x_178 = lean_alloc_ctor(0, 2, 0); +} else { + x_178 = x_36; +} +lean_ctor_set(x_178, 0, x_34); +lean_ctor_set(x_178, 1, x_177); +if (lean_is_scalar(x_33)) { + x_179 = lean_alloc_ctor(0, 2, 0); +} else { + x_179 = x_33; +} +lean_ctor_set(x_179, 0, x_32); +lean_ctor_set(x_179, 1, x_178); +x_180 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_180, 0, x_179); +x_23 = x_180; +x_24 = x_176; +goto block_30; +} +else +{ +uint8_t x_181; +lean_dec(x_44); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_181 = !lean_is_exclusive(x_174); +if (x_181 == 0) +{ +return x_174; +} +else +{ +lean_object* x_182; lean_object* x_183; lean_object* x_184; +x_182 = lean_ctor_get(x_174, 0); +x_183 = lean_ctor_get(x_174, 1); +lean_inc(x_183); +lean_inc(x_182); +lean_dec(x_174); +x_184 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_184, 0, x_182); +lean_ctor_set(x_184, 1, x_183); +return x_184; +} +} +} +else +{ +lean_object* x_185; +lean_dec(x_36); +lean_dec(x_33); +x_185 = lean_box(0); +x_45 = x_185; +goto block_76; +} +} +else +{ +lean_object* x_186; +lean_dec(x_78); +lean_dec(x_36); +lean_dec(x_33); +x_186 = lean_box(0); +x_45 = x_186; +goto block_76; +} +} +case 4: +{ +lean_object* x_187; lean_object* x_188; +lean_dec(x_78); +lean_dec(x_44); +x_187 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_188 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_187, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_188) == 0) +{ +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; +x_189 = lean_ctor_get(x_188, 1); +lean_inc(x_189); +lean_dec(x_188); +if (lean_is_scalar(x_36)) { + x_190 = lean_alloc_ctor(0, 2, 0); +} else { + x_190 = x_36; +} +lean_ctor_set(x_190, 0, x_34); +lean_ctor_set(x_190, 1, x_35); +if (lean_is_scalar(x_33)) { + x_191 = lean_alloc_ctor(0, 2, 0); +} else { + x_191 = x_33; +} +lean_ctor_set(x_191, 0, x_32); +lean_ctor_set(x_191, 1, x_190); +x_192 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_192, 0, x_191); +x_23 = x_192; +x_24 = x_189; +goto block_30; +} +else +{ +uint8_t x_193; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_193 = !lean_is_exclusive(x_188); +if (x_193 == 0) +{ +return x_188; +} +else +{ +lean_object* x_194; lean_object* x_195; lean_object* x_196; +x_194 = lean_ctor_get(x_188, 0); +x_195 = lean_ctor_get(x_188, 1); +lean_inc(x_195); +lean_inc(x_194); +lean_dec(x_188); +x_196 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_196, 0, x_194); +lean_ctor_set(x_196, 1, x_195); +return x_196; +} +} +} +case 5: +{ +lean_object* x_197; lean_object* x_198; +lean_dec(x_78); +x_197 = l_Lean_Expr_app___override(x_35, x_44); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_197); +x_198 = lean_infer_type(x_197, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_198) == 0) +{ +lean_object* x_199; lean_object* x_200; lean_object* x_201; +x_199 = lean_ctor_get(x_198, 0); +lean_inc(x_199); +x_200 = lean_ctor_get(x_198, 1); +lean_inc(x_200); +lean_dec(x_198); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_201 = lean_whnf(x_199, x_13, x_14, x_15, x_16, x_200); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; uint8_t x_206; 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; +x_202 = lean_ctor_get(x_201, 0); +lean_inc(x_202); +x_203 = lean_ctor_get(x_201, 1); +lean_inc(x_203); +lean_dec(x_201); +x_204 = l_Lean_Expr_bindingDomain_x21(x_202); +lean_dec(x_202); +x_205 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_205, 0, x_204); +x_206 = 0; +x_207 = lean_box(0); +lean_inc(x_13); +x_208 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_205, x_206, x_207, x_13, x_14, x_15, x_16, x_203); +x_209 = lean_ctor_get(x_208, 0); +lean_inc(x_209); +x_210 = lean_ctor_get(x_208, 1); +lean_inc(x_210); +lean_dec(x_208); +lean_inc(x_209); +x_211 = l_Lean_Expr_app___override(x_197, x_209); +x_212 = l_Lean_Expr_mvarId_x21(x_209); +x_213 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_213, 0, x_212); +x_214 = lean_array_push(x_34, x_213); +if (lean_is_scalar(x_36)) { + x_215 = lean_alloc_ctor(0, 2, 0); +} else { + x_215 = x_36; +} +lean_ctor_set(x_215, 0, x_214); +lean_ctor_set(x_215, 1, x_211); +if (lean_is_scalar(x_33)) { + x_216 = lean_alloc_ctor(0, 2, 0); +} else { + x_216 = x_33; +} +lean_ctor_set(x_216, 0, x_32); +lean_ctor_set(x_216, 1, x_215); +x_217 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_217, 0, x_216); +x_23 = x_217; +x_24 = x_210; +goto block_30; +} +else +{ +uint8_t x_218; +lean_dec(x_197); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_218 = !lean_is_exclusive(x_201); +if (x_218 == 0) +{ +return x_201; +} +else +{ +lean_object* x_219; lean_object* x_220; lean_object* x_221; +x_219 = lean_ctor_get(x_201, 0); +x_220 = lean_ctor_get(x_201, 1); +lean_inc(x_220); +lean_inc(x_219); +lean_dec(x_201); +x_221 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_221, 0, x_219); +lean_ctor_set(x_221, 1, x_220); +return x_221; +} +} +} +else +{ +uint8_t x_222; +lean_dec(x_197); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_222 = !lean_is_exclusive(x_198); +if (x_222 == 0) +{ +return x_198; +} +else +{ +lean_object* x_223; lean_object* x_224; lean_object* x_225; +x_223 = lean_ctor_get(x_198, 0); +x_224 = lean_ctor_get(x_198, 1); +lean_inc(x_224); +lean_inc(x_223); +lean_dec(x_198); +x_225 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_225, 0, x_223); +lean_ctor_set(x_225, 1, x_224); +return x_225; +} +} +} +default: +{ +lean_object* x_226; +lean_dec(x_162); +x_226 = l_Lean_Expr_app___override(x_35, x_44); +if (x_1 == 0) +{ +uint8_t x_227; +x_227 = l_Lean_Meta_ParamInfo_isExplicit(x_78); +lean_dec(x_78); +if (x_227 == 0) +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; +if (lean_is_scalar(x_36)) { + x_228 = lean_alloc_ctor(0, 2, 0); +} else { + x_228 = x_36; +} +lean_ctor_set(x_228, 0, x_34); +lean_ctor_set(x_228, 1, x_226); +if (lean_is_scalar(x_33)) { + x_229 = lean_alloc_ctor(0, 2, 0); +} else { + x_229 = x_33; +} +lean_ctor_set(x_229, 0, x_32); +lean_ctor_set(x_229, 1, x_228); +x_230 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_230, 0, x_229); +x_23 = x_230; +x_24 = x_17; +goto block_30; +} +else +{ +lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_231 = lean_box(0); +x_232 = lean_array_push(x_32, x_231); +if (lean_is_scalar(x_36)) { + x_233 = lean_alloc_ctor(0, 2, 0); +} else { + x_233 = x_36; +} +lean_ctor_set(x_233, 0, x_34); +lean_ctor_set(x_233, 1, x_226); +if (lean_is_scalar(x_33)) { + x_234 = lean_alloc_ctor(0, 2, 0); +} else { + x_234 = x_33; +} +lean_ctor_set(x_234, 0, x_232); +lean_ctor_set(x_234, 1, x_233); +x_235 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_235, 0, x_234); +x_23 = x_235; +x_24 = x_17; +goto block_30; +} +} +else +{ +lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; +lean_dec(x_78); +x_236 = lean_box(0); +x_237 = lean_array_push(x_32, x_236); +if (lean_is_scalar(x_36)) { + x_238 = lean_alloc_ctor(0, 2, 0); +} else { + x_238 = x_36; +} +lean_ctor_set(x_238, 0, x_34); +lean_ctor_set(x_238, 1, x_226); +if (lean_is_scalar(x_33)) { + x_239 = lean_alloc_ctor(0, 2, 0); +} else { + x_239 = x_33; +} +lean_ctor_set(x_239, 0, x_237); +lean_ctor_set(x_239, 1, x_238); +x_240 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_240, 0, x_239); +x_23 = x_240; +x_24 = x_17; +goto block_30; +} +} +} +} +} +else +{ +lean_object* x_241; +x_241 = lean_array_fget(x_38, x_9); +if (x_43 == 0) +{ +lean_object* x_242; lean_object* x_243; uint8_t x_244; lean_object* x_245; +x_242 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__4; +x_243 = l_panic___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_fixKindsForDependencies___spec__1(x_242); +x_244 = lean_unbox(x_243); +lean_dec(x_243); +x_245 = lean_box(x_244); +switch (lean_obj_tag(x_245)) { +case 1: +{ +lean_object* x_246; lean_object* x_247; +lean_dec(x_241); +lean_dec(x_44); +x_246 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_247 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_246, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_247) == 0) +{ +lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; +x_248 = lean_ctor_get(x_247, 1); +lean_inc(x_248); +lean_dec(x_247); +if (lean_is_scalar(x_36)) { + x_249 = lean_alloc_ctor(0, 2, 0); +} else { + x_249 = x_36; +} +lean_ctor_set(x_249, 0, x_34); +lean_ctor_set(x_249, 1, x_35); +if (lean_is_scalar(x_33)) { + x_250 = lean_alloc_ctor(0, 2, 0); +} else { + x_250 = x_33; +} +lean_ctor_set(x_250, 0, x_32); +lean_ctor_set(x_250, 1, x_249); +x_251 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_251, 0, x_250); +x_23 = x_251; +x_24 = x_248; +goto block_30; +} +else +{ +uint8_t x_252; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_252 = !lean_is_exclusive(x_247); +if (x_252 == 0) +{ +return x_247; +} +else +{ +lean_object* x_253; lean_object* x_254; lean_object* x_255; +x_253 = lean_ctor_get(x_247, 0); +x_254 = lean_ctor_get(x_247, 1); +lean_inc(x_254); +lean_inc(x_253); +lean_dec(x_247); +x_255 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_255, 0, x_253); +lean_ctor_set(x_255, 1, x_254); +return x_255; +} +} +} +case 2: +{ +if (x_1 == 0) +{ +uint8_t x_256; +x_256 = l_Lean_Meta_ParamInfo_isExplicit(x_241); +lean_dec(x_241); +if (x_256 == 0) +{ +lean_object* x_257; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_44); +x_257 = l_Lean_Meta_mkEqRefl(x_44, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_257) == 0) +{ +lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; +x_258 = lean_ctor_get(x_257, 0); +lean_inc(x_258); +x_259 = lean_ctor_get(x_257, 1); +lean_inc(x_259); +lean_dec(x_257); +lean_inc(x_44); +x_260 = l_Lean_mkApp3(x_35, x_44, x_44, x_258); +if (lean_is_scalar(x_36)) { + x_261 = lean_alloc_ctor(0, 2, 0); +} else { + x_261 = x_36; +} +lean_ctor_set(x_261, 0, x_34); +lean_ctor_set(x_261, 1, x_260); +if (lean_is_scalar(x_33)) { + x_262 = lean_alloc_ctor(0, 2, 0); +} else { + x_262 = x_33; +} +lean_ctor_set(x_262, 0, x_32); +lean_ctor_set(x_262, 1, x_261); +x_263 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_263, 0, x_262); +x_23 = x_263; +x_24 = x_259; +goto block_30; +} +else +{ +uint8_t x_264; +lean_dec(x_44); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_264 = !lean_is_exclusive(x_257); +if (x_264 == 0) +{ +return x_257; +} +else +{ +lean_object* x_265; lean_object* x_266; lean_object* x_267; +x_265 = lean_ctor_get(x_257, 0); +x_266 = lean_ctor_get(x_257, 1); +lean_inc(x_266); +lean_inc(x_265); +lean_dec(x_257); +x_267 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_267, 0, x_265); +lean_ctor_set(x_267, 1, x_266); +return x_267; +} +} +} +else +{ +lean_object* x_268; +lean_dec(x_36); +lean_dec(x_33); +x_268 = lean_box(0); +x_45 = x_268; +goto block_76; +} +} +else +{ +lean_object* x_269; +lean_dec(x_241); +lean_dec(x_36); +lean_dec(x_33); +x_269 = lean_box(0); +x_45 = x_269; +goto block_76; +} +} +case 4: +{ +lean_object* x_270; lean_object* x_271; +lean_dec(x_241); +lean_dec(x_44); +x_270 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_271 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_270, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_271) == 0) +{ +lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; +x_272 = lean_ctor_get(x_271, 1); +lean_inc(x_272); +lean_dec(x_271); +if (lean_is_scalar(x_36)) { + x_273 = lean_alloc_ctor(0, 2, 0); +} else { + x_273 = x_36; +} +lean_ctor_set(x_273, 0, x_34); +lean_ctor_set(x_273, 1, x_35); +if (lean_is_scalar(x_33)) { + x_274 = lean_alloc_ctor(0, 2, 0); +} else { + x_274 = x_33; +} +lean_ctor_set(x_274, 0, x_32); +lean_ctor_set(x_274, 1, x_273); +x_275 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_275, 0, x_274); +x_23 = x_275; +x_24 = x_272; +goto block_30; +} +else +{ +uint8_t x_276; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_276 = !lean_is_exclusive(x_271); +if (x_276 == 0) +{ +return x_271; +} +else +{ +lean_object* x_277; lean_object* x_278; lean_object* x_279; +x_277 = lean_ctor_get(x_271, 0); +x_278 = lean_ctor_get(x_271, 1); +lean_inc(x_278); +lean_inc(x_277); +lean_dec(x_271); +x_279 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_279, 0, x_277); +lean_ctor_set(x_279, 1, x_278); +return x_279; +} +} +} +case 5: +{ +lean_object* x_280; lean_object* x_281; +lean_dec(x_241); +x_280 = l_Lean_Expr_app___override(x_35, x_44); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_280); +x_281 = lean_infer_type(x_280, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_281) == 0) +{ +lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_282 = lean_ctor_get(x_281, 0); +lean_inc(x_282); +x_283 = lean_ctor_get(x_281, 1); +lean_inc(x_283); +lean_dec(x_281); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_284 = lean_whnf(x_282, x_13, x_14, x_15, x_16, x_283); +if (lean_obj_tag(x_284) == 0) +{ +lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; uint8_t x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; +x_285 = lean_ctor_get(x_284, 0); +lean_inc(x_285); +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +lean_dec(x_284); +x_287 = l_Lean_Expr_bindingDomain_x21(x_285); +lean_dec(x_285); +x_288 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_288, 0, x_287); +x_289 = 0; +x_290 = lean_box(0); +lean_inc(x_13); +x_291 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_288, x_289, x_290, x_13, x_14, x_15, x_16, x_286); +x_292 = lean_ctor_get(x_291, 0); +lean_inc(x_292); +x_293 = lean_ctor_get(x_291, 1); +lean_inc(x_293); +lean_dec(x_291); +lean_inc(x_292); +x_294 = l_Lean_Expr_app___override(x_280, x_292); +x_295 = l_Lean_Expr_mvarId_x21(x_292); +x_296 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_296, 0, x_295); +x_297 = lean_array_push(x_34, x_296); +if (lean_is_scalar(x_36)) { + x_298 = lean_alloc_ctor(0, 2, 0); +} else { + x_298 = x_36; +} +lean_ctor_set(x_298, 0, x_297); +lean_ctor_set(x_298, 1, x_294); +if (lean_is_scalar(x_33)) { + x_299 = lean_alloc_ctor(0, 2, 0); +} else { + x_299 = x_33; +} +lean_ctor_set(x_299, 0, x_32); +lean_ctor_set(x_299, 1, x_298); +x_300 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_300, 0, x_299); +x_23 = x_300; +x_24 = x_293; +goto block_30; +} +else +{ +uint8_t x_301; +lean_dec(x_280); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_301 = !lean_is_exclusive(x_284); +if (x_301 == 0) +{ +return x_284; +} +else +{ +lean_object* x_302; lean_object* x_303; lean_object* x_304; +x_302 = lean_ctor_get(x_284, 0); +x_303 = lean_ctor_get(x_284, 1); +lean_inc(x_303); +lean_inc(x_302); +lean_dec(x_284); +x_304 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_304, 0, x_302); +lean_ctor_set(x_304, 1, x_303); +return x_304; +} +} +} +else +{ +uint8_t x_305; +lean_dec(x_280); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_305 = !lean_is_exclusive(x_281); +if (x_305 == 0) +{ +return x_281; +} +else +{ +lean_object* x_306; lean_object* x_307; lean_object* x_308; +x_306 = lean_ctor_get(x_281, 0); +x_307 = lean_ctor_get(x_281, 1); +lean_inc(x_307); +lean_inc(x_306); +lean_dec(x_281); +x_308 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_308, 0, x_306); +lean_ctor_set(x_308, 1, x_307); +return x_308; +} +} +} +default: +{ +lean_object* x_309; +lean_dec(x_245); +x_309 = l_Lean_Expr_app___override(x_35, x_44); +if (x_1 == 0) +{ +uint8_t x_310; +x_310 = l_Lean_Meta_ParamInfo_isExplicit(x_241); +lean_dec(x_241); +if (x_310 == 0) +{ +lean_object* x_311; lean_object* x_312; lean_object* x_313; +if (lean_is_scalar(x_36)) { + x_311 = lean_alloc_ctor(0, 2, 0); +} else { + x_311 = x_36; +} +lean_ctor_set(x_311, 0, x_34); +lean_ctor_set(x_311, 1, x_309); +if (lean_is_scalar(x_33)) { + x_312 = lean_alloc_ctor(0, 2, 0); +} else { + x_312 = x_33; +} +lean_ctor_set(x_312, 0, x_32); +lean_ctor_set(x_312, 1, x_311); +x_313 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_313, 0, x_312); +x_23 = x_313; +x_24 = x_17; +goto block_30; +} +else +{ +lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; +x_314 = lean_box(0); +x_315 = lean_array_push(x_32, x_314); +if (lean_is_scalar(x_36)) { + x_316 = lean_alloc_ctor(0, 2, 0); +} else { + x_316 = x_36; +} +lean_ctor_set(x_316, 0, x_34); +lean_ctor_set(x_316, 1, x_309); +if (lean_is_scalar(x_33)) { + x_317 = lean_alloc_ctor(0, 2, 0); +} else { + x_317 = x_33; +} +lean_ctor_set(x_317, 0, x_315); +lean_ctor_set(x_317, 1, x_316); +x_318 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_318, 0, x_317); +x_23 = x_318; +x_24 = x_17; +goto block_30; +} +} +else +{ +lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; +lean_dec(x_241); +x_319 = lean_box(0); +x_320 = lean_array_push(x_32, x_319); +if (lean_is_scalar(x_36)) { + x_321 = lean_alloc_ctor(0, 2, 0); +} else { + x_321 = x_36; +} +lean_ctor_set(x_321, 0, x_34); +lean_ctor_set(x_321, 1, x_309); +if (lean_is_scalar(x_33)) { + x_322 = lean_alloc_ctor(0, 2, 0); +} else { + x_322 = x_33; +} +lean_ctor_set(x_322, 0, x_320); +lean_ctor_set(x_322, 1, x_321); +x_323 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_323, 0, x_322); +x_23 = x_323; +x_24 = x_17; +goto block_30; +} +} +} +} +else +{ +lean_object* x_324; uint8_t x_325; lean_object* x_326; +x_324 = lean_array_fget(x_41, x_9); +x_325 = lean_unbox(x_324); +lean_dec(x_324); +x_326 = lean_box(x_325); +switch (lean_obj_tag(x_326)) { +case 1: +{ +lean_object* x_327; lean_object* x_328; +lean_dec(x_241); +lean_dec(x_44); +x_327 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_328 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_327, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_328) == 0) +{ +lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_329 = lean_ctor_get(x_328, 1); +lean_inc(x_329); +lean_dec(x_328); +if (lean_is_scalar(x_36)) { + x_330 = lean_alloc_ctor(0, 2, 0); +} else { + x_330 = x_36; +} +lean_ctor_set(x_330, 0, x_34); +lean_ctor_set(x_330, 1, x_35); +if (lean_is_scalar(x_33)) { + x_331 = lean_alloc_ctor(0, 2, 0); +} else { + x_331 = x_33; +} +lean_ctor_set(x_331, 0, x_32); +lean_ctor_set(x_331, 1, x_330); +x_332 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_332, 0, x_331); +x_23 = x_332; +x_24 = x_329; +goto block_30; +} +else +{ +uint8_t x_333; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_333 = !lean_is_exclusive(x_328); +if (x_333 == 0) +{ +return x_328; +} +else +{ +lean_object* x_334; lean_object* x_335; lean_object* x_336; +x_334 = lean_ctor_get(x_328, 0); +x_335 = lean_ctor_get(x_328, 1); +lean_inc(x_335); +lean_inc(x_334); +lean_dec(x_328); +x_336 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_336, 0, x_334); +lean_ctor_set(x_336, 1, x_335); +return x_336; +} +} +} +case 2: +{ +if (x_1 == 0) +{ +uint8_t x_337; +x_337 = l_Lean_Meta_ParamInfo_isExplicit(x_241); +lean_dec(x_241); +if (x_337 == 0) +{ +lean_object* x_338; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_44); +x_338 = l_Lean_Meta_mkEqRefl(x_44, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_338) == 0) +{ +lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; +x_339 = lean_ctor_get(x_338, 0); +lean_inc(x_339); +x_340 = lean_ctor_get(x_338, 1); +lean_inc(x_340); +lean_dec(x_338); +lean_inc(x_44); +x_341 = l_Lean_mkApp3(x_35, x_44, x_44, x_339); +if (lean_is_scalar(x_36)) { + x_342 = lean_alloc_ctor(0, 2, 0); +} else { + x_342 = x_36; +} +lean_ctor_set(x_342, 0, x_34); +lean_ctor_set(x_342, 1, x_341); +if (lean_is_scalar(x_33)) { + x_343 = lean_alloc_ctor(0, 2, 0); +} else { + x_343 = x_33; +} +lean_ctor_set(x_343, 0, x_32); +lean_ctor_set(x_343, 1, x_342); +x_344 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_344, 0, x_343); +x_23 = x_344; +x_24 = x_340; +goto block_30; +} +else +{ +uint8_t x_345; +lean_dec(x_44); +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_345 = !lean_is_exclusive(x_338); +if (x_345 == 0) +{ +return x_338; +} +else +{ +lean_object* x_346; lean_object* x_347; lean_object* x_348; +x_346 = lean_ctor_get(x_338, 0); +x_347 = lean_ctor_get(x_338, 1); +lean_inc(x_347); +lean_inc(x_346); +lean_dec(x_338); +x_348 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_348, 0, x_346); +lean_ctor_set(x_348, 1, x_347); +return x_348; +} +} +} +else +{ +lean_object* x_349; +lean_dec(x_36); +lean_dec(x_33); +x_349 = lean_box(0); +x_45 = x_349; +goto block_76; +} +} +else +{ +lean_object* x_350; +lean_dec(x_241); +lean_dec(x_36); +lean_dec(x_33); +x_350 = lean_box(0); +x_45 = x_350; +goto block_76; +} +} +case 4: +{ +lean_object* x_351; lean_object* x_352; +lean_dec(x_241); +lean_dec(x_44); +x_351 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_352 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_351, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_352) == 0) +{ +lean_object* x_353; lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_353 = lean_ctor_get(x_352, 1); +lean_inc(x_353); +lean_dec(x_352); +if (lean_is_scalar(x_36)) { + x_354 = lean_alloc_ctor(0, 2, 0); +} else { + x_354 = x_36; +} +lean_ctor_set(x_354, 0, x_34); +lean_ctor_set(x_354, 1, x_35); +if (lean_is_scalar(x_33)) { + x_355 = lean_alloc_ctor(0, 2, 0); +} else { + x_355 = x_33; +} +lean_ctor_set(x_355, 0, x_32); +lean_ctor_set(x_355, 1, x_354); +x_356 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_356, 0, x_355); +x_23 = x_356; +x_24 = x_353; +goto block_30; +} +else +{ +uint8_t x_357; +lean_dec(x_36); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_357 = !lean_is_exclusive(x_352); +if (x_357 == 0) +{ +return x_352; +} +else +{ +lean_object* x_358; lean_object* x_359; lean_object* x_360; +x_358 = lean_ctor_get(x_352, 0); +x_359 = lean_ctor_get(x_352, 1); +lean_inc(x_359); +lean_inc(x_358); +lean_dec(x_352); +x_360 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_360, 0, x_358); +lean_ctor_set(x_360, 1, x_359); +return x_360; +} +} +} +case 5: +{ +lean_object* x_361; lean_object* x_362; +lean_dec(x_241); +x_361 = l_Lean_Expr_app___override(x_35, x_44); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_361); +x_362 = lean_infer_type(x_361, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_362) == 0) +{ +lean_object* x_363; lean_object* x_364; lean_object* x_365; +x_363 = lean_ctor_get(x_362, 0); +lean_inc(x_363); +x_364 = lean_ctor_get(x_362, 1); +lean_inc(x_364); +lean_dec(x_362); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_365 = lean_whnf(x_363, x_13, x_14, x_15, x_16, x_364); +if (lean_obj_tag(x_365) == 0) +{ +lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; uint8_t x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; +x_366 = lean_ctor_get(x_365, 0); +lean_inc(x_366); +x_367 = lean_ctor_get(x_365, 1); +lean_inc(x_367); +lean_dec(x_365); +x_368 = l_Lean_Expr_bindingDomain_x21(x_366); +lean_dec(x_366); +x_369 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_369, 0, x_368); +x_370 = 0; +x_371 = lean_box(0); +lean_inc(x_13); +x_372 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_369, x_370, x_371, x_13, x_14, x_15, x_16, x_367); +x_373 = lean_ctor_get(x_372, 0); +lean_inc(x_373); +x_374 = lean_ctor_get(x_372, 1); +lean_inc(x_374); +lean_dec(x_372); +lean_inc(x_373); +x_375 = l_Lean_Expr_app___override(x_361, x_373); +x_376 = l_Lean_Expr_mvarId_x21(x_373); +x_377 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_377, 0, x_376); +x_378 = lean_array_push(x_34, x_377); +if (lean_is_scalar(x_36)) { + x_379 = lean_alloc_ctor(0, 2, 0); +} else { + x_379 = x_36; +} +lean_ctor_set(x_379, 0, x_378); +lean_ctor_set(x_379, 1, x_375); +if (lean_is_scalar(x_33)) { + x_380 = lean_alloc_ctor(0, 2, 0); +} else { + x_380 = x_33; +} +lean_ctor_set(x_380, 0, x_32); +lean_ctor_set(x_380, 1, x_379); +x_381 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_381, 0, x_380); +x_23 = x_381; +x_24 = x_374; +goto block_30; +} +else +{ +uint8_t x_382; +lean_dec(x_361); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_382 = !lean_is_exclusive(x_365); +if (x_382 == 0) +{ +return x_365; +} +else +{ +lean_object* x_383; lean_object* x_384; lean_object* x_385; +x_383 = lean_ctor_get(x_365, 0); +x_384 = lean_ctor_get(x_365, 1); +lean_inc(x_384); +lean_inc(x_383); +lean_dec(x_365); +x_385 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_385, 0, x_383); +lean_ctor_set(x_385, 1, x_384); +return x_385; +} +} +} +else +{ +uint8_t x_386; +lean_dec(x_361); +lean_dec(x_36); +lean_dec(x_34); +lean_dec(x_33); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_386 = !lean_is_exclusive(x_362); +if (x_386 == 0) +{ +return x_362; +} +else +{ +lean_object* x_387; lean_object* x_388; lean_object* x_389; +x_387 = lean_ctor_get(x_362, 0); +x_388 = lean_ctor_get(x_362, 1); +lean_inc(x_388); +lean_inc(x_387); +lean_dec(x_362); +x_389 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_389, 0, x_387); +lean_ctor_set(x_389, 1, x_388); +return x_389; +} +} +} +default: +{ +lean_object* x_390; +lean_dec(x_326); +x_390 = l_Lean_Expr_app___override(x_35, x_44); +if (x_1 == 0) +{ +uint8_t x_391; +x_391 = l_Lean_Meta_ParamInfo_isExplicit(x_241); +lean_dec(x_241); +if (x_391 == 0) +{ +lean_object* x_392; lean_object* x_393; lean_object* x_394; +if (lean_is_scalar(x_36)) { + x_392 = lean_alloc_ctor(0, 2, 0); +} else { + x_392 = x_36; +} +lean_ctor_set(x_392, 0, x_34); +lean_ctor_set(x_392, 1, x_390); +if (lean_is_scalar(x_33)) { + x_393 = lean_alloc_ctor(0, 2, 0); +} else { + x_393 = x_33; +} +lean_ctor_set(x_393, 0, x_32); +lean_ctor_set(x_393, 1, x_392); +x_394 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_394, 0, x_393); +x_23 = x_394; +x_24 = x_17; +goto block_30; +} +else +{ +lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; +x_395 = lean_box(0); +x_396 = lean_array_push(x_32, x_395); +if (lean_is_scalar(x_36)) { + x_397 = lean_alloc_ctor(0, 2, 0); +} else { + x_397 = x_36; +} +lean_ctor_set(x_397, 0, x_34); +lean_ctor_set(x_397, 1, x_390); +if (lean_is_scalar(x_33)) { + x_398 = lean_alloc_ctor(0, 2, 0); +} else { + x_398 = x_33; +} +lean_ctor_set(x_398, 0, x_396); +lean_ctor_set(x_398, 1, x_397); +x_399 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_399, 0, x_398); +x_23 = x_399; +x_24 = x_17; +goto block_30; +} +} +else +{ +lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; +lean_dec(x_241); +x_400 = lean_box(0); +x_401 = lean_array_push(x_32, x_400); +if (lean_is_scalar(x_36)) { + x_402 = lean_alloc_ctor(0, 2, 0); +} else { + x_402 = x_36; +} +lean_ctor_set(x_402, 0, x_34); +lean_ctor_set(x_402, 1, x_390); +if (lean_is_scalar(x_33)) { + x_403 = lean_alloc_ctor(0, 2, 0); +} else { + x_403 = x_33; +} +lean_ctor_set(x_403, 0, x_401); +lean_ctor_set(x_403, 1, x_402); +x_404 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_404, 0, x_403); +x_23 = x_404; +x_24 = x_17; +goto block_30; +} +} +} +} +} +block_76: +{ +lean_dec(x_45); +if (x_2 == 0) +{ +lean_object* x_46; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_3); +x_46 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___lambda__1(x_44, x_34, x_32, x_35, x_3, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_46) == 0) +{ +lean_object* x_47; lean_object* x_48; +x_47 = lean_ctor_get(x_46, 0); +lean_inc(x_47); +x_48 = lean_ctor_get(x_46, 1); +lean_inc(x_48); +lean_dec(x_46); +x_23 = x_47; +x_24 = x_48; +goto block_30; +} +else +{ +uint8_t x_49; +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_49 = !lean_is_exclusive(x_46); +if (x_49 == 0) +{ +return x_46; +} +else +{ +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_46, 0); +x_51 = lean_ctor_get(x_46, 1); +lean_inc(x_51); +lean_inc(x_50); +lean_dec(x_46); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; +} +} +} +else +{ +lean_object* x_53; +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +lean_inc(x_35); +x_53 = lean_infer_type(x_35, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_53) == 0) +{ +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_53, 0); +lean_inc(x_54); +x_55 = lean_ctor_get(x_53, 1); +lean_inc(x_55); +lean_dec(x_53); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_56 = lean_whnf(x_54, x_13, x_14, x_15, x_16, x_55); +if (lean_obj_tag(x_56) == 0) +{ +lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; +x_57 = lean_ctor_get(x_56, 0); +lean_inc(x_57); +x_58 = lean_ctor_get(x_56, 1); lean_inc(x_58); -x_59 = lean_ctor_get(x_57, 1); -lean_inc(x_59); +lean_dec(x_56); +x_59 = l_Lean_Expr_bindingName_x21(x_57); lean_dec(x_57); -lean_inc(x_40); -x_60 = l_Lean_mkApp3(x_31, x_40, x_40, x_58); -if (lean_is_scalar(x_32)) { - x_61 = lean_alloc_ctor(0, 2, 0); -} else { - x_61 = x_32; -} -lean_ctor_set(x_61, 0, x_30); -lean_ctor_set(x_61, 1, x_60); -if (lean_is_scalar(x_29)) { - x_62 = lean_alloc_ctor(0, 2, 0); -} else { - x_62 = x_29; -} -lean_ctor_set(x_62, 0, x_28); -lean_ctor_set(x_62, 1, x_61); -x_63 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_63, 0, x_62); -x_21 = x_63; -x_22 = x_59; -goto block_26; +x_60 = l_Lean_Name_append(x_3, x_59); +lean_inc(x_16); +lean_inc(x_15); +lean_inc(x_14); +lean_inc(x_13); +x_61 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___lambda__1(x_44, x_34, x_32, x_35, x_60, x_13, x_14, x_15, x_16, x_58); +if (lean_obj_tag(x_61) == 0) +{ +lean_object* x_62; lean_object* x_63; +x_62 = lean_ctor_get(x_61, 0); +lean_inc(x_62); +x_63 = lean_ctor_get(x_61, 1); +lean_inc(x_63); +lean_dec(x_61); +x_23 = x_62; +x_24 = x_63; +goto block_30; } else { uint8_t x_64; -lean_dec(x_40); -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_64 = !lean_is_exclusive(x_57); +lean_dec(x_9); +lean_dec(x_3); +x_64 = !lean_is_exclusive(x_61); if (x_64 == 0) { -return x_57; +return x_61; } else { lean_object* x_65; lean_object* x_66; lean_object* x_67; -x_65 = lean_ctor_get(x_57, 0); -x_66 = lean_ctor_get(x_57, 1); +x_65 = lean_ctor_get(x_61, 0); +x_66 = lean_ctor_get(x_61, 1); lean_inc(x_66); lean_inc(x_65); -lean_dec(x_57); +lean_dec(x_61); x_67 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_67, 0, x_65); lean_ctor_set(x_67, 1, x_66); @@ -1516,1129 +3542,105 @@ return x_67; } else { -lean_object* x_68; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_40); -x_68 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_40, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_68) == 0) +uint8_t x_68; +lean_dec(x_44); +lean_dec(x_35); +lean_dec(x_34); +lean_dec(x_32); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_9); +lean_dec(x_3); +x_68 = !lean_is_exclusive(x_56); +if (x_68 == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; -x_69 = lean_ctor_get(x_68, 0); -lean_inc(x_69); -x_70 = lean_ctor_get(x_68, 1); +return x_56; +} +else +{ +lean_object* x_69; lean_object* x_70; lean_object* x_71; +x_69 = lean_ctor_get(x_56, 0); +x_70 = lean_ctor_get(x_56, 1); lean_inc(x_70); -lean_dec(x_68); -x_71 = lean_ctor_get(x_69, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_69, 1); -lean_inc(x_72); -lean_dec(x_69); -lean_inc(x_72); -x_73 = l_Lean_mkApp3(x_31, x_40, x_71, x_72); -x_74 = l_Lean_Expr_mvarId_x21(x_72); -x_75 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_75, 0, x_74); -x_76 = lean_array_push(x_28, x_75); -if (lean_is_scalar(x_32)) { - x_77 = lean_alloc_ctor(0, 2, 0); -} else { - x_77 = x_32; +lean_inc(x_69); +lean_dec(x_56); +x_71 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_71, 0, x_69); +lean_ctor_set(x_71, 1, x_70); +return x_71; } -lean_ctor_set(x_77, 0, x_30); -lean_ctor_set(x_77, 1, x_73); -if (lean_is_scalar(x_29)) { - x_78 = lean_alloc_ctor(0, 2, 0); -} else { - x_78 = x_29; } -lean_ctor_set(x_78, 0, x_76); -lean_ctor_set(x_78, 1, x_77); -x_79 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_79, 0, x_78); -x_21 = x_79; -x_22 = x_70; -goto block_26; } else { -uint8_t x_80; -lean_dec(x_40); +uint8_t x_72; +lean_dec(x_44); +lean_dec(x_35); +lean_dec(x_34); lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); +lean_dec(x_22); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_80 = !lean_is_exclusive(x_68); -if (x_80 == 0) +lean_dec(x_9); +lean_dec(x_3); +x_72 = !lean_is_exclusive(x_53); +if (x_72 == 0) { -return x_68; +return x_53; } else { -lean_object* x_81; lean_object* x_82; lean_object* x_83; -x_81 = lean_ctor_get(x_68, 0); -x_82 = lean_ctor_get(x_68, 1); -lean_inc(x_82); -lean_inc(x_81); -lean_dec(x_68); -x_83 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_83, 0, x_81); -lean_ctor_set(x_83, 1, x_82); -return x_83; +lean_object* x_73; lean_object* x_74; lean_object* x_75; +x_73 = lean_ctor_get(x_53, 0); +x_74 = lean_ctor_get(x_53, 1); +lean_inc(x_74); +lean_inc(x_73); +lean_dec(x_53); +x_75 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_75, 0, x_73); +lean_ctor_set(x_75, 1, x_74); +return x_75; +} +} } } } } else { -lean_object* x_84; -lean_dec(x_41); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_40); -x_84 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_40, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_84) == 0) -{ -lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_85 = lean_ctor_get(x_84, 0); -lean_inc(x_85); -x_86 = lean_ctor_get(x_84, 1); -lean_inc(x_86); -lean_dec(x_84); -x_87 = lean_ctor_get(x_85, 0); -lean_inc(x_87); -x_88 = lean_ctor_get(x_85, 1); -lean_inc(x_88); -lean_dec(x_85); -lean_inc(x_88); -x_89 = l_Lean_mkApp3(x_31, x_40, x_87, x_88); -x_90 = l_Lean_Expr_mvarId_x21(x_88); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = lean_array_push(x_28, x_91); -if (lean_is_scalar(x_32)) { - x_93 = lean_alloc_ctor(0, 2, 0); -} else { - x_93 = x_32; -} -lean_ctor_set(x_93, 0, x_30); -lean_ctor_set(x_93, 1, x_89); -if (lean_is_scalar(x_29)) { - x_94 = lean_alloc_ctor(0, 2, 0); -} else { - x_94 = x_29; -} -lean_ctor_set(x_94, 0, x_92); -lean_ctor_set(x_94, 1, x_93); -x_95 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_95, 0, x_94); -x_21 = x_95; -x_22 = x_86; -goto block_26; -} -else -{ -uint8_t x_96; -lean_dec(x_40); -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); +lean_object* x_409; +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_96 = !lean_is_exclusive(x_84); -if (x_96 == 0) -{ -return x_84; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +x_409 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_409, 0, x_12); +lean_ctor_set(x_409, 1, x_17); +return x_409; +} } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_84, 0); -x_98 = lean_ctor_get(x_84, 1); -lean_inc(x_98); -lean_inc(x_97); -lean_dec(x_84); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; -} -} -} -} -case 4: -{ -lean_object* x_100; lean_object* x_101; -lean_dec(x_41); -lean_dec(x_40); -x_100 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_101 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_100, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_101) == 0) -{ -lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; -x_102 = lean_ctor_get(x_101, 1); -lean_inc(x_102); -lean_dec(x_101); -if (lean_is_scalar(x_32)) { - x_103 = lean_alloc_ctor(0, 2, 0); -} else { - x_103 = x_32; -} -lean_ctor_set(x_103, 0, x_30); -lean_ctor_set(x_103, 1, x_31); -if (lean_is_scalar(x_29)) { - x_104 = lean_alloc_ctor(0, 2, 0); -} else { - x_104 = x_29; -} -lean_ctor_set(x_104, 0, x_28); -lean_ctor_set(x_104, 1, x_103); -x_105 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_105, 0, x_104); -x_21 = x_105; -x_22 = x_102; -goto block_26; -} -else -{ -uint8_t x_106; -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); +lean_object* x_410; +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_106 = !lean_is_exclusive(x_101); -if (x_106 == 0) -{ -return x_101; -} -else -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; -x_107 = lean_ctor_get(x_101, 0); -x_108 = lean_ctor_get(x_101, 1); -lean_inc(x_108); -lean_inc(x_107); -lean_dec(x_101); -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; -} -} -} -case 5: -{ -lean_object* x_110; lean_object* x_111; -lean_dec(x_41); -x_110 = l_Lean_Expr_app___override(x_31, x_40); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_110); -x_111 = lean_infer_type(x_110, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_111) == 0) -{ -lean_object* x_112; lean_object* x_113; lean_object* x_114; -x_112 = lean_ctor_get(x_111, 0); -lean_inc(x_112); -x_113 = lean_ctor_get(x_111, 1); -lean_inc(x_113); -lean_dec(x_111); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_114 = lean_whnf(x_112, x_11, x_12, x_13, x_14, x_113); -if (lean_obj_tag(x_114) == 0) -{ -lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; -x_115 = lean_ctor_get(x_114, 0); -lean_inc(x_115); -x_116 = lean_ctor_get(x_114, 1); -lean_inc(x_116); -lean_dec(x_114); -x_117 = l_Lean_Expr_bindingDomain_x21(x_115); -lean_dec(x_115); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_119 = 0; -x_120 = lean_box(0); -lean_inc(x_11); -x_121 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_118, x_119, x_120, x_11, x_12, x_13, x_14, x_116); -x_122 = lean_ctor_get(x_121, 0); -lean_inc(x_122); -x_123 = lean_ctor_get(x_121, 1); -lean_inc(x_123); -lean_dec(x_121); -lean_inc(x_122); -x_124 = l_Lean_Expr_app___override(x_110, x_122); -x_125 = l_Lean_Expr_mvarId_x21(x_122); -x_126 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_126, 0, x_125); -x_127 = lean_array_push(x_30, x_126); -if (lean_is_scalar(x_32)) { - x_128 = lean_alloc_ctor(0, 2, 0); -} else { - x_128 = x_32; -} -lean_ctor_set(x_128, 0, x_127); -lean_ctor_set(x_128, 1, x_124); -if (lean_is_scalar(x_29)) { - x_129 = lean_alloc_ctor(0, 2, 0); -} else { - x_129 = x_29; -} -lean_ctor_set(x_129, 0, x_28); -lean_ctor_set(x_129, 1, x_128); -x_130 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_130, 0, x_129); -x_21 = x_130; -x_22 = x_123; -goto block_26; -} -else -{ -uint8_t x_131; -lean_dec(x_110); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_131 = !lean_is_exclusive(x_114); -if (x_131 == 0) -{ -return x_114; -} -else -{ -lean_object* x_132; lean_object* x_133; lean_object* x_134; -x_132 = lean_ctor_get(x_114, 0); -x_133 = lean_ctor_get(x_114, 1); -lean_inc(x_133); -lean_inc(x_132); -lean_dec(x_114); -x_134 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_134, 0, x_132); -lean_ctor_set(x_134, 1, x_133); -return x_134; -} -} -} -else -{ -uint8_t x_135; -lean_dec(x_110); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_135 = !lean_is_exclusive(x_111); -if (x_135 == 0) -{ -return x_111; -} -else -{ -lean_object* x_136; lean_object* x_137; lean_object* x_138; -x_136 = lean_ctor_get(x_111, 0); -x_137 = lean_ctor_get(x_111, 1); -lean_inc(x_137); -lean_inc(x_136); -lean_dec(x_111); -x_138 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_138, 0, x_136); -lean_ctor_set(x_138, 1, x_137); -return x_138; -} -} -} -default: -{ -lean_object* x_139; -lean_dec(x_45); -x_139 = l_Lean_Expr_app___override(x_31, x_40); -if (x_1 == 0) -{ -uint8_t x_140; -x_140 = l_Lean_Meta_ParamInfo_isExplicit(x_41); -lean_dec(x_41); -if (x_140 == 0) -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; -if (lean_is_scalar(x_32)) { - x_141 = lean_alloc_ctor(0, 2, 0); -} else { - x_141 = x_32; -} -lean_ctor_set(x_141, 0, x_30); -lean_ctor_set(x_141, 1, x_139); -if (lean_is_scalar(x_29)) { - x_142 = lean_alloc_ctor(0, 2, 0); -} else { - x_142 = x_29; -} -lean_ctor_set(x_142, 0, x_28); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_143, 0, x_142); -x_21 = x_143; -x_22 = x_15; -goto block_26; -} -else -{ -lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; -x_144 = lean_box(0); -x_145 = lean_array_push(x_28, x_144); -if (lean_is_scalar(x_32)) { - x_146 = lean_alloc_ctor(0, 2, 0); -} else { - x_146 = x_32; -} -lean_ctor_set(x_146, 0, x_30); -lean_ctor_set(x_146, 1, x_139); -if (lean_is_scalar(x_29)) { - x_147 = lean_alloc_ctor(0, 2, 0); -} else { - x_147 = x_29; -} -lean_ctor_set(x_147, 0, x_145); -lean_ctor_set(x_147, 1, x_146); -x_148 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_148, 0, x_147); -x_21 = x_148; -x_22 = x_15; -goto block_26; -} -} -else -{ -lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; -lean_dec(x_41); -x_149 = lean_box(0); -x_150 = lean_array_push(x_28, x_149); -if (lean_is_scalar(x_32)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_32; -} -lean_ctor_set(x_151, 0, x_30); -lean_ctor_set(x_151, 1, x_139); -if (lean_is_scalar(x_29)) { - x_152 = lean_alloc_ctor(0, 2, 0); -} else { - x_152 = x_29; -} -lean_ctor_set(x_152, 0, x_150); -lean_ctor_set(x_152, 1, x_151); -x_153 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_153, 0, x_152); -x_21 = x_153; -x_22 = x_15; -goto block_26; -} -} -} -} -else -{ -lean_object* x_154; uint8_t x_155; lean_object* x_156; -x_154 = lean_array_fget(x_37, x_7); -x_155 = lean_unbox(x_154); -lean_dec(x_154); -x_156 = lean_box(x_155); -switch (lean_obj_tag(x_156)) { -case 1: -{ -lean_object* x_157; lean_object* x_158; -lean_dec(x_41); -lean_dec(x_40); -x_157 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_158 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_157, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_158) == 0) -{ -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_159 = lean_ctor_get(x_158, 1); -lean_inc(x_159); -lean_dec(x_158); -if (lean_is_scalar(x_32)) { - x_160 = lean_alloc_ctor(0, 2, 0); -} else { - x_160 = x_32; -} -lean_ctor_set(x_160, 0, x_30); -lean_ctor_set(x_160, 1, x_31); -if (lean_is_scalar(x_29)) { - x_161 = lean_alloc_ctor(0, 2, 0); -} else { - x_161 = x_29; -} -lean_ctor_set(x_161, 0, x_28); -lean_ctor_set(x_161, 1, x_160); -x_162 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_162, 0, x_161); -x_21 = x_162; -x_22 = x_159; -goto block_26; -} -else -{ -uint8_t x_163; -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_163 = !lean_is_exclusive(x_158); -if (x_163 == 0) -{ -return x_158; -} -else -{ -lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_164 = lean_ctor_get(x_158, 0); -x_165 = lean_ctor_get(x_158, 1); -lean_inc(x_165); -lean_inc(x_164); -lean_dec(x_158); -x_166 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_166, 0, x_164); -lean_ctor_set(x_166, 1, x_165); -return x_166; -} -} -} -case 2: -{ -if (x_1 == 0) -{ -uint8_t x_167; -x_167 = l_Lean_Meta_ParamInfo_isExplicit(x_41); -lean_dec(x_41); -if (x_167 == 0) -{ -lean_object* x_168; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_40); -x_168 = l_Lean_Meta_mkEqRefl(x_40, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_168) == 0) -{ -lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; -x_169 = lean_ctor_get(x_168, 0); -lean_inc(x_169); -x_170 = lean_ctor_get(x_168, 1); -lean_inc(x_170); -lean_dec(x_168); -lean_inc(x_40); -x_171 = l_Lean_mkApp3(x_31, x_40, x_40, x_169); -if (lean_is_scalar(x_32)) { - x_172 = lean_alloc_ctor(0, 2, 0); -} else { - x_172 = x_32; -} -lean_ctor_set(x_172, 0, x_30); -lean_ctor_set(x_172, 1, x_171); -if (lean_is_scalar(x_29)) { - x_173 = lean_alloc_ctor(0, 2, 0); -} else { - x_173 = x_29; -} -lean_ctor_set(x_173, 0, x_28); -lean_ctor_set(x_173, 1, x_172); -x_174 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_174, 0, x_173); -x_21 = x_174; -x_22 = x_170; -goto block_26; -} -else -{ -uint8_t x_175; -lean_dec(x_40); -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_175 = !lean_is_exclusive(x_168); -if (x_175 == 0) -{ -return x_168; -} -else -{ -lean_object* x_176; lean_object* x_177; lean_object* x_178; -x_176 = lean_ctor_get(x_168, 0); -x_177 = lean_ctor_get(x_168, 1); -lean_inc(x_177); -lean_inc(x_176); -lean_dec(x_168); -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_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_40); -x_179 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_40, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_179) == 0) -{ -lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; -x_180 = lean_ctor_get(x_179, 0); -lean_inc(x_180); -x_181 = lean_ctor_get(x_179, 1); -lean_inc(x_181); -lean_dec(x_179); -x_182 = lean_ctor_get(x_180, 0); -lean_inc(x_182); -x_183 = lean_ctor_get(x_180, 1); -lean_inc(x_183); -lean_dec(x_180); -lean_inc(x_183); -x_184 = l_Lean_mkApp3(x_31, x_40, x_182, x_183); -x_185 = l_Lean_Expr_mvarId_x21(x_183); -x_186 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_186, 0, x_185); -x_187 = lean_array_push(x_28, x_186); -if (lean_is_scalar(x_32)) { - x_188 = lean_alloc_ctor(0, 2, 0); -} else { - x_188 = x_32; -} -lean_ctor_set(x_188, 0, x_30); -lean_ctor_set(x_188, 1, x_184); -if (lean_is_scalar(x_29)) { - x_189 = lean_alloc_ctor(0, 2, 0); -} else { - x_189 = x_29; -} -lean_ctor_set(x_189, 0, x_187); -lean_ctor_set(x_189, 1, x_188); -x_190 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_190, 0, x_189); -x_21 = x_190; -x_22 = x_181; -goto block_26; -} -else -{ -uint8_t x_191; -lean_dec(x_40); -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_191 = !lean_is_exclusive(x_179); -if (x_191 == 0) -{ -return x_179; -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; -x_192 = lean_ctor_get(x_179, 0); -x_193 = lean_ctor_get(x_179, 1); -lean_inc(x_193); -lean_inc(x_192); -lean_dec(x_179); -x_194 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_194, 0, x_192); -lean_ctor_set(x_194, 1, x_193); -return x_194; -} -} -} -} -else -{ -lean_object* x_195; -lean_dec(x_41); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_40); -x_195 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_40, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_195) == 0) -{ -lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; -x_196 = lean_ctor_get(x_195, 0); -lean_inc(x_196); -x_197 = lean_ctor_get(x_195, 1); -lean_inc(x_197); -lean_dec(x_195); -x_198 = 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); -lean_inc(x_199); -x_200 = l_Lean_mkApp3(x_31, x_40, x_198, x_199); -x_201 = l_Lean_Expr_mvarId_x21(x_199); -x_202 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_202, 0, x_201); -x_203 = lean_array_push(x_28, x_202); -if (lean_is_scalar(x_32)) { - x_204 = lean_alloc_ctor(0, 2, 0); -} else { - x_204 = x_32; -} -lean_ctor_set(x_204, 0, x_30); -lean_ctor_set(x_204, 1, x_200); -if (lean_is_scalar(x_29)) { - x_205 = lean_alloc_ctor(0, 2, 0); -} else { - x_205 = x_29; -} -lean_ctor_set(x_205, 0, x_203); -lean_ctor_set(x_205, 1, x_204); -x_206 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_206, 0, x_205); -x_21 = x_206; -x_22 = x_197; -goto block_26; -} -else -{ -uint8_t x_207; -lean_dec(x_40); -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_207 = !lean_is_exclusive(x_195); -if (x_207 == 0) -{ -return x_195; -} -else -{ -lean_object* x_208; lean_object* x_209; lean_object* x_210; -x_208 = lean_ctor_get(x_195, 0); -x_209 = lean_ctor_get(x_195, 1); -lean_inc(x_209); -lean_inc(x_208); -lean_dec(x_195); -x_210 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_210, 0, x_208); -lean_ctor_set(x_210, 1, x_209); -return x_210; -} -} -} -} -case 4: -{ -lean_object* x_211; lean_object* x_212; -lean_dec(x_41); -lean_dec(x_40); -x_211 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___closed__8; -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_212 = l_panic___at_Lean_Elab_Tactic_Conv_congr___spec__2(x_211, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_212) == 0) -{ -lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; -x_213 = lean_ctor_get(x_212, 1); -lean_inc(x_213); -lean_dec(x_212); -if (lean_is_scalar(x_32)) { - x_214 = lean_alloc_ctor(0, 2, 0); -} else { - x_214 = x_32; -} -lean_ctor_set(x_214, 0, x_30); -lean_ctor_set(x_214, 1, x_31); -if (lean_is_scalar(x_29)) { - x_215 = lean_alloc_ctor(0, 2, 0); -} else { - x_215 = x_29; -} -lean_ctor_set(x_215, 0, x_28); -lean_ctor_set(x_215, 1, x_214); -x_216 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_216, 0, x_215); -x_21 = x_216; -x_22 = x_213; -goto block_26; -} -else -{ -uint8_t x_217; -lean_dec(x_32); -lean_dec(x_31); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_217 = !lean_is_exclusive(x_212); -if (x_217 == 0) -{ -return x_212; -} -else -{ -lean_object* x_218; lean_object* x_219; lean_object* x_220; -x_218 = lean_ctor_get(x_212, 0); -x_219 = lean_ctor_get(x_212, 1); -lean_inc(x_219); -lean_inc(x_218); -lean_dec(x_212); -x_220 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_220, 0, x_218); -lean_ctor_set(x_220, 1, x_219); -return x_220; -} -} -} -case 5: -{ -lean_object* x_221; lean_object* x_222; -lean_dec(x_41); -x_221 = l_Lean_Expr_app___override(x_31, x_40); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_221); -x_222 = lean_infer_type(x_221, x_11, x_12, x_13, x_14, x_15); -if (lean_obj_tag(x_222) == 0) -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_223 = lean_ctor_get(x_222, 0); -lean_inc(x_223); -x_224 = lean_ctor_get(x_222, 1); -lean_inc(x_224); -lean_dec(x_222); -lean_inc(x_14); -lean_inc(x_13); -lean_inc(x_12); -lean_inc(x_11); -x_225 = lean_whnf(x_223, x_11, x_12, x_13, x_14, x_224); -if (lean_obj_tag(x_225) == 0) -{ -lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; uint8_t x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; -x_226 = lean_ctor_get(x_225, 0); -lean_inc(x_226); -x_227 = lean_ctor_get(x_225, 1); -lean_inc(x_227); -lean_dec(x_225); -x_228 = l_Lean_Expr_bindingDomain_x21(x_226); -lean_dec(x_226); -x_229 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_229, 0, x_228); -x_230 = 0; -x_231 = lean_box(0); -lean_inc(x_11); -x_232 = l___private_Lean_Meta_Basic_0__Lean_Meta_mkFreshExprMVarImpl(x_229, x_230, x_231, x_11, x_12, x_13, x_14, x_227); -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); -lean_inc(x_233); -x_235 = l_Lean_Expr_app___override(x_221, x_233); -x_236 = l_Lean_Expr_mvarId_x21(x_233); -x_237 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_237, 0, x_236); -x_238 = lean_array_push(x_30, x_237); -if (lean_is_scalar(x_32)) { - x_239 = lean_alloc_ctor(0, 2, 0); -} else { - x_239 = x_32; -} -lean_ctor_set(x_239, 0, x_238); -lean_ctor_set(x_239, 1, x_235); -if (lean_is_scalar(x_29)) { - x_240 = lean_alloc_ctor(0, 2, 0); -} else { - x_240 = x_29; -} -lean_ctor_set(x_240, 0, x_28); -lean_ctor_set(x_240, 1, x_239); -x_241 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_241, 0, x_240); -x_21 = x_241; -x_22 = x_234; -goto block_26; -} -else -{ -uint8_t x_242; -lean_dec(x_221); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_242 = !lean_is_exclusive(x_225); -if (x_242 == 0) -{ -return x_225; -} -else -{ -lean_object* x_243; lean_object* x_244; lean_object* x_245; -x_243 = lean_ctor_get(x_225, 0); -x_244 = lean_ctor_get(x_225, 1); -lean_inc(x_244); -lean_inc(x_243); -lean_dec(x_225); -x_245 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_245, 0, x_243); -lean_ctor_set(x_245, 1, x_244); -return x_245; -} -} -} -else -{ -uint8_t x_246; -lean_dec(x_221); -lean_dec(x_32); -lean_dec(x_30); -lean_dec(x_29); -lean_dec(x_28); -lean_dec(x_20); -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -x_246 = !lean_is_exclusive(x_222); -if (x_246 == 0) -{ -return x_222; -} -else -{ -lean_object* x_247; lean_object* x_248; lean_object* x_249; -x_247 = lean_ctor_get(x_222, 0); -x_248 = lean_ctor_get(x_222, 1); -lean_inc(x_248); -lean_inc(x_247); -lean_dec(x_222); -x_249 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_249, 0, x_247); -lean_ctor_set(x_249, 1, x_248); -return x_249; -} -} -} -default: -{ -lean_object* x_250; -lean_dec(x_156); -x_250 = l_Lean_Expr_app___override(x_31, x_40); -if (x_1 == 0) -{ -uint8_t x_251; -x_251 = l_Lean_Meta_ParamInfo_isExplicit(x_41); -lean_dec(x_41); -if (x_251 == 0) -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; -if (lean_is_scalar(x_32)) { - x_252 = lean_alloc_ctor(0, 2, 0); -} else { - x_252 = x_32; -} -lean_ctor_set(x_252, 0, x_30); -lean_ctor_set(x_252, 1, x_250); -if (lean_is_scalar(x_29)) { - x_253 = lean_alloc_ctor(0, 2, 0); -} else { - x_253 = x_29; -} -lean_ctor_set(x_253, 0, x_28); -lean_ctor_set(x_253, 1, x_252); -x_254 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_254, 0, x_253); -x_21 = x_254; -x_22 = x_15; -goto block_26; -} -else -{ -lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; -x_255 = lean_box(0); -x_256 = lean_array_push(x_28, x_255); -if (lean_is_scalar(x_32)) { - x_257 = lean_alloc_ctor(0, 2, 0); -} else { - x_257 = x_32; -} -lean_ctor_set(x_257, 0, x_30); -lean_ctor_set(x_257, 1, x_250); -if (lean_is_scalar(x_29)) { - x_258 = lean_alloc_ctor(0, 2, 0); -} else { - x_258 = x_29; -} -lean_ctor_set(x_258, 0, x_256); -lean_ctor_set(x_258, 1, x_257); -x_259 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_259, 0, x_258); -x_21 = x_259; -x_22 = x_15; -goto block_26; -} -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; -lean_dec(x_41); -x_260 = lean_box(0); -x_261 = lean_array_push(x_28, x_260); -if (lean_is_scalar(x_32)) { - x_262 = lean_alloc_ctor(0, 2, 0); -} else { - x_262 = x_32; -} -lean_ctor_set(x_262, 0, x_30); -lean_ctor_set(x_262, 1, x_250); -if (lean_is_scalar(x_29)) { - x_263 = lean_alloc_ctor(0, 2, 0); -} else { - x_263 = x_29; -} -lean_ctor_set(x_263, 0, x_261); -lean_ctor_set(x_263, 1, x_262); -x_264 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_264, 0, x_263); -x_21 = x_264; -x_22 = x_15; -goto block_26; -} -} -} -} -} -} -} -else -{ -lean_object* x_273; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -x_273 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_273, 0, x_10); -lean_ctor_set(x_273, 1, x_15); -return x_273; -} -} -else -{ -lean_object* x_274; -lean_dec(x_14); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_7); -lean_dec(x_6); -x_274 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_274, 0, x_10); -lean_ctor_set(x_274, 1, x_15); -return x_274; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_3); +x_410 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_410, 0, x_12); +lean_ctor_set(x_410, 1, x_17); +return x_410; } } } @@ -2820,312 +3822,312 @@ x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2(lean_object* x_1, lean_object* x_2, uint8_t x_3, uint8_t x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _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_dec(x_7); -x_13 = lean_ctor_get(x_1, 1); +lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +lean_dec(x_9); +x_15 = lean_ctor_get(x_1, 1); +lean_inc(x_15); +x_16 = lean_array_get_size(x_2); +x_17 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1; +x_18 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_18, 0, x_17); +lean_ctor_set(x_18, 1, x_15); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_17); +lean_ctor_set(x_19, 1, x_18); +x_20 = lean_unsigned_to_nat(0u); +x_21 = lean_unsigned_to_nat(1u); lean_inc(x_13); -x_14 = lean_array_get_size(x_2); -x_15 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__1; -x_16 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_13); -x_17 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_17, 0, x_15); -lean_ctor_set(x_17, 1, x_16); -x_18 = lean_unsigned_to_nat(0u); -x_19 = lean_unsigned_to_nat(1u); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_14); -x_20 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(x_3, x_4, x_2, x_1, x_14, x_14, x_18, x_14, x_19, x_17, x_8, x_9, x_10, x_11, x_12); -lean_dec(x_14); +lean_inc(x_16); +x_22 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(x_3, x_4, x_5, x_6, x_2, x_1, x_16, x_16, x_20, x_16, x_21, x_19, x_10, x_11, x_12, x_13, x_14); +lean_dec(x_16); lean_dec(x_1); lean_dec(x_2); -lean_dec(x_4); -if (lean_obj_tag(x_20) == 0) +lean_dec(x_6); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -x_23 = lean_ctor_get(x_20, 1); +lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_23 = lean_ctor_get(x_22, 0); lean_inc(x_23); -lean_dec(x_20); -x_24 = lean_ctor_get(x_21, 0); +x_24 = lean_ctor_get(x_23, 1); lean_inc(x_24); -lean_dec(x_21); -x_25 = lean_ctor_get(x_22, 0); +x_25 = lean_ctor_get(x_22, 1); lean_inc(x_25); -x_26 = lean_ctor_get(x_22, 1); -lean_inc(x_26); lean_dec(x_22); -lean_inc(x_11); -lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); +x_26 = lean_ctor_get(x_23, 0); lean_inc(x_26); -x_27 = lean_infer_type(x_26, x_8, x_9, x_10, x_11, x_23); -if (lean_obj_tag(x_27) == 0) -{ -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_27, 0); +lean_dec(x_23); +x_27 = lean_ctor_get(x_24, 0); +lean_inc(x_27); +x_28 = lean_ctor_get(x_24, 1); lean_inc(x_28); -x_29 = lean_ctor_get(x_27, 1); -lean_inc(x_29); -lean_dec(x_27); +lean_dec(x_24); +lean_inc(x_13); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -x_30 = lean_whnf(x_28, x_8, x_9, x_10, x_11, x_29); -if (lean_obj_tag(x_30) == 0) +lean_inc(x_28); +x_29 = lean_infer_type(x_28, x_10, x_11, x_12, x_13, x_25); +if (lean_obj_tag(x_29) == 0) { -lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_61; lean_object* x_62; uint8_t x_63; -x_31 = lean_ctor_get(x_30, 0); +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_29, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_29, 1); lean_inc(x_31); -x_32 = lean_ctor_get(x_30, 1); -lean_inc(x_32); -lean_dec(x_30); -x_61 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__11; -x_62 = lean_unsigned_to_nat(3u); -x_63 = l_Lean_Expr_isAppOfArity(x_31, x_61, x_62); -if (x_63 == 0) +lean_dec(x_29); +lean_inc(x_13); +lean_inc(x_12); +lean_inc(x_11); +lean_inc(x_10); +x_32 = lean_whnf(x_30, x_10, x_11, x_12, x_13, x_31); +if (lean_obj_tag(x_32) == 0) { -lean_object* x_64; -lean_dec(x_31); -x_64 = lean_box(0); -x_33 = x_64; -goto block_60; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_63; lean_object* x_64; uint8_t x_65; +x_33 = lean_ctor_get(x_32, 0); +lean_inc(x_33); +x_34 = lean_ctor_get(x_32, 1); +lean_inc(x_34); +lean_dec(x_32); +x_63 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__11; +x_64 = lean_unsigned_to_nat(3u); +x_65 = l_Lean_Expr_isAppOfArity(x_33, x_63, x_64); +if (x_65 == 0) +{ +lean_object* x_66; +lean_dec(x_33); +x_66 = lean_box(0); +x_35 = x_66; +goto block_62; } else { -lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_65 = l_Lean_Expr_appFn_x21(x_31); -x_66 = l_Lean_Expr_appFn_x21(x_65); -x_67 = l_Lean_Expr_appArg_x21(x_66); -lean_dec(x_66); -x_68 = l_Lean_Expr_appArg_x21(x_65); -lean_dec(x_65); -x_69 = l_Lean_Expr_appArg_x21(x_31); -lean_dec(x_31); -x_70 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_70, 0, x_68); -lean_ctor_set(x_70, 1, x_69); -x_71 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_71, 0, x_67); -lean_ctor_set(x_71, 1, x_70); -x_72 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_72, 0, x_71); -x_33 = x_72; -goto block_60; +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; +x_67 = l_Lean_Expr_appFn_x21(x_33); +x_68 = l_Lean_Expr_appFn_x21(x_67); +x_69 = l_Lean_Expr_appArg_x21(x_68); +lean_dec(x_68); +x_70 = l_Lean_Expr_appArg_x21(x_67); +lean_dec(x_67); +x_71 = l_Lean_Expr_appArg_x21(x_33); +lean_dec(x_33); +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_70); +lean_ctor_set(x_72, 1, x_71); +x_73 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_73, 0, x_69); +lean_ctor_set(x_73, 1, x_72); +x_74 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_74, 0, x_73); +x_35 = x_74; +goto block_62; } -block_60: +block_62: { -if (lean_obj_tag(x_33) == 0) +if (lean_obj_tag(x_35) == 0) { -lean_object* x_34; lean_object* x_35; +lean_object* x_36; lean_object* x_37; +lean_dec(x_28); +lean_dec(x_27); lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_6); -lean_dec(x_5); -x_34 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__3; -x_35 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_34, x_8, x_9, x_10, x_11, x_32); +lean_dec(x_8); +lean_dec(x_7); +x_36 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__3; +x_37 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_36, x_10, x_11, x_12, x_13, x_34); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_35; +return x_37; } else { -lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; uint8_t x_41; -x_36 = lean_ctor_get(x_33, 0); -lean_inc(x_36); -lean_dec(x_33); -x_37 = lean_ctor_get(x_36, 1); -lean_inc(x_37); -lean_dec(x_36); -x_38 = lean_ctor_get(x_37, 1); +lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; +x_38 = lean_ctor_get(x_35, 0); lean_inc(x_38); -lean_dec(x_37); +lean_dec(x_35); +x_39 = lean_ctor_get(x_38, 1); +lean_inc(x_39); +lean_dec(x_38); +x_40 = lean_ctor_get(x_39, 1); +lean_inc(x_40); +lean_dec(x_39); +lean_inc(x_13); +lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); -lean_inc(x_9); -lean_inc(x_8); -lean_inc(x_38); -lean_inc(x_5); -x_39 = l_Lean_Meta_isExprDefEqGuarded(x_5, x_38, x_8, x_9, x_10, x_11, x_32); -x_40 = lean_ctor_get(x_39, 0); lean_inc(x_40); -x_41 = lean_unbox(x_40); -lean_dec(x_40); -if (x_41 == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_6); -x_42 = lean_ctor_get(x_39, 1); +lean_inc(x_7); +x_41 = l_Lean_Meta_isExprDefEqGuarded(x_7, x_40, x_10, x_11, x_12, x_13, x_34); +x_42 = lean_ctor_get(x_41, 0); lean_inc(x_42); -lean_dec(x_39); -x_43 = l_Lean_indentExpr(x_5); -x_44 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__5; -x_45 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_45, 0, x_44); -lean_ctor_set(x_45, 1, x_43); -x_46 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__7; +x_43 = lean_unbox(x_42); +lean_dec(x_42); +if (x_43 == 0) +{ +lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; uint8_t x_55; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_8); +x_44 = lean_ctor_get(x_41, 1); +lean_inc(x_44); +lean_dec(x_41); +x_45 = l_Lean_indentExpr(x_7); +x_46 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__5; x_47 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_47, 0, x_45); -lean_ctor_set(x_47, 1, x_46); -x_48 = l_Lean_indentExpr(x_38); +lean_ctor_set(x_47, 0, x_46); +lean_ctor_set(x_47, 1, x_45); +x_48 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__7; x_49 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_49, 0, x_47); lean_ctor_set(x_49, 1, x_48); -x_50 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__9; +x_50 = l_Lean_indentExpr(x_40); x_51 = lean_alloc_ctor(10, 2, 0); lean_ctor_set(x_51, 0, x_49); lean_ctor_set(x_51, 1, x_50); -x_52 = l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3(x_51, x_8, x_9, x_10, x_11, x_42); +x_52 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__9; +x_53 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +x_54 = l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3(x_53, x_10, x_11, x_12, x_13, x_44); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) +x_55 = !lean_is_exclusive(x_54); +if (x_55 == 0) { -return x_52; +return x_54; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_inc(x_54); -lean_dec(x_52); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); -return x_56; -} -} -else -{ -lean_object* x_57; lean_object* x_58; lean_object* x_59; -lean_dec(x_38); -lean_dec(x_5); -x_57 = lean_ctor_get(x_39, 1); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_54, 0); +x_57 = lean_ctor_get(x_54, 1); lean_inc(x_57); -lean_dec(x_39); -x_58 = lean_box(0); -x_59 = l_Lean_Elab_Tactic_Conv_congr___lambda__1(x_6, x_26, x_24, x_25, x_58, x_8, x_9, x_10, x_11, x_57); +lean_inc(x_56); +lean_dec(x_54); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; +} +} +else +{ +lean_object* x_59; lean_object* x_60; lean_object* x_61; +lean_dec(x_40); +lean_dec(x_7); +x_59 = lean_ctor_get(x_41, 1); +lean_inc(x_59); +lean_dec(x_41); +x_60 = lean_box(0); +x_61 = l_Lean_Elab_Tactic_Conv_congr___lambda__1(x_8, x_28, x_26, x_27, x_60, x_10, x_11, x_12, x_13, x_59); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -return x_59; +return x_61; } } } } else { -uint8_t x_73; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_73 = !lean_is_exclusive(x_30); -if (x_73 == 0) -{ -return x_30; -} -else -{ -lean_object* x_74; lean_object* x_75; lean_object* x_76; -x_74 = lean_ctor_get(x_30, 0); -x_75 = lean_ctor_get(x_30, 1); -lean_inc(x_75); -lean_inc(x_74); -lean_dec(x_30); -x_76 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_76, 0, x_74); -lean_ctor_set(x_76, 1, x_75); -return x_76; -} -} -} -else -{ -uint8_t x_77; -lean_dec(x_26); -lean_dec(x_25); -lean_dec(x_24); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_9); -lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_77 = !lean_is_exclusive(x_27); -if (x_77 == 0) -{ -return x_27; -} -else -{ -lean_object* x_78; lean_object* x_79; lean_object* x_80; -x_78 = lean_ctor_get(x_27, 0); -x_79 = lean_ctor_get(x_27, 1); -lean_inc(x_79); -lean_inc(x_78); +uint8_t x_75; +lean_dec(x_28); lean_dec(x_27); -x_80 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_80, 0, x_78); -lean_ctor_set(x_80, 1, x_79); -return x_80; -} -} -} -else -{ -uint8_t x_81; +lean_dec(x_26); +lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); lean_dec(x_10); -lean_dec(x_9); lean_dec(x_8); -lean_dec(x_6); -lean_dec(x_5); -x_81 = !lean_is_exclusive(x_20); -if (x_81 == 0) +lean_dec(x_7); +x_75 = !lean_is_exclusive(x_32); +if (x_75 == 0) { -return x_20; +return x_32; } else { -lean_object* x_82; lean_object* x_83; lean_object* x_84; -x_82 = lean_ctor_get(x_20, 0); -x_83 = lean_ctor_get(x_20, 1); -lean_inc(x_83); -lean_inc(x_82); -lean_dec(x_20); -x_84 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_83); -return x_84; +lean_object* x_76; lean_object* x_77; lean_object* x_78; +x_76 = lean_ctor_get(x_32, 0); +x_77 = lean_ctor_get(x_32, 1); +lean_inc(x_77); +lean_inc(x_76); +lean_dec(x_32); +x_78 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_78, 0, x_76); +lean_ctor_set(x_78, 1, x_77); +return x_78; +} +} +} +else +{ +uint8_t x_79; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_26); +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +x_79 = !lean_is_exclusive(x_29); +if (x_79 == 0) +{ +return x_29; +} +else +{ +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_29, 0); +x_81 = lean_ctor_get(x_29, 1); +lean_inc(x_81); +lean_inc(x_80); +lean_dec(x_29); +x_82 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_82, 0, x_80); +lean_ctor_set(x_82, 1, x_81); +return x_82; +} +} +} +else +{ +uint8_t x_83; +lean_dec(x_13); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_8); +lean_dec(x_7); +x_83 = !lean_is_exclusive(x_22); +if (x_83 == 0) +{ +return x_22; +} +else +{ +lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_84 = lean_ctor_get(x_22, 0); +x_85 = lean_ctor_get(x_22, 1); +lean_inc(x_85); +lean_inc(x_84); +lean_dec(x_22); +x_86 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_86, 0, x_84); +lean_ctor_set(x_86, 1, x_85); +return x_86; } } } @@ -3190,218 +4192,200 @@ x_2 = l_Lean_stringToMessageData(x_1); return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; -lean_inc(x_6); -lean_inc(x_5); -lean_inc(x_4); -lean_inc(x_3); +lean_object* x_9; lean_inc(x_1); -x_8 = l_Lean_Elab_Tactic_Conv_getLhsRhsCore(x_1, x_3, x_4, x_5, x_6, x_7); -if (lean_obj_tag(x_8) == 0) +x_9 = l_Lean_MVarId_getTag(x_1, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; -x_9 = lean_ctor_get(x_8, 0); -lean_inc(x_9); -x_10 = lean_ctor_get(x_8, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_ctor_get(x_9, 0); +x_11 = lean_ctor_get(x_9, 1); lean_inc(x_11); -x_12 = lean_ctor_get(x_9, 1); -lean_inc(x_12); lean_dec(x_9); -x_13 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_11, x_3, x_4, x_5, x_6, x_10); -x_14 = lean_ctor_get(x_13, 0); -lean_inc(x_14); -x_15 = lean_ctor_get(x_13, 1); -lean_inc(x_15); -lean_dec(x_13); -x_16 = l_Lean_Expr_cleanupAnnotations(x_14); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_17 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_isImplies(x_16, x_3, x_4, x_5, x_6, x_15); -if (lean_obj_tag(x_17) == 0) +lean_inc(x_1); +x_12 = l_Lean_Elab_Tactic_Conv_getLhsRhsCore(x_1, x_4, x_5, x_6, x_7, x_11); +if (lean_obj_tag(x_12) == 0) { -lean_object* x_18; uint8_t x_19; +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_13 = lean_ctor_get(x_12, 0); +lean_inc(x_13); +x_14 = lean_ctor_get(x_12, 1); +lean_inc(x_14); +lean_dec(x_12); +x_15 = lean_ctor_get(x_13, 0); +lean_inc(x_15); +x_16 = lean_ctor_get(x_13, 1); +lean_inc(x_16); +lean_dec(x_13); +x_17 = l_Lean_instantiateMVars___at___private_Lean_Meta_Basic_0__Lean_Meta_mkLeveErrorMessageCore___spec__2(x_15, x_4, x_5, x_6, x_7, x_14); x_18 = lean_ctor_get(x_17, 0); lean_inc(x_18); -x_19 = lean_unbox(x_18); -lean_dec(x_18); -if (x_19 == 0) -{ -lean_object* x_20; uint8_t x_21; -x_20 = lean_ctor_get(x_17, 1); -lean_inc(x_20); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); lean_dec(x_17); -x_21 = l_Lean_Expr_isApp(x_16); -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_dec(x_12); -lean_dec(x_1); -x_22 = l_Lean_indentExpr(x_16); -x_23 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__2; -x_24 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_22); -x_25 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__9; -x_26 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -x_27 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_26, x_3, x_4, x_5, x_6, x_20); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_27; -} -else -{ -lean_object* x_28; lean_object* x_29; -x_28 = l_Lean_Expr_getAppFn(x_16); +x_20 = l_Lean_Expr_cleanupAnnotations(x_18); +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -lean_inc(x_28); -x_29 = l_Lean_Meta_getFunInfo(x_28, x_3, x_4, x_5, x_6, x_20); -if (lean_obj_tag(x_29) == 0) +x_21 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_isImplies(x_20, x_4, x_5, x_6, x_7, x_19); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; uint8_t x_39; lean_object* x_40; -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_ctor_get(x_29, 1); -lean_inc(x_31); -lean_dec(x_29); -x_32 = lean_unsigned_to_nat(0u); -x_33 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_16, x_32); -x_34 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__3; -lean_inc(x_33); -x_35 = lean_mk_array(x_33, x_34); -x_36 = lean_unsigned_to_nat(1u); -x_37 = lean_nat_sub(x_33, x_36); +lean_object* x_22; uint8_t x_23; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_unbox(x_22); +lean_dec(x_22); +if (x_23 == 0) +{ +lean_object* x_24; uint8_t x_25; +x_24 = lean_ctor_get(x_21, 1); +lean_inc(x_24); +lean_dec(x_21); +x_25 = l_Lean_Expr_isApp(x_20); +if (x_25 == 0) +{ +lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_1); +x_26 = l_Lean_indentExpr(x_20); +x_27 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__2; +x_28 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_28, 0, x_27); +lean_ctor_set(x_28, 1, x_26); +x_29 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__9; +x_30 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +x_31 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_30, x_4, x_5, x_6, x_7, x_24); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +return x_31; +} +else +{ +lean_object* x_32; lean_object* x_33; +x_32 = l_Lean_Expr_getAppFn(x_20); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_32); +x_33 = l_Lean_Meta_getFunInfo(x_32, x_4, x_5, x_6, x_7, x_24); +if (lean_obj_tag(x_33) == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; lean_object* x_44; +x_34 = lean_ctor_get(x_33, 0); +lean_inc(x_34); +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); lean_dec(x_33); -x_38 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_16, x_35, x_37); -x_39 = 0; +x_36 = lean_unsigned_to_nat(0u); +x_37 = l___private_Lean_Expr_0__Lean_Expr_getAppNumArgsAux(x_20, x_36); +x_38 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__3; +lean_inc(x_37); +x_39 = lean_mk_array(x_37, x_38); +x_40 = lean_unsigned_to_nat(1u); +x_41 = lean_nat_sub(x_37, x_40); +lean_dec(x_37); +x_42 = l___private_Lean_Expr_0__Lean_Expr_getAppArgsAux(x_20, x_39, x_41); +x_43 = 0; +lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_3); -x_40 = l_Lean_Meta_mkCongrSimp_x3f(x_28, x_39, x_3, x_4, x_5, x_6, x_31); -if (lean_obj_tag(x_40) == 0) +x_44 = l_Lean_Meta_mkCongrSimp_x3f(x_32, x_43, x_4, x_5, x_6, x_7, x_35); +if (lean_obj_tag(x_44) == 0) { -lean_object* x_41; -x_41 = lean_ctor_get(x_40, 0); -lean_inc(x_41); -if (lean_obj_tag(x_41) == 0) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; -lean_dec(x_38); -lean_dec(x_30); -lean_dec(x_12); -lean_dec(x_1); -x_42 = lean_ctor_get(x_40, 1); -lean_inc(x_42); -lean_dec(x_40); -x_43 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__5; -x_44 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_43, x_3, x_4, x_5, x_6, x_42); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -return x_44; -} -else -{ -lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; uint8_t x_50; -x_45 = lean_ctor_get(x_40, 1); +lean_object* x_45; +x_45 = lean_ctor_get(x_44, 0); lean_inc(x_45); -lean_dec(x_40); -x_46 = lean_ctor_get(x_41, 0); -lean_inc(x_46); -lean_dec(x_41); -x_47 = lean_array_get_size(x_38); -x_48 = lean_ctor_get(x_46, 2); -lean_inc(x_48); -x_49 = lean_array_get_size(x_48); -lean_dec(x_48); -x_50 = lean_nat_dec_eq(x_47, x_49); -lean_dec(x_49); -lean_dec(x_47); -if (x_50 == 0) +if (lean_obj_tag(x_45) == 0) { -lean_object* x_51; lean_object* x_52; uint8_t x_53; -lean_dec(x_46); -lean_dec(x_38); -lean_dec(x_30); -lean_dec(x_12); +lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_42); +lean_dec(x_34); +lean_dec(x_16); +lean_dec(x_10); lean_dec(x_1); -x_51 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__7; -x_52 = l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3(x_51, x_3, x_4, x_5, x_6, x_45); +x_46 = lean_ctor_get(x_44, 1); +lean_inc(x_46); +lean_dec(x_44); +x_47 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__5; +x_48 = l_Lean_throwError___at_Lean_Elab_Tactic_Conv_congr___spec__1(x_47, x_4, x_5, x_6, x_7, x_46); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -x_53 = !lean_is_exclusive(x_52); -if (x_53 == 0) -{ -return x_52; +return x_48; } else { -lean_object* x_54; lean_object* x_55; lean_object* x_56; -x_54 = lean_ctor_get(x_52, 0); -x_55 = lean_ctor_get(x_52, 1); -lean_inc(x_55); -lean_inc(x_54); +lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; uint8_t x_54; +x_49 = lean_ctor_get(x_44, 1); +lean_inc(x_49); +lean_dec(x_44); +x_50 = lean_ctor_get(x_45, 0); +lean_inc(x_50); +lean_dec(x_45); +x_51 = lean_array_get_size(x_42); +x_52 = lean_ctor_get(x_50, 2); +lean_inc(x_52); +x_53 = lean_array_get_size(x_52); lean_dec(x_52); -x_56 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_56, 0, x_54); -lean_ctor_set(x_56, 1, x_55); +x_54 = lean_nat_dec_eq(x_51, x_53); +lean_dec(x_53); +lean_dec(x_51); +if (x_54 == 0) +{ +lean_object* x_55; lean_object* x_56; uint8_t x_57; +lean_dec(x_50); +lean_dec(x_42); +lean_dec(x_34); +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_1); +x_55 = l_Lean_Elab_Tactic_Conv_congr___lambda__3___closed__7; +x_56 = l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3(x_55, x_4, x_5, x_6, x_7, x_49); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +x_57 = !lean_is_exclusive(x_56); +if (x_57 == 0) +{ return x_56; } -} else { -lean_object* x_57; lean_object* x_58; -x_57 = lean_box(0); -x_58 = l_Lean_Elab_Tactic_Conv_congr___lambda__2(x_46, x_38, x_2, x_30, x_12, x_1, x_57, x_3, x_4, x_5, x_6, x_45); -return x_58; -} +lean_object* x_58; lean_object* x_59; lean_object* x_60; +x_58 = lean_ctor_get(x_56, 0); +x_59 = lean_ctor_get(x_56, 1); +lean_inc(x_59); +lean_inc(x_58); +lean_dec(x_56); +x_60 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_60, 0, x_58); +lean_ctor_set(x_60, 1, x_59); +return x_60; } } else { -uint8_t x_59; -lean_dec(x_38); -lean_dec(x_30); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_59 = !lean_is_exclusive(x_40); -if (x_59 == 0) -{ -return x_40; -} -else -{ -lean_object* x_60; lean_object* x_61; lean_object* x_62; -x_60 = lean_ctor_get(x_40, 0); -x_61 = lean_ctor_get(x_40, 1); -lean_inc(x_61); -lean_inc(x_60); -lean_dec(x_40); -x_62 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_62, 0, x_60); -lean_ctor_set(x_62, 1, x_61); +lean_object* x_61; lean_object* x_62; +x_61 = lean_box(0); +x_62 = l_Lean_Elab_Tactic_Conv_congr___lambda__2(x_50, x_42, x_2, x_3, x_10, x_34, x_16, x_1, x_61, x_4, x_5, x_6, x_7, x_49); return x_62; } } @@ -3409,27 +4393,28 @@ return x_62; else { uint8_t x_63; -lean_dec(x_28); +lean_dec(x_42); +lean_dec(x_34); lean_dec(x_16); -lean_dec(x_12); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); -x_63 = !lean_is_exclusive(x_29); +x_63 = !lean_is_exclusive(x_44); if (x_63 == 0) { -return x_29; +return x_44; } else { lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_64 = lean_ctor_get(x_29, 0); -x_65 = lean_ctor_get(x_29, 1); +x_64 = lean_ctor_get(x_44, 0); +x_65 = lean_ctor_get(x_44, 1); lean_inc(x_65); lean_inc(x_64); -lean_dec(x_29); +lean_dec(x_44); x_66 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_66, 0, x_64); lean_ctor_set(x_66, 1, x_65); @@ -3437,92 +4422,94 @@ return x_66; } } } -} else { -lean_object* x_67; lean_object* x_68; +uint8_t x_67; +lean_dec(x_32); +lean_dec(x_20); lean_dec(x_16); -lean_dec(x_12); -x_67 = lean_ctor_get(x_17, 1); -lean_inc(x_67); -lean_dec(x_17); -x_68 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_congrImplies(x_1, x_3, x_4, x_5, x_6, x_67); -if (lean_obj_tag(x_68) == 0) +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_67 = !lean_is_exclusive(x_33); +if (x_67 == 0) { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_68); -if (x_69 == 0) -{ -lean_object* x_70; lean_object* x_71; lean_object* x_72; -x_70 = lean_ctor_get(x_68, 0); -x_71 = lean_box(0); -x_72 = l_List_mapTRAux___at_Lean_Elab_Tactic_Conv_congr___spec__4(x_70, x_71); -lean_ctor_set(x_68, 0, x_72); -return x_68; +return x_33; } else { -lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; -x_73 = lean_ctor_get(x_68, 0); -x_74 = lean_ctor_get(x_68, 1); -lean_inc(x_74); -lean_inc(x_73); -lean_dec(x_68); +lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_68 = lean_ctor_get(x_33, 0); +x_69 = lean_ctor_get(x_33, 1); +lean_inc(x_69); +lean_inc(x_68); +lean_dec(x_33); +x_70 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_70, 0, x_68); +lean_ctor_set(x_70, 1, x_69); +return x_70; +} +} +} +} +else +{ +lean_object* x_71; lean_object* x_72; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_10); +x_71 = lean_ctor_get(x_21, 1); +lean_inc(x_71); +lean_dec(x_21); +x_72 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_congrImplies(x_1, x_4, x_5, x_6, x_7, x_71); +if (lean_obj_tag(x_72) == 0) +{ +uint8_t x_73; +x_73 = !lean_is_exclusive(x_72); +if (x_73 == 0) +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_74 = lean_ctor_get(x_72, 0); x_75 = lean_box(0); -x_76 = l_List_mapTRAux___at_Lean_Elab_Tactic_Conv_congr___spec__4(x_73, x_75); -x_77 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_77, 0, x_76); -lean_ctor_set(x_77, 1, x_74); -return x_77; -} +x_76 = l_List_mapTRAux___at_Lean_Elab_Tactic_Conv_congr___spec__4(x_74, x_75); +lean_ctor_set(x_72, 0, x_76); +return x_72; } else { -uint8_t x_78; -x_78 = !lean_is_exclusive(x_68); -if (x_78 == 0) -{ -return x_68; -} -else -{ -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_68, 0); -x_80 = lean_ctor_get(x_68, 1); -lean_inc(x_80); -lean_inc(x_79); -lean_dec(x_68); -x_81 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_81, 0, x_79); -lean_ctor_set(x_81, 1, x_80); +lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; +x_77 = lean_ctor_get(x_72, 0); +x_78 = lean_ctor_get(x_72, 1); +lean_inc(x_78); +lean_inc(x_77); +lean_dec(x_72); +x_79 = lean_box(0); +x_80 = l_List_mapTRAux___at_Lean_Elab_Tactic_Conv_congr___spec__4(x_77, x_79); +x_81 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_81, 0, x_80); +lean_ctor_set(x_81, 1, x_78); return x_81; } } -} -} else { uint8_t x_82; -lean_dec(x_16); -lean_dec(x_12); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_82 = !lean_is_exclusive(x_17); +x_82 = !lean_is_exclusive(x_72); if (x_82 == 0) { -return x_17; +return x_72; } else { lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_83 = lean_ctor_get(x_17, 0); -x_84 = lean_ctor_get(x_17, 1); +x_83 = lean_ctor_get(x_72, 0); +x_84 = lean_ctor_get(x_72, 1); lean_inc(x_84); lean_inc(x_83); -lean_dec(x_17); +lean_dec(x_72); x_85 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_85, 0, x_83); lean_ctor_set(x_85, 1, x_84); @@ -3530,27 +4517,31 @@ return x_85; } } } +} else { uint8_t x_86; +lean_dec(x_20); +lean_dec(x_16); +lean_dec(x_10); +lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); lean_dec(x_1); -x_86 = !lean_is_exclusive(x_8); +x_86 = !lean_is_exclusive(x_21); if (x_86 == 0) { -return x_8; +return x_21; } else { lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_87 = lean_ctor_get(x_8, 0); -x_88 = lean_ctor_get(x_8, 1); +x_87 = lean_ctor_get(x_21, 0); +x_88 = lean_ctor_get(x_21, 1); lean_inc(x_88); lean_inc(x_87); -lean_dec(x_8); +lean_dec(x_21); x_89 = lean_alloc_ctor(1, 2, 0); lean_ctor_set(x_89, 0, x_87); lean_ctor_set(x_89, 1, x_88); @@ -3558,18 +4549,77 @@ return x_89; } } } +else +{ +uint8_t x_90; +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_90 = !lean_is_exclusive(x_12); +if (x_90 == 0) +{ +return x_12; } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr(lean_object* x_1, uint8_t x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +else +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_91 = lean_ctor_get(x_12, 0); +x_92 = lean_ctor_get(x_12, 1); +lean_inc(x_92); +lean_inc(x_91); +lean_dec(x_12); +x_93 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_93, 0, x_91); +lean_ctor_set(x_93, 1, x_92); +return x_93; +} +} +} +else +{ +uint8_t x_94; +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_1); +x_94 = !lean_is_exclusive(x_9); +if (x_94 == 0) +{ +return x_9; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_9, 0); +x_96 = lean_ctor_get(x_9, 1); +lean_inc(x_96); +lean_inc(x_95); +lean_dec(x_9); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr(lean_object* x_1, uint8_t x_2, uint8_t x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_box(x_2); +lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; +x_9 = lean_box(x_2); +x_10 = lean_box(x_3); lean_inc(x_1); -x_9 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_congr___lambda__3___boxed), 7, 2); -lean_closure_set(x_9, 0, x_1); -lean_closure_set(x_9, 1, x_8); -x_10 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_9, x_3, x_4, x_5, x_6, x_7); -return x_10; +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_congr___lambda__3___boxed), 8, 3); +lean_closure_set(x_11, 0, x_1); +lean_closure_set(x_11, 1, x_9); +lean_closure_set(x_11, 2, x_10); +x_12 = l_Lean_MVarId_withContext___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_synthPendingImp___spec__2___rarg(x_1, x_11, x_4, x_5, x_6, x_7, x_8); +return x_12; } } LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_Conv_congr___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) { @@ -3584,20 +4634,39 @@ lean_dec(x_2); return x_7; } } -LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { +LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_16; lean_object* x_17; -x_16 = lean_unbox(x_1); +uint8_t x_18; uint8_t x_19; lean_object* x_20; +x_18 = lean_unbox(x_1); lean_dec(x_1); -x_17 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(x_16, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15); -lean_dec(x_9); -lean_dec(x_8); +x_19 = lean_unbox(x_2); +lean_dec(x_2); +x_20 = l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_Conv_congr___spec__3(x_18, x_19, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_2); -return x_17; +return x_20; } } LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { @@ -3613,34 +4682,40 @@ lean_dec(x_5); return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14) { _start: { -uint8_t x_13; lean_object* x_14; -x_13 = lean_unbox(x_3); +uint8_t x_15; uint8_t x_16; lean_object* x_17; +x_15 = lean_unbox(x_3); lean_dec(x_3); -x_14 = l_Lean_Elab_Tactic_Conv_congr___lambda__2(x_1, x_2, x_13, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12); -return x_14; +x_16 = lean_unbox(x_4); +lean_dec(x_4); +x_17 = l_Lean_Elab_Tactic_Conv_congr___lambda__2(x_1, x_2, x_15, x_16, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +return x_17; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -uint8_t x_8; lean_object* x_9; -x_8 = lean_unbox(x_2); +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l_Lean_Elab_Tactic_Conv_congr___lambda__3(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l_Lean_Elab_Tactic_Conv_congr___lambda__3(x_1, x_9, x_10, x_4, x_5, x_6, x_7, x_8); +return x_11; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_congr___boxed(lean_object* x_1, lean_object* x_2, 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_8; lean_object* x_9; -x_8 = lean_unbox(x_2); +uint8_t x_9; uint8_t x_10; lean_object* x_11; +x_9 = lean_unbox(x_2); lean_dec(x_2); -x_9 = l_Lean_Elab_Tactic_Conv_congr(x_1, x_8, x_3, x_4, x_5, x_6, x_7); -return x_9; +x_10 = lean_unbox(x_3); +lean_dec(x_3); +x_11 = l_Lean_Elab_Tactic_Conv_congr(x_1, x_9, x_10, x_4, x_5, x_6, x_7, x_8); +return x_11; } } LEAN_EXPORT lean_object* l_List_filterMap___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1(lean_object* x_1) { @@ -3718,33 +4793,34 @@ lean_inc(x_1); x_10 = l_Lean_Elab_Tactic_getMainGoal(x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9); if (lean_obj_tag(x_10) == 0) { -lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; +lean_object* x_11; lean_object* x_12; uint8_t x_13; uint8_t x_14; lean_object* x_15; x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); x_12 = lean_ctor_get(x_10, 1); lean_inc(x_12); lean_dec(x_10); x_13 = 0; +x_14 = 1; lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_14 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_13, x_5, x_6, x_7, x_8, x_12); -if (lean_obj_tag(x_14) == 0) +x_15 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_13, x_14, x_5, x_6, x_7, x_8, x_12); +if (lean_obj_tag(x_15) == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_14, 0); -lean_inc(x_15); -x_16 = lean_ctor_get(x_14, 1); +lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; +x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); -lean_dec(x_14); -x_17 = l_List_filterMap___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1(x_15); -x_18 = l_Lean_Elab_Tactic_replaceMainGoal(x_17, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_16); -return x_18; +x_17 = lean_ctor_get(x_15, 1); +lean_inc(x_17); +lean_dec(x_15); +x_18 = l_List_filterMap___at_Lean_Elab_Tactic_Conv_evalCongr___spec__1(x_16); +x_19 = l_Lean_Elab_Tactic_replaceMainGoal(x_18, x_1, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_17); +return x_19; } else { -uint8_t x_19; +uint8_t x_20; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3753,29 +4829,29 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_19 = !lean_is_exclusive(x_14); -if (x_19 == 0) +x_20 = !lean_is_exclusive(x_15); +if (x_20 == 0) { -return x_14; +return x_15; } else { -lean_object* x_20; lean_object* x_21; lean_object* x_22; -x_20 = lean_ctor_get(x_14, 0); -x_21 = lean_ctor_get(x_14, 1); +lean_object* x_21; lean_object* x_22; lean_object* x_23; +x_21 = lean_ctor_get(x_15, 0); +x_22 = lean_ctor_get(x_15, 1); +lean_inc(x_22); lean_inc(x_21); -lean_inc(x_20); -lean_dec(x_14); -x_22 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_22, 0, x_20); -lean_ctor_set(x_22, 1, x_21); -return x_22; +lean_dec(x_15); +x_23 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_23, 0, x_21); +lean_ctor_set(x_23, 1, x_22); +return x_23; } } } else { -uint8_t x_23; +uint8_t x_24; lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); @@ -3784,23 +4860,23 @@ lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); lean_dec(x_1); -x_23 = !lean_is_exclusive(x_10); -if (x_23 == 0) +x_24 = !lean_is_exclusive(x_10); +if (x_24 == 0) { return x_10; } else { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_10, 0); -x_25 = lean_ctor_get(x_10, 1); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_10, 0); +x_26 = lean_ctor_get(x_10, 1); +lean_inc(x_26); lean_inc(x_25); -lean_inc(x_24); lean_dec(x_10); -x_26 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_26, 0, x_24); -lean_ctor_set(x_26, 1, x_25); -return x_26; +x_27 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_27, 0, x_25); +lean_ctor_set(x_27, 1, x_26); +return x_27; } } } @@ -4000,7 +5076,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(69u); +x_1 = lean_unsigned_to_nat(74u); x_2 = lean_unsigned_to_nat(47u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4012,7 +5088,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(70u); +x_1 = lean_unsigned_to_nat(75u); x_2 = lean_unsigned_to_nat(65u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4040,7 +5116,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(69u); +x_1 = lean_unsigned_to_nat(74u); x_2 = lean_unsigned_to_nat(51u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4052,7 +5128,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalCongr_declRan _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(69u); +x_1 = lean_unsigned_to_nat(74u); x_2 = lean_unsigned_to_nat(60u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4799,7 +5875,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(94u); x_2 = lean_unsigned_to_nat(46u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4811,7 +5887,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(94u); x_2 = lean_unsigned_to_nat(87u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4839,7 +5915,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(94u); x_2 = lean_unsigned_to_nat(50u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4851,7 +5927,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalSkip_declRang _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(89u); +x_1 = lean_unsigned_to_nat(94u); x_2 = lean_unsigned_to_nat(58u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -4940,7 +6016,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_14 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_13, x_5, x_6, x_7, x_8, x_12); +x_14 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_13, x_13, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -5091,7 +6167,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(91u); +x_1 = lean_unsigned_to_nat(96u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5103,7 +6179,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(93u); +x_1 = lean_unsigned_to_nat(98u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5131,7 +6207,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(91u); +x_1 = lean_unsigned_to_nat(96u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5143,7 +6219,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalLhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(91u); +x_1 = lean_unsigned_to_nat(96u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5232,7 +6308,7 @@ lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); -x_14 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_13, x_5, x_6, x_7, x_8, x_12); +x_14 = l_Lean_Elab_Tactic_Conv_congr(x_11, x_13, x_13, x_5, x_6, x_7, x_8, x_12); if (lean_obj_tag(x_14) == 0) { lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; @@ -5383,7 +6459,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(95u); +x_1 = lean_unsigned_to_nat(100u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5395,7 +6471,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(97u); +x_1 = lean_unsigned_to_nat(102u); x_2 = lean_unsigned_to_nat(55u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5423,7 +6499,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(95u); +x_1 = lean_unsigned_to_nat(100u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5435,7 +6511,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalRhs_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(95u); +x_1 = lean_unsigned_to_nat(100u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5519,7 +6595,7 @@ lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_19 = l_Lean_Elab_Tactic_Conv_congr(x_16, x_18, x_8, x_9, x_10, x_11, x_17); +x_19 = l_Lean_Elab_Tactic_Conv_congr(x_16, x_18, x_18, x_8, x_9, x_10, x_11, x_17); if (lean_obj_tag(x_19) == 0) { lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; @@ -5567,34 +6643,35 @@ return x_28; } else { -lean_object* x_29; lean_object* x_30; uint8_t x_31; lean_object* x_32; +lean_object* x_29; lean_object* x_30; uint8_t x_31; uint8_t x_32; lean_object* x_33; x_29 = lean_ctor_get(x_15, 0); lean_inc(x_29); x_30 = lean_ctor_get(x_15, 1); lean_inc(x_30); lean_dec(x_15); x_31 = 1; +x_32 = 0; lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_32 = l_Lean_Elab_Tactic_Conv_congr(x_29, x_31, x_8, x_9, x_10, x_11, x_30); -if (lean_obj_tag(x_32) == 0) +x_33 = l_Lean_Elab_Tactic_Conv_congr(x_29, x_31, x_32, x_8, x_9, x_10, x_11, x_30); +if (lean_obj_tag(x_33) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; -x_33 = lean_ctor_get(x_32, 0); -lean_inc(x_33); -x_34 = lean_ctor_get(x_32, 1); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_33, 0); lean_inc(x_34); -lean_dec(x_32); -x_35 = lean_nat_to_int(x_14); -x_36 = l_Lean_Elab_Tactic_Conv_evalArg___lambda__1___closed__1; -x_37 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectIdx(x_36, x_33, x_35, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_34); -return x_37; +x_35 = lean_ctor_get(x_33, 1); +lean_inc(x_35); +lean_dec(x_33); +x_36 = lean_nat_to_int(x_14); +x_37 = l_Lean_Elab_Tactic_Conv_evalArg___lambda__1___closed__1; +x_38 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_selectIdx(x_37, x_34, x_36, x_4, x_5, x_6, x_7, x_8, x_9, x_10, x_11, x_35); +return x_38; } else { -uint8_t x_38; +uint8_t x_39; lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); @@ -5604,30 +6681,30 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_38 = !lean_is_exclusive(x_32); -if (x_38 == 0) +x_39 = !lean_is_exclusive(x_33); +if (x_39 == 0) { -return x_32; +return x_33; } else { -lean_object* x_39; lean_object* x_40; lean_object* x_41; -x_39 = lean_ctor_get(x_32, 0); -x_40 = lean_ctor_get(x_32, 1); +lean_object* x_40; lean_object* x_41; lean_object* x_42; +x_40 = lean_ctor_get(x_33, 0); +x_41 = lean_ctor_get(x_33, 1); +lean_inc(x_41); lean_inc(x_40); -lean_inc(x_39); -lean_dec(x_32); -x_41 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -return x_41; +lean_dec(x_33); +x_42 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +return x_42; } } } } else { -uint8_t x_42; +uint8_t x_43; lean_dec(x_14); lean_dec(x_11); lean_dec(x_10); @@ -5637,23 +6714,23 @@ lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_42 = !lean_is_exclusive(x_15); -if (x_42 == 0) +x_43 = !lean_is_exclusive(x_15); +if (x_43 == 0) { return x_15; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; -x_43 = lean_ctor_get(x_15, 0); -x_44 = lean_ctor_get(x_15, 1); +lean_object* x_44; lean_object* x_45; lean_object* x_46; +x_44 = lean_ctor_get(x_15, 0); +x_45 = lean_ctor_get(x_15, 1); +lean_inc(x_45); lean_inc(x_44); -lean_inc(x_43); lean_dec(x_15); -x_45 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_45, 0, x_43); -lean_ctor_set(x_45, 1, x_44); -return x_45; +x_46 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_46, 0, x_44); +lean_ctor_set(x_46, 1, x_45); +return x_46; } } } @@ -5910,7 +6987,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(99u); +x_1 = lean_unsigned_to_nat(104u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5922,7 +6999,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(108u); +x_1 = lean_unsigned_to_nat(113u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5950,7 +7027,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(99u); +x_1 = lean_unsigned_to_nat(104u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -5962,7 +7039,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalArg_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(99u); +x_1 = lean_unsigned_to_nat(104u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -7238,260 +8315,261 @@ return x_2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { -lean_object* x_9; lean_object* x_10; +lean_object* x_9; lean_object* x_10; lean_object* x_11; x_9 = lean_expr_instantiate1(x_1, x_3); +x_10 = lean_box(0); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -x_10 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_9, x_4, x_5, x_6, x_7, x_8); -if (lean_obj_tag(x_10) == 0) +x_11 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_9, x_10, x_4, x_5, x_6, x_7, x_8); +if (lean_obj_tag(x_11) == 0) { -lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; uint8_t x_18; uint8_t x_19; lean_object* x_20; -x_11 = lean_ctor_get(x_10, 0); -lean_inc(x_11); -x_12 = lean_ctor_get(x_10, 1); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; uint8_t x_18; uint8_t x_19; uint8_t x_20; lean_object* x_21; +x_12 = lean_ctor_get(x_11, 0); lean_inc(x_12); -lean_dec(x_10); -x_13 = lean_ctor_get(x_11, 0); +x_13 = lean_ctor_get(x_11, 1); lean_inc(x_13); -x_14 = lean_ctor_get(x_11, 1); -lean_inc(x_14); lean_dec(x_11); -x_15 = l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__2___closed__1; -x_16 = lean_array_push(x_15, x_3); -x_17 = 0; -x_18 = 1; -x_19 = 1; -lean_inc(x_13); -lean_inc(x_16); -x_20 = l_Lean_Meta_mkLambdaFVars(x_16, x_13, x_17, x_18, x_19, x_4, x_5, x_6, x_7, x_12); -if (lean_obj_tag(x_20) == 0) -{ -lean_object* x_21; lean_object* x_22; lean_object* x_23; -x_21 = lean_ctor_get(x_20, 0); -lean_inc(x_21); -x_22 = lean_ctor_get(x_20, 1); -lean_inc(x_22); -lean_dec(x_20); +x_14 = lean_ctor_get(x_12, 0); lean_inc(x_14); -lean_inc(x_16); -x_23 = l_Lean_Meta_mkLambdaFVars(x_16, x_14, x_17, x_18, x_19, x_4, x_5, x_6, x_7, x_22); -if (lean_obj_tag(x_23) == 0) +x_15 = lean_ctor_get(x_12, 1); +lean_inc(x_15); +lean_dec(x_12); +x_16 = l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__2___closed__1; +x_17 = lean_array_push(x_16, x_3); +x_18 = 0; +x_19 = 1; +x_20 = 1; +lean_inc(x_14); +lean_inc(x_17); +x_21 = l_Lean_Meta_mkLambdaFVars(x_17, x_14, x_18, x_19, x_20, x_4, x_5, x_6, x_7, x_13); +if (lean_obj_tag(x_21) == 0) { -lean_object* x_24; lean_object* x_25; lean_object* x_26; -x_24 = lean_ctor_get(x_23, 0); -lean_inc(x_24); -x_25 = lean_ctor_get(x_23, 1); +lean_object* x_22; lean_object* x_23; lean_object* x_24; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +lean_inc(x_15); +lean_inc(x_17); +x_24 = l_Lean_Meta_mkLambdaFVars(x_17, x_15, x_18, x_19, x_20, x_4, x_5, x_6, x_7, x_23); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_24, 0); lean_inc(x_25); -lean_dec(x_23); -x_26 = l_Lean_Meta_mkForallFVars(x_16, x_13, x_17, x_18, x_19, x_4, x_5, x_6, x_7, x_25); -if (lean_obj_tag(x_26) == 0) +x_26 = lean_ctor_get(x_24, 1); +lean_inc(x_26); +lean_dec(x_24); +x_27 = l_Lean_Meta_mkForallFVars(x_17, x_14, x_18, x_19, x_20, x_4, x_5, x_6, x_7, x_26); +if (lean_obj_tag(x_27) == 0) { -lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; uint8_t x_31; -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_inc(x_4); -lean_inc(x_27); +lean_inc(x_28); lean_inc(x_2); -x_29 = l_Lean_Meta_isExprDefEqGuarded(x_2, x_27, x_4, x_5, x_6, x_7, x_28); -x_30 = lean_ctor_get(x_29, 0); -lean_inc(x_30); -x_31 = lean_unbox(x_30); +x_30 = l_Lean_Meta_isExprDefEqGuarded(x_2, x_28, x_4, x_5, x_6, x_7, x_29); +x_31 = lean_ctor_get(x_30, 0); +lean_inc(x_31); +x_32 = lean_unbox(x_31); +lean_dec(x_31); +if (x_32 == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; uint8_t x_44; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_15); +x_33 = lean_ctor_get(x_30, 1); +lean_inc(x_33); lean_dec(x_30); -if (x_31 == 0) -{ -lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; uint8_t x_43; -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_14); -x_32 = lean_ctor_get(x_29, 1); -lean_inc(x_32); -lean_dec(x_29); -x_33 = l_Lean_indentExpr(x_2); -x_34 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__2___closed__2; -x_35 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_35, 0, x_34); -lean_ctor_set(x_35, 1, x_33); -x_36 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__7; -x_37 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_37, 0, x_35); -lean_ctor_set(x_37, 1, x_36); -x_38 = l_Lean_indentExpr(x_27); -x_39 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_39, 0, x_37); -lean_ctor_set(x_39, 1, x_38); -x_40 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__9; -x_41 = lean_alloc_ctor(10, 2, 0); -lean_ctor_set(x_41, 0, x_39); -lean_ctor_set(x_41, 1, x_40); -x_42 = l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3(x_41, x_4, x_5, x_6, x_7, x_32); +x_34 = l_Lean_indentExpr(x_2); +x_35 = l___private_Lean_Elab_Tactic_Conv_Congr_0__Lean_Elab_Tactic_Conv_extCore___lambda__2___closed__2; +x_36 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_34); +x_37 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__7; +x_38 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_38, 0, x_36); +lean_ctor_set(x_38, 1, x_37); +x_39 = l_Lean_indentExpr(x_28); +x_40 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_40, 0, x_38); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_Lean_Elab_Tactic_Conv_congr___lambda__2___closed__9; +x_42 = lean_alloc_ctor(10, 2, 0); +lean_ctor_set(x_42, 0, x_40); +lean_ctor_set(x_42, 1, x_41); +x_43 = l_Lean_throwError___at___private_Lean_Meta_RecursorInfo_0__Lean_Meta_getMajorPosDepElim___spec__3(x_42, x_4, x_5, x_6, x_7, x_33); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -x_43 = !lean_is_exclusive(x_42); -if (x_43 == 0) +x_44 = !lean_is_exclusive(x_43); +if (x_44 == 0) { -return x_42; +return x_43; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; -x_44 = lean_ctor_get(x_42, 0); -x_45 = lean_ctor_get(x_42, 1); +lean_object* x_45; lean_object* x_46; lean_object* x_47; +x_45 = lean_ctor_get(x_43, 0); +x_46 = lean_ctor_get(x_43, 1); +lean_inc(x_46); lean_inc(x_45); -lean_inc(x_44); -lean_dec(x_42); -x_46 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_46, 0, x_44); -lean_ctor_set(x_46, 1, x_45); -return x_46; +lean_dec(x_43); +x_47 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_47, 0, x_45); +lean_ctor_set(x_47, 1, x_46); +return x_47; } } else { -lean_object* x_47; lean_object* x_48; lean_object* x_49; -lean_dec(x_27); +lean_object* x_48; lean_object* x_49; lean_object* x_50; +lean_dec(x_28); lean_dec(x_2); -x_47 = lean_ctor_get(x_29, 1); -lean_inc(x_47); -lean_dec(x_29); -x_48 = lean_box(0); -x_49 = l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__1(x_24, x_14, x_21, x_48, x_4, x_5, x_6, x_7, x_47); +x_48 = lean_ctor_get(x_30, 1); +lean_inc(x_48); +lean_dec(x_30); +x_49 = lean_box(0); +x_50 = l_Lean_Elab_Tactic_Conv_extLetBodyCongr_x3f___lambda__1(x_25, x_15, x_22, x_49, x_4, x_5, x_6, x_7, x_48); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); -return x_49; +return x_50; } } else { -uint8_t x_50; -lean_dec(x_24); -lean_dec(x_21); -lean_dec(x_14); +uint8_t x_51; +lean_dec(x_25); +lean_dec(x_22); +lean_dec(x_15); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_50 = !lean_is_exclusive(x_26); -if (x_50 == 0) +x_51 = !lean_is_exclusive(x_27); +if (x_51 == 0) { -return x_26; +return x_27; } else { -lean_object* x_51; lean_object* x_52; lean_object* x_53; -x_51 = lean_ctor_get(x_26, 0); -x_52 = lean_ctor_get(x_26, 1); +lean_object* x_52; lean_object* x_53; lean_object* x_54; +x_52 = lean_ctor_get(x_27, 0); +x_53 = lean_ctor_get(x_27, 1); +lean_inc(x_53); lean_inc(x_52); -lean_inc(x_51); -lean_dec(x_26); -x_53 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_53, 0, x_51); -lean_ctor_set(x_53, 1, x_52); -return x_53; +lean_dec(x_27); +x_54 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_54, 0, x_52); +lean_ctor_set(x_54, 1, x_53); +return x_54; } } } else { -uint8_t x_54; -lean_dec(x_21); -lean_dec(x_16); +uint8_t x_55; +lean_dec(x_22); +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_54 = !lean_is_exclusive(x_23); -if (x_54 == 0) +x_55 = !lean_is_exclusive(x_24); +if (x_55 == 0) { -return x_23; +return x_24; } else { -lean_object* x_55; lean_object* x_56; lean_object* x_57; -x_55 = lean_ctor_get(x_23, 0); -x_56 = lean_ctor_get(x_23, 1); +lean_object* x_56; lean_object* x_57; lean_object* x_58; +x_56 = lean_ctor_get(x_24, 0); +x_57 = lean_ctor_get(x_24, 1); +lean_inc(x_57); lean_inc(x_56); -lean_inc(x_55); -lean_dec(x_23); -x_57 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_56); -return x_57; +lean_dec(x_24); +x_58 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_58, 0, x_56); +lean_ctor_set(x_58, 1, x_57); +return x_58; } } } else { -uint8_t x_58; -lean_dec(x_16); +uint8_t x_59; +lean_dec(x_17); +lean_dec(x_15); lean_dec(x_14); -lean_dec(x_13); lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_2); -x_58 = !lean_is_exclusive(x_20); -if (x_58 == 0) +x_59 = !lean_is_exclusive(x_21); +if (x_59 == 0) { -return x_20; +return x_21; } else { -lean_object* x_59; lean_object* x_60; lean_object* x_61; -x_59 = lean_ctor_get(x_20, 0); -x_60 = lean_ctor_get(x_20, 1); +lean_object* x_60; lean_object* x_61; lean_object* x_62; +x_60 = lean_ctor_get(x_21, 0); +x_61 = lean_ctor_get(x_21, 1); +lean_inc(x_61); lean_inc(x_60); -lean_inc(x_59); -lean_dec(x_20); -x_61 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_61, 0, x_59); -lean_ctor_set(x_61, 1, x_60); -return x_61; +lean_dec(x_21); +x_62 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_62, 0, x_60); +lean_ctor_set(x_62, 1, x_61); +return x_62; } } } else { -uint8_t x_62; +uint8_t x_63; lean_dec(x_7); lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_62 = !lean_is_exclusive(x_10); -if (x_62 == 0) +x_63 = !lean_is_exclusive(x_11); +if (x_63 == 0) { -return x_10; +return x_11; } else { -lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_63 = lean_ctor_get(x_10, 0); -x_64 = lean_ctor_get(x_10, 1); +lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_64 = lean_ctor_get(x_11, 0); +x_65 = lean_ctor_get(x_11, 1); +lean_inc(x_65); lean_inc(x_64); -lean_inc(x_63); -lean_dec(x_10); -x_65 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_65, 0, x_63); -lean_ctor_set(x_65, 1, x_64); -return x_65; +lean_dec(x_11); +x_66 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_66, 0, x_64); +lean_ctor_set(x_66, 1, x_65); +return x_66; } } } @@ -8459,7 +9537,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); +x_1 = lean_unsigned_to_nat(177u); x_2 = lean_unsigned_to_nat(45u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8471,7 +9549,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(178u); +x_1 = lean_unsigned_to_nat(183u); x_2 = lean_unsigned_to_nat(32u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8499,7 +9577,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); +x_1 = lean_unsigned_to_nat(177u); x_2 = lean_unsigned_to_nat(49u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); @@ -8511,7 +9589,7 @@ static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalExt_declRange _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = lean_unsigned_to_nat(172u); +x_1 = lean_unsigned_to_nat(177u); x_2 = lean_unsigned_to_nat(56u); x_3 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_3, 0, x_1); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c index 10bf365761..fb3236702e 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Pattern.c @@ -103,7 +103,7 @@ LEAN_EXPORT uint8_t l___private_Init_Data_Array_Basic_0__Array_allDiffAuxAux___a lean_object* l_Lean_replaceRef(lean_object*, lean_object*); lean_object* lean_array_get(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_Conv_evalPattern___spec__5___rarg___closed__1; -lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Elab_Tactic_Conv_mkConvGoalFor(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_assign___at_Lean_Elab_Tactic_closeMainGoal___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalPattern_declRange___closed__7; lean_object* l_Nat_repr(lean_object*); @@ -1282,351 +1282,353 @@ return x_61; } else { -lean_object* x_62; +lean_object* x_62; lean_object* x_63; +x_62 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_62 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_35, x_6, x_7, x_8, x_9, x_41); -if (lean_obj_tag(x_62) == 0) +x_63 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_35, x_62, x_6, x_7, x_8, x_9, x_41); +if (lean_obj_tag(x_63) == 0) { -lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; 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; size_t x_77; size_t x_78; lean_object* x_79; -x_63 = lean_ctor_get(x_62, 0); -lean_inc(x_63); -x_64 = lean_ctor_get(x_62, 1); +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; size_t x_78; size_t x_79; lean_object* x_80; +x_64 = lean_ctor_get(x_63, 0); lean_inc(x_64); -lean_dec(x_62); -x_65 = lean_ctor_get(x_63, 0); +x_65 = lean_ctor_get(x_63, 1); lean_inc(x_65); -x_66 = lean_ctor_get(x_63, 1); -lean_inc(x_66); lean_dec(x_63); -x_67 = lean_st_ref_get(x_9, x_64); -x_68 = lean_ctor_get(x_67, 1); -lean_inc(x_68); -lean_dec(x_67); -x_69 = lean_st_ref_take(x_2, x_68); -x_70 = lean_ctor_get(x_69, 0); -lean_inc(x_70); -x_71 = lean_ctor_get(x_69, 1); -lean_inc(x_71); -lean_dec(x_69); +x_66 = lean_ctor_get(x_64, 0); lean_inc(x_66); -x_72 = l_Lean_Expr_mvarId_x21(x_66); -x_73 = l_Lean_Elab_Tactic_Conv_PatternMatchState_accept(x_72, x_70); -x_74 = lean_st_ref_set(x_2, x_73, x_71); -x_75 = lean_ctor_get(x_74, 1); -lean_inc(x_75); -lean_dec(x_74); -x_76 = lean_array_get_size(x_36); -x_77 = lean_usize_of_nat(x_76); -lean_dec(x_76); -x_78 = 0; -x_79 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__2(x_36, x_77, x_78, x_66, x_4, x_5, x_6, x_7, x_8, x_9, x_75); -if (lean_obj_tag(x_79) == 0) +x_67 = lean_ctor_get(x_64, 1); +lean_inc(x_67); +lean_dec(x_64); +x_68 = lean_st_ref_get(x_9, x_65); +x_69 = lean_ctor_get(x_68, 1); +lean_inc(x_69); +lean_dec(x_68); +x_70 = lean_st_ref_take(x_2, x_69); +x_71 = lean_ctor_get(x_70, 0); +lean_inc(x_71); +x_72 = lean_ctor_get(x_70, 1); +lean_inc(x_72); +lean_dec(x_70); +lean_inc(x_67); +x_73 = l_Lean_Expr_mvarId_x21(x_67); +x_74 = l_Lean_Elab_Tactic_Conv_PatternMatchState_accept(x_73, x_71); +x_75 = lean_st_ref_set(x_2, x_74, x_72); +x_76 = lean_ctor_get(x_75, 1); +lean_inc(x_76); +lean_dec(x_75); +x_77 = lean_array_get_size(x_36); +x_78 = lean_usize_of_nat(x_77); +lean_dec(x_77); +x_79 = 0; +x_80 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__2(x_36, x_78, x_79, x_67, x_4, x_5, x_6, x_7, x_8, x_9, x_76); +if (lean_obj_tag(x_80) == 0) { -uint8_t x_80; -x_80 = !lean_is_exclusive(x_79); -if (x_80 == 0) +uint8_t x_81; +x_81 = !lean_is_exclusive(x_80); +if (x_81 == 0) { -lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; -x_81 = lean_ctor_get(x_79, 0); -x_82 = l_Lean_mkAppN(x_65, x_36); -lean_ctor_set(x_19, 0, x_81); -x_83 = lean_unsigned_to_nat(0u); -x_84 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_84, 0, x_82); -lean_ctor_set(x_84, 1, x_19); -lean_ctor_set(x_84, 2, x_83); -x_85 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_85, 0, x_84); -lean_ctor_set(x_79, 0, x_85); -return x_79; +lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; +x_82 = lean_ctor_get(x_80, 0); +x_83 = l_Lean_mkAppN(x_66, x_36); +lean_ctor_set(x_19, 0, x_82); +x_84 = lean_unsigned_to_nat(0u); +x_85 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_85, 0, x_83); +lean_ctor_set(x_85, 1, x_19); +lean_ctor_set(x_85, 2, x_84); +x_86 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_86, 0, x_85); +lean_ctor_set(x_80, 0, x_86); +return x_80; } else { -lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_86 = lean_ctor_get(x_79, 0); -x_87 = lean_ctor_get(x_79, 1); +lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; +x_87 = lean_ctor_get(x_80, 0); +x_88 = lean_ctor_get(x_80, 1); +lean_inc(x_88); lean_inc(x_87); -lean_inc(x_86); -lean_dec(x_79); -x_88 = l_Lean_mkAppN(x_65, x_36); -lean_ctor_set(x_19, 0, x_86); -x_89 = lean_unsigned_to_nat(0u); -x_90 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_90, 0, x_88); -lean_ctor_set(x_90, 1, x_19); -lean_ctor_set(x_90, 2, x_89); -x_91 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = lean_alloc_ctor(0, 2, 0); +lean_dec(x_80); +x_89 = l_Lean_mkAppN(x_66, x_36); +lean_ctor_set(x_19, 0, x_87); +x_90 = lean_unsigned_to_nat(0u); +x_91 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_91, 0, x_89); +lean_ctor_set(x_91, 1, x_19); +lean_ctor_set(x_91, 2, x_90); +x_92 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_92, 0, x_91); -lean_ctor_set(x_92, 1, x_87); -return x_92; +x_93 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_93, 0, x_92); +lean_ctor_set(x_93, 1, x_88); +return x_93; } } else { -uint8_t x_93; -lean_dec(x_65); +uint8_t x_94; +lean_dec(x_66); lean_dec(x_36); lean_free_object(x_19); -x_93 = !lean_is_exclusive(x_79); -if (x_93 == 0) +x_94 = !lean_is_exclusive(x_80); +if (x_94 == 0) { -return x_79; +return x_80; } else { -lean_object* x_94; lean_object* x_95; lean_object* x_96; -x_94 = lean_ctor_get(x_79, 0); -x_95 = lean_ctor_get(x_79, 1); +lean_object* x_95; lean_object* x_96; lean_object* x_97; +x_95 = lean_ctor_get(x_80, 0); +x_96 = lean_ctor_get(x_80, 1); +lean_inc(x_96); lean_inc(x_95); -lean_inc(x_94); -lean_dec(x_79); -x_96 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_96, 0, x_94); -lean_ctor_set(x_96, 1, x_95); -return x_96; +lean_dec(x_80); +x_97 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_97, 0, x_95); +lean_ctor_set(x_97, 1, x_96); +return x_97; } } } else { -uint8_t x_97; +uint8_t x_98; lean_dec(x_36); lean_free_object(x_19); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_97 = !lean_is_exclusive(x_62); -if (x_97 == 0) +x_98 = !lean_is_exclusive(x_63); +if (x_98 == 0) { -return x_62; +return x_63; } else { -lean_object* x_98; lean_object* x_99; lean_object* x_100; -x_98 = lean_ctor_get(x_62, 0); -x_99 = lean_ctor_get(x_62, 1); +lean_object* x_99; lean_object* x_100; lean_object* x_101; +x_99 = lean_ctor_get(x_63, 0); +x_100 = lean_ctor_get(x_63, 1); +lean_inc(x_100); lean_inc(x_99); -lean_inc(x_98); -lean_dec(x_62); -x_100 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_100, 0, x_98); -lean_ctor_set(x_100, 1, x_99); -return x_100; +lean_dec(x_63); +x_101 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_101, 0, x_99); +lean_ctor_set(x_101, 1, x_100); +return x_101; } } } } else { -lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; uint8_t x_110; -x_101 = lean_ctor_get(x_19, 0); -lean_inc(x_101); -lean_dec(x_19); -x_102 = lean_ctor_get(x_18, 1); +lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; uint8_t x_111; +x_102 = lean_ctor_get(x_19, 0); lean_inc(x_102); -lean_dec(x_18); -x_103 = lean_ctor_get(x_101, 0); +lean_dec(x_19); +x_103 = lean_ctor_get(x_18, 1); lean_inc(x_103); -x_104 = lean_ctor_get(x_101, 1); +lean_dec(x_18); +x_104 = lean_ctor_get(x_102, 0); lean_inc(x_104); -lean_dec(x_101); -x_105 = lean_st_ref_get(x_9, x_102); -x_106 = lean_ctor_get(x_105, 1); -lean_inc(x_106); -lean_dec(x_105); -x_107 = lean_st_ref_get(x_2, x_106); -x_108 = lean_ctor_get(x_107, 0); -lean_inc(x_108); -x_109 = lean_ctor_get(x_107, 1); +x_105 = lean_ctor_get(x_102, 1); +lean_inc(x_105); +lean_dec(x_102); +x_106 = lean_st_ref_get(x_9, x_103); +x_107 = lean_ctor_get(x_106, 1); +lean_inc(x_107); +lean_dec(x_106); +x_108 = lean_st_ref_get(x_2, x_107); +x_109 = lean_ctor_get(x_108, 0); lean_inc(x_109); -lean_dec(x_107); -x_110 = l_Lean_Elab_Tactic_Conv_PatternMatchState_isReady(x_108); +x_110 = lean_ctor_get(x_108, 1); +lean_inc(x_110); lean_dec(x_108); -if (x_110 == 0) +x_111 = l_Lean_Elab_Tactic_Conv_PatternMatchState_isReady(x_109); +lean_dec(x_109); +if (x_111 == 0) { -lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; -lean_dec(x_104); +lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; +lean_dec(x_105); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_111 = lean_st_ref_get(x_9, x_109); +x_112 = lean_st_ref_get(x_9, x_110); lean_dec(x_9); -x_112 = lean_ctor_get(x_111, 1); -lean_inc(x_112); -lean_dec(x_111); -x_113 = lean_st_ref_take(x_2, x_112); -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -x_115 = lean_ctor_get(x_113, 1); +x_113 = lean_ctor_get(x_112, 1); +lean_inc(x_113); +lean_dec(x_112); +x_114 = lean_st_ref_take(x_2, x_113); +x_115 = lean_ctor_get(x_114, 0); lean_inc(x_115); -lean_dec(x_113); -x_116 = l_Lean_Elab_Tactic_Conv_PatternMatchState_skip(x_114); -x_117 = lean_st_ref_set(x_2, x_116, x_115); -x_118 = lean_ctor_get(x_117, 1); -lean_inc(x_118); -if (lean_is_exclusive(x_117)) { - lean_ctor_release(x_117, 0); - lean_ctor_release(x_117, 1); - x_119 = x_117; +x_116 = lean_ctor_get(x_114, 1); +lean_inc(x_116); +lean_dec(x_114); +x_117 = l_Lean_Elab_Tactic_Conv_PatternMatchState_skip(x_115); +x_118 = lean_st_ref_set(x_2, x_117, x_116); +x_119 = lean_ctor_get(x_118, 1); +lean_inc(x_119); +if (lean_is_exclusive(x_118)) { + lean_ctor_release(x_118, 0); + lean_ctor_release(x_118, 1); + x_120 = x_118; } else { - lean_dec_ref(x_117); - x_119 = lean_box(0); -} -x_120 = lean_box(0); -x_121 = lean_unsigned_to_nat(0u); -x_122 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_122, 0, x_103); -lean_ctor_set(x_122, 1, x_120); -lean_ctor_set(x_122, 2, x_121); -x_123 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_123, 0, x_122); -if (lean_is_scalar(x_119)) { - x_124 = lean_alloc_ctor(0, 2, 0); -} else { - x_124 = x_119; + lean_dec_ref(x_118); + x_120 = lean_box(0); } +x_121 = lean_box(0); +x_122 = lean_unsigned_to_nat(0u); +x_123 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_123, 0, x_104); +lean_ctor_set(x_123, 1, x_121); +lean_ctor_set(x_123, 2, x_122); +x_124 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_118); -return x_124; +if (lean_is_scalar(x_120)) { + x_125 = lean_alloc_ctor(0, 2, 0); +} else { + x_125 = x_120; +} +lean_ctor_set(x_125, 0, x_124); +lean_ctor_set(x_125, 1, x_119); +return x_125; } else { -lean_object* x_125; +lean_object* x_126; lean_object* x_127; +x_126 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_125 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_103, x_6, x_7, x_8, x_9, x_109); -if (lean_obj_tag(x_125) == 0) +x_127 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_104, x_126, x_6, x_7, x_8, x_9, x_110); +if (lean_obj_tag(x_127) == 0) { -lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; size_t x_140; size_t x_141; lean_object* x_142; -x_126 = lean_ctor_get(x_125, 0); -lean_inc(x_126); -x_127 = lean_ctor_get(x_125, 1); -lean_inc(x_127); -lean_dec(x_125); -x_128 = lean_ctor_get(x_126, 0); +lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; size_t x_142; size_t x_143; lean_object* x_144; +x_128 = lean_ctor_get(x_127, 0); lean_inc(x_128); -x_129 = lean_ctor_get(x_126, 1); +x_129 = lean_ctor_get(x_127, 1); lean_inc(x_129); -lean_dec(x_126); -x_130 = lean_st_ref_get(x_9, x_127); -x_131 = lean_ctor_get(x_130, 1); +lean_dec(x_127); +x_130 = lean_ctor_get(x_128, 0); +lean_inc(x_130); +x_131 = lean_ctor_get(x_128, 1); lean_inc(x_131); -lean_dec(x_130); -x_132 = lean_st_ref_take(x_2, x_131); -x_133 = lean_ctor_get(x_132, 0); -lean_inc(x_133); -x_134 = lean_ctor_get(x_132, 1); -lean_inc(x_134); -lean_dec(x_132); -lean_inc(x_129); -x_135 = l_Lean_Expr_mvarId_x21(x_129); -x_136 = l_Lean_Elab_Tactic_Conv_PatternMatchState_accept(x_135, x_133); -x_137 = lean_st_ref_set(x_2, x_136, x_134); -x_138 = lean_ctor_get(x_137, 1); -lean_inc(x_138); -lean_dec(x_137); -x_139 = lean_array_get_size(x_104); -x_140 = lean_usize_of_nat(x_139); -lean_dec(x_139); -x_141 = 0; -x_142 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__2(x_104, x_140, x_141, x_129, x_4, x_5, x_6, x_7, x_8, x_9, x_138); -if (lean_obj_tag(x_142) == 0) -{ -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; -x_143 = lean_ctor_get(x_142, 0); -lean_inc(x_143); -x_144 = lean_ctor_get(x_142, 1); -lean_inc(x_144); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_145 = x_142; -} else { - lean_dec_ref(x_142); - x_145 = lean_box(0); -} -x_146 = l_Lean_mkAppN(x_128, x_104); -x_147 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_147, 0, x_143); -x_148 = lean_unsigned_to_nat(0u); -x_149 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_149, 0, x_146); -lean_ctor_set(x_149, 1, x_147); -lean_ctor_set(x_149, 2, x_148); -x_150 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_150, 0, x_149); -if (lean_is_scalar(x_145)) { - x_151 = lean_alloc_ctor(0, 2, 0); -} else { - x_151 = x_145; -} -lean_ctor_set(x_151, 0, x_150); -lean_ctor_set(x_151, 1, x_144); -return x_151; -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_dec(x_128); -lean_dec(x_104); -x_152 = lean_ctor_get(x_142, 0); -lean_inc(x_152); -x_153 = lean_ctor_get(x_142, 1); -lean_inc(x_153); -if (lean_is_exclusive(x_142)) { - lean_ctor_release(x_142, 0); - lean_ctor_release(x_142, 1); - x_154 = x_142; +x_132 = lean_st_ref_get(x_9, x_129); +x_133 = lean_ctor_get(x_132, 1); +lean_inc(x_133); +lean_dec(x_132); +x_134 = lean_st_ref_take(x_2, x_133); +x_135 = lean_ctor_get(x_134, 0); +lean_inc(x_135); +x_136 = lean_ctor_get(x_134, 1); +lean_inc(x_136); +lean_dec(x_134); +lean_inc(x_131); +x_137 = l_Lean_Expr_mvarId_x21(x_131); +x_138 = l_Lean_Elab_Tactic_Conv_PatternMatchState_accept(x_137, x_135); +x_139 = lean_st_ref_set(x_2, x_138, x_136); +x_140 = lean_ctor_get(x_139, 1); +lean_inc(x_140); +lean_dec(x_139); +x_141 = lean_array_get_size(x_105); +x_142 = lean_usize_of_nat(x_141); +lean_dec(x_141); +x_143 = 0; +x_144 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__2(x_105, x_142, x_143, x_131, x_4, x_5, x_6, x_7, x_8, x_9, x_140); +if (lean_obj_tag(x_144) == 0) +{ +lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_145 = lean_ctor_get(x_144, 0); +lean_inc(x_145); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_147 = x_144; } else { - lean_dec_ref(x_142); - x_154 = lean_box(0); + lean_dec_ref(x_144); + x_147 = lean_box(0); } -if (lean_is_scalar(x_154)) { - x_155 = lean_alloc_ctor(1, 2, 0); +x_148 = l_Lean_mkAppN(x_130, x_105); +x_149 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_149, 0, x_145); +x_150 = lean_unsigned_to_nat(0u); +x_151 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_151, 0, x_148); +lean_ctor_set(x_151, 1, x_149); +lean_ctor_set(x_151, 2, x_150); +x_152 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_152, 0, x_151); +if (lean_is_scalar(x_147)) { + x_153 = lean_alloc_ctor(0, 2, 0); } else { - x_155 = x_154; + x_153 = x_147; } -lean_ctor_set(x_155, 0, x_152); -lean_ctor_set(x_155, 1, x_153); -return x_155; +lean_ctor_set(x_153, 0, x_152); +lean_ctor_set(x_153, 1, x_146); +return x_153; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_dec(x_130); +lean_dec(x_105); +x_154 = lean_ctor_get(x_144, 0); +lean_inc(x_154); +x_155 = lean_ctor_get(x_144, 1); +lean_inc(x_155); +if (lean_is_exclusive(x_144)) { + lean_ctor_release(x_144, 0); + lean_ctor_release(x_144, 1); + x_156 = x_144; +} else { + lean_dec_ref(x_144); + x_156 = lean_box(0); +} +if (lean_is_scalar(x_156)) { + x_157 = lean_alloc_ctor(1, 2, 0); +} else { + x_157 = x_156; +} +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_155); +return x_157; } } else { -lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; -lean_dec(x_104); +lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; +lean_dec(x_105); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_156 = lean_ctor_get(x_125, 0); -lean_inc(x_156); -x_157 = lean_ctor_get(x_125, 1); -lean_inc(x_157); -if (lean_is_exclusive(x_125)) { - lean_ctor_release(x_125, 0); - lean_ctor_release(x_125, 1); - x_158 = x_125; +x_158 = lean_ctor_get(x_127, 0); +lean_inc(x_158); +x_159 = lean_ctor_get(x_127, 1); +lean_inc(x_159); +if (lean_is_exclusive(x_127)) { + lean_ctor_release(x_127, 0); + lean_ctor_release(x_127, 1); + x_160 = x_127; } else { - lean_dec_ref(x_125); - x_158 = lean_box(0); + lean_dec_ref(x_127); + x_160 = lean_box(0); } -if (lean_is_scalar(x_158)) { - x_159 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_160)) { + x_161 = lean_alloc_ctor(1, 2, 0); } else { - x_159 = x_158; + x_161 = x_160; } -lean_ctor_set(x_159, 0, x_156); -lean_ctor_set(x_159, 1, x_157); -return x_159; +lean_ctor_set(x_161, 0, x_158); +lean_ctor_set(x_161, 1, x_159); +return x_161; } } } @@ -1634,383 +1636,384 @@ return x_159; } else { -uint8_t x_160; +uint8_t x_162; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_160 = !lean_is_exclusive(x_18); -if (x_160 == 0) +x_162 = !lean_is_exclusive(x_18); +if (x_162 == 0) { return x_18; } else { -lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_161 = lean_ctor_get(x_18, 0); -x_162 = lean_ctor_get(x_18, 1); -lean_inc(x_162); -lean_inc(x_161); +lean_object* x_163; lean_object* x_164; lean_object* x_165; +x_163 = lean_ctor_get(x_18, 0); +x_164 = lean_ctor_get(x_18, 1); +lean_inc(x_164); +lean_inc(x_163); lean_dec(x_18); -x_163 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_163, 0, x_161); -lean_ctor_set(x_163, 1, x_162); -return x_163; +x_165 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_165, 0, x_163); +lean_ctor_set(x_165, 1, x_164); +return x_165; } } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_164 = lean_box(0); -x_165 = lean_unsigned_to_nat(0u); -x_166 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_166, 0, x_3); -lean_ctor_set(x_166, 1, x_164); -lean_ctor_set(x_166, 2, x_165); -x_167 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_167, 0, x_166); -lean_ctor_set(x_13, 0, x_167); +x_166 = lean_box(0); +x_167 = lean_unsigned_to_nat(0u); +x_168 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_168, 0, x_3); +lean_ctor_set(x_168, 1, x_166); +lean_ctor_set(x_168, 2, x_167); +x_169 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_169, 0, x_168); +lean_ctor_set(x_13, 0, x_169); return x_13; } } else { -lean_object* x_168; lean_object* x_169; uint8_t x_170; -x_168 = lean_ctor_get(x_13, 0); -x_169 = lean_ctor_get(x_13, 1); -lean_inc(x_169); -lean_inc(x_168); +lean_object* x_170; lean_object* x_171; uint8_t x_172; +x_170 = lean_ctor_get(x_13, 0); +x_171 = lean_ctor_get(x_13, 1); +lean_inc(x_171); +lean_inc(x_170); lean_dec(x_13); -x_170 = l_Lean_Elab_Tactic_Conv_PatternMatchState_isDone(x_168); -lean_dec(x_168); -if (x_170 == 0) +x_172 = l_Lean_Elab_Tactic_Conv_PatternMatchState_isDone(x_170); +lean_dec(x_170); +if (x_172 == 0) { -lean_object* x_171; +lean_object* x_173; lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); lean_inc(x_3); -x_171 = l_Lean_Elab_Tactic_Conv_matchPattern_x3f(x_1, x_3, x_6, x_7, x_8, x_9, x_169); -if (lean_obj_tag(x_171) == 0) +x_173 = l_Lean_Elab_Tactic_Conv_matchPattern_x3f(x_1, x_3, x_6, x_7, x_8, x_9, x_171); +if (lean_obj_tag(x_173) == 0) { -lean_object* x_172; -x_172 = lean_ctor_get(x_171, 0); -lean_inc(x_172); -if (lean_obj_tag(x_172) == 0) +lean_object* x_174; +x_174 = lean_ctor_get(x_173, 0); +lean_inc(x_174); +if (lean_obj_tag(x_174) == 0) { -lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; +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_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_173 = lean_ctor_get(x_171, 1); -lean_inc(x_173); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - x_174 = x_171; +x_175 = lean_ctor_get(x_173, 1); +lean_inc(x_175); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_176 = x_173; } else { - lean_dec_ref(x_171); - x_174 = lean_box(0); + lean_dec_ref(x_173); + x_176 = lean_box(0); } -x_175 = lean_box(0); -x_176 = lean_unsigned_to_nat(0u); -x_177 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_177, 0, x_3); -lean_ctor_set(x_177, 1, x_175); -lean_ctor_set(x_177, 2, x_176); -x_178 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_178, 0, x_177); -if (lean_is_scalar(x_174)) { - x_179 = lean_alloc_ctor(0, 2, 0); +x_177 = lean_box(0); +x_178 = lean_unsigned_to_nat(0u); +x_179 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_179, 0, x_3); +lean_ctor_set(x_179, 1, x_177); +lean_ctor_set(x_179, 2, x_178); +x_180 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_180, 0, x_179); +if (lean_is_scalar(x_176)) { + x_181 = lean_alloc_ctor(0, 2, 0); } else { - x_179 = x_174; + x_181 = x_176; } -lean_ctor_set(x_179, 0, x_178); -lean_ctor_set(x_179, 1, x_173); -return x_179; +lean_ctor_set(x_181, 0, x_180); +lean_ctor_set(x_181, 1, x_175); +return x_181; } else { -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; uint8_t x_190; +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; uint8_t x_192; lean_dec(x_3); -x_180 = lean_ctor_get(x_172, 0); -lean_inc(x_180); -if (lean_is_exclusive(x_172)) { - lean_ctor_release(x_172, 0); - x_181 = x_172; -} else { - lean_dec_ref(x_172); - x_181 = lean_box(0); -} -x_182 = lean_ctor_get(x_171, 1); +x_182 = lean_ctor_get(x_174, 0); lean_inc(x_182); -lean_dec(x_171); -x_183 = lean_ctor_get(x_180, 0); -lean_inc(x_183); -x_184 = lean_ctor_get(x_180, 1); +if (lean_is_exclusive(x_174)) { + lean_ctor_release(x_174, 0); + x_183 = x_174; +} else { + lean_dec_ref(x_174); + x_183 = lean_box(0); +} +x_184 = lean_ctor_get(x_173, 1); lean_inc(x_184); -lean_dec(x_180); -x_185 = lean_st_ref_get(x_9, x_182); -x_186 = lean_ctor_get(x_185, 1); +lean_dec(x_173); +x_185 = lean_ctor_get(x_182, 0); +lean_inc(x_185); +x_186 = lean_ctor_get(x_182, 1); lean_inc(x_186); -lean_dec(x_185); -x_187 = lean_st_ref_get(x_2, x_186); -x_188 = lean_ctor_get(x_187, 0); +lean_dec(x_182); +x_187 = lean_st_ref_get(x_9, x_184); +x_188 = lean_ctor_get(x_187, 1); lean_inc(x_188); -x_189 = lean_ctor_get(x_187, 1); -lean_inc(x_189); lean_dec(x_187); -x_190 = l_Lean_Elab_Tactic_Conv_PatternMatchState_isReady(x_188); -lean_dec(x_188); -if (x_190 == 0) +x_189 = lean_st_ref_get(x_2, x_188); +x_190 = lean_ctor_get(x_189, 0); +lean_inc(x_190); +x_191 = lean_ctor_get(x_189, 1); +lean_inc(x_191); +lean_dec(x_189); +x_192 = l_Lean_Elab_Tactic_Conv_PatternMatchState_isReady(x_190); +lean_dec(x_190); +if (x_192 == 0) { -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_dec(x_184); -lean_dec(x_181); +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_dec(x_186); +lean_dec(x_183); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_191 = lean_st_ref_get(x_9, x_189); +x_193 = lean_st_ref_get(x_9, x_191); lean_dec(x_9); -x_192 = lean_ctor_get(x_191, 1); -lean_inc(x_192); -lean_dec(x_191); -x_193 = lean_st_ref_take(x_2, x_192); -x_194 = lean_ctor_get(x_193, 0); +x_194 = lean_ctor_get(x_193, 1); lean_inc(x_194); -x_195 = lean_ctor_get(x_193, 1); -lean_inc(x_195); lean_dec(x_193); -x_196 = l_Lean_Elab_Tactic_Conv_PatternMatchState_skip(x_194); -x_197 = lean_st_ref_set(x_2, x_196, x_195); -x_198 = lean_ctor_get(x_197, 1); -lean_inc(x_198); -if (lean_is_exclusive(x_197)) { - lean_ctor_release(x_197, 0); - lean_ctor_release(x_197, 1); - x_199 = x_197; +x_195 = lean_st_ref_take(x_2, x_194); +x_196 = lean_ctor_get(x_195, 0); +lean_inc(x_196); +x_197 = lean_ctor_get(x_195, 1); +lean_inc(x_197); +lean_dec(x_195); +x_198 = l_Lean_Elab_Tactic_Conv_PatternMatchState_skip(x_196); +x_199 = lean_st_ref_set(x_2, x_198, x_197); +x_200 = lean_ctor_get(x_199, 1); +lean_inc(x_200); +if (lean_is_exclusive(x_199)) { + lean_ctor_release(x_199, 0); + lean_ctor_release(x_199, 1); + x_201 = x_199; } else { - lean_dec_ref(x_197); - x_199 = lean_box(0); + lean_dec_ref(x_199); + x_201 = lean_box(0); } -x_200 = lean_box(0); -x_201 = lean_unsigned_to_nat(0u); -x_202 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_202, 0, x_183); -lean_ctor_set(x_202, 1, x_200); -lean_ctor_set(x_202, 2, x_201); -x_203 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_203, 0, x_202); -if (lean_is_scalar(x_199)) { - x_204 = lean_alloc_ctor(0, 2, 0); +x_202 = lean_box(0); +x_203 = lean_unsigned_to_nat(0u); +x_204 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_204, 0, x_185); +lean_ctor_set(x_204, 1, x_202); +lean_ctor_set(x_204, 2, x_203); +x_205 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_205, 0, x_204); +if (lean_is_scalar(x_201)) { + x_206 = lean_alloc_ctor(0, 2, 0); } else { - x_204 = x_199; + x_206 = x_201; } -lean_ctor_set(x_204, 0, x_203); -lean_ctor_set(x_204, 1, x_198); -return x_204; +lean_ctor_set(x_206, 0, x_205); +lean_ctor_set(x_206, 1, x_200); +return x_206; } else { -lean_object* x_205; +lean_object* x_207; lean_object* x_208; +x_207 = lean_box(0); lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_205 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_183, x_6, x_7, x_8, x_9, x_189); -if (lean_obj_tag(x_205) == 0) +x_208 = l_Lean_Elab_Tactic_Conv_mkConvGoalFor(x_185, x_207, x_6, x_7, x_8, x_9, x_191); +if (lean_obj_tag(x_208) == 0) { -lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; size_t x_220; size_t x_221; lean_object* x_222; -x_206 = lean_ctor_get(x_205, 0); -lean_inc(x_206); -x_207 = lean_ctor_get(x_205, 1); -lean_inc(x_207); -lean_dec(x_205); -x_208 = lean_ctor_get(x_206, 0); -lean_inc(x_208); -x_209 = lean_ctor_get(x_206, 1); +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; size_t x_223; size_t x_224; lean_object* x_225; +x_209 = lean_ctor_get(x_208, 0); lean_inc(x_209); -lean_dec(x_206); -x_210 = lean_st_ref_get(x_9, x_207); -x_211 = lean_ctor_get(x_210, 1); -lean_inc(x_211); -lean_dec(x_210); -x_212 = lean_st_ref_take(x_2, x_211); -x_213 = lean_ctor_get(x_212, 0); -lean_inc(x_213); -x_214 = lean_ctor_get(x_212, 1); -lean_inc(x_214); -lean_dec(x_212); -lean_inc(x_209); -x_215 = l_Lean_Expr_mvarId_x21(x_209); -x_216 = l_Lean_Elab_Tactic_Conv_PatternMatchState_accept(x_215, x_213); -x_217 = lean_st_ref_set(x_2, x_216, x_214); -x_218 = lean_ctor_get(x_217, 1); -lean_inc(x_218); -lean_dec(x_217); -x_219 = lean_array_get_size(x_184); -x_220 = lean_usize_of_nat(x_219); -lean_dec(x_219); -x_221 = 0; -x_222 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__2(x_184, x_220, x_221, x_209, x_4, x_5, x_6, x_7, x_8, x_9, x_218); -if (lean_obj_tag(x_222) == 0) -{ -lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -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 = l_Lean_mkAppN(x_208, x_184); -if (lean_is_scalar(x_181)) { - x_227 = lean_alloc_ctor(1, 1, 0); -} else { - x_227 = x_181; -} -lean_ctor_set(x_227, 0, x_223); -x_228 = lean_unsigned_to_nat(0u); -x_229 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_229, 0, x_226); -lean_ctor_set(x_229, 1, x_227); -lean_ctor_set(x_229, 2, x_228); -x_230 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_230, 0, x_229); -if (lean_is_scalar(x_225)) { - x_231 = lean_alloc_ctor(0, 2, 0); -} else { - x_231 = x_225; -} -lean_ctor_set(x_231, 0, x_230); -lean_ctor_set(x_231, 1, x_224); -return x_231; -} -else -{ -lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; +x_210 = lean_ctor_get(x_208, 1); +lean_inc(x_210); lean_dec(x_208); -lean_dec(x_184); -lean_dec(x_181); -x_232 = lean_ctor_get(x_222, 0); -lean_inc(x_232); -x_233 = lean_ctor_get(x_222, 1); -lean_inc(x_233); -if (lean_is_exclusive(x_222)) { - lean_ctor_release(x_222, 0); - lean_ctor_release(x_222, 1); - x_234 = x_222; +x_211 = lean_ctor_get(x_209, 0); +lean_inc(x_211); +x_212 = lean_ctor_get(x_209, 1); +lean_inc(x_212); +lean_dec(x_209); +x_213 = lean_st_ref_get(x_9, x_210); +x_214 = lean_ctor_get(x_213, 1); +lean_inc(x_214); +lean_dec(x_213); +x_215 = lean_st_ref_take(x_2, x_214); +x_216 = lean_ctor_get(x_215, 0); +lean_inc(x_216); +x_217 = lean_ctor_get(x_215, 1); +lean_inc(x_217); +lean_dec(x_215); +lean_inc(x_212); +x_218 = l_Lean_Expr_mvarId_x21(x_212); +x_219 = l_Lean_Elab_Tactic_Conv_PatternMatchState_accept(x_218, x_216); +x_220 = lean_st_ref_set(x_2, x_219, x_217); +x_221 = lean_ctor_get(x_220, 1); +lean_inc(x_221); +lean_dec(x_220); +x_222 = lean_array_get_size(x_186); +x_223 = lean_usize_of_nat(x_222); +lean_dec(x_222); +x_224 = 0; +x_225 = l_Array_forInUnsafe_loop___at___private_Lean_Meta_Tactic_Simp_Rewrite_0__Lean_Meta_Simp_tryTheoremCore___spec__2(x_186, x_223, x_224, x_212, x_4, x_5, x_6, x_7, x_8, x_9, x_221); +if (lean_obj_tag(x_225) == 0) +{ +lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; +x_226 = lean_ctor_get(x_225, 0); +lean_inc(x_226); +x_227 = lean_ctor_get(x_225, 1); +lean_inc(x_227); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_228 = x_225; } else { - lean_dec_ref(x_222); - x_234 = lean_box(0); + lean_dec_ref(x_225); + x_228 = lean_box(0); } -if (lean_is_scalar(x_234)) { - x_235 = lean_alloc_ctor(1, 2, 0); +x_229 = l_Lean_mkAppN(x_211, x_186); +if (lean_is_scalar(x_183)) { + x_230 = lean_alloc_ctor(1, 1, 0); } else { - x_235 = x_234; + x_230 = x_183; } -lean_ctor_set(x_235, 0, x_232); -lean_ctor_set(x_235, 1, x_233); -return x_235; +lean_ctor_set(x_230, 0, x_226); +x_231 = lean_unsigned_to_nat(0u); +x_232 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_232, 0, x_229); +lean_ctor_set(x_232, 1, x_230); +lean_ctor_set(x_232, 2, x_231); +x_233 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_233, 0, x_232); +if (lean_is_scalar(x_228)) { + x_234 = lean_alloc_ctor(0, 2, 0); +} else { + x_234 = x_228; +} +lean_ctor_set(x_234, 0, x_233); +lean_ctor_set(x_234, 1, x_227); +return x_234; +} +else +{ +lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; +lean_dec(x_211); +lean_dec(x_186); +lean_dec(x_183); +x_235 = lean_ctor_get(x_225, 0); +lean_inc(x_235); +x_236 = lean_ctor_get(x_225, 1); +lean_inc(x_236); +if (lean_is_exclusive(x_225)) { + lean_ctor_release(x_225, 0); + lean_ctor_release(x_225, 1); + x_237 = x_225; +} else { + lean_dec_ref(x_225); + x_237 = lean_box(0); +} +if (lean_is_scalar(x_237)) { + x_238 = lean_alloc_ctor(1, 2, 0); +} else { + x_238 = x_237; +} +lean_ctor_set(x_238, 0, x_235); +lean_ctor_set(x_238, 1, x_236); +return x_238; } } else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; -lean_dec(x_184); -lean_dec(x_181); +lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; +lean_dec(x_186); +lean_dec(x_183); lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); -x_236 = lean_ctor_get(x_205, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_205, 1); -lean_inc(x_237); -if (lean_is_exclusive(x_205)) { - lean_ctor_release(x_205, 0); - lean_ctor_release(x_205, 1); - x_238 = x_205; +x_239 = lean_ctor_get(x_208, 0); +lean_inc(x_239); +x_240 = lean_ctor_get(x_208, 1); +lean_inc(x_240); +if (lean_is_exclusive(x_208)) { + lean_ctor_release(x_208, 0); + lean_ctor_release(x_208, 1); + x_241 = x_208; } else { - lean_dec_ref(x_205); - x_238 = lean_box(0); + lean_dec_ref(x_208); + x_241 = lean_box(0); } -if (lean_is_scalar(x_238)) { - x_239 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_241)) { + x_242 = lean_alloc_ctor(1, 2, 0); } else { - x_239 = x_238; + x_242 = x_241; } -lean_ctor_set(x_239, 0, x_236); -lean_ctor_set(x_239, 1, x_237); -return x_239; +lean_ctor_set(x_242, 0, x_239); +lean_ctor_set(x_242, 1, x_240); +return x_242; } } } } else { -lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; +lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_3); -x_240 = lean_ctor_get(x_171, 0); -lean_inc(x_240); -x_241 = lean_ctor_get(x_171, 1); -lean_inc(x_241); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - lean_ctor_release(x_171, 1); - x_242 = x_171; +x_243 = lean_ctor_get(x_173, 0); +lean_inc(x_243); +x_244 = lean_ctor_get(x_173, 1); +lean_inc(x_244); +if (lean_is_exclusive(x_173)) { + lean_ctor_release(x_173, 0); + lean_ctor_release(x_173, 1); + x_245 = x_173; } else { - lean_dec_ref(x_171); - x_242 = lean_box(0); + lean_dec_ref(x_173); + x_245 = lean_box(0); } -if (lean_is_scalar(x_242)) { - x_243 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_245)) { + x_246 = lean_alloc_ctor(1, 2, 0); } else { - x_243 = x_242; + x_246 = x_245; } -lean_ctor_set(x_243, 0, x_240); -lean_ctor_set(x_243, 1, x_241); -return x_243; +lean_ctor_set(x_246, 0, x_243); +lean_ctor_set(x_246, 1, x_244); +return x_246; } } else { -lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; +lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_dec(x_9); lean_dec(x_8); lean_dec(x_7); lean_dec(x_6); lean_dec(x_1); -x_244 = lean_box(0); -x_245 = lean_unsigned_to_nat(0u); -x_246 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_246, 0, x_3); -lean_ctor_set(x_246, 1, x_244); -lean_ctor_set(x_246, 2, x_245); -x_247 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_247, 0, x_246); -x_248 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_248, 0, x_247); -lean_ctor_set(x_248, 1, x_169); -return x_248; +x_247 = lean_box(0); +x_248 = lean_unsigned_to_nat(0u); +x_249 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_249, 0, x_3); +lean_ctor_set(x_249, 1, x_247); +lean_ctor_set(x_249, 2, x_248); +x_250 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_250, 0, x_249); +x_251 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_251, 0, x_250); +lean_ctor_set(x_251, 1, x_171); +return x_251; } } } diff --git a/stage0/stdlib/Lean/Elab/Tactic/Conv/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Conv/Simp.c index 25224afe2e..b7aca1252f 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Conv/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Conv/Simp.c @@ -20,6 +20,7 @@ lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimpMatch___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__18; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__14; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch___closed__1; @@ -27,7 +28,9 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__15; lean_object* l_Lean_Elab_Tactic_Conv_changeLhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp_declRange___closed__1; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp_declRange___closed__2; lean_object* l_Lean_Elab_Tactic_withMainContext___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__9; @@ -35,28 +38,38 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__17; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch___closed__4; lean_object* l_Lean_Meta_Simp_Result_getProof(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_Lean_Meta_dsimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimp___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRange___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRange___closed__4; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__6; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimpMatch(lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp_declRange___closed__4; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRange___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimpMatch___boxed(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__8; +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp(lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__6; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__2; lean_object* l_Lean_addBuiltinDeclarationRanges(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimpMatch___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalDSimp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__5; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp_declRange___closed__3; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp_declRange___closed__5; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__3; lean_object* l_Lean_Elab_Tactic_Conv_getLhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); extern lean_object* l_Lean_Elab_Tactic_tacticElabAttribute; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__11; +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalDSimp___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Tactic_Simp_DischargeWrapper_with___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalSimpMatch___rarg___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp_declRange___closed__6; @@ -70,15 +83,19 @@ lean_object* l_Lean_Meta_Split_simpMatch(lean_object*, lean_object*, lean_object LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalSimp___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_Conv_evalSimp___lambda__1___closed__1; lean_object* l_Lean_Elab_Tactic_Conv_updateLhs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange(lean_object*); LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch(lean_object*); lean_object* l_Lean_Elab_Tactic_mkSimpContext(lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp_declRange___closed__7; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__12; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRange___closed__5; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_applySimpResult(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__2; static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRange___closed__3; lean_object* l_Lean_Meta_simp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__10; +static lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_applySimpResult(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { _start: { @@ -928,6 +945,332 @@ x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); return x_4; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalDSimp___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +uint8_t x_11; uint8_t x_12; lean_object* x_13; +x_11 = 0; +x_12 = 2; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_13 = l_Lean_Elab_Tactic_mkSimpContext(x_1, x_11, x_12, x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, 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; +x_14 = lean_ctor_get(x_13, 0); +lean_inc(x_14); +x_15 = lean_ctor_get(x_13, 1); +lean_inc(x_15); +lean_dec(x_13); +x_16 = lean_ctor_get(x_14, 0); +lean_inc(x_16); +lean_dec(x_14); +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +lean_inc(x_5); +lean_inc(x_4); +lean_inc(x_3); +lean_inc(x_2); +x_17 = l_Lean_Elab_Tactic_Conv_getLhs(x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_15); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +x_18 = lean_ctor_get(x_17, 0); +lean_inc(x_18); +x_19 = lean_ctor_get(x_17, 1); +lean_inc(x_19); +lean_dec(x_17); +x_20 = l_Lean_Elab_Tactic_Conv_evalSimp___lambda__1___closed__1; +lean_inc(x_9); +lean_inc(x_8); +lean_inc(x_7); +lean_inc(x_6); +x_21 = l_Lean_Meta_dsimp(x_18, x_16, x_20, x_6, x_7, x_8, x_9, x_19); +if (lean_obj_tag(x_21) == 0) +{ +lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; +x_22 = lean_ctor_get(x_21, 0); +lean_inc(x_22); +x_23 = lean_ctor_get(x_21, 1); +lean_inc(x_23); +lean_dec(x_21); +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); +lean_dec(x_22); +x_25 = l_Lean_Elab_Tactic_Conv_changeLhs(x_24, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_23); +return x_25; +} +else +{ +uint8_t x_26; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_26 = !lean_is_exclusive(x_21); +if (x_26 == 0) +{ +return x_21; +} +else +{ +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_21, 0); +x_28 = lean_ctor_get(x_21, 1); +lean_inc(x_28); +lean_inc(x_27); +lean_dec(x_21); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; +} +} +} +else +{ +uint8_t x_30; +lean_dec(x_16); +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_30 = !lean_is_exclusive(x_17); +if (x_30 == 0) +{ +return x_17; +} +else +{ +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_17, 0); +x_32 = lean_ctor_get(x_17, 1); +lean_inc(x_32); +lean_inc(x_31); +lean_dec(x_17); +x_33 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_33, 0, x_31); +lean_ctor_set(x_33, 1, x_32); +return x_33; +} +} +} +else +{ +uint8_t x_34; +lean_dec(x_9); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_2); +x_34 = !lean_is_exclusive(x_13); +if (x_34 == 0) +{ +return x_13; +} +else +{ +lean_object* x_35; lean_object* x_36; lean_object* x_37; +x_35 = lean_ctor_get(x_13, 0); +x_36 = lean_ctor_get(x_13, 1); +lean_inc(x_36); +lean_inc(x_35); +lean_dec(x_13); +x_37 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_37, 0, x_35); +lean_ctor_set(x_37, 1, x_36); +return x_37; +} +} +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_Conv_evalDSimp(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10) { +_start: +{ +lean_object* x_11; lean_object* x_12; +x_11 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalDSimp___lambda__1), 10, 1); +lean_closure_set(x_11, 0, x_1); +x_12 = l_Lean_Elab_Tactic_withMainContext___rarg(x_11, x_2, x_3, x_4, x_5, x_6, x_7, x_8, x_9, x_10); +return x_12; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("dsimp", 5); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__8; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__1; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__3() { +_start: +{ +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("evalDSimp", 9); +return x_1; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__14; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__3; +x_3 = l_Lean_Name_str___override(x_1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__5() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_Lean_Elab_Tactic_Conv_evalDSimp), 10, 0); +return x_1; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimp___closed__17; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__2; +x_4 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__4; +x_5 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__5; +x_6 = l_Lean_KeyedDeclsAttribute_addBuiltin___rarg(x_2, x_3, x_4, x_5, x_1); +return x_6; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__1() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(28u); +x_2 = lean_unsigned_to_nat(47u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(30u); +x_2 = lean_unsigned_to_nat(48u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__3() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__1; +x_2 = lean_unsigned_to_nat(47u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__2; +x_4 = lean_unsigned_to_nat(48u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__4() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(28u); +x_2 = lean_unsigned_to_nat(51u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__5() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = lean_unsigned_to_nat(28u); +x_2 = lean_unsigned_to_nat(60u); +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__6() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__4; +x_2 = lean_unsigned_to_nat(51u); +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__5; +x_4 = lean_unsigned_to_nat(60u); +x_5 = lean_alloc_ctor(0, 4, 0); +lean_ctor_set(x_5, 0, x_1); +lean_ctor_set(x_5, 1, x_2); +lean_ctor_set(x_5, 2, x_3); +lean_ctor_set(x_5, 3, x_4); +return x_5; +} +} +static lean_object* _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__7() { +_start: +{ +lean_object* x_1; lean_object* x_2; lean_object* x_3; +x_1 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__3; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__6; +x_3 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_3, 0, x_1); +lean_ctor_set(x_3, 1, x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; +x_2 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__4; +x_3 = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__7; +x_4 = l_Lean_addBuiltinDeclarationRanges(x_2, x_3, x_1); +return x_4; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Simp(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Elab_Tactic_Split(uint8_t builtin, lean_object*); @@ -1039,6 +1382,36 @@ lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRang res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalSimpMatch_declRange(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp___closed__5); +res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__1 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__1(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__1); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__2 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__2(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__2); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__3 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__3(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__3); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__4 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__4(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__4); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__5 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__5(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__5); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__6 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__6(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__6); +l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__7 = _init_l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__7(); +lean_mark_persistent(l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange___closed__7); +res = l___regBuiltin_Lean_Elab_Tactic_Conv_evalDSimp_declRange(lean_io_mk_world()); +if (lean_io_result_is_error(res)) return res; +lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); } #ifdef __cplusplus diff --git a/stage0/stdlib/Lean/Elab/Tactic/Match.c b/stage0/stdlib/Lean/Elab/Tactic/Match.c index b399099538..b9a38ca548 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Match.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Match.c @@ -34,7 +34,7 @@ static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at_Lean_Elab_Tactic_eva LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__2___closed__1; static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalMatch_declRange___closed__2; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); extern lean_object* l_Lean_maxRecDepthErrorMessage; lean_object* l_Lean_Elab_withMacroExpansionInfo___at_Lean_Elab_Tactic_adaptExpander___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__2___closed__8; @@ -45,7 +45,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__2___closed__6; lean_object* l_Lean_Elab_Tactic_evalTactic(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalMatch___spec__4___closed__1; LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at_Lean_Elab_Tactic_evalMatch___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -468,7 +468,7 @@ uint8_t x_45; x_45 = !lean_is_exclusive(x_14); if (x_45 == 0) { -lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; +lean_object* x_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; uint8_t x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; x_46 = lean_ctor_get(x_14, 0); x_47 = lean_nat_add(x_46, x_36); lean_ctor_set(x_14, 0, x_47); @@ -571,106 +571,107 @@ lean_ctor_set(x_88, 1, x_34); lean_ctor_set(x_88, 2, x_87); x_89 = lean_unsigned_to_nat(2u); x_90 = l_Lean_Syntax_getArg(x_37, x_89); +x_91 = 0; lean_inc(x_90); -x_91 = l_Lean_SourceInfo_fromRef(x_90); -x_92 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__17; -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_91); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__18; +x_92 = l_Lean_SourceInfo_fromRef(x_90, x_91); +x_93 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__17; +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_92); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__18; lean_inc(x_73); -x_95 = l_Lean_Name_str___override(x_73, x_94); -x_96 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__19; +x_96 = l_Lean_Name_str___override(x_73, x_95); +x_97 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__19; lean_inc(x_73); -x_97 = l_Lean_Name_str___override(x_73, x_96); -x_98 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__20; +x_98 = l_Lean_Name_str___override(x_73, x_97); +x_99 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__20; lean_inc(x_73); -x_99 = l_Lean_Name_str___override(x_73, x_98); -x_100 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__21; +x_100 = l_Lean_Name_str___override(x_73, x_99); +x_101 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__21; lean_inc(x_70); -x_101 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_101, 0, x_70); -lean_ctor_set(x_101, 1, x_100); -x_102 = lean_unsigned_to_nat(0u); -x_103 = l_Lean_Syntax_getArg(x_37, x_102); -x_104 = lean_array_push(x_64, x_103); -x_105 = lean_array_push(x_104, x_90); -x_106 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_106, 0, x_33); -lean_ctor_set(x_106, 1, x_34); -lean_ctor_set(x_106, 2, x_105); -x_107 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__22; -x_108 = l_Lean_Name_str___override(x_73, x_107); +x_102 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_102, 0, x_70); +lean_ctor_set(x_102, 1, x_101); +x_103 = lean_unsigned_to_nat(0u); +x_104 = l_Lean_Syntax_getArg(x_37, x_103); +x_105 = lean_array_push(x_64, x_104); +x_106 = lean_array_push(x_105, x_90); +x_107 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_107, 0, x_33); +lean_ctor_set(x_107, 1, x_34); +lean_ctor_set(x_107, 2, x_106); +x_108 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__22; +x_109 = l_Lean_Name_str___override(x_73, x_108); lean_inc(x_70); -x_109 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_109, 0, x_70); -lean_ctor_set(x_109, 1, x_107); -x_110 = lean_array_push(x_31, x_109); +x_110 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_110, 0, x_70); +lean_ctor_set(x_110, 1, x_108); +x_111 = lean_array_push(x_31, x_110); lean_inc(x_70); -x_111 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_111, 0, x_70); -lean_ctor_set(x_111, 1, x_108); -lean_ctor_set(x_111, 2, x_110); -x_112 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__23; -x_113 = lean_array_push(x_112, x_101); -x_114 = lean_array_push(x_113, x_106); -x_115 = lean_array_push(x_114, x_111); +x_112 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_112, 0, x_70); +lean_ctor_set(x_112, 1, x_109); +lean_ctor_set(x_112, 2, x_111); +x_113 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__23; +x_114 = lean_array_push(x_113, x_102); +x_115 = lean_array_push(x_114, x_107); +x_116 = lean_array_push(x_115, x_112); lean_inc(x_70); -x_116 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_116, 0, x_70); -lean_ctor_set(x_116, 1, x_99); -lean_ctor_set(x_116, 2, x_115); -x_117 = lean_array_push(x_112, x_116); -x_118 = lean_array_push(x_117, x_83); +x_117 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_117, 0, x_70); +lean_ctor_set(x_117, 1, x_100); +lean_ctor_set(x_117, 2, x_116); +x_118 = lean_array_push(x_113, x_117); +x_119 = lean_array_push(x_118, x_83); lean_inc(x_8); -x_119 = lean_array_push(x_118, x_8); +x_120 = lean_array_push(x_119, x_8); lean_inc(x_70); -x_120 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_120, 0, x_70); -lean_ctor_set(x_120, 1, x_34); -lean_ctor_set(x_120, 2, x_119); -x_121 = lean_array_push(x_31, x_120); +x_121 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_121, 0, x_70); +lean_ctor_set(x_121, 1, x_34); +lean_ctor_set(x_121, 2, x_120); +x_122 = lean_array_push(x_31, x_121); lean_inc(x_70); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_70); -lean_ctor_set(x_122, 1, x_97); -lean_ctor_set(x_122, 2, x_121); -x_123 = lean_array_push(x_31, x_122); +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_70); +lean_ctor_set(x_123, 1, x_98); +lean_ctor_set(x_123, 2, x_122); +x_124 = lean_array_push(x_31, x_123); lean_inc(x_70); -x_124 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_124, 0, x_70); -lean_ctor_set(x_124, 1, x_95); -lean_ctor_set(x_124, 2, x_123); -x_125 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__24; -x_126 = lean_array_push(x_125, x_76); -x_127 = lean_array_push(x_126, x_88); -x_128 = lean_array_push(x_127, x_93); -x_129 = lean_array_push(x_128, x_124); -x_130 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_130, 0, x_70); -lean_ctor_set(x_130, 1, x_75); -lean_ctor_set(x_130, 2, x_129); -x_131 = lean_array_push(x_29, x_130); -x_132 = lean_unsigned_to_nat(3u); -x_133 = l_Lean_Syntax_setArg(x_37, x_132, x_67); -x_134 = lean_box(0); +x_125 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_125, 0, x_70); +lean_ctor_set(x_125, 1, x_96); +lean_ctor_set(x_125, 2, x_124); +x_126 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__24; +x_127 = lean_array_push(x_126, x_76); +x_128 = lean_array_push(x_127, x_88); +x_129 = lean_array_push(x_128, x_94); +x_130 = lean_array_push(x_129, x_125); +x_131 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_131, 0, x_70); +lean_ctor_set(x_131, 1, x_75); +lean_ctor_set(x_131, 2, x_130); +x_132 = lean_array_push(x_29, x_131); +x_133 = lean_unsigned_to_nat(3u); +x_134 = l_Lean_Syntax_setArg(x_37, x_133, x_67); +x_135 = lean_box(0); lean_inc(x_13); -x_135 = lean_apply_7(x_38, x_133, x_27, x_131, x_30, x_134, x_13, x_71); -if (lean_obj_tag(x_135) == 0) +x_136 = lean_apply_7(x_38, x_134, x_27, x_132, x_30, x_135, x_13, x_71); +if (lean_obj_tag(x_136) == 0) { -lean_object* x_136; lean_object* x_137; -x_136 = lean_ctor_get(x_135, 0); -lean_inc(x_136); -x_137 = lean_ctor_get(x_135, 1); +lean_object* x_137; lean_object* x_138; +x_137 = lean_ctor_get(x_136, 0); lean_inc(x_137); -lean_dec(x_135); -x_15 = x_136; -x_16 = x_137; +x_138 = lean_ctor_get(x_136, 1); +lean_inc(x_138); +lean_dec(x_136); +x_15 = x_137; +x_16 = x_138; goto block_23; } else { -uint8_t x_138; +uint8_t x_139; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); @@ -679,237 +680,238 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_138 = !lean_is_exclusive(x_135); -if (x_138 == 0) +x_139 = !lean_is_exclusive(x_136); +if (x_139 == 0) { -return x_135; +return x_136; } else { -lean_object* x_139; lean_object* x_140; lean_object* x_141; -x_139 = lean_ctor_get(x_135, 0); -x_140 = lean_ctor_get(x_135, 1); +lean_object* x_140; lean_object* x_141; lean_object* x_142; +x_140 = lean_ctor_get(x_136, 0); +x_141 = lean_ctor_get(x_136, 1); +lean_inc(x_141); lean_inc(x_140); -lean_inc(x_139); -lean_dec(x_135); -x_141 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_141, 0, x_139); -lean_ctor_set(x_141, 1, x_140); -return x_141; +lean_dec(x_136); +x_142 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_142, 0, x_140); +lean_ctor_set(x_142, 1, x_141); +return x_142; } } } else { -lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; 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; -x_142 = lean_ctor_get(x_14, 0); -x_143 = lean_ctor_get(x_14, 1); +lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; uint8_t 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; +x_143 = lean_ctor_get(x_14, 0); +x_144 = lean_ctor_get(x_14, 1); +lean_inc(x_144); lean_inc(x_143); -lean_inc(x_142); lean_dec(x_14); -x_144 = lean_nat_add(x_142, x_36); -x_145 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_145, 0, x_144); -lean_ctor_set(x_145, 1, x_143); -x_146 = lean_ctor_get(x_13, 0); -lean_inc(x_146); -x_147 = lean_ctor_get(x_13, 1); +x_145 = lean_nat_add(x_143, x_36); +x_146 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_146, 0, x_145); +lean_ctor_set(x_146, 1, x_144); +x_147 = lean_ctor_get(x_13, 0); lean_inc(x_147); -x_148 = lean_ctor_get(x_13, 3); +x_148 = lean_ctor_get(x_13, 1); lean_inc(x_148); -x_149 = lean_ctor_get(x_13, 4); +x_149 = lean_ctor_get(x_13, 3); lean_inc(x_149); -x_150 = lean_ctor_get(x_13, 5); +x_150 = lean_ctor_get(x_13, 4); lean_inc(x_150); -lean_inc(x_142); -lean_inc(x_147); -x_151 = lean_alloc_ctor(0, 6, 0); -lean_ctor_set(x_151, 0, x_146); -lean_ctor_set(x_151, 1, x_147); -lean_ctor_set(x_151, 2, x_142); -lean_ctor_set(x_151, 3, x_148); -lean_ctor_set(x_151, 4, x_149); -lean_ctor_set(x_151, 5, x_150); -x_152 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_151, x_145); -x_153 = lean_ctor_get(x_152, 0); -lean_inc(x_153); -x_154 = lean_ctor_get(x_152, 1); +x_151 = lean_ctor_get(x_13, 5); +lean_inc(x_151); +lean_inc(x_143); +lean_inc(x_148); +x_152 = lean_alloc_ctor(0, 6, 0); +lean_ctor_set(x_152, 0, x_147); +lean_ctor_set(x_152, 1, x_148); +lean_ctor_set(x_152, 2, x_143); +lean_ctor_set(x_152, 3, x_149); +lean_ctor_set(x_152, 4, x_150); +lean_ctor_set(x_152, 5, x_151); +x_153 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_152, x_146); +x_154 = lean_ctor_get(x_153, 0); lean_inc(x_154); -lean_dec(x_152); -x_155 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__7; -lean_inc(x_153); -x_156 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_156, 0, x_153); -lean_ctor_set(x_156, 1, x_155); -x_157 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__11; -x_158 = l_Lean_addMacroScope(x_147, x_157, x_142); -x_159 = lean_box(0); -x_160 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__10; -lean_inc(x_153); -x_161 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_161, 0, x_153); -lean_ctor_set(x_161, 1, x_160); -lean_ctor_set(x_161, 2, x_158); -lean_ctor_set(x_161, 3, x_159); -x_162 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__12; -x_163 = lean_array_push(x_162, x_156); -x_164 = lean_array_push(x_163, x_161); -x_165 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_165, 0, x_153); -lean_ctor_set(x_165, 1, x_40); -lean_ctor_set(x_165, 2, x_164); -x_166 = l_Lean_Syntax_getArg(x_165, x_36); +x_155 = lean_ctor_get(x_153, 1); +lean_inc(x_155); +lean_dec(x_153); +x_156 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__7; +lean_inc(x_154); +x_157 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_157, 0, x_154); +lean_ctor_set(x_157, 1, x_156); +x_158 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__11; +x_159 = l_Lean_addMacroScope(x_148, x_158, x_143); +x_160 = lean_box(0); +x_161 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__10; +lean_inc(x_154); +x_162 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_162, 0, x_154); +lean_ctor_set(x_162, 1, x_161); +lean_ctor_set(x_162, 2, x_159); +lean_ctor_set(x_162, 3, x_160); +x_163 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__12; +x_164 = lean_array_push(x_163, x_157); +x_165 = lean_array_push(x_164, x_162); +x_166 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_166, 0, x_154); +lean_ctor_set(x_166, 1, x_40); +lean_ctor_set(x_166, 2, x_165); +x_167 = l_Lean_Syntax_getArg(x_166, x_36); lean_inc(x_13); -x_167 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_13, x_154); -x_168 = lean_ctor_get(x_167, 0); -lean_inc(x_168); -x_169 = lean_ctor_get(x_167, 1); +x_168 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_13, x_155); +x_169 = lean_ctor_get(x_168, 0); lean_inc(x_169); -lean_dec(x_167); -x_170 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__13; +x_170 = lean_ctor_get(x_168, 1); +lean_inc(x_170); +lean_dec(x_168); +x_171 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__13; lean_inc(x_5); -x_171 = l_Lean_Name_str___override(x_5, x_170); -x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__14; -lean_inc(x_171); -x_173 = l_Lean_Name_str___override(x_171, x_172); -lean_inc(x_168); -x_174 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_174, 0, x_168); -lean_ctor_set(x_174, 1, x_172); -x_175 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__15; -lean_inc(x_171); -x_176 = l_Lean_Name_str___override(x_171, x_175); -x_177 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__16; +x_172 = l_Lean_Name_str___override(x_5, x_171); +x_173 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__14; +lean_inc(x_172); +x_174 = l_Lean_Name_str___override(x_172, x_173); +lean_inc(x_169); +x_175 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_175, 0, x_169); +lean_ctor_set(x_175, 1, x_173); +x_176 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__15; +lean_inc(x_172); +x_177 = l_Lean_Name_str___override(x_172, x_176); +x_178 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__16; lean_inc(x_4); -x_178 = l_Lean_Name_str___override(x_4, x_177); -x_179 = lean_array_push(x_31, x_166); -lean_inc(x_168); -x_180 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_180, 0, x_168); -lean_ctor_set(x_180, 1, x_178); -lean_ctor_set(x_180, 2, x_179); -lean_inc(x_3); -lean_inc(x_168); +x_179 = l_Lean_Name_str___override(x_4, x_178); +x_180 = lean_array_push(x_31, x_167); +lean_inc(x_169); x_181 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_181, 0, x_168); -lean_ctor_set(x_181, 1, x_34); -lean_ctor_set(x_181, 2, x_3); -x_182 = lean_array_push(x_162, x_180); -lean_inc(x_181); -x_183 = lean_array_push(x_182, x_181); -lean_inc(x_168); -x_184 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_184, 0, x_168); -lean_ctor_set(x_184, 1, x_176); -lean_ctor_set(x_184, 2, x_183); -x_185 = lean_array_push(x_31, x_184); -lean_inc(x_168); -x_186 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_186, 0, x_168); -lean_ctor_set(x_186, 1, x_34); -lean_ctor_set(x_186, 2, x_185); -x_187 = lean_unsigned_to_nat(2u); -x_188 = l_Lean_Syntax_getArg(x_37, x_187); -lean_inc(x_188); -x_189 = l_Lean_SourceInfo_fromRef(x_188); -x_190 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__17; -x_191 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_191, 0, x_189); -lean_ctor_set(x_191, 1, x_190); -x_192 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__18; -lean_inc(x_171); -x_193 = l_Lean_Name_str___override(x_171, x_192); -x_194 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__19; -lean_inc(x_171); -x_195 = l_Lean_Name_str___override(x_171, x_194); -x_196 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__20; -lean_inc(x_171); -x_197 = l_Lean_Name_str___override(x_171, x_196); -x_198 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__21; -lean_inc(x_168); -x_199 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_199, 0, x_168); -lean_ctor_set(x_199, 1, x_198); -x_200 = lean_unsigned_to_nat(0u); -x_201 = l_Lean_Syntax_getArg(x_37, x_200); -x_202 = lean_array_push(x_162, x_201); -x_203 = lean_array_push(x_202, x_188); -x_204 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_204, 0, x_33); -lean_ctor_set(x_204, 1, x_34); -lean_ctor_set(x_204, 2, x_203); -x_205 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__22; -x_206 = l_Lean_Name_str___override(x_171, x_205); -lean_inc(x_168); -x_207 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_207, 0, x_168); -lean_ctor_set(x_207, 1, x_205); -x_208 = lean_array_push(x_31, x_207); -lean_inc(x_168); -x_209 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_209, 0, x_168); -lean_ctor_set(x_209, 1, x_206); -lean_ctor_set(x_209, 2, x_208); -x_210 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__23; -x_211 = lean_array_push(x_210, x_199); -x_212 = lean_array_push(x_211, x_204); -x_213 = lean_array_push(x_212, x_209); -lean_inc(x_168); -x_214 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_214, 0, x_168); -lean_ctor_set(x_214, 1, x_197); -lean_ctor_set(x_214, 2, x_213); -x_215 = lean_array_push(x_210, x_214); -x_216 = lean_array_push(x_215, x_181); +lean_ctor_set(x_181, 0, x_169); +lean_ctor_set(x_181, 1, x_179); +lean_ctor_set(x_181, 2, x_180); +lean_inc(x_3); +lean_inc(x_169); +x_182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_182, 0, x_169); +lean_ctor_set(x_182, 1, x_34); +lean_ctor_set(x_182, 2, x_3); +x_183 = lean_array_push(x_163, x_181); +lean_inc(x_182); +x_184 = lean_array_push(x_183, x_182); +lean_inc(x_169); +x_185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_185, 0, x_169); +lean_ctor_set(x_185, 1, x_177); +lean_ctor_set(x_185, 2, x_184); +x_186 = lean_array_push(x_31, x_185); +lean_inc(x_169); +x_187 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_187, 0, x_169); +lean_ctor_set(x_187, 1, x_34); +lean_ctor_set(x_187, 2, x_186); +x_188 = lean_unsigned_to_nat(2u); +x_189 = l_Lean_Syntax_getArg(x_37, x_188); +x_190 = 0; +lean_inc(x_189); +x_191 = l_Lean_SourceInfo_fromRef(x_189, x_190); +x_192 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__17; +x_193 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_193, 0, x_191); +lean_ctor_set(x_193, 1, x_192); +x_194 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__18; +lean_inc(x_172); +x_195 = l_Lean_Name_str___override(x_172, x_194); +x_196 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__19; +lean_inc(x_172); +x_197 = l_Lean_Name_str___override(x_172, x_196); +x_198 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__20; +lean_inc(x_172); +x_199 = l_Lean_Name_str___override(x_172, x_198); +x_200 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__21; +lean_inc(x_169); +x_201 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_201, 0, x_169); +lean_ctor_set(x_201, 1, x_200); +x_202 = lean_unsigned_to_nat(0u); +x_203 = l_Lean_Syntax_getArg(x_37, x_202); +x_204 = lean_array_push(x_163, x_203); +x_205 = lean_array_push(x_204, x_189); +x_206 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_206, 0, x_33); +lean_ctor_set(x_206, 1, x_34); +lean_ctor_set(x_206, 2, x_205); +x_207 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__22; +x_208 = l_Lean_Name_str___override(x_172, x_207); +lean_inc(x_169); +x_209 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_209, 0, x_169); +lean_ctor_set(x_209, 1, x_207); +x_210 = lean_array_push(x_31, x_209); +lean_inc(x_169); +x_211 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_211, 0, x_169); +lean_ctor_set(x_211, 1, x_208); +lean_ctor_set(x_211, 2, x_210); +x_212 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__23; +x_213 = lean_array_push(x_212, x_201); +x_214 = lean_array_push(x_213, x_206); +x_215 = lean_array_push(x_214, x_211); +lean_inc(x_169); +x_216 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_216, 0, x_169); +lean_ctor_set(x_216, 1, x_199); +lean_ctor_set(x_216, 2, x_215); +x_217 = lean_array_push(x_212, x_216); +x_218 = lean_array_push(x_217, x_182); lean_inc(x_8); -x_217 = lean_array_push(x_216, x_8); -lean_inc(x_168); -x_218 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_218, 0, x_168); -lean_ctor_set(x_218, 1, x_34); -lean_ctor_set(x_218, 2, x_217); -x_219 = lean_array_push(x_31, x_218); -lean_inc(x_168); +x_219 = lean_array_push(x_218, x_8); +lean_inc(x_169); x_220 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_220, 0, x_168); -lean_ctor_set(x_220, 1, x_195); +lean_ctor_set(x_220, 0, x_169); +lean_ctor_set(x_220, 1, x_34); lean_ctor_set(x_220, 2, x_219); x_221 = lean_array_push(x_31, x_220); -lean_inc(x_168); +lean_inc(x_169); x_222 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_222, 0, x_168); -lean_ctor_set(x_222, 1, x_193); +lean_ctor_set(x_222, 0, x_169); +lean_ctor_set(x_222, 1, x_197); lean_ctor_set(x_222, 2, x_221); -x_223 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__24; -x_224 = lean_array_push(x_223, x_174); -x_225 = lean_array_push(x_224, x_186); -x_226 = lean_array_push(x_225, x_191); -x_227 = lean_array_push(x_226, x_222); -x_228 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_228, 0, x_168); -lean_ctor_set(x_228, 1, x_173); -lean_ctor_set(x_228, 2, x_227); -x_229 = lean_array_push(x_29, x_228); -x_230 = lean_unsigned_to_nat(3u); -x_231 = l_Lean_Syntax_setArg(x_37, x_230, x_165); -x_232 = lean_box(0); +x_223 = lean_array_push(x_31, x_222); +lean_inc(x_169); +x_224 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_224, 0, x_169); +lean_ctor_set(x_224, 1, x_195); +lean_ctor_set(x_224, 2, x_223); +x_225 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__24; +x_226 = lean_array_push(x_225, x_175); +x_227 = lean_array_push(x_226, x_187); +x_228 = lean_array_push(x_227, x_193); +x_229 = lean_array_push(x_228, x_224); +x_230 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_230, 0, x_169); +lean_ctor_set(x_230, 1, x_174); +lean_ctor_set(x_230, 2, x_229); +x_231 = lean_array_push(x_29, x_230); +x_232 = lean_unsigned_to_nat(3u); +x_233 = l_Lean_Syntax_setArg(x_37, x_232, x_166); +x_234 = lean_box(0); lean_inc(x_13); -x_233 = lean_apply_7(x_38, x_231, x_27, x_229, x_30, x_232, x_13, x_169); -if (lean_obj_tag(x_233) == 0) +x_235 = lean_apply_7(x_38, x_233, x_27, x_231, x_30, x_234, x_13, x_170); +if (lean_obj_tag(x_235) == 0) { -lean_object* x_234; lean_object* x_235; -x_234 = lean_ctor_get(x_233, 0); -lean_inc(x_234); -x_235 = lean_ctor_get(x_233, 1); -lean_inc(x_235); -lean_dec(x_233); -x_15 = x_234; -x_16 = x_235; +lean_object* x_236; lean_object* x_237; +x_236 = lean_ctor_get(x_235, 0); +lean_inc(x_236); +x_237 = lean_ctor_get(x_235, 1); +lean_inc(x_237); +lean_dec(x_235); +x_15 = x_236; +x_16 = x_237; goto block_23; } else { -lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; +lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); @@ -918,212 +920,162 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_236 = lean_ctor_get(x_233, 0); -lean_inc(x_236); -x_237 = lean_ctor_get(x_233, 1); -lean_inc(x_237); -if (lean_is_exclusive(x_233)) { - lean_ctor_release(x_233, 0); - lean_ctor_release(x_233, 1); - x_238 = x_233; +x_238 = lean_ctor_get(x_235, 0); +lean_inc(x_238); +x_239 = lean_ctor_get(x_235, 1); +lean_inc(x_239); +if (lean_is_exclusive(x_235)) { + lean_ctor_release(x_235, 0); + lean_ctor_release(x_235, 1); + x_240 = x_235; } else { - lean_dec_ref(x_233); - x_238 = lean_box(0); + lean_dec_ref(x_235); + x_240 = lean_box(0); } -if (lean_is_scalar(x_238)) { - x_239 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_240)) { + x_241 = lean_alloc_ctor(1, 2, 0); } else { - x_239 = x_238; + x_241 = x_240; } -lean_ctor_set(x_239, 0, x_236); -lean_ctor_set(x_239, 1, x_237); -return x_239; +lean_ctor_set(x_241, 0, x_238); +lean_ctor_set(x_241, 1, x_239); +return x_241; } } } else { -lean_object* x_240; uint8_t x_241; -x_240 = lean_array_get_size(x_2); -x_241 = lean_nat_dec_lt(x_36, x_240); -lean_dec(x_240); -if (x_241 == 0) +lean_object* x_242; uint8_t x_243; +x_242 = lean_array_get_size(x_2); +x_243 = lean_nat_dec_lt(x_36, x_242); +lean_dec(x_242); +if (x_243 == 0) { -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; +uint8_t x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; +x_244 = 0; lean_inc(x_1); lean_inc(x_8); -x_242 = l_Lean_mkIdentFrom(x_8, x_1); +x_245 = l_Lean_mkIdentFrom(x_8, x_1, x_244); lean_inc(x_13); -x_243 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_13, x_14); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -x_245 = lean_ctor_get(x_243, 1); -lean_inc(x_245); -lean_dec(x_243); -x_246 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__7; -lean_inc(x_244); -x_247 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_247, 0, x_244); -lean_ctor_set(x_247, 1, x_246); -x_248 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__12; -x_249 = lean_array_push(x_248, x_247); -x_250 = lean_array_push(x_249, x_242); -x_251 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_251, 0, x_244); -lean_ctor_set(x_251, 1, x_40); -lean_ctor_set(x_251, 2, x_250); -x_252 = lean_nat_add(x_30, x_36); +x_246 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_13, x_14); +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_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__7; +lean_inc(x_247); +x_250 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_250, 0, x_247); +lean_ctor_set(x_250, 1, x_249); +x_251 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__12; +x_252 = lean_array_push(x_251, x_250); +x_253 = lean_array_push(x_252, x_245); +x_254 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_254, 0, x_247); +lean_ctor_set(x_254, 1, x_40); +lean_ctor_set(x_254, 2, x_253); +x_255 = lean_nat_add(x_30, x_36); lean_dec(x_30); -x_253 = lean_unsigned_to_nat(3u); -x_254 = l_Lean_Syntax_setArg(x_37, x_253, x_251); -x_255 = lean_box(0); +x_256 = lean_unsigned_to_nat(3u); +x_257 = l_Lean_Syntax_setArg(x_37, x_256, x_254); +x_258 = lean_box(0); lean_inc(x_13); -x_256 = lean_apply_7(x_38, x_254, x_27, x_29, x_252, x_255, x_13, x_245); -if (lean_obj_tag(x_256) == 0) +x_259 = lean_apply_7(x_38, x_257, x_27, x_29, x_255, x_258, x_13, x_248); +if (lean_obj_tag(x_259) == 0) { -lean_object* x_257; lean_object* x_258; -x_257 = lean_ctor_get(x_256, 0); -lean_inc(x_257); -x_258 = lean_ctor_get(x_256, 1); -lean_inc(x_258); -lean_dec(x_256); -x_15 = x_257; -x_16 = x_258; -goto block_23; -} -else -{ -uint8_t x_259; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_259 = !lean_is_exclusive(x_256); -if (x_259 == 0) -{ -return x_256; -} -else -{ -lean_object* x_260; lean_object* x_261; lean_object* x_262; -x_260 = lean_ctor_get(x_256, 0); -x_261 = lean_ctor_get(x_256, 1); -lean_inc(x_261); +lean_object* x_260; lean_object* x_261; +x_260 = lean_ctor_get(x_259, 0); lean_inc(x_260); -lean_dec(x_256); -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; +x_261 = lean_ctor_get(x_259, 1); +lean_inc(x_261); +lean_dec(x_259); +x_15 = x_260; +x_16 = x_261; +goto block_23; +} +else +{ +uint8_t x_262; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_262 = !lean_is_exclusive(x_259); +if (x_262 == 0) +{ +return x_259; +} +else +{ +lean_object* x_263; lean_object* x_264; lean_object* x_265; +x_263 = lean_ctor_get(x_259, 0); +x_264 = lean_ctor_get(x_259, 1); +lean_inc(x_264); +lean_inc(x_263); +lean_dec(x_259); +x_265 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_265, 0, x_263); +lean_ctor_set(x_265, 1, x_264); +return x_265; } } } else { -lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; -x_263 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__26; +lean_object* x_266; lean_object* x_267; lean_object* x_268; uint8_t x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; +x_266 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__26; lean_inc(x_30); -x_264 = lean_name_append_index_after(x_263, x_30); -x_265 = l_Lean_Name_append(x_1, x_264); +x_267 = lean_name_append_index_after(x_266, x_30); +x_268 = l_Lean_Name_append(x_1, x_267); +x_269 = 0; lean_inc(x_8); -x_266 = l_Lean_mkIdentFrom(x_8, x_265); +x_270 = l_Lean_mkIdentFrom(x_8, x_268, x_269); lean_inc(x_13); -x_267 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_13, x_14); -x_268 = lean_ctor_get(x_267, 0); -lean_inc(x_268); -x_269 = lean_ctor_get(x_267, 1); -lean_inc(x_269); -lean_dec(x_267); -x_270 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__7; -lean_inc(x_268); -x_271 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_271, 0, x_268); -lean_ctor_set(x_271, 1, x_270); -x_272 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__12; -x_273 = lean_array_push(x_272, x_271); -x_274 = lean_array_push(x_273, x_266); -x_275 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_275, 0, x_268); -lean_ctor_set(x_275, 1, x_40); -lean_ctor_set(x_275, 2, x_274); -x_276 = lean_nat_add(x_30, x_36); +x_271 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_13, x_14); +x_272 = lean_ctor_get(x_271, 0); +lean_inc(x_272); +x_273 = lean_ctor_get(x_271, 1); +lean_inc(x_273); +lean_dec(x_271); +x_274 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__7; +lean_inc(x_272); +x_275 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_275, 0, x_272); +lean_ctor_set(x_275, 1, x_274); +x_276 = l_Array_forInUnsafe_loop___at___private_Lean_Elab_Tactic_Match_0__Lean_Elab_Tactic_mkAuxiliaryMatchTerm___spec__1___closed__12; +x_277 = lean_array_push(x_276, x_275); +x_278 = lean_array_push(x_277, x_270); +x_279 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_279, 0, x_272); +lean_ctor_set(x_279, 1, x_40); +lean_ctor_set(x_279, 2, x_278); +x_280 = lean_nat_add(x_30, x_36); lean_dec(x_30); -x_277 = lean_unsigned_to_nat(3u); -x_278 = l_Lean_Syntax_setArg(x_37, x_277, x_275); -x_279 = lean_box(0); +x_281 = lean_unsigned_to_nat(3u); +x_282 = l_Lean_Syntax_setArg(x_37, x_281, x_279); +x_283 = lean_box(0); lean_inc(x_13); -x_280 = lean_apply_7(x_38, x_278, x_27, x_29, x_276, x_279, x_13, x_269); -if (lean_obj_tag(x_280) == 0) +x_284 = lean_apply_7(x_38, x_282, x_27, x_29, x_280, x_283, x_13, x_273); +if (lean_obj_tag(x_284) == 0) { -lean_object* x_281; lean_object* x_282; -x_281 = lean_ctor_get(x_280, 0); -lean_inc(x_281); -x_282 = lean_ctor_get(x_280, 1); -lean_inc(x_282); -lean_dec(x_280); -x_15 = x_281; -x_16 = x_282; -goto block_23; -} -else -{ -uint8_t x_283; -lean_dec(x_13); -lean_dec(x_8); -lean_dec(x_7); -lean_dec(x_6); -lean_dec(x_5); -lean_dec(x_4); -lean_dec(x_3); -lean_dec(x_1); -x_283 = !lean_is_exclusive(x_280); -if (x_283 == 0) -{ -return x_280; -} -else -{ -lean_object* x_284; lean_object* x_285; lean_object* x_286; -x_284 = lean_ctor_get(x_280, 0); -x_285 = lean_ctor_get(x_280, 1); +lean_object* x_285; lean_object* x_286; +x_285 = lean_ctor_get(x_284, 0); lean_inc(x_285); -lean_inc(x_284); -lean_dec(x_280); -x_286 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_286, 0, x_284); -lean_ctor_set(x_286, 1, x_285); -return x_286; -} -} -} -} -} -else -{ -lean_object* x_287; lean_object* x_288; -lean_dec(x_40); -x_287 = lean_box(0); -lean_inc(x_13); -x_288 = lean_apply_7(x_38, x_37, x_27, x_29, x_30, x_287, x_13, x_14); -if (lean_obj_tag(x_288) == 0) -{ -lean_object* x_289; lean_object* x_290; -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -x_290 = lean_ctor_get(x_288, 1); -lean_inc(x_290); -lean_dec(x_288); -x_15 = x_289; -x_16 = x_290; +x_286 = lean_ctor_get(x_284, 1); +lean_inc(x_286); +lean_dec(x_284); +x_15 = x_285; +x_16 = x_286; goto block_23; } else { -uint8_t x_291; +uint8_t x_287; lean_dec(x_13); lean_dec(x_8); lean_dec(x_7); @@ -1132,23 +1084,75 @@ lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -x_291 = !lean_is_exclusive(x_288); -if (x_291 == 0) +x_287 = !lean_is_exclusive(x_284); +if (x_287 == 0) { -return x_288; +return x_284; } else { -lean_object* x_292; lean_object* x_293; lean_object* x_294; -x_292 = lean_ctor_get(x_288, 0); -x_293 = lean_ctor_get(x_288, 1); +lean_object* x_288; lean_object* x_289; lean_object* x_290; +x_288 = lean_ctor_get(x_284, 0); +x_289 = lean_ctor_get(x_284, 1); +lean_inc(x_289); +lean_inc(x_288); +lean_dec(x_284); +x_290 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_290, 0, x_288); +lean_ctor_set(x_290, 1, x_289); +return x_290; +} +} +} +} +} +else +{ +lean_object* x_291; lean_object* x_292; +lean_dec(x_40); +x_291 = lean_box(0); +lean_inc(x_13); +x_292 = lean_apply_7(x_38, x_37, x_27, x_29, x_30, x_291, x_13, x_14); +if (lean_obj_tag(x_292) == 0) +{ +lean_object* x_293; lean_object* x_294; +x_293 = lean_ctor_get(x_292, 0); lean_inc(x_293); -lean_inc(x_292); -lean_dec(x_288); -x_294 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_294, 0, x_292); -lean_ctor_set(x_294, 1, x_293); -return x_294; +x_294 = lean_ctor_get(x_292, 1); +lean_inc(x_294); +lean_dec(x_292); +x_15 = x_293; +x_16 = x_294; +goto block_23; +} +else +{ +uint8_t x_295; +lean_dec(x_13); +lean_dec(x_8); +lean_dec(x_7); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_4); +lean_dec(x_3); +lean_dec(x_1); +x_295 = !lean_is_exclusive(x_292); +if (x_295 == 0) +{ +return x_292; +} +else +{ +lean_object* x_296; lean_object* x_297; lean_object* x_298; +x_296 = lean_ctor_get(x_292, 0); +x_297 = lean_ctor_get(x_292, 1); +lean_inc(x_297); +lean_inc(x_296); +lean_dec(x_292); +x_298 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_298, 0, x_296); +lean_ctor_set(x_298, 1, x_297); +return x_298; } } } @@ -2539,15 +2543,16 @@ return x_77; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__6___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_evalMatch___spec__6(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6) { diff --git a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c index b3e9eb98b3..535b39fe19 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Rewrite.c @@ -52,7 +52,7 @@ LEAN_EXPORT lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRule static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalRewriteSeq___closed__10; lean_object* lean_st_ref_get(lean_object*, lean_object*); static lean_object* l_Lean_Elab_Tactic_withRWRulesSeq___closed__4; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabRewriteConfig___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Std_Range_forIn_loop___at_Lean_Elab_Tactic_withRWRulesSeq___spec__10___closed__4; lean_object* lean_array_push(lean_object*, lean_object*); @@ -1007,23 +1007,24 @@ return x_20; } else { -lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; +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; lean_object* x_28; lean_object* x_29; lean_object* x_30; x_21 = lean_ctor_get(x_5, 0); lean_inc(x_21); x_22 = lean_ctor_get(x_5, 1); lean_inc(x_22); lean_dec(x_5); +x_23 = 0; lean_inc(x_3); -x_23 = l_Lean_mkIdentFrom(x_3, x_21); -x_24 = lean_box(x_2); +x_24 = l_Lean_mkIdentFrom(x_3, x_21, x_23); +x_25 = lean_box(x_2); lean_inc(x_1); -x_25 = lean_apply_2(x_1, x_24, x_23); -x_26 = l_Lean_Elab_Tactic_saveState___rarg(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); -x_27 = lean_ctor_get(x_26, 0); -lean_inc(x_27); -x_28 = lean_ctor_get(x_26, 1); +x_26 = lean_apply_2(x_1, x_25, x_24); +x_27 = l_Lean_Elab_Tactic_saveState___rarg(x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14); +x_28 = lean_ctor_get(x_27, 0); lean_inc(x_28); -lean_dec(x_26); +x_29 = lean_ctor_get(x_27, 1); +lean_inc(x_29); +lean_dec(x_27); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); @@ -1032,10 +1033,10 @@ lean_inc(x_9); lean_inc(x_8); lean_inc(x_7); lean_inc(x_6); -x_29 = l_Lean_Elab_Tactic_withoutRecover___rarg(x_25, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_28); -if (lean_obj_tag(x_29) == 0) +x_30 = l_Lean_Elab_Tactic_withoutRecover___rarg(x_26, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_29); +if (lean_obj_tag(x_30) == 0) { -lean_dec(x_27); +lean_dec(x_28); lean_dec(x_22); lean_dec(x_13); lean_dec(x_12); @@ -1048,22 +1049,21 @@ lean_dec(x_6); lean_dec(x_4); lean_dec(x_3); lean_dec(x_1); -return x_29; +return x_30; } else { -lean_object* x_30; uint8_t x_31; lean_object* x_32; lean_object* x_33; -x_30 = lean_ctor_get(x_29, 1); -lean_inc(x_30); -lean_dec(x_29); -x_31 = 0; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_30, 1); +lean_inc(x_31); +lean_dec(x_30); lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); lean_inc(x_9); lean_inc(x_8); -x_32 = l_Lean_Elab_Tactic_SavedState_restore(x_27, x_31, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_30); +x_32 = l_Lean_Elab_Tactic_SavedState_restore(x_28, x_23, x_6, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_31); x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); diff --git a/stage0/stdlib/Lean/Elab/Tactic/Simp.c b/stage0/stdlib/Lean/Elab/Tactic/Simp.c index ee4274809b..71eb39f688 100644 --- a/stage0/stdlib/Lean/Elab/Tactic/Simp.c +++ b/stage0/stdlib/Lean/Elab/Tactic/Simp.c @@ -69,7 +69,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Tactic_evalUnsafe____x40_Lean_Elab_Tactic_S LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__10(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Tactic_elabSimpArgs___spec__16___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_resolveGlobalConstNoOverloadWithInfo___at_Lean_Elab_Tactic_elabSimpArgs___spec__3___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_traceSimpCall___spec__10___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages___at_Lean_Elab_Tactic_elabSimpConfigCore___spec__12(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll___closed__3; @@ -115,7 +115,7 @@ static lean_object* l___regBuiltin_Lean_Elab_Tactic_evalSimpAll_declRange___clos LEAN_EXPORT lean_object* l___private_Lean_Elab_Tactic_Simp_0__Lean_Elab_Tactic_addDeclToUnfoldOrTheorem(lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_SimpTheorems_add(lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_MVarId_getNondepPropHyps(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_findFromUserName_x3f(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_resolveGlobalConst___at_Lean_Elab_Tactic_elabSimpArgs___spec__5(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2893,15 +2893,16 @@ return x_1; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_tacticToDischarge___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_tacticToDischarge___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) { @@ -11671,15 +11672,16 @@ return x_11; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_traceSimpCall___spec__10___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Tactic_traceSimpCall___spec__10(lean_object* x_1, lean_object* x_2) { @@ -12002,7 +12004,7 @@ if (x_95 == 0) lean_object* x_96; lean_object* x_97; lean_inc(x_94); lean_inc(x_1); -x_96 = lean_local_ctx_find_from_user_name(x_1, x_94); +x_96 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_94); x_97 = l_Lean_LocalDecl_fvarId(x_91); lean_dec(x_91); if (lean_obj_tag(x_96) == 0) @@ -12152,7 +12154,7 @@ if (x_126 == 0) lean_object* x_127; lean_object* x_128; lean_inc(x_125); lean_inc(x_1); -x_127 = lean_local_ctx_find_from_user_name(x_1, x_125); +x_127 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_125); x_128 = l_Lean_LocalDecl_fvarId(x_91); lean_dec(x_91); if (lean_obj_tag(x_127) == 0) @@ -12324,7 +12326,7 @@ if (x_162 == 0) lean_object* x_163; lean_object* x_164; lean_inc(x_161); lean_inc(x_1); -x_163 = lean_local_ctx_find_from_user_name(x_1, x_161); +x_163 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_161); x_164 = l_Lean_LocalDecl_fvarId(x_158); lean_dec(x_158); if (lean_obj_tag(x_163) == 0) diff --git a/stage0/stdlib/Lean/Elab/Term.c b/stage0/stdlib/Lean/Elab/Term.c index bf63bc5949..a96b13ef12 100644 --- a/stage0/stdlib/Lean/Elab/Term.c +++ b/stage0/stdlib/Lean/Elab/Term.c @@ -24,6 +24,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_withoutModifyingStateWithInfoAndMessages(le LEAN_EXPORT lean_object* l_Lean_Elab_ContextInfo_save___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__10; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMonadMacroAdapterTermElabM; +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__1; static lean_object* l_Lean_Elab_throwAutoBoundImplicitLocal___at_Lean_Elab_Term_resolveName_process___spec__1___closed__1; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -33,7 +34,6 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___la LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__50(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__10; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3; static lean_object* l_Lean_Elab_Term_synthesizeInstMVarCore___closed__1; lean_object* l_Lean_HashMap_insert___at_Lean_Meta_ToHide_visitVisibleExpr_visit___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -52,7 +52,6 @@ lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit(lean_ static lean_object* l_Lean_Elab_Term_instMonadBacktrackSavedStateTermElabM___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabUsingElabFnsAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__32___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__1; static lean_object* l_Lean_Elab_throwAbortTerm___at_Lean_Elab_Term_throwMVarError___spec__2___rarg___closed__1; lean_object* l_Lean_Expr_mvarId_x21(lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__12; @@ -60,6 +59,7 @@ lean_object* lean_io_get_num_heartbeats(lean_object*); LEAN_EXPORT lean_object* l_Lean_MVarId_isAssigned___at_Lean_Elab_Term_synthesizeInstMVarCore___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Elab_Term_withAuxDecl___spec__2(lean_object*, lean_object*, lean_object*); lean_object* l_List_tail_x21___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__3; lean_object* l_Lean_Meta_mkFreshLevelMVar(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instantiateMVars___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__7(lean_object*, lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); @@ -70,6 +70,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfNoErrors_x3f(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___closed__3; LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_resolveLocalName___spec__8(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__2; static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__2; lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addTermInfo_x27___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -101,7 +102,6 @@ lean_object* l_Lean_LocalDecl_userName(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_autoLift; static lean_object* l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__5; LEAN_EXPORT lean_object* l_Lean_RBNode_forIn_visit___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__6(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_whnfForall(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorInfo___closed__1; @@ -164,7 +164,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at___private_Lean_Elab LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_logException___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__3___closed__2; LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_resolveLocalName___spec__5(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__1___closed__4; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__31(lean_object*, lean_object*, size_t, size_t); @@ -270,7 +270,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_saveState___rarg___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__7___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_throwMVarError___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_ensureNoUnassignedMVars(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); extern lean_object* l_Lean_Elab_abortCommandExceptionId; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_postponeElabTermCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock___closed__3; @@ -361,10 +361,9 @@ static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__19; LEAN_EXPORT lean_object* l_Lean_Elab_Term_postponeElabTerm(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkCoe___closed__2; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__6; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg(lean_object*, lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withLevelNames___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedTermElabM(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__4; LEAN_EXPORT lean_object* l_Lean_Elab_Term_State_pendingMVars___default; LEAN_EXPORT lean_object* l_Lean_Elab_Term_collectUnassignedMVars_go(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l___private_Lean_Message_0__Lean_beqMessageSeverity____x40_Lean_Message___hyg_103_(uint8_t, uint8_t); @@ -395,7 +394,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_registerMVarErrorInfo(lean_object*, le LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_decorateErrorMessageWithLambdaImplicitVars___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instInhabitedMVarErrorKind; static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__18; -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_isMonadApp___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -492,7 +491,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe(lean_object* static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__15; static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__16; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop___rarg___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__2; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTermEnsuringType(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_array_fget(lean_object*, lean_object*); @@ -504,6 +502,7 @@ lean_object* l_Lean_MapDeclarationExtension_insert___rarg(lean_object*, lean_obj LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_logUnassignedUsingErrorInfos___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__11(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_PersistentArray_toList___rarg(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__2; static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__6; static lean_object* l_Lean_Elab_checkNotAlreadyDeclared___at_Lean_Elab_Term_expandDeclId___spec__6___lambda__1___closed__3; uint8_t lean_nat_dec_eq(lean_object*, lean_object*); @@ -607,6 +606,7 @@ lean_object* l_Lean_Meta_expandCoe(lean_object*, lean_object*, lean_object*, lea static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__23; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__43___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_elabTerm(lean_object*, lean_object*, uint8_t, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkCoe(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_mkAnnotation(lean_object*, lean_object*); @@ -636,7 +636,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAu LEAN_EXPORT lean_object* l_Lean_Elab_Term_TermElabM_run_x27___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_foldlM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_Context_autoBoundImplicitForbidden___default___boxed(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__1; static lean_object* l_Array_forInUnsafe_loop___at_Lean_Elab_Term_expandDeclId___spec__4___closed__3; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__44(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__10(lean_object*, lean_object*, lean_object*); @@ -650,6 +649,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoe___closed static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__7; LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___lambda__6(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__6(lean_object*, lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__1; LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_resolveLocalName___spec__10(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__3(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Elab_Term_blockImplicitLambda(lean_object*); @@ -689,9 +689,9 @@ lean_object* l_Lean_Core_getMessageLog___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitApp___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__28(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_commitIfDidNotPostpone(lean_object*); lean_object* lean_st_mk_ref(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046_(lean_object*); LEAN_EXPORT lean_object* l_Lean_mkAuxName___at_Lean_Elab_Term_mkAuxName___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Elab_Term_setElabConfig(lean_object*); static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__14; @@ -802,14 +802,13 @@ static uint8_t l_Lean_Elab_Term_collectUnassignedMVars_go___closed__1; LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__8(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicitForbiddenPred(lean_object*); LEAN_EXPORT lean_object* l_liftExcept___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__7(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4; -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_insert___at_Lean_Elab_Term_registerMVarErrorInfo___spec__1(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*); LEAN_EXPORT lean_object* l_Lean_Elab_getResetInfoTrees___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__2___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__3; static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryCoeSort___closed__3; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_MessageData_hasSyntheticSorry(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_isMVarApp(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -826,6 +825,7 @@ lean_object* l_Lean_Expr_bvar___override(lean_object*); static lean_object* l_Lean_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__4; extern lean_object* l_Lean_Meta_instMonadMetaM; lean_object* l_Lean_ResolveName_resolveGlobalName(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3; uint8_t l_Lean_MacroScopesView_isSuffixOf(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_Elab_Term_resolveLocalName___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -853,6 +853,7 @@ static lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___closed__13; lean_object* l_Lean_Meta_SavedState_restore(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__1; extern lean_object* l_Lean_warningAsError; +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__30___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Elab_applyVisibility___at_Lean_Elab_Term_expandDeclId___spec__5___closed__1; lean_object* l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(lean_object*, lean_object*, lean_object*); @@ -946,7 +947,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName___lambda__4___boxed(lean_o LEAN_EXPORT lean_object* l_Lean_Elab_Term_withoutPostponing___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_getPos_x3f(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__27(lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__2; static lean_object* l_Lean_Elab_Term_isLetRecAuxMVar___closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM___rarg___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__17; @@ -1006,6 +1006,7 @@ lean_object* lean_environment_main_module(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwMaxRecDepthAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__11___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_mkTermElabAttributeUnsafe___closed__9; uint8_t lean_expr_eqv(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4; LEAN_EXPORT uint64_t l___private_Lean_Elab_Term_0__Lean_Elab_Tactic_hashCacheKey____x40_Lean_Elab_Term___hyg_697_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Elab_Term_addAutoBoundImplicits_x27___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_elabImplicitLambda_loop(lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1156,6 +1157,7 @@ lean_object* lean_st_ref_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Term_addTermInfo___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_observing___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Expr_isFVar(lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__1; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__26(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_instAddErrorMessageContextTermElabM___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1168,7 +1170,6 @@ static lean_object* l_Lean_Elab_Term_getFVarLocalDecl_x21___closed__3; static lean_object* l_List_foldl___at_Lean_Elab_Term_instAddErrorMessageContextTermElabM___spec__2___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_tryCoeThunk_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__9(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2; lean_object* l_Lean_addMessageContextFull___at_Lean_Meta_instAddMessageContextMetaM___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Meta_mkSyntheticSorry(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1186,7 +1187,6 @@ static lean_object* l_Lean_Elab_Term_mkExplicitBinder___closed__9; LEAN_EXPORT lean_object* l___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visit___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__18___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at_Lean_Elab_Term_resolveLocalName___spec__9(lean_object*, lean_object*); uint8_t l_Lean_Syntax_isNone(lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1; LEAN_EXPORT lean_object* l_Lean_logAt___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__4(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_infer_type(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_expandDeclId___spec__7(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1275,6 +1275,7 @@ static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_isTacticBlock__ lean_object* l_Lean_Meta_mkFreshTypeMVar(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_Term_MVarErrorInfo_logError___closed__10; +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_Term_withAutoBoundImplicit_loop(lean_object*); lean_object* l_ReaderT_instMonadReaderT___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Elab_Term_mkConst___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1293,7 +1294,7 @@ static lean_object* l_Lean_Elab_Tactic_instInhabitedSnapshot___closed__17; LEAN_EXPORT lean_object* l_ReaderT_pure___at_Lean_Elab_Term_addTermInfo___spec__1___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_throwErrorIfErrors(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_getDelayedMVarAssignment_x3f___at_Lean_Elab_Term_isLetRecAuxMVar___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994_(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_Term_addAutoBoundImplicits(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__9___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Elab_Term_0__Lean_Elab_Term_tryLiftAndCoe___closed__11; @@ -1326,6 +1327,7 @@ lean_object* l_Lean_PersistentArray_append___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_resetMessageLog(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Elab_Term_0__Lean_Elab_Term_withoutModifyingStateWithInfoAndMessagesImpl___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1; LEAN_EXPORT uint8_t l___private_Lean_Elab_Term_0__Lean_Elab_Term_isExplicitApp(lean_object*); LEAN_EXPORT lean_object* l_Lean_Elab_liftMacroM___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__1___lambda__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Core_setMessageLog(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1449,7 +1451,6 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveName_process(lean_object*, lean static lean_object* l_Lean_Elab_Term_expandDeclId___closed__2; lean_object* l_Lean_Meta_isType(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_SepArray_getElems___spec__1(lean_object*, size_t, size_t, lean_object*); -static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__3; LEAN_EXPORT lean_object* l_Lean_Elab_Term_applyAttributesAt___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Elab_Term_instMetaEvalTermElabM(lean_object*); @@ -1490,6 +1491,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_resolveLocalName___lambda__1___boxed(l LEAN_EXPORT lean_object* l_Lean_Elab_withSaveInfoContext___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___rarg___closed__2; uint8_t lean_nat_dec_lt(lean_object*, lean_object*); +static lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__2; LEAN_EXPORT lean_object* l_Lean_Elab_throwUnsupportedSyntax___at___private_Lean_Elab_Term_0__Lean_Elab_Term_elabTermAux___spec__6___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_checkDeprecated___at___private_Lean_Elab_Term_0__Lean_Elab_Term_mkConsts___spec__1___closed__11; LEAN_EXPORT lean_object* l_Lean_localDeclDependsOn___at_Lean_Elab_Term_addAutoBoundImplicits_go___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -21930,44 +21932,66 @@ x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshBinderName___rarg), 2, return x_2; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1(lean_object* x_1, lean_object* x_2, uint8_t x_3, lean_object* x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 0); -lean_inc(x_4); -lean_dec(x_1); -x_5 = lean_ctor_get(x_4, 1); +lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; +x_5 = lean_ctor_get(x_1, 0); lean_inc(x_5); -lean_dec(x_4); -x_6 = l_Lean_mkIdentFrom(x_2, x_3); -x_7 = lean_apply_2(x_5, lean_box(0), x_6); -return x_7; +lean_dec(x_1); +x_6 = lean_ctor_get(x_5, 1); +lean_inc(x_6); +lean_dec(x_5); +x_7 = l_Lean_mkIdentFrom(x_2, x_4, x_3); +x_8 = lean_apply_2(x_6, lean_box(0), x_7); +return x_8; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3, uint8_t x_4) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; -x_4 = lean_ctor_get(x_1, 1); -lean_inc(x_4); +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_1, 1); +lean_inc(x_5); lean_inc(x_1); -x_5 = l_Lean_Elab_Term_mkFreshBinderName___rarg(x_1, x_2); -x_6 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1), 3, 2); -lean_closure_set(x_6, 0, x_1); -lean_closure_set(x_6, 1, x_3); -x_7 = lean_apply_4(x_4, lean_box(0), lean_box(0), x_5, x_6); -return x_7; +x_6 = l_Lean_Elab_Term_mkFreshBinderName___rarg(x_1, x_2); +x_7 = lean_box(x_4); +x_8 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1___boxed), 4, 3); +lean_closure_set(x_8, 0, x_1); +lean_closure_set(x_8, 1, x_3); +lean_closure_set(x_8, 2, x_7); +x_9 = lean_apply_4(x_5, lean_box(0), lean_box(0), x_6, x_8); +return x_9; } } LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshIdent___rarg), 3, 0); +x_2 = lean_alloc_closure((void*)(l_Lean_Elab_Term_mkFreshIdent___rarg___boxed), 4, 0); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; lean_object* x_6; +x_5 = lean_unbox(x_3); +lean_dec(x_3); +x_6 = l_Lean_Elab_Term_mkFreshIdent___rarg___lambda__1(x_1, x_2, x_5, x_4); +return x_6; +} +} +LEAN_EXPORT lean_object* l_Lean_Elab_Term_mkFreshIdent___rarg___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_Lean_Elab_Term_mkFreshIdent___rarg(x_1, x_2, x_3, x_5); +return x_6; +} +} LEAN_EXPORT lean_object* l_Lean_throwError___at___private_Lean_Elab_Term_0__Lean_Elab_Term_applyAttributesCore___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { _start: { @@ -27321,7 +27345,7 @@ lean_dec(x_3); return x_12; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1() { _start: { lean_object* x_1; @@ -27329,17 +27353,17 @@ x_1 = lean_mk_string_from_bytes("autoLift", 8); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3() { _start: { lean_object* x_1; @@ -27347,13 +27371,13 @@ x_1 = lean_mk_string_from_bytes("insert monadic lifts (i.e., `liftM` and coercio return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; x_1 = 1; x_2 = l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___rarg___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3; x_4 = lean_box(x_1); x_5 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_5, 0, x_4); @@ -27362,17 +27386,17 @@ lean_ctor_set(x_5, 2, x_3); return x_5; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4; x_4 = l_Lean_Option_register___at_Lean_Elab_initFn____x40_Lean_Elab_AutoBound___hyg_7____spec__1(x_2, x_3, x_1); return x_4; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__1() { _start: { lean_object* x_1; @@ -27380,17 +27404,17 @@ x_1 = lean_mk_string_from_bytes("maxCoeSize", 10); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__3() { _start: { lean_object* x_1; @@ -27398,13 +27422,13 @@ x_1 = lean_mk_string_from_bytes("maximum number of instances used to construct a return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; x_1 = lean_unsigned_to_nat(16u); x_2 = l_Lean_Elab_ContextInfo_saveNoFileMap___at_Lean_Elab_Term_withoutModifyingElabMetaStateWithInfo___spec__4___rarg___closed__1; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__3; x_4 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_4, 0, x_1); lean_ctor_set(x_4, 1, x_2); @@ -27412,12 +27436,12 @@ lean_ctor_set(x_4, 2, x_3); return x_4; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2; -x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__2; +x_3 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__4; x_4 = l_Lean_Option_register___at_Lean_initFn____x40_Lean_Util_RecDepth___hyg_6____spec__1(x_2, x_3, x_1); return x_4; } @@ -51718,7 +51742,7 @@ lean_dec(x_3); return x_10; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__1() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__1() { _start: { lean_object* x_1; @@ -51726,21 +51750,21 @@ x_1 = lean_mk_string_from_bytes("letrec", 6); return x_1; } } -static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__2() { +static lean_object* _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__1; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; -x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__2; +x_2 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__2; x_3 = 0; x_4 = l_Lean_registerTraceClass(x_2, x_3, x_1); return x_4; @@ -52098,7 +52122,7 @@ LEAN_EXPORT lean_object* l_Lean_Elab_Term_isLetRecAuxMVar(lean_object* x_1, lean _start: { lean_object* x_9; lean_object* x_10; lean_object* x_11; uint8_t x_12; -x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__2; +x_9 = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__2; x_10 = l_Lean_isTracingEnabledFor___at_Lean_Elab_Term_traceAtCmdPos___spec__1(x_9, x_2, x_3, x_4, x_5, x_6, x_7, x_8); x_11 = lean_ctor_get(x_10, 0); lean_inc(x_11); @@ -63321,15 +63345,16 @@ return x_13; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Elab_Term_exprToSyntax___spec__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { @@ -63834,7 +63859,7 @@ x_3 = lean_alloc_closure((void*)(l_Lean_Elab_withoutModifyingStateWithInfoAndMes return x_3; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__1() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__1() { _start: { lean_object* x_1; @@ -63842,17 +63867,17 @@ x_1 = lean_mk_string_from_bytes("debug", 5); return x_1; } } -static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__2() { +static lean_object* _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Elab_Term_MVarErrorInfo_logError___closed__12; -x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__1; +x_2 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -63873,7 +63898,7 @@ lean_object* x_8; lean_object* x_9; lean_object* x_10; x_8 = lean_ctor_get(x_7, 1); lean_inc(x_8); lean_dec(x_7); -x_9 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__2; +x_9 = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__2; x_10 = l_Lean_registerTraceClass(x_9, x_3, x_8); return x_10; } @@ -64378,28 +64403,28 @@ l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4 = _init_l_Lean_Elab_Term_syn lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__4); l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5 = _init_l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_synthesizeInstMVarCore___closed__5); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838____closed__4); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5838_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842____closed__4); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5842_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_autoLift = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_autoLift); lean_dec_ref(res); -}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__3); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866____closed__4); -if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5866_(lean_io_mk_world()); +}l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__2); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__3 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__3(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__3); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__4 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__4(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870____closed__4); +if (builtin) {res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_5870_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Elab_Term_maxCoeSize = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Elab_Term_maxCoeSize); @@ -64667,11 +64692,11 @@ l_Lean_Elab_Term_mkAuxName___closed__1 = _init_l_Lean_Elab_Term_mkAuxName___clos lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__1); l_Lean_Elab_Term_mkAuxName___closed__2 = _init_l_Lean_Elab_Term_mkAuxName___closed__2(); lean_mark_persistent(l_Lean_Elab_Term_mkAuxName___closed__2); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__1(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__1); -l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__2(); -lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042____closed__2); -res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14042_(lean_io_mk_world()); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__1 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__1(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__1); +l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__2 = _init_l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__2(); +lean_mark_persistent(l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046____closed__2); +res = l_Lean_Elab_Term_initFn____x40_Lean_Elab_Term___hyg_14046_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1 = _init_l_Lean_Elab_Term_isLetRecAuxMVar___lambda__2___closed__1(); @@ -64844,11 +64869,11 @@ l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4 = _init_l_Lean_Elab_Term_e lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__4); l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__5 = _init_l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__5(); lean_mark_persistent(l_Lean_Elab_Term_exprToSyntax___lambda__1___closed__5); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__1(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__1); -l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__2(); -lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990____closed__2); -res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16990_(lean_io_mk_world()); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__1 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__1(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__1); +l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__2 = _init_l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__2(); +lean_mark_persistent(l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994____closed__2); +res = l_Lean_Elab_initFn____x40_Lean_Elab_Term___hyg_16994_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Environment.c b/stage0/stdlib/Lean/Environment.c index 0f10852d6b..deffdc279d 100644 --- a/stage0/stdlib/Lean/Environment.c +++ b/stage0/stdlib/Lean/Environment.c @@ -6338,7 +6338,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; x_2 = l_Lean_TagDeclarationExtension_tag___closed__4; -x_3 = lean_unsigned_to_nat(534u); +x_3 = lean_unsigned_to_nat(539u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_TagDeclarationExtension_tag___closed__3; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); @@ -6902,7 +6902,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_EnvExtensionInterfaceUnsafe_setState___rarg___closed__1; x_2 = l_Lean_MapDeclarationExtension_insert___rarg___closed__3; -x_3 = lean_unsigned_to_nat(563u); +x_3 = lean_unsigned_to_nat(568u); x_4 = lean_unsigned_to_nat(2u); x_5 = l_Lean_MapDeclarationExtension_insert___rarg___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Expr.c b/stage0/stdlib/Lean/Expr.c index c13a7fe0cf..b9f7ac1306 100644 --- a/stage0/stdlib/Lean/Expr.c +++ b/stage0/stdlib/Lean/Expr.c @@ -21,7 +21,6 @@ static lean_object* l_Lean_Expr_letName_x21___closed__2; static lean_object* l_Lean_Expr_ctorName___closed__7; static lean_object* l_Lean_mkNatLit___closed__8; LEAN_EXPORT lean_object* l_Lean_instLTLiteral; -static lean_object* l_Lean_mkLHSGoal___closed__2; LEAN_EXPORT lean_object* l_Lean_Expr_bindingInfo_x21(lean_object*); lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_hasAnyFVar_visit___at_Lean_Expr_containsFVar___spec__1(lean_object*, lean_object*); @@ -55,6 +54,7 @@ static lean_object* l_Lean_Expr_projExpr_x21___closed__3; LEAN_EXPORT lean_object* l_Lean_Expr_isAppOf___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkSort(lean_object*); static lean_object* l_Lean_instReprData__1___closed__1; +LEAN_EXPORT lean_object* l_Lean_mkLHSGoalRaw(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instReprData__1___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Expr_isHeadBetaTargetFn(uint8_t, lean_object*); @@ -139,7 +139,6 @@ static lean_object* l_List_repr___at___private_Lean_Expr_0__Lean_reprExpr____x40 LEAN_EXPORT lean_object* l_Lean_Level_instantiateParams___at_Lean_Expr_instantiateLevelParamsArray___spec__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Expr_hasLevelParamEx___boxed(lean_object*); LEAN_EXPORT uint64_t l_Lean_Expr_Data_hash(uint64_t); -LEAN_EXPORT lean_object* l_Lean_mkLHSGoal(lean_object*); uint8_t lean_uint32_to_uint8(uint32_t); static lean_object* l_Lean_mkDecIsTrue___closed__5; LEAN_EXPORT lean_object* l_Lean_Expr_mkAppData(uint64_t, uint64_t); @@ -886,7 +885,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_E LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Expr_setAppPPExplicit___spec__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Expr_letValue_x21___closed__1; LEAN_EXPORT lean_object* l_Lean_instReprData__1(uint64_t, lean_object*); -static lean_object* l_Lean_mkLHSGoal___closed__1; static lean_object* l___private_Lean_Expr_0__Lean_reprLiteral____x40_Lean_Expr___hyg_120____closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_appArg_x21_x27(lean_object*); uint64_t lean_uint64_shift_right(uint64_t, uint64_t); @@ -927,6 +925,7 @@ LEAN_EXPORT lean_object* l_Lean_Expr_equal___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Literal_lt(lean_object*, lean_object*); static lean_object* l_Lean_mkLetFunAnnotation___closed__1; LEAN_EXPORT lean_object* l_Lean_Expr_casesOn___override(lean_object*); +static lean_object* l_Lean_mkLHSGoalRaw___closed__2; LEAN_EXPORT lean_object* l_Lean_mkConst(lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_Expr_updateConst_x21Impl___closed__1; LEAN_EXPORT lean_object* l_Lean_mkSimpleThunk(lean_object*); @@ -959,6 +958,7 @@ static lean_object* l_Lean_Expr_mdataExpr_x21___closed__1; uint64_t lean_string_hash(lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_3008____closed__4; LEAN_EXPORT lean_object* l_Lean_Expr_isNatLit___boxed(lean_object*); +static lean_object* l_Lean_mkLHSGoalRaw___closed__1; lean_object* l_List_mapTRAux___rarg(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Expr_0__Lean_reprExpr____x40_Lean_Expr___hyg_3008____closed__10; LEAN_EXPORT lean_object* l_Lean_mkApp3(lean_object*, lean_object*, lean_object*, lean_object*); @@ -17079,7 +17079,7 @@ lean_dec(x_1); return x_2; } } -static lean_object* _init_l_Lean_mkLHSGoal___closed__1() { +static lean_object* _init_l_Lean_mkLHSGoalRaw___closed__1() { _start: { lean_object* x_1; @@ -17087,21 +17087,21 @@ x_1 = lean_mk_string_from_bytes("_lhsGoal", 8); return x_1; } } -static lean_object* _init_l_Lean_mkLHSGoal___closed__2() { +static lean_object* _init_l_Lean_mkLHSGoalRaw___closed__2() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = lean_box(0); -x_2 = l_Lean_mkLHSGoal___closed__1; +x_2 = l_Lean_mkLHSGoalRaw___closed__1; x_3 = l_Lean_Name_str___override(x_1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_mkLHSGoal(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_mkLHSGoalRaw(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_mkLHSGoal___closed__2; +x_2 = l_Lean_mkLHSGoalRaw___closed__2; x_3 = l_Lean_mkAnnotation(x_2, x_1); return x_3; } @@ -17128,7 +17128,7 @@ LEAN_EXPORT lean_object* l_Lean_isLHSGoal_x3f(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_mkLHSGoal___closed__2; +x_2 = l_Lean_mkLHSGoalRaw___closed__2; x_3 = l_Lean_annotation_x3f(x_2, x_1); if (lean_obj_tag(x_3) == 0) { @@ -18123,10 +18123,10 @@ l___private_Lean_Expr_0__Lean_patternRefAnnotationKey___closed__2 = _init_l___pr lean_mark_persistent(l___private_Lean_Expr_0__Lean_patternRefAnnotationKey___closed__2); l___private_Lean_Expr_0__Lean_patternRefAnnotationKey = _init_l___private_Lean_Expr_0__Lean_patternRefAnnotationKey(); lean_mark_persistent(l___private_Lean_Expr_0__Lean_patternRefAnnotationKey); -l_Lean_mkLHSGoal___closed__1 = _init_l_Lean_mkLHSGoal___closed__1(); -lean_mark_persistent(l_Lean_mkLHSGoal___closed__1); -l_Lean_mkLHSGoal___closed__2 = _init_l_Lean_mkLHSGoal___closed__2(); -lean_mark_persistent(l_Lean_mkLHSGoal___closed__2); +l_Lean_mkLHSGoalRaw___closed__1 = _init_l_Lean_mkLHSGoalRaw___closed__1(); +lean_mark_persistent(l_Lean_mkLHSGoalRaw___closed__1); +l_Lean_mkLHSGoalRaw___closed__2 = _init_l_Lean_mkLHSGoalRaw___closed__2(); +lean_mark_persistent(l_Lean_mkLHSGoalRaw___closed__2); l_Lean_isLHSGoal_x3f___closed__1 = _init_l_Lean_isLHSGoal_x3f___closed__1(); lean_mark_persistent(l_Lean_isLHSGoal_x3f___closed__1); l_Lean_isLHSGoal_x3f___closed__2 = _init_l_Lean_isLHSGoal_x3f___closed__2(); diff --git a/stage0/stdlib/Lean/Hygiene.c b/stage0/stdlib/Lean/Hygiene.c index 6f4b6ccea9..51d00c3881 100644 --- a/stage0/stdlib/Lean/Hygiene.c +++ b/stage0/stdlib/Lean/Hygiene.c @@ -28,7 +28,7 @@ LEAN_EXPORT uint8_t l_Lean_getSanitizeNames(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_sanitizeName(lean_object*, lean_object*); static lean_object* l_Lean_initFn____x40_Lean_Hygiene___hyg_327____closed__3; -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); lean_object* lean_array_get_size(lean_object*); LEAN_EXPORT lean_object* l_Lean_Unhygienic_run(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -1077,12 +1077,13 @@ goto _start; LEAN_EXPORT lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; -x_4 = l_Lean_mkIdentFrom(x_1, x_2); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_3); -return x_5; +uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_4 = 0; +x_5 = l_Lean_mkIdentFrom(x_1, x_2, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_3); +return x_6; } } LEAN_EXPORT lean_object* l___private_Lean_Hygiene_0__Lean_sanitizeSyntaxAux(lean_object* x_1, lean_object* x_2) { diff --git a/stage0/stdlib/Lean/Level.c b/stage0/stdlib/Lean/Level.c index d0ace09b7b..cff3db26fe 100644 --- a/stage0/stdlib/Lean/Level.c +++ b/stage0/stdlib/Lean/Level.c @@ -51,7 +51,7 @@ static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level__ static lean_object* l___private_Lean_Level_0__Lean_reprLevel____x40_Lean_Level___hyg_983____closed__14; static lean_object* l_Lean_instReprLevel___closed__1; uint64_t lean_uint64_add(uint64_t, uint64_t); -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_mkLevelIMaxCore(lean_object*, lean_object*, lean_object*); uint64_t lean_bool_to_uint64(uint8_t); LEAN_EXPORT lean_object* l___private_Lean_Level_0__Lean_Level_mkIMaxAux(lean_object*, lean_object*); @@ -5142,15 +5142,16 @@ return x_4; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; lean_object* x_5; +lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; x_3 = lean_ctor_get(x_1, 0); lean_inc(x_3); lean_dec(x_1); -x_4 = l_Lean_SourceInfo_fromRef(x_3); -x_5 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_5, 0, x_4); -lean_ctor_set(x_5, 1, x_2); -return x_5; +x_4 = 0; +x_5 = l_Lean_SourceInfo_fromRef(x_3, x_4); +x_6 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_6, 0, x_5); +lean_ctor_set(x_6, 1, x_2); +return x_6; } } LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Level_PP_Result_quote___spec__2(size_t x_1, size_t x_2, lean_object* x_3) { diff --git a/stage0/stdlib/Lean/LocalContext.c b/stage0/stdlib/Lean/LocalContext.c index 5aa8516c07..8ff7f91eb4 100644 --- a/stage0/stdlib/Lean/LocalContext.c +++ b/stage0/stdlib/Lean/LocalContext.c @@ -22,7 +22,7 @@ lean_object* lean_array_set(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_LocalContext_findDecl_x3f___spec__3___rarg___closed__2; LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_any___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t lean_local_ctx_uses_user_name(lean_object*, lean_object*); +LEAN_EXPORT uint8_t l_Lean_LocalContext_usesUserName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_mkLambda___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instMonadLCtx(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_mapMAux___at_Lean_LocalContext_replaceFVarId___spec__7(lean_object*, lean_object*); @@ -42,7 +42,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_LocalCont LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_LocalContext_findDeclRev_x3f___spec__6___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__7(lean_object*); -LEAN_EXPORT lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_getUnusedName(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_PersistentArray_findSomeMAux___at_Lean_LocalContext_findDecl_x3f___spec__3___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_LocalContext_usesUserName___boxed(lean_object*, lean_object*); @@ -76,6 +76,7 @@ LEAN_EXPORT lean_object* l___private_Lean_Data_PersistentArray_0__Lean_Persisten LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__13(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__23___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* lean_local_ctx_mk_let_decl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t); +LEAN_EXPORT lean_object* l_Lean_LocalContext_getAt_x3f___boxed(lean_object*, lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_anyMAux___at_Lean_LocalContext_allM___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__14___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -123,7 +124,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_anyM___sp LEAN_EXPORT lean_object* l_Lean_LocalDecl_index___boxed(lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__5___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__16(lean_object*); -LEAN_EXPORT lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_findFromUserName_x3f(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_LocalContext_any___spec__5(lean_object*, lean_object*, size_t, size_t); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__6___rarg(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__10___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -181,7 +182,7 @@ LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_getFVa uint8_t lean_expr_has_loose_bvar(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_findSomeRevM_x3f_find___at_Lean_LocalContext_findDeclRev_x3f___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_empty; -LEAN_EXPORT lean_object* lean_local_ctx_last_decl(lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_lastDecl(lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_eraseAux___at_Lean_LocalContext_erase___spec__2___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_setBinderInfo(lean_object*, lean_object*, uint8_t); @@ -223,7 +224,7 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_forM(lean_object*); lean_object* lean_nat_sub(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_LocalContext_mkLocalDecl___spec__3(size_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__10(lean_object*); -LEAN_EXPORT lean_object* lean_local_ctx_get(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_getAt_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__4(lean_object*); static lean_object* l_Nat_foldRev___at_Lean_LocalContext_mkBinding___spec__1___closed__6; LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__11(lean_object*); @@ -283,7 +284,7 @@ LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at_Lean_Local LEAN_EXPORT lean_object* l_Lean_LocalContext_mkLocalDecl___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldrMUnsafe_fold___at_Lean_LocalContext_foldr___spec__24(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevMAux___at_Lean_LocalContext_findFromUserName_x3f___spec__3(lean_object*, lean_object*); -LEAN_EXPORT lean_object* lean_local_ctx_rename_user_name(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_renameUserName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_getFVar_x21(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_indexOfAux___at_Lean_LocalContext_erase___spec__3(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_LocalDecl_value___closed__4; @@ -298,7 +299,7 @@ LEAN_EXPORT lean_object* l_Array_anyMUnsafe_any___at_Lean_LocalContext_anyM___sp LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__12(lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_LocalContext_foldl___spec__13(lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_findSomeRevM_x3f___at_Lean_LocalContext_findFromUserName_x3f___spec__1___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* lean_local_ctx_pop(lean_object*); +LEAN_EXPORT lean_object* l_Lean_LocalContext_pop(lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_LocalContext_instForInLocalContextLocalDecl___spec__4___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_LocalContext_isSubPrefixOfAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -4027,7 +4028,7 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* lean_local_ctx_pop(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_LocalContext_pop(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; uint8_t x_6; @@ -4370,7 +4371,7 @@ return x_10; } } } -LEAN_EXPORT lean_object* lean_local_ctx_find_from_user_name(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_LocalContext_findFromUserName_x3f(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; @@ -4430,11 +4431,11 @@ lean_dec(x_1); return x_3; } } -LEAN_EXPORT uint8_t lean_local_ctx_uses_user_name(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT uint8_t l_Lean_LocalContext_usesUserName(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = lean_local_ctx_find_from_user_name(x_1, x_2); +x_3 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_2); if (lean_obj_tag(x_3) == 0) { uint8_t x_4; @@ -4454,7 +4455,7 @@ LEAN_EXPORT lean_object* l_Lean_LocalContext_usesUserName___boxed(lean_object* x _start: { uint8_t x_3; lean_object* x_4; -x_3 = lean_local_ctx_uses_user_name(x_1, x_2); +x_3 = l_Lean_LocalContext_usesUserName(x_1, x_2); x_4 = lean_box(x_3); return x_4; } @@ -4468,7 +4469,7 @@ lean_inc(x_2); x_4 = lean_name_append_index_after(x_2, x_3); lean_inc(x_4); lean_inc(x_1); -x_5 = lean_local_ctx_uses_user_name(x_1, x_4); +x_5 = l_Lean_LocalContext_usesUserName(x_1, x_4); if (x_5 == 0) { lean_object* x_6; lean_object* x_7; lean_object* x_8; @@ -4494,14 +4495,14 @@ goto _start; } } } -LEAN_EXPORT lean_object* lean_local_ctx_get_unused_name(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_LocalContext_getUnusedName(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; uint8_t x_4; x_3 = lean_erase_macro_scopes(x_2); lean_inc(x_3); lean_inc(x_1); -x_4 = lean_local_ctx_uses_user_name(x_1, x_3); +x_4 = l_Lean_LocalContext_usesUserName(x_1, x_3); if (x_4 == 0) { lean_dec(x_1); @@ -4519,7 +4520,7 @@ return x_7; } } } -LEAN_EXPORT lean_object* lean_local_ctx_last_decl(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_LocalContext_lastDecl(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; @@ -4563,7 +4564,7 @@ lean_ctor_set(x_13, 1, x_12); return x_13; } } -LEAN_EXPORT lean_object* lean_local_ctx_rename_user_name(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_LocalContext_renameUserName(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; @@ -4572,7 +4573,7 @@ lean_inc(x_4); x_5 = lean_ctor_get(x_1, 1); lean_inc(x_5); lean_inc(x_1); -x_6 = lean_local_ctx_find_from_user_name(x_1, x_2); +x_6 = l_Lean_LocalContext_findFromUserName_x3f(x_1, x_2); if (lean_obj_tag(x_6) == 0) { lean_dec(x_5); @@ -4882,7 +4883,7 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* lean_local_ctx_get(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_Lean_LocalContext_getAt_x3f(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; lean_object* x_4; lean_object* x_5; @@ -4891,10 +4892,18 @@ x_4 = lean_ctor_get(x_1, 1); lean_inc(x_4); lean_dec(x_1); x_5 = l_Lean_PersistentArray_get_x21___rarg(x_3, x_4, x_2); -lean_dec(x_2); return x_5; } } +LEAN_EXPORT lean_object* l_Lean_LocalContext_getAt_x3f___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_Lean_LocalContext_getAt_x3f(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_LocalContext_foldlM___rarg___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { @@ -10210,7 +10219,7 @@ _start: lean_object* x_1; lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; x_1 = l_Lean_LocalDecl_value___closed__1; x_2 = l_Nat_foldRev___at_Lean_LocalContext_mkBinding___spec__1___closed__5; -x_3 = lean_unsigned_to_nat(366u); +x_3 = lean_unsigned_to_nat(359u); x_4 = lean_unsigned_to_nat(14u); x_5 = l_Lean_LocalContext_get_x21___closed__2; x_6 = l___private_Init_Util_0__mkPanicMessageWithDecl(x_1, x_2, x_3, x_4, x_5); diff --git a/stage0/stdlib/Lean/Meta/Basic.c b/stage0/stdlib/Lean/Meta/Basic.c index aa903ac307..5d39825f22 100644 --- a/stage0/stdlib/Lean/Meta/Basic.c +++ b/stage0/stdlib/Lean/Meta/Basic.c @@ -180,7 +180,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_saveState___boxed(lean_object*); static lean_object* l_Lean_Meta_mkFunUnit___closed__4; LEAN_EXPORT lean_object* l_Lean_FVarId_throwUnknown___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_withTraceNode___at_Lean_Meta_processPostponed___spec__1(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_findFromUserName_x3f(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_instantiateLevelMVars___at_Lean_Meta_normalizeLevel___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_forallBoundedTelescope(lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_Meta_liftMkBindingM___spec__1(lean_object*); @@ -237,7 +237,7 @@ LEAN_EXPORT lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___ LEAN_EXPORT lean_object* l_Lean_Meta_instMonadEnvMetaM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_forallTelescopeReducingAuxAux_process___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Basic_0__Lean_Meta_isClassExpensive_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(uint8_t, uint8_t); static lean_object* l_Lean_Meta_instAlternativeMetaM___closed__2; LEAN_EXPORT lean_object* l_Lean_Meta_setInlineAttribute___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentArray_forIn___at___private_Lean_Meta_Basic_0__Lean_Meta_processPostponedStep___spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1429,7 +1429,7 @@ x_5 = lean_ctor_get(x_1, 1); x_6 = lean_ctor_get_uint8(x_2, sizeof(void*)*2); x_7 = lean_ctor_get(x_2, 0); x_8 = lean_ctor_get(x_2, 1); -x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_3, x_6); +x_9 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_3, x_6); if (x_9 == 0) { uint8_t x_10; @@ -7268,7 +7268,7 @@ x_8 = lean_ctor_get(x_6, 0); x_9 = 0; x_10 = lean_unbox(x_8); lean_dec(x_8); -x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_10, x_9); +x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_10, x_9); x_12 = lean_box(x_11); lean_ctor_set(x_6, 0, x_12); return x_6; @@ -7284,7 +7284,7 @@ lean_dec(x_6); x_15 = 0; x_16 = lean_unbox(x_13); lean_dec(x_13); -x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_16, x_15); +x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_16, x_15); x_18 = lean_box(x_17); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); @@ -7318,7 +7318,7 @@ x_8 = lean_ctor_get(x_6, 0); x_9 = 2; x_10 = lean_unbox(x_8); lean_dec(x_8); -x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_10, x_9); +x_11 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_10, x_9); x_12 = lean_box(x_11); lean_ctor_set(x_6, 0, x_12); return x_6; @@ -7334,7 +7334,7 @@ lean_dec(x_6); x_15 = 2; x_16 = lean_unbox(x_13); lean_dec(x_13); -x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_16, x_15); +x_17 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_16, x_15); x_18 = lean_box(x_17); x_19 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_19, 0, x_18); @@ -9581,7 +9581,7 @@ lean_object* x_7; lean_object* x_8; x_7 = lean_ctor_get(x_2, 1); lean_inc(x_7); lean_inc(x_1); -x_8 = lean_local_ctx_find_from_user_name(x_7, x_1); +x_8 = l_Lean_LocalContext_findFromUserName_x3f(x_7, x_1); if (lean_obj_tag(x_8) == 0) { lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; diff --git a/stage0/stdlib/Lean/Meta/CongrTheorems.c b/stage0/stdlib/Lean/Meta/CongrTheorems.c index 20e2d89350..d1c0ad249f 100644 --- a/stage0/stdlib/Lean/Meta/CongrTheorems.c +++ b/stage0/stdlib/Lean/Meta/CongrTheorems.c @@ -182,12 +182,12 @@ LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at_Lean_Meta_mkHCongrWithAri static lean_object* l_Lean_Meta_mkHCongrWithArity_mkProof___lambda__1___closed__1; lean_object* l_Lean_LocalDecl_type(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_CongrTheorems_0__Lean_Meta_setBinderInfosD___boxed(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimp_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_name_append_after(lean_object*, lean_object*); lean_object* l_Lean_getExprMVarAssignment_x3f___at___private_Lean_MetavarContext_0__Lean_DependsOn_dep_visitMain___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_shouldUseSubsingletonInst___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHCongrWithArity_withNewEqs_loop___rarg___closed__6; LEAN_EXPORT uint8_t l_Lean_PersistentArray_anyM___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___spec__13(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -213,6 +213,7 @@ static lean_object* l___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go__ static lean_object* l___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast_go___closed__3; lean_object* l_Lean_Meta_forallBoundedTelescope___at_Lean_Meta_addPPExplicitToExposeDiff_visit___spec__2___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHCongrWithArity_mkProof___closed__5; +static lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___closed__1; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Meta_CongrTheorems_0__Lean_Meta_shouldUseSubsingletonInst___spec__1___closed__2; lean_object* l_Array_ofSubarray___rarg(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_CongrTheorems_0__Lean_Meta_mkCast(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -241,6 +242,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f___lambda__1___bo LEAN_EXPORT lean_object* l_Lean_Meta_mkHCongrWithArity_withNewEqs(lean_object*); static lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___closed__2; static lean_object* l_Lean_Meta_mkHCongrWithArity_withNewEqs_loop___rarg___closed__5; +lean_object* lean_name_append_before(lean_object*, lean_object*); static lean_object* l_Lean_Meta_mkHCongrWithArity_withNewEqs_loop___rarg___closed__3; lean_object* l_Lean_LocalContext_setUserName(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_mkHCongrWithArity_mkProof___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*); @@ -6748,49 +6750,54 @@ x_24 = l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go(x_6, x_7, x_8, x_9, x_10, x_18, return x_24; } } -LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, uint8_t x_6, lean_object* x_7, lean_object* 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) { +static lean_object* _init_l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___closed__1() { _start: { -lean_object* x_17; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("e_", 2); +return x_1; +} +} +LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, uint8_t x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16, lean_object* x_17) { +_start: +{ +lean_object* x_18; +lean_inc(x_16); lean_inc(x_15); lean_inc(x_14); lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -x_17 = l_Lean_Meta_mkEq(x_1, x_11, x_12, x_13, x_14, x_15, x_16); -if (lean_obj_tag(x_17) == 0) +x_18 = l_Lean_Meta_mkEq(x_1, x_12, x_13, x_14, x_15, x_16, x_17); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; lean_object* x_28; -x_18 = lean_ctor_get(x_17, 0); -lean_inc(x_18); -x_19 = lean_ctor_get(x_17, 1); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; lean_object* x_26; +x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); -lean_dec(x_17); -x_20 = lean_array_get_size(x_2); -x_21 = lean_unsigned_to_nat(1u); -x_22 = lean_nat_add(x_20, x_21); -lean_dec(x_20); -x_23 = l_Lean_Meta_mkHCongrWithArity_withNewEqs_loop___rarg___closed__2; -x_24 = lean_name_append_index_after(x_23, x_22); -x_25 = lean_box(x_6); -x_26 = lean_alloc_closure((void*)(l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__1___boxed), 16, 10); -lean_closure_set(x_26, 0, x_3); -lean_closure_set(x_26, 1, x_4); -lean_closure_set(x_26, 2, x_11); -lean_closure_set(x_26, 3, x_2); -lean_closure_set(x_26, 4, x_5); -lean_closure_set(x_26, 5, x_25); -lean_closure_set(x_26, 6, x_7); -lean_closure_set(x_26, 7, x_8); -lean_closure_set(x_26, 8, x_9); -lean_closure_set(x_26, 9, x_10); -x_27 = 0; -x_28 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(x_24, x_27, x_18, x_26, x_12, x_13, x_14, x_15, x_19); -return x_28; +x_20 = lean_ctor_get(x_18, 1); +lean_inc(x_20); +lean_dec(x_18); +x_21 = l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___closed__1; +x_22 = lean_name_append_before(x_2, x_21); +x_23 = lean_box(x_7); +x_24 = lean_alloc_closure((void*)(l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__1___boxed), 16, 10); +lean_closure_set(x_24, 0, x_3); +lean_closure_set(x_24, 1, x_4); +lean_closure_set(x_24, 2, x_12); +lean_closure_set(x_24, 3, x_5); +lean_closure_set(x_24, 4, x_6); +lean_closure_set(x_24, 5, x_23); +lean_closure_set(x_24, 6, x_8); +lean_closure_set(x_24, 7, x_9); +lean_closure_set(x_24, 8, x_10); +lean_closure_set(x_24, 9, x_11); +x_25 = 0; +x_26 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(x_22, x_25, x_19, x_24, x_13, x_14, x_15, x_16, x_20); +return x_26; } else { -uint8_t x_29; +uint8_t x_27; +lean_dec(x_16); lean_dec(x_15); lean_dec(x_14); lean_dec(x_13); @@ -6799,28 +6806,28 @@ lean_dec(x_11); lean_dec(x_10); lean_dec(x_9); lean_dec(x_8); -lean_dec(x_7); +lean_dec(x_6); lean_dec(x_5); lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_29 = !lean_is_exclusive(x_17); -if (x_29 == 0) +x_27 = !lean_is_exclusive(x_18); +if (x_27 == 0) { -return x_17; +return x_18; } else { -lean_object* x_30; lean_object* x_31; lean_object* x_32; -x_30 = lean_ctor_get(x_17, 0); -x_31 = lean_ctor_get(x_17, 1); -lean_inc(x_31); -lean_inc(x_30); -lean_dec(x_17); -x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_30); -lean_ctor_set(x_32, 1, x_31); -return x_32; +lean_object* x_28; lean_object* x_29; lean_object* x_30; +x_28 = lean_ctor_get(x_18, 0); +x_29 = lean_ctor_get(x_18, 1); +lean_inc(x_29); +lean_inc(x_28); +lean_dec(x_18); +x_30 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_30, 0, x_28); +lean_ctor_set(x_30, 1, x_29); +return x_30; } } } @@ -7235,17 +7242,19 @@ x_28 = l_Lean_LocalDecl_binderInfo(x_25); x_29 = l_Lean_LocalDecl_type(x_25); lean_dec(x_25); x_30 = lean_box(x_1); -x_31 = lean_alloc_closure((void*)(l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___boxed), 16, 10); +lean_inc(x_27); +x_31 = lean_alloc_closure((void*)(l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___boxed), 17, 11); lean_closure_set(x_31, 0, x_20); -lean_closure_set(x_31, 1, x_8); +lean_closure_set(x_31, 1, x_27); lean_closure_set(x_31, 2, x_6); lean_closure_set(x_31, 3, x_7); -lean_closure_set(x_31, 4, x_21); -lean_closure_set(x_31, 5, x_30); -lean_closure_set(x_31, 6, x_2); -lean_closure_set(x_31, 7, x_3); -lean_closure_set(x_31, 8, x_4); -lean_closure_set(x_31, 9, x_5); +lean_closure_set(x_31, 4, x_8); +lean_closure_set(x_31, 5, x_21); +lean_closure_set(x_31, 6, x_30); +lean_closure_set(x_31, 7, x_2); +lean_closure_set(x_31, 8, x_3); +lean_closure_set(x_31, 9, x_4); +lean_closure_set(x_31, 10, x_5); x_32 = l_Lean_Meta_withLocalDecl___at___private_Lean_Meta_SynthInstance_0__Lean_Meta_SynthInstance_removeUnusedArguments_x3f___spec__2___rarg(x_27, x_28, x_29, x_31, x_10, x_11, x_12, x_13, x_26); return x_32; } @@ -7693,14 +7702,31 @@ x_18 = l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__1(x_1, x_2, x_3, x_4, return x_18; } } -LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15, lean_object* x_16) { +LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___boxed(lean_object** _args) { +lean_object* x_1 = _args[0]; +lean_object* x_2 = _args[1]; +lean_object* x_3 = _args[2]; +lean_object* x_4 = _args[3]; +lean_object* x_5 = _args[4]; +lean_object* x_6 = _args[5]; +lean_object* x_7 = _args[6]; +lean_object* x_8 = _args[7]; +lean_object* x_9 = _args[8]; +lean_object* x_10 = _args[9]; +lean_object* x_11 = _args[10]; +lean_object* x_12 = _args[11]; +lean_object* x_13 = _args[12]; +lean_object* x_14 = _args[13]; +lean_object* x_15 = _args[14]; +lean_object* x_16 = _args[15]; +lean_object* x_17 = _args[16]; _start: { -uint8_t x_17; lean_object* x_18; -x_17 = lean_unbox(x_6); -lean_dec(x_6); -x_18 = l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_17, x_7, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16); -return x_18; +uint8_t x_18; lean_object* x_19; +x_18 = lean_unbox(x_7); +lean_dec(x_7); +x_19 = l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2(x_1, x_2, x_3, x_4, x_5, x_6, x_18, x_8, x_9, x_10, x_11, x_12, x_13, x_14, x_15, x_16, x_17); +return x_19; } } LEAN_EXPORT lean_object* l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9, lean_object* x_10, lean_object* x_11, lean_object* x_12, lean_object* x_13, lean_object* x_14, lean_object* x_15) { @@ -8363,6 +8389,8 @@ l_Lean_Meta_mkCongrSimpCore_x3f_mkProof_go___closed__1 = _init_l_Lean_Meta_mkCon lean_mark_persistent(l_Lean_Meta_mkCongrSimpCore_x3f_mkProof_go___closed__1); l_panic___at_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___spec__1___closed__1 = _init_l_panic___at_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___spec__1___closed__1(); lean_mark_persistent(l_panic___at_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___spec__1___closed__1); +l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___closed__1 = _init_l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___closed__1(); +lean_mark_persistent(l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___lambda__2___closed__1); l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___closed__1 = _init_l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___closed__1(); lean_mark_persistent(l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___closed__1); l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___closed__2 = _init_l_Lean_Meta_mkCongrSimpCore_x3f_mk_x3f_go___closed__2(); diff --git a/stage0/stdlib/Lean/Meta/ExprDefEq.c b/stage0/stdlib/Lean/Meta/ExprDefEq.c index add10f1de8..ab3c7eda55 100644 --- a/stage0/stdlib/Lean/Meta/ExprDefEq.c +++ b/stage0/stdlib/Lean/Meta/ExprDefEq.c @@ -219,7 +219,7 @@ static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0_ LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processConstApprox_defaultCase___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_processAssignment_process___closed__2; -uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(uint8_t, uint8_t); static lean_object* l_Std_Range_forIn_loop___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqEtaStruct_go___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_AssocList_contains___at___private_Lean_Meta_ExprDefEq_0__Lean_Meta_mkLambdaFVarsWithLetDeps_collectLetDeclsFrom_visit___spec__4___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqArgsFirstPass(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -351,7 +351,7 @@ lean_object* lean_nat_sub(lean_object*, lean_object*); lean_object* l_Lean_HashSetImp_insert___at___private_Lean_MetavarContext_0__Lean_DependsOn_shouldVisit___spec__3(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_unstuckMVar___closed__6; lean_object* l_Lean_Expr_constLevels_x21(lean_object*); -lean_object* lean_local_ctx_get(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_getAt_x3f(lean_object*, lean_object*); lean_object* l_Lean_patternAnnotation_x3f(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_ExprDefEq_0__Lean_Meta_isDefEqLeft(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_instMonadLiftImportMAttrM(lean_object*); @@ -11266,9 +11266,8 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_sub(x_3, x_11); lean_dec(x_3); -lean_inc(x_4); lean_inc(x_1); -x_13 = lean_local_ctx_get(x_1, x_4); +x_13 = l_Lean_LocalContext_getAt_x3f(x_1, x_4); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -11353,9 +11352,8 @@ lean_object* x_11; lean_object* x_12; lean_object* x_13; x_11 = lean_unsigned_to_nat(1u); x_12 = lean_nat_sub(x_3, x_11); lean_dec(x_3); -lean_inc(x_4); lean_inc(x_1); -x_13 = lean_local_ctx_get(x_1, x_4); +x_13 = l_Lean_LocalContext_getAt_x3f(x_1, x_4); if (lean_obj_tag(x_13) == 0) { lean_object* x_14; @@ -14247,7 +14245,8 @@ if (x_14 == 0) lean_object* x_15; lean_object* x_16; x_15 = lean_ctor_get(x_4, 1); lean_inc(x_15); -x_16 = lean_local_ctx_get(x_15, x_13); +x_16 = l_Lean_LocalContext_getAt_x3f(x_15, x_13); +lean_dec(x_13); if (lean_obj_tag(x_16) == 0) { x_1 = x_12; @@ -14655,9 +14654,8 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_unsigned_to_nat(1u); x_17 = lean_nat_sub(x_3, x_16); lean_dec(x_3); -lean_inc(x_4); lean_inc(x_1); -x_18 = lean_local_ctx_get(x_1, x_4); +x_18 = l_Lean_LocalContext_getAt_x3f(x_1, x_4); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; @@ -14742,9 +14740,8 @@ lean_object* x_16; lean_object* x_17; lean_object* x_18; x_16 = lean_unsigned_to_nat(1u); x_17 = lean_nat_sub(x_3, x_16); lean_dec(x_3); -lean_inc(x_4); lean_inc(x_1); -x_18 = lean_local_ctx_get(x_1, x_4); +x_18 = l_Lean_LocalContext_getAt_x3f(x_1, x_4); if (lean_obj_tag(x_18) == 0) { lean_object* x_19; @@ -66734,7 +66731,7 @@ x_11 = lean_ctor_get(x_8, 1); x_12 = 3; x_13 = lean_unbox(x_10); lean_dec(x_10); -x_14 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_13, x_12); +x_14 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_13, x_12); if (x_14 == 0) { uint8_t x_15; lean_object* x_16; @@ -66769,7 +66766,7 @@ lean_dec(x_8); x_21 = 3; x_22 = lean_unbox(x_19); lean_dec(x_19); -x_23 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_22, x_21); +x_23 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_22, x_21); if (x_23 == 0) { uint8_t x_24; lean_object* x_25; lean_object* x_26; diff --git a/stage0/stdlib/Lean/Meta/GetConst.c b/stage0/stdlib/Lean/Meta/GetConst.c index 4abfab49c8..8287a30989 100644 --- a/stage0/stdlib/Lean/Meta/GetConst.c +++ b/stage0/stdlib/Lean/Meta/GetConst.c @@ -21,7 +21,7 @@ lean_object* lean_st_ref_get(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getConstNoEx_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_isReducible___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__3(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_getConst_x3f(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(uint8_t, uint8_t); uint8_t lean_get_reducibility_status(lean_object*, lean_object*); lean_object* l_Lean_ConstantInfo_name(lean_object*); LEAN_EXPORT lean_object* l_Lean_getReducibilityStatus___at___private_Lean_Meta_GetConst_0__Lean_Meta_canUnfoldDefault___spec__2(lean_object*, lean_object*, lean_object*, lean_object*); @@ -315,7 +315,7 @@ x_39 = lean_ctor_get(x_38, 0); lean_inc(x_39); lean_dec(x_38); x_40 = 3; -x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_6, x_40); +x_41 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_6, x_40); if (x_41 == 0) { uint8_t x_42; lean_object* x_43; @@ -360,7 +360,7 @@ x_51 = lean_ctor_get(x_49, 0); lean_inc(x_51); lean_dec(x_49); x_52 = 3; -x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_6, x_52); +x_53 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_6, x_52); if (x_53 == 0) { uint8_t x_54; lean_object* x_55; lean_object* x_56; diff --git a/stage0/stdlib/Lean/Meta/Tactic/Intro.c b/stage0/stdlib/Lean/Meta/Tactic/Intro.c index 83bb5f7db2..fe7783e282 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Intro.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Intro.c @@ -18,7 +18,7 @@ size_t lean_usize_add(size_t, size_t); lean_object* l_Lean_Expr_mvarId_x21(lean_object*); LEAN_EXPORT lean_object* l_Lean_Meta_intro1Core___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_getIntrosSize(lean_object*); -lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_getUnusedName(lean_object*, lean_object*); lean_object* lean_mk_empty_array_with_capacity(lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); static lean_object* l___private_Lean_Meta_Tactic_Intro_0__Lean_Meta_introNImp_loop___rarg___closed__6; @@ -1312,7 +1312,7 @@ _start: if (x_3 == 0) { lean_object* x_9; lean_object* x_10; -x_9 = lean_local_ctx_get_unused_name(x_1, x_2); +x_9 = l_Lean_LocalContext_getUnusedName(x_1, x_2); x_10 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_10, 0, x_9); lean_ctor_set(x_10, 1, x_8); diff --git a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c index ef8671a439..9aef299a22 100644 --- a/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c +++ b/stage0/stdlib/Lean/Meta/Tactic/Simp/SimpTheorems.c @@ -118,7 +118,7 @@ static lean_object* l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems___ uint8_t lean_name_eq(lean_object*, lean_object*); uint8_t l_Lean_Expr_isApp(lean_object*); LEAN_EXPORT uint8_t l_Array_anyMUnsafe_any___at_Lean_Meta_addSimpTheoremEntry___spec__12(lean_object*, lean_object*, size_t, size_t); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___closed__2; lean_object* l_Lean_Expr_appFn_x21(lean_object*); lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); @@ -19549,7 +19549,7 @@ return x_7; } else { -lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; uint8_t x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; uint8_t x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; x_8 = lean_unsigned_to_nat(0u); x_9 = l_Lean_Syntax_getArg(x_1, x_8); x_10 = lean_unsigned_to_nat(2u); @@ -19562,469 +19562,470 @@ x_14 = l_Lean_Name_toString(x_12, x_13); x_15 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__4; lean_inc(x_12); x_16 = l_Lean_Name_append(x_15, x_12); -x_17 = l_Lean_mkIdentFrom(x_11, x_16); -x_18 = l_Lean_TSyntax_getDocString(x_9); -x_19 = l_Lean_removeLeadingSpaces(x_18); -x_20 = lean_box(2); -x_21 = l_Lean_Syntax_mkStrLit(x_19, x_20); -lean_dec(x_19); +x_17 = 0; +x_18 = l_Lean_mkIdentFrom(x_11, x_16, x_17); +x_19 = l_Lean_TSyntax_getDocString(x_9); +x_20 = l_Lean_removeLeadingSpaces(x_19); +x_21 = lean_box(2); +x_22 = l_Lean_Syntax_mkStrLit(x_20, x_21); +lean_dec(x_20); lean_inc(x_2); -x_22 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); -x_23 = lean_ctor_get(x_22, 0); -lean_inc(x_23); -x_24 = lean_ctor_get(x_22, 1); +x_23 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_2, x_3); +x_24 = lean_ctor_get(x_23, 0); lean_inc(x_24); -if (lean_is_exclusive(x_22)) { - lean_ctor_release(x_22, 0); - lean_ctor_release(x_22, 1); - x_25 = x_22; +x_25 = lean_ctor_get(x_23, 1); +lean_inc(x_25); +if (lean_is_exclusive(x_23)) { + lean_ctor_release(x_23, 0); + lean_ctor_release(x_23, 1); + x_26 = x_23; } else { - lean_dec_ref(x_22); - x_25 = lean_box(0); + lean_dec_ref(x_23); + x_26 = lean_box(0); } -x_26 = lean_ctor_get(x_2, 2); -lean_inc(x_26); -x_27 = lean_ctor_get(x_2, 1); +x_27 = lean_ctor_get(x_2, 2); lean_inc(x_27); +x_28 = lean_ctor_get(x_2, 1); +lean_inc(x_28); lean_dec(x_2); -x_28 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__9; -x_29 = lean_array_push(x_28, x_9); -x_30 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_4714____closed__12; -lean_inc(x_23); -x_31 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_31, 0, x_23); -lean_ctor_set(x_31, 1, x_30); -lean_ctor_set(x_31, 2, x_29); -x_32 = l_Lean_Meta_SimpTheorem_keys___default___closed__1; -lean_inc(x_23); -x_33 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_33, 0, x_23); -lean_ctor_set(x_33, 1, x_30); -lean_ctor_set(x_33, 2, x_32); -x_34 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__9; -lean_inc(x_31); -x_35 = lean_array_push(x_34, x_31); -lean_inc(x_33); -x_36 = lean_array_push(x_35, x_33); -lean_inc(x_33); -x_37 = lean_array_push(x_36, x_33); -lean_inc(x_33); -x_38 = lean_array_push(x_37, x_33); -lean_inc(x_33); -x_39 = lean_array_push(x_38, x_33); -lean_inc(x_33); -x_40 = lean_array_push(x_39, x_33); -x_41 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__8; -lean_inc(x_23); -x_42 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_42, 0, x_23); -lean_ctor_set(x_42, 1, x_41); -lean_ctor_set(x_42, 2, x_40); -x_43 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__5; -lean_inc(x_23); -x_44 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_44, 0, x_23); -lean_ctor_set(x_44, 1, x_43); -x_45 = lean_array_push(x_28, x_44); -x_46 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__11; -lean_inc(x_23); -x_47 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_47, 0, x_23); -lean_ctor_set(x_47, 1, x_46); -lean_ctor_set(x_47, 2, x_45); -x_48 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__15; -lean_inc(x_26); +x_29 = l___private_Lean_Meta_Tactic_Simp_SimpTheorems_0__Lean_Meta_preprocess_go___lambda__3___closed__9; +x_30 = lean_array_push(x_29, x_9); +x_31 = l___auto____x40_Lean_Meta_Tactic_Simp_SimpTheorems___hyg_4714____closed__12; +lean_inc(x_24); +x_32 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_32, 0, x_24); +lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 2, x_30); +x_33 = l_Lean_Meta_SimpTheorem_keys___default___closed__1; +lean_inc(x_24); +x_34 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_34, 0, x_24); +lean_ctor_set(x_34, 1, x_31); +lean_ctor_set(x_34, 2, x_33); +x_35 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__9; +lean_inc(x_32); +x_36 = lean_array_push(x_35, x_32); +lean_inc(x_34); +x_37 = lean_array_push(x_36, x_34); +lean_inc(x_34); +x_38 = lean_array_push(x_37, x_34); +lean_inc(x_34); +x_39 = lean_array_push(x_38, x_34); +lean_inc(x_34); +x_40 = lean_array_push(x_39, x_34); +lean_inc(x_34); +x_41 = lean_array_push(x_40, x_34); +x_42 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__8; +lean_inc(x_24); +x_43 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_43, 0, x_24); +lean_ctor_set(x_43, 1, x_42); +lean_ctor_set(x_43, 2, x_41); +x_44 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__5; +lean_inc(x_24); +x_45 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_45, 0, x_24); +lean_ctor_set(x_45, 1, x_44); +x_46 = lean_array_push(x_29, x_45); +x_47 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__11; +lean_inc(x_24); +x_48 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_48, 0, x_24); +lean_ctor_set(x_48, 1, x_47); +lean_ctor_set(x_48, 2, x_46); +x_49 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__15; lean_inc(x_27); -x_49 = l_Lean_addMacroScope(x_27, x_48, x_26); -x_50 = lean_box(0); -x_51 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__14; -lean_inc(x_23); -x_52 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_52, 0, x_23); -lean_ctor_set(x_52, 1, x_51); -lean_ctor_set(x_52, 2, x_49); -lean_ctor_set(x_52, 3, x_50); -x_53 = l_Lean_Meta_instToFormatSimpTheorem___closed__1; -lean_inc(x_23); -x_54 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_54, 0, x_23); -lean_ctor_set(x_54, 1, x_53); -x_55 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__21; -lean_inc(x_26); +lean_inc(x_28); +x_50 = l_Lean_addMacroScope(x_28, x_49, x_27); +x_51 = lean_box(0); +x_52 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__14; +lean_inc(x_24); +x_53 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_53, 0, x_24); +lean_ctor_set(x_53, 1, x_52); +lean_ctor_set(x_53, 2, x_50); +lean_ctor_set(x_53, 3, x_51); +x_54 = l_Lean_Meta_instToFormatSimpTheorem___closed__1; +lean_inc(x_24); +x_55 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_55, 0, x_24); +lean_ctor_set(x_55, 1, x_54); +x_56 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__21; lean_inc(x_27); -x_56 = l_Lean_addMacroScope(x_27, x_55, x_26); -x_57 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__20; -x_58 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__26; -lean_inc(x_23); -x_59 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_59, 0, x_23); -lean_ctor_set(x_59, 1, x_57); -lean_ctor_set(x_59, 2, x_56); -lean_ctor_set(x_59, 3, x_58); -x_60 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__27; -lean_inc(x_54); -x_61 = lean_array_push(x_60, x_54); -x_62 = lean_array_push(x_61, x_59); -x_63 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__17; -lean_inc(x_23); -x_64 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_64, 0, x_23); -lean_ctor_set(x_64, 1, x_63); -lean_ctor_set(x_64, 2, x_62); -x_65 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__28; -lean_inc(x_23); -x_66 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_66, 0, x_23); -lean_ctor_set(x_66, 1, x_65); -x_67 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__29; -x_68 = lean_array_push(x_67, x_52); -x_69 = lean_array_push(x_68, x_64); -x_70 = lean_array_push(x_69, x_66); -lean_inc(x_23); -x_71 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_71, 0, x_23); -lean_ctor_set(x_71, 1, x_30); -lean_ctor_set(x_71, 2, x_70); -x_72 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__40; -lean_inc(x_26); +lean_inc(x_28); +x_57 = l_Lean_addMacroScope(x_28, x_56, x_27); +x_58 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__20; +x_59 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__26; +lean_inc(x_24); +x_60 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_60, 0, x_24); +lean_ctor_set(x_60, 1, x_58); +lean_ctor_set(x_60, 2, x_57); +lean_ctor_set(x_60, 3, x_59); +x_61 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__27; +lean_inc(x_55); +x_62 = lean_array_push(x_61, x_55); +x_63 = lean_array_push(x_62, x_60); +x_64 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__17; +lean_inc(x_24); +x_65 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_65, 0, x_24); +lean_ctor_set(x_65, 1, x_64); +lean_ctor_set(x_65, 2, x_63); +x_66 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__28; +lean_inc(x_24); +x_67 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_67, 0, x_24); +lean_ctor_set(x_67, 1, x_66); +x_68 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__29; +x_69 = lean_array_push(x_68, x_53); +x_70 = lean_array_push(x_69, x_65); +x_71 = lean_array_push(x_70, x_67); +lean_inc(x_24); +x_72 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_72, 0, x_24); +lean_ctor_set(x_72, 1, x_31); +lean_ctor_set(x_72, 2, x_71); +x_73 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__40; lean_inc(x_27); -x_73 = l_Lean_addMacroScope(x_27, x_72, x_26); -x_74 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__39; -x_75 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__45; -lean_inc(x_23); -x_76 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_76, 0, x_23); -lean_ctor_set(x_76, 1, x_74); -lean_ctor_set(x_76, 2, x_73); -lean_ctor_set(x_76, 3, x_75); +lean_inc(x_28); +x_74 = l_Lean_addMacroScope(x_28, x_73, x_27); +x_75 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__39; +x_76 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__45; +lean_inc(x_24); +x_77 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_77, 0, x_24); +lean_ctor_set(x_77, 1, x_75); +lean_ctor_set(x_77, 2, x_74); +lean_ctor_set(x_77, 3, x_76); lean_inc(x_12); -x_77 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_50, x_12); -x_78 = lean_array_push(x_60, x_76); -x_79 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__46; -x_80 = lean_array_push(x_79, x_42); -x_81 = lean_array_push(x_80, x_47); -x_82 = lean_array_push(x_81, x_71); -lean_inc(x_33); -x_83 = lean_array_push(x_28, x_33); -x_84 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__50; -lean_inc(x_23); -x_85 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_85, 0, x_23); -lean_ctor_set(x_85, 1, x_84); -lean_ctor_set(x_85, 2, x_83); -x_86 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__47; -lean_inc(x_23); -x_87 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_87, 0, x_23); -lean_ctor_set(x_87, 1, x_86); -x_88 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__53; -lean_inc(x_23); -x_89 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_89, 0, x_23); -lean_ctor_set(x_89, 1, x_88); -x_90 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__54; -lean_inc(x_23); -x_91 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_91, 0, x_23); -lean_ctor_set(x_91, 1, x_90); -x_92 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__55; -lean_inc(x_23); -x_93 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_93, 0, x_23); -lean_ctor_set(x_93, 1, x_92); -x_94 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__56; -lean_inc(x_23); -x_95 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_95, 0, x_23); -lean_ctor_set(x_95, 1, x_94); -x_96 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__57; -lean_inc(x_89); -x_97 = lean_array_push(x_96, x_89); -x_98 = lean_array_push(x_97, x_91); -x_99 = lean_array_push(x_98, x_93); -x_100 = lean_array_push(x_99, x_17); -lean_inc(x_95); -x_101 = lean_array_push(x_100, x_95); -x_102 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__52; -lean_inc(x_23); -x_103 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_103, 0, x_23); -lean_ctor_set(x_103, 1, x_102); -lean_ctor_set(x_103, 2, x_101); -x_104 = lean_array_push(x_28, x_103); -lean_inc(x_23); -x_105 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_105, 0, x_23); -lean_ctor_set(x_105, 1, x_30); -lean_ctor_set(x_105, 2, x_104); -x_106 = l_Lean_Syntax_mkStrLit(x_14, x_20); +x_78 = l___private_Init_Meta_0__Lean_getEscapedNameParts_x3f(x_51, x_12); +x_79 = lean_array_push(x_61, x_77); +x_80 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__46; +x_81 = lean_array_push(x_80, x_43); +x_82 = lean_array_push(x_81, x_48); +x_83 = lean_array_push(x_82, x_72); +lean_inc(x_34); +x_84 = lean_array_push(x_29, x_34); +x_85 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__50; +lean_inc(x_24); +x_86 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_86, 0, x_24); +lean_ctor_set(x_86, 1, x_85); +lean_ctor_set(x_86, 2, x_84); +x_87 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__47; +lean_inc(x_24); +x_88 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_88, 0, x_24); +lean_ctor_set(x_88, 1, x_87); +x_89 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__53; +lean_inc(x_24); +x_90 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_90, 0, x_24); +lean_ctor_set(x_90, 1, x_89); +x_91 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__54; +lean_inc(x_24); +x_92 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_92, 0, x_24); +lean_ctor_set(x_92, 1, x_91); +x_93 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__55; +lean_inc(x_24); +x_94 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_94, 0, x_24); +lean_ctor_set(x_94, 1, x_93); +x_95 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__56; +lean_inc(x_24); +x_96 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_96, 0, x_24); +lean_ctor_set(x_96, 1, x_95); +x_97 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__57; +lean_inc(x_90); +x_98 = lean_array_push(x_97, x_90); +x_99 = lean_array_push(x_98, x_92); +x_100 = lean_array_push(x_99, x_94); +x_101 = lean_array_push(x_100, x_18); +lean_inc(x_96); +x_102 = lean_array_push(x_101, x_96); +x_103 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__52; +lean_inc(x_24); +x_104 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_104, 0, x_24); +lean_ctor_set(x_104, 1, x_103); +lean_ctor_set(x_104, 2, x_102); +x_105 = lean_array_push(x_29, x_104); +lean_inc(x_24); +x_106 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_106, 0, x_24); +lean_ctor_set(x_106, 1, x_31); +lean_ctor_set(x_106, 2, x_105); +x_107 = l_Lean_Syntax_mkStrLit(x_14, x_21); lean_dec(x_14); -x_107 = lean_array_push(x_28, x_106); -x_108 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__61; -lean_inc(x_23); -x_109 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_109, 0, x_23); -lean_ctor_set(x_109, 1, x_108); -lean_ctor_set(x_109, 2, x_107); -x_110 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__75; -lean_inc(x_26); +x_108 = lean_array_push(x_29, x_107); +x_109 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__61; +lean_inc(x_24); +x_110 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_110, 0, x_24); +lean_ctor_set(x_110, 1, x_109); +lean_ctor_set(x_110, 2, x_108); +x_111 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__75; lean_inc(x_27); -x_111 = l_Lean_addMacroScope(x_27, x_110, x_26); -x_112 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__72; -x_113 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__80; -lean_inc(x_23); -x_114 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_114, 0, x_23); -lean_ctor_set(x_114, 1, x_112); -lean_ctor_set(x_114, 2, x_111); -lean_ctor_set(x_114, 3, x_113); -x_115 = lean_array_push(x_60, x_114); -lean_inc(x_33); -x_116 = lean_array_push(x_115, x_33); -x_117 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__69; -lean_inc(x_23); -x_118 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_118, 0, x_23); -lean_ctor_set(x_118, 1, x_117); -lean_ctor_set(x_118, 2, x_116); -x_119 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__81; -lean_inc(x_23); -x_120 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_120, 0, x_23); -lean_ctor_set(x_120, 1, x_119); -x_121 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__85; -lean_inc(x_26); +lean_inc(x_28); +x_112 = l_Lean_addMacroScope(x_28, x_111, x_27); +x_113 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__72; +x_114 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__80; +lean_inc(x_24); +x_115 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_115, 0, x_24); +lean_ctor_set(x_115, 1, x_113); +lean_ctor_set(x_115, 2, x_112); +lean_ctor_set(x_115, 3, x_114); +x_116 = lean_array_push(x_61, x_115); +lean_inc(x_34); +x_117 = lean_array_push(x_116, x_34); +x_118 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__69; +lean_inc(x_24); +x_119 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_119, 0, x_24); +lean_ctor_set(x_119, 1, x_118); +lean_ctor_set(x_119, 2, x_117); +x_120 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__81; +lean_inc(x_24); +x_121 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_121, 0, x_24); +lean_ctor_set(x_121, 1, x_120); +x_122 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__85; lean_inc(x_27); -x_122 = l_Lean_addMacroScope(x_27, x_121, x_26); -x_123 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__84; -x_124 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__89; -lean_inc(x_23); -x_125 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_125, 0, x_23); -lean_ctor_set(x_125, 1, x_123); -lean_ctor_set(x_125, 2, x_122); -lean_ctor_set(x_125, 3, x_124); -x_126 = lean_array_push(x_60, x_125); -lean_inc(x_33); -x_127 = lean_array_push(x_126, x_33); -lean_inc(x_23); -x_128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_128, 0, x_23); -lean_ctor_set(x_128, 1, x_117); -lean_ctor_set(x_128, 2, x_127); -x_129 = lean_array_push(x_67, x_118); -x_130 = lean_array_push(x_129, x_120); -x_131 = lean_array_push(x_130, x_128); -x_132 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__67; -lean_inc(x_23); -x_133 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_133, 0, x_23); -lean_ctor_set(x_133, 1, x_132); -lean_ctor_set(x_133, 2, x_131); -x_134 = lean_array_push(x_28, x_133); -lean_inc(x_23); -x_135 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_135, 0, x_23); -lean_ctor_set(x_135, 1, x_30); -lean_ctor_set(x_135, 2, x_134); -x_136 = lean_array_push(x_67, x_89); -lean_inc(x_136); -x_137 = lean_array_push(x_136, x_135); -lean_inc(x_95); -x_138 = lean_array_push(x_137, x_95); -x_139 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__65; -lean_inc(x_23); -x_140 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_140, 0, x_23); -lean_ctor_set(x_140, 1, x_139); -lean_ctor_set(x_140, 2, x_138); -x_141 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__90; -lean_inc(x_23); -x_142 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_142, 0, x_23); -lean_ctor_set(x_142, 1, x_141); -x_143 = lean_array_push(x_60, x_140); -lean_inc(x_142); -x_144 = lean_array_push(x_143, x_142); -x_145 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__63; -lean_inc(x_23); -x_146 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_146, 0, x_23); -lean_ctor_set(x_146, 1, x_145); -lean_ctor_set(x_146, 2, x_144); -x_147 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__94; -lean_inc(x_26); +lean_inc(x_28); +x_123 = l_Lean_addMacroScope(x_28, x_122, x_27); +x_124 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__84; +x_125 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__89; +lean_inc(x_24); +x_126 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_126, 0, x_24); +lean_ctor_set(x_126, 1, x_124); +lean_ctor_set(x_126, 2, x_123); +lean_ctor_set(x_126, 3, x_125); +x_127 = lean_array_push(x_61, x_126); +lean_inc(x_34); +x_128 = lean_array_push(x_127, x_34); +lean_inc(x_24); +x_129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_129, 0, x_24); +lean_ctor_set(x_129, 1, x_118); +lean_ctor_set(x_129, 2, x_128); +x_130 = lean_array_push(x_68, x_119); +x_131 = lean_array_push(x_130, x_121); +x_132 = lean_array_push(x_131, x_129); +x_133 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__67; +lean_inc(x_24); +x_134 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_134, 0, x_24); +lean_ctor_set(x_134, 1, x_133); +lean_ctor_set(x_134, 2, x_132); +x_135 = lean_array_push(x_29, x_134); +lean_inc(x_24); +x_136 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_136, 0, x_24); +lean_ctor_set(x_136, 1, x_31); +lean_ctor_set(x_136, 2, x_135); +x_137 = lean_array_push(x_68, x_90); +lean_inc(x_137); +x_138 = lean_array_push(x_137, x_136); +lean_inc(x_96); +x_139 = lean_array_push(x_138, x_96); +x_140 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__65; +lean_inc(x_24); +x_141 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_141, 0, x_24); +lean_ctor_set(x_141, 1, x_140); +lean_ctor_set(x_141, 2, x_139); +x_142 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__90; +lean_inc(x_24); +x_143 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_143, 0, x_24); +lean_ctor_set(x_143, 1, x_142); +x_144 = lean_array_push(x_61, x_141); +lean_inc(x_143); +x_145 = lean_array_push(x_144, x_143); +x_146 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__63; +lean_inc(x_24); +x_147 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_147, 0, x_24); +lean_ctor_set(x_147, 1, x_146); +lean_ctor_set(x_147, 2, x_145); +x_148 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__94; lean_inc(x_27); -x_148 = l_Lean_addMacroScope(x_27, x_147, x_26); -x_149 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__93; -lean_inc(x_23); -x_150 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_150, 0, x_23); -lean_ctor_set(x_150, 1, x_149); -lean_ctor_set(x_150, 2, x_148); -lean_ctor_set(x_150, 3, x_50); -x_151 = lean_array_push(x_60, x_150); -lean_inc(x_33); -x_152 = lean_array_push(x_151, x_33); -lean_inc(x_23); -x_153 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_153, 0, x_23); -lean_ctor_set(x_153, 1, x_117); -lean_ctor_set(x_153, 2, x_152); -x_154 = lean_array_push(x_28, x_153); -lean_inc(x_23); -x_155 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_155, 0, x_23); -lean_ctor_set(x_155, 1, x_30); -lean_ctor_set(x_155, 2, x_154); -x_156 = lean_array_push(x_136, x_155); -x_157 = lean_array_push(x_156, x_95); -lean_inc(x_23); -x_158 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_158, 0, x_23); -lean_ctor_set(x_158, 1, x_139); -lean_ctor_set(x_158, 2, x_157); -x_159 = lean_array_push(x_60, x_158); -x_160 = lean_array_push(x_159, x_142); -lean_inc(x_23); -x_161 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_161, 0, x_23); -lean_ctor_set(x_161, 1, x_145); -lean_ctor_set(x_161, 2, x_160); -x_162 = lean_array_push(x_67, x_109); -x_163 = lean_array_push(x_162, x_146); -x_164 = lean_array_push(x_163, x_161); -lean_inc(x_23); -x_165 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_165, 0, x_23); -lean_ctor_set(x_165, 1, x_30); -lean_ctor_set(x_165, 2, x_164); -x_166 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__98; -x_167 = l_Lean_addMacroScope(x_27, x_166, x_26); -x_168 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__97; -lean_inc(x_23); -x_169 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_169, 0, x_23); -lean_ctor_set(x_169, 1, x_168); -lean_ctor_set(x_169, 2, x_167); -lean_ctor_set(x_169, 3, x_50); -x_170 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__99; -x_171 = lean_array_push(x_170, x_31); -lean_inc(x_33); -x_172 = lean_array_push(x_171, x_33); -x_173 = lean_array_push(x_172, x_85); -x_174 = lean_array_push(x_173, x_87); -lean_inc(x_33); -x_175 = lean_array_push(x_174, x_33); -x_176 = lean_array_push(x_175, x_105); -lean_inc(x_33); -x_177 = lean_array_push(x_176, x_33); -x_178 = lean_array_push(x_177, x_165); -x_179 = lean_array_push(x_178, x_54); -x_180 = lean_array_push(x_179, x_169); -x_181 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__48; -lean_inc(x_23); -x_182 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_182, 0, x_23); -lean_ctor_set(x_182, 1, x_181); -lean_ctor_set(x_182, 2, x_180); -if (lean_obj_tag(x_77) == 0) +lean_inc(x_28); +x_149 = l_Lean_addMacroScope(x_28, x_148, x_27); +x_150 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__93; +lean_inc(x_24); +x_151 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_151, 0, x_24); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_149); +lean_ctor_set(x_151, 3, x_51); +x_152 = lean_array_push(x_61, x_151); +lean_inc(x_34); +x_153 = lean_array_push(x_152, x_34); +lean_inc(x_24); +x_154 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_154, 0, x_24); +lean_ctor_set(x_154, 1, x_118); +lean_ctor_set(x_154, 2, x_153); +x_155 = lean_array_push(x_29, x_154); +lean_inc(x_24); +x_156 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_156, 0, x_24); +lean_ctor_set(x_156, 1, x_31); +lean_ctor_set(x_156, 2, x_155); +x_157 = lean_array_push(x_137, x_156); +x_158 = lean_array_push(x_157, x_96); +lean_inc(x_24); +x_159 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_159, 0, x_24); +lean_ctor_set(x_159, 1, x_140); +lean_ctor_set(x_159, 2, x_158); +x_160 = lean_array_push(x_61, x_159); +x_161 = lean_array_push(x_160, x_143); +lean_inc(x_24); +x_162 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_162, 0, x_24); +lean_ctor_set(x_162, 1, x_146); +lean_ctor_set(x_162, 2, x_161); +x_163 = lean_array_push(x_68, x_110); +x_164 = lean_array_push(x_163, x_147); +x_165 = lean_array_push(x_164, x_162); +lean_inc(x_24); +x_166 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_166, 0, x_24); +lean_ctor_set(x_166, 1, x_31); +lean_ctor_set(x_166, 2, x_165); +x_167 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__98; +x_168 = l_Lean_addMacroScope(x_28, x_167, x_27); +x_169 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__97; +lean_inc(x_24); +x_170 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_170, 0, x_24); +lean_ctor_set(x_170, 1, x_169); +lean_ctor_set(x_170, 2, x_168); +lean_ctor_set(x_170, 3, x_51); +x_171 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__99; +x_172 = lean_array_push(x_171, x_32); +lean_inc(x_34); +x_173 = lean_array_push(x_172, x_34); +x_174 = lean_array_push(x_173, x_86); +x_175 = lean_array_push(x_174, x_88); +lean_inc(x_34); +x_176 = lean_array_push(x_175, x_34); +x_177 = lean_array_push(x_176, x_106); +lean_inc(x_34); +x_178 = lean_array_push(x_177, x_34); +x_179 = lean_array_push(x_178, x_166); +x_180 = lean_array_push(x_179, x_55); +x_181 = lean_array_push(x_180, x_170); +x_182 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__48; +lean_inc(x_24); +x_183 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_183, 0, x_24); +lean_ctor_set(x_183, 1, x_182); +lean_ctor_set(x_183, 2, x_181); +if (lean_obj_tag(x_78) == 0) { -lean_object* x_211; -x_211 = l_Lean_quoteNameMk(x_12); -x_183 = x_211; -goto block_210; +lean_object* x_212; +x_212 = l_Lean_quoteNameMk(x_12); +x_184 = x_212; +goto block_211; } else { -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_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_dec(x_12); -x_212 = lean_ctor_get(x_77, 0); -lean_inc(x_212); -lean_dec(x_77); -x_213 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__102; -x_214 = l_String_intercalate(x_213, x_212); -x_215 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__103; -x_216 = lean_string_append(x_215, x_214); -lean_dec(x_214); -x_217 = l_Lean_Syntax_mkNameLit(x_216, x_20); -x_218 = lean_array_push(x_28, x_217); -x_219 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__101; -x_220 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_220, 0, x_20); -lean_ctor_set(x_220, 1, x_219); -lean_ctor_set(x_220, 2, x_218); -x_183 = x_220; -goto block_210; +x_213 = lean_ctor_get(x_78, 0); +lean_inc(x_213); +lean_dec(x_78); +x_214 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__102; +x_215 = l_String_intercalate(x_214, x_213); +x_216 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__103; +x_217 = lean_string_append(x_216, x_215); +lean_dec(x_215); +x_218 = l_Lean_Syntax_mkNameLit(x_217, x_21); +x_219 = lean_array_push(x_29, x_218); +x_220 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__101; +x_221 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_221, 0, x_21); +lean_ctor_set(x_221, 1, x_220); +lean_ctor_set(x_221, 2, x_219); +x_184 = x_221; +goto block_211; } -block_210: +block_211: { -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_inc(x_183); -x_184 = lean_array_push(x_67, x_183); -x_185 = lean_array_push(x_184, x_21); -x_186 = lean_array_push(x_185, x_183); -lean_inc(x_23); -x_187 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_187, 0, x_23); -lean_ctor_set(x_187, 1, x_30); -lean_ctor_set(x_187, 2, x_186); -x_188 = lean_array_push(x_78, x_187); -x_189 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__37; -lean_inc(x_23); -x_190 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_190, 0, x_23); -lean_ctor_set(x_190, 1, x_189); -lean_ctor_set(x_190, 2, x_188); -x_191 = lean_array_push(x_28, x_190); -x_192 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__35; -lean_inc(x_23); -x_193 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_193, 0, x_23); -lean_ctor_set(x_193, 1, x_192); -lean_ctor_set(x_193, 2, x_191); -x_194 = lean_array_push(x_60, x_193); -x_195 = lean_array_push(x_194, x_33); -x_196 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__33; -lean_inc(x_23); -x_197 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_197, 0, x_23); -lean_ctor_set(x_197, 1, x_196); -lean_ctor_set(x_197, 2, x_195); -x_198 = lean_array_push(x_28, x_197); -lean_inc(x_23); -x_199 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_199, 0, x_23); -lean_ctor_set(x_199, 1, x_30); -lean_ctor_set(x_199, 2, x_198); -x_200 = lean_array_push(x_28, x_199); -x_201 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__31; -lean_inc(x_23); -x_202 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_202, 0, x_23); -lean_ctor_set(x_202, 1, x_201); -lean_ctor_set(x_202, 2, x_200); -x_203 = lean_array_push(x_82, x_202); -x_204 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__6; -lean_inc(x_23); -x_205 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_205, 0, x_23); -lean_ctor_set(x_205, 1, x_204); -lean_ctor_set(x_205, 2, x_203); -x_206 = lean_array_push(x_60, x_205); -x_207 = lean_array_push(x_206, x_182); -x_208 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_208, 0, x_23); -lean_ctor_set(x_208, 1, x_30); -lean_ctor_set(x_208, 2, x_207); -if (lean_is_scalar(x_25)) { - x_209 = lean_alloc_ctor(0, 2, 0); +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; 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_inc(x_184); +x_185 = lean_array_push(x_68, x_184); +x_186 = lean_array_push(x_185, x_22); +x_187 = lean_array_push(x_186, x_184); +lean_inc(x_24); +x_188 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_188, 0, x_24); +lean_ctor_set(x_188, 1, x_31); +lean_ctor_set(x_188, 2, x_187); +x_189 = lean_array_push(x_79, x_188); +x_190 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__37; +lean_inc(x_24); +x_191 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_191, 0, x_24); +lean_ctor_set(x_191, 1, x_190); +lean_ctor_set(x_191, 2, x_189); +x_192 = lean_array_push(x_29, x_191); +x_193 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__35; +lean_inc(x_24); +x_194 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_194, 0, x_24); +lean_ctor_set(x_194, 1, x_193); +lean_ctor_set(x_194, 2, x_192); +x_195 = lean_array_push(x_61, x_194); +x_196 = lean_array_push(x_195, x_34); +x_197 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__33; +lean_inc(x_24); +x_198 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_198, 0, x_24); +lean_ctor_set(x_198, 1, x_197); +lean_ctor_set(x_198, 2, x_196); +x_199 = lean_array_push(x_29, x_198); +lean_inc(x_24); +x_200 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_200, 0, x_24); +lean_ctor_set(x_200, 1, x_31); +lean_ctor_set(x_200, 2, x_199); +x_201 = lean_array_push(x_29, x_200); +x_202 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__31; +lean_inc(x_24); +x_203 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_203, 0, x_24); +lean_ctor_set(x_203, 1, x_202); +lean_ctor_set(x_203, 2, x_201); +x_204 = lean_array_push(x_83, x_203); +x_205 = l_Lean_Meta___aux__Lean__Meta__Tactic__Simp__SimpTheorems______macroRules__Lean__Meta____root____Lean__Parser__Command__registerSimpAttr__1___closed__6; +lean_inc(x_24); +x_206 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_206, 0, x_24); +lean_ctor_set(x_206, 1, x_205); +lean_ctor_set(x_206, 2, x_204); +x_207 = lean_array_push(x_61, x_206); +x_208 = lean_array_push(x_207, x_183); +x_209 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_209, 0, x_24); +lean_ctor_set(x_209, 1, x_31); +lean_ctor_set(x_209, 2, x_208); +if (lean_is_scalar(x_26)) { + x_210 = lean_alloc_ctor(0, 2, 0); } else { - x_209 = x_25; + x_210 = x_26; } -lean_ctor_set(x_209, 0, x_208); -lean_ctor_set(x_209, 1, x_24); -return x_209; +lean_ctor_set(x_210, 0, x_209); +lean_ctor_set(x_210, 1, x_25); +return x_210; } } } diff --git a/stage0/stdlib/Lean/Meta/WHNF.c b/stage0/stdlib/Lean/Meta/WHNF.c index 61d3793433..3da9893ee7 100644 --- a/stage0/stdlib/Lean/Meta/WHNF.c +++ b/stage0/stdlib/Lean/Meta/WHNF.c @@ -131,7 +131,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_getStuckMVar_x3f___lambda__8___boxed(lean_o lean_object* l_Lean_Expr_getRevArg_x21(lean_object*, lean_object*); lean_object* l_Lean_Meta_forallBoundedTelescope___at___private_Lean_Meta_FunInfo_0__Lean_Meta_getFunInfoAux___spec__8___rarg(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_addTrace___at_Lean_Meta_processPostponed_loop___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(uint8_t, uint8_t); +uint8_t l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(uint8_t, uint8_t); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__10; uint8_t lean_usize_dec_lt(size_t, size_t); static lean_object* l_Lean_Meta_canUnfoldAtMatcher___closed__32; @@ -16940,7 +16940,7 @@ lean_inc(x_9); lean_dec(x_7); x_10 = 2; x_11 = lean_unbox(x_8); -x_12 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_11, x_10); +x_12 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_11, x_10); if (x_12 == 0) { lean_object* x_13; uint8_t x_14; lean_object* x_15; @@ -24124,7 +24124,7 @@ x_10 = lean_ctor_get(x_7, 1); x_11 = 3; x_12 = lean_unbox(x_9); lean_dec(x_9); -x_13 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_12, x_11); +x_13 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_12, x_11); if (x_13 == 0) { lean_object* x_14; @@ -24155,7 +24155,7 @@ lean_dec(x_7); x_18 = 3; x_19 = lean_unbox(x_16); lean_dec(x_16); -x_20 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10820_(x_19, x_18); +x_20 = l___private_Init_Meta_0__Lean_Meta_beqTransparencyMode____x40_Init_Meta___hyg_10846_(x_19, x_18); if (x_20 == 0) { lean_object* x_21; lean_object* x_22; diff --git a/stage0/stdlib/Lean/Parser/Basic.c b/stage0/stdlib/Lean/Parser/Basic.c index eacbbec0bc..1b5bb4f9c8 100644 --- a/stage0/stdlib/Lean/Parser/Basic.c +++ b/stage0/stdlib/Lean/Parser/Basic.c @@ -34,10 +34,12 @@ LEAN_EXPORT lean_object* l_Lean_Parser_error___elambda__1___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_Parser_withResultOf___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_nameLitAux(lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); +static lean_object* l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__2; static lean_object* l_Lean_Parser_categoryParserFn___lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_forArgsM___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_skip___elambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkLinebreakBeforeFn(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__11; static lean_object* l_Lean_Parser_categoryParserFn___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_tokenAntiquotFn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserInfo_firstTokens___default; @@ -46,7 +48,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_TokenMap_instForInTokenMapProdNameList(le LEAN_EXPORT uint8_t l_Lean_Parser_checkTailWs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkLinebreakBefore(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_OrElseOnAntiquotBehavior_toCtorIdx___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_finishCommentBlock_eoi___closed__1; static lean_object* l_Lean_Parser_identFn___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_unicodeSymbolInfo___elambda__1___boxed(lean_object*); @@ -62,6 +63,7 @@ lean_object* lean_mk_empty_array_with_capacity(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_trailingLoop___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_sepByInfo(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_Parser_info___default; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__19; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_shrinkStack___boxed(lean_object*, lean_object*); lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); lean_object* lean_nat_div(lean_object*, lean_object*); @@ -71,7 +73,6 @@ static lean_object* l_Lean_Parser_eoi___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_manyNoAntiquot(lean_object*); static lean_object* l_Lean_Parser_notFollowedByFn___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_withAntiquotSuffixSplice___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__17; static lean_object* l_Lean_Parser_Parser_info___default___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_leadPrec; LEAN_EXPORT lean_object* l_Lean_Parser_notFollowedByFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -112,6 +113,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_identFnAux_parse___lambda__1___boxed(lean static lean_object* l_Lean_Parser_skip___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__6___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT uint8_t l_Lean_Parser_isQuotableCharDefault(uint32_t); +static lean_object* l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_longestMatchFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_errorAtSavedPos___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_dbgTraceState___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); @@ -121,7 +123,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_ParserInfo_collectKinds___default___boxed static lean_object* l_Lean_Parser_nameLitNoAntiquot___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_whitespace___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Parser_instInhabitedError___closed__1; -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____lambda__1___boxed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Parser_Trie_matchPrefix___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_stackSize___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_errorAtSavedPos___boxed(lean_object*, lean_object*); @@ -129,7 +130,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_octalNumberFn(lean_object*, lean_object*, static lean_object* l_Lean_Parser_octalNumberFn___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_hexNumberFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_strLitFnAux(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_unicodeSymbolNoAntiquot___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_minPrec; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_next(lean_object*, lean_object*, lean_object*); @@ -146,7 +146,6 @@ lean_object* l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(lean_object*, LEAN_EXPORT lean_object* l_Lean_Parser_dbgTraceStateFn___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_optionalFn___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Parser_info___default___elambda__1___boxed(lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__2; LEAN_EXPORT uint8_t l_Lean_Parser_ParserContext_suppressInsideQuot___default; LEAN_EXPORT lean_object* l_Lean_Parser_checkColGt___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserInfo_collectKinds___default(lean_object*); @@ -162,7 +161,7 @@ static lean_object* l_Lean_Parser_nonReservedSymbolInfo___closed__2; static lean_object* l_Lean_Parser_quotedCharCoreFn___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_strAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkLhsPrec___elambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__7; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__9; static lean_object* l_Lean_Parser_instBEqError___closed__1; lean_object* lean_dbg_trace(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_withAntiquotFn(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); @@ -193,27 +192,31 @@ LEAN_EXPORT uint8_t l_Lean_Parser_octalNumberFn___lambda__1(uint32_t); LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_errorAtSavedPos___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_withForbidden___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__8; lean_object* l_Lean_isIdRest___boxed(lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_pushNone___elambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_notFollowedByFn(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_OrElseOnAntiquotBehavior_noConfusion(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_orelseFn(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_instInhabitedInputContext___closed__3; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__17; LEAN_EXPORT lean_object* l_Lean_Parser_ParserInfo_collectTokens___default___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkTrailingNode(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_atomic___elambda__1(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__4; +lean_object* l_instOrdNat___boxed(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_rawCh___elambda__1(uint32_t, uint8_t, lean_object*, lean_object*); lean_object* lean_array_get_size(lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_tokenFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__1___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_mkAtomicInfo(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_notFollowedBy(lean_object*, lean_object*); static lean_object* l_Lean_Parser_initCacheForInput___closed__1; lean_object* lean_string_utf8_extract(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__1; static lean_object* l_Lean_Parser_Parser_info___default___closed__1; LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__2(lean_object*); uint8_t l_Char_isWhitespace(uint32_t); @@ -247,6 +250,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_leadingParser(lean_object*, lean_object*, static lean_object* l_Lean_Parser_tokenAntiquotFn___lambda__1___closed__2; static lean_object* l_Lean_Parser_binNumberFn___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__4(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_checkColGeFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_instInhabitedParserInfo___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_nameLitFn(lean_object*, lean_object*); @@ -258,6 +262,7 @@ static lean_object* l_Lean_Parser_strLitFnAux___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_suppressInsideQuotFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParser___lambda__1___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__3(lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__4; static lean_object* l_Lean_Parser_fieldIdx___closed__4; LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserInfo; static lean_object* l_Lean_Parser_dbgTraceStateFn___closed__2; @@ -283,7 +288,6 @@ static lean_object* l_Lean_Parser_identFnAux_parse___lambda__2___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_identEqFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkColEq___elambda__1___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotExpr___closed__2; -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__14; static lean_object* l_Lean_Parser_scientificLitFn___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_LeadingIdentBehavior_noConfusion___rarg___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserCategory; @@ -298,7 +302,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_indexed(lean_object*); uint8_t l_List_beq___at___private_Init_Meta_0__Lean_Syntax_beqPreresolved____x40_Init_Meta___hyg_2771____spec__1(lean_object*, lean_object*); size_t lean_uint64_to_usize(uint64_t); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_TokenMap_insert___spec__1(lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__5; lean_object* lean_string_utf8_next(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_invalidLongestMatchParser(lean_object*); static lean_object* l_Lean_Parser_invalidLongestMatchParser___closed__1; @@ -311,7 +314,6 @@ LEAN_EXPORT lean_object* l_Lean_Syntax_forArgsM(lean_object*); static lean_object* l_Lean_Parser_strLitFnAux___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_octalNumberFn___lambda__1___boxed(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__15; -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__18; LEAN_EXPORT lean_object* l_Lean_Parser_checkColGe___elambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_decimalNumberFn(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isAntiquots(lean_object*); @@ -355,7 +357,6 @@ static lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1 LEAN_EXPORT lean_object* l_Lean_Parser_mkAtomicInfo___elambda__2(lean_object*); static lean_object* l_Lean_Parser_strLitFn___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_Error_instToStringError; -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__16; static lean_object* l_Lean_Parser_strLitFn___closed__2; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__6(lean_object*); static lean_object* l_Lean_Parser_FirstTokens_instToStringFirstTokens___closed__1; @@ -368,7 +369,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_sepByElemParser(lean_object*, lean_object static lean_object* l_Lean_Parser_TokenMap_instForInTokenMapProdNameList___closed__2; static lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_pickNonNone___boxed(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374_(uint8_t, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211_(uint8_t, lean_object*); static lean_object* l_Lean_Parser_sepByElemParser___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_takeUntilFn___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_tokenAntiquotFn___lambda__2___closed__1; @@ -377,12 +378,14 @@ LEAN_EXPORT lean_object* l_Lean_Parser_LeadingIdentBehavior_toCtorIdx___boxed(le LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse(lean_object*, lean_object*, uint8_t, lean_object*, uint8_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_isToken___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__1___boxed(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__7; LEAN_EXPORT lean_object* l_Lean_Parser_longestMatchFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_lookaheadFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_withResultOfInfo___elambda__2(lean_object*, lean_object*); static lean_object* l_Lean_Parser_rawIdentNoAntiquot___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_nodeInfo(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkLhsPrecFn(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_withAntiquotSuffixSpliceFn___lambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_skip___elambda__1___rarg___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_LeadingIdentBehavior_noConfusion___rarg(uint8_t, uint8_t, lean_object*); @@ -421,6 +424,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_sepBy(lean_object*, lean_object*, lean_ob LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_skip___closed__1; LEAN_EXPORT lean_object* l_Lean_Syntax_foldArgsM(lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_toErrorMsg___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_numLitNoAntiquot___closed__2; LEAN_EXPORT uint8_t l_Lean_Parser_whitespace___lambda__1(uint32_t); @@ -448,7 +452,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_symbolInfo___elambda__1___boxed(lean_obje LEAN_EXPORT lean_object* l_Lean_Parser_withPositionAfterLinebreak(lean_object*); lean_object* l_Lean_Name_toString(lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Syntax_foldArgsM___rarg(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_numLitFn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_forArgsM___spec__2___rarg___lambda__1(size_t, lean_object*, lean_object*, lean_object*, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_manyAux___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -466,7 +469,6 @@ static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__4; lean_object* lean_array_fset(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_skip; static lean_object* l_Lean_Parser_mkAntiquotSplice___closed__3; -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__15; LEAN_EXPORT lean_object* l_Lean_Parser_binNumberFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_charLitNoAntiquot___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_peekTokenAux(lean_object*, lean_object*); @@ -492,11 +494,9 @@ LEAN_EXPORT lean_object* l_Lean_Parser_longestMatchStep(lean_object*, lean_objec LEAN_EXPORT lean_object* l_Lean_Parser_instAndThenParser(lean_object*, lean_object*); uint8_t l_Lean_Name_quickCmp(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_setExpectedFn(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_strLitFn(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Init_Data_Option_Basic_0__beqOption____x40_Init_Data_Option_Basic___hyg_939____at_Lean_Parser_ParserState_hasError___spec__1___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__12; -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserContext_savedPos_x3f___default; LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedInputContext; LEAN_EXPORT lean_object* l_Lean_Parser_errorAtSavedPosFn(lean_object*, uint8_t, lean_object*, lean_object*); @@ -523,7 +523,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_sepByFn(uint8_t, lean_object*, lean_objec static lean_object* l_Lean_Parser_fieldIdx___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_many1Unbox___lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instBEqLeadingIdentBehavior; -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__12; LEAN_EXPORT lean_object* l_Lean_Parser_rawCh___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_getNext___boxed(lean_object*, lean_object*); lean_object* lean_format_pretty(lean_object*, lean_object*); @@ -572,7 +571,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_manyAux___lambda__3___boxed(lean_object*, LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_hasError___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_unicodeSymbol___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_nodeInfo___elambda__2(lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__10; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__5; LEAN_EXPORT lean_object* l_Lean_Parser_identFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_strLitNoAntiquot___closed__3; static lean_object* l_Lean_Parser_manyAux___lambda__3___closed__1; @@ -585,9 +584,9 @@ LEAN_EXPORT lean_object* l_Lean_Parser_ParserContext_quotDepth___default; LEAN_EXPORT lean_object* l_Lean_Parser_checkTailNoWs___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_takeUntilFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_TokenMap_insert___spec__1___rarg(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_epsilonInfo___elambda__1___boxed(lean_object*); lean_object* l_Lean_FileMap_toPosition(lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__14; LEAN_EXPORT lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_anyOfFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_incQuotDepth(lean_object*); @@ -612,6 +611,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_checkLinebreakBeforeFn___boxed(lean_objec LEAN_EXPORT lean_object* l_Lean_Parser_checkColEq(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_sepByInfo___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_tokenAntiquotFn___lambda__2(lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3; static lean_object* l_Lean_Parser_quotedCharCoreFn___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_restore___boxed(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_identFnAux_parse___lambda__2___closed__2; @@ -622,7 +622,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_withAntiqu static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__3; LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_pickNonNone(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_sepBy1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); -static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____closed__1; LEAN_EXPORT uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_isIdFirstOrBeginEscape(uint32_t); LEAN_EXPORT lean_object* l_Lean_Parser_binNumberFn___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_identFnAux_parse(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -645,6 +644,7 @@ LEAN_EXPORT lean_object* l_List_toString___at_Lean_Parser_dbgTraceStateFn___spec LEAN_EXPORT lean_object* l_Array_foldlMUnsafe_fold___at_Lean_Syntax_foldArgsM___spec__1___rarg___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_trailingNodeAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_trailingNodeFn(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195____boxed(lean_object*, lean_object*); static lean_object* l_Lean_Parser_quotedCharCoreFn___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_FirstTokens_instToStringFirstTokens; static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_Error_expectedToString___closed__1; @@ -659,6 +659,7 @@ static lean_object* l_Lean_Parser_whitespace___closed__5; size_t lean_usize_land(size_t, size_t); LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__1(lean_object*, lean_object*, uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkStackTop___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__6; lean_object* l_Int_toNat(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_identFnAux_parse___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_categoryParserFn(lean_object*, lean_object*, lean_object*); @@ -687,10 +688,12 @@ LEAN_EXPORT lean_object* l_Lean_Parser_sepBy1(lean_object*, lean_object*, lean_o LEAN_EXPORT lean_object* l_Lean_Parser_sepBy1Fn___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_noFirstTokenInfo___elambda__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_Parser_info___default___closed__2; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__15; LEAN_EXPORT lean_object* l_Lean_Parser_symbolNoAntiquot___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkColGeFn(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__5___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_prattParser___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__18; LEAN_EXPORT lean_object* l_Lean_Parser_nodeWithAntiquot(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_whitespace___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkErrorAt(lean_object*, lean_object*, lean_object*, lean_object*); @@ -724,6 +727,7 @@ static lean_object* l_Lean_Parser_fieldIdxFn___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepNewError___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_trailingLoop___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__8___rarg(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1; LEAN_EXPORT lean_object* l_Lean_Parser_sepByNoAntiquot___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__4___rarg___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_PrattParsingTables_trailingTable___default; @@ -733,6 +737,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkUnexpectedErrorAt(lean_obje LEAN_EXPORT lean_object* l_Lean_Parser_withoutForbidden___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_mergeOrElseErrors(lean_object*, lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_dbgTraceStateFn___closed__6; +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__16; LEAN_EXPORT lean_object* l_Lean_Parser_skip___elambda__1___rarg(lean_object*); uint8_t lean_nat_dec_le(lean_object*, lean_object*); uint8_t lean_usize_dec_le(size_t, size_t); @@ -748,7 +753,6 @@ static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__6; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__5(lean_object*); lean_object* l_Lean_Syntax_getArgs(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_dbgTraceState(lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__19; lean_object* l_Lean_Name_append(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_many1NoAntiquot(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_TokenCacheEntry_token___default; @@ -760,7 +764,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_numLitNoAntiquot; static lean_object* l_Lean_Parser_Error_instToStringError___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_TokenMap_instEmptyCollectionTokenMap(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_orelseInfo___elambda__1(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358_(uint8_t, uint8_t); +LEAN_EXPORT uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195_(uint8_t, uint8_t); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__8(lean_object*); uint8_t l_Lean_RBNode_isRed___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_errorAtSavedPos(lean_object*, uint8_t); @@ -779,7 +783,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_notFollowedBy___elambda__1(lean_object*, LEAN_EXPORT lean_object* l_Lean_Parser_satisfySymbolFn(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_symbolInfo(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkStackTop(lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__9; lean_object* l_String_decLt___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedPrattParsingTables; LEAN_EXPORT lean_object* l_Lean_Parser_eoiFn(lean_object*, lean_object*); @@ -790,10 +793,12 @@ static lean_object* l_Lean_Parser_strLitFnAux___closed__2; LEAN_EXPORT lean_object* l_List_toString___at_Lean_Parser_FirstTokens_toStr___spec__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__4___rarg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_epsilonInfo___closed__3; +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_nonReservedSymbolInfo___elambda__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_sepByNoAntiquot___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParser; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__3___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__10; LEAN_EXPORT lean_object* l_Lean_Parser_categoryParser___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_andthen___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_decQuotDepth___elambda__1___closed__1; @@ -842,6 +847,7 @@ static lean_object* l_Lean_Parser_epsilonInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_checkPrec___elambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_manyAux___lambda__3(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkPrec(lean_object*); +static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__13; static lean_object* l_Lean_Parser_checkNoImmediateColon___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_sepBy1NoAntiquot(lean_object*, lean_object*, uint8_t); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserFn___rarg(lean_object*); @@ -873,7 +879,6 @@ LEAN_EXPORT lean_object* l_Lean_Parser_OrElseOnAntiquotBehavior_toCtorIdx(uint8_ static lean_object* l_Lean_Parser_instInhabitedInputContext___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_strAux_parse___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); uint8_t l_Lean_isIdFirst(uint32_t); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__13; LEAN_EXPORT lean_object* l_Lean_Parser_incQuotDepth___elambda__1(lean_object*, lean_object*, lean_object*); uint8_t l_Lean_Syntax_isOfKind(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_withAntiquot___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -888,12 +893,11 @@ static lean_object* l_Lean_Parser_charLitFn___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_many1Unbox(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_sepByInfo___elambda__2(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkColGt(lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__4; static lean_object* l_Lean_Parser_symbolInfo___closed__1; LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__3(lean_object*); static lean_object* l_Lean_Parser_mkAntiquot___closed__6; -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860_(lean_object*); -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722_(lean_object*); LEAN_EXPORT uint8_t l_Lean_Parser_instInhabitedLeadingIdentBehavior; LEAN_EXPORT lean_object* l_Lean_Parser_mkAntiquot(lean_object*, lean_object*, uint8_t, uint8_t); static lean_object* l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1; @@ -902,6 +906,7 @@ LEAN_EXPORT lean_object* l_Lean_Parser_decimalNumberFn_parseOptExp(lean_object*, LEAN_EXPORT lean_object* l_Lean_Parser_leadingNode(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserInfo___lambda__2(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_trailingLoop___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +lean_object* l_lexOrd___elambda__1___rarg(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Parser_TokenMap_insert___spec__3(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserInfo_collectTokens___default(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_toErrorMsg(lean_object*, lean_object*); @@ -914,7 +919,6 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Parser_TokenMap_insert___sp LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Parser_indexed___spec__7(lean_object*); static lean_object* l_Lean_Parser_Error_toString___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_stackSize(lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__11; LEAN_EXPORT lean_object* l_Lean_Parser_fieldIdx; lean_object* l_Lean_Syntax_getArg(lean_object*, lean_object*); static lean_object* l_Lean_Parser_antiquotNestedExpr___closed__10; @@ -941,14 +945,14 @@ LEAN_EXPORT lean_object* l_Lean_Parser_finishCommentBlock_eoi(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_orelse___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_epsilonInfo___elambda__2___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_withResultOfInfo___elambda__1(lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__6; LEAN_EXPORT lean_object* l_Lean_Parser_andthen(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_node(lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____closed__1; static lean_object* l_Lean_Parser_mkAntiquot___closed__8; uint8_t l_List_isEmpty___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_unicodeSymbolInfo(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_identNoAntiquot; -LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError___boxed(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_strAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_instInhabitedParserFn(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_unicodeSymbolNoAntiquot(lean_object*, lean_object*); @@ -960,6 +964,7 @@ LEAN_EXPORT lean_object* l_Lean_RBNode_ins___at_Lean_Parser_TokenMap_insert___sp LEAN_EXPORT lean_object* l_Lean_Parser_mkTokenAndFixPos(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_mkAtomicInfo___elambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_FirstTokens_toOptional(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____lambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkWsBefore___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mkUnexpectedError(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkTailLinebreak___boxed(lean_object*); @@ -978,11 +983,12 @@ LEAN_EXPORT lean_object* l_Lean_Parser_rawFn___boxed(lean_object*, lean_object*, LEAN_EXPORT lean_object* l_Lean_Parser_categoryParserOfStackFn(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_nameLitFn___closed__3; static lean_object* l_Lean_Parser_charLitFnAux___closed__3; -LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkWsBefore___elambda__1___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserCategory_kinds___default; LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_sepByFnAux_parse___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PersistentHashMap_insertAux_traverse___at_Lean_Parser_SyntaxNodeKindSet_insert___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1(lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_TokenCacheEntry_stopPos___default; static lean_object* l_Lean_Parser_indexed___rarg___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_setExpected___elambda__1(lean_object*, lean_object*, lean_object*, lean_object*); @@ -991,7 +997,6 @@ LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_tokenFnAux LEAN_EXPORT lean_object* l_Lean_Parser_sepBy1NoAntiquot___elambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_tokenWithAntiquot___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_hexNumberFn___lambda__1___boxed(lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__8; uint8_t lean_string_utf8_at_end(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_replaceLongest___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_longestMatchStep___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -1019,12 +1024,12 @@ static lean_object* l_Lean_Parser_fieldIdxFn___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_orelseFnCore___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_unicodeSymbolFnAux(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Syntax_formatStxAux(lean_object*, uint8_t, lean_object*, lean_object*); +static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____closed__1; static lean_object* l_Lean_Parser_categoryParserFn___closed__3; LEAN_EXPORT lean_object* l_Lean_Parser_checkColGtFn___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_checkColEq___elambda__1(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_dbgTraceStateFn(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_sepBy1Info___elambda__1(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__1; static lean_object* l_Lean_Parser_mkAtomicInfo___closed__2; LEAN_EXPORT lean_object* l_Lean_Parser_sepBy___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Parser_suppressInsideQuot___elambda__1(lean_object*, lean_object*, lean_object*); @@ -13292,53 +13297,54 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5) { _start: { -uint8_t x_5; -x_5 = !lean_is_exclusive(x_1); -if (x_5 == 0) +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) { -lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; -x_6 = lean_ctor_get(x_1, 0); -x_7 = lean_ctor_get(x_1, 4); -lean_dec(x_7); -x_8 = lean_ctor_get(x_1, 2); +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_ctor_get(x_1, 0); +x_8 = lean_ctor_get(x_1, 4); lean_dec(x_8); -x_9 = l_Array_shrink___rarg(x_6, x_2); +x_9 = lean_ctor_get(x_1, 2); +lean_dec(x_9); +x_10 = lean_ctor_get(x_1, 1); +lean_dec(x_10); +x_11 = l_Array_shrink___rarg(x_7, x_2); lean_ctor_set(x_1, 4, x_4); lean_ctor_set(x_1, 2, x_3); -lean_ctor_set(x_1, 0, x_9); +lean_ctor_set(x_1, 1, x_5); +lean_ctor_set(x_1, 0, x_11); return x_1; } else { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; -x_10 = lean_ctor_get(x_1, 0); -x_11 = lean_ctor_get(x_1, 1); -x_12 = lean_ctor_get(x_1, 3); +lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; +x_12 = lean_ctor_get(x_1, 0); +x_13 = lean_ctor_get(x_1, 3); +lean_inc(x_13); lean_inc(x_12); -lean_inc(x_11); -lean_inc(x_10); lean_dec(x_1); -x_13 = l_Array_shrink___rarg(x_10, x_2); -x_14 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_14, 0, x_13); -lean_ctor_set(x_14, 1, x_11); -lean_ctor_set(x_14, 2, x_3); -lean_ctor_set(x_14, 3, x_12); -lean_ctor_set(x_14, 4, x_4); -return x_14; +x_14 = l_Array_shrink___rarg(x_12, x_2); +x_15 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_15, 0, x_14); +lean_ctor_set(x_15, 1, x_5); +lean_ctor_set(x_15, 2, x_3); +lean_ctor_set(x_15, 3, x_13); +lean_ctor_set(x_15, 4, x_4); +return x_15; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_keepPrevError___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_Parser_ParserState_keepPrevError(x_1, x_2, x_3, x_4); +lean_object* x_6; +x_6 = l_Lean_Parser_ParserState_keepPrevError(x_1, x_2, x_3, x_4, x_5); lean_dec(x_2); -return x_5; +return x_6; } } LEAN_EXPORT lean_object* l_Lean_Parser_ParserState_mergeErrors(lean_object* x_1, lean_object* x_2, lean_object* x_3) { @@ -13709,515 +13715,303 @@ lean_dec(x_3); return x_6; } } +static lean_object* _init_l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1() { +_start: +{ +lean_object* x_1; +x_1 = lean_alloc_closure((void*)(l_instOrdNat___boxed), 2, 0); +return x_1; +} +} +static lean_object* _init_l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__2() { +_start: +{ +lean_object* x_1; lean_object* x_2; +x_1 = l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1; +x_2 = lean_alloc_closure((void*)(l_lexOrd___elambda__1___rarg), 4, 2); +lean_closure_set(x_2, 0, x_1); +lean_closure_set(x_2, 1, x_1); +return x_2; +} +} +static lean_object* _init_l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1() { +_start: +{ +lean_object* x_1; +x_1 = l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__2; +return x_1; +} +} LEAN_EXPORT lean_object* l_Lean_Parser_longestMatchStep(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8, lean_object* x_9) { _start: { -lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; -x_10 = lean_ctor_get(x_9, 1); +lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; +x_10 = lean_ctor_get(x_9, 2); lean_inc(x_10); -x_11 = lean_ctor_get(x_9, 2); +x_11 = lean_ctor_get(x_9, 4); lean_inc(x_11); -x_12 = lean_ctor_get(x_9, 4); -lean_inc(x_12); -x_13 = l_Lean_Parser_ParserState_stackSize(x_9); -x_14 = l_Lean_Parser_ParserState_restore(x_9, x_13, x_4); +x_12 = l_Lean_Parser_ParserState_stackSize(x_9); +x_13 = lean_ctor_get(x_9, 1); +lean_inc(x_13); +x_14 = l_Lean_Parser_ParserState_restore(x_9, x_12, x_4); x_15 = l_Lean_Parser_runLongestMatchParser(x_1, x_3, x_7, x_8, x_14); -if (lean_obj_tag(x_12) == 0) -{ -lean_object* x_16; -x_16 = lean_ctor_get(x_15, 4); +x_16 = lean_ctor_get(x_15, 2); lean_inc(x_16); -if (lean_obj_tag(x_16) == 0) -{ -lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; uint8_t x_72; -x_17 = lean_ctor_get(x_15, 0); +x_17 = lean_ctor_get(x_15, 4); lean_inc(x_17); -x_18 = lean_ctor_get(x_15, 1); -lean_inc(x_18); -x_19 = lean_ctor_get(x_15, 2); -lean_inc(x_19); -x_20 = lean_ctor_get(x_15, 3); -lean_inc(x_20); -x_72 = lean_nat_dec_lt(x_11, x_19); -if (x_72 == 0) -{ -uint8_t x_73; -x_73 = lean_nat_dec_eq(x_19, x_11); -if (x_73 == 0) +if (lean_obj_tag(x_11) == 0) { lean_object* x_74; -x_74 = lean_box(0); -x_21 = x_74; -goto block_71; +x_74 = lean_unsigned_to_nat(1u); +x_18 = x_74; +goto block_73; } else { -uint8_t x_75; -x_75 = lean_nat_dec_lt(x_5, x_6); -if (x_75 == 0) -{ -lean_object* x_76; -x_76 = lean_box(0); -x_21 = x_76; -goto block_71; +lean_object* x_75; +x_75 = lean_unsigned_to_nat(0u); +x_18 = x_75; +goto block_73; } -else +block_73: { -lean_object* x_77; lean_object* x_78; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -x_77 = l_Lean_Parser_ParserState_keepLatest(x_15, x_2); -x_78 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_78, 0, x_77); -lean_ctor_set(x_78, 1, x_6); -return x_78; -} -} -} -else +lean_object* x_19; lean_object* x_20; +lean_inc(x_5); +x_19 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_19, 0, x_18); +lean_ctor_set(x_19, 1, x_5); +lean_inc(x_10); +x_20 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_20, 0, x_10); +lean_ctor_set(x_20, 1, x_19); +if (lean_obj_tag(x_17) == 0) { -lean_object* x_79; lean_object* x_80; -lean_dec(x_20); -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_10); -lean_dec(x_5); -x_79 = l_Lean_Parser_ParserState_keepLatest(x_15, x_2); -x_80 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_80, 1, x_6); -return x_80; -} -block_71: -{ -uint8_t x_22; -lean_dec(x_21); -x_22 = lean_nat_dec_lt(x_19, x_11); -if (x_22 == 0) -{ -uint8_t x_23; -x_23 = lean_nat_dec_eq(x_19, x_11); -if (x_23 == 0) -{ -uint8_t x_24; -lean_dec(x_13); -lean_dec(x_11); -lean_dec(x_5); -x_24 = !lean_is_exclusive(x_15); -if (x_24 == 0) -{ -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; -x_25 = lean_ctor_get(x_15, 4); -lean_dec(x_25); -x_26 = lean_ctor_get(x_15, 3); +lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; uint8_t x_27; +x_21 = lean_unsigned_to_nat(1u); +lean_inc(x_6); +x_22 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_6); +lean_inc(x_16); +x_23 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_23, 0, x_16); +lean_ctor_set(x_23, 1, x_22); +x_24 = l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1; +x_25 = l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1; +x_26 = l_lexOrd___elambda__1___rarg(x_24, x_25, x_20, x_23); +x_27 = lean_unbox(x_26); lean_dec(x_26); -x_27 = lean_ctor_get(x_15, 2); -lean_dec(x_27); -x_28 = lean_ctor_get(x_15, 1); -lean_dec(x_28); -x_29 = lean_ctor_get(x_15, 0); -lean_dec(x_29); -x_30 = l_Nat_min(x_18, x_10); -lean_dec(x_10); -lean_dec(x_18); -lean_ctor_set(x_15, 1, x_30); -x_31 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_31, 0, x_15); -lean_ctor_set(x_31, 1, x_6); -return x_31; -} -else +switch (x_27) { +case 0: { -lean_object* x_32; lean_object* x_33; lean_object* x_34; -lean_dec(x_15); -x_32 = l_Nat_min(x_18, x_10); -lean_dec(x_10); -lean_dec(x_18); -x_33 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_33, 0, x_17); -lean_ctor_set(x_33, 1, x_32); -lean_ctor_set(x_33, 2, x_19); -lean_ctor_set(x_33, 3, x_20); -lean_ctor_set(x_33, 4, x_16); -x_34 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_34, 0, x_33); -lean_ctor_set(x_34, 1, x_6); -return x_34; -} -} -else -{ -uint8_t x_35; -x_35 = lean_nat_dec_lt(x_6, x_5); -if (x_35 == 0) -{ -uint8_t x_36; +lean_object* x_28; lean_object* x_29; +lean_dec(x_16); lean_dec(x_13); +lean_dec(x_12); lean_dec(x_11); -lean_dec(x_5); -x_36 = !lean_is_exclusive(x_15); -if (x_36 == 0) -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; -x_37 = lean_ctor_get(x_15, 4); -lean_dec(x_37); -x_38 = lean_ctor_get(x_15, 3); -lean_dec(x_38); -x_39 = lean_ctor_get(x_15, 2); -lean_dec(x_39); -x_40 = lean_ctor_get(x_15, 1); -lean_dec(x_40); -x_41 = lean_ctor_get(x_15, 0); -lean_dec(x_41); -x_42 = l_Nat_min(x_18, x_10); lean_dec(x_10); -lean_dec(x_18); -lean_ctor_set(x_15, 1, x_42); -x_43 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_43, 0, x_15); -lean_ctor_set(x_43, 1, x_6); -return x_43; +lean_dec(x_5); +x_28 = l_Lean_Parser_ParserState_keepNewError(x_15, x_2); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_6); +return x_29; +} +case 1: +{ +lean_dec(x_10); +lean_dec(x_5); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +lean_dec(x_12); +x_30 = lean_ctor_get(x_15, 0); +lean_inc(x_30); +x_31 = lean_ctor_get(x_15, 1); +lean_inc(x_31); +x_32 = l_Nat_min(x_31, x_13); +lean_dec(x_13); +lean_dec(x_31); +x_33 = !lean_is_exclusive(x_15); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; +x_34 = lean_ctor_get(x_15, 4); +lean_dec(x_34); +x_35 = lean_ctor_get(x_15, 2); +lean_dec(x_35); +x_36 = lean_ctor_get(x_15, 1); +lean_dec(x_36); +x_37 = lean_ctor_get(x_15, 0); +lean_dec(x_37); +lean_ctor_set(x_15, 1, x_32); +x_38 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_38, 0, x_15); +lean_ctor_set(x_38, 1, x_6); +return x_38; } else { -lean_object* x_44; lean_object* x_45; lean_object* x_46; +lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_39 = lean_ctor_get(x_15, 3); +lean_inc(x_39); lean_dec(x_15); -x_44 = l_Nat_min(x_18, x_10); -lean_dec(x_10); -lean_dec(x_18); -x_45 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_45, 0, x_17); -lean_ctor_set(x_45, 1, x_44); -lean_ctor_set(x_45, 2, x_19); -lean_ctor_set(x_45, 3, x_20); -lean_ctor_set(x_45, 4, x_16); +x_40 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_40, 0, x_30); +lean_ctor_set(x_40, 1, x_32); +lean_ctor_set(x_40, 2, x_16); +lean_ctor_set(x_40, 3, x_39); +lean_ctor_set(x_40, 4, x_17); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_6); +return x_41; +} +} +else +{ +lean_object* x_42; lean_object* x_43; lean_object* x_44; +lean_dec(x_16); +lean_dec(x_13); +x_42 = lean_ctor_get(x_11, 0); +lean_inc(x_42); +lean_dec(x_11); +x_43 = l_Lean_Parser_ParserState_mergeErrors(x_15, x_12, x_42); +lean_dec(x_12); +x_44 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_44, 0, x_43); +lean_ctor_set(x_44, 1, x_6); +return x_44; +} +} +default: +{ +lean_object* x_45; lean_object* x_46; +lean_dec(x_16); +lean_dec(x_6); +x_45 = l_Lean_Parser_ParserState_keepPrevError(x_15, x_12, x_10, x_11, x_13); +lean_dec(x_12); x_46 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_46, 1, x_6); +lean_ctor_set(x_46, 1, x_5); return x_46; } } +} else { -lean_object* x_47; uint8_t x_48; -lean_dec(x_19); -lean_dec(x_18); -lean_dec(x_17); -lean_dec(x_6); -lean_inc(x_11); -x_47 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_11); -lean_dec(x_13); -x_48 = !lean_is_exclusive(x_47); -if (x_48 == 0) -{ -lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; -x_49 = lean_ctor_get(x_47, 4); -lean_dec(x_49); -x_50 = lean_ctor_get(x_47, 3); -lean_dec(x_50); -x_51 = lean_ctor_get(x_47, 2); -lean_dec(x_51); -x_52 = lean_ctor_get(x_47, 1); +lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; uint8_t x_53; +x_47 = lean_unsigned_to_nat(0u); +lean_inc(x_6); +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_6); +lean_inc(x_16); +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_16); +lean_ctor_set(x_49, 1, x_48); +x_50 = l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1; +x_51 = l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1; +x_52 = l_lexOrd___elambda__1___rarg(x_50, x_51, x_20, x_49); +x_53 = lean_unbox(x_52); lean_dec(x_52); -x_53 = lean_box(0); -lean_ctor_set(x_47, 4, x_53); -lean_ctor_set(x_47, 3, x_20); -lean_ctor_set(x_47, 2, x_11); -lean_ctor_set(x_47, 1, x_10); -x_54 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_54, 0, x_47); -lean_ctor_set(x_54, 1, x_5); -return x_54; -} -else +switch (x_53) { +case 0: { -lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; -x_55 = lean_ctor_get(x_47, 0); -lean_inc(x_55); -lean_dec(x_47); -x_56 = lean_box(0); -x_57 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_57, 0, x_55); -lean_ctor_set(x_57, 1, x_10); -lean_ctor_set(x_57, 2, x_11); -lean_ctor_set(x_57, 3, x_20); -lean_ctor_set(x_57, 4, x_56); -x_58 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_58, 0, x_57); -lean_ctor_set(x_58, 1, x_5); -return x_58; -} -} -} -} -else -{ -lean_object* x_59; uint8_t x_60; -lean_dec(x_19); -lean_dec(x_18); +lean_object* x_54; lean_object* x_55; lean_dec(x_17); -lean_dec(x_6); -lean_inc(x_11); -x_59 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_11); +lean_dec(x_16); lean_dec(x_13); -x_60 = !lean_is_exclusive(x_59); -if (x_60 == 0) +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_10); +lean_dec(x_5); +x_54 = l_Lean_Parser_ParserState_keepNewError(x_15, x_2); +x_55 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_55, 0, x_54); +lean_ctor_set(x_55, 1, x_6); +return x_55; +} +case 1: { -lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; -x_61 = lean_ctor_get(x_59, 4); +lean_dec(x_10); +lean_dec(x_5); +if (lean_obj_tag(x_11) == 0) +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; uint8_t x_59; +lean_dec(x_12); +x_56 = lean_ctor_get(x_15, 0); +lean_inc(x_56); +x_57 = lean_ctor_get(x_15, 1); +lean_inc(x_57); +x_58 = l_Nat_min(x_57, x_13); +lean_dec(x_13); +lean_dec(x_57); +x_59 = !lean_is_exclusive(x_15); +if (x_59 == 0) +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; +x_60 = lean_ctor_get(x_15, 4); +lean_dec(x_60); +x_61 = lean_ctor_get(x_15, 2); lean_dec(x_61); -x_62 = lean_ctor_get(x_59, 3); +x_62 = lean_ctor_get(x_15, 1); lean_dec(x_62); -x_63 = lean_ctor_get(x_59, 2); +x_63 = lean_ctor_get(x_15, 0); lean_dec(x_63); -x_64 = lean_ctor_get(x_59, 1); -lean_dec(x_64); -x_65 = lean_box(0); -lean_ctor_set(x_59, 4, x_65); -lean_ctor_set(x_59, 3, x_20); -lean_ctor_set(x_59, 2, x_11); -lean_ctor_set(x_59, 1, x_10); -x_66 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_66, 0, x_59); -lean_ctor_set(x_66, 1, x_5); -return x_66; +lean_ctor_set(x_15, 1, x_58); +x_64 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_64, 0, x_15); +lean_ctor_set(x_64, 1, x_6); +return x_64; } else { -lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; -x_67 = lean_ctor_get(x_59, 0); -lean_inc(x_67); -lean_dec(x_59); -x_68 = lean_box(0); -x_69 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_69, 0, x_67); -lean_ctor_set(x_69, 1, x_10); -lean_ctor_set(x_69, 2, x_11); -lean_ctor_set(x_69, 3, x_20); -lean_ctor_set(x_69, 4, x_68); +lean_object* x_65; lean_object* x_66; lean_object* x_67; +x_65 = lean_ctor_get(x_15, 3); +lean_inc(x_65); +lean_dec(x_15); +x_66 = lean_alloc_ctor(0, 5, 0); +lean_ctor_set(x_66, 0, x_56); +lean_ctor_set(x_66, 1, x_58); +lean_ctor_set(x_66, 2, x_16); +lean_ctor_set(x_66, 3, x_65); +lean_ctor_set(x_66, 4, x_17); +x_67 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_67, 0, x_66); +lean_ctor_set(x_67, 1, x_6); +return x_67; +} +} +else +{ +lean_object* x_68; lean_object* x_69; lean_object* x_70; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_13); +x_68 = lean_ctor_get(x_11, 0); +lean_inc(x_68); +lean_dec(x_11); +x_69 = l_Lean_Parser_ParserState_mergeErrors(x_15, x_12, x_68); +lean_dec(x_12); x_70 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_70, 0, x_69); -lean_ctor_set(x_70, 1, x_5); +lean_ctor_set(x_70, 1, x_6); return x_70; } } -} -} -else +default: { -lean_object* x_81; lean_object* x_82; uint8_t x_83; +lean_object* x_71; lean_object* x_72; +lean_dec(x_17); lean_dec(x_16); lean_dec(x_6); -x_81 = lean_ctor_get(x_15, 3); -lean_inc(x_81); -lean_inc(x_11); -x_82 = l_Lean_Parser_ParserState_restore(x_15, x_13, x_11); -lean_dec(x_13); -x_83 = !lean_is_exclusive(x_82); -if (x_83 == 0) -{ -lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; -x_84 = lean_ctor_get(x_82, 4); -lean_dec(x_84); -x_85 = lean_ctor_get(x_82, 3); -lean_dec(x_85); -x_86 = lean_ctor_get(x_82, 2); -lean_dec(x_86); -x_87 = lean_ctor_get(x_82, 1); -lean_dec(x_87); -x_88 = lean_box(0); -lean_ctor_set(x_82, 4, x_88); -lean_ctor_set(x_82, 3, x_81); -lean_ctor_set(x_82, 2, x_11); -lean_ctor_set(x_82, 1, x_10); -x_89 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_89, 0, x_82); -lean_ctor_set(x_89, 1, x_5); -return x_89; -} -else -{ -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; -x_90 = lean_ctor_get(x_82, 0); -lean_inc(x_90); -lean_dec(x_82); -x_91 = lean_box(0); -x_92 = lean_alloc_ctor(0, 5, 0); -lean_ctor_set(x_92, 0, x_90); -lean_ctor_set(x_92, 1, x_10); -lean_ctor_set(x_92, 2, x_11); -lean_ctor_set(x_92, 3, x_81); -lean_ctor_set(x_92, 4, x_91); -x_93 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_93, 0, x_92); -lean_ctor_set(x_93, 1, x_5); -return x_93; -} -} -} -else -{ -lean_object* x_94; -lean_dec(x_10); -x_94 = lean_ctor_get(x_15, 4); -lean_inc(x_94); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; -lean_dec(x_13); +x_71 = l_Lean_Parser_ParserState_keepPrevError(x_15, x_12, x_10, x_11, x_13); lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -x_95 = lean_ctor_get(x_15, 0); -lean_inc(x_95); -x_96 = l_Lean_instInhabitedSyntax; -x_97 = l_Array_back___rarg(x_96, x_95); -lean_dec(x_95); -x_98 = l_Lean_Parser_ParserState_shrinkStack(x_15, x_2); -x_99 = l_Lean_Parser_ParserState_pushSyntax(x_98, x_97); -x_100 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_100, 0, x_99); -lean_ctor_set(x_100, 1, x_6); -return x_100; -} -else -{ -lean_object* x_101; lean_object* x_102; lean_object* x_103; uint8_t x_116; -lean_dec(x_94); -x_101 = lean_ctor_get(x_15, 2); -lean_inc(x_101); -x_102 = lean_ctor_get(x_12, 0); -lean_inc(x_102); -x_116 = lean_nat_dec_lt(x_11, x_101); -if (x_116 == 0) -{ -uint8_t x_117; -x_117 = lean_nat_dec_eq(x_101, x_11); -if (x_117 == 0) -{ -lean_object* x_118; -x_118 = lean_box(0); -x_103 = x_118; -goto block_115; -} -else -{ -uint8_t x_119; -x_119 = lean_nat_dec_lt(x_5, x_6); -if (x_119 == 0) -{ -lean_object* x_120; -x_120 = lean_box(0); -x_103 = x_120; -goto block_115; -} -else -{ -lean_object* x_121; lean_object* x_122; -lean_dec(x_102); -lean_dec(x_101); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -x_121 = l_Lean_Parser_ParserState_keepNewError(x_15, x_2); -x_122 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_122, 0, x_121); -lean_ctor_set(x_122, 1, x_6); -return x_122; -} -} -} -else -{ -lean_object* x_123; lean_object* x_124; -lean_dec(x_102); -lean_dec(x_101); -lean_dec(x_13); -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -x_123 = l_Lean_Parser_ParserState_keepNewError(x_15, x_2); -x_124 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_124, 0, x_123); -lean_ctor_set(x_124, 1, x_6); -return x_124; -} -block_115: -{ -uint8_t x_104; -lean_dec(x_103); -x_104 = lean_nat_dec_lt(x_101, x_11); -if (x_104 == 0) -{ -uint8_t x_105; -x_105 = lean_nat_dec_eq(x_101, x_11); -lean_dec(x_101); -if (x_105 == 0) -{ -lean_object* x_106; lean_object* x_107; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -x_106 = l_Lean_Parser_ParserState_mergeErrors(x_15, x_13, x_102); -lean_dec(x_13); -x_107 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_107, 0, x_106); -lean_ctor_set(x_107, 1, x_6); -return x_107; -} -else -{ -uint8_t x_108; -x_108 = lean_nat_dec_lt(x_6, x_5); -if (x_108 == 0) -{ -lean_object* x_109; lean_object* x_110; -lean_dec(x_12); -lean_dec(x_11); -lean_dec(x_5); -x_109 = l_Lean_Parser_ParserState_mergeErrors(x_15, x_13, x_102); -lean_dec(x_13); -x_110 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_110, 1, x_6); -return x_110; -} -else -{ -lean_object* x_111; lean_object* x_112; -lean_dec(x_102); -lean_dec(x_6); -x_111 = l_Lean_Parser_ParserState_keepPrevError(x_15, x_13, x_11, x_12); -lean_dec(x_13); -x_112 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_112, 1, x_5); -return x_112; -} -} -} -else -{ -lean_object* x_113; lean_object* x_114; -lean_dec(x_102); -lean_dec(x_101); -lean_dec(x_6); -x_113 = l_Lean_Parser_ParserState_keepPrevError(x_15, x_13, x_11, x_12); -lean_dec(x_13); -x_114 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_114, 0, x_113); -lean_ctor_set(x_114, 1, x_5); -return x_114; +x_72 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_72, 0, x_71); +lean_ctor_set(x_72, 1, x_5); +return x_72; } } } @@ -25142,7 +24936,7 @@ x_1 = 0; return x_1; } } -LEAN_EXPORT uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358_(uint8_t x_1, uint8_t x_2) { +LEAN_EXPORT uint8_t l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195_(uint8_t x_1, uint8_t x_2) { _start: { lean_object* x_3; lean_object* x_4; uint8_t x_5; @@ -25154,7 +24948,7 @@ lean_dec(x_3); return x_5; } } -LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; uint8_t x_4; uint8_t x_5; lean_object* x_6; @@ -25162,7 +24956,7 @@ x_3 = lean_unbox(x_1); lean_dec(x_1); x_4 = lean_unbox(x_2); lean_dec(x_2); -x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358_(x_3, x_4); +x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195_(x_3, x_4); x_6 = lean_box(x_5); return x_6; } @@ -25171,7 +24965,7 @@ static lean_object* _init_l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1( _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9358____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_beqLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9195____boxed), 2, 0); return x_1; } } @@ -25183,7 +24977,7 @@ x_1 = l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__1() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__1() { _start: { lean_object* x_1; @@ -25191,17 +24985,17 @@ x_1 = lean_mk_string_from_bytes("Lean.Parser.LeadingIdentBehavior.default", 40); return x_1; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__2() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__1; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__1; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3() { _start: { lean_object* x_1; lean_object* x_2; @@ -25210,23 +25004,23 @@ x_2 = lean_nat_to_int(x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__4() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__4() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3; -x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__2; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__5() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__5() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__4; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__4; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -25234,23 +25028,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__6() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__6() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_incQuotDepth___elambda__1___closed__1; -x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__2; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__2; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__7() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__7() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__6; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__6; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -25258,7 +25052,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__8() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__8() { _start: { lean_object* x_1; @@ -25266,33 +25060,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Parser.LeadingIdentBehavior.symbol", 39); return x_1; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__9() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__9() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__8; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__8; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__10() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__10() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3; -x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__9; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__9; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__11() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__11() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__10; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__10; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -25300,23 +25094,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__12() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__12() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_incQuotDepth___elambda__1___closed__1; -x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__9; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__9; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__13() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__13() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__12; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__12; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -25324,7 +25118,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__14() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__14() { _start: { lean_object* x_1; @@ -25332,33 +25126,33 @@ x_1 = lean_mk_string_from_bytes("Lean.Parser.LeadingIdentBehavior.both", 37); return x_1; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__15() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__15() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__14; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__14; x_2 = lean_alloc_ctor(2, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__16() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__16() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3; -x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__15; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__15; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__17() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__17() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__16; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__16; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -25366,23 +25160,23 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__18() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__18() { _start: { lean_object* x_1; lean_object* x_2; lean_object* x_3; x_1 = l_Lean_Parser_incQuotDepth___elambda__1___closed__1; -x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__15; +x_2 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__15; x_3 = lean_alloc_ctor(3, 2, 0); lean_ctor_set(x_3, 0, x_1); lean_ctor_set(x_3, 1, x_2); return x_3; } } -static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__19() { +static lean_object* _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__19() { _start: { lean_object* x_1; uint8_t x_2; lean_object* x_3; -x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__18; +x_1 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__18; x_2 = 0; x_3 = lean_alloc_ctor(5, 1, 1); lean_ctor_set(x_3, 0, x_1); @@ -25390,7 +25184,7 @@ lean_ctor_set_uint8(x_3, sizeof(void*)*1, x_2); return x_3; } } -LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374_(uint8_t x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211_(uint8_t x_1, lean_object* x_2) { _start: { switch (x_1) { @@ -25402,14 +25196,14 @@ x_4 = lean_nat_dec_le(x_3, x_2); if (x_4 == 0) { lean_object* x_5; lean_object* x_6; -x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__5; +x_5 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__5; x_6 = l_Repr_addAppParen(x_5, x_2); return x_6; } else { lean_object* x_7; lean_object* x_8; -x_7 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__7; +x_7 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__7; x_8 = l_Repr_addAppParen(x_7, x_2); return x_8; } @@ -25422,14 +25216,14 @@ x_10 = lean_nat_dec_le(x_9, x_2); if (x_10 == 0) { lean_object* x_11; lean_object* x_12; -x_11 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__11; +x_11 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__11; x_12 = l_Repr_addAppParen(x_11, x_2); return x_12; } else { lean_object* x_13; lean_object* x_14; -x_13 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__13; +x_13 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__13; x_14 = l_Repr_addAppParen(x_13, x_2); return x_14; } @@ -25442,14 +25236,14 @@ x_16 = lean_nat_dec_le(x_15, x_2); if (x_16 == 0) { lean_object* x_17; lean_object* x_18; -x_17 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__17; +x_17 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__17; x_18 = l_Repr_addAppParen(x_17, x_2); return x_18; } else { lean_object* x_19; lean_object* x_20; -x_19 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__19; +x_19 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__19; x_20 = l_Repr_addAppParen(x_19, x_2); return x_20; } @@ -25457,13 +25251,13 @@ return x_20; } } } -LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____boxed(lean_object* x_1, lean_object* x_2) { _start: { uint8_t x_3; lean_object* x_4; x_3 = lean_unbox(x_1); lean_dec(x_1); -x_4 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374_(x_3, x_2); +x_4 = l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211_(x_3, x_2); lean_dec(x_2); return x_4; } @@ -25472,7 +25266,7 @@ static lean_object* _init_l_Lean_Parser_instReprLeadingIdentBehavior___closed__1 _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____boxed), 2, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____boxed), 2, 0); return x_1; } } @@ -26540,7 +26334,7 @@ lean_dec(x_1); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; @@ -26548,19 +26342,19 @@ x_4 = l_Lean_Parser_whitespace(x_2, x_3); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____lambda__1___boxed), 3, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____lambda__1___boxed), 3, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____closed__1; x_3 = lean_st_mk_ref(x_2, x_1); x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) @@ -26582,16 +26376,16 @@ return x_7; } } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____lambda__1___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { lean_object* x_4; -x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____lambda__1(x_1, x_2, x_3); +x_4 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____lambda__1(x_1, x_2, x_3); lean_dec(x_1); return x_4; } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1___closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1___closed__1() { _start: { lean_object* x_1; @@ -26599,11 +26393,11 @@ x_1 = l_Lean_Parser_categoryParserFnRef; return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1___closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1___closed__1; x_3 = lean_st_ref_get(x_2, x_1); x_4 = !lean_is_exclusive(x_3); if (x_4 == 0) @@ -26625,19 +26419,19 @@ return x_7; } } } -static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____closed__1() { +static lean_object* _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____closed__1() { _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1), 1, 0); +x_1 = lean_alloc_closure((void*)(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1), 1, 0); return x_1; } } -LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; -x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____closed__1; +x_2 = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____closed__1; x_3 = l_Lean_EnvExtensionInterfaceUnsafe_registerExt___rarg(x_2, x_1); return x_3; } @@ -29866,6 +29660,12 @@ l_Lean_Parser_identEqFn___closed__1 = _init_l_Lean_Parser_identEqFn___closed__1( lean_mark_persistent(l_Lean_Parser_identEqFn___closed__1); l_Lean_Parser_invalidLongestMatchParser___closed__1 = _init_l_Lean_Parser_invalidLongestMatchParser___closed__1(); lean_mark_persistent(l_Lean_Parser_invalidLongestMatchParser___closed__1); +l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1 = _init_l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1(); +lean_mark_persistent(l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__1); +l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__2 = _init_l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__2(); +lean_mark_persistent(l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1___closed__2); +l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1 = _init_l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1(); +lean_mark_persistent(l_lexOrd___at_Lean_Parser_longestMatchStep___spec__1); l_Lean_Parser_longestMatchFn___closed__1 = _init_l_Lean_Parser_longestMatchFn___closed__1(); lean_mark_persistent(l_Lean_Parser_longestMatchFn___closed__1); l_Lean_Parser_anyOfFn___closed__1 = _init_l_Lean_Parser_anyOfFn___closed__1(); @@ -29899,44 +29699,44 @@ l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1 = _init_l_Lean_Parser_inst lean_mark_persistent(l_Lean_Parser_instBEqLeadingIdentBehavior___closed__1); l_Lean_Parser_instBEqLeadingIdentBehavior = _init_l_Lean_Parser_instBEqLeadingIdentBehavior(); lean_mark_persistent(l_Lean_Parser_instBEqLeadingIdentBehavior); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__1 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__1(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__1); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__2 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__2(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__2); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__3); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__4 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__4(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__4); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__5 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__5(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__5); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__6 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__6(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__6); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__7 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__7(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__7); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__8 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__8(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__8); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__9 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__9(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__9); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__10 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__10(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__10); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__11 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__11(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__11); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__12 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__12(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__12); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__13 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__13(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__13); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__14 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__14(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__14); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__15 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__15(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__15); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__16 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__16(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__16); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__17 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__17(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__17); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__18 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__18(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__18); -l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__19 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__19(); -lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9374____closed__19); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__1 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__1(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__1); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__2 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__2(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__2); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__3); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__4 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__4(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__4); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__5 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__5(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__5); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__6 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__6(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__6); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__7 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__7(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__7); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__8 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__8(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__8); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__9 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__9(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__9); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__10 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__10(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__10); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__11 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__11(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__11); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__12 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__12(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__12); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__13 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__13(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__13); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__14 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__14(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__14); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__15 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__15(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__15); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__16 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__16(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__16); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__17 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__17(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__17); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__18 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__18(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__18); +l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__19 = _init_l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__19(); +lean_mark_persistent(l___private_Lean_Parser_Basic_0__Lean_Parser_reprLeadingIdentBehavior____x40_Lean_Parser_Basic___hyg_9211____closed__19); l_Lean_Parser_instReprLeadingIdentBehavior___closed__1 = _init_l_Lean_Parser_instReprLeadingIdentBehavior___closed__1(); lean_mark_persistent(l_Lean_Parser_instReprLeadingIdentBehavior___closed__1); l_Lean_Parser_instReprLeadingIdentBehavior = _init_l_Lean_Parser_instReprLeadingIdentBehavior(); @@ -29951,18 +29751,18 @@ l_Lean_Parser_instInhabitedParserCategory = _init_l_Lean_Parser_instInhabitedPar lean_mark_persistent(l_Lean_Parser_instInhabitedParserCategory); l_Lean_Parser_indexed___rarg___closed__1 = _init_l_Lean_Parser_indexed___rarg___closed__1(); lean_mark_persistent(l_Lean_Parser_indexed___rarg___closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860____closed__1); -if (builtin) {res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9860_(lean_io_mk_world()); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697____closed__1); +if (builtin) {res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9697_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnRef); lean_dec_ref(res); -}l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1___closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1___closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____lambda__1___closed__1); -l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____closed__1(); -lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885____closed__1); -if (builtin) {res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9885_(lean_io_mk_world()); +}l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1___closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1___closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____lambda__1___closed__1); +l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____closed__1 = _init_l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____closed__1(); +lean_mark_persistent(l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722____closed__1); +if (builtin) {res = l_Lean_Parser_initFn____x40_Lean_Parser_Basic___hyg_9722_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_Parser_categoryParserFnExtension = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_Parser_categoryParserFnExtension); diff --git a/stage0/stdlib/Lean/Parser/Extra.c b/stage0/stdlib/Lean/Parser/Extra.c index f93d16f9b3..9272ea2598 100644 --- a/stage0/stdlib/Lean/Parser/Extra.c +++ b/stage0/stdlib/Lean/Parser/Extra.c @@ -125,7 +125,7 @@ static lean_object* l_Lean_Parser_antiquotNestedExpr_parenthesizer___closed__1; LEAN_EXPORT lean_object* l_Lean_Parser_sepByIndent___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Parser_termRegister__parser__alias_x28Kind_x3a_x3d___x29___________closed__24; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_Level_PP_Result_quote___spec__1(lean_object*, lean_object*); -lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l_Lean_Parser_initFn____x40_Lean_Parser_Extra___hyg_1740____closed__48; lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(lean_object*, lean_object*); static lean_object* l_Lean_Parser_termRegister__parser__alias_x28Kind_x3a_x3d___x29___________closed__33; @@ -6549,54 +6549,54 @@ lean_inc(x_16); x_17 = l_Lean_Macro_resolveGlobalName(x_16, x_6, x_7); if (lean_obj_tag(x_14) == 0) { -lean_object* x_231; -x_231 = lean_box(0); -x_18 = x_231; -goto block_230; +lean_object* x_232; +x_232 = lean_box(0); +x_18 = x_232; +goto block_231; } else { -uint8_t x_232; -x_232 = !lean_is_exclusive(x_14); -if (x_232 == 0) +uint8_t x_233; +x_233 = !lean_is_exclusive(x_14); +if (x_233 == 0) { x_18 = x_14; -goto block_230; +goto block_231; } else { -lean_object* x_233; lean_object* x_234; -x_233 = lean_ctor_get(x_14, 0); -lean_inc(x_233); +lean_object* x_234; lean_object* x_235; +x_234 = lean_ctor_get(x_14, 0); +lean_inc(x_234); lean_dec(x_14); -x_234 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_234, 0, x_233); -x_18 = x_234; -goto block_230; +x_235 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_235, 0, x_234); +x_18 = x_235; +goto block_231; } } -block_230: +block_231: { lean_object* x_19; lean_object* x_20; lean_object* x_21; if (lean_obj_tag(x_15) == 0) { if (lean_obj_tag(x_17) == 0) { -lean_object* x_212; lean_object* x_213; lean_object* x_214; -x_212 = lean_ctor_get(x_17, 0); -lean_inc(x_212); -x_213 = lean_ctor_get(x_17, 1); +lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_213 = lean_ctor_get(x_17, 0); lean_inc(x_213); +x_214 = lean_ctor_get(x_17, 1); +lean_inc(x_214); lean_dec(x_17); -x_214 = lean_box(0); -x_19 = x_214; -x_20 = x_212; -x_21 = x_213; -goto block_211; +x_215 = lean_box(0); +x_19 = x_215; +x_20 = x_213; +x_21 = x_214; +goto block_212; } else { -uint8_t x_215; +uint8_t x_216; lean_dec(x_18); lean_dec(x_16); lean_dec(x_11); @@ -6604,23 +6604,23 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_215 = !lean_is_exclusive(x_17); -if (x_215 == 0) +x_216 = !lean_is_exclusive(x_17); +if (x_216 == 0) { return x_17; } else { -lean_object* x_216; lean_object* x_217; lean_object* x_218; -x_216 = lean_ctor_get(x_17, 0); -x_217 = lean_ctor_get(x_17, 1); +lean_object* x_217; lean_object* x_218; lean_object* x_219; +x_217 = lean_ctor_get(x_17, 0); +x_218 = lean_ctor_get(x_17, 1); +lean_inc(x_218); lean_inc(x_217); -lean_inc(x_216); lean_dec(x_17); -x_218 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_218, 0, x_216); -lean_ctor_set(x_218, 1, x_217); -return x_218; +x_219 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_219, 0, x_217); +lean_ctor_set(x_219, 1, x_218); +return x_219; } } } @@ -6628,43 +6628,43 @@ else { if (lean_obj_tag(x_17) == 0) { -uint8_t x_219; -x_219 = !lean_is_exclusive(x_15); -if (x_219 == 0) +uint8_t x_220; +x_220 = !lean_is_exclusive(x_15); +if (x_220 == 0) { -lean_object* x_220; lean_object* x_221; -x_220 = lean_ctor_get(x_17, 0); -lean_inc(x_220); -x_221 = lean_ctor_get(x_17, 1); +lean_object* x_221; lean_object* x_222; +x_221 = lean_ctor_get(x_17, 0); lean_inc(x_221); +x_222 = lean_ctor_get(x_17, 1); +lean_inc(x_222); lean_dec(x_17); x_19 = x_15; -x_20 = x_220; -x_21 = x_221; -goto block_211; +x_20 = x_221; +x_21 = x_222; +goto block_212; } else { -lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; -x_222 = lean_ctor_get(x_15, 0); -lean_inc(x_222); -lean_dec(x_15); -x_223 = lean_ctor_get(x_17, 0); +lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; +x_223 = lean_ctor_get(x_15, 0); lean_inc(x_223); -x_224 = lean_ctor_get(x_17, 1); +lean_dec(x_15); +x_224 = lean_ctor_get(x_17, 0); lean_inc(x_224); +x_225 = lean_ctor_get(x_17, 1); +lean_inc(x_225); lean_dec(x_17); -x_225 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_225, 0, x_222); -x_19 = x_225; -x_20 = x_223; -x_21 = x_224; -goto block_211; +x_226 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_226, 0, x_223); +x_19 = x_226; +x_20 = x_224; +x_21 = x_225; +goto block_212; } } else { -uint8_t x_226; +uint8_t x_227; lean_dec(x_18); lean_dec(x_16); lean_dec(x_15); @@ -6673,27 +6673,27 @@ lean_dec(x_6); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_226 = !lean_is_exclusive(x_17); -if (x_226 == 0) +x_227 = !lean_is_exclusive(x_17); +if (x_227 == 0) { return x_17; } else { -lean_object* x_227; lean_object* x_228; lean_object* x_229; -x_227 = lean_ctor_get(x_17, 0); -x_228 = lean_ctor_get(x_17, 1); +lean_object* x_228; lean_object* x_229; lean_object* x_230; +x_228 = lean_ctor_get(x_17, 0); +x_229 = lean_ctor_get(x_17, 1); +lean_inc(x_229); lean_inc(x_228); -lean_inc(x_227); lean_dec(x_17); -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; +x_230 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_230, 0, x_228); +lean_ctor_set(x_230, 1, x_229); +return x_230; } } } -block_211: +block_212: { if (lean_obj_tag(x_20) == 0) { @@ -6736,29 +6736,29 @@ if (lean_obj_tag(x_25) == 0) { if (lean_obj_tag(x_19) == 0) { -uint8_t x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; -x_202 = 1; +uint8_t x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; +x_203 = 1; lean_inc(x_16); -x_203 = l_Lean_Name_toString(x_16, x_202); -x_204 = lean_box(2); -x_205 = l_Lean_Syntax_mkStrLit(x_203, x_204); -lean_dec(x_203); -x_29 = x_205; -goto block_201; -} -else -{ -lean_object* x_206; -x_206 = lean_ctor_get(x_19, 0); -lean_inc(x_206); -lean_dec(x_19); +x_204 = l_Lean_Name_toString(x_16, x_203); +x_205 = lean_box(2); +x_206 = l_Lean_Syntax_mkStrLit(x_204, x_205); +lean_dec(x_204); x_29 = x_206; -goto block_201; +goto block_202; +} +else +{ +lean_object* x_207; +x_207 = lean_ctor_get(x_19, 0); +lean_inc(x_207); +lean_dec(x_19); +x_29 = x_207; +goto block_202; } } else { -lean_object* x_207; lean_object* x_208; +lean_object* x_208; lean_object* x_209; lean_dec(x_27); lean_dec(x_26); lean_dec(x_25); @@ -6769,15 +6769,15 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_207 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__1; -x_208 = l_Lean_Macro_throwError___rarg(x_207, x_6, x_21); +x_208 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__1; +x_209 = l_Lean_Macro_throwError___rarg(x_208, x_6, x_21); lean_dec(x_6); -return x_208; +return x_209; } } else { -lean_object* x_209; lean_object* x_210; +lean_object* x_210; lean_object* x_211; lean_dec(x_28); lean_dec(x_27); lean_dec(x_26); @@ -6789,14 +6789,14 @@ lean_dec(x_11); lean_dec(x_5); lean_dec(x_3); lean_dec(x_2); -x_209 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__1; -x_210 = l_Lean_Macro_throwError___rarg(x_209, x_6, x_21); +x_210 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__1; +x_211 = l_Lean_Macro_throwError___rarg(x_210, x_6, x_21); lean_dec(x_6); -return x_210; +return x_211; } -block_201: +block_202: { -lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; uint8_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_inc(x_6); x_30 = l_Lean_MonadRef_mkInfoFromRefPos___at___aux__Init__Notation______macroRules__precMax__1___spec__1(x_6, x_21); x_31 = lean_ctor_get(x_30, 0); @@ -6989,138 +6989,139 @@ lean_ctor_set(x_116, 2, x_105); lean_ctor_set(x_116, 3, x_114); x_117 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__42; x_118 = l_Lean_Name_append(x_16, x_117); +x_119 = 0; lean_inc(x_11); -x_119 = l_Lean_mkIdentFrom(x_11, x_118); -x_120 = lean_array_push(x_90, x_29); -lean_inc(x_120); -x_121 = lean_array_push(x_120, x_119); +x_120 = l_Lean_mkIdentFrom(x_11, x_118, x_119); +x_121 = lean_array_push(x_90, x_29); +lean_inc(x_121); +x_122 = lean_array_push(x_121, x_120); lean_inc(x_31); -x_122 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_122, 0, x_31); -lean_ctor_set(x_122, 1, x_69); -lean_ctor_set(x_122, 2, x_121); -x_123 = lean_array_push(x_90, x_116); -x_124 = lean_array_push(x_123, x_122); +x_123 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_123, 0, x_31); +lean_ctor_set(x_123, 1, x_69); +lean_ctor_set(x_123, 2, x_122); +x_124 = lean_array_push(x_90, x_116); +x_125 = lean_array_push(x_124, x_123); lean_inc(x_48); lean_inc(x_31); -x_125 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_125, 0, x_31); -lean_ctor_set(x_125, 1, x_48); -lean_ctor_set(x_125, 2, x_124); -x_126 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__1___closed__11; -x_127 = lean_array_push(x_126, x_125); +x_126 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_126, 0, x_31); +lean_ctor_set(x_126, 1, x_48); +lean_ctor_set(x_126, 2, x_125); +x_127 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__1___closed__11; +x_128 = lean_array_push(x_127, x_126); lean_inc(x_46); lean_inc(x_31); -x_128 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_128, 0, x_31); -lean_ctor_set(x_128, 1, x_46); -lean_ctor_set(x_128, 2, x_127); -x_129 = lean_array_push(x_90, x_128); +x_129 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_129, 0, x_31); +lean_ctor_set(x_129, 1, x_46); +lean_ctor_set(x_129, 2, x_128); +x_130 = lean_array_push(x_90, x_129); lean_inc(x_103); -x_130 = lean_array_push(x_129, x_103); +x_131 = lean_array_push(x_130, x_103); lean_inc(x_44); lean_inc(x_31); -x_131 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_131, 0, x_31); -lean_ctor_set(x_131, 1, x_44); -lean_ctor_set(x_131, 2, x_130); -x_132 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__48; -x_133 = l_Lean_addMacroScope(x_35, x_132, x_34); -x_134 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__46; -x_135 = l_Lean_Name_str___override(x_107, x_134); -x_136 = l_Lean_Name_str___override(x_135, x_51); -lean_inc(x_136); -x_137 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_137, 0, x_136); -lean_ctor_set(x_137, 1, x_53); -x_138 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_138, 0, x_136); -x_139 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_139, 0, x_138); -lean_ctor_set(x_139, 1, x_53); +x_132 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_132, 0, x_31); +lean_ctor_set(x_132, 1, x_44); +lean_ctor_set(x_132, 2, x_131); +x_133 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__48; +x_134 = l_Lean_addMacroScope(x_35, x_133, x_34); +x_135 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__46; +x_136 = l_Lean_Name_str___override(x_107, x_135); +x_137 = l_Lean_Name_str___override(x_136, x_51); +lean_inc(x_137); +x_138 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_138, 0, x_137); +lean_ctor_set(x_138, 1, x_53); +x_139 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_139, 0, x_137); x_140 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_140, 0, x_137); -lean_ctor_set(x_140, 1, x_139); -x_141 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__45; +lean_ctor_set(x_140, 0, x_139); +lean_ctor_set(x_140, 1, x_53); +x_141 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_141, 0, x_138); +lean_ctor_set(x_141, 1, x_140); +x_142 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__45; lean_inc(x_31); -x_142 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_142, 0, x_31); -lean_ctor_set(x_142, 1, x_141); -lean_ctor_set(x_142, 2, x_133); -lean_ctor_set(x_142, 3, x_140); -x_143 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__49; -x_144 = l_Lean_Name_append(x_16, x_143); +x_143 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_143, 0, x_31); +lean_ctor_set(x_143, 1, x_142); +lean_ctor_set(x_143, 2, x_134); +lean_ctor_set(x_143, 3, x_141); +x_144 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__49; +x_145 = l_Lean_Name_append(x_16, x_144); lean_dec(x_16); -x_145 = l_Lean_mkIdentFrom(x_11, x_144); -x_146 = lean_array_push(x_120, x_145); +x_146 = l_Lean_mkIdentFrom(x_11, x_145, x_119); +x_147 = lean_array_push(x_121, x_146); lean_inc(x_31); -x_147 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_147, 0, x_31); -lean_ctor_set(x_147, 1, x_69); -lean_ctor_set(x_147, 2, x_146); -x_148 = lean_array_push(x_90, x_142); -x_149 = lean_array_push(x_148, x_147); +x_148 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_148, 0, x_31); +lean_ctor_set(x_148, 1, x_69); +lean_ctor_set(x_148, 2, x_147); +x_149 = lean_array_push(x_90, x_143); +x_150 = lean_array_push(x_149, x_148); lean_inc(x_48); lean_inc(x_31); -x_150 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_150, 0, x_31); -lean_ctor_set(x_150, 1, x_48); -lean_ctor_set(x_150, 2, x_149); -x_151 = lean_array_push(x_126, x_150); +x_151 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_151, 0, x_31); +lean_ctor_set(x_151, 1, x_48); +lean_ctor_set(x_151, 2, x_150); +x_152 = lean_array_push(x_127, x_151); lean_inc(x_46); lean_inc(x_31); -x_152 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_152, 0, x_31); -lean_ctor_set(x_152, 1, x_46); -lean_ctor_set(x_152, 2, x_151); -x_153 = lean_array_push(x_90, x_152); +x_153 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_153, 0, x_31); +lean_ctor_set(x_153, 1, x_46); +lean_ctor_set(x_153, 2, x_152); +x_154 = lean_array_push(x_90, x_153); lean_inc(x_103); -x_154 = lean_array_push(x_153, x_103); +x_155 = lean_array_push(x_154, x_103); lean_inc(x_44); lean_inc(x_31); -x_155 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_155, 0, x_31); -lean_ctor_set(x_155, 1, x_44); -lean_ctor_set(x_155, 2, x_154); -x_156 = lean_array_push(x_90, x_40); +x_156 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_156, 0, x_31); +lean_ctor_set(x_156, 1, x_44); +lean_ctor_set(x_156, 2, x_155); +x_157 = lean_array_push(x_90, x_40); if (lean_obj_tag(x_18) == 0) { -x_157 = x_73; -goto block_199; +x_158 = x_73; +goto block_200; } else { -lean_object* x_200; +lean_object* x_201; lean_dec(x_73); -x_200 = lean_ctor_get(x_18, 0); -lean_inc(x_200); +x_201 = lean_ctor_get(x_18, 0); +lean_inc(x_201); lean_dec(x_18); -x_157 = x_200; -goto block_199; +x_158 = x_201; +goto block_200; } -block_199: +block_200: { -lean_object* x_158; lean_object* x_159; -x_158 = lean_array_push(x_100, x_157); +lean_object* x_159; lean_object* x_160; +x_159 = lean_array_push(x_100, x_158); if (lean_obj_tag(x_89) == 0) { lean_dec(x_37); if (lean_obj_tag(x_5) == 0) { -lean_object* x_186; -x_186 = l_Lean_quoteNameMk(x_27); -x_159 = x_186; -goto block_185; +lean_object* x_187; +x_187 = l_Lean_quoteNameMk(x_27); +x_160 = x_187; +goto block_186; } else { -lean_object* x_187; +lean_object* x_188; lean_dec(x_27); -x_187 = lean_ctor_get(x_5, 0); -lean_inc(x_187); +x_188 = lean_ctor_get(x_5, 0); +lean_inc(x_188); lean_dec(x_5); -x_159 = x_187; -goto block_185; +x_160 = x_188; +goto block_186; } } else @@ -7128,113 +7129,113 @@ else lean_dec(x_27); if (lean_obj_tag(x_5) == 0) { -lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; -x_188 = lean_ctor_get(x_89, 0); -lean_inc(x_188); +lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; +x_189 = lean_ctor_get(x_89, 0); +lean_inc(x_189); lean_dec(x_89); -x_189 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__50; -x_190 = l_Lean_Name_str___override(x_37, x_189); -x_191 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__51; -x_192 = l_String_intercalate(x_191, x_188); -x_193 = lean_string_append(x_62, x_192); -lean_dec(x_192); -x_194 = lean_box(2); -x_195 = l_Lean_Syntax_mkNameLit(x_193, x_194); -x_196 = lean_array_push(x_126, x_195); -x_197 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_197, 0, x_194); -lean_ctor_set(x_197, 1, x_190); -lean_ctor_set(x_197, 2, x_196); -x_159 = x_197; -goto block_185; +x_190 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__50; +x_191 = l_Lean_Name_str___override(x_37, x_190); +x_192 = l_Lean_Parser___aux__Lean__Parser__Extra______macroRules__Lean__Parser__termRegister__parser__alias_x28Kind_x3a_x3d___x29__________1___lambda__2___closed__51; +x_193 = l_String_intercalate(x_192, x_189); +x_194 = lean_string_append(x_62, x_193); +lean_dec(x_193); +x_195 = lean_box(2); +x_196 = l_Lean_Syntax_mkNameLit(x_194, x_195); +x_197 = lean_array_push(x_127, x_196); +x_198 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_198, 0, x_195); +lean_ctor_set(x_198, 1, x_191); +lean_ctor_set(x_198, 2, x_197); +x_160 = x_198; +goto block_186; } else { -lean_object* x_198; +lean_object* x_199; lean_dec(x_89); lean_dec(x_37); -x_198 = lean_ctor_get(x_5, 0); -lean_inc(x_198); +x_199 = lean_ctor_get(x_5, 0); +lean_inc(x_199); lean_dec(x_5); -x_159 = x_198; -goto block_185; +x_160 = x_199; +goto block_186; } } -block_185: +block_186: { -lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; -x_160 = lean_array_push(x_126, x_159); +lean_object* x_161; lean_object* x_162; lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; +x_161 = lean_array_push(x_127, x_160); lean_inc(x_31); -x_161 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_161, 0, x_31); -lean_ctor_set(x_161, 1, x_69); -lean_ctor_set(x_161, 2, x_160); -x_162 = lean_array_push(x_91, x_161); +x_162 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_162, 0, x_31); +lean_ctor_set(x_162, 1, x_69); +lean_ctor_set(x_162, 2, x_161); +x_163 = lean_array_push(x_91, x_162); lean_inc(x_48); lean_inc(x_31); -x_163 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_163, 0, x_31); -lean_ctor_set(x_163, 1, x_48); -lean_ctor_set(x_163, 2, x_162); -x_164 = lean_array_push(x_97, x_163); -x_165 = lean_array_push(x_164, x_93); +x_164 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_164, 0, x_31); +lean_ctor_set(x_164, 1, x_48); +lean_ctor_set(x_164, 2, x_163); +x_165 = lean_array_push(x_97, x_164); +x_166 = lean_array_push(x_165, x_93); lean_inc(x_31); -x_166 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_166, 0, x_31); -lean_ctor_set(x_166, 1, x_75); -lean_ctor_set(x_166, 2, x_165); -x_167 = lean_array_push(x_158, x_166); +x_167 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_167, 0, x_31); +lean_ctor_set(x_167, 1, x_75); +lean_ctor_set(x_167, 2, x_166); +x_168 = lean_array_push(x_159, x_167); lean_inc(x_31); -x_168 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_168, 0, x_31); -lean_ctor_set(x_168, 1, x_69); -lean_ctor_set(x_168, 2, x_167); -x_169 = lean_array_push(x_101, x_168); +x_169 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_169, 0, x_31); +lean_ctor_set(x_169, 1, x_69); +lean_ctor_set(x_169, 2, x_168); +x_170 = lean_array_push(x_101, x_169); lean_inc(x_31); -x_170 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_170, 0, x_31); -lean_ctor_set(x_170, 1, x_48); -lean_ctor_set(x_170, 2, x_169); -x_171 = lean_array_push(x_126, x_170); +x_171 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_171, 0, x_31); +lean_ctor_set(x_171, 1, x_48); +lean_ctor_set(x_171, 2, x_170); +x_172 = lean_array_push(x_127, x_171); lean_inc(x_31); -x_172 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_172, 0, x_31); -lean_ctor_set(x_172, 1, x_46); -lean_ctor_set(x_172, 2, x_171); -x_173 = lean_array_push(x_90, x_172); -x_174 = lean_array_push(x_173, x_103); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_31); +lean_ctor_set(x_173, 1, x_46); +lean_ctor_set(x_173, 2, x_172); +x_174 = lean_array_push(x_90, x_173); +x_175 = lean_array_push(x_174, x_103); lean_inc(x_31); -x_175 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_175, 0, x_31); -lean_ctor_set(x_175, 1, x_44); -lean_ctor_set(x_175, 2, x_174); -x_176 = lean_array_push(x_64, x_175); -x_177 = lean_array_push(x_176, x_131); -x_178 = lean_array_push(x_177, x_155); +x_176 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_176, 0, x_31); +lean_ctor_set(x_176, 1, x_44); +lean_ctor_set(x_176, 2, x_175); +x_177 = lean_array_push(x_64, x_176); +x_178 = lean_array_push(x_177, x_132); +x_179 = lean_array_push(x_178, x_156); lean_inc(x_31); -x_179 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_179, 0, x_31); -lean_ctor_set(x_179, 1, x_69); -lean_ctor_set(x_179, 2, x_178); -x_180 = lean_array_push(x_126, x_179); +x_180 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_180, 0, x_31); +lean_ctor_set(x_180, 1, x_69); +lean_ctor_set(x_180, 2, x_179); +x_181 = lean_array_push(x_127, x_180); lean_inc(x_31); -x_181 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_181, 0, x_31); -lean_ctor_set(x_181, 1, x_42); -lean_ctor_set(x_181, 2, x_180); -x_182 = lean_array_push(x_156, x_181); -x_183 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_183, 0, x_31); -lean_ctor_set(x_183, 1, x_39); -lean_ctor_set(x_183, 2, x_182); +x_182 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_182, 0, x_31); +lean_ctor_set(x_182, 1, x_42); +lean_ctor_set(x_182, 2, x_181); +x_183 = lean_array_push(x_157, x_182); +x_184 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_184, 0, x_31); +lean_ctor_set(x_184, 1, x_39); +lean_ctor_set(x_184, 2, x_183); if (lean_is_scalar(x_33)) { - x_184 = lean_alloc_ctor(0, 2, 0); + x_185 = lean_alloc_ctor(0, 2, 0); } else { - x_184 = x_33; + x_185 = x_33; } -lean_ctor_set(x_184, 0, x_183); -lean_ctor_set(x_184, 1, x_32); -return x_184; +lean_ctor_set(x_185, 0, x_184); +lean_ctor_set(x_185, 1, x_32); +return x_185; } } } diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c index ffc7af3789..08caf91b77 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Basic.c @@ -18,7 +18,7 @@ static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delaborator_withBindingBodyUnusedName___spec__3___rarg___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_mkAppUnexpanderAttribute___closed__5; static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___closed__1; -uint8_t lean_local_ctx_uses_user_name(lean_object*, lean_object*); +uint8_t l_Lean_LocalContext_usesUserName(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabFailureId; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_PrettyPrinter_Delaborator_delab___spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_throwError___at_Lean_PrettyPrinter_Delaborator_delab___spec__4(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -28,7 +28,7 @@ lean_object* lean_erase_macro_scopes(lean_object*); lean_object* l_Lean_SubExpr_Pos_push(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadStateOfHoleIteratorDelabM___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l_Lean_stringToMessageData(lean_object*); -lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_getUnusedName(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_delab___lambda__1___closed__12; lean_object* lean_mk_empty_array_with_capacity(lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_getExprKind___closed__2; @@ -47,7 +47,7 @@ LEAN_EXPORT lean_object* l_Lean_Meta_withLocalDecl___at_Lean_PrettyPrinter_Delab lean_object* l_Lean_Expr_bindingDomain_x21(lean_object*); static lean_object* l_Lean_PrettyPrinter_delabCore___lambda__1___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_initFn____x40_Lean_PrettyPrinter_Delaborator_Basic___hyg_94____closed__2; -lean_object* l_Lean_SourceInfo_fromRef(lean_object*); +lean_object* l_Lean_SourceInfo_fromRef(lean_object*, uint8_t); static lean_object* l_Lean_PrettyPrinter_Delaborator_mkDelabAttribute___closed__14; static lean_object* l_Lean_PrettyPrinter_Delaborator_instMonadQuotationDelabM___closed__5; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_instInhabitedDelabM___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -2815,13 +2815,15 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_annotatePos(lean_object* x_1, lean_object* x_2) { _start: { -lean_object* x_3; lean_object* x_4; +uint8_t x_3; lean_object* x_4; lean_object* x_5; +x_3 = 0; lean_inc(x_1); -x_3 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_3, 0, x_1); -lean_ctor_set(x_3, 1, x_1); -x_4 = l_Lean_Syntax_setInfo(x_3, x_2); -return x_4; +x_4 = lean_alloc_ctor(1, 2, 1); +lean_ctor_set(x_4, 0, x_1); +lean_ctor_set(x_4, 1, x_1); +lean_ctor_set_uint8(x_4, sizeof(void*)*2, x_3); +x_5 = l_Lean_Syntax_setInfo(x_4, x_2); +return x_5; } } LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_annotateCurPos(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7, lean_object* x_8) { @@ -3024,7 +3026,7 @@ lean_object* x_14; uint8_t x_15; x_14 = lean_erase_macro_scopes(x_12); lean_inc(x_14); lean_inc(x_11); -x_15 = lean_local_ctx_uses_user_name(x_11, x_14); +x_15 = l_Lean_LocalContext_usesUserName(x_11, x_14); if (x_15 == 0) { lean_object* x_16; @@ -3063,7 +3065,7 @@ if (x_21 == 0) lean_object* x_22; lean_object* x_23; x_22 = lean_ctor_get(x_18, 0); lean_dec(x_22); -x_23 = lean_local_ctx_get_unused_name(x_11, x_14); +x_23 = l_Lean_LocalContext_getUnusedName(x_11, x_14); lean_ctor_set(x_18, 0, x_23); return x_18; } @@ -3073,7 +3075,7 @@ lean_object* x_24; lean_object* x_25; lean_object* x_26; x_24 = lean_ctor_get(x_18, 1); lean_inc(x_24); lean_dec(x_18); -x_25 = lean_local_ctx_get_unused_name(x_11, x_14); +x_25 = l_Lean_LocalContext_getUnusedName(x_11, x_14); x_26 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_26, 0, x_25); lean_ctor_set(x_26, 1, x_24); @@ -3101,7 +3103,7 @@ return x_18; else { lean_object* x_30; -x_30 = lean_local_ctx_get_unused_name(x_11, x_14); +x_30 = l_Lean_LocalContext_getUnusedName(x_11, x_14); lean_ctor_set(x_18, 0, x_30); return x_18; } @@ -3127,7 +3129,7 @@ return x_33; else { lean_object* x_34; lean_object* x_35; -x_34 = lean_local_ctx_get_unused_name(x_11, x_14); +x_34 = l_Lean_LocalContext_getUnusedName(x_11, x_14); x_35 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_35, 0, x_34); lean_ctor_set(x_35, 1, x_31); @@ -3169,7 +3171,7 @@ lean_object* x_40; uint8_t x_41; lean_dec(x_12); x_40 = l_Lean_PrettyPrinter_Delaborator_getUnusedName___closed__3; lean_inc(x_11); -x_41 = lean_local_ctx_uses_user_name(x_11, x_40); +x_41 = l_Lean_LocalContext_usesUserName(x_11, x_40); if (x_41 == 0) { lean_object* x_42; @@ -3208,7 +3210,7 @@ if (x_47 == 0) lean_object* x_48; lean_object* x_49; x_48 = lean_ctor_get(x_44, 0); lean_dec(x_48); -x_49 = lean_local_ctx_get_unused_name(x_11, x_40); +x_49 = l_Lean_LocalContext_getUnusedName(x_11, x_40); lean_ctor_set(x_44, 0, x_49); return x_44; } @@ -3218,7 +3220,7 @@ lean_object* x_50; lean_object* x_51; lean_object* x_52; x_50 = lean_ctor_get(x_44, 1); lean_inc(x_50); lean_dec(x_44); -x_51 = lean_local_ctx_get_unused_name(x_11, x_40); +x_51 = l_Lean_LocalContext_getUnusedName(x_11, x_40); x_52 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_52, 0, x_51); lean_ctor_set(x_52, 1, x_50); @@ -3245,7 +3247,7 @@ return x_44; else { lean_object* x_56; -x_56 = lean_local_ctx_get_unused_name(x_11, x_40); +x_56 = l_Lean_LocalContext_getUnusedName(x_11, x_40); lean_ctor_set(x_44, 0, x_56); return x_44; } @@ -3270,7 +3272,7 @@ return x_59; else { lean_object* x_60; lean_object* x_61; -x_60 = lean_local_ctx_get_unused_name(x_11, x_40); +x_60 = l_Lean_LocalContext_getUnusedName(x_11, x_40); x_61 = lean_alloc_ctor(0, 2, 0); lean_ctor_set(x_61, 0, x_60); lean_ctor_set(x_61, 1, x_57); @@ -6845,15 +6847,16 @@ return x_20; LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_PrettyPrinter_Delaborator_delab___spec__3___rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; +lean_object* x_4; uint8_t x_5; lean_object* x_6; lean_object* x_7; x_4 = lean_ctor_get(x_1, 5); lean_inc(x_4); lean_dec(x_1); -x_5 = l_Lean_SourceInfo_fromRef(x_4); -x_6 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_6, 0, x_5); -lean_ctor_set(x_6, 1, x_3); -return x_6; +x_5 = 0; +x_6 = l_Lean_SourceInfo_fromRef(x_4, 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_3); +return x_7; } } LEAN_EXPORT lean_object* l_Lean_MonadRef_mkInfoFromRefPos___at_Lean_PrettyPrinter_Delaborator_delab___spec__3(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { diff --git a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c index 9d1400dfd7..06b7cddbbc 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Delaborator/Builtins.c @@ -33,7 +33,7 @@ LEAN_EXPORT lean_object* l_panic___at_Lean_PrettyPrinter_Delaborator_withMDataOp static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDIte___closed__4; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDIte___closed__1; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabCond___closed__1; -uint8_t lean_local_ctx_uses_user_name(lean_object*, lean_object*); +uint8_t l_Lean_LocalContext_usesUserName(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabProj___closed__2; static lean_object* l_Lean_PrettyPrinter_Delaborator_delabDoElems___lambda__3___closed__4; size_t lean_usize_add(size_t, size_t); @@ -67,7 +67,7 @@ lean_object* l_Lean_stringToMessageData(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_PrettyPrinter_Delaborator_withMDataOptions___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Delaborator_delabAppMatch___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Delaborator_unexpandStructureInstance___lambda__3___closed__5; -lean_object* lean_local_ctx_get_unused_name(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_getUnusedName(lean_object*, lean_object*); static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabLetE___closed__1; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabCond___closed__1; static lean_object* l___regBuiltin_Lean_PrettyPrinter_Delaborator_delabDIte___closed__1; @@ -4271,7 +4271,7 @@ lean_dec(x_28); x_29 = lean_ctor_get(x_3, 1); lean_inc(x_29); lean_inc(x_21); -x_30 = lean_local_ctx_uses_user_name(x_29, x_21); +x_30 = l_Lean_LocalContext_usesUserName(x_29, x_21); if (x_30 == 0) { lean_object* x_31; lean_object* x_32; @@ -13907,7 +13907,7 @@ else lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; x_19 = lean_ctor_get(x_6, 1); lean_inc(x_19); -x_20 = lean_local_ctx_get_unused_name(x_19, x_15); +x_20 = l_Lean_LocalContext_getUnusedName(x_19, x_15); lean_inc(x_20); x_21 = lean_array_push(x_3, x_20); x_22 = lean_alloc_closure((void*)(l___private_Lean_PrettyPrinter_Delaborator_Builtins_0__Lean_PrettyPrinter_Delaborator_skippingBinders_loop___rarg), 10, 3); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c index aef7dbcc30..1036e30cfb 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Formatter.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Formatter.c @@ -24,7 +24,7 @@ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_ite___rarg___boxed(lean_ uint8_t l_Lean_Syntax_isAntiquotSuffixSplice(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_visitArgs(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); size_t lean_usize_add(size_t, size_t); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4703_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4710_(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_checkTailWs_formatter___rarg(lean_object*); uint8_t l_Lean_Syntax_isTokenAntiquot(lean_object*); lean_object* l_Lean_registerTraceClass(lean_object*, uint8_t, lean_object*); @@ -422,7 +422,7 @@ static lean_object* l_Lean_PrettyPrinter_Formatter_numLitNoAntiquot_formatter___ LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_concat___lambda__1___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_parserOfStack_formatter(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_nameLitNoAntiquot_formatter___closed__2; -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_5039_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_5046_(lean_object*); lean_object* lean_int_sub(lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Formatter_symbolNoAntiquot_formatter___closed__6; static lean_object* l_Lean_PrettyPrinter_format___lambda__1___closed__1; @@ -10185,7 +10185,7 @@ x_10 = l_Lean_PrettyPrinter_Formatter_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_6, x return x_10; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4703_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4710_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -10874,7 +10874,7 @@ x_6 = l_Lean_PrettyPrinter_formatCategory(x_5, x_1, x_2, x_3, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_5039_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_5046_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -11151,7 +11151,7 @@ l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_interpolatedStr_form lean_mark_persistent(l_Array_foldlMUnsafe_fold___at_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___spec__2___closed__2); l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1 = _init_l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_interpolatedStr_formatter___boxed__const__1); -if (builtin) {res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4703_(lean_io_mk_world()); +if (builtin) {res = l_Lean_PrettyPrinter_Formatter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_4710_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Formatter_formatterAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Formatter_formatterAliasesRef); @@ -11180,7 +11180,7 @@ l_Lean_PrettyPrinter_formatCommand___closed__1 = _init_l_Lean_PrettyPrinter_form lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__1); l_Lean_PrettyPrinter_formatCommand___closed__2 = _init_l_Lean_PrettyPrinter_formatCommand___closed__2(); lean_mark_persistent(l_Lean_PrettyPrinter_formatCommand___closed__2); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_5039_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Formatter___hyg_5046_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c index db580eb5a3..5074058a6f 100644 --- a/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c +++ b/stage0/stdlib/Lean/PrettyPrinter/Parenthesizer.c @@ -89,7 +89,7 @@ lean_object* lean_environment_find(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Syntax_MonadTraverser_goUp___at_Lean_PrettyPrinter_Parenthesizer_visitArgs___spec__4___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* lean_st_ref_get(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4403_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4407_(lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___lambda__9___boxed(lean_object**); LEAN_EXPORT lean_object* l_Lean_Syntax_MonadTraverser_setCur___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_PrettyPrinter_Parenthesizer_term_parenthesizer___lambda__1___closed__6; @@ -372,7 +372,7 @@ LEAN_EXPORT lean_object* l___regBuiltin_Lean_PrettyPrinter_Parenthesizer_level_p static lean_object* l_Lean_PrettyPrinter_Parenthesizer_level_parenthesizer___lambda__1___closed__2; static lean_object* l_Lean_PrettyPrinter_Parenthesizer_checkKind___closed__2; LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_mkCategoryParenthesizerAttribute___lambda__1(uint8_t, lean_object*, lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4099_(lean_object*); +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4103_(lean_object*); static lean_object* l_Option_format___at_Lean_PrettyPrinter_Parenthesizer_maybeParenthesize___spec__6___closed__4; LEAN_EXPORT lean_object* l_Lean_isTracingEnabledFor___at_Lean_PrettyPrinter_parenthesize___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_setExpected_parenthesizer(lean_object*); @@ -10065,7 +10065,7 @@ x_10 = l_Lean_PrettyPrinter_Parenthesizer_ite___rarg(x_9, x_2, x_3, x_4, x_5, x_ return x_10; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4099_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4103_(lean_object* x_1) { _start: { lean_object* x_2; lean_object* x_3; uint8_t x_4; @@ -10684,7 +10684,7 @@ x_6 = l_Lean_PrettyPrinter_parenthesizeCategory(x_5, x_1, x_2, x_3, x_4); return x_6; } } -LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4403_(lean_object* x_1) { +LEAN_EXPORT lean_object* l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4407_(lean_object* x_1) { _start: { lean_object* x_2; uint8_t x_3; lean_object* x_4; @@ -11063,7 +11063,7 @@ l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1 = _ lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___closed__1); l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1 = _init_l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1(); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_interpolatedStr_parenthesizer___boxed__const__1); -if (builtin) {res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4099_(lean_io_mk_world()); +if (builtin) {res = l_Lean_PrettyPrinter_Parenthesizer_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4103_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef = lean_io_result_get_value(res); lean_mark_persistent(l_Lean_PrettyPrinter_Parenthesizer_parenthesizerAliasesRef); @@ -11082,7 +11082,7 @@ l_Lean_PrettyPrinter_parenthesizeCommand___closed__1 = _init_l_Lean_PrettyPrinte lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__1); l_Lean_PrettyPrinter_parenthesizeCommand___closed__2 = _init_l_Lean_PrettyPrinter_parenthesizeCommand___closed__2(); lean_mark_persistent(l_Lean_PrettyPrinter_parenthesizeCommand___closed__2); -res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4403_(lean_io_mk_world()); +res = l_Lean_PrettyPrinter_initFn____x40_Lean_PrettyPrinter_Parenthesizer___hyg_4407_(lean_io_mk_world()); if (lean_io_result_is_error(res)) return res; lean_dec_ref(res); return lean_io_result_mk_ok(lean_box(0)); diff --git a/stage0/stdlib/Lean/Server/Completion.c b/stage0/stdlib/Lean/Server/Completion.c index 2896bd3ea6..ff90dd6bb3 100644 --- a/stage0/stdlib/Lean/Server/Completion.c +++ b/stage0/stdlib/Lean/Server/Completion.c @@ -17313,59 +17313,60 @@ goto block_93; } else { -lean_object* x_130; +lean_object* x_130; lean_object* x_131; x_130 = lean_ctor_get(x_40, 0); -if (lean_obj_tag(x_130) == 0) -{ -lean_object* x_131; -x_131 = lean_box(0); -x_45 = x_131; -goto block_93; -} -else +x_131 = lean_ctor_get(x_130, 0); +if (lean_obj_tag(x_131) == 0) { lean_object* x_132; -x_132 = lean_ctor_get(x_130, 0); -if (lean_obj_tag(x_132) == 0) +x_132 = lean_box(0); +x_45 = x_132; +goto block_93; +} +else { lean_object* x_133; -x_133 = lean_box(0); -x_45 = x_133; -goto block_93; -} -else +x_133 = lean_ctor_get(x_131, 0); +if (lean_obj_tag(x_133) == 0) { lean_object* x_134; -x_134 = lean_ctor_get(x_132, 0); -if (lean_obj_tag(x_134) == 0) +x_134 = lean_box(0); +x_45 = x_134; +goto block_93; +} +else { lean_object* x_135; -x_135 = lean_box(0); -x_45 = x_135; +x_135 = lean_ctor_get(x_133, 0); +if (lean_obj_tag(x_135) == 0) +{ +lean_object* x_136; +x_136 = lean_box(0); +x_45 = x_136; goto block_93; } else { -lean_object* x_136; uint8_t x_137; -x_136 = lean_ctor_get(x_134, 0); -x_137 = lean_unbox(x_136); -if (x_137 == 0) +lean_object* x_137; uint8_t x_138; +x_137 = lean_ctor_get(x_135, 0); +x_138 = lean_unbox(x_137); +if (x_138 == 0) { -lean_object* x_138; -x_138 = lean_box(0); -x_45 = x_138; +lean_object* x_139; +x_139 = lean_box(0); +x_45 = x_139; goto block_93; } else { -uint8_t x_139; lean_object* x_140; +uint8_t x_140; lean_object* x_141; lean_dec(x_39); lean_dec(x_25); lean_dec(x_23); -x_139 = 0; +x_140 = 0; lean_inc(x_3); -x_140 = l_Lean_Syntax_getRange_x3f(x_3, x_139); -if (lean_obj_tag(x_140) == 0) +x_141 = l_Lean_Syntax_getRange_x3f(x_3, x_140); +if (lean_obj_tag(x_141) == 0) { if (lean_obj_tag(x_42) == 0) { @@ -17374,180 +17375,180 @@ goto block_110; } else { -lean_object* x_141; +lean_object* x_142; lean_dec(x_41); -x_141 = lean_ctor_get(x_42, 0); -lean_inc(x_141); +x_142 = lean_ctor_get(x_42, 0); +lean_inc(x_142); lean_dec(x_42); x_111 = x_44; -x_112 = x_141; +x_112 = x_142; goto block_128; } } else { -uint8_t x_142; -x_142 = !lean_is_exclusive(x_140); -if (x_142 == 0) +uint8_t x_143; +x_143 = !lean_is_exclusive(x_141); +if (x_143 == 0) { -lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; -x_143 = lean_ctor_get(x_140, 0); -x_144 = lean_ctor_get(x_143, 0); -lean_inc(x_144); -x_145 = lean_ctor_get(x_143, 1); +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_144 = lean_ctor_get(x_141, 0); +x_145 = lean_ctor_get(x_144, 0); lean_inc(x_145); -lean_dec(x_143); -x_146 = lean_ctor_get(x_1, 1); -x_147 = l_Lean_FileMap_utf8PosToLspPos(x_146, x_144); +x_146 = lean_ctor_get(x_144, 1); +lean_inc(x_146); lean_dec(x_144); +x_147 = lean_ctor_get(x_1, 1); +x_148 = l_Lean_FileMap_utf8PosToLspPos(x_147, x_145); +lean_dec(x_145); if (x_5 == 0) { -lean_object* x_148; lean_object* x_149; lean_object* x_150; -x_148 = l_Lean_FileMap_utf8PosToLspPos(x_146, x_145); -lean_dec(x_145); -x_149 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_149, 0, x_147); -lean_ctor_set(x_149, 1, x_148); -lean_inc(x_149); -lean_inc(x_33); -x_150 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_150, 0, x_33); +lean_object* x_149; lean_object* x_150; lean_object* x_151; +x_149 = l_Lean_FileMap_utf8PosToLspPos(x_147, x_146); +lean_dec(x_146); +x_150 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_150, 0, x_148); lean_ctor_set(x_150, 1, x_149); -lean_ctor_set(x_150, 2, x_149); -lean_ctor_set(x_140, 0, x_150); -if (lean_obj_tag(x_42) == 0) -{ -x_94 = x_140; -goto block_110; -} -else -{ -lean_object* x_151; -lean_dec(x_41); -x_151 = lean_ctor_get(x_42, 0); -lean_inc(x_151); -lean_dec(x_42); -x_111 = x_140; -x_112 = x_151; -goto block_128; -} -} -else -{ -lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; -x_152 = l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__5; -x_153 = lean_nat_add(x_145, x_152); -lean_dec(x_145); -x_154 = l_Lean_FileMap_utf8PosToLspPos(x_146, x_153); -lean_dec(x_153); -x_155 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_155, 0, x_147); -lean_ctor_set(x_155, 1, x_154); -lean_inc(x_155); +lean_inc(x_150); lean_inc(x_33); -x_156 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_156, 0, x_33); -lean_ctor_set(x_156, 1, x_155); -lean_ctor_set(x_156, 2, x_155); -lean_ctor_set(x_140, 0, x_156); +x_151 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_151, 0, x_33); +lean_ctor_set(x_151, 1, x_150); +lean_ctor_set(x_151, 2, x_150); +lean_ctor_set(x_141, 0, x_151); if (lean_obj_tag(x_42) == 0) { -x_94 = x_140; +x_94 = x_141; goto block_110; } else { -lean_object* x_157; +lean_object* x_152; lean_dec(x_41); -x_157 = lean_ctor_get(x_42, 0); -lean_inc(x_157); +x_152 = lean_ctor_get(x_42, 0); +lean_inc(x_152); lean_dec(x_42); -x_111 = x_140; -x_112 = x_157; +x_111 = x_141; +x_112 = x_152; +goto block_128; +} +} +else +{ +lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; +x_153 = l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__5; +x_154 = lean_nat_add(x_146, x_153); +lean_dec(x_146); +x_155 = l_Lean_FileMap_utf8PosToLspPos(x_147, x_154); +lean_dec(x_154); +x_156 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_156, 0, x_148); +lean_ctor_set(x_156, 1, x_155); +lean_inc(x_156); +lean_inc(x_33); +x_157 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_157, 0, x_33); +lean_ctor_set(x_157, 1, x_156); +lean_ctor_set(x_157, 2, x_156); +lean_ctor_set(x_141, 0, x_157); +if (lean_obj_tag(x_42) == 0) +{ +x_94 = x_141; +goto block_110; +} +else +{ +lean_object* x_158; +lean_dec(x_41); +x_158 = lean_ctor_get(x_42, 0); +lean_inc(x_158); +lean_dec(x_42); +x_111 = x_141; +x_112 = x_158; goto block_128; } } } else { -lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; -x_158 = lean_ctor_get(x_140, 0); -lean_inc(x_158); -lean_dec(x_140); -x_159 = lean_ctor_get(x_158, 0); +lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; +x_159 = lean_ctor_get(x_141, 0); lean_inc(x_159); -x_160 = lean_ctor_get(x_158, 1); +lean_dec(x_141); +x_160 = lean_ctor_get(x_159, 0); lean_inc(x_160); -lean_dec(x_158); -x_161 = lean_ctor_get(x_1, 1); -x_162 = l_Lean_FileMap_utf8PosToLspPos(x_161, x_159); +x_161 = lean_ctor_get(x_159, 1); +lean_inc(x_161); lean_dec(x_159); +x_162 = lean_ctor_get(x_1, 1); +x_163 = l_Lean_FileMap_utf8PosToLspPos(x_162, x_160); +lean_dec(x_160); if (x_5 == 0) { -lean_object* x_163; lean_object* x_164; lean_object* x_165; lean_object* x_166; -x_163 = l_Lean_FileMap_utf8PosToLspPos(x_161, x_160); -lean_dec(x_160); -x_164 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_164, 0, x_162); -lean_ctor_set(x_164, 1, x_163); -lean_inc(x_164); -lean_inc(x_33); -x_165 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_165, 0, x_33); +lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; +x_164 = l_Lean_FileMap_utf8PosToLspPos(x_162, x_161); +lean_dec(x_161); +x_165 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_165, 0, x_163); lean_ctor_set(x_165, 1, x_164); -lean_ctor_set(x_165, 2, x_164); -x_166 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_166, 0, x_165); +lean_inc(x_165); +lean_inc(x_33); +x_166 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_166, 0, x_33); +lean_ctor_set(x_166, 1, x_165); +lean_ctor_set(x_166, 2, x_165); +x_167 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_167, 0, x_166); if (lean_obj_tag(x_42) == 0) { -x_94 = x_166; +x_94 = x_167; goto block_110; } else { -lean_object* x_167; +lean_object* x_168; lean_dec(x_41); -x_167 = lean_ctor_get(x_42, 0); -lean_inc(x_167); +x_168 = lean_ctor_get(x_42, 0); +lean_inc(x_168); lean_dec(x_42); -x_111 = x_166; -x_112 = x_167; +x_111 = x_167; +x_112 = x_168; goto block_128; } } else { -lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; -x_168 = l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__5; -x_169 = lean_nat_add(x_160, x_168); -lean_dec(x_160); -x_170 = l_Lean_FileMap_utf8PosToLspPos(x_161, x_169); -lean_dec(x_169); -x_171 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_171, 0, x_162); -lean_ctor_set(x_171, 1, x_170); -lean_inc(x_171); -lean_inc(x_33); -x_172 = lean_alloc_ctor(0, 3, 0); -lean_ctor_set(x_172, 0, x_33); +lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_169 = l_Lean_RBNode_forIn_visit___at___private_Lean_Server_Completion_0__Lean_Server_Completion_optionCompletion___spec__1___closed__5; +x_170 = lean_nat_add(x_161, x_169); +lean_dec(x_161); +x_171 = l_Lean_FileMap_utf8PosToLspPos(x_162, x_170); +lean_dec(x_170); +x_172 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_172, 0, x_163); lean_ctor_set(x_172, 1, x_171); -lean_ctor_set(x_172, 2, x_171); -x_173 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_173, 0, x_172); +lean_inc(x_172); +lean_inc(x_33); +x_173 = lean_alloc_ctor(0, 3, 0); +lean_ctor_set(x_173, 0, x_33); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_172); +x_174 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_174, 0, x_173); if (lean_obj_tag(x_42) == 0) { -x_94 = x_173; +x_94 = x_174; goto block_110; } else { -lean_object* x_174; +lean_object* x_175; lean_dec(x_41); -x_174 = lean_ctor_get(x_42, 0); -lean_inc(x_174); +x_175 = lean_ctor_get(x_42, 0); +lean_inc(x_175); lean_dec(x_42); -x_111 = x_173; -x_112 = x_174; +x_111 = x_174; +x_112 = x_175; goto block_128; } } diff --git a/stage0/stdlib/Lean/Server/FileSource.c b/stage0/stdlib/Lean/Server/FileSource.c index 0b2bb57c47..af8a08d576 100644 --- a/stage0/stdlib/Lean/Server/FileSource.c +++ b/stage0/stdlib/Lean/Server/FileSource.c @@ -43,6 +43,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceTypeDefinitionParams___boxed(l LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceRpcCallParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceSemanticTokensRangeParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCompletionParams___boxed(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCodeActionParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceRpcKeepAliveParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceDidChangeTextDocumentParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceRpcReleaseParams(lean_object*); @@ -57,6 +58,7 @@ LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceLocation(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceDocumentHighlightParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceDefinitionParams(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCompletionParams(lean_object*); +LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCodeActionParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceDidChangeTextDocumentParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceDidOpenTextDocumentParams___boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceWaitForDiagnosticsParams(lean_object*); @@ -545,6 +547,24 @@ lean_dec(x_1); return x_2; } } +LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCodeActionParams(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = lean_ctor_get(x_1, 2); +lean_inc(x_2); +return x_2; +} +} +LEAN_EXPORT lean_object* l_Lean_Lsp_instFileSourceCodeActionParams___boxed(lean_object* x_1) { +_start: +{ +lean_object* x_2; +x_2 = l_Lean_Lsp_instFileSourceCodeActionParams(x_1); +lean_dec(x_1); +return x_2; +} +} lean_object* initialize_Init(uint8_t builtin, lean_object*); lean_object* initialize_Lean_Data_Lsp(uint8_t builtin, lean_object*); static bool _G_initialized = false; diff --git a/stage0/stdlib/Lean/Server/FileWorker.c b/stage0/stdlib/Lean/Server/FileWorker.c index 5cd3483854..3d8dc91cbb 100644 --- a/stage0/stdlib/Lean/Server/FileWorker.c +++ b/stage0/stdlib/Lean/Server/FileWorker.c @@ -116,6 +116,7 @@ static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_ini static lean_object* l_Lean_Server_FileWorker_unfoldCmdSnaps___closed__4; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__74; static lean_object* l_IO_FS_Stream_readRequestAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__2___closed__64; +static lean_object* l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_FileWorker_compileHeader___spec__11(uint8_t, lean_object*, size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_handleRpcConnect___rarg___boxed(lean_object*, lean_object*); lean_object* l_IO_throwServerError___rarg(lean_object*, lean_object*); @@ -2040,6 +2041,16 @@ return x_2; static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4() { _start: { +lean_object* x_1; lean_object* x_2; +x_1 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; +x_2 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2, 0, x_1); +return x_2; +} +} +static lean_object* _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5() { +_start: +{ uint8_t x_1; lean_object* x_2; lean_object* x_3; x_1 = 2; x_2 = lean_box(x_1); @@ -2067,62 +2078,64 @@ x_13 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; x_14 = lean_string_dec_eq(x_11, x_13); if (x_14 == 0) { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; +lean_object* x_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_free_object(x_9); x_15 = lean_box(0); x_16 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; x_17 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; +x_18 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5; lean_inc(x_11); -x_18 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_18, 0, x_16); -lean_ctor_set(x_18, 1, x_16); -lean_ctor_set(x_18, 2, x_17); -lean_ctor_set(x_18, 3, x_15); -lean_ctor_set(x_18, 4, x_15); -lean_ctor_set(x_18, 5, x_11); -lean_ctor_set(x_18, 6, x_15); -lean_ctor_set(x_18, 7, x_15); -x_19 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_20 = lean_array_push(x_19, x_18); +x_19 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_19, 0, x_16); +lean_ctor_set(x_19, 1, x_17); +lean_ctor_set(x_19, 2, x_18); +lean_ctor_set(x_19, 3, x_15); +lean_ctor_set(x_19, 4, x_15); +lean_ctor_set(x_19, 5, x_11); +lean_ctor_set(x_19, 6, x_15); +lean_ctor_set(x_19, 7, x_15); +lean_ctor_set(x_19, 8, x_15); +x_20 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; +x_21 = lean_array_push(x_20, x_19); lean_inc(x_3); lean_inc(x_2); -x_21 = l_Lean_Server_publishDiagnostics(x_2, x_20, x_3, x_12); -if (lean_obj_tag(x_21) == 0) +x_22 = l_Lean_Server_publishDiagnostics(x_2, x_21, x_3, x_12); +if (lean_obj_tag(x_22) == 0) { -lean_object* x_22; lean_object* x_23; -x_22 = lean_ctor_get(x_21, 1); -lean_inc(x_22); -lean_dec(x_21); -x_23 = lean_string_append(x_6, x_11); +lean_object* x_23; lean_object* x_24; +x_23 = lean_ctor_get(x_22, 1); +lean_inc(x_23); +lean_dec(x_22); +x_24 = lean_string_append(x_6, x_11); lean_dec(x_11); -x_6 = x_23; -x_7 = x_22; +x_6 = x_24; +x_7 = x_23; goto _start; } else { -uint8_t x_25; +uint8_t x_26; lean_dec(x_11); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_25 = !lean_is_exclusive(x_21); -if (x_25 == 0) +x_26 = !lean_is_exclusive(x_22); +if (x_26 == 0) { -return x_21; +return x_22; } else { -lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_26 = lean_ctor_get(x_21, 0); -x_27 = lean_ctor_get(x_21, 1); +lean_object* x_27; lean_object* x_28; lean_object* x_29; +x_27 = lean_ctor_get(x_22, 0); +x_28 = lean_ctor_get(x_22, 1); +lean_inc(x_28); lean_inc(x_27); -lean_inc(x_26); -lean_dec(x_21); -x_28 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_28, 0, x_26); -lean_ctor_set(x_28, 1, x_27); -return x_28; +lean_dec(x_22); +x_29 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_29, 0, x_27); +lean_ctor_set(x_29, 1, x_28); +return x_29; } } } @@ -2137,112 +2150,114 @@ return x_9; } else { -lean_object* x_29; lean_object* x_30; lean_object* x_31; uint8_t x_32; -x_29 = lean_ctor_get(x_9, 0); -x_30 = lean_ctor_get(x_9, 1); +lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; +x_30 = lean_ctor_get(x_9, 0); +x_31 = lean_ctor_get(x_9, 1); +lean_inc(x_31); lean_inc(x_30); -lean_inc(x_29); lean_dec(x_9); -x_31 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; -x_32 = lean_string_dec_eq(x_29, x_31); -if (x_32 == 0) +x_32 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__1; +x_33 = lean_string_dec_eq(x_30, x_32); +if (x_33 == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_33 = lean_box(0); -x_34 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; -x_35 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; -lean_inc(x_29); -x_36 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_36, 0, x_34); -lean_ctor_set(x_36, 1, x_34); -lean_ctor_set(x_36, 2, x_35); -lean_ctor_set(x_36, 3, x_33); -lean_ctor_set(x_36, 4, x_33); -lean_ctor_set(x_36, 5, x_29); -lean_ctor_set(x_36, 6, x_33); -lean_ctor_set(x_36, 7, x_33); -x_37 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_38 = lean_array_push(x_37, x_36); +lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +x_34 = lean_box(0); +x_35 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; +x_36 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; +x_37 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5; +lean_inc(x_30); +x_38 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_38, 0, x_35); +lean_ctor_set(x_38, 1, x_36); +lean_ctor_set(x_38, 2, x_37); +lean_ctor_set(x_38, 3, x_34); +lean_ctor_set(x_38, 4, x_34); +lean_ctor_set(x_38, 5, x_30); +lean_ctor_set(x_38, 6, x_34); +lean_ctor_set(x_38, 7, x_34); +lean_ctor_set(x_38, 8, x_34); +x_39 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; +x_40 = lean_array_push(x_39, x_38); lean_inc(x_3); lean_inc(x_2); -x_39 = l_Lean_Server_publishDiagnostics(x_2, x_38, x_3, x_30); -if (lean_obj_tag(x_39) == 0) +x_41 = l_Lean_Server_publishDiagnostics(x_2, x_40, x_3, x_31); +if (lean_obj_tag(x_41) == 0) { -lean_object* x_40; lean_object* x_41; -x_40 = lean_ctor_get(x_39, 1); -lean_inc(x_40); -lean_dec(x_39); -x_41 = lean_string_append(x_6, x_29); -lean_dec(x_29); -x_6 = x_41; -x_7 = x_40; +lean_object* x_42; lean_object* x_43; +x_42 = lean_ctor_get(x_41, 1); +lean_inc(x_42); +lean_dec(x_41); +x_43 = lean_string_append(x_6, x_30); +lean_dec(x_30); +x_6 = x_43; +x_7 = x_42; goto _start; } else { -lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; -lean_dec(x_29); +lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; +lean_dec(x_30); lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_43 = lean_ctor_get(x_39, 0); -lean_inc(x_43); -x_44 = lean_ctor_get(x_39, 1); -lean_inc(x_44); -if (lean_is_exclusive(x_39)) { - lean_ctor_release(x_39, 0); - lean_ctor_release(x_39, 1); - x_45 = x_39; +x_45 = lean_ctor_get(x_41, 0); +lean_inc(x_45); +x_46 = lean_ctor_get(x_41, 1); +lean_inc(x_46); +if (lean_is_exclusive(x_41)) { + lean_ctor_release(x_41, 0); + lean_ctor_release(x_41, 1); + x_47 = x_41; } else { - lean_dec_ref(x_39); - x_45 = lean_box(0); + lean_dec_ref(x_41); + x_47 = lean_box(0); } -if (lean_is_scalar(x_45)) { - x_46 = lean_alloc_ctor(1, 2, 0); +if (lean_is_scalar(x_47)) { + x_48 = lean_alloc_ctor(1, 2, 0); } else { - x_46 = x_45; + x_48 = x_47; } -lean_ctor_set(x_46, 0, x_43); -lean_ctor_set(x_46, 1, x_44); -return x_46; +lean_ctor_set(x_48, 0, x_45); +lean_ctor_set(x_48, 1, x_46); +return x_48; } } else { -lean_object* x_47; -lean_dec(x_29); +lean_object* x_49; +lean_dec(x_30); lean_dec(x_3); lean_dec(x_2); -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_6); -lean_ctor_set(x_47, 1, x_30); -return x_47; +x_49 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_49, 0, x_6); +lean_ctor_set(x_49, 1, x_31); +return x_49; } } } else { -uint8_t x_48; +uint8_t x_50; lean_dec(x_6); lean_dec(x_3); lean_dec(x_2); -x_48 = !lean_is_exclusive(x_9); -if (x_48 == 0) +x_50 = !lean_is_exclusive(x_9); +if (x_50 == 0) { return x_9; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_9, 0); -x_50 = lean_ctor_get(x_9, 1); -lean_inc(x_50); -lean_inc(x_49); +lean_object* x_51; lean_object* x_52; lean_object* x_53; +x_51 = lean_ctor_get(x_9, 0); +x_52 = lean_ctor_get(x_9, 1); +lean_inc(x_52); +lean_inc(x_51); lean_dec(x_9); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +x_53 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_53, 0, x_51); +lean_ctor_set(x_53, 1, x_52); +return x_53; } } } @@ -19891,7 +19906,7 @@ lean_inc(x_9); x_21 = l_IO_FS_Stream_readLspNotificationAs___at_Lean_Server_FileWorker_initAndRunWorker___spec__3(x_9, x_20, x_19); 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; lean_object* x_30; lean_object* x_31; 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_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_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); x_23 = lean_ctor_get(x_22, 1); @@ -19913,294 +19928,296 @@ x_29 = lean_alloc_ctor(0, 3, 0); lean_ctor_set(x_29, 0, x_25); lean_ctor_set(x_29, 1, x_26); lean_ctor_set(x_29, 2, x_28); -x_57 = l_Lean_Server_FileWorker_initAndRunWorker___closed__6; -x_58 = lean_string_append(x_57, x_25); +x_58 = l_Lean_Server_FileWorker_initAndRunWorker___closed__6; +x_59 = lean_string_append(x_58, x_25); lean_dec(x_25); -x_59 = l_Lean_Server_FileWorker_initAndRunWorker___closed__7; -x_60 = lean_string_append(x_58, x_59); -x_61 = l_IO_FS_Stream_withPrefix(x_3, x_60); -lean_inc(x_61); -x_62 = lean_get_set_stderr(x_61, x_24); -x_63 = lean_ctor_get(x_62, 1); -lean_inc(x_63); -lean_dec(x_62); -x_64 = lean_ctor_get(x_18, 2); +x_60 = l_Lean_Server_FileWorker_initAndRunWorker___closed__7; +x_61 = lean_string_append(x_59, x_60); +x_62 = l_IO_FS_Stream_withPrefix(x_3, x_61); +lean_inc(x_62); +x_63 = lean_get_set_stderr(x_62, x_24); +x_64 = lean_ctor_get(x_63, 1); lean_inc(x_64); +lean_dec(x_63); +x_65 = lean_ctor_get(x_18, 2); +lean_inc(x_65); lean_dec(x_18); lean_inc(x_14); lean_inc(x_29); -x_65 = l_Lean_Server_FileWorker_initializeWorker(x_29, x_9, x_14, x_61, x_64, x_4, x_63); -x_66 = lean_ctor_get(x_65, 0); -lean_inc(x_66); -x_67 = lean_ctor_get(x_65, 1); +x_66 = l_Lean_Server_FileWorker_initializeWorker(x_29, x_9, x_14, x_62, x_65, x_4, x_64); +x_67 = lean_ctor_get(x_66, 0); lean_inc(x_67); -lean_dec(x_65); -x_68 = lean_ctor_get(x_66, 0); +x_68 = lean_ctor_get(x_66, 1); lean_inc(x_68); -x_69 = lean_ctor_get(x_66, 1); -lean_inc(x_69); lean_dec(x_66); -x_70 = lean_st_mk_ref(x_69, x_67); -x_71 = lean_ctor_get(x_70, 0); -lean_inc(x_71); -x_72 = lean_ctor_get(x_70, 1); +x_69 = lean_ctor_get(x_67, 0); +lean_inc(x_69); +x_70 = lean_ctor_get(x_67, 1); +lean_inc(x_70); +lean_dec(x_67); +x_71 = lean_st_mk_ref(x_70, x_68); +x_72 = lean_ctor_get(x_71, 0); lean_inc(x_72); -lean_dec(x_70); -lean_inc(x_71); -x_73 = l_Lean_Server_FileWorker_mainLoop(x_68, x_71, x_72); -if (lean_obj_tag(x_73) == 0) +x_73 = lean_ctor_get(x_71, 1); +lean_inc(x_73); +lean_dec(x_71); +lean_inc(x_72); +x_74 = l_Lean_Server_FileWorker_mainLoop(x_69, x_72, x_73); +if (lean_obj_tag(x_74) == 0) { -lean_object* x_74; lean_object* x_75; uint8_t x_76; +lean_object* x_75; lean_object* x_76; uint8_t x_77; lean_dec(x_29); lean_dec(x_14); -x_74 = lean_ctor_get(x_73, 1); -lean_inc(x_74); -lean_dec(x_73); -x_75 = lean_st_ref_get(x_71, x_74); -lean_dec(x_71); -x_76 = !lean_is_exclusive(x_75); -if (x_76 == 0) +x_75 = lean_ctor_get(x_74, 1); +lean_inc(x_75); +lean_dec(x_74); +x_76 = lean_st_ref_get(x_72, x_75); +lean_dec(x_72); +x_77 = !lean_is_exclusive(x_76); +if (x_77 == 0) { -lean_object* x_77; lean_object* x_78; -x_77 = lean_ctor_get(x_75, 0); -lean_dec(x_77); -x_78 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__2; -lean_ctor_set(x_75, 0, x_78); -return x_75; +lean_object* x_78; lean_object* x_79; +x_78 = lean_ctor_get(x_76, 0); +lean_dec(x_78); +x_79 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__2; +lean_ctor_set(x_76, 0, x_79); +return x_76; } else { -lean_object* x_79; lean_object* x_80; lean_object* x_81; -x_79 = lean_ctor_get(x_75, 1); -lean_inc(x_79); -lean_dec(x_75); -x_80 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__2; -x_81 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_81, 0, x_80); -lean_ctor_set(x_81, 1, x_79); -return x_81; +lean_object* x_80; lean_object* x_81; lean_object* x_82; +x_80 = lean_ctor_get(x_76, 1); +lean_inc(x_80); +lean_dec(x_76); +x_81 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__2; +x_82 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_82, 0, x_81); +lean_ctor_set(x_82, 1, x_80); +return x_82; } } else { -lean_object* x_82; lean_object* x_83; -lean_dec(x_71); -x_82 = lean_ctor_get(x_73, 0); -lean_inc(x_82); -x_83 = lean_ctor_get(x_73, 1); +lean_object* x_83; lean_object* x_84; +lean_dec(x_72); +x_83 = lean_ctor_get(x_74, 0); lean_inc(x_83); -lean_dec(x_73); -x_30 = x_82; -x_31 = x_83; -goto block_56; +x_84 = lean_ctor_get(x_74, 1); +lean_inc(x_84); +lean_dec(x_74); +x_30 = x_83; +x_31 = x_84; +goto block_57; } -block_56: +block_57: { lean_object* x_32; lean_inc(x_30); x_32 = l_IO_eprintln___at_Lean_Server_FileWorker_initAndRunWorker___spec__5(x_30, x_31); if (lean_obj_tag(x_32) == 0) { -lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; +lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_33 = lean_ctor_get(x_32, 1); lean_inc(x_33); lean_dec(x_32); x_34 = lean_box(0); x_35 = lean_io_error_to_string(x_30); x_36 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3; -x_37 = l_Lean_Server_FileWorker_initAndRunWorker___closed__5; -x_38 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_38, 0, x_36); -lean_ctor_set(x_38, 1, x_36); -lean_ctor_set(x_38, 2, x_37); -lean_ctor_set(x_38, 3, x_34); -lean_ctor_set(x_38, 4, x_34); -lean_ctor_set(x_38, 5, x_35); -lean_ctor_set(x_38, 6, x_34); -lean_ctor_set(x_38, 7, x_34); -x_39 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; -x_40 = lean_array_push(x_39, x_38); -x_41 = l_Lean_Server_publishDiagnostics(x_29, x_40, x_14, x_33); -if (lean_obj_tag(x_41) == 0) +x_37 = l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4; +x_38 = l_Lean_Server_FileWorker_initAndRunWorker___closed__5; +x_39 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_39, 0, x_36); +lean_ctor_set(x_39, 1, x_37); +lean_ctor_set(x_39, 2, x_38); +lean_ctor_set(x_39, 3, x_34); +lean_ctor_set(x_39, 4, x_34); +lean_ctor_set(x_39, 5, x_35); +lean_ctor_set(x_39, 6, x_34); +lean_ctor_set(x_39, 7, x_34); +lean_ctor_set(x_39, 8, x_34); +x_40 = l___private_Lean_Server_FileWorker_0__Lean_Server_FileWorker_nextCmdSnap___lambda__1___closed__1; +x_41 = lean_array_push(x_40, x_39); +x_42 = l_Lean_Server_publishDiagnostics(x_29, x_41, x_14, x_33); +if (lean_obj_tag(x_42) == 0) { -uint8_t x_42; -x_42 = !lean_is_exclusive(x_41); -if (x_42 == 0) +uint8_t x_43; +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_43; lean_object* x_44; -x_43 = lean_ctor_get(x_41, 0); -lean_dec(x_43); -x_44 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__1; -lean_ctor_set(x_41, 0, x_44); -return x_41; +lean_object* x_44; lean_object* x_45; +x_44 = lean_ctor_get(x_42, 0); +lean_dec(x_44); +x_45 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__1; +lean_ctor_set(x_42, 0, x_45); +return x_42; } else { -lean_object* x_45; lean_object* x_46; lean_object* x_47; -x_45 = lean_ctor_get(x_41, 1); -lean_inc(x_45); -lean_dec(x_41); -x_46 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__1; -x_47 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_47, 0, x_46); -lean_ctor_set(x_47, 1, x_45); -return x_47; +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_42, 1); +lean_inc(x_46); +lean_dec(x_42); +x_47 = l_Lean_Server_FileWorker_initAndRunWorker___boxed__const__1; +x_48 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_48, 1, x_46); +return x_48; } } else { -uint8_t x_48; -x_48 = !lean_is_exclusive(x_41); -if (x_48 == 0) +uint8_t x_49; +x_49 = !lean_is_exclusive(x_42); +if (x_49 == 0) { -return x_41; +return x_42; } else { -lean_object* x_49; lean_object* x_50; lean_object* x_51; -x_49 = lean_ctor_get(x_41, 0); -x_50 = lean_ctor_get(x_41, 1); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_ctor_get(x_42, 0); +x_51 = lean_ctor_get(x_42, 1); +lean_inc(x_51); lean_inc(x_50); -lean_inc(x_49); -lean_dec(x_41); -x_51 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_51, 0, x_49); -lean_ctor_set(x_51, 1, x_50); -return x_51; +lean_dec(x_42); +x_52 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_52, 0, x_50); +lean_ctor_set(x_52, 1, x_51); +return x_52; } } } else { -uint8_t x_52; +uint8_t x_53; lean_dec(x_30); lean_dec(x_29); lean_dec(x_14); -x_52 = !lean_is_exclusive(x_32); -if (x_52 == 0) +x_53 = !lean_is_exclusive(x_32); +if (x_53 == 0) { return x_32; } else { -lean_object* x_53; lean_object* x_54; lean_object* x_55; -x_53 = lean_ctor_get(x_32, 0); -x_54 = lean_ctor_get(x_32, 1); +lean_object* x_54; lean_object* x_55; lean_object* x_56; +x_54 = lean_ctor_get(x_32, 0); +x_55 = lean_ctor_get(x_32, 1); +lean_inc(x_55); lean_inc(x_54); -lean_inc(x_53); lean_dec(x_32); -x_55 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_55, 0, x_53); -lean_ctor_set(x_55, 1, x_54); -return x_55; +x_56 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_56, 0, x_54); +lean_ctor_set(x_56, 1, x_55); +return x_56; } } } } else { -uint8_t x_84; +uint8_t x_85; lean_dec(x_18); lean_dec(x_14); lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); -x_84 = !lean_is_exclusive(x_21); -if (x_84 == 0) +x_85 = !lean_is_exclusive(x_21); +if (x_85 == 0) { return x_21; } else { -lean_object* x_85; lean_object* x_86; lean_object* x_87; -x_85 = lean_ctor_get(x_21, 0); -x_86 = lean_ctor_get(x_21, 1); +lean_object* x_86; lean_object* x_87; lean_object* x_88; +x_86 = lean_ctor_get(x_21, 0); +x_87 = lean_ctor_get(x_21, 1); +lean_inc(x_87); lean_inc(x_86); -lean_inc(x_85); lean_dec(x_21); -x_87 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_87, 0, x_85); -lean_ctor_set(x_87, 1, x_86); -return x_87; +x_88 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_88, 0, x_86); +lean_ctor_set(x_88, 1, x_87); +return x_88; } } } else { -uint8_t x_88; +uint8_t x_89; lean_dec(x_14); lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); -x_88 = !lean_is_exclusive(x_17); -if (x_88 == 0) +x_89 = !lean_is_exclusive(x_17); +if (x_89 == 0) { return x_17; } else { -lean_object* x_89; lean_object* x_90; lean_object* x_91; -x_89 = lean_ctor_get(x_17, 0); -x_90 = lean_ctor_get(x_17, 1); +lean_object* x_90; lean_object* x_91; lean_object* x_92; +x_90 = lean_ctor_get(x_17, 0); +x_91 = lean_ctor_get(x_17, 1); +lean_inc(x_91); lean_inc(x_90); -lean_inc(x_89); lean_dec(x_17); -x_91 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_91, 0, x_89); -lean_ctor_set(x_91, 1, x_90); -return x_91; +x_92 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_92, 0, x_90); +lean_ctor_set(x_92, 1, x_91); +return x_92; } } } else { -uint8_t x_92; +uint8_t x_93; lean_dec(x_9); lean_dec(x_4); lean_dec(x_3); -x_92 = !lean_is_exclusive(x_13); -if (x_92 == 0) +x_93 = !lean_is_exclusive(x_13); +if (x_93 == 0) { return x_13; } else { -lean_object* x_93; lean_object* x_94; lean_object* x_95; -x_93 = lean_ctor_get(x_13, 0); -x_94 = lean_ctor_get(x_13, 1); +lean_object* x_94; lean_object* x_95; lean_object* x_96; +x_94 = lean_ctor_get(x_13, 0); +x_95 = lean_ctor_get(x_13, 1); +lean_inc(x_95); lean_inc(x_94); -lean_inc(x_93); lean_dec(x_13); -x_95 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_95, 0, x_93); -lean_ctor_set(x_95, 1, x_94); -return x_95; +x_96 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_96, 0, x_94); +lean_ctor_set(x_96, 1, x_95); +return x_96; } } } else { -uint8_t x_96; +uint8_t x_97; lean_dec(x_4); lean_dec(x_3); lean_dec(x_2); -x_96 = !lean_is_exclusive(x_8); -if (x_96 == 0) +x_97 = !lean_is_exclusive(x_8); +if (x_97 == 0) { return x_8; } else { -lean_object* x_97; lean_object* x_98; lean_object* x_99; -x_97 = lean_ctor_get(x_8, 0); -x_98 = lean_ctor_get(x_8, 1); +lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_98 = lean_ctor_get(x_8, 0); +x_99 = lean_ctor_get(x_8, 1); +lean_inc(x_99); lean_inc(x_98); -lean_inc(x_97); lean_dec(x_8); -x_99 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_99, 0, x_97); -lean_ctor_set(x_99, 1, x_98); -return x_99; +x_100 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_100, 0, x_98); +lean_ctor_set(x_100, 1, x_99); +return x_100; } } } @@ -20515,6 +20532,8 @@ l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3 = _init_l lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__3); l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4(); lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__4); +l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5(); +lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath_processStderr___closed__5); l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1(); lean_mark_persistent(l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__1); l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2 = _init_l_Lean_Server_FileWorker_lakeSetupSearchPath___closed__2(); diff --git a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c index 7bc0b22854..cc2964ade7 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c +++ b/stage0/stdlib/Lean/Server/FileWorker/RequestHandling.c @@ -41,7 +41,7 @@ LEAN_EXPORT lean_object* l_liftExcept___at_Lean_Server_FileWorker_initFn____x40_ static lean_object* l_Lean_Server_FileWorker_handleSemanticTokens_go___closed__3; LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_10189____spec__5(lean_object*); LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleHover___lambda__2(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541_(lean_object*); static lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_10189____spec__1___lambda__3___closed__1; LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_getInteractiveGoals___lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_10189____spec__25(lean_object*); @@ -331,7 +331,7 @@ lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_fromJsonDocu LEAN_EXPORT lean_object* l_Lean_Server_registerLspRequestHandler___at_Lean_Server_FileWorker_initFn____x40_Lean_Server_FileWorker_RequestHandling___hyg_10189____spec__18___lambda__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_FileWorker_getInteractiveTermGoal___lambda__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); lean_object* l___private_Lean_Data_Lsp_LanguageFeatures_0__Lean_Lsp_toJsonDocumentHighlight____x40_Lean_Data_Lsp_LanguageFeatures___hyg_2873_(lean_object*); -lean_object* lean_local_ctx_pop(lean_object*); +lean_object* l_Lean_LocalContext_pop(lean_object*); static lean_object* l_List_mapM_loop___at_Lean_Server_FileWorker_getInteractiveGoals___spec__5___closed__5; static lean_object* l_Lean_Server_FileWorker_handleCompletion___closed__1; LEAN_EXPORT uint8_t l_Lean_Server_FileWorker_handleDocumentSymbol___rarg___lambda__1(lean_object*); @@ -6822,7 +6822,7 @@ return x_67; else { lean_object* x_68; lean_object* x_69; -x_68 = lean_local_ctx_pop(x_17); +x_68 = l_Lean_LocalContext_pop(x_17); x_69 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_15, x_68, x_24, x_22); lean_dec(x_15); if (lean_obj_tag(x_69) == 0) @@ -7207,7 +7207,7 @@ return x_156; else { lean_object* x_157; lean_object* x_158; -x_157 = lean_local_ctx_pop(x_124); +x_157 = l_Lean_LocalContext_pop(x_124); x_158 = l_Lean_Elab_ContextInfo_runMetaM___rarg(x_122, x_157, x_132, x_129); lean_dec(x_122); if (lean_obj_tag(x_158) == 0) @@ -17794,7 +17794,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_parseRequestParams___at_Lean_Server_FileW _start: { lean_object* x_2; -x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107_(x_1); +x_2 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541_(x_1); if (lean_obj_tag(x_2) == 0) { uint8_t x_3; diff --git a/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c b/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c index d016685702..ca3761f92a 100644 --- a/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c +++ b/stage0/stdlib/Lean/Server/FileWorker/WidgetRequests.c @@ -126,6 +126,7 @@ static lean_object* l_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetReq static lean_object* l_Lean_Server_wrapRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1017____spec__2___closed__1; static lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1097____spec__1___closed__1; LEAN_EXPORT lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Server_FileWorker_WidgetRequests_0__Lean_Widget_fromJsonGetInteractiveDiagnosticsParams____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1097____spec__1___boxed(lean_object*, lean_object*); +lean_object* l_Lean_Lsp_DiagnosticWith_fullRange___rarg(lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_registerBuiltinRpcProcedure___at_Lean_Widget_initFn____x40_Lean_Server_FileWorker_WidgetRequests___hyg_1639____spec__2___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_lazyTraceChildrenToInteractive___boxed__const__1; static lean_object* l_Lean_Widget_instRpcEncodableGetGoToLocationParams___closed__1; @@ -3529,8 +3530,7 @@ lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean x_12 = lean_ctor_get(x_1, 0); x_13 = lean_ctor_get(x_12, 0); x_14 = lean_ctor_get(x_12, 1); -x_15 = lean_ctor_get(x_7, 1); -lean_inc(x_15); +x_15 = l_Lean_Lsp_DiagnosticWith_fullRange___rarg(x_7); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); x_17 = lean_ctor_get(x_16, 0); diff --git a/stage0/stdlib/Lean/Server/References.c b/stage0/stdlib/Lean/Server/References.c index 8aab070c98..563bbffaa8 100644 --- a/stage0/stdlib/Lean/Server/References.c +++ b/stage0/stdlib/Lean/Server/References.c @@ -174,6 +174,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_References_addIlean(lean_object*, lean_ob static lean_object* l_List_forIn_loop___at_Lean_Server_References_referringTo___spec__5___closed__1; LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_References_referringTo___spec__5___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_mkHashMap___at_Lean_Server_References_empty___spec__2___boxed(lean_object*); +lean_object* l_Lean_Syntax_getHeadInfo(lean_object*); LEAN_EXPORT lean_object* l_Lean_HashMap_toList___at_Lean_Server_ModuleRefs_instCoeModuleRefsModuleRefs___spec__1(lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Server_References_referringTo___spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_List_forIn_loop___at_Lean_Lsp_ModuleRefs_findAt___spec__1(lean_object*, lean_object*, lean_object*); @@ -3627,79 +3628,122 @@ return x_9; } else { -lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; uint8_t x_20; lean_object* x_21; lean_object* x_22; +lean_object* x_15; lean_object* x_16; lean_object* x_17; x_15 = lean_ctor_get(x_13, 0); lean_inc(x_15); lean_dec(x_13); -x_16 = l_String_Range_toLspRange(x_1, x_15); +x_16 = l_Lean_Elab_Info_stx(x_3); +x_17 = l_Lean_Syntax_getHeadInfo(x_16); +if (lean_obj_tag(x_17) == 0) +{ +lean_object* x_18; lean_object* x_19; lean_object* x_20; uint8_t x_21; lean_object* x_22; lean_object* x_23; +lean_dec(x_17); +x_18 = l_String_Range_toLspRange(x_1, x_15); lean_dec(x_15); -x_17 = l_Lean_Elab_Info_stx(x_3); -x_18 = l_Lean_Server_Reference_aliases___default___closed__1; -x_19 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_19, 0, x_11); -lean_ctor_set(x_19, 1, x_18); -lean_ctor_set(x_19, 2, x_16); -lean_ctor_set(x_19, 3, x_17); -lean_ctor_set(x_19, 4, x_2); -lean_ctor_set(x_19, 5, x_3); -x_20 = lean_unbox(x_12); +x_19 = l_Lean_Server_Reference_aliases___default___closed__1; +x_20 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_20, 0, x_11); +lean_ctor_set(x_20, 1, x_19); +lean_ctor_set(x_20, 2, x_18); +lean_ctor_set(x_20, 3, x_16); +lean_ctor_set(x_20, 4, x_2); +lean_ctor_set(x_20, 5, x_3); +x_21 = lean_unbox(x_12); lean_dec(x_12); -lean_ctor_set_uint8(x_19, sizeof(void*)*6, x_20); -x_21 = lean_array_push(x_5, x_19); -x_22 = lean_box(0); -lean_ctor_set(x_9, 1, x_21); -lean_ctor_set(x_9, 0, x_22); +lean_ctor_set_uint8(x_20, sizeof(void*)*6, x_21); +x_22 = lean_array_push(x_5, x_20); +x_23 = lean_box(0); +lean_ctor_set(x_9, 1, x_22); +lean_ctor_set(x_9, 0, x_23); +return x_9; +} +else +{ +lean_object* x_24; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_12); +lean_dec(x_11); +lean_dec(x_3); +lean_dec(x_2); +x_24 = lean_box(0); +lean_ctor_set(x_9, 1, x_5); +lean_ctor_set(x_9, 0, x_24); return x_9; } } -else -{ -lean_object* x_23; lean_object* x_24; lean_object* x_25; -x_23 = lean_ctor_get(x_9, 0); -x_24 = lean_ctor_get(x_9, 1); -lean_inc(x_24); -lean_inc(x_23); -lean_dec(x_9); -x_25 = l_Lean_Elab_Info_range_x3f(x_3); -if (lean_obj_tag(x_25) == 0) -{ -lean_object* x_26; lean_object* x_27; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_3); -lean_dec(x_2); -x_26 = lean_box(0); -x_27 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_27, 0, x_26); -lean_ctor_set(x_27, 1, x_5); -return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; uint8_t x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; -x_28 = lean_ctor_get(x_25, 0); -lean_inc(x_28); +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_ctor_get(x_9, 0); +x_26 = lean_ctor_get(x_9, 1); +lean_inc(x_26); +lean_inc(x_25); +lean_dec(x_9); +x_27 = l_Lean_Elab_Info_range_x3f(x_3); +if (lean_obj_tag(x_27) == 0) +{ +lean_object* x_28; lean_object* x_29; +lean_dec(x_26); lean_dec(x_25); -x_29 = l_String_Range_toLspRange(x_1, x_28); -lean_dec(x_28); -x_30 = l_Lean_Elab_Info_stx(x_3); -x_31 = l_Lean_Server_Reference_aliases___default___closed__1; -x_32 = lean_alloc_ctor(0, 6, 1); -lean_ctor_set(x_32, 0, x_23); -lean_ctor_set(x_32, 1, x_31); -lean_ctor_set(x_32, 2, x_29); -lean_ctor_set(x_32, 3, x_30); -lean_ctor_set(x_32, 4, x_2); -lean_ctor_set(x_32, 5, x_3); -x_33 = lean_unbox(x_24); -lean_dec(x_24); -lean_ctor_set_uint8(x_32, sizeof(void*)*6, x_33); -x_34 = lean_array_push(x_5, x_32); -x_35 = lean_box(0); -x_36 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_36, 0, x_35); -lean_ctor_set(x_36, 1, x_34); -return x_36; +lean_dec(x_3); +lean_dec(x_2); +x_28 = lean_box(0); +x_29 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_29, 0, x_28); +lean_ctor_set(x_29, 1, x_5); +return x_29; +} +else +{ +lean_object* x_30; lean_object* x_31; lean_object* x_32; +x_30 = lean_ctor_get(x_27, 0); +lean_inc(x_30); +lean_dec(x_27); +x_31 = l_Lean_Elab_Info_stx(x_3); +x_32 = l_Lean_Syntax_getHeadInfo(x_31); +if (lean_obj_tag(x_32) == 0) +{ +lean_object* x_33; lean_object* x_34; lean_object* x_35; uint8_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; +lean_dec(x_32); +x_33 = l_String_Range_toLspRange(x_1, x_30); +lean_dec(x_30); +x_34 = l_Lean_Server_Reference_aliases___default___closed__1; +x_35 = lean_alloc_ctor(0, 6, 1); +lean_ctor_set(x_35, 0, x_25); +lean_ctor_set(x_35, 1, x_34); +lean_ctor_set(x_35, 2, x_33); +lean_ctor_set(x_35, 3, x_31); +lean_ctor_set(x_35, 4, x_2); +lean_ctor_set(x_35, 5, x_3); +x_36 = lean_unbox(x_26); +lean_dec(x_26); +lean_ctor_set_uint8(x_35, sizeof(void*)*6, x_36); +x_37 = lean_array_push(x_5, x_35); +x_38 = lean_box(0); +x_39 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_39, 0, x_38); +lean_ctor_set(x_39, 1, x_37); +return x_39; +} +else +{ +lean_object* x_40; lean_object* x_41; +lean_dec(x_32); +lean_dec(x_31); +lean_dec(x_30); +lean_dec(x_26); +lean_dec(x_25); +lean_dec(x_3); +lean_dec(x_2); +x_40 = lean_box(0); +x_41 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_41, 0, x_40); +lean_ctor_set(x_41, 1, x_5); +return x_41; +} } } } diff --git a/stage0/stdlib/Lean/Server/Rpc/Deriving.c b/stage0/stdlib/Lean/Server/Rpc/Deriving.c index 23f8c2f628..be35eeffa4 100644 --- a/stage0/stdlib/Lean/Server/Rpc/Deriving.c +++ b/stage0/stdlib/Lean/Server/Rpc/Deriving.c @@ -15,7 +15,7 @@ extern "C" { #endif lean_object* l_Lean_getConstInfo___at_Lean_Elab_Term_mkConst___spec__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6___boxed(lean_object*, lean_object*, lean_object*); -lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*); +lean_object* l_Lean_mkCIdentFrom(lean_object*, lean_object*, uint8_t); static lean_object* l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__68; static lean_object* l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__4; size_t lean_usize_add(size_t, size_t); @@ -3598,7 +3598,7 @@ x_35 = lean_st_ref_get(x_11, x_33); x_36 = !lean_is_exclusive(x_35); if (x_36 == 0) { -lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; size_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; size_t x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; size_t x_264; lean_object* x_265; lean_object* x_266; lean_object* x_267; size_t x_268; lean_object* x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; size_t x_351; lean_object* x_352; lean_object* x_353; size_t x_354; lean_object* x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; +lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; lean_object* x_43; lean_object* x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; lean_object* x_50; lean_object* x_51; lean_object* x_52; lean_object* x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; lean_object* x_71; size_t x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; lean_object* x_103; lean_object* x_104; lean_object* x_105; lean_object* x_106; lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; lean_object* x_113; lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; lean_object* x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; lean_object* x_130; lean_object* x_131; lean_object* x_132; lean_object* x_133; lean_object* x_134; lean_object* x_135; lean_object* x_136; lean_object* x_137; lean_object* x_138; lean_object* x_139; lean_object* x_140; lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; lean_object* x_154; lean_object* x_155; lean_object* x_156; lean_object* x_157; uint8_t 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; size_t x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; lean_object* x_171; lean_object* x_172; lean_object* x_173; lean_object* x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; lean_object* x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; lean_object* x_182; lean_object* x_183; lean_object* x_184; lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_201; lean_object* x_202; lean_object* x_203; lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; lean_object* x_208; lean_object* x_209; lean_object* x_210; lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; lean_object* x_216; lean_object* x_217; lean_object* x_218; lean_object* x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; lean_object* x_226; lean_object* x_227; lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; lean_object* x_232; lean_object* x_233; lean_object* x_234; lean_object* x_235; lean_object* x_236; lean_object* x_237; lean_object* x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; lean_object* x_242; lean_object* x_243; lean_object* x_244; lean_object* x_245; lean_object* x_246; lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; size_t x_265; lean_object* x_266; lean_object* x_267; lean_object* x_268; size_t x_269; lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; lean_object* x_281; lean_object* x_282; lean_object* x_283; lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; lean_object* x_289; lean_object* x_290; lean_object* x_291; lean_object* x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; lean_object* x_299; lean_object* x_300; lean_object* x_301; lean_object* x_302; lean_object* x_303; lean_object* x_304; lean_object* x_305; lean_object* x_306; lean_object* x_307; lean_object* x_308; lean_object* x_309; lean_object* x_310; lean_object* x_311; lean_object* x_312; lean_object* x_313; lean_object* x_314; lean_object* x_315; lean_object* x_316; lean_object* x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; lean_object* x_321; lean_object* x_322; lean_object* x_323; lean_object* x_324; lean_object* x_325; lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_341; lean_object* x_342; lean_object* x_343; lean_object* x_344; lean_object* x_345; lean_object* x_346; lean_object* x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; lean_object* x_351; size_t x_352; lean_object* x_353; lean_object* x_354; size_t x_355; lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; lean_object* x_361; lean_object* x_362; lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; lean_object* x_368; lean_object* x_369; lean_object* x_370; lean_object* x_371; lean_object* x_372; lean_object* x_373; lean_object* x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; lean_object* x_379; lean_object* x_380; lean_object* x_381; lean_object* x_382; lean_object* x_383; lean_object* x_384; lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; lean_object* x_391; lean_object* x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; lean_object* x_399; lean_object* x_400; lean_object* x_401; lean_object* x_402; lean_object* x_403; lean_object* x_404; lean_object* x_405; lean_object* x_406; lean_object* x_407; lean_object* x_408; lean_object* x_409; lean_object* x_410; lean_object* x_411; lean_object* x_412; lean_object* x_413; lean_object* x_414; lean_object* x_415; lean_object* x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; lean_object* x_420; lean_object* x_421; lean_object* x_422; lean_object* x_423; lean_object* x_424; lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; x_37 = lean_ctor_get(x_35, 0); x_38 = lean_ctor_get(x_37, 0); lean_inc(x_38); @@ -3873,1511 +3873,1513 @@ x_156 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_156, 0, x_32); lean_ctor_set(x_156, 1, x_155); x_157 = lean_box(0); -x_158 = l_Lean_mkCIdentFrom(x_157, x_4); -x_159 = lean_array_push(x_63, x_156); -x_160 = lean_array_push(x_159, x_158); -x_161 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__68; +x_158 = 0; +x_159 = l_Lean_mkCIdentFrom(x_157, x_4, x_158); +x_160 = lean_array_push(x_63, x_156); +x_161 = lean_array_push(x_160, x_159); +x_162 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__68; lean_inc(x_32); -x_162 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_162, 0, x_32); -lean_ctor_set(x_162, 1, x_161); -lean_ctor_set(x_162, 2, x_160); -x_163 = lean_array_get_size(x_29); -x_164 = lean_usize_of_nat(x_163); -lean_dec(x_163); -x_165 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__72; -x_166 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__4(x_165, x_164, x_15, x_29); -x_167 = l_Array_append___rarg(x_42, x_166); +x_163 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_163, 0, x_32); +lean_ctor_set(x_163, 1, x_162); +lean_ctor_set(x_163, 2, x_161); +x_164 = lean_array_get_size(x_29); +x_165 = lean_usize_of_nat(x_164); +lean_dec(x_164); +x_166 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__72; +x_167 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__4(x_166, x_165, x_15, x_29); +x_168 = l_Array_append___rarg(x_42, x_167); lean_inc(x_32); -x_168 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_168, 0, x_32); -lean_ctor_set(x_168, 1, x_41); -lean_ctor_set(x_168, 2, x_167); -x_169 = lean_array_push(x_63, x_162); -x_170 = lean_array_push(x_169, x_168); -x_171 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__29; +x_169 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_169, 0, x_32); +lean_ctor_set(x_169, 1, x_41); +lean_ctor_set(x_169, 2, x_168); +x_170 = lean_array_push(x_63, x_163); +x_171 = lean_array_push(x_170, x_169); +x_172 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__29; lean_inc(x_32); -x_172 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_172, 0, x_32); -lean_ctor_set(x_172, 1, x_171); -lean_ctor_set(x_172, 2, x_170); -x_173 = lean_array_push(x_63, x_172); +x_173 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_173, 0, x_32); +lean_ctor_set(x_173, 1, x_172); +lean_ctor_set(x_173, 2, x_171); +x_174 = lean_array_push(x_63, x_173); lean_inc(x_43); -x_174 = lean_array_push(x_173, x_43); +x_175 = lean_array_push(x_174, x_43); lean_inc(x_32); -x_175 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_175, 0, x_32); -lean_ctor_set(x_175, 1, x_41); -lean_ctor_set(x_175, 2, x_174); -x_176 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__71; +x_176 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_176, 0, x_32); +lean_ctor_set(x_176, 1, x_41); +lean_ctor_set(x_176, 2, x_175); +x_177 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__71; lean_inc(x_32); -x_177 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_177, 0, x_32); -lean_ctor_set(x_177, 1, x_176); -x_178 = lean_array_push(x_81, x_154); -x_179 = lean_array_push(x_178, x_175); -x_180 = lean_array_push(x_179, x_177); -x_181 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__69; +x_178 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_178, 0, x_32); +lean_ctor_set(x_178, 1, x_177); +x_179 = lean_array_push(x_81, x_154); +x_180 = lean_array_push(x_179, x_176); +x_181 = lean_array_push(x_180, x_178); +x_182 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__69; lean_inc(x_32); -x_182 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_182, 0, x_32); -lean_ctor_set(x_182, 1, x_181); -lean_ctor_set(x_182, 2, x_180); -x_183 = lean_array_push(x_55, x_182); +x_183 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_183, 0, x_32); +lean_ctor_set(x_183, 1, x_182); +lean_ctor_set(x_183, 2, x_181); +x_184 = lean_array_push(x_55, x_183); lean_inc(x_32); -x_184 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_184, 0, x_32); -lean_ctor_set(x_184, 1, x_41); -lean_ctor_set(x_184, 2, x_183); -x_185 = lean_array_push(x_63, x_152); -x_186 = lean_array_push(x_185, x_184); +x_185 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_185, 0, x_32); +lean_ctor_set(x_185, 1, x_41); +lean_ctor_set(x_185, 2, x_184); +x_186 = lean_array_push(x_63, x_152); +x_187 = lean_array_push(x_186, x_185); lean_inc(x_32); -x_187 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_187, 0, x_32); -lean_ctor_set(x_187, 1, x_171); -lean_ctor_set(x_187, 2, x_186); -x_188 = lean_array_push(x_63, x_147); -lean_inc(x_188); -x_189 = lean_array_push(x_188, x_187); -x_190 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__59; +x_188 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_188, 0, x_32); +lean_ctor_set(x_188, 1, x_172); +lean_ctor_set(x_188, 2, x_187); +x_189 = lean_array_push(x_63, x_147); +lean_inc(x_189); +x_190 = lean_array_push(x_189, x_188); +x_191 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__59; lean_inc(x_32); -x_191 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_191, 0, x_32); -lean_ctor_set(x_191, 1, x_190); -lean_ctor_set(x_191, 2, x_189); +x_192 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_192, 0, x_32); +lean_ctor_set(x_192, 1, x_191); +lean_ctor_set(x_192, 2, x_190); lean_inc(x_43); -x_192 = lean_array_push(x_63, x_43); -x_193 = lean_array_push(x_192, x_191); -x_194 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__58; +x_193 = lean_array_push(x_63, x_43); +x_194 = lean_array_push(x_193, x_192); +x_195 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__58; lean_inc(x_32); -x_195 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_195, 0, x_32); -lean_ctor_set(x_195, 1, x_194); -lean_ctor_set(x_195, 2, x_193); -x_196 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__24; +x_196 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_196, 0, x_32); +lean_ctor_set(x_196, 1, x_195); +lean_ctor_set(x_196, 2, x_194); +x_197 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__24; lean_inc(x_32); -x_197 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_197, 0, x_32); -lean_ctor_set(x_197, 1, x_196); -x_198 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__77; +x_198 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_198, 0, x_32); +lean_ctor_set(x_198, 1, x_197); +x_199 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__77; lean_inc(x_32); -x_199 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_199, 0, x_32); -lean_ctor_set(x_199, 1, x_198); -x_200 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__33; +x_200 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_200, 0, x_32); +lean_ctor_set(x_200, 1, x_199); +x_201 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__33; lean_inc(x_34); lean_inc(x_39); -x_201 = l_Lean_addMacroScope(x_39, x_200, x_34); -x_202 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__32; -x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__40; +x_202 = l_Lean_addMacroScope(x_39, x_201, x_34); +x_203 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__32; +x_204 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__40; lean_inc(x_32); -x_204 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_204, 0, x_32); -lean_ctor_set(x_204, 1, x_202); -lean_ctor_set(x_204, 2, x_201); -lean_ctor_set(x_204, 3, x_203); -x_205 = lean_array_push(x_63, x_204); +x_205 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_205, 0, x_32); +lean_ctor_set(x_205, 1, x_203); +lean_ctor_set(x_205, 2, x_202); +lean_ctor_set(x_205, 3, x_204); +x_206 = lean_array_push(x_63, x_205); lean_inc(x_43); -x_206 = lean_array_push(x_205, x_43); -x_207 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__19; +x_207 = lean_array_push(x_206, x_43); +x_208 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__19; lean_inc(x_32); -x_208 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_208, 0, x_32); -lean_ctor_set(x_208, 1, x_207); -lean_ctor_set(x_208, 2, x_206); -x_209 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__81; +x_209 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_209, 0, x_32); +lean_ctor_set(x_209, 1, x_208); +lean_ctor_set(x_209, 2, x_207); +x_210 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__81; lean_inc(x_34); lean_inc(x_39); -x_210 = l_Lean_addMacroScope(x_39, x_209, x_34); -x_211 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__80; +x_211 = l_Lean_addMacroScope(x_39, x_210, x_34); +x_212 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__80; lean_inc(x_32); -x_212 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_212, 0, x_32); -lean_ctor_set(x_212, 1, x_211); -lean_ctor_set(x_212, 2, x_210); -lean_ctor_set(x_212, 3, x_40); -x_213 = lean_array_push(x_81, x_208); -lean_inc(x_197); -x_214 = lean_array_push(x_213, x_197); -lean_inc(x_212); -x_215 = lean_array_push(x_214, x_212); -x_216 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__17; +x_213 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_213, 0, x_32); +lean_ctor_set(x_213, 1, x_212); +lean_ctor_set(x_213, 2, x_211); +lean_ctor_set(x_213, 3, x_40); +x_214 = lean_array_push(x_81, x_209); +lean_inc(x_198); +x_215 = lean_array_push(x_214, x_198); +lean_inc(x_213); +x_216 = lean_array_push(x_215, x_213); +x_217 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__17; lean_inc(x_32); -x_217 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_217, 0, x_32); -lean_ctor_set(x_217, 1, x_216); -lean_ctor_set(x_217, 2, x_215); -x_218 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__53; +x_218 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_218, 0, x_32); +lean_ctor_set(x_218, 1, x_217); +lean_ctor_set(x_218, 2, x_216); +x_219 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__53; lean_inc(x_34); lean_inc(x_39); -x_219 = l_Lean_addMacroScope(x_39, x_218, x_34); -x_220 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__52; -x_221 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__56; +x_220 = l_Lean_addMacroScope(x_39, x_219, x_34); +x_221 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__52; +x_222 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__56; lean_inc(x_32); -x_222 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_222, 0, x_32); -lean_ctor_set(x_222, 1, x_220); -lean_ctor_set(x_222, 2, x_219); -lean_ctor_set(x_222, 3, x_221); -x_223 = lean_array_push(x_63, x_222); +x_223 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_223, 0, x_32); +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 = lean_array_push(x_63, x_223); lean_inc(x_43); -x_224 = lean_array_push(x_223, x_43); +x_225 = lean_array_push(x_224, x_43); lean_inc(x_32); -x_225 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_225, 0, x_32); -lean_ctor_set(x_225, 1, x_207); -lean_ctor_set(x_225, 2, x_224); -x_226 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__85; +x_226 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_226, 0, x_32); +lean_ctor_set(x_226, 1, x_208); +lean_ctor_set(x_226, 2, x_225); +x_227 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__85; lean_inc(x_34); lean_inc(x_39); -x_227 = l_Lean_addMacroScope(x_39, x_226, x_34); -x_228 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__84; +x_228 = l_Lean_addMacroScope(x_39, x_227, x_34); +x_229 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__84; lean_inc(x_32); -x_229 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_229, 0, x_32); -lean_ctor_set(x_229, 1, x_228); -lean_ctor_set(x_229, 2, x_227); -lean_ctor_set(x_229, 3, x_40); -x_230 = lean_array_push(x_81, x_225); -lean_inc(x_197); -x_231 = lean_array_push(x_230, x_197); -lean_inc(x_229); -x_232 = lean_array_push(x_231, x_229); +x_230 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_230, 0, x_32); +lean_ctor_set(x_230, 1, x_229); +lean_ctor_set(x_230, 2, x_228); +lean_ctor_set(x_230, 3, x_40); +x_231 = lean_array_push(x_81, x_226); +lean_inc(x_198); +x_232 = lean_array_push(x_231, x_198); +lean_inc(x_230); +x_233 = lean_array_push(x_232, x_230); lean_inc(x_32); -x_233 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_233, 0, x_32); -lean_ctor_set(x_233, 1, x_216); -lean_ctor_set(x_233, 2, x_232); -x_234 = lean_array_push(x_81, x_217); -x_235 = lean_array_push(x_234, x_98); -x_236 = lean_array_push(x_235, x_233); +x_234 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_234, 0, x_32); +lean_ctor_set(x_234, 1, x_217); +lean_ctor_set(x_234, 2, x_233); +x_235 = lean_array_push(x_81, x_218); +x_236 = lean_array_push(x_235, x_98); +x_237 = lean_array_push(x_236, x_234); lean_inc(x_32); -x_237 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_237, 0, x_32); -lean_ctor_set(x_237, 1, x_41); -lean_ctor_set(x_237, 2, x_236); -x_238 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__87; +x_238 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_238, 0, x_32); +lean_ctor_set(x_238, 1, x_41); +lean_ctor_set(x_238, 2, x_237); +x_239 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__87; lean_inc(x_32); -x_239 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_239, 0, x_32); -lean_ctor_set(x_239, 1, x_238); -lean_ctor_set(x_239, 2, x_141); -x_240 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__88; +x_240 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_240, 0, x_32); +lean_ctor_set(x_240, 1, x_239); +lean_ctor_set(x_240, 2, x_141); +x_241 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__88; lean_inc(x_32); -x_241 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_241, 0, x_32); -lean_ctor_set(x_241, 1, x_240); -x_242 = lean_array_push(x_44, x_199); +x_242 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_242, 0, x_32); +lean_ctor_set(x_242, 1, x_241); +x_243 = lean_array_push(x_44, x_200); lean_inc(x_43); -x_243 = lean_array_push(x_242, x_43); -lean_inc(x_243); -x_244 = lean_array_push(x_243, x_237); -lean_inc(x_239); -x_245 = lean_array_push(x_244, x_239); +x_244 = lean_array_push(x_243, x_43); +lean_inc(x_244); +x_245 = lean_array_push(x_244, x_238); +lean_inc(x_240); +x_246 = lean_array_push(x_245, x_240); lean_inc(x_43); -x_246 = lean_array_push(x_245, x_43); -lean_inc(x_241); -x_247 = lean_array_push(x_246, x_241); -x_248 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__76; +x_247 = lean_array_push(x_246, x_43); +lean_inc(x_242); +x_248 = lean_array_push(x_247, x_242); +x_249 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__76; lean_inc(x_32); -x_249 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_249, 0, x_32); -lean_ctor_set(x_249, 1, x_248); -lean_ctor_set(x_249, 2, x_247); -x_250 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__46; +x_250 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_250, 0, x_32); +lean_ctor_set(x_250, 1, x_249); +lean_ctor_set(x_250, 2, x_248); +x_251 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__46; lean_inc(x_34); lean_inc(x_39); -x_251 = l_Lean_addMacroScope(x_39, x_250, x_34); -x_252 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__45; +x_252 = l_Lean_addMacroScope(x_39, x_251, x_34); +x_253 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__45; lean_inc(x_32); -x_253 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_253, 0, x_32); -lean_ctor_set(x_253, 1, x_252); -lean_ctor_set(x_253, 2, x_251); -lean_ctor_set(x_253, 3, x_40); -lean_inc(x_253); -x_254 = lean_array_push(x_55, x_253); +x_254 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_254, 0, x_32); +lean_ctor_set(x_254, 1, x_253); +lean_ctor_set(x_254, 2, x_252); +lean_ctor_set(x_254, 3, x_40); +lean_inc(x_254); +x_255 = lean_array_push(x_55, x_254); lean_inc(x_32); -x_255 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_255, 0, x_32); -lean_ctor_set(x_255, 1, x_41); -lean_ctor_set(x_255, 2, x_254); -x_256 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__99; +x_256 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_256, 0, x_32); +lean_ctor_set(x_256, 1, x_41); +lean_ctor_set(x_256, 2, x_255); +x_257 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__99; lean_inc(x_32); -x_257 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_257, 0, x_32); -lean_ctor_set(x_257, 1, x_256); -x_258 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__103; +x_258 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_258, 0, x_32); +lean_ctor_set(x_258, 1, x_257); +x_259 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__103; lean_inc(x_34); lean_inc(x_39); -x_259 = l_Lean_addMacroScope(x_39, x_258, x_34); -x_260 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__102; -x_261 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__106; +x_260 = l_Lean_addMacroScope(x_39, x_259, x_34); +x_261 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__102; +x_262 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__106; lean_inc(x_32); -x_262 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_262, 0, x_32); -lean_ctor_set(x_262, 1, x_260); -lean_ctor_set(x_262, 2, x_259); -lean_ctor_set(x_262, 3, x_261); -x_263 = lean_array_get_size(x_23); -x_264 = lean_usize_of_nat(x_263); -lean_dec(x_263); -x_265 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__15; -x_266 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__5(x_40, x_265, x_216, x_264, x_15, x_23); -x_267 = lean_array_get_size(x_266); -x_268 = lean_usize_of_nat(x_267); -lean_dec(x_267); -x_269 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_268, x_15, x_266); -x_270 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__107; -x_271 = l_Lean_mkSepArray(x_269, x_270); -lean_dec(x_269); -x_272 = l_Array_append___rarg(x_42, x_271); +x_263 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_263, 0, x_32); +lean_ctor_set(x_263, 1, x_261); +lean_ctor_set(x_263, 2, x_260); +lean_ctor_set(x_263, 3, x_262); +x_264 = lean_array_get_size(x_23); +x_265 = lean_usize_of_nat(x_264); +lean_dec(x_264); +x_266 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__15; +x_267 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__5(x_40, x_266, x_217, x_265, x_15, x_23); +x_268 = lean_array_get_size(x_267); +x_269 = lean_usize_of_nat(x_268); +lean_dec(x_268); +x_270 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_269, x_15, x_267); +x_271 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__107; +x_272 = l_Lean_mkSepArray(x_270, x_271); +lean_dec(x_270); +x_273 = l_Array_append___rarg(x_42, x_272); lean_inc(x_32); -x_273 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_273, 0, x_32); -lean_ctor_set(x_273, 1, x_41); -lean_ctor_set(x_273, 2, x_272); -x_274 = lean_array_push(x_188, x_62); -lean_inc(x_274); +x_274 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_274, 0, x_32); +lean_ctor_set(x_274, 1, x_41); +lean_ctor_set(x_274, 2, x_273); +x_275 = lean_array_push(x_189, x_62); +lean_inc(x_275); lean_inc(x_32); -x_275 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_275, 0, x_32); -lean_ctor_set(x_275, 1, x_41); -lean_ctor_set(x_275, 2, x_274); -lean_inc(x_243); -x_276 = lean_array_push(x_243, x_273); -lean_inc(x_239); -x_277 = lean_array_push(x_276, x_239); -x_278 = lean_array_push(x_277, x_275); -lean_inc(x_241); -x_279 = lean_array_push(x_278, x_241); +x_276 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_276, 0, x_32); +lean_ctor_set(x_276, 1, x_41); +lean_ctor_set(x_276, 2, x_275); +lean_inc(x_244); +x_277 = lean_array_push(x_244, x_274); +lean_inc(x_240); +x_278 = lean_array_push(x_277, x_240); +x_279 = lean_array_push(x_278, x_276); +lean_inc(x_242); +x_280 = lean_array_push(x_279, x_242); lean_inc(x_32); -x_280 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_280, 0, x_32); -lean_ctor_set(x_280, 1, x_248); -lean_ctor_set(x_280, 2, x_279); -x_281 = lean_array_push(x_55, x_280); +x_281 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_281, 0, x_32); +lean_ctor_set(x_281, 1, x_249); +lean_ctor_set(x_281, 2, x_280); +x_282 = lean_array_push(x_55, x_281); lean_inc(x_32); -x_282 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_282, 0, x_32); -lean_ctor_set(x_282, 1, x_41); -lean_ctor_set(x_282, 2, x_281); -x_283 = lean_array_push(x_63, x_262); -x_284 = lean_array_push(x_283, x_282); +x_283 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_283, 0, x_32); +lean_ctor_set(x_283, 1, x_41); +lean_ctor_set(x_283, 2, x_282); +x_284 = lean_array_push(x_63, x_263); +x_285 = lean_array_push(x_284, x_283); lean_inc(x_32); -x_285 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_285, 0, x_32); -lean_ctor_set(x_285, 1, x_171); -lean_ctor_set(x_285, 2, x_284); -x_286 = lean_array_push(x_55, x_285); +x_286 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_286, 0, x_32); +lean_ctor_set(x_286, 1, x_172); +lean_ctor_set(x_286, 2, x_285); +x_287 = lean_array_push(x_55, x_286); lean_inc(x_32); -x_287 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_287, 0, x_32); -lean_ctor_set(x_287, 1, x_41); -lean_ctor_set(x_287, 2, x_286); -x_288 = lean_array_push(x_63, x_257); -lean_inc(x_288); -x_289 = lean_array_push(x_288, x_287); -x_290 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__98; +x_288 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_288, 0, x_32); +lean_ctor_set(x_288, 1, x_41); +lean_ctor_set(x_288, 2, x_287); +x_289 = lean_array_push(x_63, x_258); +lean_inc(x_289); +x_290 = lean_array_push(x_289, x_288); +x_291 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__98; lean_inc(x_32); -x_291 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_291, 0, x_32); -lean_ctor_set(x_291, 1, x_290); -lean_ctor_set(x_291, 2, x_289); -x_292 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__108; -x_293 = lean_array_push(x_292, x_212); -x_294 = lean_array_push(x_293, x_255); +x_292 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_292, 0, x_32); +lean_ctor_set(x_292, 1, x_291); +lean_ctor_set(x_292, 2, x_290); +x_293 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__108; +x_294 = lean_array_push(x_293, x_213); +x_295 = lean_array_push(x_294, x_256); lean_inc(x_43); -x_295 = lean_array_push(x_294, x_43); -lean_inc(x_197); -x_296 = lean_array_push(x_295, x_197); -x_297 = lean_array_push(x_296, x_291); -x_298 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__96; +x_296 = lean_array_push(x_295, x_43); +lean_inc(x_198); +x_297 = lean_array_push(x_296, x_198); +x_298 = lean_array_push(x_297, x_292); +x_299 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__96; lean_inc(x_32); -x_299 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_299, 0, x_32); -lean_ctor_set(x_299, 1, x_298); -lean_ctor_set(x_299, 2, x_297); -x_300 = lean_array_push(x_55, x_299); -x_301 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__94; +x_300 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_300, 0, x_32); +lean_ctor_set(x_300, 1, x_299); +lean_ctor_set(x_300, 2, x_298); +x_301 = lean_array_push(x_55, x_300); +x_302 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__94; lean_inc(x_32); -x_302 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_302, 0, x_32); -lean_ctor_set(x_302, 1, x_301); -lean_ctor_set(x_302, 2, x_300); +x_303 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_303, 0, x_32); +lean_ctor_set(x_303, 1, x_302); +lean_ctor_set(x_303, 2, x_301); lean_inc(x_43); -x_303 = lean_array_push(x_81, x_43); +x_304 = lean_array_push(x_81, x_43); lean_inc(x_43); -x_304 = lean_array_push(x_303, x_43); -lean_inc(x_304); -x_305 = lean_array_push(x_304, x_302); -x_306 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__92; +x_305 = lean_array_push(x_304, x_43); +lean_inc(x_305); +x_306 = lean_array_push(x_305, x_303); +x_307 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__92; lean_inc(x_32); -x_307 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_307, 0, x_32); -lean_ctor_set(x_307, 1, x_306); -lean_ctor_set(x_307, 2, x_305); -x_308 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__112; +x_308 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_308, 0, x_32); +lean_ctor_set(x_308, 1, x_307); +lean_ctor_set(x_308, 2, x_306); +x_309 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__112; lean_inc(x_34); lean_inc(x_39); -x_309 = l_Lean_addMacroScope(x_39, x_308, x_34); -x_310 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__111; +x_310 = l_Lean_addMacroScope(x_39, x_309, x_34); +x_311 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__111; lean_inc(x_32); -x_311 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_311, 0, x_32); -lean_ctor_set(x_311, 1, x_310); -lean_ctor_set(x_311, 2, x_309); -lean_ctor_set(x_311, 3, x_40); -x_312 = lean_array_push(x_55, x_311); +x_312 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_312, 0, x_32); +lean_ctor_set(x_312, 1, x_311); +lean_ctor_set(x_312, 2, x_310); +lean_ctor_set(x_312, 3, x_40); +x_313 = lean_array_push(x_55, x_312); lean_inc(x_32); -x_313 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_313, 0, x_32); -lean_ctor_set(x_313, 1, x_41); -lean_ctor_set(x_313, 2, x_312); -x_314 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__113; +x_314 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_314, 0, x_32); +lean_ctor_set(x_314, 1, x_41); +lean_ctor_set(x_314, 2, x_313); +x_315 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__113; lean_inc(x_32); -x_315 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_315, 0, x_32); -lean_ctor_set(x_315, 1, x_314); -x_316 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__121; +x_316 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_316, 0, x_32); +lean_ctor_set(x_316, 1, x_315); +x_317 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__121; lean_inc(x_32); -x_317 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_317, 0, x_32); -lean_ctor_set(x_317, 1, x_316); -lean_inc(x_32); -x_318 = lean_alloc_ctor(1, 3, 0); +x_318 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_318, 0, x_32); -lean_ctor_set(x_318, 1, x_190); -lean_ctor_set(x_318, 2, x_274); -x_319 = lean_array_push(x_55, x_318); +lean_ctor_set(x_318, 1, x_317); lean_inc(x_32); -x_320 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_320, 0, x_32); -lean_ctor_set(x_320, 1, x_41); -lean_ctor_set(x_320, 2, x_319); -x_321 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__27; +x_319 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_319, 0, x_32); +lean_ctor_set(x_319, 1, x_191); +lean_ctor_set(x_319, 2, x_275); +x_320 = lean_array_push(x_55, x_319); lean_inc(x_32); -x_322 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_322, 0, x_32); -lean_ctor_set(x_322, 1, x_321); -x_323 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__129; -x_324 = l_Lean_addMacroScope(x_39, x_323, x_34); -x_325 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__128; -x_326 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__132; +x_321 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_321, 0, x_32); +lean_ctor_set(x_321, 1, x_41); +lean_ctor_set(x_321, 2, x_320); +x_322 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__27; lean_inc(x_32); -x_327 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_327, 0, x_32); -lean_ctor_set(x_327, 1, x_325); -lean_ctor_set(x_327, 2, x_324); -lean_ctor_set(x_327, 3, x_326); -x_328 = lean_array_push(x_63, x_327); -lean_inc(x_313); -x_329 = lean_array_push(x_328, x_313); +x_323 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_323, 0, x_32); +lean_ctor_set(x_323, 1, x_322); +x_324 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__129; +x_325 = l_Lean_addMacroScope(x_39, x_324, x_34); +x_326 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__128; +x_327 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__132; lean_inc(x_32); -x_330 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_330, 0, x_32); -lean_ctor_set(x_330, 1, x_171); -lean_ctor_set(x_330, 2, x_329); -x_331 = lean_array_push(x_55, x_330); -x_332 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__125; +x_328 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_328, 0, x_32); +lean_ctor_set(x_328, 1, x_326); +lean_ctor_set(x_328, 2, x_325); +lean_ctor_set(x_328, 3, x_327); +x_329 = lean_array_push(x_63, x_328); +lean_inc(x_314); +x_330 = lean_array_push(x_329, x_314); lean_inc(x_32); -x_333 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_333, 0, x_32); -lean_ctor_set(x_333, 1, x_332); -lean_ctor_set(x_333, 2, x_331); -x_334 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__133; -x_335 = lean_array_push(x_334, x_253); -x_336 = lean_array_push(x_335, x_320); -x_337 = lean_array_push(x_336, x_322); -x_338 = lean_array_push(x_337, x_333); -x_339 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__123; +x_331 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_331, 0, x_32); +lean_ctor_set(x_331, 1, x_172); +lean_ctor_set(x_331, 2, x_330); +x_332 = lean_array_push(x_55, x_331); +x_333 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__125; lean_inc(x_32); -x_340 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_340, 0, x_32); -lean_ctor_set(x_340, 1, x_339); -lean_ctor_set(x_340, 2, x_338); -x_341 = lean_array_push(x_81, x_317); +x_334 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_334, 0, x_32); +lean_ctor_set(x_334, 1, x_333); +lean_ctor_set(x_334, 2, x_332); +x_335 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__133; +x_336 = lean_array_push(x_335, x_254); +x_337 = lean_array_push(x_336, x_321); +x_338 = lean_array_push(x_337, x_323); +x_339 = lean_array_push(x_338, x_334); +x_340 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__123; +lean_inc(x_32); +x_341 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_341, 0, x_32); +lean_ctor_set(x_341, 1, x_340); +lean_ctor_set(x_341, 2, x_339); +x_342 = lean_array_push(x_81, x_318); lean_inc(x_43); -x_342 = lean_array_push(x_341, x_43); -x_343 = lean_array_push(x_342, x_340); -x_344 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__120; +x_343 = lean_array_push(x_342, x_43); +x_344 = lean_array_push(x_343, x_341); +x_345 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__120; lean_inc(x_32); -x_345 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_345, 0, x_32); -lean_ctor_set(x_345, 1, x_344); -lean_ctor_set(x_345, 2, x_343); -x_346 = lean_array_push(x_63, x_345); +x_346 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_346, 0, x_32); +lean_ctor_set(x_346, 1, x_345); +lean_ctor_set(x_346, 2, x_344); +x_347 = lean_array_push(x_63, x_346); lean_inc(x_43); -x_347 = lean_array_push(x_346, x_43); -x_348 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__118; +x_348 = lean_array_push(x_347, x_43); +x_349 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__118; lean_inc(x_32); -x_349 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_349, 0, x_32); -lean_ctor_set(x_349, 1, x_348); -lean_ctor_set(x_349, 2, x_347); -x_350 = lean_array_get_size(x_22); -x_351 = lean_usize_of_nat(x_350); -lean_dec(x_350); -x_352 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__7(x_40, x_265, x_216, x_351, x_15, x_22); -x_353 = lean_array_get_size(x_352); -x_354 = lean_usize_of_nat(x_353); -lean_dec(x_353); -x_355 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_354, x_15, x_352); -x_356 = l_Lean_mkSepArray(x_355, x_270); -lean_dec(x_355); -x_357 = l_Array_append___rarg(x_42, x_356); +x_350 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_350, 0, x_32); +lean_ctor_set(x_350, 1, x_349); +lean_ctor_set(x_350, 2, x_348); +x_351 = lean_array_get_size(x_22); +x_352 = lean_usize_of_nat(x_351); +lean_dec(x_351); +x_353 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__7(x_40, x_266, x_217, x_352, x_15, x_22); +x_354 = lean_array_get_size(x_353); +x_355 = lean_usize_of_nat(x_354); +lean_dec(x_354); +x_356 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_355, x_15, x_353); +x_357 = l_Lean_mkSepArray(x_356, x_271); +lean_dec(x_356); +x_358 = l_Array_append___rarg(x_42, x_357); lean_inc(x_32); -x_358 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_358, 0, x_32); -lean_ctor_set(x_358, 1, x_41); -lean_ctor_set(x_358, 2, x_357); -x_359 = lean_array_push(x_243, x_358); -x_360 = lean_array_push(x_359, x_239); +x_359 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_359, 0, x_32); +lean_ctor_set(x_359, 1, x_41); +lean_ctor_set(x_359, 2, x_358); +x_360 = lean_array_push(x_244, x_359); +x_361 = lean_array_push(x_360, x_240); lean_inc(x_43); -x_361 = lean_array_push(x_360, x_43); -x_362 = lean_array_push(x_361, x_241); +x_362 = lean_array_push(x_361, x_43); +x_363 = lean_array_push(x_362, x_242); lean_inc(x_32); -x_363 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_363, 0, x_32); -lean_ctor_set(x_363, 1, x_248); -lean_ctor_set(x_363, 2, x_362); -x_364 = lean_array_push(x_55, x_363); +x_364 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_364, 0, x_32); +lean_ctor_set(x_364, 1, x_249); +lean_ctor_set(x_364, 2, x_363); +x_365 = lean_array_push(x_55, x_364); lean_inc(x_32); -x_365 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_365, 0, x_32); -lean_ctor_set(x_365, 1, x_41); -lean_ctor_set(x_365, 2, x_364); -x_366 = lean_array_push(x_288, x_365); -x_367 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__135; +x_366 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_366, 0, x_32); +lean_ctor_set(x_366, 1, x_41); +lean_ctor_set(x_366, 2, x_365); +x_367 = lean_array_push(x_289, x_366); +x_368 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__135; lean_inc(x_32); -x_368 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_368, 0, x_32); -lean_ctor_set(x_368, 1, x_367); -lean_ctor_set(x_368, 2, x_366); -x_369 = lean_array_push(x_63, x_368); +x_369 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_369, 0, x_32); +lean_ctor_set(x_369, 1, x_368); +lean_ctor_set(x_369, 2, x_367); +x_370 = lean_array_push(x_63, x_369); lean_inc(x_43); -x_370 = lean_array_push(x_369, x_43); +x_371 = lean_array_push(x_370, x_43); lean_inc(x_32); -x_371 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_371, 0, x_32); -lean_ctor_set(x_371, 1, x_348); -lean_ctor_set(x_371, 2, x_370); -x_372 = lean_array_push(x_63, x_349); -x_373 = lean_array_push(x_372, x_371); +x_372 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_372, 0, x_32); +lean_ctor_set(x_372, 1, x_349); +lean_ctor_set(x_372, 2, x_371); +x_373 = lean_array_push(x_63, x_350); +x_374 = lean_array_push(x_373, x_372); lean_inc(x_32); -x_374 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_374, 0, x_32); -lean_ctor_set(x_374, 1, x_41); -lean_ctor_set(x_374, 2, x_373); -x_375 = lean_array_push(x_55, x_374); -x_376 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__116; +x_375 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_375, 0, x_32); +lean_ctor_set(x_375, 1, x_41); +lean_ctor_set(x_375, 2, x_374); +x_376 = lean_array_push(x_55, x_375); +x_377 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__116; lean_inc(x_32); -x_377 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_377, 0, x_32); -lean_ctor_set(x_377, 1, x_376); -lean_ctor_set(x_377, 2, x_375); -x_378 = lean_array_push(x_63, x_315); -x_379 = lean_array_push(x_378, x_377); -x_380 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__114; +x_378 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_378, 0, x_32); +lean_ctor_set(x_378, 1, x_377); +lean_ctor_set(x_378, 2, x_376); +x_379 = lean_array_push(x_63, x_316); +x_380 = lean_array_push(x_379, x_378); +x_381 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__114; lean_inc(x_32); -x_381 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_381, 0, x_32); -lean_ctor_set(x_381, 1, x_380); -lean_ctor_set(x_381, 2, x_379); -x_382 = lean_array_push(x_292, x_229); -x_383 = lean_array_push(x_382, x_313); +x_382 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_382, 0, x_32); +lean_ctor_set(x_382, 1, x_381); +lean_ctor_set(x_382, 2, x_380); +x_383 = lean_array_push(x_293, x_230); +x_384 = lean_array_push(x_383, x_314); lean_inc(x_43); -x_384 = lean_array_push(x_383, x_43); -lean_inc(x_197); -x_385 = lean_array_push(x_384, x_197); -x_386 = lean_array_push(x_385, x_381); +x_385 = lean_array_push(x_384, x_43); +lean_inc(x_198); +x_386 = lean_array_push(x_385, x_198); +x_387 = lean_array_push(x_386, x_382); lean_inc(x_32); -x_387 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_387, 0, x_32); -lean_ctor_set(x_387, 1, x_298); -lean_ctor_set(x_387, 2, x_386); -x_388 = lean_array_push(x_55, x_387); +x_388 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_388, 0, x_32); +lean_ctor_set(x_388, 1, x_299); +lean_ctor_set(x_388, 2, x_387); +x_389 = lean_array_push(x_55, x_388); lean_inc(x_32); -x_389 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_389, 0, x_32); -lean_ctor_set(x_389, 1, x_301); -lean_ctor_set(x_389, 2, x_388); -x_390 = lean_array_push(x_304, x_389); +x_390 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_390, 0, x_32); +lean_ctor_set(x_390, 1, x_302); +lean_ctor_set(x_390, 2, x_389); +x_391 = lean_array_push(x_305, x_390); lean_inc(x_32); -x_391 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_391, 0, x_32); -lean_ctor_set(x_391, 1, x_306); -lean_ctor_set(x_391, 2, x_390); -x_392 = lean_array_push(x_81, x_307); +x_392 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_392, 0, x_32); +lean_ctor_set(x_392, 1, x_307); +lean_ctor_set(x_392, 2, x_391); +x_393 = lean_array_push(x_81, x_308); lean_inc(x_43); -x_393 = lean_array_push(x_392, x_43); -x_394 = lean_array_push(x_393, x_391); +x_394 = lean_array_push(x_393, x_43); +x_395 = lean_array_push(x_394, x_392); lean_inc(x_32); -x_395 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_395, 0, x_32); -lean_ctor_set(x_395, 1, x_41); -lean_ctor_set(x_395, 2, x_394); -x_396 = lean_array_push(x_63, x_69); -x_397 = lean_array_push(x_396, x_395); -x_398 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__90; +x_396 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_396, 0, x_32); +lean_ctor_set(x_396, 1, x_41); +lean_ctor_set(x_396, 2, x_395); +x_397 = lean_array_push(x_63, x_69); +x_398 = lean_array_push(x_397, x_396); +x_399 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__90; lean_inc(x_32); -x_399 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_399, 0, x_32); -lean_ctor_set(x_399, 1, x_398); -lean_ctor_set(x_399, 2, x_397); -x_400 = lean_array_push(x_55, x_399); +x_400 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_400, 0, x_32); +lean_ctor_set(x_400, 1, x_399); +lean_ctor_set(x_400, 2, x_398); +x_401 = lean_array_push(x_55, x_400); lean_inc(x_32); -x_401 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_401, 0, x_32); -lean_ctor_set(x_401, 1, x_41); -lean_ctor_set(x_401, 2, x_400); -x_402 = lean_array_push(x_81, x_197); -x_403 = lean_array_push(x_402, x_249); -x_404 = lean_array_push(x_403, x_401); -x_405 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__74; +x_402 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_402, 0, x_32); +lean_ctor_set(x_402, 1, x_41); +lean_ctor_set(x_402, 2, x_401); +x_403 = lean_array_push(x_81, x_198); +x_404 = lean_array_push(x_403, x_250); +x_405 = lean_array_push(x_404, x_402); +x_406 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__74; lean_inc(x_32); -x_406 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_406, 0, x_32); -lean_ctor_set(x_406, 1, x_405); -lean_ctor_set(x_406, 2, x_404); -x_407 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__136; -x_408 = lean_array_push(x_407, x_143); -x_409 = lean_array_push(x_408, x_145); -lean_inc(x_43); -x_410 = lean_array_push(x_409, x_43); +x_407 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_407, 0, x_32); +lean_ctor_set(x_407, 1, x_406); +lean_ctor_set(x_407, 2, x_405); +x_408 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__136; +x_409 = lean_array_push(x_408, x_143); +x_410 = lean_array_push(x_409, x_145); lean_inc(x_43); x_411 = lean_array_push(x_410, x_43); -x_412 = lean_array_push(x_411, x_195); -x_413 = lean_array_push(x_412, x_406); lean_inc(x_43); -x_414 = lean_array_push(x_413, x_43); +x_412 = lean_array_push(x_411, x_43); +x_413 = lean_array_push(x_412, x_196); +x_414 = lean_array_push(x_413, x_407); +lean_inc(x_43); x_415 = lean_array_push(x_414, x_43); -x_416 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__54; +x_416 = lean_array_push(x_415, x_43); +x_417 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__54; lean_inc(x_32); -x_417 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_417, 0, x_32); -lean_ctor_set(x_417, 1, x_416); -lean_ctor_set(x_417, 2, x_415); -x_418 = lean_array_push(x_127, x_417); +x_418 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_418, 0, x_32); +lean_ctor_set(x_418, 1, x_417); +lean_ctor_set(x_418, 2, x_416); +x_419 = lean_array_push(x_127, x_418); lean_inc(x_32); -x_419 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_419, 0, x_32); -lean_ctor_set(x_419, 1, x_129); -lean_ctor_set(x_419, 2, x_418); -x_420 = lean_array_push(x_81, x_138); -x_421 = lean_array_push(x_420, x_140); -x_422 = lean_array_push(x_421, x_419); -x_423 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__50; +x_420 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_420, 0, x_32); +lean_ctor_set(x_420, 1, x_129); +lean_ctor_set(x_420, 2, x_419); +x_421 = lean_array_push(x_81, x_138); +x_422 = lean_array_push(x_421, x_140); +x_423 = lean_array_push(x_422, x_420); +x_424 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__50; lean_inc(x_32); -x_424 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_424, 0, x_32); -lean_ctor_set(x_424, 1, x_423); -lean_ctor_set(x_424, 2, x_422); -x_425 = lean_array_push(x_63, x_130); -x_426 = lean_array_push(x_425, x_424); -x_427 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_427, 0, x_32); -lean_ctor_set(x_427, 1, x_41); -lean_ctor_set(x_427, 2, x_426); -lean_ctor_set(x_35, 0, x_427); +x_425 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_425, 0, x_32); +lean_ctor_set(x_425, 1, x_424); +lean_ctor_set(x_425, 2, x_423); +x_426 = lean_array_push(x_63, x_130); +x_427 = lean_array_push(x_426, x_425); +x_428 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_428, 0, x_32); +lean_ctor_set(x_428, 1, x_41); +lean_ctor_set(x_428, 2, x_427); +lean_ctor_set(x_35, 0, x_428); return x_35; } else { -lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; lean_object* x_449; lean_object* x_450; lean_object* x_451; lean_object* x_452; lean_object* x_453; lean_object* x_454; lean_object* x_455; lean_object* x_456; lean_object* x_457; lean_object* x_458; lean_object* x_459; lean_object* x_460; lean_object* x_461; lean_object* x_462; lean_object* x_463; size_t x_464; lean_object* x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; lean_object* x_554; lean_object* x_555; size_t x_556; lean_object* x_557; lean_object* x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; size_t x_656; lean_object* x_657; lean_object* x_658; lean_object* x_659; size_t x_660; lean_object* x_661; lean_object* x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; size_t x_743; lean_object* x_744; lean_object* x_745; size_t x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; -x_428 = lean_ctor_get(x_35, 0); -x_429 = lean_ctor_get(x_35, 1); -lean_inc(x_429); -lean_inc(x_428); -lean_dec(x_35); -x_430 = lean_ctor_get(x_428, 0); +lean_object* x_429; lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; lean_object* x_436; lean_object* x_437; lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_object* x_441; lean_object* x_442; lean_object* x_443; lean_object* x_444; lean_object* x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; 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; size_t x_465; lean_object* x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; lean_object* x_481; lean_object* x_482; lean_object* x_483; lean_object* x_484; lean_object* x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; lean_object* x_490; lean_object* x_491; lean_object* x_492; lean_object* x_493; lean_object* x_494; lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; lean_object* x_499; lean_object* x_500; lean_object* x_501; lean_object* x_502; lean_object* x_503; lean_object* x_504; lean_object* x_505; lean_object* x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_512; lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; lean_object* x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; lean_object* x_539; lean_object* x_540; lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; lean_object* x_546; lean_object* x_547; lean_object* x_548; lean_object* x_549; lean_object* x_550; uint8_t 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; size_t x_558; lean_object* x_559; lean_object* x_560; lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; lean_object* x_568; lean_object* x_569; lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; lean_object* x_578; lean_object* x_579; lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_587; lean_object* x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; lean_object* x_595; lean_object* x_596; lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; lean_object* x_603; lean_object* x_604; lean_object* x_605; lean_object* x_606; lean_object* x_607; lean_object* x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; lean_object* x_614; lean_object* x_615; lean_object* x_616; lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; lean_object* x_622; lean_object* x_623; lean_object* x_624; lean_object* x_625; lean_object* x_626; lean_object* x_627; lean_object* x_628; lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; lean_object* x_640; lean_object* x_641; lean_object* x_642; lean_object* x_643; lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; lean_object* x_655; lean_object* x_656; lean_object* x_657; size_t x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; size_t x_662; lean_object* x_663; lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; lean_object* x_668; lean_object* x_669; lean_object* x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; lean_object* x_674; lean_object* x_675; lean_object* x_676; lean_object* x_677; lean_object* x_678; lean_object* x_679; lean_object* x_680; lean_object* x_681; lean_object* x_682; lean_object* x_683; lean_object* x_684; lean_object* x_685; lean_object* x_686; lean_object* x_687; lean_object* x_688; lean_object* x_689; lean_object* x_690; lean_object* x_691; lean_object* x_692; lean_object* x_693; lean_object* x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; lean_object* x_699; lean_object* x_700; lean_object* x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_708; lean_object* x_709; lean_object* x_710; lean_object* x_711; lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; lean_object* x_716; lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; lean_object* x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; lean_object* x_735; lean_object* x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; lean_object* x_740; lean_object* x_741; lean_object* x_742; lean_object* x_743; lean_object* x_744; size_t x_745; lean_object* x_746; lean_object* x_747; size_t x_748; lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; lean_object* x_758; lean_object* x_759; lean_object* x_760; lean_object* x_761; lean_object* x_762; lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; lean_object* x_769; lean_object* x_770; lean_object* x_771; lean_object* x_772; lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_777; lean_object* x_778; lean_object* x_779; lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; lean_object* x_785; lean_object* x_786; lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; lean_object* x_792; lean_object* x_793; lean_object* x_794; lean_object* x_795; lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; lean_object* x_803; lean_object* x_804; lean_object* x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; lean_object* x_809; lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; +x_429 = lean_ctor_get(x_35, 0); +x_430 = lean_ctor_get(x_35, 1); lean_inc(x_430); -lean_dec(x_428); -x_431 = lean_environment_main_module(x_430); -x_432 = lean_box(0); -x_433 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__21; -x_434 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__22; -lean_inc(x_32); -x_435 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_435, 0, x_32); -lean_ctor_set(x_435, 1, x_433); -lean_ctor_set(x_435, 2, x_434); -x_436 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__10; -lean_inc(x_435); -x_437 = lean_array_push(x_436, x_435); -lean_inc(x_435); -x_438 = lean_array_push(x_437, x_435); -lean_inc(x_435); -x_439 = lean_array_push(x_438, x_435); -lean_inc(x_435); -x_440 = lean_array_push(x_439, x_435); -lean_inc(x_435); -x_441 = lean_array_push(x_440, x_435); -lean_inc(x_435); -x_442 = lean_array_push(x_441, x_435); -x_443 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__9; -lean_inc(x_32); -x_444 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_444, 0, x_32); -lean_ctor_set(x_444, 1, x_443); -lean_ctor_set(x_444, 2, x_442); -x_445 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__11; -lean_inc(x_32); -x_446 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_446, 0, x_32); -lean_ctor_set(x_446, 1, x_445); -x_447 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__49; -x_448 = lean_array_push(x_447, x_446); -x_449 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__14; -lean_inc(x_32); -x_450 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_450, 0, x_32); -lean_ctor_set(x_450, 1, x_449); -lean_ctor_set(x_450, 2, x_448); -x_451 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__20; -lean_inc(x_34); +lean_inc(x_429); +lean_dec(x_35); +x_431 = lean_ctor_get(x_429, 0); lean_inc(x_431); -x_452 = l_Lean_addMacroScope(x_431, x_451, x_34); -x_453 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__19; +lean_dec(x_429); +x_432 = lean_environment_main_module(x_431); +x_433 = lean_box(0); +x_434 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__21; +x_435 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__22; lean_inc(x_32); -x_454 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_454, 0, x_32); -lean_ctor_set(x_454, 1, x_453); -lean_ctor_set(x_454, 2, x_452); -lean_ctor_set(x_454, 3, x_432); -x_455 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__23; -lean_inc(x_454); -x_456 = lean_array_push(x_455, x_454); -lean_inc(x_435); -x_457 = lean_array_push(x_456, x_435); -x_458 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__16; +x_436 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_436, 0, x_32); +lean_ctor_set(x_436, 1, x_434); +lean_ctor_set(x_436, 2, x_435); +x_437 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__10; +lean_inc(x_436); +x_438 = lean_array_push(x_437, x_436); +lean_inc(x_436); +x_439 = lean_array_push(x_438, x_436); +lean_inc(x_436); +x_440 = lean_array_push(x_439, x_436); +lean_inc(x_436); +x_441 = lean_array_push(x_440, x_436); +lean_inc(x_436); +x_442 = lean_array_push(x_441, x_436); +lean_inc(x_436); +x_443 = lean_array_push(x_442, x_436); +x_444 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__9; lean_inc(x_32); -x_459 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_459, 0, x_32); -lean_ctor_set(x_459, 1, x_458); -lean_ctor_set(x_459, 2, x_457); -x_460 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__21; +x_445 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_445, 0, x_32); +lean_ctor_set(x_445, 1, x_444); +lean_ctor_set(x_445, 2, x_443); +x_446 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__11; lean_inc(x_32); -x_461 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_461, 0, x_32); -lean_ctor_set(x_461, 1, x_460); -x_462 = l_Array_zip___rarg(x_24, x_25); +x_447 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_447, 0, x_32); +lean_ctor_set(x_447, 1, x_446); +x_448 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__49; +x_449 = lean_array_push(x_448, x_447); +x_450 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__14; +lean_inc(x_32); +x_451 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_451, 0, x_32); +lean_ctor_set(x_451, 1, x_450); +lean_ctor_set(x_451, 2, x_449); +x_452 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__20; +lean_inc(x_34); +lean_inc(x_432); +x_453 = l_Lean_addMacroScope(x_432, x_452, x_34); +x_454 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__19; +lean_inc(x_32); +x_455 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_455, 0, x_32); +lean_ctor_set(x_455, 1, x_454); +lean_ctor_set(x_455, 2, x_453); +lean_ctor_set(x_455, 3, x_433); +x_456 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__23; +lean_inc(x_455); +x_457 = lean_array_push(x_456, x_455); +lean_inc(x_436); +x_458 = lean_array_push(x_457, x_436); +x_459 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__16; +lean_inc(x_32); +x_460 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_460, 0, x_32); +lean_ctor_set(x_460, 1, x_459); +lean_ctor_set(x_460, 2, x_458); +x_461 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__21; +lean_inc(x_32); +x_462 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_462, 0, x_32); +lean_ctor_set(x_462, 1, x_461); +x_463 = l_Array_zip___rarg(x_24, x_25); lean_dec(x_25); lean_dec(x_24); -x_463 = lean_array_get_size(x_462); -x_464 = lean_usize_of_nat(x_463); -lean_dec(x_463); -x_465 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__13; -x_466 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__5; -lean_inc(x_444); -lean_inc(x_435); +x_464 = lean_array_get_size(x_463); +x_465 = lean_usize_of_nat(x_464); +lean_dec(x_464); +x_466 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__13; +x_467 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__5; +lean_inc(x_445); +lean_inc(x_436); lean_inc(x_32); -x_467 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__3(x_32, x_433, x_465, x_466, x_435, x_436, x_444, x_447, x_455, x_464, x_15, x_462); -x_468 = l_Array_append___rarg(x_434, x_467); +x_468 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__3(x_32, x_434, x_466, x_467, x_436, x_437, x_445, x_448, x_456, x_465, x_15, x_463); +x_469 = l_Array_append___rarg(x_435, x_468); lean_inc(x_32); -x_469 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_469, 0, x_32); -lean_ctor_set(x_469, 1, x_433); -lean_ctor_set(x_469, 2, x_468); -x_470 = lean_array_push(x_447, x_469); -x_471 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__23; +x_470 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_470, 0, x_32); +lean_ctor_set(x_470, 1, x_434); +lean_ctor_set(x_470, 2, x_469); +x_471 = lean_array_push(x_448, x_470); +x_472 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__23; lean_inc(x_32); -x_472 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_472, 0, x_32); -lean_ctor_set(x_472, 1, x_471); -lean_ctor_set(x_472, 2, x_470); -x_473 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__48; -lean_inc(x_461); -x_474 = lean_array_push(x_473, x_461); -lean_inc(x_435); -x_475 = lean_array_push(x_474, x_435); -x_476 = lean_array_push(x_475, x_472); +x_473 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_473, 0, x_32); +lean_ctor_set(x_473, 1, x_472); +lean_ctor_set(x_473, 2, x_471); +x_474 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__48; +lean_inc(x_462); +x_475 = lean_array_push(x_474, x_462); +lean_inc(x_436); +x_476 = lean_array_push(x_475, x_436); +x_477 = lean_array_push(x_476, x_473); lean_inc(x_32); -x_477 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_477, 0, x_32); -lean_ctor_set(x_477, 1, x_433); -lean_ctor_set(x_477, 2, x_476); -x_478 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__26; +x_478 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_478, 0, x_32); +lean_ctor_set(x_478, 1, x_434); +lean_ctor_set(x_478, 2, x_477); +x_479 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__26; lean_inc(x_32); -x_479 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_479, 0, x_32); -lean_ctor_set(x_479, 1, x_478); -x_480 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__32; +x_480 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_480, 0, x_32); +lean_ctor_set(x_480, 1, x_479); +x_481 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__32; lean_inc(x_34); -lean_inc(x_431); -x_481 = l_Lean_addMacroScope(x_431, x_480, x_34); -x_482 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__31; -x_483 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__37; +lean_inc(x_432); +x_482 = l_Lean_addMacroScope(x_432, x_481, x_34); +x_483 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__31; +x_484 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__37; lean_inc(x_32); -x_484 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_484, 0, x_32); -lean_ctor_set(x_484, 1, x_482); -lean_ctor_set(x_484, 2, x_481); -lean_ctor_set(x_484, 3, x_483); -x_485 = lean_array_push(x_455, x_484); -lean_inc(x_435); -x_486 = lean_array_push(x_485, x_435); -x_487 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__28; +x_485 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_485, 0, x_32); +lean_ctor_set(x_485, 1, x_483); +lean_ctor_set(x_485, 2, x_482); +lean_ctor_set(x_485, 3, x_484); +x_486 = lean_array_push(x_456, x_485); +lean_inc(x_436); +x_487 = lean_array_push(x_486, x_436); +x_488 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__28; lean_inc(x_32); -x_488 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_488, 0, x_32); -lean_ctor_set(x_488, 1, x_487); -lean_ctor_set(x_488, 2, x_486); -x_489 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__38; +x_489 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_489, 0, x_32); +lean_ctor_set(x_489, 1, x_488); +lean_ctor_set(x_489, 2, x_487); +x_490 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__38; lean_inc(x_32); -x_490 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_490, 0, x_32); -lean_ctor_set(x_490, 1, x_489); -x_491 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__42; +x_491 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_491, 0, x_32); +lean_ctor_set(x_491, 1, x_490); +x_492 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__42; lean_inc(x_34); -lean_inc(x_431); -x_492 = l_Lean_addMacroScope(x_431, x_491, x_34); -x_493 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__41; -x_494 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__47; +lean_inc(x_432); +x_493 = l_Lean_addMacroScope(x_432, x_492, x_34); +x_494 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__41; +x_495 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__47; lean_inc(x_32); -x_495 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_495, 0, x_32); -lean_ctor_set(x_495, 1, x_493); -lean_ctor_set(x_495, 2, x_492); -lean_ctor_set(x_495, 3, x_494); -x_496 = lean_array_push(x_455, x_495); -lean_inc(x_435); -x_497 = lean_array_push(x_496, x_435); +x_496 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_496, 0, x_32); +lean_ctor_set(x_496, 1, x_494); +lean_ctor_set(x_496, 2, x_493); +lean_ctor_set(x_496, 3, x_495); +x_497 = lean_array_push(x_456, x_496); +lean_inc(x_436); +x_498 = lean_array_push(x_497, x_436); lean_inc(x_32); -x_498 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_498, 0, x_32); -lean_ctor_set(x_498, 1, x_487); -lean_ctor_set(x_498, 2, x_497); -x_499 = lean_array_push(x_473, x_488); -lean_inc(x_490); -x_500 = lean_array_push(x_499, x_490); -x_501 = lean_array_push(x_500, x_498); +x_499 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_499, 0, x_32); +lean_ctor_set(x_499, 1, x_488); +lean_ctor_set(x_499, 2, x_498); +x_500 = lean_array_push(x_474, x_489); +lean_inc(x_491); +x_501 = lean_array_push(x_500, x_491); +x_502 = lean_array_push(x_501, x_499); lean_inc(x_32); -x_502 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_502, 0, x_32); -lean_ctor_set(x_502, 1, x_433); -lean_ctor_set(x_502, 2, x_501); -x_503 = lean_array_push(x_455, x_479); -x_504 = lean_array_push(x_503, x_502); +x_503 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_503, 0, x_32); +lean_ctor_set(x_503, 1, x_434); +lean_ctor_set(x_503, 2, x_502); +x_504 = lean_array_push(x_456, x_480); +x_505 = lean_array_push(x_504, x_503); lean_inc(x_32); -x_505 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_505, 0, x_32); -lean_ctor_set(x_505, 1, x_433); -lean_ctor_set(x_505, 2, x_504); -x_506 = lean_array_push(x_447, x_505); -x_507 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__25; +x_506 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_506, 0, x_32); +lean_ctor_set(x_506, 1, x_434); +lean_ctor_set(x_506, 2, x_505); +x_507 = lean_array_push(x_448, x_506); +x_508 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__25; lean_inc(x_32); -x_508 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_508, 0, x_32); -lean_ctor_set(x_508, 1, x_507); -lean_ctor_set(x_508, 2, x_506); -x_509 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__48; -x_510 = lean_array_push(x_509, x_450); -x_511 = lean_array_push(x_510, x_459); -lean_inc(x_435); -x_512 = lean_array_push(x_511, x_435); -lean_inc(x_435); -x_513 = lean_array_push(x_512, x_435); -lean_inc(x_435); -x_514 = lean_array_push(x_513, x_435); -x_515 = lean_array_push(x_514, x_477); -x_516 = lean_array_push(x_515, x_508); -x_517 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__12; +x_509 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_509, 0, x_32); +lean_ctor_set(x_509, 1, x_508); +lean_ctor_set(x_509, 2, x_507); +x_510 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__48; +x_511 = lean_array_push(x_510, x_451); +x_512 = lean_array_push(x_511, x_460); +lean_inc(x_436); +x_513 = lean_array_push(x_512, x_436); +lean_inc(x_436); +x_514 = lean_array_push(x_513, x_436); +lean_inc(x_436); +x_515 = lean_array_push(x_514, x_436); +x_516 = lean_array_push(x_515, x_478); +x_517 = lean_array_push(x_516, x_509); +x_518 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__12; lean_inc(x_32); -x_518 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_518, 0, x_32); -lean_ctor_set(x_518, 1, x_517); -lean_ctor_set(x_518, 2, x_516); -x_519 = lean_array_push(x_455, x_444); -lean_inc(x_519); -x_520 = lean_array_push(x_519, x_518); -x_521 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__7; +x_519 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_519, 0, x_32); +lean_ctor_set(x_519, 1, x_518); +lean_ctor_set(x_519, 2, x_517); +x_520 = lean_array_push(x_456, x_445); +lean_inc(x_520); +x_521 = lean_array_push(x_520, x_519); +x_522 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__7; lean_inc(x_32); -x_522 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_522, 0, x_32); -lean_ctor_set(x_522, 1, x_521); -lean_ctor_set(x_522, 2, x_520); -x_523 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__51; +x_523 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_523, 0, x_32); +lean_ctor_set(x_523, 1, x_522); +lean_ctor_set(x_523, 2, x_521); +x_524 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__51; lean_inc(x_32); -x_524 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_524, 0, x_32); -lean_ctor_set(x_524, 1, x_523); -x_525 = l_Array_append___rarg(x_434, x_3); +x_525 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_525, 0, x_32); +lean_ctor_set(x_525, 1, x_524); +x_526 = l_Array_append___rarg(x_435, x_3); lean_inc(x_32); -x_526 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_526, 0, x_32); -lean_ctor_set(x_526, 1, x_433); -lean_ctor_set(x_526, 2, x_525); -x_527 = lean_array_push(x_455, x_524); -x_528 = lean_array_push(x_527, x_526); -x_529 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__52; +x_527 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_527, 0, x_32); +lean_ctor_set(x_527, 1, x_434); +lean_ctor_set(x_527, 2, x_526); +x_528 = lean_array_push(x_456, x_525); +x_529 = lean_array_push(x_528, x_527); +x_530 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__52; lean_inc(x_32); -x_530 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_530, 0, x_32); -lean_ctor_set(x_530, 1, x_529); -lean_ctor_set(x_530, 2, x_528); -x_531 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__49; +x_531 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_531, 0, x_32); +lean_ctor_set(x_531, 1, x_530); +lean_ctor_set(x_531, 2, x_529); +x_532 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__49; lean_inc(x_32); -x_532 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_532, 0, x_32); -lean_ctor_set(x_532, 1, x_531); -lean_inc(x_435); -x_533 = lean_array_push(x_447, x_435); -x_534 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__56; -lean_inc(x_533); +x_533 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_533, 0, x_32); +lean_ctor_set(x_533, 1, x_532); +lean_inc(x_436); +x_534 = lean_array_push(x_448, x_436); +x_535 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__56; +lean_inc(x_534); lean_inc(x_32); -x_535 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_535, 0, x_32); -lean_ctor_set(x_535, 1, x_534); -lean_ctor_set(x_535, 2, x_533); -x_536 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__53; +x_536 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_536, 0, x_32); +lean_ctor_set(x_536, 1, x_535); +lean_ctor_set(x_536, 2, x_534); +x_537 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__53; lean_inc(x_32); -x_537 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_537, 0, x_32); -lean_ctor_set(x_537, 1, x_536); -x_538 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__3___closed__4; +x_538 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_538, 0, x_32); +lean_ctor_set(x_538, 1, x_537); +x_539 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__3___closed__4; lean_inc(x_32); -x_539 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_539, 0, x_32); -lean_ctor_set(x_539, 1, x_538); -x_540 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__62; +x_540 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_540, 0, x_32); +lean_ctor_set(x_540, 1, x_539); +x_541 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__62; lean_inc(x_34); -lean_inc(x_431); -x_541 = l_Lean_addMacroScope(x_431, x_540, x_34); -x_542 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__61; -x_543 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__66; +lean_inc(x_432); +x_542 = l_Lean_addMacroScope(x_432, x_541, x_34); +x_543 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__61; +x_544 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__66; lean_inc(x_32); -x_544 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_544, 0, x_32); -lean_ctor_set(x_544, 1, x_542); -lean_ctor_set(x_544, 2, x_541); -lean_ctor_set(x_544, 3, x_543); -x_545 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__70; +x_545 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_545, 0, x_32); +lean_ctor_set(x_545, 1, x_543); +lean_ctor_set(x_545, 2, x_542); +lean_ctor_set(x_545, 3, x_544); +x_546 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__70; lean_inc(x_32); -x_546 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_546, 0, x_32); -lean_ctor_set(x_546, 1, x_545); -x_547 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__69; +x_547 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_547, 0, x_32); +lean_ctor_set(x_547, 1, x_546); +x_548 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__69; lean_inc(x_32); -x_548 = lean_alloc_ctor(2, 2, 0); -lean_ctor_set(x_548, 0, x_32); -lean_ctor_set(x_548, 1, x_547); -x_549 = lean_box(0); -x_550 = l_Lean_mkCIdentFrom(x_549, x_4); -x_551 = lean_array_push(x_455, x_548); -x_552 = lean_array_push(x_551, x_550); -x_553 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__68; +x_549 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_549, 0, x_32); +lean_ctor_set(x_549, 1, x_548); +x_550 = lean_box(0); +x_551 = 0; +x_552 = l_Lean_mkCIdentFrom(x_550, x_4, x_551); +x_553 = lean_array_push(x_456, x_549); +x_554 = lean_array_push(x_553, x_552); +x_555 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__68; lean_inc(x_32); -x_554 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_554, 0, x_32); -lean_ctor_set(x_554, 1, x_553); -lean_ctor_set(x_554, 2, x_552); -x_555 = lean_array_get_size(x_29); -x_556 = lean_usize_of_nat(x_555); -lean_dec(x_555); -x_557 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__72; -x_558 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__4(x_557, x_556, x_15, x_29); -x_559 = l_Array_append___rarg(x_434, x_558); +x_556 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_556, 0, x_32); +lean_ctor_set(x_556, 1, x_555); +lean_ctor_set(x_556, 2, x_554); +x_557 = lean_array_get_size(x_29); +x_558 = lean_usize_of_nat(x_557); +lean_dec(x_557); +x_559 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__72; +x_560 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__4(x_559, x_558, x_15, x_29); +x_561 = l_Array_append___rarg(x_435, x_560); lean_inc(x_32); -x_560 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_560, 0, x_32); -lean_ctor_set(x_560, 1, x_433); -lean_ctor_set(x_560, 2, x_559); -x_561 = lean_array_push(x_455, x_554); -x_562 = lean_array_push(x_561, x_560); -x_563 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__29; +x_562 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_562, 0, x_32); +lean_ctor_set(x_562, 1, x_434); +lean_ctor_set(x_562, 2, x_561); +x_563 = lean_array_push(x_456, x_556); +x_564 = lean_array_push(x_563, x_562); +x_565 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__29; lean_inc(x_32); -x_564 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_564, 0, x_32); -lean_ctor_set(x_564, 1, x_563); -lean_ctor_set(x_564, 2, x_562); -x_565 = lean_array_push(x_455, x_564); -lean_inc(x_435); -x_566 = lean_array_push(x_565, x_435); +x_566 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_566, 0, x_32); +lean_ctor_set(x_566, 1, x_565); +lean_ctor_set(x_566, 2, x_564); +x_567 = lean_array_push(x_456, x_566); +lean_inc(x_436); +x_568 = lean_array_push(x_567, x_436); lean_inc(x_32); -x_567 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_567, 0, x_32); -lean_ctor_set(x_567, 1, x_433); -lean_ctor_set(x_567, 2, x_566); -x_568 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__71; -lean_inc(x_32); -x_569 = lean_alloc_ctor(2, 2, 0); +x_569 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_569, 0, x_32); -lean_ctor_set(x_569, 1, x_568); -x_570 = lean_array_push(x_473, x_546); -x_571 = lean_array_push(x_570, x_567); -x_572 = lean_array_push(x_571, x_569); -x_573 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__69; +lean_ctor_set(x_569, 1, x_434); +lean_ctor_set(x_569, 2, x_568); +x_570 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__71; lean_inc(x_32); -x_574 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_574, 0, x_32); -lean_ctor_set(x_574, 1, x_573); -lean_ctor_set(x_574, 2, x_572); -x_575 = lean_array_push(x_447, x_574); +x_571 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_571, 0, x_32); +lean_ctor_set(x_571, 1, x_570); +x_572 = lean_array_push(x_474, x_547); +x_573 = lean_array_push(x_572, x_569); +x_574 = lean_array_push(x_573, x_571); +x_575 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__69; lean_inc(x_32); x_576 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_576, 0, x_32); -lean_ctor_set(x_576, 1, x_433); -lean_ctor_set(x_576, 2, x_575); -x_577 = lean_array_push(x_455, x_544); -x_578 = lean_array_push(x_577, x_576); +lean_ctor_set(x_576, 1, x_575); +lean_ctor_set(x_576, 2, x_574); +x_577 = lean_array_push(x_448, x_576); lean_inc(x_32); -x_579 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_579, 0, x_32); -lean_ctor_set(x_579, 1, x_563); -lean_ctor_set(x_579, 2, x_578); -x_580 = lean_array_push(x_455, x_539); -lean_inc(x_580); -x_581 = lean_array_push(x_580, x_579); -x_582 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__59; +x_578 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_578, 0, x_32); +lean_ctor_set(x_578, 1, x_434); +lean_ctor_set(x_578, 2, x_577); +x_579 = lean_array_push(x_456, x_545); +x_580 = lean_array_push(x_579, x_578); lean_inc(x_32); -x_583 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_583, 0, x_32); -lean_ctor_set(x_583, 1, x_582); -lean_ctor_set(x_583, 2, x_581); -lean_inc(x_435); -x_584 = lean_array_push(x_455, x_435); -x_585 = lean_array_push(x_584, x_583); -x_586 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__58; +x_581 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_581, 0, x_32); +lean_ctor_set(x_581, 1, x_565); +lean_ctor_set(x_581, 2, x_580); +x_582 = lean_array_push(x_456, x_540); +lean_inc(x_582); +x_583 = lean_array_push(x_582, x_581); +x_584 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__59; lean_inc(x_32); -x_587 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_587, 0, x_32); -lean_ctor_set(x_587, 1, x_586); -lean_ctor_set(x_587, 2, x_585); -x_588 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__24; +x_585 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_585, 0, x_32); +lean_ctor_set(x_585, 1, x_584); +lean_ctor_set(x_585, 2, x_583); +lean_inc(x_436); +x_586 = lean_array_push(x_456, x_436); +x_587 = lean_array_push(x_586, x_585); +x_588 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__58; lean_inc(x_32); -x_589 = lean_alloc_ctor(2, 2, 0); +x_589 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_589, 0, x_32); lean_ctor_set(x_589, 1, x_588); -x_590 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__77; +lean_ctor_set(x_589, 2, x_587); +x_590 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__24; lean_inc(x_32); x_591 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_591, 0, x_32); lean_ctor_set(x_591, 1, x_590); -x_592 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__33; +x_592 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__77; +lean_inc(x_32); +x_593 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_593, 0, x_32); +lean_ctor_set(x_593, 1, x_592); +x_594 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__33; lean_inc(x_34); -lean_inc(x_431); -x_593 = l_Lean_addMacroScope(x_431, x_592, x_34); -x_594 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__32; -x_595 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__40; +lean_inc(x_432); +x_595 = l_Lean_addMacroScope(x_432, x_594, x_34); +x_596 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__32; +x_597 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__40; lean_inc(x_32); -x_596 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_596, 0, x_32); -lean_ctor_set(x_596, 1, x_594); -lean_ctor_set(x_596, 2, x_593); -lean_ctor_set(x_596, 3, x_595); -x_597 = lean_array_push(x_455, x_596); -lean_inc(x_435); -x_598 = lean_array_push(x_597, x_435); -x_599 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__19; +x_598 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_598, 0, x_32); +lean_ctor_set(x_598, 1, x_596); +lean_ctor_set(x_598, 2, x_595); +lean_ctor_set(x_598, 3, x_597); +x_599 = lean_array_push(x_456, x_598); +lean_inc(x_436); +x_600 = lean_array_push(x_599, x_436); +x_601 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__19; lean_inc(x_32); -x_600 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_600, 0, x_32); -lean_ctor_set(x_600, 1, x_599); -lean_ctor_set(x_600, 2, x_598); -x_601 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__81; +x_602 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_602, 0, x_32); +lean_ctor_set(x_602, 1, x_601); +lean_ctor_set(x_602, 2, x_600); +x_603 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__81; lean_inc(x_34); -lean_inc(x_431); -x_602 = l_Lean_addMacroScope(x_431, x_601, x_34); -x_603 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__80; +lean_inc(x_432); +x_604 = l_Lean_addMacroScope(x_432, x_603, x_34); +x_605 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__80; lean_inc(x_32); -x_604 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_604, 0, x_32); -lean_ctor_set(x_604, 1, x_603); -lean_ctor_set(x_604, 2, x_602); -lean_ctor_set(x_604, 3, x_432); -x_605 = lean_array_push(x_473, x_600); -lean_inc(x_589); -x_606 = lean_array_push(x_605, x_589); -lean_inc(x_604); -x_607 = lean_array_push(x_606, x_604); -x_608 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__17; +x_606 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_606, 0, x_32); +lean_ctor_set(x_606, 1, x_605); +lean_ctor_set(x_606, 2, x_604); +lean_ctor_set(x_606, 3, x_433); +x_607 = lean_array_push(x_474, x_602); +lean_inc(x_591); +x_608 = lean_array_push(x_607, x_591); +lean_inc(x_606); +x_609 = lean_array_push(x_608, x_606); +x_610 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__17; lean_inc(x_32); -x_609 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_609, 0, x_32); -lean_ctor_set(x_609, 1, x_608); -lean_ctor_set(x_609, 2, x_607); -x_610 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__53; +x_611 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_611, 0, x_32); +lean_ctor_set(x_611, 1, x_610); +lean_ctor_set(x_611, 2, x_609); +x_612 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__53; lean_inc(x_34); -lean_inc(x_431); -x_611 = l_Lean_addMacroScope(x_431, x_610, x_34); -x_612 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__52; -x_613 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__56; +lean_inc(x_432); +x_613 = l_Lean_addMacroScope(x_432, x_612, x_34); +x_614 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__52; +x_615 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__56; lean_inc(x_32); -x_614 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_614, 0, x_32); -lean_ctor_set(x_614, 1, x_612); -lean_ctor_set(x_614, 2, x_611); -lean_ctor_set(x_614, 3, x_613); -x_615 = lean_array_push(x_455, x_614); -lean_inc(x_435); -x_616 = lean_array_push(x_615, x_435); +x_616 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_616, 0, x_32); +lean_ctor_set(x_616, 1, x_614); +lean_ctor_set(x_616, 2, x_613); +lean_ctor_set(x_616, 3, x_615); +x_617 = lean_array_push(x_456, x_616); +lean_inc(x_436); +x_618 = lean_array_push(x_617, x_436); lean_inc(x_32); -x_617 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_617, 0, x_32); -lean_ctor_set(x_617, 1, x_599); -lean_ctor_set(x_617, 2, x_616); -x_618 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__85; +x_619 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_619, 0, x_32); +lean_ctor_set(x_619, 1, x_601); +lean_ctor_set(x_619, 2, x_618); +x_620 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__85; lean_inc(x_34); -lean_inc(x_431); -x_619 = l_Lean_addMacroScope(x_431, x_618, x_34); -x_620 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__84; +lean_inc(x_432); +x_621 = l_Lean_addMacroScope(x_432, x_620, x_34); +x_622 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__84; lean_inc(x_32); -x_621 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_621, 0, x_32); -lean_ctor_set(x_621, 1, x_620); -lean_ctor_set(x_621, 2, x_619); -lean_ctor_set(x_621, 3, x_432); -x_622 = lean_array_push(x_473, x_617); -lean_inc(x_589); -x_623 = lean_array_push(x_622, x_589); -lean_inc(x_621); -x_624 = lean_array_push(x_623, x_621); +x_623 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_623, 0, x_32); +lean_ctor_set(x_623, 1, x_622); +lean_ctor_set(x_623, 2, x_621); +lean_ctor_set(x_623, 3, x_433); +x_624 = lean_array_push(x_474, x_619); +lean_inc(x_591); +x_625 = lean_array_push(x_624, x_591); +lean_inc(x_623); +x_626 = lean_array_push(x_625, x_623); lean_inc(x_32); -x_625 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_625, 0, x_32); -lean_ctor_set(x_625, 1, x_608); -lean_ctor_set(x_625, 2, x_624); -x_626 = lean_array_push(x_473, x_609); -x_627 = lean_array_push(x_626, x_490); -x_628 = lean_array_push(x_627, x_625); -lean_inc(x_32); -x_629 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_629, 0, x_32); -lean_ctor_set(x_629, 1, x_433); -lean_ctor_set(x_629, 2, x_628); -x_630 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__87; +x_627 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_627, 0, x_32); +lean_ctor_set(x_627, 1, x_610); +lean_ctor_set(x_627, 2, x_626); +x_628 = lean_array_push(x_474, x_611); +x_629 = lean_array_push(x_628, x_491); +x_630 = lean_array_push(x_629, x_627); lean_inc(x_32); x_631 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_631, 0, x_32); -lean_ctor_set(x_631, 1, x_630); -lean_ctor_set(x_631, 2, x_533); -x_632 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__88; +lean_ctor_set(x_631, 1, x_434); +lean_ctor_set(x_631, 2, x_630); +x_632 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__87; lean_inc(x_32); -x_633 = lean_alloc_ctor(2, 2, 0); +x_633 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_633, 0, x_32); lean_ctor_set(x_633, 1, x_632); -x_634 = lean_array_push(x_436, x_591); -lean_inc(x_435); -x_635 = lean_array_push(x_634, x_435); -lean_inc(x_635); -x_636 = lean_array_push(x_635, x_629); -lean_inc(x_631); -x_637 = lean_array_push(x_636, x_631); -lean_inc(x_435); -x_638 = lean_array_push(x_637, x_435); +lean_ctor_set(x_633, 2, x_534); +x_634 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__88; +lean_inc(x_32); +x_635 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_635, 0, x_32); +lean_ctor_set(x_635, 1, x_634); +x_636 = lean_array_push(x_437, x_593); +lean_inc(x_436); +x_637 = lean_array_push(x_636, x_436); +lean_inc(x_637); +x_638 = lean_array_push(x_637, x_631); lean_inc(x_633); x_639 = lean_array_push(x_638, x_633); -x_640 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__76; +lean_inc(x_436); +x_640 = lean_array_push(x_639, x_436); +lean_inc(x_635); +x_641 = lean_array_push(x_640, x_635); +x_642 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__76; lean_inc(x_32); -x_641 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_641, 0, x_32); -lean_ctor_set(x_641, 1, x_640); -lean_ctor_set(x_641, 2, x_639); -x_642 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__46; +x_643 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_643, 0, x_32); +lean_ctor_set(x_643, 1, x_642); +lean_ctor_set(x_643, 2, x_641); +x_644 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__46; lean_inc(x_34); -lean_inc(x_431); -x_643 = l_Lean_addMacroScope(x_431, x_642, x_34); -x_644 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__45; +lean_inc(x_432); +x_645 = l_Lean_addMacroScope(x_432, x_644, x_34); +x_646 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__45; lean_inc(x_32); -x_645 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_645, 0, x_32); -lean_ctor_set(x_645, 1, x_644); -lean_ctor_set(x_645, 2, x_643); -lean_ctor_set(x_645, 3, x_432); -lean_inc(x_645); -x_646 = lean_array_push(x_447, x_645); -lean_inc(x_32); -x_647 = lean_alloc_ctor(1, 3, 0); +x_647 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_647, 0, x_32); -lean_ctor_set(x_647, 1, x_433); -lean_ctor_set(x_647, 2, x_646); -x_648 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__99; +lean_ctor_set(x_647, 1, x_646); +lean_ctor_set(x_647, 2, x_645); +lean_ctor_set(x_647, 3, x_433); +lean_inc(x_647); +x_648 = lean_array_push(x_448, x_647); lean_inc(x_32); -x_649 = lean_alloc_ctor(2, 2, 0); +x_649 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_649, 0, x_32); -lean_ctor_set(x_649, 1, x_648); -x_650 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__103; +lean_ctor_set(x_649, 1, x_434); +lean_ctor_set(x_649, 2, x_648); +x_650 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__99; +lean_inc(x_32); +x_651 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_651, 0, x_32); +lean_ctor_set(x_651, 1, x_650); +x_652 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__103; lean_inc(x_34); -lean_inc(x_431); -x_651 = l_Lean_addMacroScope(x_431, x_650, x_34); -x_652 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__102; -x_653 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__106; +lean_inc(x_432); +x_653 = l_Lean_addMacroScope(x_432, x_652, x_34); +x_654 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__102; +x_655 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__106; lean_inc(x_32); -x_654 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_654, 0, x_32); -lean_ctor_set(x_654, 1, x_652); -lean_ctor_set(x_654, 2, x_651); -lean_ctor_set(x_654, 3, x_653); -x_655 = lean_array_get_size(x_23); -x_656 = lean_usize_of_nat(x_655); -lean_dec(x_655); -x_657 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__15; -x_658 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__5(x_432, x_657, x_608, x_656, x_15, x_23); -x_659 = lean_array_get_size(x_658); -x_660 = lean_usize_of_nat(x_659); -lean_dec(x_659); -x_661 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_660, x_15, x_658); -x_662 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__107; -x_663 = l_Lean_mkSepArray(x_661, x_662); +x_656 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_656, 0, x_32); +lean_ctor_set(x_656, 1, x_654); +lean_ctor_set(x_656, 2, x_653); +lean_ctor_set(x_656, 3, x_655); +x_657 = lean_array_get_size(x_23); +x_658 = lean_usize_of_nat(x_657); +lean_dec(x_657); +x_659 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__15; +x_660 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__5(x_433, x_659, x_610, x_658, x_15, x_23); +x_661 = lean_array_get_size(x_660); +x_662 = lean_usize_of_nat(x_661); lean_dec(x_661); -x_664 = l_Array_append___rarg(x_434, x_663); -lean_inc(x_32); -x_665 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_665, 0, x_32); -lean_ctor_set(x_665, 1, x_433); -lean_ctor_set(x_665, 2, x_664); -x_666 = lean_array_push(x_580, x_454); -lean_inc(x_666); +x_663 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_662, x_15, x_660); +x_664 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__107; +x_665 = l_Lean_mkSepArray(x_663, x_664); +lean_dec(x_663); +x_666 = l_Array_append___rarg(x_435, x_665); lean_inc(x_32); x_667 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_667, 0, x_32); -lean_ctor_set(x_667, 1, x_433); +lean_ctor_set(x_667, 1, x_434); lean_ctor_set(x_667, 2, x_666); -lean_inc(x_635); -x_668 = lean_array_push(x_635, x_665); -lean_inc(x_631); -x_669 = lean_array_push(x_668, x_631); -x_670 = lean_array_push(x_669, x_667); +x_668 = lean_array_push(x_582, x_455); +lean_inc(x_668); +lean_inc(x_32); +x_669 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_669, 0, x_32); +lean_ctor_set(x_669, 1, x_434); +lean_ctor_set(x_669, 2, x_668); +lean_inc(x_637); +x_670 = lean_array_push(x_637, x_667); lean_inc(x_633); x_671 = lean_array_push(x_670, x_633); -lean_inc(x_32); -x_672 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_672, 0, x_32); -lean_ctor_set(x_672, 1, x_640); -lean_ctor_set(x_672, 2, x_671); -x_673 = lean_array_push(x_447, x_672); +x_672 = lean_array_push(x_671, x_669); +lean_inc(x_635); +x_673 = lean_array_push(x_672, x_635); lean_inc(x_32); x_674 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_674, 0, x_32); -lean_ctor_set(x_674, 1, x_433); +lean_ctor_set(x_674, 1, x_642); lean_ctor_set(x_674, 2, x_673); -x_675 = lean_array_push(x_455, x_654); -x_676 = lean_array_push(x_675, x_674); +x_675 = lean_array_push(x_448, x_674); lean_inc(x_32); -x_677 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_677, 0, x_32); -lean_ctor_set(x_677, 1, x_563); -lean_ctor_set(x_677, 2, x_676); -x_678 = lean_array_push(x_447, x_677); +x_676 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_676, 0, x_32); +lean_ctor_set(x_676, 1, x_434); +lean_ctor_set(x_676, 2, x_675); +x_677 = lean_array_push(x_456, x_656); +x_678 = lean_array_push(x_677, x_676); lean_inc(x_32); x_679 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_679, 0, x_32); -lean_ctor_set(x_679, 1, x_433); +lean_ctor_set(x_679, 1, x_565); lean_ctor_set(x_679, 2, x_678); -x_680 = lean_array_push(x_455, x_649); -lean_inc(x_680); -x_681 = lean_array_push(x_680, x_679); -x_682 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__98; +x_680 = lean_array_push(x_448, x_679); lean_inc(x_32); -x_683 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_683, 0, x_32); -lean_ctor_set(x_683, 1, x_682); -lean_ctor_set(x_683, 2, x_681); -x_684 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__108; -x_685 = lean_array_push(x_684, x_604); -x_686 = lean_array_push(x_685, x_647); -lean_inc(x_435); -x_687 = lean_array_push(x_686, x_435); -lean_inc(x_589); -x_688 = lean_array_push(x_687, x_589); -x_689 = lean_array_push(x_688, x_683); -x_690 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__96; +x_681 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_681, 0, x_32); +lean_ctor_set(x_681, 1, x_434); +lean_ctor_set(x_681, 2, x_680); +x_682 = lean_array_push(x_456, x_651); +lean_inc(x_682); +x_683 = lean_array_push(x_682, x_681); +x_684 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__98; lean_inc(x_32); -x_691 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_691, 0, x_32); -lean_ctor_set(x_691, 1, x_690); -lean_ctor_set(x_691, 2, x_689); -x_692 = lean_array_push(x_447, x_691); -x_693 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__94; +x_685 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_685, 0, x_32); +lean_ctor_set(x_685, 1, x_684); +lean_ctor_set(x_685, 2, x_683); +x_686 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__108; +x_687 = lean_array_push(x_686, x_606); +x_688 = lean_array_push(x_687, x_649); +lean_inc(x_436); +x_689 = lean_array_push(x_688, x_436); +lean_inc(x_591); +x_690 = lean_array_push(x_689, x_591); +x_691 = lean_array_push(x_690, x_685); +x_692 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__96; lean_inc(x_32); -x_694 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_694, 0, x_32); -lean_ctor_set(x_694, 1, x_693); -lean_ctor_set(x_694, 2, x_692); -lean_inc(x_435); -x_695 = lean_array_push(x_473, x_435); -lean_inc(x_435); -x_696 = lean_array_push(x_695, x_435); -lean_inc(x_696); -x_697 = lean_array_push(x_696, x_694); -x_698 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__92; +x_693 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_693, 0, x_32); +lean_ctor_set(x_693, 1, x_692); +lean_ctor_set(x_693, 2, x_691); +x_694 = lean_array_push(x_448, x_693); +x_695 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__94; lean_inc(x_32); -x_699 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_699, 0, x_32); -lean_ctor_set(x_699, 1, x_698); -lean_ctor_set(x_699, 2, x_697); -x_700 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__112; +x_696 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_696, 0, x_32); +lean_ctor_set(x_696, 1, x_695); +lean_ctor_set(x_696, 2, x_694); +lean_inc(x_436); +x_697 = lean_array_push(x_474, x_436); +lean_inc(x_436); +x_698 = lean_array_push(x_697, x_436); +lean_inc(x_698); +x_699 = lean_array_push(x_698, x_696); +x_700 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__92; +lean_inc(x_32); +x_701 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_701, 0, x_32); +lean_ctor_set(x_701, 1, x_700); +lean_ctor_set(x_701, 2, x_699); +x_702 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__112; lean_inc(x_34); -lean_inc(x_431); -x_701 = l_Lean_addMacroScope(x_431, x_700, x_34); -x_702 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__111; +lean_inc(x_432); +x_703 = l_Lean_addMacroScope(x_432, x_702, x_34); +x_704 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__111; lean_inc(x_32); -x_703 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_703, 0, x_32); -lean_ctor_set(x_703, 1, x_702); -lean_ctor_set(x_703, 2, x_701); -lean_ctor_set(x_703, 3, x_432); -x_704 = lean_array_push(x_447, x_703); -lean_inc(x_32); -x_705 = lean_alloc_ctor(1, 3, 0); +x_705 = lean_alloc_ctor(3, 4, 0); lean_ctor_set(x_705, 0, x_32); -lean_ctor_set(x_705, 1, x_433); -lean_ctor_set(x_705, 2, x_704); -x_706 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__113; +lean_ctor_set(x_705, 1, x_704); +lean_ctor_set(x_705, 2, x_703); +lean_ctor_set(x_705, 3, x_433); +x_706 = lean_array_push(x_448, x_705); lean_inc(x_32); -x_707 = lean_alloc_ctor(2, 2, 0); +x_707 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_707, 0, x_32); -lean_ctor_set(x_707, 1, x_706); -x_708 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__121; +lean_ctor_set(x_707, 1, x_434); +lean_ctor_set(x_707, 2, x_706); +x_708 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__113; lean_inc(x_32); x_709 = lean_alloc_ctor(2, 2, 0); lean_ctor_set(x_709, 0, x_32); lean_ctor_set(x_709, 1, x_708); +x_710 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__121; lean_inc(x_32); -x_710 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_710, 0, x_32); -lean_ctor_set(x_710, 1, x_582); -lean_ctor_set(x_710, 2, x_666); -x_711 = lean_array_push(x_447, x_710); +x_711 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_711, 0, x_32); +lean_ctor_set(x_711, 1, x_710); lean_inc(x_32); x_712 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_712, 0, x_32); -lean_ctor_set(x_712, 1, x_433); -lean_ctor_set(x_712, 2, x_711); -x_713 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__27; +lean_ctor_set(x_712, 1, x_584); +lean_ctor_set(x_712, 2, x_668); +x_713 = lean_array_push(x_448, x_712); lean_inc(x_32); -x_714 = lean_alloc_ctor(2, 2, 0); +x_714 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_714, 0, x_32); -lean_ctor_set(x_714, 1, x_713); -x_715 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__129; -x_716 = l_Lean_addMacroScope(x_431, x_715, x_34); -x_717 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__128; -x_718 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__132; +lean_ctor_set(x_714, 1, x_434); +lean_ctor_set(x_714, 2, x_713); +x_715 = l_Array_forInUnsafe_loop___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__1___closed__27; lean_inc(x_32); -x_719 = lean_alloc_ctor(3, 4, 0); -lean_ctor_set(x_719, 0, x_32); -lean_ctor_set(x_719, 1, x_717); -lean_ctor_set(x_719, 2, x_716); -lean_ctor_set(x_719, 3, x_718); -x_720 = lean_array_push(x_455, x_719); -lean_inc(x_705); -x_721 = lean_array_push(x_720, x_705); +x_716 = lean_alloc_ctor(2, 2, 0); +lean_ctor_set(x_716, 0, x_32); +lean_ctor_set(x_716, 1, x_715); +x_717 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__129; +x_718 = l_Lean_addMacroScope(x_432, x_717, x_34); +x_719 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__128; +x_720 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__132; lean_inc(x_32); -x_722 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_722, 0, x_32); -lean_ctor_set(x_722, 1, x_563); -lean_ctor_set(x_722, 2, x_721); -x_723 = lean_array_push(x_447, x_722); -x_724 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__125; +x_721 = lean_alloc_ctor(3, 4, 0); +lean_ctor_set(x_721, 0, x_32); +lean_ctor_set(x_721, 1, x_719); +lean_ctor_set(x_721, 2, x_718); +lean_ctor_set(x_721, 3, x_720); +x_722 = lean_array_push(x_456, x_721); +lean_inc(x_707); +x_723 = lean_array_push(x_722, x_707); lean_inc(x_32); -x_725 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_725, 0, x_32); -lean_ctor_set(x_725, 1, x_724); -lean_ctor_set(x_725, 2, x_723); -x_726 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__133; -x_727 = lean_array_push(x_726, x_645); -x_728 = lean_array_push(x_727, x_712); -x_729 = lean_array_push(x_728, x_714); -x_730 = lean_array_push(x_729, x_725); -x_731 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__123; +x_724 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_724, 0, x_32); +lean_ctor_set(x_724, 1, x_565); +lean_ctor_set(x_724, 2, x_723); +x_725 = lean_array_push(x_448, x_724); +x_726 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__125; lean_inc(x_32); -x_732 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_732, 0, x_32); -lean_ctor_set(x_732, 1, x_731); -lean_ctor_set(x_732, 2, x_730); -x_733 = lean_array_push(x_473, x_709); -lean_inc(x_435); -x_734 = lean_array_push(x_733, x_435); -x_735 = lean_array_push(x_734, x_732); -x_736 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__120; +x_727 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_727, 0, x_32); +lean_ctor_set(x_727, 1, x_726); +lean_ctor_set(x_727, 2, x_725); +x_728 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__133; +x_729 = lean_array_push(x_728, x_647); +x_730 = lean_array_push(x_729, x_714); +x_731 = lean_array_push(x_730, x_716); +x_732 = lean_array_push(x_731, x_727); +x_733 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__123; lean_inc(x_32); -x_737 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_737, 0, x_32); -lean_ctor_set(x_737, 1, x_736); -lean_ctor_set(x_737, 2, x_735); -x_738 = lean_array_push(x_455, x_737); -lean_inc(x_435); -x_739 = lean_array_push(x_738, x_435); -x_740 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__118; +x_734 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_734, 0, x_32); +lean_ctor_set(x_734, 1, x_733); +lean_ctor_set(x_734, 2, x_732); +x_735 = lean_array_push(x_474, x_711); +lean_inc(x_436); +x_736 = lean_array_push(x_735, x_436); +x_737 = lean_array_push(x_736, x_734); +x_738 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__120; lean_inc(x_32); -x_741 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_741, 0, x_32); -lean_ctor_set(x_741, 1, x_740); -lean_ctor_set(x_741, 2, x_739); -x_742 = lean_array_get_size(x_22); -x_743 = lean_usize_of_nat(x_742); -lean_dec(x_742); -x_744 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__7(x_432, x_657, x_608, x_743, x_15, x_22); -x_745 = lean_array_get_size(x_744); -x_746 = lean_usize_of_nat(x_745); -lean_dec(x_745); -x_747 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_746, x_15, x_744); -x_748 = l_Lean_mkSepArray(x_747, x_662); +x_739 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_739, 0, x_32); +lean_ctor_set(x_739, 1, x_738); +lean_ctor_set(x_739, 2, x_737); +x_740 = lean_array_push(x_456, x_739); +lean_inc(x_436); +x_741 = lean_array_push(x_740, x_436); +x_742 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__118; +lean_inc(x_32); +x_743 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_743, 0, x_32); +lean_ctor_set(x_743, 1, x_742); +lean_ctor_set(x_743, 2, x_741); +x_744 = lean_array_get_size(x_22); +x_745 = lean_usize_of_nat(x_744); +lean_dec(x_744); +x_746 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__7(x_433, x_659, x_610, x_745, x_15, x_22); +x_747 = lean_array_get_size(x_746); +x_748 = lean_usize_of_nat(x_747); lean_dec(x_747); -x_749 = l_Array_append___rarg(x_434, x_748); +x_749 = l_Array_mapMUnsafe_map___at___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___spec__6(x_748, x_15, x_746); +x_750 = l_Lean_mkSepArray(x_749, x_664); +lean_dec(x_749); +x_751 = l_Array_append___rarg(x_435, x_750); lean_inc(x_32); -x_750 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_750, 0, x_32); -lean_ctor_set(x_750, 1, x_433); -lean_ctor_set(x_750, 2, x_749); -x_751 = lean_array_push(x_635, x_750); -x_752 = lean_array_push(x_751, x_631); -lean_inc(x_435); -x_753 = lean_array_push(x_752, x_435); +x_752 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_752, 0, x_32); +lean_ctor_set(x_752, 1, x_434); +lean_ctor_set(x_752, 2, x_751); +x_753 = lean_array_push(x_637, x_752); x_754 = lean_array_push(x_753, x_633); -lean_inc(x_32); -x_755 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_755, 0, x_32); -lean_ctor_set(x_755, 1, x_640); -lean_ctor_set(x_755, 2, x_754); -x_756 = lean_array_push(x_447, x_755); +lean_inc(x_436); +x_755 = lean_array_push(x_754, x_436); +x_756 = lean_array_push(x_755, x_635); lean_inc(x_32); x_757 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_757, 0, x_32); -lean_ctor_set(x_757, 1, x_433); +lean_ctor_set(x_757, 1, x_642); lean_ctor_set(x_757, 2, x_756); -x_758 = lean_array_push(x_680, x_757); -x_759 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__135; +x_758 = lean_array_push(x_448, x_757); lean_inc(x_32); -x_760 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_760, 0, x_32); -lean_ctor_set(x_760, 1, x_759); -lean_ctor_set(x_760, 2, x_758); -x_761 = lean_array_push(x_455, x_760); -lean_inc(x_435); -x_762 = lean_array_push(x_761, x_435); +x_759 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_759, 0, x_32); +lean_ctor_set(x_759, 1, x_434); +lean_ctor_set(x_759, 2, x_758); +x_760 = lean_array_push(x_682, x_759); +x_761 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__135; lean_inc(x_32); -x_763 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_763, 0, x_32); -lean_ctor_set(x_763, 1, x_740); -lean_ctor_set(x_763, 2, x_762); -x_764 = lean_array_push(x_455, x_741); -x_765 = lean_array_push(x_764, x_763); +x_762 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_762, 0, x_32); +lean_ctor_set(x_762, 1, x_761); +lean_ctor_set(x_762, 2, x_760); +x_763 = lean_array_push(x_456, x_762); +lean_inc(x_436); +x_764 = lean_array_push(x_763, x_436); lean_inc(x_32); -x_766 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_766, 0, x_32); -lean_ctor_set(x_766, 1, x_433); -lean_ctor_set(x_766, 2, x_765); -x_767 = lean_array_push(x_447, x_766); -x_768 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__116; +x_765 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_765, 0, x_32); +lean_ctor_set(x_765, 1, x_742); +lean_ctor_set(x_765, 2, x_764); +x_766 = lean_array_push(x_456, x_743); +x_767 = lean_array_push(x_766, x_765); lean_inc(x_32); -x_769 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_769, 0, x_32); -lean_ctor_set(x_769, 1, x_768); -lean_ctor_set(x_769, 2, x_767); -x_770 = lean_array_push(x_455, x_707); -x_771 = lean_array_push(x_770, x_769); -x_772 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__114; +x_768 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_768, 0, x_32); +lean_ctor_set(x_768, 1, x_434); +lean_ctor_set(x_768, 2, x_767); +x_769 = lean_array_push(x_448, x_768); +x_770 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__116; lean_inc(x_32); -x_773 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_773, 0, x_32); -lean_ctor_set(x_773, 1, x_772); -lean_ctor_set(x_773, 2, x_771); -x_774 = lean_array_push(x_684, x_621); -x_775 = lean_array_push(x_774, x_705); -lean_inc(x_435); -x_776 = lean_array_push(x_775, x_435); -lean_inc(x_589); -x_777 = lean_array_push(x_776, x_589); -x_778 = lean_array_push(x_777, x_773); +x_771 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_771, 0, x_32); +lean_ctor_set(x_771, 1, x_770); +lean_ctor_set(x_771, 2, x_769); +x_772 = lean_array_push(x_456, x_709); +x_773 = lean_array_push(x_772, x_771); +x_774 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__114; lean_inc(x_32); -x_779 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_779, 0, x_32); -lean_ctor_set(x_779, 1, x_690); -lean_ctor_set(x_779, 2, x_778); -x_780 = lean_array_push(x_447, x_779); +x_775 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_775, 0, x_32); +lean_ctor_set(x_775, 1, x_774); +lean_ctor_set(x_775, 2, x_773); +x_776 = lean_array_push(x_686, x_623); +x_777 = lean_array_push(x_776, x_707); +lean_inc(x_436); +x_778 = lean_array_push(x_777, x_436); +lean_inc(x_591); +x_779 = lean_array_push(x_778, x_591); +x_780 = lean_array_push(x_779, x_775); lean_inc(x_32); x_781 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_781, 0, x_32); -lean_ctor_set(x_781, 1, x_693); +lean_ctor_set(x_781, 1, x_692); lean_ctor_set(x_781, 2, x_780); -x_782 = lean_array_push(x_696, x_781); +x_782 = lean_array_push(x_448, x_781); lean_inc(x_32); x_783 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_783, 0, x_32); -lean_ctor_set(x_783, 1, x_698); +lean_ctor_set(x_783, 1, x_695); lean_ctor_set(x_783, 2, x_782); -x_784 = lean_array_push(x_473, x_699); -lean_inc(x_435); -x_785 = lean_array_push(x_784, x_435); -x_786 = lean_array_push(x_785, x_783); +x_784 = lean_array_push(x_698, x_783); lean_inc(x_32); -x_787 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_787, 0, x_32); -lean_ctor_set(x_787, 1, x_433); -lean_ctor_set(x_787, 2, x_786); -x_788 = lean_array_push(x_455, x_461); -x_789 = lean_array_push(x_788, x_787); -x_790 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__90; +x_785 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_785, 0, x_32); +lean_ctor_set(x_785, 1, x_700); +lean_ctor_set(x_785, 2, x_784); +x_786 = lean_array_push(x_474, x_701); +lean_inc(x_436); +x_787 = lean_array_push(x_786, x_436); +x_788 = lean_array_push(x_787, x_785); lean_inc(x_32); -x_791 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_791, 0, x_32); -lean_ctor_set(x_791, 1, x_790); -lean_ctor_set(x_791, 2, x_789); -x_792 = lean_array_push(x_447, x_791); +x_789 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_789, 0, x_32); +lean_ctor_set(x_789, 1, x_434); +lean_ctor_set(x_789, 2, x_788); +x_790 = lean_array_push(x_456, x_462); +x_791 = lean_array_push(x_790, x_789); +x_792 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__90; lean_inc(x_32); x_793 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_793, 0, x_32); -lean_ctor_set(x_793, 1, x_433); -lean_ctor_set(x_793, 2, x_792); -x_794 = lean_array_push(x_473, x_589); -x_795 = lean_array_push(x_794, x_641); -x_796 = lean_array_push(x_795, x_793); -x_797 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__74; +lean_ctor_set(x_793, 1, x_792); +lean_ctor_set(x_793, 2, x_791); +x_794 = lean_array_push(x_448, x_793); lean_inc(x_32); -x_798 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_798, 0, x_32); -lean_ctor_set(x_798, 1, x_797); -lean_ctor_set(x_798, 2, x_796); -x_799 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__136; -x_800 = lean_array_push(x_799, x_535); -x_801 = lean_array_push(x_800, x_537); -lean_inc(x_435); -x_802 = lean_array_push(x_801, x_435); -lean_inc(x_435); -x_803 = lean_array_push(x_802, x_435); -x_804 = lean_array_push(x_803, x_587); -x_805 = lean_array_push(x_804, x_798); -lean_inc(x_435); -x_806 = lean_array_push(x_805, x_435); -x_807 = lean_array_push(x_806, x_435); -x_808 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__54; +x_795 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_795, 0, x_32); +lean_ctor_set(x_795, 1, x_434); +lean_ctor_set(x_795, 2, x_794); +x_796 = lean_array_push(x_474, x_591); +x_797 = lean_array_push(x_796, x_643); +x_798 = lean_array_push(x_797, x_795); +x_799 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__74; lean_inc(x_32); -x_809 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_809, 0, x_32); -lean_ctor_set(x_809, 1, x_808); -lean_ctor_set(x_809, 2, x_807); -x_810 = lean_array_push(x_519, x_809); +x_800 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_800, 0, x_32); +lean_ctor_set(x_800, 1, x_799); +lean_ctor_set(x_800, 2, x_798); +x_801 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__136; +x_802 = lean_array_push(x_801, x_536); +x_803 = lean_array_push(x_802, x_538); +lean_inc(x_436); +x_804 = lean_array_push(x_803, x_436); +lean_inc(x_436); +x_805 = lean_array_push(x_804, x_436); +x_806 = lean_array_push(x_805, x_589); +x_807 = lean_array_push(x_806, x_800); +lean_inc(x_436); +x_808 = lean_array_push(x_807, x_436); +x_809 = lean_array_push(x_808, x_436); +x_810 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__54; lean_inc(x_32); x_811 = lean_alloc_ctor(1, 3, 0); lean_ctor_set(x_811, 0, x_32); -lean_ctor_set(x_811, 1, x_521); -lean_ctor_set(x_811, 2, x_810); -x_812 = lean_array_push(x_473, x_530); -x_813 = lean_array_push(x_812, x_532); -x_814 = lean_array_push(x_813, x_811); -x_815 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__50; +lean_ctor_set(x_811, 1, x_810); +lean_ctor_set(x_811, 2, x_809); +x_812 = lean_array_push(x_520, x_811); lean_inc(x_32); -x_816 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_816, 0, x_32); -lean_ctor_set(x_816, 1, x_815); -lean_ctor_set(x_816, 2, x_814); -x_817 = lean_array_push(x_455, x_522); -x_818 = lean_array_push(x_817, x_816); -x_819 = lean_alloc_ctor(1, 3, 0); -lean_ctor_set(x_819, 0, x_32); -lean_ctor_set(x_819, 1, x_433); -lean_ctor_set(x_819, 2, x_818); -x_820 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_820, 0, x_819); -lean_ctor_set(x_820, 1, x_429); -return x_820; +x_813 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_813, 0, x_32); +lean_ctor_set(x_813, 1, x_522); +lean_ctor_set(x_813, 2, x_812); +x_814 = lean_array_push(x_474, x_531); +x_815 = lean_array_push(x_814, x_533); +x_816 = lean_array_push(x_815, x_813); +x_817 = l___private_Lean_Server_Rpc_Deriving_0__Lean_Server_RpcEncodable_deriveStructureInstance___lambda__1___closed__50; +lean_inc(x_32); +x_818 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_818, 0, x_32); +lean_ctor_set(x_818, 1, x_817); +lean_ctor_set(x_818, 2, x_816); +x_819 = lean_array_push(x_456, x_523); +x_820 = lean_array_push(x_819, x_818); +x_821 = lean_alloc_ctor(1, 3, 0); +lean_ctor_set(x_821, 0, x_32); +lean_ctor_set(x_821, 1, x_434); +lean_ctor_set(x_821, 2, x_820); +x_822 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_822, 0, x_821); +lean_ctor_set(x_822, 1, x_430); +return x_822; } } else { -uint8_t x_821; +uint8_t x_823; lean_dec(x_25); lean_dec(x_24); lean_dec(x_23); @@ -5385,23 +5387,23 @@ lean_dec(x_22); lean_dec(x_10); lean_dec(x_4); lean_dec(x_3); -x_821 = !lean_is_exclusive(x_28); -if (x_821 == 0) +x_823 = !lean_is_exclusive(x_28); +if (x_823 == 0) { return x_28; } else { -lean_object* x_822; lean_object* x_823; lean_object* x_824; -x_822 = lean_ctor_get(x_28, 0); -x_823 = lean_ctor_get(x_28, 1); -lean_inc(x_823); -lean_inc(x_822); +lean_object* x_824; lean_object* x_825; lean_object* x_826; +x_824 = lean_ctor_get(x_28, 0); +x_825 = lean_ctor_get(x_28, 1); +lean_inc(x_825); +lean_inc(x_824); lean_dec(x_28); -x_824 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_824, 0, x_822); -lean_ctor_set(x_824, 1, x_823); -return x_824; +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; } } } diff --git a/stage0/stdlib/Lean/Server/Utils.c b/stage0/stdlib/Lean/Server/Utils.c index efd195337f..871ab222b5 100644 --- a/stage0/stdlib/Lean/Server/Utils.c +++ b/stage0/stdlib/Lean/Server/Utils.c @@ -67,7 +67,7 @@ lean_object* l_IO_FS_Handle_mk(lean_object*, uint8_t, uint8_t, lean_object*); static lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_publishDiagnostics___spec__2___closed__1; LEAN_EXPORT lean_object* l_IO_FS_Stream_chainLeft___elambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Server_publishProgress___closed__1; -lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491_(lean_object*); lean_object* l_Lean_FileMap_ofString(lean_object*); LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_publishProgress___spec__2(lean_object*); size_t lean_usize_of_nat(lean_object*); @@ -1578,7 +1578,7 @@ LEAN_EXPORT lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_publishDi _start: { lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; -x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1431_(x_1); +x_2 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_toJsonPublishDiagnosticsParams____x40_Lean_Data_Lsp_Diagnostics___hyg_1491_(x_1); x_3 = lean_ctor_get(x_2, 0); lean_inc(x_3); lean_dec(x_2); diff --git a/stage0/stdlib/Lean/Server/Watchdog.c b/stage0/stdlib/Lean/Server/Watchdog.c index 509a5a8a09..6968ac6312 100644 --- a/stage0/stdlib/Lean/Server/Watchdog.c +++ b/stage0/stdlib/Lean/Server/Watchdog.c @@ -46,7 +46,7 @@ static lean_object* l_Lean_Json_toStructured_x3f___at_Lean_Server_Watchdog_initA lean_object* l___private_Lean_Data_Lsp_TextSync_0__Lean_Lsp_fromJsonDidOpenTextDocumentParams____x40_Lean_Data_Lsp_TextSync___hyg_153_(lean_object*); static lean_object* l_Lean_Server_Watchdog_tryWriteMessage___closed__5; lean_object* l_System_FilePath_join(lean_object*, lean_object*); -lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107_(lean_object*); +lean_object* l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541_(lean_object*); LEAN_EXPORT uint8_t l_Array_contains___at_Lean_Server_Watchdog_handleDidChangeWatchedFiles___spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_Watchdog_handleRequest___spec__6___boxed(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_handleDidOpen(lean_object*, lean_object*, lean_object*); @@ -14154,7 +14154,7 @@ LEAN_EXPORT lean_object* l_Lean_Server_Watchdog_parseParams___at_Lean_Server_Wat _start: { lean_object* x_4; -x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_2107_(x_1); +x_4 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonTextDocumentPositionParams____x40_Lean_Data_Lsp_Basic___hyg_3541_(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; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; @@ -19112,25 +19112,27 @@ return x_2; static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__10() { _start: { -lean_object* x_1; lean_object* x_2; uint8_t x_3; lean_object* x_4; lean_object* x_5; -x_1 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__2; -x_2 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__6; -x_3 = 1; -x_4 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__9; -x_5 = lean_alloc_ctor(0, 3, 9); -lean_ctor_set(x_5, 0, x_1); -lean_ctor_set(x_5, 1, x_2); -lean_ctor_set(x_5, 2, x_4); -lean_ctor_set_uint8(x_5, sizeof(void*)*3, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 1, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 2, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 3, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 4, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 5, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 6, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 7, x_3); -lean_ctor_set_uint8(x_5, sizeof(void*)*3 + 8, x_3); -return x_5; +lean_object* x_1; lean_object* x_2; lean_object* x_3; uint8_t x_4; lean_object* x_5; lean_object* x_6; +x_1 = lean_box(0); +x_2 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__2; +x_3 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__6; +x_4 = 1; +x_5 = l_Lean_Server_Watchdog_mkLeanServerCapabilities___closed__9; +x_6 = lean_alloc_ctor(0, 4, 9); +lean_ctor_set(x_6, 0, x_2); +lean_ctor_set(x_6, 1, x_3); +lean_ctor_set(x_6, 2, x_5); +lean_ctor_set(x_6, 3, x_1); +lean_ctor_set_uint8(x_6, sizeof(void*)*4, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 1, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 2, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 3, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 4, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 5, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 6, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 7, x_4); +lean_ctor_set_uint8(x_6, sizeof(void*)*4 + 8, x_4); +return x_6; } } static lean_object* _init_l_Lean_Server_Watchdog_mkLeanServerCapabilities() { diff --git a/stage0/stdlib/Lean/Widget/Diff.c b/stage0/stdlib/Lean/Widget/Diff.c index 26251233b9..76ab0967e4 100644 --- a/stage0/stdlib/Lean/Widget/Diff.c +++ b/stage0/stdlib/Lean/Widget/Diff.c @@ -57,7 +57,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instAppendExprDiff(lean_object*, lean_obj static lean_object* l_Lean_Widget_diffHypothesesBundle___closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_diffHypotheses___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_exprDiffCore___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); -lean_object* lean_local_ctx_find_from_user_name(lean_object*, lean_object*); +lean_object* l_Lean_LocalContext_findFromUserName_x3f(lean_object*, lean_object*); lean_object* lean_expr_instantiate1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_RBNode_find___at_Lean_Widget_addDiffTags___spec__2___boxed(lean_object*, lean_object*); lean_object* lean_array_push(lean_object*, lean_object*); @@ -6332,7 +6332,7 @@ if (x_21 == 0) { lean_object* x_22; lean_dec(x_6); -x_22 = lean_local_ctx_find_from_user_name(x_2, x_19); +x_22 = l_Lean_LocalContext_findFromUserName_x3f(x_2, x_19); if (lean_obj_tag(x_22) == 0) { lean_dec(x_14); diff --git a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c index 9a7e509b52..783c58f486 100644 --- a/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c +++ b/stage0/stdlib/Lean/Widget/InteractiveDiagnostic.c @@ -29,20 +29,18 @@ LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___boxed(lean_object*, le static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_526____closed__4; static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__6; lean_object* lean_mk_empty_array_with_capacity(lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__6; lean_object* l_Lean_Name_str___override(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__3; -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__8; static lean_object* l_Lean_Widget_msgToInteractive___closed__1; LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__1(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, uint8_t, lean_object*, lean_object*); lean_object* lean_array_uget(lean_object*, size_t); lean_object* lean_io_error_to_string(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__5; -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778____boxed(lean_object*); LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6___boxed(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(size_t, size_t, lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(size_t, size_t, lean_object*); -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__5; lean_object* l_Lean_MessageData_format(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__2(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); extern lean_object* l_Std_Format_defWidth; @@ -51,7 +49,6 @@ LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodabl lean_object* l_Lean_Json_getNat_x3f(lean_object*); lean_object* lean_array_uset(lean_object*, size_t, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2___closed__4; -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__3; lean_object* l_Lean_Widget_TaggedText_prettyTagged(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__3; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__15; @@ -62,11 +59,13 @@ LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40 lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_instRpcEncodableInteractiveHypothesisBundle_dec____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__5(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__3(lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__3; LEAN_EXPORT lean_object* l_StateT_lift___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__5(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy___rarg(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_526_; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__5; lean_object* l_Lean_Json_getStr_x3f(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__11; @@ -75,18 +74,17 @@ lean_object* lean_array_get_size(lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__2; lean_object* l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__1(lean_object*, lean_object*); lean_object* lean_string_append(lean_object*, lean_object*); -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__6; static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__2(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__8; static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__9; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_withIgnoreTags(lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__2; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__12; LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3___boxed(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545_(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__1; @@ -97,6 +95,7 @@ static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith(lean_object*); lean_object* l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT(lean_object*, lean_object*, lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__4; static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2___boxed(lean_object*, lean_object*, lean_object*); lean_object* lean_nat_add(lean_object*, lean_object*); @@ -106,16 +105,20 @@ LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive___lambda__1___boxed(lean LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__2(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__5; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_88____closed__1; -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__5(size_t, size_t, lean_object*, lean_object*); +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__4; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__2(size_t, size_t, lean_object*); static uint32_t l_Lean_Widget_instInhabitedEmbedFmt___closed__7; uint8_t l_Lean_MessageData_hasTag(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_962____boxed(lean_object*); lean_object* l_Lean_Widget_InteractiveGoal_pretty(lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__1; static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__3; +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__9; +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic(lean_object*, lean_object*, uint8_t, lean_object*); lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__15; lean_object* lean_array_fget(lean_object*, lean_object*); lean_object* l_Lean_mkHashMapImp___rarg(lean_object*); @@ -126,7 +129,9 @@ LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive_fmtToTT___lambda__2(lean lean_object* l_Lean_Expr_mvar___override(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_88____lambda__1(lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__5; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedStrictOrLazy___rarg(lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__2; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__7(lean_object*, lean_object*, size_t, size_t, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____rarg(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__3; @@ -144,12 +149,10 @@ static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__16; lean_object* l_Lean_Name_toString(lean_object*, uint8_t); static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_526____closed__2; -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__1; lean_object* l_Lean_Server_instRpcEncodableWithRpcRef_rpcDecode___rarg(lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__2(lean_object*, lean_object*, lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____boxed(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_rewriteM___at_Lean_Widget_msgToInteractive_fmtToTT___spec__4(lean_object*, lean_object*, lean_object*); -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__2; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__2; lean_object* l_Lean_Widget_tagExprInfos_go(lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__14; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__4(lean_object*, lean_object*, size_t, size_t, lean_object*, lean_object*, lean_object*); @@ -161,8 +164,9 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_Inter lean_object* lean_format_pretty(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__7; static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_526____closed__1; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__1; lean_object* l___private_Lean_Widget_TaggedText_0__Lean_Widget_toJsonTaggedText____x40_Lean_Widget_TaggedText___hyg_632____at_Lean_Widget_TaggedText_instRpcEncodableTaggedText___spec__3(lean_object*); -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__4; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_88____lambda__2___closed__5; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; @@ -170,6 +174,7 @@ LEAN_EXPORT lean_object* l_StateT_pure___at___private_Lean_Widget_InteractiveDia LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_pushEmbed(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_instRpcEncodableInteractiveHypothesisBundle_enc____x40_Lean_Widget_InteractiveGoal___hyg_5____spec__3(lean_object*, lean_object*, lean_object*); lean_object* l_Lean_Server_instRpcEncodableWithRpcRef_rpcEncode___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket__7___closed__1; static lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; lean_object* lean_expr_dbg_to_string(lean_object*); @@ -180,6 +185,7 @@ LEAN_EXPORT lean_object* l_StateT_lift___at___private_Lean_Widget_InteractiveDia static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__5; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__2; lean_object* l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_656_(lean_object*); +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(lean_object*, lean_object*); lean_object* l___private_Init_Util_0__mkPanicMessageWithDecl(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1___closed__1; uint8_t l_Array_isEmpty___rarg(lean_object*); @@ -189,29 +195,26 @@ LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_Inter LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket__6; static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__2; static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__1; +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806____boxed(lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__12; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4_(lean_object*, lean_object*); lean_object* l_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775_(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_88____lambda__1___closed__2; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux___closed__1; size_t lean_usize_of_nat(lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractive(lean_object*, uint8_t, lean_object*, lean_object*); extern lean_object* l_Lean_NameSet_empty; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__4; LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic(lean_object*); lean_object* l_Lean_Widget_instRpcEncodableSubexprInfo_dec____x40_Lean_Widget_InteractiveCode___hyg_241____boxed(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__10; -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__7; lean_object* l_Lean_PersistentHashMap_mkEmptyEntriesArray(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_88_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622_(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___closed__1; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__1; +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_mkContextInfo___boxed(lean_object*, lean_object*); lean_object* l_Lean_PrettyPrinter_Delaborator_delab(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -219,6 +222,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_TaggedText_mapM___at_Lean_Widget_instRpcE LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed; static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__4; static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_panic___at_Lean_Widget_msgToInteractive_fmtToTT___spec__3(lean_object*); static lean_object* l_Lean_Widget_instInhabitedEmbedFmt___closed__10; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_545_(lean_object*, lean_object*); @@ -227,20 +231,19 @@ static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_4_(lean_object*, lean_object*); lean_object* l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(size_t, size_t, lean_object*); lean_object* l_Lean_JsonNumber_fromNat(lean_object*); -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__2; static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__3___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__8; static lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____closed__3; +static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__3; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__14; -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___closed__6; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4(lean_object*, lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket__5___closed__1; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_200_(lean_object*); LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_962_(lean_object*); -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778_(lean_object*); +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_88____lambda__2___closed__2; static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2___closed__3; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__8___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -259,7 +262,6 @@ static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__6; lean_object* l_Lean_Json_mkObj(lean_object*); static lean_object* l_Lean_Widget_instInhabitedMsgEmbed___closed__3; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___lambda__1___closed__2; -static lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__3; static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket__6___closed__1; static lean_object* l_Lean_Widget_instToJsonRpcEncodablePacket__5___closed__1; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_88____lambda__2___closed__3; @@ -271,10 +273,12 @@ LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_W static lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___closed__11; lean_object* l_Lean_Syntax_decodeNameLit(lean_object*); lean_object* lean_panic_fn(lean_object*, lean_object*); +static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__7; static lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___closed__1; static lean_object* l_Lean_Widget_instImpl____x40_Lean_Widget_InteractiveDiagnostic___hyg_526____closed__5; LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538_(lean_object*); +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(size_t, size_t, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedStrictOrLazy(lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___boxed(lean_object*, lean_object*, lean_object*); @@ -311,6 +315,7 @@ LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_pretty LEAN_EXPORT lean_object* l_Lean_Widget_instFromJsonRpcEncodablePacket__5; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__9; LEAN_EXPORT lean_object* l_StateT_pure___at___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_msgToInteractiveAux_go___spec__1___rarg(lean_object*, lean_object*, lean_object*); +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___boxed(lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____closed__1; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__5(lean_object*, size_t, size_t, lean_object*, lean_object*); static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__1; @@ -329,7 +334,6 @@ static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget static lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1___closed__2; static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_701____lambda__1___closed__8; LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(size_t, size_t, lean_object*, lean_object*); -static lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__7; static lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; lean_object* lean_nat_to_int(lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_msgToInteractive_fmtToTT___spec__1___boxed(lean_object*, lean_object*, lean_object*, lean_object*, lean_object*, lean_object*); @@ -348,7 +352,6 @@ lean_object* l_Lean_Widget_goalToInteractive(lean_object*, lean_object*, lean_ob uint8_t lean_string_dec_eq(lean_object*, lean_object*); uint8_t lean_nat_dec_lt(lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt___lambda__1(lean_object*, lean_object*); -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2___boxed(lean_object*, lean_object*, lean_object*, lean_object*); LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__5___boxed(lean_object*, lean_object*, lean_object*, lean_object*); static lean_object* l_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____closed__2; LEAN_EXPORT lean_object* l_Lean_Widget_instInhabitedStrictOrLazy___rarg(lean_object* x_1, lean_object* x_2) { @@ -4071,7 +4074,7 @@ x_1 = l_Lean_Widget_instRpcEncodableMsgEmbed___closed__1; return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__1() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__1() { _start: { lean_object* x_1; @@ -4079,7 +4082,7 @@ x_1 = lean_mk_string_from_bytes("range", 5); return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__2() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__2() { _start: { lean_object* x_1; @@ -4087,7 +4090,7 @@ x_1 = lean_mk_string_from_bytes("fullRange", 9); return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__3() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__3() { _start: { lean_object* x_1; @@ -4095,7 +4098,7 @@ x_1 = lean_mk_string_from_bytes("severity", 8); return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__4() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__4() { _start: { lean_object* x_1; @@ -4103,7 +4106,7 @@ x_1 = lean_mk_string_from_bytes("code", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__5() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__5() { _start: { lean_object* x_1; @@ -4111,7 +4114,7 @@ x_1 = lean_mk_string_from_bytes("source", 6); return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__6() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__6() { _start: { lean_object* x_1; @@ -4119,7 +4122,7 @@ x_1 = lean_mk_string_from_bytes("message", 7); return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__7() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__7() { _start: { lean_object* x_1; @@ -4127,7 +4130,7 @@ x_1 = lean_mk_string_from_bytes("tags", 4); return x_1; } } -static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__8() { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__8() { _start: { lean_object* x_1; @@ -4135,90 +4138,105 @@ x_1 = lean_mk_string_from_bytes("relatedInformation", 18); return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612_(lean_object* x_1) { +static lean_object* _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__9() { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; uint8_t x_25; -x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__1; +lean_object* x_1; +x_1 = lean_mk_string_from_bytes("data", 4); +return x_1; +} +} +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622_(lean_object* x_1) { +_start: +{ +lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; uint8_t x_28; +x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__1; x_3 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__1(x_1, x_2); x_4 = lean_ctor_get(x_3, 0); lean_inc(x_4); lean_dec(x_3); -x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__2; -x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__1(x_1, x_5); +x_5 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__2; +x_6 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(x_1, x_5); x_7 = lean_ctor_get(x_6, 0); lean_inc(x_7); lean_dec(x_6); -x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__3; +x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__3; x_9 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(x_1, x_8); x_10 = lean_ctor_get(x_9, 0); lean_inc(x_10); lean_dec(x_9); -x_11 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__4; +x_11 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__4; x_12 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(x_1, x_11); x_13 = lean_ctor_get(x_12, 0); lean_inc(x_13); lean_dec(x_12); -x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__5; +x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__5; x_15 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(x_1, x_14); x_16 = lean_ctor_get(x_15, 0); lean_inc(x_16); lean_dec(x_15); -x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__6; +x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__6; x_18 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__1(x_1, x_17); x_19 = lean_ctor_get(x_18, 0); lean_inc(x_19); lean_dec(x_18); -x_20 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__7; +x_20 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__7; x_21 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(x_1, x_20); x_22 = lean_ctor_get(x_21, 0); lean_inc(x_22); lean_dec(x_21); -x_23 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__8; +x_23 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__8; x_24 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(x_1, x_23); -x_25 = !lean_is_exclusive(x_24); -if (x_25 == 0) +x_25 = lean_ctor_get(x_24, 0); +lean_inc(x_25); +lean_dec(x_24); +x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__9; +x_27 = l_Lean_Json_getObjValAs_x3f___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_311____spec__2(x_1, x_26); +x_28 = !lean_is_exclusive(x_27); +if (x_28 == 0) { -lean_object* x_26; lean_object* x_27; -x_26 = lean_ctor_get(x_24, 0); -x_27 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_27, 0, x_4); -lean_ctor_set(x_27, 1, x_7); -lean_ctor_set(x_27, 2, x_10); -lean_ctor_set(x_27, 3, x_13); -lean_ctor_set(x_27, 4, x_16); -lean_ctor_set(x_27, 5, x_19); -lean_ctor_set(x_27, 6, x_22); -lean_ctor_set(x_27, 7, x_26); -lean_ctor_set(x_24, 0, x_27); -return x_24; +lean_object* x_29; lean_object* x_30; +x_29 = lean_ctor_get(x_27, 0); +x_30 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_30, 0, x_4); +lean_ctor_set(x_30, 1, x_7); +lean_ctor_set(x_30, 2, x_10); +lean_ctor_set(x_30, 3, x_13); +lean_ctor_set(x_30, 4, x_16); +lean_ctor_set(x_30, 5, x_19); +lean_ctor_set(x_30, 6, x_22); +lean_ctor_set(x_30, 7, x_25); +lean_ctor_set(x_30, 8, x_29); +lean_ctor_set(x_27, 0, x_30); +return x_27; } else { -lean_object* x_28; lean_object* x_29; lean_object* x_30; -x_28 = lean_ctor_get(x_24, 0); -lean_inc(x_28); -lean_dec(x_24); -x_29 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_29, 0, x_4); -lean_ctor_set(x_29, 1, x_7); -lean_ctor_set(x_29, 2, x_10); -lean_ctor_set(x_29, 3, x_13); -lean_ctor_set(x_29, 4, x_16); -lean_ctor_set(x_29, 5, x_19); -lean_ctor_set(x_29, 6, x_22); -lean_ctor_set(x_29, 7, x_28); -x_30 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_30, 0, x_29); -return x_30; +lean_object* x_31; lean_object* x_32; lean_object* x_33; +x_31 = lean_ctor_get(x_27, 0); +lean_inc(x_31); +lean_dec(x_27); +x_32 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_32, 0, x_4); +lean_ctor_set(x_32, 1, x_7); +lean_ctor_set(x_32, 2, x_10); +lean_ctor_set(x_32, 3, x_13); +lean_ctor_set(x_32, 4, x_16); +lean_ctor_set(x_32, 5, x_19); +lean_ctor_set(x_32, 6, x_22); +lean_ctor_set(x_32, 7, x_25); +lean_ctor_set(x_32, 8, x_31); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +return x_33; } } } -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612_(x_1); +x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622_(x_1); lean_dec(x_1); return x_2; } @@ -4227,7 +4245,7 @@ static lean_object* _init_l_Lean_Widget_instFromJsonRpcEncodablePacket__7___clos _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____boxed), 1, 0); return x_1; } } @@ -4239,87 +4257,87 @@ x_1 = l_Lean_Widget_instFromJsonRpcEncodablePacket__7___closed__1; return x_1; } } -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778_(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(lean_object* x_1) { _start: { -lean_object* x_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; 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_2; lean_object* x_3; lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; lean_object* x_12; lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; lean_object* x_17; lean_object* x_18; lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_23; lean_object* x_24; lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_30; lean_object* x_31; lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; lean_object* x_41; lean_object* x_42; x_2 = lean_ctor_get(x_1, 0); -x_3 = lean_ctor_get(x_1, 1); -x_4 = lean_ctor_get(x_1, 2); -x_5 = lean_ctor_get(x_1, 3); -x_6 = lean_ctor_get(x_1, 4); -x_7 = lean_ctor_get(x_1, 5); -x_8 = lean_ctor_get(x_1, 6); -x_9 = lean_ctor_get(x_1, 7); -x_10 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__1; +x_3 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__1; lean_inc(x_2); -x_11 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_11, 0, x_10); -lean_ctor_set(x_11, 1, x_2); -x_12 = lean_box(0); -x_13 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_13, 0, x_11); -lean_ctor_set(x_13, 1, x_12); -x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__2; -lean_inc(x_3); -x_15 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_15, 0, x_14); -lean_ctor_set(x_15, 1, x_3); -x_16 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_16, 0, x_15); -lean_ctor_set(x_16, 1, x_12); -x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__3; -x_18 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_17, x_4); -x_19 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__4; -x_20 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_19, x_5); -x_21 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__5; -x_22 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_21, x_6); -x_23 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__6; -lean_inc(x_7); -x_24 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_24, 0, x_23); -lean_ctor_set(x_24, 1, x_7); -x_25 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_25, 0, x_24); -lean_ctor_set(x_25, 1, x_12); -x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__7; -x_27 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_26, x_8); -x_28 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__8; -x_29 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_28, x_9); -x_30 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_30, 0, x_29); -lean_ctor_set(x_30, 1, x_12); -x_31 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_31, 0, x_27); -lean_ctor_set(x_31, 1, x_30); +x_4 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_4, 0, x_3); +lean_ctor_set(x_4, 1, x_2); +x_5 = lean_box(0); +x_6 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_6, 0, x_4); +lean_ctor_set(x_6, 1, x_5); +x_7 = lean_ctor_get(x_1, 1); +x_8 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__2; +x_9 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_8, x_7); +x_10 = lean_ctor_get(x_1, 2); +x_11 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__3; +x_12 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_11, x_10); +x_13 = lean_ctor_get(x_1, 3); +x_14 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__4; +x_15 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_14, x_13); +x_16 = lean_ctor_get(x_1, 4); +x_17 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__5; +x_18 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_17, x_16); +x_19 = lean_ctor_get(x_1, 5); +x_20 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__6; +lean_inc(x_19); +x_21 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_21, 0, x_20); +lean_ctor_set(x_21, 1, x_19); +x_22 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_22, 0, x_21); +lean_ctor_set(x_22, 1, x_5); +x_23 = lean_ctor_get(x_1, 6); +x_24 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__7; +x_25 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_24, x_23); +x_26 = lean_ctor_get(x_1, 7); +x_27 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__8; +x_28 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_27, x_26); +x_29 = lean_ctor_get(x_1, 8); +x_30 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__9; +x_31 = l_Lean_Json_opt___at___private_Lean_Widget_InteractiveCode_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveCode___hyg_387____spec__1(x_30, x_29); x_32 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_32, 0, x_25); -lean_ctor_set(x_32, 1, x_31); +lean_ctor_set(x_32, 0, x_31); +lean_ctor_set(x_32, 1, x_5); x_33 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_33, 0, x_22); +lean_ctor_set(x_33, 0, x_28); lean_ctor_set(x_33, 1, x_32); x_34 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_34, 0, x_20); +lean_ctor_set(x_34, 0, x_25); lean_ctor_set(x_34, 1, x_33); x_35 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_35, 0, x_18); +lean_ctor_set(x_35, 0, x_22); lean_ctor_set(x_35, 1, x_34); x_36 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_36, 0, x_16); +lean_ctor_set(x_36, 0, x_18); lean_ctor_set(x_36, 1, x_35); x_37 = lean_alloc_ctor(1, 2, 0); -lean_ctor_set(x_37, 0, x_13); +lean_ctor_set(x_37, 0, x_15); lean_ctor_set(x_37, 1, x_36); -x_38 = l_List_join___rarg(x_37); -x_39 = l_Lean_Json_mkObj(x_38); -return x_39; +x_38 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_38, 0, x_12); +lean_ctor_set(x_38, 1, x_37); +x_39 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_39, 0, x_9); +lean_ctor_set(x_39, 1, x_38); +x_40 = lean_alloc_ctor(1, 2, 0); +lean_ctor_set(x_40, 0, x_6); +lean_ctor_set(x_40, 1, x_39); +x_41 = l_List_join___rarg(x_40); +x_42 = l_Lean_Json_mkObj(x_41); +return x_42; } } -LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778____boxed(lean_object* x_1) { +LEAN_EXPORT lean_object* l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806____boxed(lean_object* x_1) { _start: { lean_object* x_2; -x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778_(x_1); +x_2 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_1); lean_dec(x_1); return x_2; } @@ -4328,7 +4346,7 @@ static lean_object* _init_l_Lean_Widget_instToJsonRpcEncodablePacket__7___closed _start: { lean_object* x_1; -x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778____boxed), 1, 0); +x_1 = lean_alloc_closure((void*)(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806____boxed), 1, 0); return x_1; } } @@ -4534,204 +4552,242 @@ return x_2; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_123; +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_167; x_4 = lean_ctor_get(x_2, 0); lean_inc(x_4); x_5 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_4); -x_6 = lean_ctor_get(x_2, 1); -lean_inc(x_6); -x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_6); -x_123 = lean_ctor_get(x_2, 2); -lean_inc(x_123); -if (lean_obj_tag(x_123) == 0) +x_167 = lean_ctor_get(x_2, 1); +lean_inc(x_167); +if (lean_obj_tag(x_167) == 0) { -lean_object* x_124; -x_124 = lean_box(0); -x_8 = x_124; -x_9 = x_3; -goto block_122; +lean_object* x_168; +x_168 = lean_box(0); +x_6 = x_168; +x_7 = x_3; +goto block_166; } else { -lean_object* x_125; uint8_t x_126; -x_125 = lean_ctor_get(x_123, 0); -lean_inc(x_125); -lean_dec(x_123); -x_126 = lean_unbox(x_125); -lean_dec(x_125); -switch (x_126) { +uint8_t x_169; +x_169 = !lean_is_exclusive(x_167); +if (x_169 == 0) +{ +lean_object* x_170; lean_object* x_171; +x_170 = lean_ctor_get(x_167, 0); +x_171 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_170); +lean_ctor_set(x_167, 0, x_171); +x_6 = x_167; +x_7 = x_3; +goto block_166; +} +else +{ +lean_object* x_172; lean_object* x_173; lean_object* x_174; +x_172 = lean_ctor_get(x_167, 0); +lean_inc(x_172); +lean_dec(x_167); +x_173 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_toJsonRange____x40_Lean_Data_Lsp_Basic___hyg_669_(x_172); +x_174 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_174, 0, x_173); +x_6 = x_174; +x_7 = x_3; +goto block_166; +} +} +block_166: +{ +lean_object* x_8; lean_object* x_9; lean_object* x_158; +x_158 = lean_ctor_get(x_2, 2); +lean_inc(x_158); +if (lean_obj_tag(x_158) == 0) +{ +lean_object* x_159; +x_159 = lean_box(0); +x_8 = x_159; +x_9 = x_7; +goto block_157; +} +else +{ +lean_object* x_160; uint8_t x_161; +x_160 = lean_ctor_get(x_158, 0); +lean_inc(x_160); +lean_dec(x_158); +x_161 = lean_unbox(x_160); +lean_dec(x_160); +switch (x_161) { case 0: { -lean_object* x_127; -x_127 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_8 = x_127; -x_9 = x_3; -goto block_122; +lean_object* x_162; +x_162 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; +x_8 = x_162; +x_9 = x_7; +goto block_157; } case 1: { -lean_object* x_128; -x_128 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_8 = x_128; -x_9 = x_3; -goto block_122; +lean_object* x_163; +x_163 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_8 = x_163; +x_9 = x_7; +goto block_157; } case 2: { -lean_object* x_129; -x_129 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; -x_8 = x_129; -x_9 = x_3; -goto block_122; +lean_object* x_164; +x_164 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; +x_8 = x_164; +x_9 = x_7; +goto block_157; } default: { +lean_object* x_165; +x_165 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__8; +x_8 = x_165; +x_9 = x_7; +goto block_157; +} +} +} +block_157: +{ +lean_object* x_10; lean_object* x_11; lean_object* x_138; +x_138 = lean_ctor_get(x_2, 3); +lean_inc(x_138); +if (lean_obj_tag(x_138) == 0) +{ +lean_object* x_139; +x_139 = lean_box(0); +x_10 = x_139; +x_11 = x_9; +goto block_137; +} +else +{ +uint8_t x_140; +x_140 = !lean_is_exclusive(x_138); +if (x_140 == 0) +{ +lean_object* x_141; +x_141 = lean_ctor_get(x_138, 0); +if (lean_obj_tag(x_141) == 0) +{ +lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; +x_142 = lean_ctor_get(x_141, 0); +lean_inc(x_142); +lean_dec(x_141); +x_143 = lean_unsigned_to_nat(0u); +x_144 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_144, 0, x_142); +lean_ctor_set(x_144, 1, x_143); +x_145 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_145, 0, x_144); +lean_ctor_set(x_138, 0, x_145); +x_10 = x_138; +x_11 = x_9; +goto block_137; +} +else +{ +lean_object* x_146; lean_object* x_147; +x_146 = lean_ctor_get(x_141, 0); +lean_inc(x_146); +lean_dec(x_141); +x_147 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_147, 0, x_146); +lean_ctor_set(x_138, 0, x_147); +x_10 = x_138; +x_11 = x_9; +goto block_137; +} +} +else +{ +lean_object* x_148; +x_148 = lean_ctor_get(x_138, 0); +lean_inc(x_148); +lean_dec(x_138); +if (lean_obj_tag(x_148) == 0) +{ +lean_object* x_149; lean_object* x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; +x_149 = lean_ctor_get(x_148, 0); +lean_inc(x_149); +lean_dec(x_148); +x_150 = lean_unsigned_to_nat(0u); +x_151 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_151, 0, x_149); +lean_ctor_set(x_151, 1, x_150); +x_152 = lean_alloc_ctor(2, 1, 0); +lean_ctor_set(x_152, 0, x_151); +x_153 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_153, 0, x_152); +x_10 = x_153; +x_11 = x_9; +goto block_137; +} +else +{ +lean_object* x_154; lean_object* x_155; lean_object* x_156; +x_154 = lean_ctor_get(x_148, 0); +lean_inc(x_154); +lean_dec(x_148); +x_155 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_155, 0, x_154); +x_156 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_156, 0, x_155); +x_10 = x_156; +x_11 = x_9; +goto block_137; +} +} +} +block_137: +{ +lean_object* x_12; lean_object* x_13; lean_object* x_129; +x_129 = lean_ctor_get(x_2, 4); +lean_inc(x_129); +if (lean_obj_tag(x_129) == 0) +{ lean_object* x_130; -x_130 = l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__8; -x_8 = x_130; -x_9 = x_3; -goto block_122; -} -} -} -block_122: -{ -lean_object* x_10; lean_object* x_11; lean_object* x_103; -x_103 = lean_ctor_get(x_2, 3); -lean_inc(x_103); -if (lean_obj_tag(x_103) == 0) -{ -lean_object* x_104; -x_104 = lean_box(0); -x_10 = x_104; -x_11 = x_9; -goto block_102; -} -else -{ -uint8_t x_105; -x_105 = !lean_is_exclusive(x_103); -if (x_105 == 0) -{ -lean_object* x_106; -x_106 = lean_ctor_get(x_103, 0); -if (lean_obj_tag(x_106) == 0) -{ -lean_object* x_107; lean_object* x_108; lean_object* x_109; lean_object* x_110; -x_107 = lean_ctor_get(x_106, 0); -lean_inc(x_107); -lean_dec(x_106); -x_108 = lean_unsigned_to_nat(0u); -x_109 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_109, 0, x_107); -lean_ctor_set(x_109, 1, x_108); -x_110 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_110, 0, x_109); -lean_ctor_set(x_103, 0, x_110); -x_10 = x_103; -x_11 = x_9; -goto block_102; -} -else -{ -lean_object* x_111; lean_object* x_112; -x_111 = lean_ctor_get(x_106, 0); -lean_inc(x_111); -lean_dec(x_106); -x_112 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_112, 0, x_111); -lean_ctor_set(x_103, 0, x_112); -x_10 = x_103; -x_11 = x_9; -goto block_102; -} -} -else -{ -lean_object* x_113; -x_113 = lean_ctor_get(x_103, 0); -lean_inc(x_113); -lean_dec(x_103); -if (lean_obj_tag(x_113) == 0) -{ -lean_object* x_114; lean_object* x_115; lean_object* x_116; lean_object* x_117; lean_object* x_118; -x_114 = lean_ctor_get(x_113, 0); -lean_inc(x_114); -lean_dec(x_113); -x_115 = lean_unsigned_to_nat(0u); -x_116 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_116, 0, x_114); -lean_ctor_set(x_116, 1, x_115); -x_117 = lean_alloc_ctor(2, 1, 0); -lean_ctor_set(x_117, 0, x_116); -x_118 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_118, 0, x_117); -x_10 = x_118; -x_11 = x_9; -goto block_102; -} -else -{ -lean_object* x_119; lean_object* x_120; lean_object* x_121; -x_119 = lean_ctor_get(x_113, 0); -lean_inc(x_119); -lean_dec(x_113); -x_120 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_120, 0, x_119); -x_121 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_121, 0, x_120); -x_10 = x_121; -x_11 = x_9; -goto block_102; -} -} -} -block_102: -{ -lean_object* x_12; lean_object* x_13; lean_object* x_94; -x_94 = lean_ctor_get(x_2, 4); -lean_inc(x_94); -if (lean_obj_tag(x_94) == 0) -{ -lean_object* x_95; -x_95 = lean_box(0); -x_12 = x_95; +x_130 = lean_box(0); +x_12 = x_130; x_13 = x_11; -goto block_93; +goto block_128; } else { -uint8_t x_96; -x_96 = !lean_is_exclusive(x_94); -if (x_96 == 0) +uint8_t x_131; +x_131 = !lean_is_exclusive(x_129); +if (x_131 == 0) { -lean_object* x_97; lean_object* x_98; -x_97 = lean_ctor_get(x_94, 0); -x_98 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_98, 0, x_97); -lean_ctor_set(x_94, 0, x_98); -x_12 = x_94; +lean_object* x_132; lean_object* x_133; +x_132 = lean_ctor_get(x_129, 0); +x_133 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_133, 0, x_132); +lean_ctor_set(x_129, 0, x_133); +x_12 = x_129; x_13 = x_11; -goto block_93; +goto block_128; } else { -lean_object* x_99; lean_object* x_100; lean_object* x_101; -x_99 = lean_ctor_get(x_94, 0); -lean_inc(x_99); -lean_dec(x_94); -x_100 = lean_alloc_ctor(3, 1, 0); -lean_ctor_set(x_100, 0, x_99); -x_101 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_101, 0, x_100); -x_12 = x_101; +lean_object* x_134; lean_object* x_135; lean_object* x_136; +x_134 = lean_ctor_get(x_129, 0); +lean_inc(x_134); +lean_dec(x_129); +x_135 = lean_alloc_ctor(3, 1, 0); +lean_ctor_set(x_135, 0, x_134); +x_136 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_136, 0, x_135); +x_12 = x_136; x_13 = x_11; -goto block_93; +goto block_128; } } -block_93: +block_128: { -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_67; +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_102; x_14 = lean_ctor_get(x_1, 0); lean_inc(x_14); lean_dec(x_1); @@ -4750,226 +4806,439 @@ if (lean_is_exclusive(x_16)) { lean_dec_ref(x_16); x_19 = lean_box(0); } -x_67 = lean_ctor_get(x_2, 6); -lean_inc(x_67); -if (lean_obj_tag(x_67) == 0) +x_102 = lean_ctor_get(x_2, 6); +lean_inc(x_102); +if (lean_obj_tag(x_102) == 0) { -lean_object* x_68; -x_68 = lean_box(0); -x_20 = x_68; +lean_object* x_103; +x_103 = lean_box(0); +x_20 = x_103; x_21 = x_18; -goto block_66; +goto block_101; } else { -uint8_t x_69; -x_69 = !lean_is_exclusive(x_67); -if (x_69 == 0) +uint8_t x_104; +x_104 = !lean_is_exclusive(x_102); +if (x_104 == 0) { -lean_object* x_70; lean_object* x_71; size_t x_72; size_t x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; size_t x_78; lean_object* x_79; lean_object* x_80; -x_70 = lean_ctor_get(x_67, 0); -x_71 = lean_array_get_size(x_70); -x_72 = lean_usize_of_nat(x_71); -lean_dec(x_71); -x_73 = 0; -x_74 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_72, x_73, x_70, x_18); -x_75 = lean_ctor_get(x_74, 0); -lean_inc(x_75); -x_76 = lean_ctor_get(x_74, 1); -lean_inc(x_76); -lean_dec(x_74); -x_77 = lean_array_get_size(x_75); -x_78 = lean_usize_of_nat(x_77); -lean_dec(x_77); -x_79 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_78, x_73, x_75); -x_80 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_80, 0, x_79); -lean_ctor_set(x_67, 0, x_80); -x_20 = x_67; -x_21 = x_76; -goto block_66; +lean_object* x_105; lean_object* x_106; size_t x_107; size_t x_108; lean_object* x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; size_t x_113; lean_object* x_114; lean_object* x_115; +x_105 = lean_ctor_get(x_102, 0); +x_106 = lean_array_get_size(x_105); +x_107 = lean_usize_of_nat(x_106); +lean_dec(x_106); +x_108 = 0; +x_109 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_107, x_108, x_105, x_18); +x_110 = lean_ctor_get(x_109, 0); +lean_inc(x_110); +x_111 = lean_ctor_get(x_109, 1); +lean_inc(x_111); +lean_dec(x_109); +x_112 = lean_array_get_size(x_110); +x_113 = lean_usize_of_nat(x_112); +lean_dec(x_112); +x_114 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_113, x_108, x_110); +x_115 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_115, 0, x_114); +lean_ctor_set(x_102, 0, x_115); +x_20 = x_102; +x_21 = x_111; +goto block_101; } else { -lean_object* x_81; lean_object* x_82; size_t x_83; size_t x_84; lean_object* x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; size_t x_89; lean_object* x_90; lean_object* x_91; lean_object* x_92; -x_81 = lean_ctor_get(x_67, 0); -lean_inc(x_81); -lean_dec(x_67); -x_82 = lean_array_get_size(x_81); -x_83 = lean_usize_of_nat(x_82); -lean_dec(x_82); -x_84 = 0; -x_85 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_83, x_84, x_81, x_18); -x_86 = lean_ctor_get(x_85, 0); -lean_inc(x_86); -x_87 = lean_ctor_get(x_85, 1); -lean_inc(x_87); -lean_dec(x_85); -x_88 = lean_array_get_size(x_86); -x_89 = lean_usize_of_nat(x_88); -lean_dec(x_88); -x_90 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_89, x_84, x_86); -x_91 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_91, 0, x_90); -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_91); -x_20 = x_92; -x_21 = x_87; -goto block_66; +lean_object* x_116; lean_object* x_117; size_t x_118; size_t x_119; lean_object* x_120; lean_object* x_121; lean_object* x_122; lean_object* x_123; size_t x_124; lean_object* x_125; lean_object* x_126; lean_object* x_127; +x_116 = lean_ctor_get(x_102, 0); +lean_inc(x_116); +lean_dec(x_102); +x_117 = lean_array_get_size(x_116); +x_118 = lean_usize_of_nat(x_117); +lean_dec(x_117); +x_119 = 0; +x_120 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_118, x_119, x_116, x_18); +x_121 = lean_ctor_get(x_120, 0); +lean_inc(x_121); +x_122 = lean_ctor_get(x_120, 1); +lean_inc(x_122); +lean_dec(x_120); +x_123 = lean_array_get_size(x_121); +x_124 = lean_usize_of_nat(x_123); +lean_dec(x_123); +x_125 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_124, x_119, x_121); +x_126 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_126, 0, x_125); +x_127 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_127, 0, x_126); +x_20 = x_127; +x_21 = x_122; +goto block_101; } } -block_66: +block_101: { lean_object* x_22; x_22 = lean_ctor_get(x_2, 7); lean_inc(x_22); -lean_dec(x_2); 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_23; lean_object* x_24; x_23 = lean_box(0); -x_24 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_24, 0, x_5); -lean_ctor_set(x_24, 1, x_7); -lean_ctor_set(x_24, 2, x_8); -lean_ctor_set(x_24, 3, x_10); -lean_ctor_set(x_24, 4, x_12); -lean_ctor_set(x_24, 5, x_17); -lean_ctor_set(x_24, 6, x_20); -lean_ctor_set(x_24, 7, x_23); -x_25 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778_(x_24); -lean_dec(x_24); +x_24 = lean_ctor_get(x_2, 8); +lean_inc(x_24); +lean_dec(x_2); +if (lean_obj_tag(x_24) == 0) +{ +lean_object* x_25; lean_object* x_26; lean_object* x_27; +x_25 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_25, 0, x_5); +lean_ctor_set(x_25, 1, x_6); +lean_ctor_set(x_25, 2, x_8); +lean_ctor_set(x_25, 3, x_10); +lean_ctor_set(x_25, 4, x_12); +lean_ctor_set(x_25, 5, x_17); +lean_ctor_set(x_25, 6, x_20); +lean_ctor_set(x_25, 7, x_23); +lean_ctor_set(x_25, 8, x_23); +x_26 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_25); +lean_dec(x_25); if (lean_is_scalar(x_19)) { - x_26 = lean_alloc_ctor(0, 2, 0); + x_27 = lean_alloc_ctor(0, 2, 0); } else { - x_26 = x_19; + x_27 = x_19; } -lean_ctor_set(x_26, 0, x_25); -lean_ctor_set(x_26, 1, x_21); -return x_26; +lean_ctor_set(x_27, 0, x_26); +lean_ctor_set(x_27, 1, x_21); +return x_27; } else { -uint8_t x_27; -lean_dec(x_19); -x_27 = !lean_is_exclusive(x_22); -if (x_27 == 0) +uint8_t x_28; +x_28 = !lean_is_exclusive(x_24); +if (x_28 == 0) { -lean_object* x_28; lean_object* x_29; size_t x_30; size_t x_31; lean_object* x_32; uint8_t x_33; -x_28 = lean_ctor_get(x_22, 0); -x_29 = lean_array_get_size(x_28); -x_30 = lean_usize_of_nat(x_29); +lean_object* x_29; lean_object* x_30; lean_object* x_31; +x_29 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_29, 0, x_5); +lean_ctor_set(x_29, 1, x_6); +lean_ctor_set(x_29, 2, x_8); +lean_ctor_set(x_29, 3, x_10); +lean_ctor_set(x_29, 4, x_12); +lean_ctor_set(x_29, 5, x_17); +lean_ctor_set(x_29, 6, x_20); +lean_ctor_set(x_29, 7, x_23); +lean_ctor_set(x_29, 8, x_24); +x_30 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_29); lean_dec(x_29); -x_31 = 0; -x_32 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_30, x_31, x_28, x_21); -x_33 = !lean_is_exclusive(x_32); -if (x_33 == 0) +if (lean_is_scalar(x_19)) { + x_31 = lean_alloc_ctor(0, 2, 0); +} else { + x_31 = x_19; +} +lean_ctor_set(x_31, 0, x_30); +lean_ctor_set(x_31, 1, x_21); +return x_31; +} +else { -lean_object* x_34; lean_object* x_35; size_t x_36; lean_object* x_37; lean_object* x_38; lean_object* x_39; lean_object* x_40; -x_34 = lean_ctor_get(x_32, 0); -x_35 = lean_array_get_size(x_34); -x_36 = lean_usize_of_nat(x_35); -lean_dec(x_35); -x_37 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_36, x_31, x_34); -x_38 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_38, 0, x_37); -lean_ctor_set(x_22, 0, x_38); -x_39 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_39, 0, x_5); -lean_ctor_set(x_39, 1, x_7); -lean_ctor_set(x_39, 2, x_8); -lean_ctor_set(x_39, 3, x_10); -lean_ctor_set(x_39, 4, x_12); -lean_ctor_set(x_39, 5, x_17); -lean_ctor_set(x_39, 6, x_20); -lean_ctor_set(x_39, 7, x_22); -x_40 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778_(x_39); +lean_object* x_32; lean_object* x_33; lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_32 = lean_ctor_get(x_24, 0); +lean_inc(x_32); +lean_dec(x_24); +x_33 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_33, 0, x_32); +x_34 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_34, 0, x_5); +lean_ctor_set(x_34, 1, x_6); +lean_ctor_set(x_34, 2, x_8); +lean_ctor_set(x_34, 3, x_10); +lean_ctor_set(x_34, 4, x_12); +lean_ctor_set(x_34, 5, x_17); +lean_ctor_set(x_34, 6, x_20); +lean_ctor_set(x_34, 7, x_23); +lean_ctor_set(x_34, 8, x_33); +x_35 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_34); +lean_dec(x_34); +if (lean_is_scalar(x_19)) { + x_36 = lean_alloc_ctor(0, 2, 0); +} else { + x_36 = x_19; +} +lean_ctor_set(x_36, 0, x_35); +lean_ctor_set(x_36, 1, x_21); +return x_36; +} +} +} +else +{ +uint8_t x_37; +lean_dec(x_19); +x_37 = !lean_is_exclusive(x_22); +if (x_37 == 0) +{ +lean_object* x_38; lean_object* x_39; size_t x_40; size_t x_41; lean_object* x_42; uint8_t x_43; +x_38 = lean_ctor_get(x_22, 0); +x_39 = lean_array_get_size(x_38); +x_40 = lean_usize_of_nat(x_39); lean_dec(x_39); -lean_ctor_set(x_32, 0, x_40); -return x_32; -} -else +x_41 = 0; +x_42 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_40, x_41, x_38, x_21); +x_43 = !lean_is_exclusive(x_42); +if (x_43 == 0) { -lean_object* x_41; lean_object* x_42; lean_object* x_43; size_t x_44; lean_object* x_45; lean_object* x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; -x_41 = lean_ctor_get(x_32, 0); -x_42 = lean_ctor_get(x_32, 1); -lean_inc(x_42); -lean_inc(x_41); -lean_dec(x_32); -x_43 = lean_array_get_size(x_41); -x_44 = lean_usize_of_nat(x_43); -lean_dec(x_43); -x_45 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_44, x_31, x_41); -x_46 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_46, 0, x_45); -lean_ctor_set(x_22, 0, x_46); -x_47 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_47, 0, x_5); -lean_ctor_set(x_47, 1, x_7); -lean_ctor_set(x_47, 2, x_8); -lean_ctor_set(x_47, 3, x_10); -lean_ctor_set(x_47, 4, x_12); -lean_ctor_set(x_47, 5, x_17); -lean_ctor_set(x_47, 6, x_20); -lean_ctor_set(x_47, 7, x_22); -x_48 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778_(x_47); -lean_dec(x_47); -x_49 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_49, 0, x_48); -lean_ctor_set(x_49, 1, x_42); -return x_49; -} -} -else +lean_object* x_44; lean_object* x_45; size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; +x_44 = lean_ctor_get(x_42, 0); +x_45 = lean_array_get_size(x_44); +x_46 = lean_usize_of_nat(x_45); +lean_dec(x_45); +x_47 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_46, x_41, x_44); +x_48 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_48, 0, x_47); +lean_ctor_set(x_22, 0, x_48); +x_49 = lean_ctor_get(x_2, 8); +lean_inc(x_49); +lean_dec(x_2); +if (lean_obj_tag(x_49) == 0) { -lean_object* x_50; lean_object* x_51; size_t x_52; size_t x_53; lean_object* x_54; lean_object* x_55; lean_object* x_56; lean_object* x_57; lean_object* x_58; size_t x_59; lean_object* x_60; lean_object* x_61; lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; -x_50 = lean_ctor_get(x_22, 0); -lean_inc(x_50); -lean_dec(x_22); -x_51 = lean_array_get_size(x_50); -x_52 = lean_usize_of_nat(x_51); +lean_object* x_50; lean_object* x_51; lean_object* x_52; +x_50 = lean_box(0); +x_51 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_51, 0, x_5); +lean_ctor_set(x_51, 1, x_6); +lean_ctor_set(x_51, 2, x_8); +lean_ctor_set(x_51, 3, x_10); +lean_ctor_set(x_51, 4, x_12); +lean_ctor_set(x_51, 5, x_17); +lean_ctor_set(x_51, 6, x_20); +lean_ctor_set(x_51, 7, x_22); +lean_ctor_set(x_51, 8, x_50); +x_52 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_51); lean_dec(x_51); -x_53 = 0; -x_54 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_52, x_53, x_50, x_21); -x_55 = lean_ctor_get(x_54, 0); -lean_inc(x_55); -x_56 = lean_ctor_get(x_54, 1); +lean_ctor_set(x_42, 0, x_52); +return x_42; +} +else +{ +uint8_t x_53; +x_53 = !lean_is_exclusive(x_49); +if (x_53 == 0) +{ +lean_object* x_54; lean_object* x_55; +x_54 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_54, 0, x_5); +lean_ctor_set(x_54, 1, x_6); +lean_ctor_set(x_54, 2, x_8); +lean_ctor_set(x_54, 3, x_10); +lean_ctor_set(x_54, 4, x_12); +lean_ctor_set(x_54, 5, x_17); +lean_ctor_set(x_54, 6, x_20); +lean_ctor_set(x_54, 7, x_22); +lean_ctor_set(x_54, 8, x_49); +x_55 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_54); +lean_dec(x_54); +lean_ctor_set(x_42, 0, x_55); +return x_42; +} +else +{ +lean_object* x_56; lean_object* x_57; lean_object* x_58; lean_object* x_59; +x_56 = lean_ctor_get(x_49, 0); lean_inc(x_56); -if (lean_is_exclusive(x_54)) { - lean_ctor_release(x_54, 0); - lean_ctor_release(x_54, 1); - x_57 = x_54; -} else { - lean_dec_ref(x_54); - x_57 = lean_box(0); -} -x_58 = lean_array_get_size(x_55); -x_59 = lean_usize_of_nat(x_58); +lean_dec(x_49); +x_57 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_57, 0, x_56); +x_58 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_58, 0, x_5); +lean_ctor_set(x_58, 1, x_6); +lean_ctor_set(x_58, 2, x_8); +lean_ctor_set(x_58, 3, x_10); +lean_ctor_set(x_58, 4, x_12); +lean_ctor_set(x_58, 5, x_17); +lean_ctor_set(x_58, 6, x_20); +lean_ctor_set(x_58, 7, x_22); +lean_ctor_set(x_58, 8, x_57); +x_59 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_58); lean_dec(x_58); -x_60 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_59, x_53, x_55); -x_61 = lean_alloc_ctor(4, 1, 0); -lean_ctor_set(x_61, 0, x_60); -x_62 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_62, 0, x_61); -x_63 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_63, 0, x_5); -lean_ctor_set(x_63, 1, x_7); -lean_ctor_set(x_63, 2, x_8); -lean_ctor_set(x_63, 3, x_10); -lean_ctor_set(x_63, 4, x_12); -lean_ctor_set(x_63, 5, x_17); -lean_ctor_set(x_63, 6, x_20); -lean_ctor_set(x_63, 7, x_62); -x_64 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1778_(x_63); -lean_dec(x_63); -if (lean_is_scalar(x_57)) { - x_65 = lean_alloc_ctor(0, 2, 0); -} else { - x_65 = x_57; +lean_ctor_set(x_42, 0, x_59); +return x_42; } +} +} +else +{ +lean_object* x_60; lean_object* x_61; lean_object* x_62; size_t x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; +x_60 = lean_ctor_get(x_42, 0); +x_61 = lean_ctor_get(x_42, 1); +lean_inc(x_61); +lean_inc(x_60); +lean_dec(x_42); +x_62 = lean_array_get_size(x_60); +x_63 = lean_usize_of_nat(x_62); +lean_dec(x_62); +x_64 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_63, x_41, x_60); +x_65 = lean_alloc_ctor(4, 1, 0); lean_ctor_set(x_65, 0, x_64); -lean_ctor_set(x_65, 1, x_56); -return x_65; +lean_ctor_set(x_22, 0, x_65); +x_66 = lean_ctor_get(x_2, 8); +lean_inc(x_66); +lean_dec(x_2); +if (lean_obj_tag(x_66) == 0) +{ +lean_object* x_67; lean_object* x_68; lean_object* x_69; lean_object* x_70; +x_67 = lean_box(0); +x_68 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_68, 0, x_5); +lean_ctor_set(x_68, 1, x_6); +lean_ctor_set(x_68, 2, x_8); +lean_ctor_set(x_68, 3, x_10); +lean_ctor_set(x_68, 4, x_12); +lean_ctor_set(x_68, 5, x_17); +lean_ctor_set(x_68, 6, x_20); +lean_ctor_set(x_68, 7, x_22); +lean_ctor_set(x_68, 8, x_67); +x_69 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_68); +lean_dec(x_68); +x_70 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_70, 0, x_69); +lean_ctor_set(x_70, 1, x_61); +return x_70; +} +else +{ +lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; lean_object* x_76; +x_71 = lean_ctor_get(x_66, 0); +lean_inc(x_71); +if (lean_is_exclusive(x_66)) { + lean_ctor_release(x_66, 0); + x_72 = x_66; +} else { + lean_dec_ref(x_66); + x_72 = lean_box(0); +} +if (lean_is_scalar(x_72)) { + x_73 = lean_alloc_ctor(1, 1, 0); +} else { + x_73 = x_72; +} +lean_ctor_set(x_73, 0, x_71); +x_74 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_74, 0, x_5); +lean_ctor_set(x_74, 1, x_6); +lean_ctor_set(x_74, 2, x_8); +lean_ctor_set(x_74, 3, x_10); +lean_ctor_set(x_74, 4, x_12); +lean_ctor_set(x_74, 5, x_17); +lean_ctor_set(x_74, 6, x_20); +lean_ctor_set(x_74, 7, x_22); +lean_ctor_set(x_74, 8, x_73); +x_75 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_74); +lean_dec(x_74); +x_76 = lean_alloc_ctor(0, 2, 0); +lean_ctor_set(x_76, 0, x_75); +lean_ctor_set(x_76, 1, x_61); +return x_76; +} +} +} +else +{ +lean_object* x_77; lean_object* x_78; size_t x_79; size_t x_80; lean_object* x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; lean_object* x_85; size_t x_86; lean_object* x_87; lean_object* x_88; lean_object* x_89; lean_object* x_90; +x_77 = lean_ctor_get(x_22, 0); +lean_inc(x_77); +lean_dec(x_22); +x_78 = lean_array_get_size(x_77); +x_79 = lean_usize_of_nat(x_78); +lean_dec(x_78); +x_80 = 0; +x_81 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_79, x_80, x_77, x_21); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +x_83 = lean_ctor_get(x_81, 1); +lean_inc(x_83); +if (lean_is_exclusive(x_81)) { + lean_ctor_release(x_81, 0); + lean_ctor_release(x_81, 1); + x_84 = x_81; +} else { + lean_dec_ref(x_81); + x_84 = lean_box(0); +} +x_85 = lean_array_get_size(x_82); +x_86 = lean_usize_of_nat(x_85); +lean_dec(x_85); +x_87 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__2(x_86, x_80, x_82); +x_88 = lean_alloc_ctor(4, 1, 0); +lean_ctor_set(x_88, 0, x_87); +x_89 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_89, 0, x_88); +x_90 = lean_ctor_get(x_2, 8); +lean_inc(x_90); +lean_dec(x_2); +if (lean_obj_tag(x_90) == 0) +{ +lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; +x_91 = lean_box(0); +x_92 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_92, 0, x_5); +lean_ctor_set(x_92, 1, x_6); +lean_ctor_set(x_92, 2, x_8); +lean_ctor_set(x_92, 3, x_10); +lean_ctor_set(x_92, 4, x_12); +lean_ctor_set(x_92, 5, x_17); +lean_ctor_set(x_92, 6, x_20); +lean_ctor_set(x_92, 7, x_89); +lean_ctor_set(x_92, 8, x_91); +x_93 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_92); +lean_dec(x_92); +if (lean_is_scalar(x_84)) { + x_94 = lean_alloc_ctor(0, 2, 0); +} else { + x_94 = x_84; +} +lean_ctor_set(x_94, 0, x_93); +lean_ctor_set(x_94, 1, x_83); +return x_94; +} +else +{ +lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; +x_95 = lean_ctor_get(x_90, 0); +lean_inc(x_95); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + x_96 = x_90; +} else { + lean_dec_ref(x_90); + x_96 = lean_box(0); +} +if (lean_is_scalar(x_96)) { + x_97 = lean_alloc_ctor(1, 1, 0); +} else { + x_97 = x_96; +} +lean_ctor_set(x_97, 0, x_95); +x_98 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_98, 0, x_5); +lean_ctor_set(x_98, 1, x_6); +lean_ctor_set(x_98, 2, x_8); +lean_ctor_set(x_98, 3, x_10); +lean_ctor_set(x_98, 4, x_12); +lean_ctor_set(x_98, 5, x_17); +lean_ctor_set(x_98, 6, x_20); +lean_ctor_set(x_98, 7, x_89); +lean_ctor_set(x_98, 8, x_97); +x_99 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_toJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1806_(x_98); +lean_dec(x_98); +if (lean_is_scalar(x_84)) { + x_100 = lean_alloc_ctor(0, 2, 0); +} else { + x_100 = x_84; +} +lean_ctor_set(x_100, 0, x_99); +lean_ctor_set(x_100, 1, x_83); +return x_100; +} +} } } } @@ -5053,64 +5322,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { -_start: -{ -uint8_t x_5; -x_5 = lean_usize_dec_lt(x_2, x_1); -if (x_5 == 0) -{ -lean_object* x_6; -x_6 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_6, 0, x_3); -return x_6; -} -else -{ -lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; -x_7 = lean_array_uget(x_3, x_2); -x_8 = lean_unsigned_to_nat(0u); -x_9 = lean_array_uset(x_3, x_2, x_8); -x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_656_(x_7); -lean_dec(x_7); -x_11 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_10, x_4); -if (lean_obj_tag(x_11) == 0) -{ -uint8_t x_12; -lean_dec(x_9); -x_12 = !lean_is_exclusive(x_11); -if (x_12 == 0) -{ -return x_11; -} -else -{ -lean_object* x_13; lean_object* x_14; -x_13 = lean_ctor_get(x_11, 0); -lean_inc(x_13); -lean_dec(x_11); -x_14 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_14, 0, x_13); -return x_14; -} -} -else -{ -lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; -x_15 = lean_ctor_get(x_11, 0); -lean_inc(x_15); -lean_dec(x_11); -x_16 = 1; -x_17 = lean_usize_add(x_2, x_16); -x_18 = lean_array_uset(x_9, x_2, x_15); -x_2 = x_17; -x_3 = x_18; -goto _start; -} -} -} -} -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5153,7 +5365,107 @@ return x_8; } } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__1() { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { +_start: +{ +uint8_t x_5; +x_5 = lean_usize_dec_lt(x_2, x_1); +if (x_5 == 0) +{ +lean_object* x_6; +x_6 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_6, 0, x_3); +return x_6; +} +else +{ +lean_object* x_7; lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_7 = lean_array_uget(x_3, x_2); +x_8 = lean_unsigned_to_nat(0u); +x_9 = lean_array_uset(x_3, x_2, x_8); +x_10 = l___private_Lean_Data_Lsp_Diagnostics_0__Lean_Lsp_fromJsonDiagnosticRelatedInformation____x40_Lean_Data_Lsp_Diagnostics___hyg_656_(x_7); +lean_dec(x_7); +x_11 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_10, x_4); +if (lean_obj_tag(x_11) == 0) +{ +uint8_t x_12; +lean_dec(x_9); +x_12 = !lean_is_exclusive(x_11); +if (x_12 == 0) +{ +return x_11; +} +else +{ +lean_object* x_13; lean_object* x_14; +x_13 = lean_ctor_get(x_11, 0); +lean_inc(x_13); +lean_dec(x_11); +x_14 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_14, 0, x_13); +return x_14; +} +} +else +{ +lean_object* x_15; size_t x_16; size_t x_17; lean_object* x_18; +x_15 = lean_ctor_get(x_11, 0); +lean_inc(x_15); +lean_dec(x_11); +x_16 = 1; +x_17 = lean_usize_add(x_2, x_16); +x_18 = lean_array_uset(x_9, x_2, x_15); +x_2 = x_17; +x_3 = x_18; +goto _start; +} +} +} +} +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(lean_object* x_1, lean_object* x_2) { +_start: +{ +if (lean_obj_tag(x_1) == 0) +{ +uint8_t x_3; +x_3 = !lean_is_exclusive(x_1); +if (x_3 == 0) +{ +return x_1; +} +else +{ +lean_object* x_4; lean_object* x_5; +x_4 = lean_ctor_get(x_1, 0); +lean_inc(x_4); +lean_dec(x_1); +x_5 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_5, 0, x_4); +return x_5; +} +} +else +{ +uint8_t x_6; +x_6 = !lean_is_exclusive(x_1); +if (x_6 == 0) +{ +return x_1; +} +else +{ +lean_object* x_7; lean_object* x_8; +x_7 = lean_ctor_get(x_1, 0); +lean_inc(x_7); +lean_dec(x_1); +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_7); +return x_8; +} +} +} +} +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__1() { _start: { lean_object* x_1; @@ -5161,17 +5473,17 @@ x_1 = lean_mk_string_from_bytes("unknown DiagnosticTag", 21); return x_1; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__2() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__2() { _start: { lean_object* x_1; lean_object* x_2; -x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__1; +x_1 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__1; x_2 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_2, 0, x_1); return x_2; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__3() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__3() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -5182,7 +5494,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__4() { +static lean_object* _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__4() { _start: { uint8_t x_1; lean_object* x_2; lean_object* x_3; @@ -5193,7 +5505,7 @@ lean_ctor_set(x_3, 0, x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(size_t x_1, size_t x_2, lean_object* x_3, lean_object* x_4) { _start: { uint8_t x_5; @@ -5217,8 +5529,8 @@ if (lean_obj_tag(x_10) == 0) { lean_object* x_11; lean_object* x_12; lean_dec(x_10); -x_11 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__2; -x_12 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_11, x_4); +x_11 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__2; +x_12 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_11, x_4); if (lean_obj_tag(x_12) == 0) { uint8_t x_13; @@ -5270,8 +5582,8 @@ lean_dec(x_21); if (x_25 == 0) { lean_object* x_26; lean_object* x_27; -x_26 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__2; -x_27 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_26, x_4); +x_26 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__2; +x_27 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_26, x_4); if (lean_obj_tag(x_27) == 0) { uint8_t x_28; @@ -5309,8 +5621,8 @@ goto _start; else { lean_object* x_36; lean_object* x_37; -x_36 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__3; -x_37 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_36, x_4); +x_36 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__3; +x_37 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_36, x_4); if (lean_obj_tag(x_37) == 0) { uint8_t x_38; @@ -5350,8 +5662,8 @@ else { lean_object* x_46; lean_object* x_47; lean_dec(x_21); -x_46 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__4; -x_47 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_46, x_4); +x_46 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__4; +x_47 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_46, x_4); if (lean_obj_tag(x_47) == 0) { uint8_t x_48; @@ -5390,7 +5702,7 @@ goto _start; } } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5433,7 +5745,7 @@ return x_8; } } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(lean_object* x_1, lean_object* x_2) { _start: { if (lean_obj_tag(x_1) == 0) @@ -5539,1313 +5851,270 @@ return x_3; LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { -lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; -x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612_(x_2); +lean_object* x_4; lean_object* x_5; lean_object* x_6; lean_object* x_7; lean_object* x_8; lean_object* x_9; +x_4 = l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622_(x_2); x_5 = lean_ctor_get(x_4, 0); lean_inc(x_5); -lean_dec(x_4); -x_6 = lean_ctor_get(x_5, 0); -lean_inc(x_6); -x_7 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709_(x_6); -lean_dec(x_6); -x_8 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1837____spec__1(x_7, x_3); -if (lean_obj_tag(x_8) == 0) -{ -uint8_t x_9; -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_9 = !lean_is_exclusive(x_8); -if (x_9 == 0) -{ -return x_8; -} -else -{ -lean_object* x_10; lean_object* x_11; -x_10 = lean_ctor_get(x_8, 0); -lean_inc(x_10); -lean_dec(x_8); -x_11 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_11, 0, x_10); -return x_11; -} -} -else -{ -uint8_t x_12; -x_12 = !lean_is_exclusive(x_8); -if (x_12 == 0) -{ -lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_16; -x_13 = lean_ctor_get(x_8, 0); -x_14 = lean_ctor_get(x_5, 1); -lean_inc(x_14); -x_15 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709_(x_14); -lean_dec(x_14); -x_16 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1837____spec__1(x_15, x_3); -if (lean_obj_tag(x_16) == 0) -{ -uint8_t x_17; -lean_free_object(x_8); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_17 = !lean_is_exclusive(x_16); -if (x_17 == 0) -{ -return x_16; -} -else -{ -lean_object* x_18; lean_object* x_19; -x_18 = lean_ctor_get(x_16, 0); -lean_inc(x_18); -lean_dec(x_16); -x_19 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_19, 0, x_18); -return x_19; -} -} -else -{ -lean_object* x_20; lean_object* x_21; lean_object* x_22; lean_object* x_677; -x_20 = lean_ctor_get(x_16, 0); -lean_inc(x_20); -if (lean_is_exclusive(x_16)) { - lean_ctor_release(x_16, 0); - x_21 = x_16; +if (lean_is_exclusive(x_4)) { + lean_ctor_release(x_4, 0); + x_6 = x_4; } else { - lean_dec_ref(x_16); - x_21 = lean_box(0); + lean_dec_ref(x_4); + x_6 = lean_box(0); } -x_677 = lean_ctor_get(x_5, 2); -lean_inc(x_677); -if (lean_obj_tag(x_677) == 0) +x_7 = lean_ctor_get(x_5, 0); +lean_inc(x_7); +x_8 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709_(x_7); +lean_dec(x_7); +x_9 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1837____spec__1(x_8, x_3); +if (lean_obj_tag(x_9) == 0) { -lean_object* x_678; lean_object* x_679; lean_object* x_1274; lean_object* x_1281; -lean_dec(x_21); -x_678 = lean_box(0); -x_1281 = lean_ctor_get(x_5, 3); -lean_inc(x_1281); -if (lean_obj_tag(x_1281) == 0) +uint8_t x_10; +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_10 = !lean_is_exclusive(x_9); +if (x_10 == 0) { -lean_free_object(x_8); -x_679 = x_678; -goto block_1273; +return x_9; } else { -lean_object* x_1282; -x_1282 = lean_ctor_get(x_1281, 0); -lean_inc(x_1282); -lean_dec(x_1281); -switch (lean_obj_tag(x_1282)) { +lean_object* x_11; lean_object* x_12; +x_11 = lean_ctor_get(x_9, 0); +lean_inc(x_11); +lean_dec(x_9); +x_12 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_12, 0, x_11); +return x_12; +} +} +else +{ +lean_object* x_13; lean_object* x_14; lean_object* x_15; lean_object* x_2007; +x_13 = lean_ctor_get(x_9, 0); +lean_inc(x_13); +if (lean_is_exclusive(x_9)) { + lean_ctor_release(x_9, 0); + x_14 = x_9; +} else { + lean_dec_ref(x_9); + x_14 = lean_box(0); +} +x_2007 = lean_ctor_get(x_5, 1); +lean_inc(x_2007); +if (lean_obj_tag(x_2007) == 0) +{ +lean_object* x_2008; +x_2008 = lean_box(0); +x_15 = x_2008; +goto block_2006; +} +else +{ +uint8_t x_2009; +x_2009 = !lean_is_exclusive(x_2007); +if (x_2009 == 0) +{ +lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; +x_2010 = lean_ctor_get(x_2007, 0); +x_2011 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709_(x_2010); +lean_dec(x_2010); +x_2012 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1837____spec__1(x_2011, x_3); +if (lean_obj_tag(x_2012) == 0) +{ +uint8_t x_2013; +lean_free_object(x_2007); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2013 = !lean_is_exclusive(x_2012); +if (x_2013 == 0) +{ +return x_2012; +} +else +{ +lean_object* x_2014; lean_object* x_2015; +x_2014 = lean_ctor_get(x_2012, 0); +lean_inc(x_2014); +lean_dec(x_2012); +x_2015 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_2015, 0, x_2014); +return x_2015; +} +} +else +{ +lean_object* x_2016; +x_2016 = lean_ctor_get(x_2012, 0); +lean_inc(x_2016); +lean_dec(x_2012); +lean_ctor_set(x_2007, 0, x_2016); +x_15 = x_2007; +goto block_2006; +} +} +else +{ +lean_object* x_2017; lean_object* x_2018; lean_object* x_2019; +x_2017 = lean_ctor_get(x_2007, 0); +lean_inc(x_2017); +lean_dec(x_2007); +x_2018 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709_(x_2017); +lean_dec(x_2017); +x_2019 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1837____spec__1(x_2018, x_3); +if (lean_obj_tag(x_2019) == 0) +{ +lean_object* x_2020; lean_object* x_2021; lean_object* x_2022; +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2020 = lean_ctor_get(x_2019, 0); +lean_inc(x_2020); +if (lean_is_exclusive(x_2019)) { + lean_ctor_release(x_2019, 0); + x_2021 = x_2019; +} else { + lean_dec_ref(x_2019); + x_2021 = lean_box(0); +} +if (lean_is_scalar(x_2021)) { + x_2022 = lean_alloc_ctor(0, 1, 0); +} else { + x_2022 = x_2021; +} +lean_ctor_set(x_2022, 0, x_2020); +return x_2022; +} +else +{ +lean_object* x_2023; lean_object* x_2024; +x_2023 = lean_ctor_get(x_2019, 0); +lean_inc(x_2023); +lean_dec(x_2019); +x_2024 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2024, 0, x_2023); +x_15 = x_2024; +goto block_2006; +} +} +} +block_2006: +{ +lean_object* x_16; lean_object* x_926; +x_926 = lean_ctor_get(x_5, 2); +lean_inc(x_926); +if (lean_obj_tag(x_926) == 0) +{ +lean_object* x_927; lean_object* x_928; lean_object* x_1784; lean_object* x_1791; +lean_dec(x_14); +lean_dec(x_6); +x_927 = lean_box(0); +x_1791 = lean_ctor_get(x_5, 3); +lean_inc(x_1791); +if (lean_obj_tag(x_1791) == 0) +{ +x_928 = x_927; +goto block_1783; +} +else +{ +lean_object* x_1792; +x_1792 = lean_ctor_get(x_1791, 0); +lean_inc(x_1792); +lean_dec(x_1791); +switch (lean_obj_tag(x_1792)) { case 2: { -lean_object* x_1283; lean_object* x_1284; lean_object* x_1285; lean_object* x_1286; uint8_t x_1287; -x_1283 = lean_ctor_get(x_1282, 0); -lean_inc(x_1283); -x_1284 = lean_ctor_get(x_1283, 0); -lean_inc(x_1284); -x_1285 = lean_ctor_get(x_1283, 1); -lean_inc(x_1285); -lean_dec(x_1283); -x_1286 = lean_unsigned_to_nat(0u); -x_1287 = lean_nat_dec_eq(x_1285, x_1286); -lean_dec(x_1285); -if (x_1287 == 0) +lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; lean_object* x_1796; uint8_t x_1797; +x_1793 = lean_ctor_get(x_1792, 0); +lean_inc(x_1793); +x_1794 = lean_ctor_get(x_1793, 0); +lean_inc(x_1794); +x_1795 = lean_ctor_get(x_1793, 1); +lean_inc(x_1795); +lean_dec(x_1793); +x_1796 = lean_unsigned_to_nat(0u); +x_1797 = lean_nat_dec_eq(x_1795, x_1796); +lean_dec(x_1795); +if (x_1797 == 0) { -lean_object* x_1288; lean_object* x_1289; lean_object* x_1290; lean_object* x_1291; lean_object* x_1292; lean_object* x_1293; lean_object* x_1294; -lean_dec(x_1284); -x_1288 = lean_unsigned_to_nat(80u); -x_1289 = l_Lean_Json_pretty(x_1282, x_1288); -x_1290 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_1291 = lean_string_append(x_1290, x_1289); -lean_dec(x_1289); -x_1292 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1293 = lean_string_append(x_1291, x_1292); -lean_ctor_set_tag(x_8, 0); -lean_ctor_set(x_8, 0, x_1293); -x_1294 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_8, x_3); -x_1274 = x_1294; -goto block_1280; +lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; lean_object* x_1805; +lean_dec(x_1794); +x_1798 = lean_unsigned_to_nat(80u); +x_1799 = l_Lean_Json_pretty(x_1792, x_1798); +x_1800 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; +x_1801 = lean_string_append(x_1800, x_1799); +lean_dec(x_1799); +x_1802 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1803 = lean_string_append(x_1801, x_1802); +x_1804 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1804, 0, x_1803); +x_1805 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1804, x_3); +x_1784 = x_1805; +goto block_1790; } else { -lean_object* x_1295; lean_object* x_1296; -lean_dec(x_1282); -x_1295 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1295, 0, x_1284); -lean_ctor_set(x_8, 0, x_1295); -x_1296 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_8, x_3); -x_1274 = x_1296; -goto block_1280; +lean_object* x_1806; lean_object* x_1807; lean_object* x_1808; +lean_dec(x_1792); +x_1806 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1806, 0, x_1794); +x_1807 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1807, 0, x_1806); +x_1808 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1807, x_3); +x_1784 = x_1808; +goto block_1790; } } case 3: { -lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; -x_1297 = lean_ctor_get(x_1282, 0); -lean_inc(x_1297); -lean_dec(x_1282); -x_1298 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1298, 0, x_1297); -lean_ctor_set(x_8, 0, x_1298); -x_1299 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_8, x_3); -x_1274 = x_1299; -goto block_1280; +lean_object* x_1809; lean_object* x_1810; lean_object* x_1811; lean_object* x_1812; +x_1809 = lean_ctor_get(x_1792, 0); +lean_inc(x_1809); +lean_dec(x_1792); +x_1810 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1810, 0, x_1809); +x_1811 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1811, 0, x_1810); +x_1812 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1811, x_3); +x_1784 = x_1812; +goto block_1790; } default: { -lean_object* x_1300; lean_object* x_1301; lean_object* x_1302; lean_object* x_1303; lean_object* x_1304; lean_object* x_1305; lean_object* x_1306; -x_1300 = lean_unsigned_to_nat(80u); -x_1301 = l_Lean_Json_pretty(x_1282, x_1300); -x_1302 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_1303 = lean_string_append(x_1302, x_1301); -lean_dec(x_1301); -x_1304 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1305 = lean_string_append(x_1303, x_1304); -lean_ctor_set_tag(x_8, 0); -lean_ctor_set(x_8, 0, x_1305); -x_1306 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_8, x_3); -x_1274 = x_1306; -goto block_1280; -} -} -} -block_1273: -{ -lean_object* x_680; -x_680 = lean_ctor_get(x_5, 4); -lean_inc(x_680); -if (lean_obj_tag(x_680) == 0) -{ -lean_object* x_681; lean_object* x_682; lean_object* x_683; -x_681 = lean_ctor_get(x_1, 1); -lean_inc(x_681); -lean_dec(x_1); -x_682 = lean_ctor_get(x_5, 5); -lean_inc(x_682); -lean_inc(x_3); -x_683 = lean_apply_2(x_681, x_682, x_3); -if (lean_obj_tag(x_683) == 0) -{ -uint8_t x_684; -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_684 = !lean_is_exclusive(x_683); -if (x_684 == 0) -{ -return x_683; -} -else -{ -lean_object* x_685; lean_object* x_686; -x_685 = lean_ctor_get(x_683, 0); -lean_inc(x_685); -lean_dec(x_683); -x_686 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_686, 0, x_685); -return x_686; -} -} -else -{ -lean_object* x_687; -x_687 = lean_ctor_get(x_5, 6); -lean_inc(x_687); -if (lean_obj_tag(x_687) == 0) -{ -lean_object* x_688; -x_688 = lean_ctor_get(x_5, 7); -lean_inc(x_688); -lean_dec(x_5); -if (lean_obj_tag(x_688) == 0) -{ -uint8_t x_689; -lean_dec(x_3); -x_689 = !lean_is_exclusive(x_683); -if (x_689 == 0) -{ -lean_object* x_690; lean_object* x_691; -x_690 = lean_ctor_get(x_683, 0); -x_691 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_691, 0, x_13); -lean_ctor_set(x_691, 1, x_20); -lean_ctor_set(x_691, 2, x_678); -lean_ctor_set(x_691, 3, x_679); -lean_ctor_set(x_691, 4, x_678); -lean_ctor_set(x_691, 5, x_690); -lean_ctor_set(x_691, 6, x_678); -lean_ctor_set(x_691, 7, x_678); -lean_ctor_set(x_683, 0, x_691); -return x_683; -} -else -{ -lean_object* x_692; lean_object* x_693; lean_object* x_694; -x_692 = lean_ctor_get(x_683, 0); -lean_inc(x_692); -lean_dec(x_683); -x_693 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_693, 0, x_13); -lean_ctor_set(x_693, 1, x_20); -lean_ctor_set(x_693, 2, x_678); -lean_ctor_set(x_693, 3, x_679); -lean_ctor_set(x_693, 4, x_678); -lean_ctor_set(x_693, 5, x_692); -lean_ctor_set(x_693, 6, x_678); -lean_ctor_set(x_693, 7, x_678); -x_694 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_694, 0, x_693); -return x_694; -} -} -else -{ -uint8_t x_695; -x_695 = !lean_is_exclusive(x_688); -if (x_695 == 0) -{ -lean_object* x_696; -x_696 = lean_ctor_get(x_688, 0); -if (lean_obj_tag(x_696) == 4) -{ -lean_object* x_697; lean_object* x_698; lean_object* x_699; size_t x_700; size_t x_701; lean_object* x_702; lean_object* x_703; lean_object* x_704; size_t x_705; lean_object* x_706; -x_697 = lean_ctor_get(x_683, 0); -lean_inc(x_697); -lean_dec(x_683); -x_698 = lean_ctor_get(x_696, 0); -lean_inc(x_698); -lean_dec(x_696); -x_699 = lean_array_get_size(x_698); -x_700 = lean_usize_of_nat(x_699); -lean_dec(x_699); -x_701 = 0; -x_702 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_700, x_701, x_698); -x_703 = lean_ctor_get(x_702, 0); -lean_inc(x_703); -lean_dec(x_702); -x_704 = lean_array_get_size(x_703); -x_705 = lean_usize_of_nat(x_704); -lean_dec(x_704); -x_706 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_705, x_701, x_703, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_706) == 0) -{ -uint8_t x_707; -lean_dec(x_697); -lean_free_object(x_688); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_707 = !lean_is_exclusive(x_706); -if (x_707 == 0) -{ -return x_706; -} -else -{ -lean_object* x_708; lean_object* x_709; -x_708 = lean_ctor_get(x_706, 0); -lean_inc(x_708); -lean_dec(x_706); -x_709 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_709, 0, x_708); -return x_709; -} -} -else -{ -uint8_t x_710; -x_710 = !lean_is_exclusive(x_706); -if (x_710 == 0) -{ -lean_object* x_711; lean_object* x_712; -x_711 = lean_ctor_get(x_706, 0); -lean_ctor_set(x_688, 0, x_711); -x_712 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_712, 0, x_13); -lean_ctor_set(x_712, 1, x_20); -lean_ctor_set(x_712, 2, x_678); -lean_ctor_set(x_712, 3, x_679); -lean_ctor_set(x_712, 4, x_678); -lean_ctor_set(x_712, 5, x_697); -lean_ctor_set(x_712, 6, x_678); -lean_ctor_set(x_712, 7, x_688); -lean_ctor_set(x_706, 0, x_712); -return x_706; -} -else -{ -lean_object* x_713; lean_object* x_714; lean_object* x_715; -x_713 = lean_ctor_get(x_706, 0); -lean_inc(x_713); -lean_dec(x_706); -lean_ctor_set(x_688, 0, x_713); -x_714 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_714, 0, x_13); -lean_ctor_set(x_714, 1, x_20); -lean_ctor_set(x_714, 2, x_678); -lean_ctor_set(x_714, 3, x_679); -lean_ctor_set(x_714, 4, x_678); -lean_ctor_set(x_714, 5, x_697); -lean_ctor_set(x_714, 6, x_678); -lean_ctor_set(x_714, 7, x_688); -x_715 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_715, 0, x_714); -return x_715; -} -} -} -else -{ -uint8_t x_716; -lean_free_object(x_688); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_716 = !lean_is_exclusive(x_683); -if (x_716 == 0) -{ -lean_object* x_717; lean_object* x_718; lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; -x_717 = lean_ctor_get(x_683, 0); -lean_dec(x_717); -x_718 = lean_unsigned_to_nat(80u); -x_719 = l_Lean_Json_pretty(x_696, x_718); -x_720 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_721 = lean_string_append(x_720, x_719); -lean_dec(x_719); -x_722 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_723 = lean_string_append(x_721, x_722); -lean_ctor_set_tag(x_683, 0); -lean_ctor_set(x_683, 0, x_723); -return x_683; -} -else -{ -lean_object* x_724; lean_object* x_725; lean_object* x_726; lean_object* x_727; lean_object* x_728; lean_object* x_729; lean_object* x_730; -lean_dec(x_683); -x_724 = lean_unsigned_to_nat(80u); -x_725 = l_Lean_Json_pretty(x_696, x_724); -x_726 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_727 = lean_string_append(x_726, x_725); -lean_dec(x_725); -x_728 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_729 = lean_string_append(x_727, x_728); -x_730 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_730, 0, x_729); -return x_730; -} -} -} -else -{ -lean_object* x_731; -x_731 = lean_ctor_get(x_688, 0); -lean_inc(x_731); -lean_dec(x_688); -if (lean_obj_tag(x_731) == 4) -{ -lean_object* x_732; lean_object* x_733; lean_object* x_734; size_t x_735; size_t x_736; lean_object* x_737; lean_object* x_738; lean_object* x_739; size_t x_740; lean_object* x_741; -x_732 = lean_ctor_get(x_683, 0); -lean_inc(x_732); -lean_dec(x_683); -x_733 = lean_ctor_get(x_731, 0); -lean_inc(x_733); -lean_dec(x_731); -x_734 = lean_array_get_size(x_733); -x_735 = lean_usize_of_nat(x_734); -lean_dec(x_734); -x_736 = 0; -x_737 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_735, x_736, x_733); -x_738 = lean_ctor_get(x_737, 0); -lean_inc(x_738); -lean_dec(x_737); -x_739 = lean_array_get_size(x_738); -x_740 = lean_usize_of_nat(x_739); -lean_dec(x_739); -x_741 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_740, x_736, x_738, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_741) == 0) -{ -lean_object* x_742; lean_object* x_743; lean_object* x_744; -lean_dec(x_732); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_742 = lean_ctor_get(x_741, 0); -lean_inc(x_742); -if (lean_is_exclusive(x_741)) { - lean_ctor_release(x_741, 0); - x_743 = x_741; -} else { - lean_dec_ref(x_741); - x_743 = lean_box(0); -} -if (lean_is_scalar(x_743)) { - x_744 = lean_alloc_ctor(0, 1, 0); -} else { - x_744 = x_743; -} -lean_ctor_set(x_744, 0, x_742); -return x_744; -} -else -{ -lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; lean_object* x_749; -x_745 = lean_ctor_get(x_741, 0); -lean_inc(x_745); -if (lean_is_exclusive(x_741)) { - lean_ctor_release(x_741, 0); - x_746 = x_741; -} else { - lean_dec_ref(x_741); - x_746 = lean_box(0); -} -x_747 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_747, 0, x_745); -x_748 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_748, 0, x_13); -lean_ctor_set(x_748, 1, x_20); -lean_ctor_set(x_748, 2, x_678); -lean_ctor_set(x_748, 3, x_679); -lean_ctor_set(x_748, 4, x_678); -lean_ctor_set(x_748, 5, x_732); -lean_ctor_set(x_748, 6, x_678); -lean_ctor_set(x_748, 7, x_747); -if (lean_is_scalar(x_746)) { - x_749 = lean_alloc_ctor(1, 1, 0); -} else { - x_749 = x_746; -} -lean_ctor_set(x_749, 0, x_748); -return x_749; -} -} -else -{ -lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; lean_object* x_757; -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - x_750 = x_683; -} else { - lean_dec_ref(x_683); - x_750 = lean_box(0); -} -x_751 = lean_unsigned_to_nat(80u); -x_752 = l_Lean_Json_pretty(x_731, x_751); -x_753 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_754 = lean_string_append(x_753, x_752); -lean_dec(x_752); -x_755 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_756 = lean_string_append(x_754, x_755); -if (lean_is_scalar(x_750)) { - x_757 = lean_alloc_ctor(0, 1, 0); -} else { - x_757 = x_750; - lean_ctor_set_tag(x_757, 0); -} -lean_ctor_set(x_757, 0, x_756); -return x_757; -} -} -} -} -else -{ -uint8_t x_758; -x_758 = !lean_is_exclusive(x_687); -if (x_758 == 0) -{ -lean_object* x_759; -x_759 = lean_ctor_get(x_687, 0); -if (lean_obj_tag(x_759) == 4) -{ -lean_object* x_760; lean_object* x_761; lean_object* x_762; size_t x_763; size_t x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; size_t x_768; lean_object* x_769; -x_760 = lean_ctor_get(x_683, 0); -lean_inc(x_760); -lean_dec(x_683); -x_761 = lean_ctor_get(x_759, 0); -lean_inc(x_761); -lean_dec(x_759); -x_762 = lean_array_get_size(x_761); -x_763 = lean_usize_of_nat(x_762); -lean_dec(x_762); -x_764 = 0; -x_765 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_763, x_764, x_761); -x_766 = lean_ctor_get(x_765, 0); -lean_inc(x_766); -lean_dec(x_765); -x_767 = lean_array_get_size(x_766); -x_768 = lean_usize_of_nat(x_767); -lean_dec(x_767); -x_769 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_768, x_764, x_766, x_3); -if (lean_obj_tag(x_769) == 0) -{ -uint8_t x_770; -lean_dec(x_760); -lean_free_object(x_687); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_770 = !lean_is_exclusive(x_769); -if (x_770 == 0) -{ -return x_769; -} -else -{ -lean_object* x_771; lean_object* x_772; -x_771 = lean_ctor_get(x_769, 0); -lean_inc(x_771); -lean_dec(x_769); -x_772 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_772, 0, x_771); -return x_772; -} -} -else -{ -uint8_t x_773; -x_773 = !lean_is_exclusive(x_769); -if (x_773 == 0) -{ -lean_object* x_774; lean_object* x_775; -x_774 = lean_ctor_get(x_769, 0); -lean_ctor_set(x_687, 0, x_774); -x_775 = lean_ctor_get(x_5, 7); -lean_inc(x_775); -lean_dec(x_5); -if (lean_obj_tag(x_775) == 0) -{ -lean_object* x_776; -lean_dec(x_3); -x_776 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_776, 0, x_13); -lean_ctor_set(x_776, 1, x_20); -lean_ctor_set(x_776, 2, x_678); -lean_ctor_set(x_776, 3, x_679); -lean_ctor_set(x_776, 4, x_678); -lean_ctor_set(x_776, 5, x_760); -lean_ctor_set(x_776, 6, x_687); -lean_ctor_set(x_776, 7, x_678); -lean_ctor_set(x_769, 0, x_776); -return x_769; -} -else -{ -uint8_t x_777; -x_777 = !lean_is_exclusive(x_775); -if (x_777 == 0) -{ -lean_object* x_778; -x_778 = lean_ctor_get(x_775, 0); -if (lean_obj_tag(x_778) == 4) -{ -lean_object* x_779; lean_object* x_780; size_t x_781; lean_object* x_782; lean_object* x_783; lean_object* x_784; size_t x_785; lean_object* x_786; -lean_free_object(x_769); -x_779 = lean_ctor_get(x_778, 0); -lean_inc(x_779); -lean_dec(x_778); -x_780 = lean_array_get_size(x_779); -x_781 = lean_usize_of_nat(x_780); -lean_dec(x_780); -x_782 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_781, x_764, x_779); -x_783 = lean_ctor_get(x_782, 0); -lean_inc(x_783); -lean_dec(x_782); -x_784 = lean_array_get_size(x_783); -x_785 = lean_usize_of_nat(x_784); -lean_dec(x_784); -x_786 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_785, x_764, x_783, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_786) == 0) -{ -uint8_t x_787; -lean_free_object(x_775); -lean_dec(x_687); -lean_dec(x_760); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_787 = !lean_is_exclusive(x_786); -if (x_787 == 0) -{ -return x_786; -} -else -{ -lean_object* x_788; lean_object* x_789; -x_788 = lean_ctor_get(x_786, 0); -lean_inc(x_788); -lean_dec(x_786); -x_789 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_789, 0, x_788); -return x_789; -} -} -else -{ -uint8_t x_790; -x_790 = !lean_is_exclusive(x_786); -if (x_790 == 0) -{ -lean_object* x_791; lean_object* x_792; -x_791 = lean_ctor_get(x_786, 0); -lean_ctor_set(x_775, 0, x_791); -x_792 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_792, 0, x_13); -lean_ctor_set(x_792, 1, x_20); -lean_ctor_set(x_792, 2, x_678); -lean_ctor_set(x_792, 3, x_679); -lean_ctor_set(x_792, 4, x_678); -lean_ctor_set(x_792, 5, x_760); -lean_ctor_set(x_792, 6, x_687); -lean_ctor_set(x_792, 7, x_775); -lean_ctor_set(x_786, 0, x_792); -return x_786; -} -else -{ -lean_object* x_793; lean_object* x_794; lean_object* x_795; -x_793 = lean_ctor_get(x_786, 0); -lean_inc(x_793); -lean_dec(x_786); -lean_ctor_set(x_775, 0, x_793); -x_794 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_794, 0, x_13); -lean_ctor_set(x_794, 1, x_20); -lean_ctor_set(x_794, 2, x_678); -lean_ctor_set(x_794, 3, x_679); -lean_ctor_set(x_794, 4, x_678); -lean_ctor_set(x_794, 5, x_760); -lean_ctor_set(x_794, 6, x_687); -lean_ctor_set(x_794, 7, x_775); -x_795 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_795, 0, x_794); -return x_795; -} -} -} -else -{ -lean_object* x_796; lean_object* x_797; lean_object* x_798; lean_object* x_799; lean_object* x_800; lean_object* x_801; -lean_free_object(x_775); -lean_dec(x_687); -lean_dec(x_760); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_796 = lean_unsigned_to_nat(80u); -x_797 = l_Lean_Json_pretty(x_778, x_796); -x_798 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_799 = lean_string_append(x_798, x_797); -lean_dec(x_797); -x_800 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_801 = lean_string_append(x_799, x_800); -lean_ctor_set_tag(x_769, 0); -lean_ctor_set(x_769, 0, x_801); -return x_769; -} -} -else -{ -lean_object* x_802; -x_802 = lean_ctor_get(x_775, 0); -lean_inc(x_802); -lean_dec(x_775); -if (lean_obj_tag(x_802) == 4) -{ -lean_object* x_803; lean_object* x_804; size_t x_805; lean_object* x_806; lean_object* x_807; lean_object* x_808; size_t x_809; lean_object* x_810; -lean_free_object(x_769); -x_803 = lean_ctor_get(x_802, 0); -lean_inc(x_803); -lean_dec(x_802); -x_804 = lean_array_get_size(x_803); -x_805 = lean_usize_of_nat(x_804); -lean_dec(x_804); -x_806 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_805, x_764, x_803); -x_807 = lean_ctor_get(x_806, 0); -lean_inc(x_807); -lean_dec(x_806); -x_808 = lean_array_get_size(x_807); -x_809 = lean_usize_of_nat(x_808); -lean_dec(x_808); -x_810 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_809, x_764, x_807, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_810) == 0) -{ -lean_object* x_811; lean_object* x_812; lean_object* x_813; -lean_dec(x_687); -lean_dec(x_760); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_811 = lean_ctor_get(x_810, 0); -lean_inc(x_811); -if (lean_is_exclusive(x_810)) { - lean_ctor_release(x_810, 0); - x_812 = x_810; -} else { - lean_dec_ref(x_810); - x_812 = lean_box(0); -} -if (lean_is_scalar(x_812)) { - x_813 = lean_alloc_ctor(0, 1, 0); -} else { - x_813 = x_812; -} -lean_ctor_set(x_813, 0, x_811); -return x_813; -} -else -{ -lean_object* x_814; lean_object* x_815; lean_object* x_816; lean_object* x_817; lean_object* x_818; -x_814 = lean_ctor_get(x_810, 0); -lean_inc(x_814); -if (lean_is_exclusive(x_810)) { - lean_ctor_release(x_810, 0); - x_815 = x_810; -} else { - lean_dec_ref(x_810); - x_815 = lean_box(0); -} -x_816 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_816, 0, x_814); -x_817 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_817, 0, x_13); -lean_ctor_set(x_817, 1, x_20); -lean_ctor_set(x_817, 2, x_678); -lean_ctor_set(x_817, 3, x_679); -lean_ctor_set(x_817, 4, x_678); -lean_ctor_set(x_817, 5, x_760); -lean_ctor_set(x_817, 6, x_687); -lean_ctor_set(x_817, 7, x_816); -if (lean_is_scalar(x_815)) { - x_818 = lean_alloc_ctor(1, 1, 0); -} else { - x_818 = x_815; -} -lean_ctor_set(x_818, 0, x_817); -return x_818; -} -} -else -{ -lean_object* x_819; lean_object* x_820; lean_object* x_821; lean_object* x_822; lean_object* x_823; lean_object* x_824; -lean_dec(x_687); -lean_dec(x_760); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_819 = lean_unsigned_to_nat(80u); -x_820 = l_Lean_Json_pretty(x_802, x_819); -x_821 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_822 = lean_string_append(x_821, x_820); -lean_dec(x_820); -x_823 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_824 = lean_string_append(x_822, x_823); -lean_ctor_set_tag(x_769, 0); -lean_ctor_set(x_769, 0, x_824); -return x_769; -} -} -} -} -else -{ -lean_object* x_825; lean_object* x_826; -x_825 = lean_ctor_get(x_769, 0); -lean_inc(x_825); -lean_dec(x_769); -lean_ctor_set(x_687, 0, x_825); -x_826 = lean_ctor_get(x_5, 7); -lean_inc(x_826); -lean_dec(x_5); -if (lean_obj_tag(x_826) == 0) -{ -lean_object* x_827; lean_object* x_828; -lean_dec(x_3); -x_827 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_827, 0, x_13); -lean_ctor_set(x_827, 1, x_20); -lean_ctor_set(x_827, 2, x_678); -lean_ctor_set(x_827, 3, x_679); -lean_ctor_set(x_827, 4, x_678); -lean_ctor_set(x_827, 5, x_760); -lean_ctor_set(x_827, 6, x_687); -lean_ctor_set(x_827, 7, x_678); -x_828 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_828, 0, x_827); -return x_828; -} -else -{ -lean_object* x_829; lean_object* x_830; -x_829 = lean_ctor_get(x_826, 0); -lean_inc(x_829); -if (lean_is_exclusive(x_826)) { - lean_ctor_release(x_826, 0); - x_830 = x_826; -} else { - lean_dec_ref(x_826); - x_830 = lean_box(0); -} -if (lean_obj_tag(x_829) == 4) -{ -lean_object* x_831; lean_object* x_832; size_t x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; size_t x_837; lean_object* x_838; -x_831 = lean_ctor_get(x_829, 0); -lean_inc(x_831); -lean_dec(x_829); -x_832 = lean_array_get_size(x_831); -x_833 = lean_usize_of_nat(x_832); -lean_dec(x_832); -x_834 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_833, x_764, x_831); -x_835 = lean_ctor_get(x_834, 0); -lean_inc(x_835); -lean_dec(x_834); -x_836 = lean_array_get_size(x_835); -x_837 = lean_usize_of_nat(x_836); -lean_dec(x_836); -x_838 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_837, x_764, x_835, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_838) == 0) -{ -lean_object* x_839; lean_object* x_840; lean_object* x_841; -lean_dec(x_830); -lean_dec(x_687); -lean_dec(x_760); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_839 = lean_ctor_get(x_838, 0); -lean_inc(x_839); -if (lean_is_exclusive(x_838)) { - lean_ctor_release(x_838, 0); - x_840 = x_838; -} else { - lean_dec_ref(x_838); - x_840 = lean_box(0); -} -if (lean_is_scalar(x_840)) { - x_841 = lean_alloc_ctor(0, 1, 0); -} else { - x_841 = x_840; -} -lean_ctor_set(x_841, 0, x_839); -return x_841; -} -else -{ -lean_object* x_842; lean_object* x_843; lean_object* x_844; lean_object* x_845; lean_object* x_846; -x_842 = lean_ctor_get(x_838, 0); -lean_inc(x_842); -if (lean_is_exclusive(x_838)) { - lean_ctor_release(x_838, 0); - x_843 = x_838; -} else { - lean_dec_ref(x_838); - x_843 = lean_box(0); -} -if (lean_is_scalar(x_830)) { - x_844 = lean_alloc_ctor(1, 1, 0); -} else { - x_844 = x_830; -} -lean_ctor_set(x_844, 0, x_842); -x_845 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_845, 0, x_13); -lean_ctor_set(x_845, 1, x_20); -lean_ctor_set(x_845, 2, x_678); -lean_ctor_set(x_845, 3, x_679); -lean_ctor_set(x_845, 4, x_678); -lean_ctor_set(x_845, 5, x_760); -lean_ctor_set(x_845, 6, x_687); -lean_ctor_set(x_845, 7, x_844); -if (lean_is_scalar(x_843)) { - x_846 = lean_alloc_ctor(1, 1, 0); -} else { - x_846 = x_843; -} -lean_ctor_set(x_846, 0, x_845); -return x_846; -} -} -else -{ -lean_object* x_847; lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; lean_object* x_853; -lean_dec(x_830); -lean_dec(x_687); -lean_dec(x_760); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_847 = lean_unsigned_to_nat(80u); -x_848 = l_Lean_Json_pretty(x_829, x_847); -x_849 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_850 = lean_string_append(x_849, x_848); -lean_dec(x_848); -x_851 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_852 = lean_string_append(x_850, x_851); -x_853 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_853, 0, x_852); -return x_853; -} -} -} -} -} -else -{ -uint8_t x_854; -lean_free_object(x_687); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_854 = !lean_is_exclusive(x_683); -if (x_854 == 0) -{ -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; -x_855 = lean_ctor_get(x_683, 0); -lean_dec(x_855); -x_856 = lean_unsigned_to_nat(80u); -x_857 = l_Lean_Json_pretty(x_759, x_856); -x_858 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_859 = lean_string_append(x_858, x_857); -lean_dec(x_857); -x_860 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_861 = lean_string_append(x_859, x_860); -lean_ctor_set_tag(x_683, 0); -lean_ctor_set(x_683, 0, x_861); -return x_683; -} -else -{ -lean_object* x_862; lean_object* x_863; lean_object* x_864; lean_object* x_865; lean_object* x_866; lean_object* x_867; lean_object* x_868; -lean_dec(x_683); -x_862 = lean_unsigned_to_nat(80u); -x_863 = l_Lean_Json_pretty(x_759, x_862); -x_864 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_865 = lean_string_append(x_864, x_863); -lean_dec(x_863); -x_866 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_867 = lean_string_append(x_865, x_866); -x_868 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_868, 0, x_867); -return x_868; -} -} -} -else -{ -lean_object* x_869; -x_869 = lean_ctor_get(x_687, 0); -lean_inc(x_869); -lean_dec(x_687); -if (lean_obj_tag(x_869) == 4) -{ -lean_object* x_870; lean_object* x_871; lean_object* x_872; size_t x_873; size_t x_874; lean_object* x_875; lean_object* x_876; lean_object* x_877; size_t x_878; lean_object* x_879; -x_870 = lean_ctor_get(x_683, 0); -lean_inc(x_870); -lean_dec(x_683); -x_871 = lean_ctor_get(x_869, 0); -lean_inc(x_871); -lean_dec(x_869); -x_872 = lean_array_get_size(x_871); -x_873 = lean_usize_of_nat(x_872); -lean_dec(x_872); -x_874 = 0; -x_875 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_873, x_874, x_871); -x_876 = lean_ctor_get(x_875, 0); -lean_inc(x_876); -lean_dec(x_875); -x_877 = lean_array_get_size(x_876); -x_878 = lean_usize_of_nat(x_877); -lean_dec(x_877); -x_879 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_878, x_874, x_876, x_3); -if (lean_obj_tag(x_879) == 0) -{ -lean_object* x_880; lean_object* x_881; lean_object* x_882; -lean_dec(x_870); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_880 = lean_ctor_get(x_879, 0); -lean_inc(x_880); -if (lean_is_exclusive(x_879)) { - lean_ctor_release(x_879, 0); - x_881 = x_879; -} else { - lean_dec_ref(x_879); - x_881 = lean_box(0); -} -if (lean_is_scalar(x_881)) { - x_882 = lean_alloc_ctor(0, 1, 0); -} else { - x_882 = x_881; -} -lean_ctor_set(x_882, 0, x_880); -return x_882; -} -else -{ -lean_object* x_883; lean_object* x_884; lean_object* x_885; lean_object* x_886; -x_883 = lean_ctor_get(x_879, 0); -lean_inc(x_883); -if (lean_is_exclusive(x_879)) { - lean_ctor_release(x_879, 0); - x_884 = x_879; -} else { - lean_dec_ref(x_879); - x_884 = lean_box(0); -} -x_885 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_885, 0, x_883); -x_886 = lean_ctor_get(x_5, 7); -lean_inc(x_886); -lean_dec(x_5); -if (lean_obj_tag(x_886) == 0) -{ -lean_object* x_887; lean_object* x_888; -lean_dec(x_3); -x_887 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_887, 0, x_13); -lean_ctor_set(x_887, 1, x_20); -lean_ctor_set(x_887, 2, x_678); -lean_ctor_set(x_887, 3, x_679); -lean_ctor_set(x_887, 4, x_678); -lean_ctor_set(x_887, 5, x_870); -lean_ctor_set(x_887, 6, x_885); -lean_ctor_set(x_887, 7, x_678); -if (lean_is_scalar(x_884)) { - x_888 = lean_alloc_ctor(1, 1, 0); -} else { - x_888 = x_884; -} -lean_ctor_set(x_888, 0, x_887); -return x_888; -} -else -{ -lean_object* x_889; lean_object* x_890; -x_889 = lean_ctor_get(x_886, 0); -lean_inc(x_889); -if (lean_is_exclusive(x_886)) { - lean_ctor_release(x_886, 0); - x_890 = x_886; -} else { - lean_dec_ref(x_886); - x_890 = lean_box(0); -} -if (lean_obj_tag(x_889) == 4) -{ -lean_object* x_891; lean_object* x_892; size_t x_893; lean_object* x_894; lean_object* x_895; lean_object* x_896; size_t x_897; lean_object* x_898; -lean_dec(x_884); -x_891 = lean_ctor_get(x_889, 0); -lean_inc(x_891); -lean_dec(x_889); -x_892 = lean_array_get_size(x_891); -x_893 = lean_usize_of_nat(x_892); -lean_dec(x_892); -x_894 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_893, x_874, x_891); -x_895 = lean_ctor_get(x_894, 0); -lean_inc(x_895); -lean_dec(x_894); -x_896 = lean_array_get_size(x_895); -x_897 = lean_usize_of_nat(x_896); -lean_dec(x_896); -x_898 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_897, x_874, x_895, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_898) == 0) -{ -lean_object* x_899; lean_object* x_900; lean_object* x_901; -lean_dec(x_890); -lean_dec(x_885); -lean_dec(x_870); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_899 = lean_ctor_get(x_898, 0); -lean_inc(x_899); -if (lean_is_exclusive(x_898)) { - lean_ctor_release(x_898, 0); - x_900 = x_898; -} else { - lean_dec_ref(x_898); - x_900 = lean_box(0); -} -if (lean_is_scalar(x_900)) { - x_901 = lean_alloc_ctor(0, 1, 0); -} else { - x_901 = x_900; -} -lean_ctor_set(x_901, 0, x_899); -return x_901; -} -else -{ -lean_object* x_902; lean_object* x_903; lean_object* x_904; lean_object* x_905; lean_object* x_906; -x_902 = lean_ctor_get(x_898, 0); -lean_inc(x_902); -if (lean_is_exclusive(x_898)) { - lean_ctor_release(x_898, 0); - x_903 = x_898; -} else { - lean_dec_ref(x_898); - x_903 = lean_box(0); -} -if (lean_is_scalar(x_890)) { - x_904 = lean_alloc_ctor(1, 1, 0); -} else { - x_904 = x_890; -} -lean_ctor_set(x_904, 0, x_902); -x_905 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_905, 0, x_13); -lean_ctor_set(x_905, 1, x_20); -lean_ctor_set(x_905, 2, x_678); -lean_ctor_set(x_905, 3, x_679); -lean_ctor_set(x_905, 4, x_678); -lean_ctor_set(x_905, 5, x_870); -lean_ctor_set(x_905, 6, x_885); -lean_ctor_set(x_905, 7, x_904); -if (lean_is_scalar(x_903)) { - x_906 = lean_alloc_ctor(1, 1, 0); -} else { - x_906 = x_903; -} -lean_ctor_set(x_906, 0, x_905); -return x_906; -} -} -else -{ -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_dec(x_890); -lean_dec(x_885); -lean_dec(x_870); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_907 = lean_unsigned_to_nat(80u); -x_908 = l_Lean_Json_pretty(x_889, x_907); -x_909 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_910 = lean_string_append(x_909, x_908); -lean_dec(x_908); -x_911 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_912 = lean_string_append(x_910, x_911); -if (lean_is_scalar(x_884)) { - x_913 = lean_alloc_ctor(0, 1, 0); -} else { - x_913 = x_884; - lean_ctor_set_tag(x_913, 0); -} -lean_ctor_set(x_913, 0, x_912); -return x_913; -} -} -} -} -else -{ -lean_object* x_914; lean_object* x_915; lean_object* x_916; lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -if (lean_is_exclusive(x_683)) { - lean_ctor_release(x_683, 0); - x_914 = x_683; -} else { - lean_dec_ref(x_683); - x_914 = lean_box(0); -} -x_915 = lean_unsigned_to_nat(80u); -x_916 = l_Lean_Json_pretty(x_869, x_915); -x_917 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_918 = lean_string_append(x_917, x_916); -lean_dec(x_916); -x_919 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_920 = lean_string_append(x_918, x_919); -if (lean_is_scalar(x_914)) { - x_921 = lean_alloc_ctor(0, 1, 0); -} else { - x_921 = x_914; - lean_ctor_set_tag(x_921, 0); -} -lean_ctor_set(x_921, 0, x_920); -return x_921; -} -} -} -} -} -else -{ -uint8_t x_922; -x_922 = !lean_is_exclusive(x_680); -if (x_922 == 0) -{ -lean_object* x_923; lean_object* x_924; lean_object* x_925; -x_923 = lean_ctor_get(x_680, 0); -x_924 = l_Lean_Json_getStr_x3f(x_923); -lean_dec(x_923); -x_925 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_924, x_3); -if (lean_obj_tag(x_925) == 0) -{ -uint8_t x_926; -lean_free_object(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_926 = !lean_is_exclusive(x_925); -if (x_926 == 0) -{ -return x_925; -} -else -{ -lean_object* x_927; lean_object* x_928; -x_927 = lean_ctor_get(x_925, 0); -lean_inc(x_927); -lean_dec(x_925); -x_928 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_928, 0, x_927); -return x_928; -} -} -else -{ -lean_object* x_929; lean_object* x_930; lean_object* x_931; lean_object* x_932; -x_929 = lean_ctor_get(x_925, 0); +lean_object* x_1813; lean_object* x_1814; lean_object* x_1815; lean_object* x_1816; lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; lean_object* x_1820; +x_1813 = lean_unsigned_to_nat(80u); +x_1814 = l_Lean_Json_pretty(x_1792, x_1813); +x_1815 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; +x_1816 = lean_string_append(x_1815, x_1814); +lean_dec(x_1814); +x_1817 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1818 = lean_string_append(x_1816, x_1817); +x_1819 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1819, 0, x_1818); +x_1820 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1819, x_3); +x_1784 = x_1820; +goto block_1790; +} +} +} +block_1783: +{ +lean_object* x_929; +x_929 = lean_ctor_get(x_5, 4); lean_inc(x_929); -lean_dec(x_925); -lean_ctor_set(x_680, 0, x_929); +if (lean_obj_tag(x_929) == 0) +{ +lean_object* x_930; lean_object* x_931; lean_object* x_932; x_930 = lean_ctor_get(x_1, 1); lean_inc(x_930); lean_dec(x_1); @@ -6856,9 +6125,8 @@ x_932 = lean_apply_2(x_930, x_931, x_3); if (lean_obj_tag(x_932) == 0) { uint8_t x_933; -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); @@ -6885,1059 +6153,1478 @@ x_936 = lean_ctor_get(x_5, 6); lean_inc(x_936); if (lean_obj_tag(x_936) == 0) { -lean_object* x_937; -x_937 = lean_ctor_get(x_5, 7); +lean_object* x_937; lean_object* x_938; lean_object* x_939; lean_object* x_968; +x_937 = lean_ctor_get(x_932, 0); lean_inc(x_937); +if (lean_is_exclusive(x_932)) { + lean_ctor_release(x_932, 0); + x_938 = x_932; +} else { + lean_dec_ref(x_932); + x_938 = lean_box(0); +} +x_968 = lean_ctor_get(x_5, 7); +lean_inc(x_968); +if (lean_obj_tag(x_968) == 0) +{ +x_939 = x_927; +goto block_967; +} +else +{ +uint8_t x_969; +x_969 = !lean_is_exclusive(x_968); +if (x_969 == 0) +{ +lean_object* x_970; +x_970 = lean_ctor_get(x_968, 0); +if (lean_obj_tag(x_970) == 4) +{ +lean_object* x_971; lean_object* x_972; size_t x_973; size_t x_974; lean_object* x_975; lean_object* x_976; lean_object* x_977; size_t x_978; lean_object* x_979; +x_971 = lean_ctor_get(x_970, 0); +lean_inc(x_971); +lean_dec(x_970); +x_972 = lean_array_get_size(x_971); +x_973 = lean_usize_of_nat(x_972); +lean_dec(x_972); +x_974 = 0; +x_975 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_973, x_974, x_971); +x_976 = lean_ctor_get(x_975, 0); +lean_inc(x_976); +lean_dec(x_975); +x_977 = lean_array_get_size(x_976); +x_978 = lean_usize_of_nat(x_977); +lean_dec(x_977); +x_979 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_978, x_974, x_976, x_3); +if (lean_obj_tag(x_979) == 0) +{ +uint8_t x_980; +lean_free_object(x_968); +lean_dec(x_938); +lean_dec(x_937); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_5); -if (lean_obj_tag(x_937) == 0) -{ -uint8_t x_938; lean_dec(x_3); -x_938 = !lean_is_exclusive(x_932); -if (x_938 == 0) +x_980 = !lean_is_exclusive(x_979); +if (x_980 == 0) { -lean_object* x_939; lean_object* x_940; -x_939 = lean_ctor_get(x_932, 0); -x_940 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_940, 0, x_13); -lean_ctor_set(x_940, 1, x_20); -lean_ctor_set(x_940, 2, x_678); -lean_ctor_set(x_940, 3, x_679); -lean_ctor_set(x_940, 4, x_680); -lean_ctor_set(x_940, 5, x_939); -lean_ctor_set(x_940, 6, x_678); -lean_ctor_set(x_940, 7, x_678); -lean_ctor_set(x_932, 0, x_940); -return x_932; -} -else -{ -lean_object* x_941; lean_object* x_942; lean_object* x_943; -x_941 = lean_ctor_get(x_932, 0); -lean_inc(x_941); -lean_dec(x_932); -x_942 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_942, 0, x_13); -lean_ctor_set(x_942, 1, x_20); -lean_ctor_set(x_942, 2, x_678); -lean_ctor_set(x_942, 3, x_679); -lean_ctor_set(x_942, 4, x_680); -lean_ctor_set(x_942, 5, x_941); -lean_ctor_set(x_942, 6, x_678); -lean_ctor_set(x_942, 7, x_678); -x_943 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_943, 0, x_942); -return x_943; -} -} -else -{ -uint8_t x_944; -x_944 = !lean_is_exclusive(x_937); -if (x_944 == 0) -{ -lean_object* x_945; -x_945 = lean_ctor_get(x_937, 0); -if (lean_obj_tag(x_945) == 4) -{ -lean_object* x_946; lean_object* x_947; lean_object* x_948; size_t x_949; size_t x_950; lean_object* x_951; lean_object* x_952; lean_object* x_953; size_t x_954; lean_object* x_955; -x_946 = lean_ctor_get(x_932, 0); -lean_inc(x_946); -lean_dec(x_932); -x_947 = lean_ctor_get(x_945, 0); -lean_inc(x_947); -lean_dec(x_945); -x_948 = lean_array_get_size(x_947); -x_949 = lean_usize_of_nat(x_948); -lean_dec(x_948); -x_950 = 0; -x_951 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_949, x_950, x_947); -x_952 = lean_ctor_get(x_951, 0); -lean_inc(x_952); -lean_dec(x_951); -x_953 = lean_array_get_size(x_952); -x_954 = lean_usize_of_nat(x_953); -lean_dec(x_953); -x_955 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_954, x_950, x_952, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_955) == 0) -{ -uint8_t x_956; -lean_dec(x_946); -lean_free_object(x_937); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_956 = !lean_is_exclusive(x_955); -if (x_956 == 0) -{ -return x_955; -} -else -{ -lean_object* x_957; lean_object* x_958; -x_957 = lean_ctor_get(x_955, 0); -lean_inc(x_957); -lean_dec(x_955); -x_958 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_958, 0, x_957); -return x_958; -} -} -else -{ -uint8_t x_959; -x_959 = !lean_is_exclusive(x_955); -if (x_959 == 0) -{ -lean_object* x_960; lean_object* x_961; -x_960 = lean_ctor_get(x_955, 0); -lean_ctor_set(x_937, 0, x_960); -x_961 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_961, 0, x_13); -lean_ctor_set(x_961, 1, x_20); -lean_ctor_set(x_961, 2, x_678); -lean_ctor_set(x_961, 3, x_679); -lean_ctor_set(x_961, 4, x_680); -lean_ctor_set(x_961, 5, x_946); -lean_ctor_set(x_961, 6, x_678); -lean_ctor_set(x_961, 7, x_937); -lean_ctor_set(x_955, 0, x_961); -return x_955; -} -else -{ -lean_object* x_962; lean_object* x_963; lean_object* x_964; -x_962 = lean_ctor_get(x_955, 0); -lean_inc(x_962); -lean_dec(x_955); -lean_ctor_set(x_937, 0, x_962); -x_963 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_963, 0, x_13); -lean_ctor_set(x_963, 1, x_20); -lean_ctor_set(x_963, 2, x_678); -lean_ctor_set(x_963, 3, x_679); -lean_ctor_set(x_963, 4, x_680); -lean_ctor_set(x_963, 5, x_946); -lean_ctor_set(x_963, 6, x_678); -lean_ctor_set(x_963, 7, x_937); -x_964 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_964, 0, x_963); -return x_964; -} -} -} -else -{ -uint8_t x_965; -lean_free_object(x_937); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_965 = !lean_is_exclusive(x_932); -if (x_965 == 0) -{ -lean_object* x_966; lean_object* x_967; lean_object* x_968; lean_object* x_969; lean_object* x_970; lean_object* x_971; lean_object* x_972; -x_966 = lean_ctor_get(x_932, 0); -lean_dec(x_966); -x_967 = lean_unsigned_to_nat(80u); -x_968 = l_Lean_Json_pretty(x_945, x_967); -x_969 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_970 = lean_string_append(x_969, x_968); -lean_dec(x_968); -x_971 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_972 = lean_string_append(x_970, x_971); -lean_ctor_set_tag(x_932, 0); -lean_ctor_set(x_932, 0, x_972); -return x_932; -} -else -{ -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_dec(x_932); -x_973 = lean_unsigned_to_nat(80u); -x_974 = l_Lean_Json_pretty(x_945, x_973); -x_975 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_976 = lean_string_append(x_975, x_974); -lean_dec(x_974); -x_977 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_978 = lean_string_append(x_976, x_977); -x_979 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_979, 0, x_978); return x_979; } -} -} else { -lean_object* x_980; -x_980 = lean_ctor_get(x_937, 0); -lean_inc(x_980); -lean_dec(x_937); -if (lean_obj_tag(x_980) == 4) -{ -lean_object* x_981; lean_object* x_982; lean_object* x_983; size_t x_984; size_t x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; size_t x_989; lean_object* x_990; -x_981 = lean_ctor_get(x_932, 0); +lean_object* x_981; lean_object* x_982; +x_981 = lean_ctor_get(x_979, 0); lean_inc(x_981); -lean_dec(x_932); -x_982 = lean_ctor_get(x_980, 0); -lean_inc(x_982); -lean_dec(x_980); -x_983 = lean_array_get_size(x_982); -x_984 = lean_usize_of_nat(x_983); -lean_dec(x_983); -x_985 = 0; -x_986 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_984, x_985, x_982); -x_987 = lean_ctor_get(x_986, 0); -lean_inc(x_987); -lean_dec(x_986); -x_988 = lean_array_get_size(x_987); -x_989 = lean_usize_of_nat(x_988); -lean_dec(x_988); -x_990 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_989, x_985, x_987, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_990) == 0) +lean_dec(x_979); +x_982 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_982, 0, x_981); +return x_982; +} +} +else { -lean_object* x_991; lean_object* x_992; lean_object* x_993; -lean_dec(x_981); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_object* x_983; +x_983 = lean_ctor_get(x_979, 0); +lean_inc(x_983); +lean_dec(x_979); +lean_ctor_set(x_968, 0, x_983); +x_939 = x_968; +goto block_967; +} +} +else +{ +lean_object* x_984; lean_object* x_985; lean_object* x_986; lean_object* x_987; lean_object* x_988; lean_object* x_989; lean_object* x_990; +lean_free_object(x_968); +lean_dec(x_938); +lean_dec(x_937); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); -x_991 = lean_ctor_get(x_990, 0); +lean_dec(x_5); +lean_dec(x_3); +x_984 = lean_unsigned_to_nat(80u); +x_985 = l_Lean_Json_pretty(x_970, x_984); +x_986 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_987 = lean_string_append(x_986, x_985); +lean_dec(x_985); +x_988 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_989 = lean_string_append(x_987, x_988); +x_990 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_990, 0, x_989); +return x_990; +} +} +else +{ +lean_object* x_991; +x_991 = lean_ctor_get(x_968, 0); lean_inc(x_991); -if (lean_is_exclusive(x_990)) { - lean_ctor_release(x_990, 0); - x_992 = x_990; -} else { - lean_dec_ref(x_990); - x_992 = lean_box(0); -} -if (lean_is_scalar(x_992)) { - x_993 = lean_alloc_ctor(0, 1, 0); -} else { - x_993 = x_992; -} -lean_ctor_set(x_993, 0, x_991); -return x_993; -} -else +lean_dec(x_968); +if (lean_obj_tag(x_991) == 4) { -lean_object* x_994; lean_object* x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; -x_994 = lean_ctor_get(x_990, 0); -lean_inc(x_994); -if (lean_is_exclusive(x_990)) { - lean_ctor_release(x_990, 0); - x_995 = x_990; -} else { - lean_dec_ref(x_990); - x_995 = lean_box(0); -} -x_996 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_996, 0, x_994); -x_997 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_997, 0, x_13); -lean_ctor_set(x_997, 1, x_20); -lean_ctor_set(x_997, 2, x_678); -lean_ctor_set(x_997, 3, x_679); -lean_ctor_set(x_997, 4, x_680); -lean_ctor_set(x_997, 5, x_981); -lean_ctor_set(x_997, 6, x_678); -lean_ctor_set(x_997, 7, x_996); -if (lean_is_scalar(x_995)) { - x_998 = lean_alloc_ctor(1, 1, 0); -} else { - x_998 = x_995; -} -lean_ctor_set(x_998, 0, x_997); -return x_998; -} -} -else +lean_object* x_992; lean_object* x_993; size_t x_994; size_t x_995; lean_object* x_996; lean_object* x_997; lean_object* x_998; size_t x_999; lean_object* x_1000; +x_992 = lean_ctor_get(x_991, 0); +lean_inc(x_992); +lean_dec(x_991); +x_993 = lean_array_get_size(x_992); +x_994 = lean_usize_of_nat(x_993); +lean_dec(x_993); +x_995 = 0; +x_996 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_994, x_995, x_992); +x_997 = lean_ctor_get(x_996, 0); +lean_inc(x_997); +lean_dec(x_996); +x_998 = lean_array_get_size(x_997); +x_999 = lean_usize_of_nat(x_998); +lean_dec(x_998); +x_1000 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_999, x_995, x_997, x_3); +if (lean_obj_tag(x_1000) == 0) { -lean_object* x_999; lean_object* x_1000; lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; lean_object* x_1004; lean_object* x_1005; lean_object* x_1006; -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_object* x_1001; lean_object* x_1002; lean_object* x_1003; +lean_dec(x_938); +lean_dec(x_937); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); +lean_dec(x_5); lean_dec(x_3); -if (lean_is_exclusive(x_932)) { - lean_ctor_release(x_932, 0); - x_999 = x_932; +x_1001 = lean_ctor_get(x_1000, 0); +lean_inc(x_1001); +if (lean_is_exclusive(x_1000)) { + lean_ctor_release(x_1000, 0); + x_1002 = x_1000; } else { - lean_dec_ref(x_932); - x_999 = lean_box(0); + lean_dec_ref(x_1000); + x_1002 = lean_box(0); } -x_1000 = lean_unsigned_to_nat(80u); -x_1001 = l_Lean_Json_pretty(x_980, x_1000); -x_1002 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1003 = lean_string_append(x_1002, x_1001); -lean_dec(x_1001); -x_1004 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1005 = lean_string_append(x_1003, x_1004); -if (lean_is_scalar(x_999)) { - x_1006 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1002)) { + x_1003 = lean_alloc_ctor(0, 1, 0); } else { - x_1006 = x_999; - lean_ctor_set_tag(x_1006, 0); + x_1003 = x_1002; +} +lean_ctor_set(x_1003, 0, x_1001); +return x_1003; +} +else +{ +lean_object* x_1004; lean_object* x_1005; +x_1004 = lean_ctor_get(x_1000, 0); +lean_inc(x_1004); +lean_dec(x_1000); +x_1005 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1005, 0, x_1004); +x_939 = x_1005; +goto block_967; +} +} +else +{ +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_dec(x_938); +lean_dec(x_937); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1006 = lean_unsigned_to_nat(80u); +x_1007 = l_Lean_Json_pretty(x_991, x_1006); +x_1008 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1009 = lean_string_append(x_1008, x_1007); +lean_dec(x_1007); +x_1010 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1011 = lean_string_append(x_1009, x_1010); +x_1012 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1012, 0, x_1011); +return x_1012; +} +} +} +block_967: +{ +lean_object* x_940; +x_940 = lean_ctor_get(x_5, 8); +lean_inc(x_940); +lean_dec(x_5); +if (lean_obj_tag(x_940) == 0) +{ +lean_object* x_941; lean_object* x_942; +lean_dec(x_3); +x_941 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_941, 0, x_13); +lean_ctor_set(x_941, 1, x_15); +lean_ctor_set(x_941, 2, x_927); +lean_ctor_set(x_941, 3, x_928); +lean_ctor_set(x_941, 4, x_927); +lean_ctor_set(x_941, 5, x_937); +lean_ctor_set(x_941, 6, x_927); +lean_ctor_set(x_941, 7, x_939); +lean_ctor_set(x_941, 8, x_927); +if (lean_is_scalar(x_938)) { + x_942 = lean_alloc_ctor(1, 1, 0); +} else { + x_942 = x_938; +} +lean_ctor_set(x_942, 0, x_941); +return x_942; +} +else +{ +uint8_t x_943; +x_943 = !lean_is_exclusive(x_940); +if (x_943 == 0) +{ +lean_object* x_944; lean_object* x_945; lean_object* x_946; +x_944 = lean_ctor_get(x_940, 0); +if (lean_is_scalar(x_938)) { + x_945 = lean_alloc_ctor(1, 1, 0); +} else { + x_945 = x_938; +} +lean_ctor_set(x_945, 0, x_944); +x_946 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_945, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_946) == 0) +{ +uint8_t x_947; +lean_free_object(x_940); +lean_dec(x_939); +lean_dec(x_937); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_947 = !lean_is_exclusive(x_946); +if (x_947 == 0) +{ +return x_946; +} +else +{ +lean_object* x_948; lean_object* x_949; +x_948 = lean_ctor_get(x_946, 0); +lean_inc(x_948); +lean_dec(x_946); +x_949 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_949, 0, x_948); +return x_949; +} +} +else +{ +uint8_t x_950; +x_950 = !lean_is_exclusive(x_946); +if (x_950 == 0) +{ +lean_object* x_951; lean_object* x_952; +x_951 = lean_ctor_get(x_946, 0); +lean_ctor_set(x_940, 0, x_951); +x_952 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_952, 0, x_13); +lean_ctor_set(x_952, 1, x_15); +lean_ctor_set(x_952, 2, x_927); +lean_ctor_set(x_952, 3, x_928); +lean_ctor_set(x_952, 4, x_927); +lean_ctor_set(x_952, 5, x_937); +lean_ctor_set(x_952, 6, x_927); +lean_ctor_set(x_952, 7, x_939); +lean_ctor_set(x_952, 8, x_940); +lean_ctor_set(x_946, 0, x_952); +return x_946; +} +else +{ +lean_object* x_953; lean_object* x_954; lean_object* x_955; +x_953 = lean_ctor_get(x_946, 0); +lean_inc(x_953); +lean_dec(x_946); +lean_ctor_set(x_940, 0, x_953); +x_954 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_954, 0, x_13); +lean_ctor_set(x_954, 1, x_15); +lean_ctor_set(x_954, 2, x_927); +lean_ctor_set(x_954, 3, x_928); +lean_ctor_set(x_954, 4, x_927); +lean_ctor_set(x_954, 5, x_937); +lean_ctor_set(x_954, 6, x_927); +lean_ctor_set(x_954, 7, x_939); +lean_ctor_set(x_954, 8, x_940); +x_955 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_955, 0, x_954); +return x_955; +} +} +} +else +{ +lean_object* x_956; lean_object* x_957; lean_object* x_958; +x_956 = lean_ctor_get(x_940, 0); +lean_inc(x_956); +lean_dec(x_940); +if (lean_is_scalar(x_938)) { + x_957 = lean_alloc_ctor(1, 1, 0); +} else { + x_957 = x_938; +} +lean_ctor_set(x_957, 0, x_956); +x_958 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_957, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_958) == 0) +{ +lean_object* x_959; lean_object* x_960; lean_object* x_961; +lean_dec(x_939); +lean_dec(x_937); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_959 = lean_ctor_get(x_958, 0); +lean_inc(x_959); +if (lean_is_exclusive(x_958)) { + lean_ctor_release(x_958, 0); + x_960 = x_958; +} else { + lean_dec_ref(x_958); + x_960 = lean_box(0); +} +if (lean_is_scalar(x_960)) { + x_961 = lean_alloc_ctor(0, 1, 0); +} else { + x_961 = x_960; +} +lean_ctor_set(x_961, 0, x_959); +return x_961; +} +else +{ +lean_object* x_962; lean_object* x_963; lean_object* x_964; lean_object* x_965; lean_object* x_966; +x_962 = lean_ctor_get(x_958, 0); +lean_inc(x_962); +if (lean_is_exclusive(x_958)) { + lean_ctor_release(x_958, 0); + x_963 = x_958; +} else { + lean_dec_ref(x_958); + x_963 = lean_box(0); +} +x_964 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_964, 0, x_962); +x_965 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_965, 0, x_13); +lean_ctor_set(x_965, 1, x_15); +lean_ctor_set(x_965, 2, x_927); +lean_ctor_set(x_965, 3, x_928); +lean_ctor_set(x_965, 4, x_927); +lean_ctor_set(x_965, 5, x_937); +lean_ctor_set(x_965, 6, x_927); +lean_ctor_set(x_965, 7, x_939); +lean_ctor_set(x_965, 8, x_964); +if (lean_is_scalar(x_963)) { + x_966 = lean_alloc_ctor(1, 1, 0); +} else { + x_966 = x_963; +} +lean_ctor_set(x_966, 0, x_965); +return x_966; } -lean_ctor_set(x_1006, 0, x_1005); -return x_1006; } } } } else { -uint8_t x_1007; -x_1007 = !lean_is_exclusive(x_936); -if (x_1007 == 0) +uint8_t x_1013; +x_1013 = !lean_is_exclusive(x_936); +if (x_1013 == 0) { -lean_object* x_1008; -x_1008 = lean_ctor_get(x_936, 0); -if (lean_obj_tag(x_1008) == 4) +lean_object* x_1014; +x_1014 = lean_ctor_get(x_936, 0); +if (lean_obj_tag(x_1014) == 4) { -lean_object* x_1009; lean_object* x_1010; lean_object* x_1011; size_t x_1012; size_t x_1013; lean_object* x_1014; lean_object* x_1015; lean_object* x_1016; size_t x_1017; lean_object* x_1018; -x_1009 = lean_ctor_get(x_932, 0); -lean_inc(x_1009); -lean_dec(x_932); -x_1010 = lean_ctor_get(x_1008, 0); -lean_inc(x_1010); -lean_dec(x_1008); -x_1011 = lean_array_get_size(x_1010); -x_1012 = lean_usize_of_nat(x_1011); -lean_dec(x_1011); -x_1013 = 0; -x_1014 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1012, x_1013, x_1010); -x_1015 = lean_ctor_get(x_1014, 0); +lean_object* x_1015; lean_object* x_1016; lean_object* x_1017; size_t x_1018; size_t x_1019; lean_object* x_1020; uint8_t x_1021; +x_1015 = lean_ctor_get(x_932, 0); lean_inc(x_1015); +lean_dec(x_932); +x_1016 = lean_ctor_get(x_1014, 0); +lean_inc(x_1016); lean_dec(x_1014); -x_1016 = lean_array_get_size(x_1015); -x_1017 = lean_usize_of_nat(x_1016); -lean_dec(x_1016); -x_1018 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1017, x_1013, x_1015, x_3); -if (lean_obj_tag(x_1018) == 0) +x_1017 = lean_array_get_size(x_1016); +x_1018 = lean_usize_of_nat(x_1017); +lean_dec(x_1017); +x_1019 = 0; +x_1020 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1018, x_1019, x_1016); +x_1021 = !lean_is_exclusive(x_1020); +if (x_1021 == 0) { -uint8_t x_1019; -lean_dec(x_1009); -lean_free_object(x_936); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_1019 = !lean_is_exclusive(x_1018); -if (x_1019 == 0) -{ -return x_1018; -} -else -{ -lean_object* x_1020; lean_object* x_1021; -x_1020 = lean_ctor_get(x_1018, 0); -lean_inc(x_1020); -lean_dec(x_1018); -x_1021 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1021, 0, x_1020); -return x_1021; -} -} -else -{ -uint8_t x_1022; -x_1022 = !lean_is_exclusive(x_1018); -if (x_1022 == 0) -{ -lean_object* x_1023; lean_object* x_1024; -x_1023 = lean_ctor_get(x_1018, 0); -lean_ctor_set(x_936, 0, x_1023); -x_1024 = lean_ctor_get(x_5, 7); -lean_inc(x_1024); -lean_dec(x_5); -if (lean_obj_tag(x_1024) == 0) -{ -lean_object* x_1025; -lean_dec(x_3); -x_1025 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1025, 0, x_13); -lean_ctor_set(x_1025, 1, x_20); -lean_ctor_set(x_1025, 2, x_678); -lean_ctor_set(x_1025, 3, x_679); -lean_ctor_set(x_1025, 4, x_680); -lean_ctor_set(x_1025, 5, x_1009); -lean_ctor_set(x_1025, 6, x_936); -lean_ctor_set(x_1025, 7, x_678); -lean_ctor_set(x_1018, 0, x_1025); -return x_1018; -} -else +lean_object* x_1022; lean_object* x_1023; size_t x_1024; lean_object* x_1025; +x_1022 = lean_ctor_get(x_1020, 0); +x_1023 = lean_array_get_size(x_1022); +x_1024 = lean_usize_of_nat(x_1023); +lean_dec(x_1023); +x_1025 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1024, x_1019, x_1022, x_3); +if (lean_obj_tag(x_1025) == 0) { uint8_t x_1026; -x_1026 = !lean_is_exclusive(x_1024); +lean_free_object(x_1020); +lean_dec(x_1015); +lean_free_object(x_936); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1026 = !lean_is_exclusive(x_1025); if (x_1026 == 0) { -lean_object* x_1027; -x_1027 = lean_ctor_get(x_1024, 0); -if (lean_obj_tag(x_1027) == 4) +return x_1025; +} +else { -lean_object* x_1028; lean_object* x_1029; size_t x_1030; lean_object* x_1031; lean_object* x_1032; lean_object* x_1033; size_t x_1034; lean_object* x_1035; -lean_free_object(x_1018); -x_1028 = lean_ctor_get(x_1027, 0); -lean_inc(x_1028); -lean_dec(x_1027); -x_1029 = lean_array_get_size(x_1028); -x_1030 = lean_usize_of_nat(x_1029); -lean_dec(x_1029); -x_1031 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1030, x_1013, x_1028); -x_1032 = lean_ctor_get(x_1031, 0); -lean_inc(x_1032); -lean_dec(x_1031); -x_1033 = lean_array_get_size(x_1032); -x_1034 = lean_usize_of_nat(x_1033); -lean_dec(x_1033); -x_1035 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1034, x_1013, x_1032, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1035) == 0) +lean_object* x_1027; lean_object* x_1028; +x_1027 = lean_ctor_get(x_1025, 0); +lean_inc(x_1027); +lean_dec(x_1025); +x_1028 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1028, 0, x_1027); +return x_1028; +} +} +else { -uint8_t x_1036; -lean_free_object(x_1024); +lean_object* x_1029; lean_object* x_1030; lean_object* x_1031; lean_object* x_1060; +x_1029 = lean_ctor_get(x_1025, 0); +lean_inc(x_1029); +if (lean_is_exclusive(x_1025)) { + lean_ctor_release(x_1025, 0); + x_1030 = x_1025; +} else { + lean_dec_ref(x_1025); + x_1030 = lean_box(0); +} +lean_ctor_set(x_936, 0, x_1029); +x_1060 = lean_ctor_get(x_5, 7); +lean_inc(x_1060); +if (lean_obj_tag(x_1060) == 0) +{ +lean_free_object(x_1020); +x_1031 = x_927; +goto block_1059; +} +else +{ +uint8_t x_1061; +x_1061 = !lean_is_exclusive(x_1060); +if (x_1061 == 0) +{ +lean_object* x_1062; +x_1062 = lean_ctor_get(x_1060, 0); +if (lean_obj_tag(x_1062) == 4) +{ +lean_object* x_1063; lean_object* x_1064; size_t x_1065; lean_object* x_1066; lean_object* x_1067; lean_object* x_1068; size_t x_1069; lean_object* x_1070; +lean_free_object(x_1020); +x_1063 = lean_ctor_get(x_1062, 0); +lean_inc(x_1063); +lean_dec(x_1062); +x_1064 = lean_array_get_size(x_1063); +x_1065 = lean_usize_of_nat(x_1064); +lean_dec(x_1064); +x_1066 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1065, x_1019, x_1063); +x_1067 = lean_ctor_get(x_1066, 0); +lean_inc(x_1067); +lean_dec(x_1066); +x_1068 = lean_array_get_size(x_1067); +x_1069 = lean_usize_of_nat(x_1068); +lean_dec(x_1068); +x_1070 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1069, x_1019, x_1067, x_3); +if (lean_obj_tag(x_1070) == 0) +{ +uint8_t x_1071; +lean_free_object(x_1060); lean_dec(x_936); -lean_dec(x_1009); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_dec(x_1030); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); -x_1036 = !lean_is_exclusive(x_1035); -if (x_1036 == 0) +lean_dec(x_5); +lean_dec(x_3); +x_1071 = !lean_is_exclusive(x_1070); +if (x_1071 == 0) { -return x_1035; +return x_1070; } else { -lean_object* x_1037; lean_object* x_1038; -x_1037 = lean_ctor_get(x_1035, 0); -lean_inc(x_1037); -lean_dec(x_1035); -x_1038 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1038, 0, x_1037); -return x_1038; +lean_object* x_1072; lean_object* x_1073; +x_1072 = lean_ctor_get(x_1070, 0); +lean_inc(x_1072); +lean_dec(x_1070); +x_1073 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1073, 0, x_1072); +return x_1073; } } else { +lean_object* x_1074; +x_1074 = lean_ctor_get(x_1070, 0); +lean_inc(x_1074); +lean_dec(x_1070); +lean_ctor_set(x_1060, 0, x_1074); +x_1031 = x_1060; +goto block_1059; +} +} +else +{ +lean_object* x_1075; lean_object* x_1076; lean_object* x_1077; lean_object* x_1078; lean_object* x_1079; lean_object* x_1080; +lean_free_object(x_1060); +lean_dec(x_936); +lean_dec(x_1030); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1075 = lean_unsigned_to_nat(80u); +x_1076 = l_Lean_Json_pretty(x_1062, x_1075); +x_1077 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1078 = lean_string_append(x_1077, x_1076); +lean_dec(x_1076); +x_1079 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1080 = lean_string_append(x_1078, x_1079); +lean_ctor_set_tag(x_1020, 0); +lean_ctor_set(x_1020, 0, x_1080); +return x_1020; +} +} +else +{ +lean_object* x_1081; +x_1081 = lean_ctor_get(x_1060, 0); +lean_inc(x_1081); +lean_dec(x_1060); +if (lean_obj_tag(x_1081) == 4) +{ +lean_object* x_1082; lean_object* x_1083; size_t x_1084; lean_object* x_1085; lean_object* x_1086; lean_object* x_1087; size_t x_1088; lean_object* x_1089; +lean_free_object(x_1020); +x_1082 = lean_ctor_get(x_1081, 0); +lean_inc(x_1082); +lean_dec(x_1081); +x_1083 = lean_array_get_size(x_1082); +x_1084 = lean_usize_of_nat(x_1083); +lean_dec(x_1083); +x_1085 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1084, x_1019, x_1082); +x_1086 = lean_ctor_get(x_1085, 0); +lean_inc(x_1086); +lean_dec(x_1085); +x_1087 = lean_array_get_size(x_1086); +x_1088 = lean_usize_of_nat(x_1087); +lean_dec(x_1087); +x_1089 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1088, x_1019, x_1086, x_3); +if (lean_obj_tag(x_1089) == 0) +{ +lean_object* x_1090; lean_object* x_1091; lean_object* x_1092; +lean_dec(x_936); +lean_dec(x_1030); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1090 = lean_ctor_get(x_1089, 0); +lean_inc(x_1090); +if (lean_is_exclusive(x_1089)) { + lean_ctor_release(x_1089, 0); + x_1091 = x_1089; +} else { + lean_dec_ref(x_1089); + x_1091 = lean_box(0); +} +if (lean_is_scalar(x_1091)) { + x_1092 = lean_alloc_ctor(0, 1, 0); +} else { + x_1092 = x_1091; +} +lean_ctor_set(x_1092, 0, x_1090); +return x_1092; +} +else +{ +lean_object* x_1093; lean_object* x_1094; +x_1093 = lean_ctor_get(x_1089, 0); +lean_inc(x_1093); +lean_dec(x_1089); +x_1094 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1094, 0, x_1093); +x_1031 = x_1094; +goto block_1059; +} +} +else +{ +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_dec(x_936); +lean_dec(x_1030); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1095 = lean_unsigned_to_nat(80u); +x_1096 = l_Lean_Json_pretty(x_1081, x_1095); +x_1097 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1098 = lean_string_append(x_1097, x_1096); +lean_dec(x_1096); +x_1099 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1100 = lean_string_append(x_1098, x_1099); +lean_ctor_set_tag(x_1020, 0); +lean_ctor_set(x_1020, 0, x_1100); +return x_1020; +} +} +} +block_1059: +{ +lean_object* x_1032; +x_1032 = lean_ctor_get(x_5, 8); +lean_inc(x_1032); +lean_dec(x_5); +if (lean_obj_tag(x_1032) == 0) +{ +lean_object* x_1033; lean_object* x_1034; +lean_dec(x_3); +x_1033 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1033, 0, x_13); +lean_ctor_set(x_1033, 1, x_15); +lean_ctor_set(x_1033, 2, x_927); +lean_ctor_set(x_1033, 3, x_928); +lean_ctor_set(x_1033, 4, x_927); +lean_ctor_set(x_1033, 5, x_1015); +lean_ctor_set(x_1033, 6, x_936); +lean_ctor_set(x_1033, 7, x_1031); +lean_ctor_set(x_1033, 8, x_927); +if (lean_is_scalar(x_1030)) { + x_1034 = lean_alloc_ctor(1, 1, 0); +} else { + x_1034 = x_1030; +} +lean_ctor_set(x_1034, 0, x_1033); +return x_1034; +} +else +{ +uint8_t x_1035; +x_1035 = !lean_is_exclusive(x_1032); +if (x_1035 == 0) +{ +lean_object* x_1036; lean_object* x_1037; lean_object* x_1038; +x_1036 = lean_ctor_get(x_1032, 0); +if (lean_is_scalar(x_1030)) { + x_1037 = lean_alloc_ctor(1, 1, 0); +} else { + x_1037 = x_1030; +} +lean_ctor_set(x_1037, 0, x_1036); +x_1038 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1037, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1038) == 0) +{ uint8_t x_1039; -x_1039 = !lean_is_exclusive(x_1035); +lean_free_object(x_1032); +lean_dec(x_1031); +lean_dec(x_936); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1039 = !lean_is_exclusive(x_1038); if (x_1039 == 0) { +return x_1038; +} +else +{ lean_object* x_1040; lean_object* x_1041; -x_1040 = lean_ctor_get(x_1035, 0); -lean_ctor_set(x_1024, 0, x_1040); -x_1041 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1041, 0, x_13); -lean_ctor_set(x_1041, 1, x_20); -lean_ctor_set(x_1041, 2, x_678); -lean_ctor_set(x_1041, 3, x_679); -lean_ctor_set(x_1041, 4, x_680); -lean_ctor_set(x_1041, 5, x_1009); -lean_ctor_set(x_1041, 6, x_936); -lean_ctor_set(x_1041, 7, x_1024); -lean_ctor_set(x_1035, 0, x_1041); -return x_1035; +x_1040 = lean_ctor_get(x_1038, 0); +lean_inc(x_1040); +lean_dec(x_1038); +x_1041 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1041, 0, x_1040); +return x_1041; +} } else { -lean_object* x_1042; lean_object* x_1043; lean_object* x_1044; -x_1042 = lean_ctor_get(x_1035, 0); -lean_inc(x_1042); -lean_dec(x_1035); -lean_ctor_set(x_1024, 0, x_1042); -x_1043 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1043, 0, x_13); -lean_ctor_set(x_1043, 1, x_20); -lean_ctor_set(x_1043, 2, x_678); -lean_ctor_set(x_1043, 3, x_679); -lean_ctor_set(x_1043, 4, x_680); -lean_ctor_set(x_1043, 5, x_1009); -lean_ctor_set(x_1043, 6, x_936); -lean_ctor_set(x_1043, 7, x_1024); -x_1044 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1044, 0, x_1043); -return x_1044; +uint8_t x_1042; +x_1042 = !lean_is_exclusive(x_1038); +if (x_1042 == 0) +{ +lean_object* x_1043; lean_object* x_1044; +x_1043 = lean_ctor_get(x_1038, 0); +lean_ctor_set(x_1032, 0, x_1043); +x_1044 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1044, 0, x_13); +lean_ctor_set(x_1044, 1, x_15); +lean_ctor_set(x_1044, 2, x_927); +lean_ctor_set(x_1044, 3, x_928); +lean_ctor_set(x_1044, 4, x_927); +lean_ctor_set(x_1044, 5, x_1015); +lean_ctor_set(x_1044, 6, x_936); +lean_ctor_set(x_1044, 7, x_1031); +lean_ctor_set(x_1044, 8, x_1032); +lean_ctor_set(x_1038, 0, x_1044); +return x_1038; +} +else +{ +lean_object* x_1045; lean_object* x_1046; lean_object* x_1047; +x_1045 = lean_ctor_get(x_1038, 0); +lean_inc(x_1045); +lean_dec(x_1038); +lean_ctor_set(x_1032, 0, x_1045); +x_1046 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1046, 0, x_13); +lean_ctor_set(x_1046, 1, x_15); +lean_ctor_set(x_1046, 2, x_927); +lean_ctor_set(x_1046, 3, x_928); +lean_ctor_set(x_1046, 4, x_927); +lean_ctor_set(x_1046, 5, x_1015); +lean_ctor_set(x_1046, 6, x_936); +lean_ctor_set(x_1046, 7, x_1031); +lean_ctor_set(x_1046, 8, x_1032); +x_1047 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1047, 0, x_1046); +return x_1047; } } } else { -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_free_object(x_1024); -lean_dec(x_936); -lean_dec(x_1009); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); +lean_object* x_1048; lean_object* x_1049; lean_object* x_1050; +x_1048 = lean_ctor_get(x_1032, 0); +lean_inc(x_1048); +lean_dec(x_1032); +if (lean_is_scalar(x_1030)) { + x_1049 = lean_alloc_ctor(1, 1, 0); +} else { + x_1049 = x_1030; +} +lean_ctor_set(x_1049, 0, x_1048); +x_1050 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1049, x_3); lean_dec(x_3); -x_1045 = lean_unsigned_to_nat(80u); -x_1046 = l_Lean_Json_pretty(x_1027, x_1045); -x_1047 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1048 = lean_string_append(x_1047, x_1046); -lean_dec(x_1046); -x_1049 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1050 = lean_string_append(x_1048, x_1049); -lean_ctor_set_tag(x_1018, 0); -lean_ctor_set(x_1018, 0, x_1050); -return x_1018; -} -} -else +if (lean_obj_tag(x_1050) == 0) { -lean_object* x_1051; -x_1051 = lean_ctor_get(x_1024, 0); +lean_object* x_1051; lean_object* x_1052; lean_object* x_1053; +lean_dec(x_1031); +lean_dec(x_936); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1051 = lean_ctor_get(x_1050, 0); lean_inc(x_1051); -lean_dec(x_1024); -if (lean_obj_tag(x_1051) == 4) -{ -lean_object* x_1052; lean_object* x_1053; size_t x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; size_t x_1058; lean_object* x_1059; -lean_free_object(x_1018); -x_1052 = lean_ctor_get(x_1051, 0); -lean_inc(x_1052); -lean_dec(x_1051); -x_1053 = lean_array_get_size(x_1052); -x_1054 = lean_usize_of_nat(x_1053); -lean_dec(x_1053); -x_1055 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1054, x_1013, x_1052); -x_1056 = lean_ctor_get(x_1055, 0); -lean_inc(x_1056); -lean_dec(x_1055); -x_1057 = lean_array_get_size(x_1056); -x_1058 = lean_usize_of_nat(x_1057); -lean_dec(x_1057); -x_1059 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1058, x_1013, x_1056, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1059) == 0) -{ -lean_object* x_1060; lean_object* x_1061; lean_object* x_1062; -lean_dec(x_936); -lean_dec(x_1009); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_1060 = lean_ctor_get(x_1059, 0); -lean_inc(x_1060); -if (lean_is_exclusive(x_1059)) { - lean_ctor_release(x_1059, 0); - x_1061 = x_1059; +if (lean_is_exclusive(x_1050)) { + lean_ctor_release(x_1050, 0); + x_1052 = x_1050; } else { - lean_dec_ref(x_1059); - x_1061 = lean_box(0); + lean_dec_ref(x_1050); + x_1052 = lean_box(0); } -if (lean_is_scalar(x_1061)) { - x_1062 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1052)) { + x_1053 = lean_alloc_ctor(0, 1, 0); } else { - x_1062 = x_1061; + x_1053 = x_1052; } -lean_ctor_set(x_1062, 0, x_1060); -return x_1062; +lean_ctor_set(x_1053, 0, x_1051); +return x_1053; } else { -lean_object* x_1063; lean_object* x_1064; lean_object* x_1065; lean_object* x_1066; lean_object* x_1067; -x_1063 = lean_ctor_get(x_1059, 0); -lean_inc(x_1063); -if (lean_is_exclusive(x_1059)) { - lean_ctor_release(x_1059, 0); - x_1064 = x_1059; +lean_object* x_1054; lean_object* x_1055; lean_object* x_1056; lean_object* x_1057; lean_object* x_1058; +x_1054 = lean_ctor_get(x_1050, 0); +lean_inc(x_1054); +if (lean_is_exclusive(x_1050)) { + lean_ctor_release(x_1050, 0); + x_1055 = x_1050; } else { - lean_dec_ref(x_1059); - x_1064 = lean_box(0); + lean_dec_ref(x_1050); + x_1055 = lean_box(0); } -x_1065 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1065, 0, x_1063); -x_1066 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1066, 0, x_13); -lean_ctor_set(x_1066, 1, x_20); -lean_ctor_set(x_1066, 2, x_678); -lean_ctor_set(x_1066, 3, x_679); -lean_ctor_set(x_1066, 4, x_680); -lean_ctor_set(x_1066, 5, x_1009); -lean_ctor_set(x_1066, 6, x_936); -lean_ctor_set(x_1066, 7, x_1065); -if (lean_is_scalar(x_1064)) { - x_1067 = lean_alloc_ctor(1, 1, 0); +x_1056 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1056, 0, x_1054); +x_1057 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1057, 0, x_13); +lean_ctor_set(x_1057, 1, x_15); +lean_ctor_set(x_1057, 2, x_927); +lean_ctor_set(x_1057, 3, x_928); +lean_ctor_set(x_1057, 4, x_927); +lean_ctor_set(x_1057, 5, x_1015); +lean_ctor_set(x_1057, 6, x_936); +lean_ctor_set(x_1057, 7, x_1031); +lean_ctor_set(x_1057, 8, x_1056); +if (lean_is_scalar(x_1055)) { + x_1058 = lean_alloc_ctor(1, 1, 0); } else { - x_1067 = x_1064; + x_1058 = x_1055; } -lean_ctor_set(x_1067, 0, x_1066); -return x_1067; +lean_ctor_set(x_1058, 0, x_1057); +return x_1058; } } -else -{ -lean_object* x_1068; lean_object* x_1069; lean_object* x_1070; lean_object* x_1071; lean_object* x_1072; lean_object* x_1073; -lean_dec(x_936); -lean_dec(x_1009); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_1068 = lean_unsigned_to_nat(80u); -x_1069 = l_Lean_Json_pretty(x_1051, x_1068); -x_1070 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1071 = lean_string_append(x_1070, x_1069); -lean_dec(x_1069); -x_1072 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1073 = lean_string_append(x_1071, x_1072); -lean_ctor_set_tag(x_1018, 0); -lean_ctor_set(x_1018, 0, x_1073); -return x_1018; -} -} -} -} -else -{ -lean_object* x_1074; lean_object* x_1075; -x_1074 = lean_ctor_get(x_1018, 0); -lean_inc(x_1074); -lean_dec(x_1018); -lean_ctor_set(x_936, 0, x_1074); -x_1075 = lean_ctor_get(x_5, 7); -lean_inc(x_1075); -lean_dec(x_5); -if (lean_obj_tag(x_1075) == 0) -{ -lean_object* x_1076; lean_object* x_1077; -lean_dec(x_3); -x_1076 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1076, 0, x_13); -lean_ctor_set(x_1076, 1, x_20); -lean_ctor_set(x_1076, 2, x_678); -lean_ctor_set(x_1076, 3, x_679); -lean_ctor_set(x_1076, 4, x_680); -lean_ctor_set(x_1076, 5, x_1009); -lean_ctor_set(x_1076, 6, x_936); -lean_ctor_set(x_1076, 7, x_678); -x_1077 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1077, 0, x_1076); -return x_1077; -} -else -{ -lean_object* x_1078; lean_object* x_1079; -x_1078 = lean_ctor_get(x_1075, 0); -lean_inc(x_1078); -if (lean_is_exclusive(x_1075)) { - lean_ctor_release(x_1075, 0); - x_1079 = x_1075; -} else { - lean_dec_ref(x_1075); - x_1079 = lean_box(0); -} -if (lean_obj_tag(x_1078) == 4) -{ -lean_object* x_1080; lean_object* x_1081; size_t x_1082; lean_object* x_1083; lean_object* x_1084; lean_object* x_1085; size_t x_1086; lean_object* x_1087; -x_1080 = lean_ctor_get(x_1078, 0); -lean_inc(x_1080); -lean_dec(x_1078); -x_1081 = lean_array_get_size(x_1080); -x_1082 = lean_usize_of_nat(x_1081); -lean_dec(x_1081); -x_1083 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1082, x_1013, x_1080); -x_1084 = lean_ctor_get(x_1083, 0); -lean_inc(x_1084); -lean_dec(x_1083); -x_1085 = lean_array_get_size(x_1084); -x_1086 = lean_usize_of_nat(x_1085); -lean_dec(x_1085); -x_1087 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1086, x_1013, x_1084, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1087) == 0) -{ -lean_object* x_1088; lean_object* x_1089; lean_object* x_1090; -lean_dec(x_1079); -lean_dec(x_936); -lean_dec(x_1009); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_1088 = lean_ctor_get(x_1087, 0); -lean_inc(x_1088); -if (lean_is_exclusive(x_1087)) { - lean_ctor_release(x_1087, 0); - x_1089 = x_1087; -} else { - lean_dec_ref(x_1087); - x_1089 = lean_box(0); -} -if (lean_is_scalar(x_1089)) { - x_1090 = lean_alloc_ctor(0, 1, 0); -} else { - x_1090 = x_1089; -} -lean_ctor_set(x_1090, 0, x_1088); -return x_1090; -} -else -{ -lean_object* x_1091; lean_object* x_1092; lean_object* x_1093; lean_object* x_1094; lean_object* x_1095; -x_1091 = lean_ctor_get(x_1087, 0); -lean_inc(x_1091); -if (lean_is_exclusive(x_1087)) { - lean_ctor_release(x_1087, 0); - x_1092 = x_1087; -} else { - lean_dec_ref(x_1087); - x_1092 = lean_box(0); -} -if (lean_is_scalar(x_1079)) { - x_1093 = lean_alloc_ctor(1, 1, 0); -} else { - x_1093 = x_1079; -} -lean_ctor_set(x_1093, 0, x_1091); -x_1094 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1094, 0, x_13); -lean_ctor_set(x_1094, 1, x_20); -lean_ctor_set(x_1094, 2, x_678); -lean_ctor_set(x_1094, 3, x_679); -lean_ctor_set(x_1094, 4, x_680); -lean_ctor_set(x_1094, 5, x_1009); -lean_ctor_set(x_1094, 6, x_936); -lean_ctor_set(x_1094, 7, x_1093); -if (lean_is_scalar(x_1092)) { - x_1095 = lean_alloc_ctor(1, 1, 0); -} else { - x_1095 = x_1092; -} -lean_ctor_set(x_1095, 0, x_1094); -return x_1095; -} -} -else -{ -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_dec(x_1079); -lean_dec(x_936); -lean_dec(x_1009); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_1096 = lean_unsigned_to_nat(80u); -x_1097 = l_Lean_Json_pretty(x_1078, x_1096); -x_1098 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1099 = lean_string_append(x_1098, x_1097); -lean_dec(x_1097); -x_1100 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1101 = lean_string_append(x_1099, x_1100); -x_1102 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1102, 0, x_1101); -return x_1102; -} } } } } else { -uint8_t x_1103; +lean_object* x_1101; lean_object* x_1102; size_t x_1103; lean_object* x_1104; +x_1101 = lean_ctor_get(x_1020, 0); +lean_inc(x_1101); +lean_dec(x_1020); +x_1102 = lean_array_get_size(x_1101); +x_1103 = lean_usize_of_nat(x_1102); +lean_dec(x_1102); +x_1104 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1103, x_1019, x_1101, x_3); +if (lean_obj_tag(x_1104) == 0) +{ +lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; +lean_dec(x_1015); lean_free_object(x_936); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_1103 = !lean_is_exclusive(x_932); -if (x_1103 == 0) +x_1105 = lean_ctor_get(x_1104, 0); +lean_inc(x_1105); +if (lean_is_exclusive(x_1104)) { + lean_ctor_release(x_1104, 0); + x_1106 = x_1104; +} else { + lean_dec_ref(x_1104); + x_1106 = lean_box(0); +} +if (lean_is_scalar(x_1106)) { + x_1107 = lean_alloc_ctor(0, 1, 0); +} else { + x_1107 = x_1106; +} +lean_ctor_set(x_1107, 0, x_1105); +return x_1107; +} +else { -lean_object* x_1104; lean_object* x_1105; lean_object* x_1106; lean_object* x_1107; lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; -x_1104 = lean_ctor_get(x_932, 0); -lean_dec(x_1104); -x_1105 = lean_unsigned_to_nat(80u); -x_1106 = l_Lean_Json_pretty(x_1008, x_1105); -x_1107 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1108 = lean_string_append(x_1107, x_1106); -lean_dec(x_1106); -x_1109 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1110 = lean_string_append(x_1108, x_1109); +lean_object* x_1108; lean_object* x_1109; lean_object* x_1110; lean_object* x_1127; +x_1108 = lean_ctor_get(x_1104, 0); +lean_inc(x_1108); +if (lean_is_exclusive(x_1104)) { + lean_ctor_release(x_1104, 0); + x_1109 = x_1104; +} else { + lean_dec_ref(x_1104); + x_1109 = lean_box(0); +} +lean_ctor_set(x_936, 0, x_1108); +x_1127 = lean_ctor_get(x_5, 7); +lean_inc(x_1127); +if (lean_obj_tag(x_1127) == 0) +{ +x_1110 = x_927; +goto block_1126; +} +else +{ +lean_object* x_1128; lean_object* x_1129; +x_1128 = lean_ctor_get(x_1127, 0); +lean_inc(x_1128); +if (lean_is_exclusive(x_1127)) { + lean_ctor_release(x_1127, 0); + x_1129 = x_1127; +} else { + lean_dec_ref(x_1127); + x_1129 = lean_box(0); +} +if (lean_obj_tag(x_1128) == 4) +{ +lean_object* x_1130; lean_object* x_1131; size_t x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; size_t x_1136; lean_object* x_1137; +x_1130 = lean_ctor_get(x_1128, 0); +lean_inc(x_1130); +lean_dec(x_1128); +x_1131 = lean_array_get_size(x_1130); +x_1132 = lean_usize_of_nat(x_1131); +lean_dec(x_1131); +x_1133 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1132, x_1019, x_1130); +x_1134 = lean_ctor_get(x_1133, 0); +lean_inc(x_1134); +lean_dec(x_1133); +x_1135 = lean_array_get_size(x_1134); +x_1136 = lean_usize_of_nat(x_1135); +lean_dec(x_1135); +x_1137 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1136, x_1019, x_1134, x_3); +if (lean_obj_tag(x_1137) == 0) +{ +lean_object* x_1138; lean_object* x_1139; lean_object* x_1140; +lean_dec(x_1129); +lean_dec(x_936); +lean_dec(x_1109); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1138 = lean_ctor_get(x_1137, 0); +lean_inc(x_1138); +if (lean_is_exclusive(x_1137)) { + lean_ctor_release(x_1137, 0); + x_1139 = x_1137; +} else { + lean_dec_ref(x_1137); + x_1139 = lean_box(0); +} +if (lean_is_scalar(x_1139)) { + x_1140 = lean_alloc_ctor(0, 1, 0); +} else { + x_1140 = x_1139; +} +lean_ctor_set(x_1140, 0, x_1138); +return x_1140; +} +else +{ +lean_object* x_1141; lean_object* x_1142; +x_1141 = lean_ctor_get(x_1137, 0); +lean_inc(x_1141); +lean_dec(x_1137); +if (lean_is_scalar(x_1129)) { + x_1142 = lean_alloc_ctor(1, 1, 0); +} else { + x_1142 = x_1129; +} +lean_ctor_set(x_1142, 0, x_1141); +x_1110 = x_1142; +goto block_1126; +} +} +else +{ +lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; lean_object* x_1146; lean_object* x_1147; lean_object* x_1148; lean_object* x_1149; +lean_dec(x_1129); +lean_dec(x_936); +lean_dec(x_1109); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1143 = lean_unsigned_to_nat(80u); +x_1144 = l_Lean_Json_pretty(x_1128, x_1143); +x_1145 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1146 = lean_string_append(x_1145, x_1144); +lean_dec(x_1144); +x_1147 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1148 = lean_string_append(x_1146, x_1147); +x_1149 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1149, 0, x_1148); +return x_1149; +} +} +block_1126: +{ +lean_object* x_1111; +x_1111 = lean_ctor_get(x_5, 8); +lean_inc(x_1111); +lean_dec(x_5); +if (lean_obj_tag(x_1111) == 0) +{ +lean_object* x_1112; lean_object* x_1113; +lean_dec(x_3); +x_1112 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1112, 0, x_13); +lean_ctor_set(x_1112, 1, x_15); +lean_ctor_set(x_1112, 2, x_927); +lean_ctor_set(x_1112, 3, x_928); +lean_ctor_set(x_1112, 4, x_927); +lean_ctor_set(x_1112, 5, x_1015); +lean_ctor_set(x_1112, 6, x_936); +lean_ctor_set(x_1112, 7, x_1110); +lean_ctor_set(x_1112, 8, x_927); +if (lean_is_scalar(x_1109)) { + x_1113 = lean_alloc_ctor(1, 1, 0); +} else { + x_1113 = x_1109; +} +lean_ctor_set(x_1113, 0, x_1112); +return x_1113; +} +else +{ +lean_object* x_1114; lean_object* x_1115; lean_object* x_1116; lean_object* x_1117; +x_1114 = lean_ctor_get(x_1111, 0); +lean_inc(x_1114); +if (lean_is_exclusive(x_1111)) { + lean_ctor_release(x_1111, 0); + x_1115 = x_1111; +} else { + lean_dec_ref(x_1111); + x_1115 = lean_box(0); +} +if (lean_is_scalar(x_1109)) { + x_1116 = lean_alloc_ctor(1, 1, 0); +} else { + x_1116 = x_1109; +} +lean_ctor_set(x_1116, 0, x_1114); +x_1117 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1116, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1117) == 0) +{ +lean_object* x_1118; lean_object* x_1119; lean_object* x_1120; +lean_dec(x_1115); +lean_dec(x_1110); +lean_dec(x_936); +lean_dec(x_1015); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1118 = lean_ctor_get(x_1117, 0); +lean_inc(x_1118); +if (lean_is_exclusive(x_1117)) { + lean_ctor_release(x_1117, 0); + x_1119 = x_1117; +} else { + lean_dec_ref(x_1117); + x_1119 = lean_box(0); +} +if (lean_is_scalar(x_1119)) { + x_1120 = lean_alloc_ctor(0, 1, 0); +} else { + x_1120 = x_1119; +} +lean_ctor_set(x_1120, 0, x_1118); +return x_1120; +} +else +{ +lean_object* x_1121; lean_object* x_1122; lean_object* x_1123; lean_object* x_1124; lean_object* x_1125; +x_1121 = lean_ctor_get(x_1117, 0); +lean_inc(x_1121); +if (lean_is_exclusive(x_1117)) { + lean_ctor_release(x_1117, 0); + x_1122 = x_1117; +} else { + lean_dec_ref(x_1117); + x_1122 = lean_box(0); +} +if (lean_is_scalar(x_1115)) { + x_1123 = lean_alloc_ctor(1, 1, 0); +} else { + x_1123 = x_1115; +} +lean_ctor_set(x_1123, 0, x_1121); +x_1124 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1124, 0, x_13); +lean_ctor_set(x_1124, 1, x_15); +lean_ctor_set(x_1124, 2, x_927); +lean_ctor_set(x_1124, 3, x_928); +lean_ctor_set(x_1124, 4, x_927); +lean_ctor_set(x_1124, 5, x_1015); +lean_ctor_set(x_1124, 6, x_936); +lean_ctor_set(x_1124, 7, x_1110); +lean_ctor_set(x_1124, 8, x_1123); +if (lean_is_scalar(x_1122)) { + x_1125 = lean_alloc_ctor(1, 1, 0); +} else { + x_1125 = x_1122; +} +lean_ctor_set(x_1125, 0, x_1124); +return x_1125; +} +} +} +} +} +} +else +{ +uint8_t x_1150; +lean_free_object(x_936); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1150 = !lean_is_exclusive(x_932); +if (x_1150 == 0) +{ +lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; lean_object* x_1156; lean_object* x_1157; +x_1151 = lean_ctor_get(x_932, 0); +lean_dec(x_1151); +x_1152 = lean_unsigned_to_nat(80u); +x_1153 = l_Lean_Json_pretty(x_1014, x_1152); +x_1154 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1155 = lean_string_append(x_1154, x_1153); +lean_dec(x_1153); +x_1156 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1157 = lean_string_append(x_1155, x_1156); lean_ctor_set_tag(x_932, 0); -lean_ctor_set(x_932, 0, x_1110); +lean_ctor_set(x_932, 0, x_1157); return x_932; } else { -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_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_dec(x_932); -x_1111 = lean_unsigned_to_nat(80u); -x_1112 = l_Lean_Json_pretty(x_1008, x_1111); -x_1113 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1114 = lean_string_append(x_1113, x_1112); -lean_dec(x_1112); -x_1115 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1116 = lean_string_append(x_1114, x_1115); -x_1117 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1117, 0, x_1116); -return x_1117; +x_1158 = lean_unsigned_to_nat(80u); +x_1159 = l_Lean_Json_pretty(x_1014, x_1158); +x_1160 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1161 = lean_string_append(x_1160, x_1159); +lean_dec(x_1159); +x_1162 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1163 = lean_string_append(x_1161, x_1162); +x_1164 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1164, 0, x_1163); +return x_1164; } } } else { -lean_object* x_1118; -x_1118 = lean_ctor_get(x_936, 0); -lean_inc(x_1118); +lean_object* x_1165; +x_1165 = lean_ctor_get(x_936, 0); +lean_inc(x_1165); lean_dec(x_936); -if (lean_obj_tag(x_1118) == 4) +if (lean_obj_tag(x_1165) == 4) { -lean_object* x_1119; lean_object* x_1120; lean_object* x_1121; size_t x_1122; size_t x_1123; lean_object* x_1124; lean_object* x_1125; lean_object* x_1126; size_t x_1127; lean_object* x_1128; -x_1119 = lean_ctor_get(x_932, 0); -lean_inc(x_1119); +lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; size_t x_1169; size_t x_1170; lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; lean_object* x_1174; size_t x_1175; lean_object* x_1176; +x_1166 = lean_ctor_get(x_932, 0); +lean_inc(x_1166); lean_dec(x_932); -x_1120 = lean_ctor_get(x_1118, 0); -lean_inc(x_1120); -lean_dec(x_1118); -x_1121 = lean_array_get_size(x_1120); -x_1122 = lean_usize_of_nat(x_1121); -lean_dec(x_1121); -x_1123 = 0; -x_1124 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1122, x_1123, x_1120); -x_1125 = lean_ctor_get(x_1124, 0); -lean_inc(x_1125); -lean_dec(x_1124); -x_1126 = lean_array_get_size(x_1125); -x_1127 = lean_usize_of_nat(x_1126); -lean_dec(x_1126); -x_1128 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1127, x_1123, x_1125, x_3); -if (lean_obj_tag(x_1128) == 0) +x_1167 = lean_ctor_get(x_1165, 0); +lean_inc(x_1167); +lean_dec(x_1165); +x_1168 = lean_array_get_size(x_1167); +x_1169 = lean_usize_of_nat(x_1168); +lean_dec(x_1168); +x_1170 = 0; +x_1171 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1169, x_1170, x_1167); +x_1172 = lean_ctor_get(x_1171, 0); +lean_inc(x_1172); +if (lean_is_exclusive(x_1171)) { + lean_ctor_release(x_1171, 0); + x_1173 = x_1171; +} else { + lean_dec_ref(x_1171); + x_1173 = lean_box(0); +} +x_1174 = lean_array_get_size(x_1172); +x_1175 = lean_usize_of_nat(x_1174); +lean_dec(x_1174); +x_1176 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1175, x_1170, x_1172, x_3); +if (lean_obj_tag(x_1176) == 0) { -lean_object* x_1129; lean_object* x_1130; lean_object* x_1131; -lean_dec(x_1119); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; +lean_dec(x_1173); +lean_dec(x_1166); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_1129 = lean_ctor_get(x_1128, 0); -lean_inc(x_1129); -if (lean_is_exclusive(x_1128)) { - lean_ctor_release(x_1128, 0); - x_1130 = x_1128; +x_1177 = lean_ctor_get(x_1176, 0); +lean_inc(x_1177); +if (lean_is_exclusive(x_1176)) { + lean_ctor_release(x_1176, 0); + x_1178 = x_1176; } else { - lean_dec_ref(x_1128); - x_1130 = lean_box(0); + lean_dec_ref(x_1176); + x_1178 = lean_box(0); } -if (lean_is_scalar(x_1130)) { - x_1131 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1178)) { + x_1179 = lean_alloc_ctor(0, 1, 0); } else { - x_1131 = x_1130; + x_1179 = x_1178; } -lean_ctor_set(x_1131, 0, x_1129); -return x_1131; +lean_ctor_set(x_1179, 0, x_1177); +return x_1179; } else { -lean_object* x_1132; lean_object* x_1133; lean_object* x_1134; lean_object* x_1135; -x_1132 = lean_ctor_get(x_1128, 0); -lean_inc(x_1132); -if (lean_is_exclusive(x_1128)) { - lean_ctor_release(x_1128, 0); - x_1133 = x_1128; +lean_object* x_1180; lean_object* x_1181; lean_object* x_1182; lean_object* x_1183; lean_object* x_1200; +x_1180 = lean_ctor_get(x_1176, 0); +lean_inc(x_1180); +if (lean_is_exclusive(x_1176)) { + lean_ctor_release(x_1176, 0); + x_1181 = x_1176; } else { - lean_dec_ref(x_1128); - x_1133 = lean_box(0); + lean_dec_ref(x_1176); + x_1181 = lean_box(0); } -x_1134 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1134, 0, x_1132); -x_1135 = lean_ctor_get(x_5, 7); -lean_inc(x_1135); +x_1182 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1182, 0, x_1180); +x_1200 = lean_ctor_get(x_5, 7); +lean_inc(x_1200); +if (lean_obj_tag(x_1200) == 0) +{ +lean_dec(x_1173); +x_1183 = x_927; +goto block_1199; +} +else +{ +lean_object* x_1201; lean_object* x_1202; +x_1201 = lean_ctor_get(x_1200, 0); +lean_inc(x_1201); +if (lean_is_exclusive(x_1200)) { + lean_ctor_release(x_1200, 0); + x_1202 = x_1200; +} else { + lean_dec_ref(x_1200); + x_1202 = lean_box(0); +} +if (lean_obj_tag(x_1201) == 4) +{ +lean_object* x_1203; lean_object* x_1204; size_t x_1205; lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; size_t x_1209; lean_object* x_1210; +lean_dec(x_1173); +x_1203 = lean_ctor_get(x_1201, 0); +lean_inc(x_1203); +lean_dec(x_1201); +x_1204 = lean_array_get_size(x_1203); +x_1205 = lean_usize_of_nat(x_1204); +lean_dec(x_1204); +x_1206 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1205, x_1170, x_1203); +x_1207 = lean_ctor_get(x_1206, 0); +lean_inc(x_1207); +lean_dec(x_1206); +x_1208 = lean_array_get_size(x_1207); +x_1209 = lean_usize_of_nat(x_1208); +lean_dec(x_1208); +x_1210 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1209, x_1170, x_1207, x_3); +if (lean_obj_tag(x_1210) == 0) +{ +lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; +lean_dec(x_1202); +lean_dec(x_1182); +lean_dec(x_1181); +lean_dec(x_1166); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_5); -if (lean_obj_tag(x_1135) == 0) -{ -lean_object* x_1136; lean_object* x_1137; lean_dec(x_3); -x_1136 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1136, 0, x_13); -lean_ctor_set(x_1136, 1, x_20); -lean_ctor_set(x_1136, 2, x_678); -lean_ctor_set(x_1136, 3, x_679); -lean_ctor_set(x_1136, 4, x_680); -lean_ctor_set(x_1136, 5, x_1119); -lean_ctor_set(x_1136, 6, x_1134); -lean_ctor_set(x_1136, 7, x_678); -if (lean_is_scalar(x_1133)) { - x_1137 = lean_alloc_ctor(1, 1, 0); +x_1211 = lean_ctor_get(x_1210, 0); +lean_inc(x_1211); +if (lean_is_exclusive(x_1210)) { + lean_ctor_release(x_1210, 0); + x_1212 = x_1210; } else { - x_1137 = x_1133; + lean_dec_ref(x_1210); + x_1212 = lean_box(0); } -lean_ctor_set(x_1137, 0, x_1136); -return x_1137; +if (lean_is_scalar(x_1212)) { + x_1213 = lean_alloc_ctor(0, 1, 0); +} else { + x_1213 = x_1212; +} +lean_ctor_set(x_1213, 0, x_1211); +return x_1213; } else { -lean_object* x_1138; lean_object* x_1139; -x_1138 = lean_ctor_get(x_1135, 0); -lean_inc(x_1138); -if (lean_is_exclusive(x_1135)) { - lean_ctor_release(x_1135, 0); - x_1139 = x_1135; +lean_object* x_1214; lean_object* x_1215; +x_1214 = lean_ctor_get(x_1210, 0); +lean_inc(x_1214); +lean_dec(x_1210); +if (lean_is_scalar(x_1202)) { + x_1215 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_1135); - x_1139 = lean_box(0); + x_1215 = x_1202; } -if (lean_obj_tag(x_1138) == 4) +lean_ctor_set(x_1215, 0, x_1214); +x_1183 = x_1215; +goto block_1199; +} +} +else { -lean_object* x_1140; lean_object* x_1141; size_t x_1142; lean_object* x_1143; lean_object* x_1144; lean_object* x_1145; size_t x_1146; lean_object* x_1147; -lean_dec(x_1133); -x_1140 = lean_ctor_get(x_1138, 0); -lean_inc(x_1140); -lean_dec(x_1138); -x_1141 = lean_array_get_size(x_1140); -x_1142 = lean_usize_of_nat(x_1141); -lean_dec(x_1141); -x_1143 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1142, x_1123, x_1140); -x_1144 = lean_ctor_get(x_1143, 0); -lean_inc(x_1144); -lean_dec(x_1143); -x_1145 = lean_array_get_size(x_1144); -x_1146 = lean_usize_of_nat(x_1145); -lean_dec(x_1145); -x_1147 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1146, x_1123, x_1144, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1147) == 0) -{ -lean_object* x_1148; lean_object* x_1149; lean_object* x_1150; -lean_dec(x_1139); -lean_dec(x_1134); -lean_dec(x_1119); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_1148 = lean_ctor_get(x_1147, 0); -lean_inc(x_1148); -if (lean_is_exclusive(x_1147)) { - lean_ctor_release(x_1147, 0); - x_1149 = x_1147; -} else { - lean_dec_ref(x_1147); - x_1149 = lean_box(0); -} -if (lean_is_scalar(x_1149)) { - x_1150 = lean_alloc_ctor(0, 1, 0); -} else { - x_1150 = x_1149; -} -lean_ctor_set(x_1150, 0, x_1148); -return x_1150; -} -else -{ -lean_object* x_1151; lean_object* x_1152; lean_object* x_1153; lean_object* x_1154; lean_object* x_1155; -x_1151 = lean_ctor_get(x_1147, 0); -lean_inc(x_1151); -if (lean_is_exclusive(x_1147)) { - lean_ctor_release(x_1147, 0); - x_1152 = x_1147; -} else { - lean_dec_ref(x_1147); - x_1152 = lean_box(0); -} -if (lean_is_scalar(x_1139)) { - x_1153 = lean_alloc_ctor(1, 1, 0); -} else { - x_1153 = x_1139; -} -lean_ctor_set(x_1153, 0, x_1151); -x_1154 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1154, 0, x_13); -lean_ctor_set(x_1154, 1, x_20); -lean_ctor_set(x_1154, 2, x_678); -lean_ctor_set(x_1154, 3, x_679); -lean_ctor_set(x_1154, 4, x_680); -lean_ctor_set(x_1154, 5, x_1119); -lean_ctor_set(x_1154, 6, x_1134); -lean_ctor_set(x_1154, 7, x_1153); -if (lean_is_scalar(x_1152)) { - x_1155 = lean_alloc_ctor(1, 1, 0); -} else { - x_1155 = x_1152; -} -lean_ctor_set(x_1155, 0, x_1154); -return x_1155; -} -} -else -{ -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_dec(x_1139); -lean_dec(x_1134); -lean_dec(x_1119); -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; lean_object* x_1219; lean_object* x_1220; lean_object* x_1221; lean_object* x_1222; +lean_dec(x_1202); +lean_dec(x_1182); +lean_dec(x_1181); +lean_dec(x_1166); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); +lean_dec(x_5); lean_dec(x_3); -x_1156 = lean_unsigned_to_nat(80u); -x_1157 = l_Lean_Json_pretty(x_1138, x_1156); -x_1158 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1159 = lean_string_append(x_1158, x_1157); -lean_dec(x_1157); -x_1160 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1161 = lean_string_append(x_1159, x_1160); -if (lean_is_scalar(x_1133)) { - x_1162 = lean_alloc_ctor(0, 1, 0); +x_1216 = lean_unsigned_to_nat(80u); +x_1217 = l_Lean_Json_pretty(x_1201, x_1216); +x_1218 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1219 = lean_string_append(x_1218, x_1217); +lean_dec(x_1217); +x_1220 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1221 = lean_string_append(x_1219, x_1220); +if (lean_is_scalar(x_1173)) { + x_1222 = lean_alloc_ctor(0, 1, 0); } else { - x_1162 = x_1133; - lean_ctor_set_tag(x_1162, 0); + x_1222 = x_1173; + lean_ctor_set_tag(x_1222, 0); +} +lean_ctor_set(x_1222, 0, x_1221); +return x_1222; +} +} +block_1199: +{ +lean_object* x_1184; +x_1184 = lean_ctor_get(x_5, 8); +lean_inc(x_1184); +lean_dec(x_5); +if (lean_obj_tag(x_1184) == 0) +{ +lean_object* x_1185; lean_object* x_1186; +lean_dec(x_3); +x_1185 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1185, 0, x_13); +lean_ctor_set(x_1185, 1, x_15); +lean_ctor_set(x_1185, 2, x_927); +lean_ctor_set(x_1185, 3, x_928); +lean_ctor_set(x_1185, 4, x_927); +lean_ctor_set(x_1185, 5, x_1166); +lean_ctor_set(x_1185, 6, x_1182); +lean_ctor_set(x_1185, 7, x_1183); +lean_ctor_set(x_1185, 8, x_927); +if (lean_is_scalar(x_1181)) { + x_1186 = lean_alloc_ctor(1, 1, 0); +} else { + x_1186 = x_1181; +} +lean_ctor_set(x_1186, 0, x_1185); +return x_1186; +} +else +{ +lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; +x_1187 = lean_ctor_get(x_1184, 0); +lean_inc(x_1187); +if (lean_is_exclusive(x_1184)) { + lean_ctor_release(x_1184, 0); + x_1188 = x_1184; +} else { + lean_dec_ref(x_1184); + x_1188 = lean_box(0); +} +if (lean_is_scalar(x_1181)) { + x_1189 = lean_alloc_ctor(1, 1, 0); +} else { + x_1189 = x_1181; +} +lean_ctor_set(x_1189, 0, x_1187); +x_1190 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1189, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1190) == 0) +{ +lean_object* x_1191; lean_object* x_1192; lean_object* x_1193; +lean_dec(x_1188); +lean_dec(x_1183); +lean_dec(x_1182); +lean_dec(x_1166); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1191 = lean_ctor_get(x_1190, 0); +lean_inc(x_1191); +if (lean_is_exclusive(x_1190)) { + lean_ctor_release(x_1190, 0); + x_1192 = x_1190; +} else { + lean_dec_ref(x_1190); + x_1192 = lean_box(0); +} +if (lean_is_scalar(x_1192)) { + x_1193 = lean_alloc_ctor(0, 1, 0); +} else { + x_1193 = x_1192; +} +lean_ctor_set(x_1193, 0, x_1191); +return x_1193; +} +else +{ +lean_object* x_1194; lean_object* x_1195; lean_object* x_1196; lean_object* x_1197; lean_object* x_1198; +x_1194 = lean_ctor_get(x_1190, 0); +lean_inc(x_1194); +if (lean_is_exclusive(x_1190)) { + lean_ctor_release(x_1190, 0); + x_1195 = x_1190; +} else { + lean_dec_ref(x_1190); + x_1195 = lean_box(0); +} +if (lean_is_scalar(x_1188)) { + x_1196 = lean_alloc_ctor(1, 1, 0); +} else { + x_1196 = x_1188; +} +lean_ctor_set(x_1196, 0, x_1194); +x_1197 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1197, 0, x_13); +lean_ctor_set(x_1197, 1, x_15); +lean_ctor_set(x_1197, 2, x_927); +lean_ctor_set(x_1197, 3, x_928); +lean_ctor_set(x_1197, 4, x_927); +lean_ctor_set(x_1197, 5, x_1166); +lean_ctor_set(x_1197, 6, x_1182); +lean_ctor_set(x_1197, 7, x_1183); +lean_ctor_set(x_1197, 8, x_1196); +if (lean_is_scalar(x_1195)) { + x_1198 = lean_alloc_ctor(1, 1, 0); +} else { + x_1198 = x_1195; +} +lean_ctor_set(x_1198, 0, x_1197); +return x_1198; } -lean_ctor_set(x_1162, 0, x_1161); -return x_1162; } } } } else { -lean_object* x_1163; lean_object* x_1164; lean_object* x_1165; lean_object* x_1166; lean_object* x_1167; lean_object* x_1168; lean_object* x_1169; lean_object* x_1170; -lean_dec(x_680); -lean_dec(x_679); -lean_dec(x_20); +lean_object* x_1223; lean_object* x_1224; lean_object* x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; lean_object* x_1229; lean_object* x_1230; +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); if (lean_is_exclusive(x_932)) { lean_ctor_release(x_932, 0); - x_1163 = x_932; + x_1223 = x_932; } else { lean_dec_ref(x_932); - x_1163 = lean_box(0); + x_1223 = lean_box(0); } -x_1164 = lean_unsigned_to_nat(80u); -x_1165 = l_Lean_Json_pretty(x_1118, x_1164); -x_1166 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1167 = lean_string_append(x_1166, x_1165); -lean_dec(x_1165); -x_1168 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1169 = lean_string_append(x_1167, x_1168); -if (lean_is_scalar(x_1163)) { - x_1170 = lean_alloc_ctor(0, 1, 0); +x_1224 = lean_unsigned_to_nat(80u); +x_1225 = l_Lean_Json_pretty(x_1165, x_1224); +x_1226 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1227 = lean_string_append(x_1226, x_1225); +lean_dec(x_1225); +x_1228 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1229 = lean_string_append(x_1227, x_1228); +if (lean_is_scalar(x_1223)) { + x_1230 = lean_alloc_ctor(0, 1, 0); } else { - x_1170 = x_1163; - lean_ctor_set_tag(x_1170, 0); -} -lean_ctor_set(x_1170, 0, x_1169); -return x_1170; + x_1230 = x_1223; + lean_ctor_set_tag(x_1230, 0); } +lean_ctor_set(x_1230, 0, x_1229); +return x_1230; } } } @@ -7945,1233 +7632,995 @@ return x_1170; } else { -lean_object* x_1171; lean_object* x_1172; lean_object* x_1173; -x_1171 = lean_ctor_get(x_680, 0); -lean_inc(x_1171); -lean_dec(x_680); -x_1172 = l_Lean_Json_getStr_x3f(x_1171); -lean_dec(x_1171); -x_1173 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_1172, x_3); -if (lean_obj_tag(x_1173) == 0) +uint8_t x_1231; +x_1231 = !lean_is_exclusive(x_929); +if (x_1231 == 0) { -lean_object* x_1174; lean_object* x_1175; lean_object* x_1176; -lean_dec(x_679); -lean_dec(x_20); +lean_object* x_1232; lean_object* x_1233; lean_object* x_1234; +x_1232 = lean_ctor_get(x_929, 0); +x_1233 = l_Lean_Json_getStr_x3f(x_1232); +lean_dec(x_1232); +x_1234 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_1233, x_3); +if (lean_obj_tag(x_1234) == 0) +{ +uint8_t x_1235; +lean_free_object(x_929); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1174 = lean_ctor_get(x_1173, 0); -lean_inc(x_1174); -if (lean_is_exclusive(x_1173)) { - lean_ctor_release(x_1173, 0); - x_1175 = x_1173; -} else { - lean_dec_ref(x_1173); - x_1175 = lean_box(0); -} -if (lean_is_scalar(x_1175)) { - x_1176 = lean_alloc_ctor(0, 1, 0); -} else { - x_1176 = x_1175; -} -lean_ctor_set(x_1176, 0, x_1174); -return x_1176; +x_1235 = !lean_is_exclusive(x_1234); +if (x_1235 == 0) +{ +return x_1234; } else { -lean_object* x_1177; lean_object* x_1178; lean_object* x_1179; lean_object* x_1180; lean_object* x_1181; -x_1177 = lean_ctor_get(x_1173, 0); -lean_inc(x_1177); -lean_dec(x_1173); -x_1178 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1178, 0, x_1177); -x_1179 = lean_ctor_get(x_1, 1); -lean_inc(x_1179); -lean_dec(x_1); -x_1180 = lean_ctor_get(x_5, 5); -lean_inc(x_1180); -lean_inc(x_3); -x_1181 = lean_apply_2(x_1179, x_1180, x_3); -if (lean_obj_tag(x_1181) == 0) -{ -lean_object* x_1182; lean_object* x_1183; lean_object* x_1184; -lean_dec(x_1178); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_1182 = lean_ctor_get(x_1181, 0); -lean_inc(x_1182); -if (lean_is_exclusive(x_1181)) { - lean_ctor_release(x_1181, 0); - x_1183 = x_1181; -} else { - lean_dec_ref(x_1181); - x_1183 = lean_box(0); -} -if (lean_is_scalar(x_1183)) { - x_1184 = lean_alloc_ctor(0, 1, 0); -} else { - x_1184 = x_1183; -} -lean_ctor_set(x_1184, 0, x_1182); -return x_1184; -} -else -{ -lean_object* x_1185; -x_1185 = lean_ctor_get(x_5, 6); -lean_inc(x_1185); -if (lean_obj_tag(x_1185) == 0) -{ -lean_object* x_1186; -x_1186 = lean_ctor_get(x_5, 7); -lean_inc(x_1186); -lean_dec(x_5); -if (lean_obj_tag(x_1186) == 0) -{ -lean_object* x_1187; lean_object* x_1188; lean_object* x_1189; lean_object* x_1190; -lean_dec(x_3); -x_1187 = lean_ctor_get(x_1181, 0); -lean_inc(x_1187); -if (lean_is_exclusive(x_1181)) { - lean_ctor_release(x_1181, 0); - x_1188 = x_1181; -} else { - lean_dec_ref(x_1181); - x_1188 = lean_box(0); -} -x_1189 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1189, 0, x_13); -lean_ctor_set(x_1189, 1, x_20); -lean_ctor_set(x_1189, 2, x_678); -lean_ctor_set(x_1189, 3, x_679); -lean_ctor_set(x_1189, 4, x_1178); -lean_ctor_set(x_1189, 5, x_1187); -lean_ctor_set(x_1189, 6, x_678); -lean_ctor_set(x_1189, 7, x_678); -if (lean_is_scalar(x_1188)) { - x_1190 = lean_alloc_ctor(1, 1, 0); -} else { - x_1190 = x_1188; -} -lean_ctor_set(x_1190, 0, x_1189); -return x_1190; -} -else -{ -lean_object* x_1191; lean_object* x_1192; -x_1191 = lean_ctor_get(x_1186, 0); -lean_inc(x_1191); -if (lean_is_exclusive(x_1186)) { - lean_ctor_release(x_1186, 0); - x_1192 = x_1186; -} else { - lean_dec_ref(x_1186); - x_1192 = lean_box(0); -} -if (lean_obj_tag(x_1191) == 4) -{ -lean_object* x_1193; lean_object* x_1194; lean_object* x_1195; size_t x_1196; size_t x_1197; lean_object* x_1198; lean_object* x_1199; lean_object* x_1200; size_t x_1201; lean_object* x_1202; -x_1193 = lean_ctor_get(x_1181, 0); -lean_inc(x_1193); -lean_dec(x_1181); -x_1194 = lean_ctor_get(x_1191, 0); -lean_inc(x_1194); -lean_dec(x_1191); -x_1195 = lean_array_get_size(x_1194); -x_1196 = lean_usize_of_nat(x_1195); -lean_dec(x_1195); -x_1197 = 0; -x_1198 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1196, x_1197, x_1194); -x_1199 = lean_ctor_get(x_1198, 0); -lean_inc(x_1199); -lean_dec(x_1198); -x_1200 = lean_array_get_size(x_1199); -x_1201 = lean_usize_of_nat(x_1200); -lean_dec(x_1200); -x_1202 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1201, x_1197, x_1199, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1202) == 0) -{ -lean_object* x_1203; lean_object* x_1204; lean_object* x_1205; -lean_dec(x_1193); -lean_dec(x_1192); -lean_dec(x_1178); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -x_1203 = lean_ctor_get(x_1202, 0); -lean_inc(x_1203); -if (lean_is_exclusive(x_1202)) { - lean_ctor_release(x_1202, 0); - x_1204 = x_1202; -} else { - lean_dec_ref(x_1202); - x_1204 = lean_box(0); -} -if (lean_is_scalar(x_1204)) { - x_1205 = lean_alloc_ctor(0, 1, 0); -} else { - x_1205 = x_1204; -} -lean_ctor_set(x_1205, 0, x_1203); -return x_1205; -} -else -{ -lean_object* x_1206; lean_object* x_1207; lean_object* x_1208; lean_object* x_1209; lean_object* x_1210; -x_1206 = lean_ctor_get(x_1202, 0); -lean_inc(x_1206); -if (lean_is_exclusive(x_1202)) { - lean_ctor_release(x_1202, 0); - x_1207 = x_1202; -} else { - lean_dec_ref(x_1202); - x_1207 = lean_box(0); -} -if (lean_is_scalar(x_1192)) { - x_1208 = lean_alloc_ctor(1, 1, 0); -} else { - x_1208 = x_1192; -} -lean_ctor_set(x_1208, 0, x_1206); -x_1209 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1209, 0, x_13); -lean_ctor_set(x_1209, 1, x_20); -lean_ctor_set(x_1209, 2, x_678); -lean_ctor_set(x_1209, 3, x_679); -lean_ctor_set(x_1209, 4, x_1178); -lean_ctor_set(x_1209, 5, x_1193); -lean_ctor_set(x_1209, 6, x_678); -lean_ctor_set(x_1209, 7, x_1208); -if (lean_is_scalar(x_1207)) { - x_1210 = lean_alloc_ctor(1, 1, 0); -} else { - x_1210 = x_1207; -} -lean_ctor_set(x_1210, 0, x_1209); -return x_1210; +lean_object* x_1236; lean_object* x_1237; +x_1236 = lean_ctor_get(x_1234, 0); +lean_inc(x_1236); +lean_dec(x_1234); +x_1237 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1237, 0, x_1236); +return x_1237; } } else { -lean_object* x_1211; lean_object* x_1212; lean_object* x_1213; lean_object* x_1214; lean_object* x_1215; lean_object* x_1216; lean_object* x_1217; lean_object* x_1218; -lean_dec(x_1192); -lean_dec(x_1178); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -if (lean_is_exclusive(x_1181)) { - lean_ctor_release(x_1181, 0); - x_1211 = x_1181; -} else { - lean_dec_ref(x_1181); - x_1211 = lean_box(0); -} -x_1212 = lean_unsigned_to_nat(80u); -x_1213 = l_Lean_Json_pretty(x_1191, x_1212); -x_1214 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1215 = lean_string_append(x_1214, x_1213); -lean_dec(x_1213); -x_1216 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1217 = lean_string_append(x_1215, x_1216); -if (lean_is_scalar(x_1211)) { - x_1218 = lean_alloc_ctor(0, 1, 0); -} else { - x_1218 = x_1211; - lean_ctor_set_tag(x_1218, 0); -} -lean_ctor_set(x_1218, 0, x_1217); -return x_1218; -} -} -} -else +uint8_t x_1238; +x_1238 = !lean_is_exclusive(x_1234); +if (x_1238 == 0) { -lean_object* x_1219; lean_object* x_1220; -x_1219 = lean_ctor_get(x_1185, 0); -lean_inc(x_1219); -if (lean_is_exclusive(x_1185)) { - lean_ctor_release(x_1185, 0); - x_1220 = x_1185; -} else { - lean_dec_ref(x_1185); - x_1220 = lean_box(0); -} -if (lean_obj_tag(x_1219) == 4) -{ -lean_object* x_1221; lean_object* x_1222; lean_object* x_1223; size_t x_1224; size_t x_1225; lean_object* x_1226; lean_object* x_1227; lean_object* x_1228; size_t x_1229; lean_object* x_1230; -x_1221 = lean_ctor_get(x_1181, 0); -lean_inc(x_1221); -lean_dec(x_1181); -x_1222 = lean_ctor_get(x_1219, 0); -lean_inc(x_1222); -lean_dec(x_1219); -x_1223 = lean_array_get_size(x_1222); -x_1224 = lean_usize_of_nat(x_1223); -lean_dec(x_1223); -x_1225 = 0; -x_1226 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1224, x_1225, x_1222); -x_1227 = lean_ctor_get(x_1226, 0); -lean_inc(x_1227); -lean_dec(x_1226); -x_1228 = lean_array_get_size(x_1227); -x_1229 = lean_usize_of_nat(x_1228); -lean_dec(x_1228); -x_1230 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1229, x_1225, x_1227, x_3); -if (lean_obj_tag(x_1230) == 0) -{ -lean_object* x_1231; lean_object* x_1232; lean_object* x_1233; -lean_dec(x_1221); -lean_dec(x_1220); -lean_dec(x_1178); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_1231 = lean_ctor_get(x_1230, 0); -lean_inc(x_1231); -if (lean_is_exclusive(x_1230)) { - lean_ctor_release(x_1230, 0); - x_1232 = x_1230; -} else { - lean_dec_ref(x_1230); - x_1232 = lean_box(0); -} -if (lean_is_scalar(x_1232)) { - x_1233 = lean_alloc_ctor(0, 1, 0); -} else { - x_1233 = x_1232; -} -lean_ctor_set(x_1233, 0, x_1231); -return x_1233; -} -else -{ -lean_object* x_1234; lean_object* x_1235; lean_object* x_1236; lean_object* x_1237; -x_1234 = lean_ctor_get(x_1230, 0); -lean_inc(x_1234); -if (lean_is_exclusive(x_1230)) { - lean_ctor_release(x_1230, 0); - x_1235 = x_1230; -} else { - lean_dec_ref(x_1230); - x_1235 = lean_box(0); -} -if (lean_is_scalar(x_1220)) { - x_1236 = lean_alloc_ctor(1, 1, 0); -} else { - x_1236 = x_1220; -} -lean_ctor_set(x_1236, 0, x_1234); -x_1237 = lean_ctor_get(x_5, 7); -lean_inc(x_1237); -lean_dec(x_5); -if (lean_obj_tag(x_1237) == 0) -{ -lean_object* x_1238; lean_object* x_1239; -lean_dec(x_3); -x_1238 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1238, 0, x_13); -lean_ctor_set(x_1238, 1, x_20); -lean_ctor_set(x_1238, 2, x_678); -lean_ctor_set(x_1238, 3, x_679); -lean_ctor_set(x_1238, 4, x_1178); -lean_ctor_set(x_1238, 5, x_1221); -lean_ctor_set(x_1238, 6, x_1236); -lean_ctor_set(x_1238, 7, x_678); -if (lean_is_scalar(x_1235)) { - x_1239 = lean_alloc_ctor(1, 1, 0); -} else { - x_1239 = x_1235; -} -lean_ctor_set(x_1239, 0, x_1238); -return x_1239; -} -else -{ -lean_object* x_1240; lean_object* x_1241; -x_1240 = lean_ctor_get(x_1237, 0); +lean_object* x_1239; lean_object* x_1240; lean_object* x_1241; lean_object* x_1242; +x_1239 = lean_ctor_get(x_1234, 0); +lean_ctor_set(x_929, 0, x_1239); +x_1240 = lean_ctor_get(x_1, 1); lean_inc(x_1240); -if (lean_is_exclusive(x_1237)) { - lean_ctor_release(x_1237, 0); - x_1241 = x_1237; -} else { - lean_dec_ref(x_1237); - x_1241 = lean_box(0); -} -if (lean_obj_tag(x_1240) == 4) +lean_dec(x_1); +x_1241 = lean_ctor_get(x_5, 5); +lean_inc(x_1241); +lean_inc(x_3); +x_1242 = lean_apply_2(x_1240, x_1241, x_3); +if (lean_obj_tag(x_1242) == 0) { -lean_object* x_1242; lean_object* x_1243; size_t x_1244; lean_object* x_1245; lean_object* x_1246; lean_object* x_1247; size_t x_1248; lean_object* x_1249; -lean_dec(x_1235); -x_1242 = lean_ctor_get(x_1240, 0); -lean_inc(x_1242); -lean_dec(x_1240); -x_1243 = lean_array_get_size(x_1242); -x_1244 = lean_usize_of_nat(x_1243); -lean_dec(x_1243); -x_1245 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1244, x_1225, x_1242); -x_1246 = lean_ctor_get(x_1245, 0); -lean_inc(x_1246); -lean_dec(x_1245); -x_1247 = lean_array_get_size(x_1246); -x_1248 = lean_usize_of_nat(x_1247); -lean_dec(x_1247); -x_1249 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1248, x_1225, x_1246, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1249) == 0) -{ -lean_object* x_1250; lean_object* x_1251; lean_object* x_1252; -lean_dec(x_1241); -lean_dec(x_1236); -lean_dec(x_1221); -lean_dec(x_1178); -lean_dec(x_679); -lean_dec(x_20); +uint8_t x_1243; +lean_dec(x_929); +lean_free_object(x_1234); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); -x_1250 = lean_ctor_get(x_1249, 0); +lean_dec(x_5); +lean_dec(x_3); +x_1243 = !lean_is_exclusive(x_1242); +if (x_1243 == 0) +{ +return x_1242; +} +else +{ +lean_object* x_1244; lean_object* x_1245; +x_1244 = lean_ctor_get(x_1242, 0); +lean_inc(x_1244); +lean_dec(x_1242); +x_1245 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1245, 0, x_1244); +return x_1245; +} +} +else +{ +lean_object* x_1246; +x_1246 = lean_ctor_get(x_5, 6); +lean_inc(x_1246); +if (lean_obj_tag(x_1246) == 0) +{ +lean_object* x_1247; lean_object* x_1248; lean_object* x_1249; lean_object* x_1278; +x_1247 = lean_ctor_get(x_1242, 0); +lean_inc(x_1247); +if (lean_is_exclusive(x_1242)) { + lean_ctor_release(x_1242, 0); + x_1248 = x_1242; +} else { + lean_dec_ref(x_1242); + x_1248 = lean_box(0); +} +x_1278 = lean_ctor_get(x_5, 7); +lean_inc(x_1278); +if (lean_obj_tag(x_1278) == 0) +{ +lean_free_object(x_1234); +x_1249 = x_927; +goto block_1277; +} +else +{ +uint8_t x_1279; +x_1279 = !lean_is_exclusive(x_1278); +if (x_1279 == 0) +{ +lean_object* x_1280; +x_1280 = lean_ctor_get(x_1278, 0); +if (lean_obj_tag(x_1280) == 4) +{ +lean_object* x_1281; lean_object* x_1282; size_t x_1283; size_t x_1284; lean_object* x_1285; lean_object* x_1286; lean_object* x_1287; size_t x_1288; lean_object* x_1289; +lean_free_object(x_1234); +x_1281 = lean_ctor_get(x_1280, 0); +lean_inc(x_1281); +lean_dec(x_1280); +x_1282 = lean_array_get_size(x_1281); +x_1283 = lean_usize_of_nat(x_1282); +lean_dec(x_1282); +x_1284 = 0; +x_1285 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1283, x_1284, x_1281); +x_1286 = lean_ctor_get(x_1285, 0); +lean_inc(x_1286); +lean_dec(x_1285); +x_1287 = lean_array_get_size(x_1286); +x_1288 = lean_usize_of_nat(x_1287); +lean_dec(x_1287); +x_1289 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1288, x_1284, x_1286, x_3); +if (lean_obj_tag(x_1289) == 0) +{ +uint8_t x_1290; +lean_free_object(x_1278); +lean_dec(x_1248); +lean_dec(x_1247); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1290 = !lean_is_exclusive(x_1289); +if (x_1290 == 0) +{ +return x_1289; +} +else +{ +lean_object* x_1291; lean_object* x_1292; +x_1291 = lean_ctor_get(x_1289, 0); +lean_inc(x_1291); +lean_dec(x_1289); +x_1292 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1292, 0, x_1291); +return x_1292; +} +} +else +{ +lean_object* x_1293; +x_1293 = lean_ctor_get(x_1289, 0); +lean_inc(x_1293); +lean_dec(x_1289); +lean_ctor_set(x_1278, 0, x_1293); +x_1249 = x_1278; +goto block_1277; +} +} +else +{ +lean_object* x_1294; lean_object* x_1295; lean_object* x_1296; lean_object* x_1297; lean_object* x_1298; lean_object* x_1299; +lean_free_object(x_1278); +lean_dec(x_1248); +lean_dec(x_1247); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1294 = lean_unsigned_to_nat(80u); +x_1295 = l_Lean_Json_pretty(x_1280, x_1294); +x_1296 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1297 = lean_string_append(x_1296, x_1295); +lean_dec(x_1295); +x_1298 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1299 = lean_string_append(x_1297, x_1298); +lean_ctor_set_tag(x_1234, 0); +lean_ctor_set(x_1234, 0, x_1299); +return x_1234; +} +} +else +{ +lean_object* x_1300; +x_1300 = lean_ctor_get(x_1278, 0); +lean_inc(x_1300); +lean_dec(x_1278); +if (lean_obj_tag(x_1300) == 4) +{ +lean_object* x_1301; lean_object* x_1302; size_t x_1303; size_t x_1304; lean_object* x_1305; lean_object* x_1306; lean_object* x_1307; size_t x_1308; lean_object* x_1309; +lean_free_object(x_1234); +x_1301 = lean_ctor_get(x_1300, 0); +lean_inc(x_1301); +lean_dec(x_1300); +x_1302 = lean_array_get_size(x_1301); +x_1303 = lean_usize_of_nat(x_1302); +lean_dec(x_1302); +x_1304 = 0; +x_1305 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1303, x_1304, x_1301); +x_1306 = lean_ctor_get(x_1305, 0); +lean_inc(x_1306); +lean_dec(x_1305); +x_1307 = lean_array_get_size(x_1306); +x_1308 = lean_usize_of_nat(x_1307); +lean_dec(x_1307); +x_1309 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1308, x_1304, x_1306, x_3); +if (lean_obj_tag(x_1309) == 0) +{ +lean_object* x_1310; lean_object* x_1311; lean_object* x_1312; +lean_dec(x_1248); +lean_dec(x_1247); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1310 = lean_ctor_get(x_1309, 0); +lean_inc(x_1310); +if (lean_is_exclusive(x_1309)) { + lean_ctor_release(x_1309, 0); + x_1311 = x_1309; +} else { + lean_dec_ref(x_1309); + x_1311 = lean_box(0); +} +if (lean_is_scalar(x_1311)) { + x_1312 = lean_alloc_ctor(0, 1, 0); +} else { + x_1312 = x_1311; +} +lean_ctor_set(x_1312, 0, x_1310); +return x_1312; +} +else +{ +lean_object* x_1313; lean_object* x_1314; +x_1313 = lean_ctor_get(x_1309, 0); +lean_inc(x_1313); +lean_dec(x_1309); +x_1314 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1314, 0, x_1313); +x_1249 = x_1314; +goto block_1277; +} +} +else +{ +lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; lean_object* x_1319; lean_object* x_1320; +lean_dec(x_1248); +lean_dec(x_1247); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1315 = lean_unsigned_to_nat(80u); +x_1316 = l_Lean_Json_pretty(x_1300, x_1315); +x_1317 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1318 = lean_string_append(x_1317, x_1316); +lean_dec(x_1316); +x_1319 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1320 = lean_string_append(x_1318, x_1319); +lean_ctor_set_tag(x_1234, 0); +lean_ctor_set(x_1234, 0, x_1320); +return x_1234; +} +} +} +block_1277: +{ +lean_object* x_1250; +x_1250 = lean_ctor_get(x_5, 8); lean_inc(x_1250); -if (lean_is_exclusive(x_1249)) { - lean_ctor_release(x_1249, 0); - x_1251 = x_1249; +lean_dec(x_5); +if (lean_obj_tag(x_1250) == 0) +{ +lean_object* x_1251; lean_object* x_1252; +lean_dec(x_3); +x_1251 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1251, 0, x_13); +lean_ctor_set(x_1251, 1, x_15); +lean_ctor_set(x_1251, 2, x_927); +lean_ctor_set(x_1251, 3, x_928); +lean_ctor_set(x_1251, 4, x_929); +lean_ctor_set(x_1251, 5, x_1247); +lean_ctor_set(x_1251, 6, x_927); +lean_ctor_set(x_1251, 7, x_1249); +lean_ctor_set(x_1251, 8, x_927); +if (lean_is_scalar(x_1248)) { + x_1252 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_1249); - x_1251 = lean_box(0); + x_1252 = x_1248; } -if (lean_is_scalar(x_1251)) { - x_1252 = lean_alloc_ctor(0, 1, 0); -} else { - x_1252 = x_1251; -} -lean_ctor_set(x_1252, 0, x_1250); +lean_ctor_set(x_1252, 0, x_1251); return x_1252; } else { -lean_object* x_1253; lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; lean_object* x_1257; -x_1253 = lean_ctor_get(x_1249, 0); -lean_inc(x_1253); -if (lean_is_exclusive(x_1249)) { - lean_ctor_release(x_1249, 0); - x_1254 = x_1249; -} else { - lean_dec_ref(x_1249); - x_1254 = lean_box(0); -} -if (lean_is_scalar(x_1241)) { +uint8_t x_1253; +x_1253 = !lean_is_exclusive(x_1250); +if (x_1253 == 0) +{ +lean_object* x_1254; lean_object* x_1255; lean_object* x_1256; +x_1254 = lean_ctor_get(x_1250, 0); +if (lean_is_scalar(x_1248)) { x_1255 = lean_alloc_ctor(1, 1, 0); } else { - x_1255 = x_1241; + x_1255 = x_1248; } -lean_ctor_set(x_1255, 0, x_1253); -x_1256 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1256, 0, x_13); -lean_ctor_set(x_1256, 1, x_20); -lean_ctor_set(x_1256, 2, x_678); -lean_ctor_set(x_1256, 3, x_679); -lean_ctor_set(x_1256, 4, x_1178); -lean_ctor_set(x_1256, 5, x_1221); -lean_ctor_set(x_1256, 6, x_1236); -lean_ctor_set(x_1256, 7, x_1255); -if (lean_is_scalar(x_1254)) { - x_1257 = lean_alloc_ctor(1, 1, 0); -} else { - x_1257 = x_1254; -} -lean_ctor_set(x_1257, 0, x_1256); -return x_1257; -} -} -else -{ -lean_object* x_1258; lean_object* x_1259; lean_object* x_1260; lean_object* x_1261; lean_object* x_1262; lean_object* x_1263; lean_object* x_1264; -lean_dec(x_1241); -lean_dec(x_1236); -lean_dec(x_1221); -lean_dec(x_1178); -lean_dec(x_679); -lean_dec(x_20); -lean_dec(x_13); +lean_ctor_set(x_1255, 0, x_1254); +x_1256 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1255, x_3); lean_dec(x_3); -x_1258 = lean_unsigned_to_nat(80u); -x_1259 = l_Lean_Json_pretty(x_1240, x_1258); -x_1260 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1261 = lean_string_append(x_1260, x_1259); -lean_dec(x_1259); -x_1262 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1263 = lean_string_append(x_1261, x_1262); -if (lean_is_scalar(x_1235)) { - x_1264 = lean_alloc_ctor(0, 1, 0); -} else { - x_1264 = x_1235; - lean_ctor_set_tag(x_1264, 0); -} -lean_ctor_set(x_1264, 0, x_1263); -return x_1264; -} -} -} -} -else +if (lean_obj_tag(x_1256) == 0) { -lean_object* x_1265; lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; lean_object* x_1272; -lean_dec(x_1220); -lean_dec(x_1178); -lean_dec(x_679); -lean_dec(x_20); +uint8_t x_1257; +lean_free_object(x_1250); +lean_dec(x_1249); +lean_dec(x_1247); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -if (lean_is_exclusive(x_1181)) { - lean_ctor_release(x_1181, 0); - x_1265 = x_1181; +x_1257 = !lean_is_exclusive(x_1256); +if (x_1257 == 0) +{ +return x_1256; +} +else +{ +lean_object* x_1258; lean_object* x_1259; +x_1258 = lean_ctor_get(x_1256, 0); +lean_inc(x_1258); +lean_dec(x_1256); +x_1259 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1259, 0, x_1258); +return x_1259; +} +} +else +{ +uint8_t x_1260; +x_1260 = !lean_is_exclusive(x_1256); +if (x_1260 == 0) +{ +lean_object* x_1261; lean_object* x_1262; +x_1261 = lean_ctor_get(x_1256, 0); +lean_ctor_set(x_1250, 0, x_1261); +x_1262 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1262, 0, x_13); +lean_ctor_set(x_1262, 1, x_15); +lean_ctor_set(x_1262, 2, x_927); +lean_ctor_set(x_1262, 3, x_928); +lean_ctor_set(x_1262, 4, x_929); +lean_ctor_set(x_1262, 5, x_1247); +lean_ctor_set(x_1262, 6, x_927); +lean_ctor_set(x_1262, 7, x_1249); +lean_ctor_set(x_1262, 8, x_1250); +lean_ctor_set(x_1256, 0, x_1262); +return x_1256; +} +else +{ +lean_object* x_1263; lean_object* x_1264; lean_object* x_1265; +x_1263 = lean_ctor_get(x_1256, 0); +lean_inc(x_1263); +lean_dec(x_1256); +lean_ctor_set(x_1250, 0, x_1263); +x_1264 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1264, 0, x_13); +lean_ctor_set(x_1264, 1, x_15); +lean_ctor_set(x_1264, 2, x_927); +lean_ctor_set(x_1264, 3, x_928); +lean_ctor_set(x_1264, 4, x_929); +lean_ctor_set(x_1264, 5, x_1247); +lean_ctor_set(x_1264, 6, x_927); +lean_ctor_set(x_1264, 7, x_1249); +lean_ctor_set(x_1264, 8, x_1250); +x_1265 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1265, 0, x_1264); +return x_1265; +} +} +} +else +{ +lean_object* x_1266; lean_object* x_1267; lean_object* x_1268; +x_1266 = lean_ctor_get(x_1250, 0); +lean_inc(x_1266); +lean_dec(x_1250); +if (lean_is_scalar(x_1248)) { + x_1267 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_1181); - x_1265 = lean_box(0); + x_1267 = x_1248; } -x_1266 = lean_unsigned_to_nat(80u); -x_1267 = l_Lean_Json_pretty(x_1219, x_1266); -x_1268 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1269 = lean_string_append(x_1268, x_1267); -lean_dec(x_1267); -x_1270 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1271 = lean_string_append(x_1269, x_1270); -if (lean_is_scalar(x_1265)) { - x_1272 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1267, 0, x_1266); +x_1268 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1267, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1268) == 0) +{ +lean_object* x_1269; lean_object* x_1270; lean_object* x_1271; +lean_dec(x_1249); +lean_dec(x_1247); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1269 = lean_ctor_get(x_1268, 0); +lean_inc(x_1269); +if (lean_is_exclusive(x_1268)) { + lean_ctor_release(x_1268, 0); + x_1270 = x_1268; } else { - x_1272 = x_1265; - lean_ctor_set_tag(x_1272, 0); + lean_dec_ref(x_1268); + x_1270 = lean_box(0); } -lean_ctor_set(x_1272, 0, x_1271); -return x_1272; +if (lean_is_scalar(x_1270)) { + x_1271 = lean_alloc_ctor(0, 1, 0); +} else { + x_1271 = x_1270; } -} -} -} -} -} -} -block_1280: -{ -if (lean_obj_tag(x_1274) == 0) -{ -uint8_t x_1275; -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1275 = !lean_is_exclusive(x_1274); -if (x_1275 == 0) -{ -return x_1274; +lean_ctor_set(x_1271, 0, x_1269); +return x_1271; } else { -lean_object* x_1276; lean_object* x_1277; -x_1276 = lean_ctor_get(x_1274, 0); -lean_inc(x_1276); -lean_dec(x_1274); -x_1277 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1277, 0, x_1276); -return x_1277; +lean_object* x_1272; lean_object* x_1273; lean_object* x_1274; lean_object* x_1275; lean_object* x_1276; +x_1272 = lean_ctor_get(x_1268, 0); +lean_inc(x_1272); +if (lean_is_exclusive(x_1268)) { + lean_ctor_release(x_1268, 0); + x_1273 = x_1268; +} else { + lean_dec_ref(x_1268); + x_1273 = lean_box(0); +} +x_1274 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1274, 0, x_1272); +x_1275 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1275, 0, x_13); +lean_ctor_set(x_1275, 1, x_15); +lean_ctor_set(x_1275, 2, x_927); +lean_ctor_set(x_1275, 3, x_928); +lean_ctor_set(x_1275, 4, x_929); +lean_ctor_set(x_1275, 5, x_1247); +lean_ctor_set(x_1275, 6, x_927); +lean_ctor_set(x_1275, 7, x_1249); +lean_ctor_set(x_1275, 8, x_1274); +if (lean_is_scalar(x_1273)) { + x_1276 = lean_alloc_ctor(1, 1, 0); +} else { + x_1276 = x_1273; +} +lean_ctor_set(x_1276, 0, x_1275); +return x_1276; } } -else -{ -lean_object* x_1278; lean_object* x_1279; -x_1278 = lean_ctor_get(x_1274, 0); -lean_inc(x_1278); -lean_dec(x_1274); -x_1279 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1279, 0, x_1278); -x_679 = x_1279; -goto block_1273; } } } else { -uint8_t x_1307; -lean_free_object(x_8); -x_1307 = !lean_is_exclusive(x_677); -if (x_1307 == 0) -{ -lean_object* x_1308; lean_object* x_1309; -x_1308 = lean_ctor_get(x_677, 0); -x_1309 = l_Lean_Json_getNat_x3f(x_1308); -if (lean_obj_tag(x_1309) == 0) -{ -uint8_t x_1310; -x_1310 = !lean_is_exclusive(x_1309); -if (x_1310 == 0) -{ -lean_object* x_1311; lean_object* x_1312; lean_object* x_1313; lean_object* x_1314; lean_object* x_1315; lean_object* x_1316; lean_object* x_1317; lean_object* x_1318; -x_1311 = lean_ctor_get(x_1309, 0); -lean_dec(x_1311); -x_1312 = lean_unsigned_to_nat(80u); -x_1313 = l_Lean_Json_pretty(x_1308, x_1312); -x_1314 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_1315 = lean_string_append(x_1314, x_1313); -lean_dec(x_1313); -x_1316 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1317 = lean_string_append(x_1315, x_1316); -lean_ctor_set(x_1309, 0, x_1317); -x_1318 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1309, x_3); -if (lean_obj_tag(x_1318) == 0) -{ -uint8_t x_1319; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1319 = !lean_is_exclusive(x_1318); -if (x_1319 == 0) -{ -return x_1318; -} -else -{ -lean_object* x_1320; lean_object* x_1321; -x_1320 = lean_ctor_get(x_1318, 0); -lean_inc(x_1320); -lean_dec(x_1318); -x_1321 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1321, 0, x_1320); -return x_1321; -} -} -else +uint8_t x_1321; +lean_free_object(x_1234); +x_1321 = !lean_is_exclusive(x_1246); +if (x_1321 == 0) { lean_object* x_1322; -x_1322 = lean_ctor_get(x_1318, 0); -lean_inc(x_1322); -lean_dec(x_1318); -lean_ctor_set(x_677, 0, x_1322); -x_22 = x_677; -goto block_676; -} -} -else +x_1322 = lean_ctor_get(x_1246, 0); +if (lean_obj_tag(x_1322) == 4) { -lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; lean_object* x_1326; lean_object* x_1327; lean_object* x_1328; lean_object* x_1329; lean_object* x_1330; -lean_dec(x_1309); -x_1323 = lean_unsigned_to_nat(80u); -x_1324 = l_Lean_Json_pretty(x_1308, x_1323); -x_1325 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_1326 = lean_string_append(x_1325, x_1324); -lean_dec(x_1324); -x_1327 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1328 = lean_string_append(x_1326, x_1327); -x_1329 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1329, 0, x_1328); -x_1330 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1329, x_3); -if (lean_obj_tag(x_1330) == 0) +lean_object* x_1323; lean_object* x_1324; lean_object* x_1325; size_t x_1326; size_t x_1327; lean_object* x_1328; uint8_t x_1329; +x_1323 = lean_ctor_get(x_1242, 0); +lean_inc(x_1323); +lean_dec(x_1242); +x_1324 = lean_ctor_get(x_1322, 0); +lean_inc(x_1324); +lean_dec(x_1322); +x_1325 = lean_array_get_size(x_1324); +x_1326 = lean_usize_of_nat(x_1325); +lean_dec(x_1325); +x_1327 = 0; +x_1328 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1326, x_1327, x_1324); +x_1329 = !lean_is_exclusive(x_1328); +if (x_1329 == 0) { -lean_object* x_1331; lean_object* x_1332; lean_object* x_1333; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); +lean_object* x_1330; lean_object* x_1331; size_t x_1332; lean_object* x_1333; +x_1330 = lean_ctor_get(x_1328, 0); +x_1331 = lean_array_get_size(x_1330); +x_1332 = lean_usize_of_nat(x_1331); +lean_dec(x_1331); +x_1333 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1332, x_1327, x_1330, x_3); +if (lean_obj_tag(x_1333) == 0) +{ +uint8_t x_1334; +lean_free_object(x_1328); +lean_dec(x_1323); +lean_free_object(x_1246); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_1331 = lean_ctor_get(x_1330, 0); -lean_inc(x_1331); -if (lean_is_exclusive(x_1330)) { - lean_ctor_release(x_1330, 0); - x_1332 = x_1330; -} else { - lean_dec_ref(x_1330); - x_1332 = lean_box(0); -} -if (lean_is_scalar(x_1332)) { - x_1333 = lean_alloc_ctor(0, 1, 0); -} else { - x_1333 = x_1332; -} -lean_ctor_set(x_1333, 0, x_1331); +x_1334 = !lean_is_exclusive(x_1333); +if (x_1334 == 0) +{ return x_1333; } else { -lean_object* x_1334; -x_1334 = lean_ctor_get(x_1330, 0); -lean_inc(x_1334); -lean_dec(x_1330); -lean_ctor_set(x_677, 0, x_1334); -x_22 = x_677; -goto block_676; -} -} -} -else -{ -uint8_t x_1335; -x_1335 = !lean_is_exclusive(x_1309); -if (x_1335 == 0) -{ -lean_object* x_1336; lean_object* x_1337; uint8_t x_1338; -x_1336 = lean_ctor_get(x_1309, 0); -x_1337 = lean_unsigned_to_nat(1u); -x_1338 = lean_nat_dec_eq(x_1336, x_1337); -if (x_1338 == 0) -{ -lean_object* x_1339; uint8_t x_1340; -x_1339 = lean_unsigned_to_nat(2u); -x_1340 = lean_nat_dec_eq(x_1336, x_1339); -if (x_1340 == 0) -{ -lean_object* x_1341; uint8_t x_1342; -x_1341 = lean_unsigned_to_nat(3u); -x_1342 = lean_nat_dec_eq(x_1336, x_1341); -if (x_1342 == 0) -{ -lean_object* x_1343; uint8_t x_1344; -x_1343 = lean_unsigned_to_nat(4u); -x_1344 = lean_nat_dec_eq(x_1336, x_1343); -lean_dec(x_1336); -if (x_1344 == 0) -{ -lean_object* x_1345; lean_object* x_1346; lean_object* x_1347; lean_object* x_1348; lean_object* x_1349; lean_object* x_1350; lean_object* x_1351; -x_1345 = lean_unsigned_to_nat(80u); -x_1346 = l_Lean_Json_pretty(x_1308, x_1345); -x_1347 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_1348 = lean_string_append(x_1347, x_1346); -lean_dec(x_1346); -x_1349 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1350 = lean_string_append(x_1348, x_1349); -lean_ctor_set_tag(x_1309, 0); -lean_ctor_set(x_1309, 0, x_1350); -x_1351 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1309, x_3); -if (lean_obj_tag(x_1351) == 0) -{ -uint8_t x_1352; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1352 = !lean_is_exclusive(x_1351); -if (x_1352 == 0) -{ -return x_1351; -} -else -{ -lean_object* x_1353; lean_object* x_1354; -x_1353 = lean_ctor_get(x_1351, 0); -lean_inc(x_1353); -lean_dec(x_1351); -x_1354 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1354, 0, x_1353); -return x_1354; +lean_object* x_1335; lean_object* x_1336; +x_1335 = lean_ctor_get(x_1333, 0); +lean_inc(x_1335); +lean_dec(x_1333); +x_1336 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1336, 0, x_1335); +return x_1336; } } else { -lean_object* x_1355; -x_1355 = lean_ctor_get(x_1351, 0); -lean_inc(x_1355); -lean_dec(x_1351); -lean_ctor_set(x_677, 0, x_1355); -x_22 = x_677; -goto block_676; +lean_object* x_1337; lean_object* x_1338; lean_object* x_1339; lean_object* x_1368; +x_1337 = lean_ctor_get(x_1333, 0); +lean_inc(x_1337); +if (lean_is_exclusive(x_1333)) { + lean_ctor_release(x_1333, 0); + x_1338 = x_1333; +} else { + lean_dec_ref(x_1333); + x_1338 = lean_box(0); } +lean_ctor_set(x_1246, 0, x_1337); +x_1368 = lean_ctor_get(x_5, 7); +lean_inc(x_1368); +if (lean_obj_tag(x_1368) == 0) +{ +lean_free_object(x_1328); +x_1339 = x_927; +goto block_1367; } else { -lean_object* x_1356; lean_object* x_1357; -lean_free_object(x_1309); -lean_dec(x_1308); -x_1356 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__3; -x_1357 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1356, x_3); -if (lean_obj_tag(x_1357) == 0) +uint8_t x_1369; +x_1369 = !lean_is_exclusive(x_1368); +if (x_1369 == 0) { -uint8_t x_1358; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1358 = !lean_is_exclusive(x_1357); -if (x_1358 == 0) +lean_object* x_1370; +x_1370 = lean_ctor_get(x_1368, 0); +if (lean_obj_tag(x_1370) == 4) { -return x_1357; -} -else -{ -lean_object* x_1359; lean_object* x_1360; -x_1359 = lean_ctor_get(x_1357, 0); -lean_inc(x_1359); -lean_dec(x_1357); -x_1360 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1360, 0, x_1359); -return x_1360; -} -} -else -{ -lean_object* x_1361; -x_1361 = lean_ctor_get(x_1357, 0); -lean_inc(x_1361); -lean_dec(x_1357); -lean_ctor_set(x_677, 0, x_1361); -x_22 = x_677; -goto block_676; -} -} -} -else -{ -lean_object* x_1362; lean_object* x_1363; -lean_free_object(x_1309); -lean_dec(x_1336); -lean_dec(x_1308); -x_1362 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; -x_1363 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1362, x_3); -if (lean_obj_tag(x_1363) == 0) -{ -uint8_t x_1364; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1364 = !lean_is_exclusive(x_1363); -if (x_1364 == 0) -{ -return x_1363; -} -else -{ -lean_object* x_1365; lean_object* x_1366; -x_1365 = lean_ctor_get(x_1363, 0); -lean_inc(x_1365); -lean_dec(x_1363); -x_1366 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1366, 0, x_1365); -return x_1366; -} -} -else -{ -lean_object* x_1367; -x_1367 = lean_ctor_get(x_1363, 0); -lean_inc(x_1367); -lean_dec(x_1363); -lean_ctor_set(x_677, 0, x_1367); -x_22 = x_677; -goto block_676; -} -} -} -else -{ -lean_object* x_1368; lean_object* x_1369; -lean_free_object(x_1309); -lean_dec(x_1336); -lean_dec(x_1308); -x_1368 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; -x_1369 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1368, x_3); -if (lean_obj_tag(x_1369) == 0) -{ -uint8_t x_1370; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1370 = !lean_is_exclusive(x_1369); -if (x_1370 == 0) -{ -return x_1369; -} -else -{ -lean_object* x_1371; lean_object* x_1372; -x_1371 = lean_ctor_get(x_1369, 0); +lean_object* x_1371; lean_object* x_1372; size_t x_1373; lean_object* x_1374; lean_object* x_1375; lean_object* x_1376; size_t x_1377; lean_object* x_1378; +lean_free_object(x_1328); +x_1371 = lean_ctor_get(x_1370, 0); lean_inc(x_1371); -lean_dec(x_1369); -x_1372 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1372, 0, x_1371); -return x_1372; -} -} -else +lean_dec(x_1370); +x_1372 = lean_array_get_size(x_1371); +x_1373 = lean_usize_of_nat(x_1372); +lean_dec(x_1372); +x_1374 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1373, x_1327, x_1371); +x_1375 = lean_ctor_get(x_1374, 0); +lean_inc(x_1375); +lean_dec(x_1374); +x_1376 = lean_array_get_size(x_1375); +x_1377 = lean_usize_of_nat(x_1376); +lean_dec(x_1376); +x_1378 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1377, x_1327, x_1375, x_3); +if (lean_obj_tag(x_1378) == 0) { -lean_object* x_1373; -x_1373 = lean_ctor_get(x_1369, 0); -lean_inc(x_1373); -lean_dec(x_1369); -lean_ctor_set(x_677, 0, x_1373); -x_22 = x_677; -goto block_676; -} -} -} -else -{ -lean_object* x_1374; lean_object* x_1375; -lean_free_object(x_1309); -lean_dec(x_1336); -lean_dec(x_1308); -x_1374 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; -x_1375 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1374, x_3); -if (lean_obj_tag(x_1375) == 0) -{ -uint8_t x_1376; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); +uint8_t x_1379; +lean_free_object(x_1368); +lean_dec(x_1246); +lean_dec(x_1338); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_1376 = !lean_is_exclusive(x_1375); -if (x_1376 == 0) +x_1379 = !lean_is_exclusive(x_1378); +if (x_1379 == 0) { -return x_1375; -} -else -{ -lean_object* x_1377; lean_object* x_1378; -x_1377 = lean_ctor_get(x_1375, 0); -lean_inc(x_1377); -lean_dec(x_1375); -x_1378 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1378, 0, x_1377); return x_1378; } -} else { -lean_object* x_1379; -x_1379 = lean_ctor_get(x_1375, 0); -lean_inc(x_1379); -lean_dec(x_1375); -lean_ctor_set(x_677, 0, x_1379); -x_22 = x_677; -goto block_676; -} -} -} -else -{ -lean_object* x_1380; lean_object* x_1381; uint8_t x_1382; -x_1380 = lean_ctor_get(x_1309, 0); +lean_object* x_1380; lean_object* x_1381; +x_1380 = lean_ctor_get(x_1378, 0); lean_inc(x_1380); -lean_dec(x_1309); -x_1381 = lean_unsigned_to_nat(1u); -x_1382 = lean_nat_dec_eq(x_1380, x_1381); -if (x_1382 == 0) +lean_dec(x_1378); +x_1381 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1381, 0, x_1380); +return x_1381; +} +} +else { -lean_object* x_1383; uint8_t x_1384; -x_1383 = lean_unsigned_to_nat(2u); -x_1384 = lean_nat_dec_eq(x_1380, x_1383); -if (x_1384 == 0) +lean_object* x_1382; +x_1382 = lean_ctor_get(x_1378, 0); +lean_inc(x_1382); +lean_dec(x_1378); +lean_ctor_set(x_1368, 0, x_1382); +x_1339 = x_1368; +goto block_1367; +} +} +else { -lean_object* x_1385; uint8_t x_1386; -x_1385 = lean_unsigned_to_nat(3u); -x_1386 = lean_nat_dec_eq(x_1380, x_1385); -if (x_1386 == 0) -{ -lean_object* x_1387; uint8_t x_1388; -x_1387 = lean_unsigned_to_nat(4u); -x_1388 = lean_nat_dec_eq(x_1380, x_1387); -lean_dec(x_1380); -if (x_1388 == 0) -{ -lean_object* x_1389; lean_object* x_1390; lean_object* x_1391; lean_object* x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; lean_object* x_1396; -x_1389 = lean_unsigned_to_nat(80u); -x_1390 = l_Lean_Json_pretty(x_1308, x_1389); -x_1391 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_1392 = lean_string_append(x_1391, x_1390); -lean_dec(x_1390); -x_1393 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1394 = lean_string_append(x_1392, x_1393); -x_1395 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1395, 0, x_1394); -x_1396 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1395, x_3); -if (lean_obj_tag(x_1396) == 0) -{ -lean_object* x_1397; lean_object* x_1398; lean_object* x_1399; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); +lean_object* x_1383; lean_object* x_1384; lean_object* x_1385; lean_object* x_1386; lean_object* x_1387; lean_object* x_1388; +lean_free_object(x_1368); +lean_dec(x_1246); +lean_dec(x_1338); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_1397 = lean_ctor_get(x_1396, 0); -lean_inc(x_1397); -if (lean_is_exclusive(x_1396)) { - lean_ctor_release(x_1396, 0); - x_1398 = x_1396; -} else { - lean_dec_ref(x_1396); - x_1398 = lean_box(0); +x_1383 = lean_unsigned_to_nat(80u); +x_1384 = l_Lean_Json_pretty(x_1370, x_1383); +x_1385 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1386 = lean_string_append(x_1385, x_1384); +lean_dec(x_1384); +x_1387 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1388 = lean_string_append(x_1386, x_1387); +lean_ctor_set_tag(x_1328, 0); +lean_ctor_set(x_1328, 0, x_1388); +return x_1328; } -if (lean_is_scalar(x_1398)) { - x_1399 = lean_alloc_ctor(0, 1, 0); -} else { - x_1399 = x_1398; -} -lean_ctor_set(x_1399, 0, x_1397); -return x_1399; } else { -lean_object* x_1400; -x_1400 = lean_ctor_get(x_1396, 0); -lean_inc(x_1400); -lean_dec(x_1396); -lean_ctor_set(x_677, 0, x_1400); -x_22 = x_677; -goto block_676; +lean_object* x_1389; +x_1389 = lean_ctor_get(x_1368, 0); +lean_inc(x_1389); +lean_dec(x_1368); +if (lean_obj_tag(x_1389) == 4) +{ +lean_object* x_1390; lean_object* x_1391; size_t x_1392; lean_object* x_1393; lean_object* x_1394; lean_object* x_1395; size_t x_1396; lean_object* x_1397; +lean_free_object(x_1328); +x_1390 = lean_ctor_get(x_1389, 0); +lean_inc(x_1390); +lean_dec(x_1389); +x_1391 = lean_array_get_size(x_1390); +x_1392 = lean_usize_of_nat(x_1391); +lean_dec(x_1391); +x_1393 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1392, x_1327, x_1390); +x_1394 = lean_ctor_get(x_1393, 0); +lean_inc(x_1394); +lean_dec(x_1393); +x_1395 = lean_array_get_size(x_1394); +x_1396 = lean_usize_of_nat(x_1395); +lean_dec(x_1395); +x_1397 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1396, x_1327, x_1394, x_3); +if (lean_obj_tag(x_1397) == 0) +{ +lean_object* x_1398; lean_object* x_1399; lean_object* x_1400; +lean_dec(x_1246); +lean_dec(x_1338); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1398 = lean_ctor_get(x_1397, 0); +lean_inc(x_1398); +if (lean_is_exclusive(x_1397)) { + lean_ctor_release(x_1397, 0); + x_1399 = x_1397; +} else { + lean_dec_ref(x_1397); + x_1399 = lean_box(0); } +if (lean_is_scalar(x_1399)) { + x_1400 = lean_alloc_ctor(0, 1, 0); +} else { + x_1400 = x_1399; +} +lean_ctor_set(x_1400, 0, x_1398); +return x_1400; } else { lean_object* x_1401; lean_object* x_1402; -lean_dec(x_1308); -x_1401 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__3; -x_1402 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1401, x_3); -if (lean_obj_tag(x_1402) == 0) -{ -lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1403 = lean_ctor_get(x_1402, 0); -lean_inc(x_1403); -if (lean_is_exclusive(x_1402)) { - lean_ctor_release(x_1402, 0); - x_1404 = x_1402; -} else { - lean_dec_ref(x_1402); - x_1404 = lean_box(0); +x_1401 = lean_ctor_get(x_1397, 0); +lean_inc(x_1401); +lean_dec(x_1397); +x_1402 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1402, 0, x_1401); +x_1339 = x_1402; +goto block_1367; } -if (lean_is_scalar(x_1404)) { - x_1405 = lean_alloc_ctor(0, 1, 0); -} else { - x_1405 = x_1404; -} -lean_ctor_set(x_1405, 0, x_1403); -return x_1405; } else { -lean_object* x_1406; -x_1406 = lean_ctor_get(x_1402, 0); -lean_inc(x_1406); -lean_dec(x_1402); -lean_ctor_set(x_677, 0, x_1406); -x_22 = x_677; -goto block_676; +lean_object* x_1403; lean_object* x_1404; lean_object* x_1405; lean_object* x_1406; lean_object* x_1407; lean_object* x_1408; +lean_dec(x_1246); +lean_dec(x_1338); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1403 = lean_unsigned_to_nat(80u); +x_1404 = l_Lean_Json_pretty(x_1389, x_1403); +x_1405 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1406 = lean_string_append(x_1405, x_1404); +lean_dec(x_1404); +x_1407 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1408 = lean_string_append(x_1406, x_1407); +lean_ctor_set_tag(x_1328, 0); +lean_ctor_set(x_1328, 0, x_1408); +return x_1328; +} +} +} +block_1367: +{ +lean_object* x_1340; +x_1340 = lean_ctor_get(x_5, 8); +lean_inc(x_1340); +lean_dec(x_5); +if (lean_obj_tag(x_1340) == 0) +{ +lean_object* x_1341; lean_object* x_1342; +lean_dec(x_3); +x_1341 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1341, 0, x_13); +lean_ctor_set(x_1341, 1, x_15); +lean_ctor_set(x_1341, 2, x_927); +lean_ctor_set(x_1341, 3, x_928); +lean_ctor_set(x_1341, 4, x_929); +lean_ctor_set(x_1341, 5, x_1323); +lean_ctor_set(x_1341, 6, x_1246); +lean_ctor_set(x_1341, 7, x_1339); +lean_ctor_set(x_1341, 8, x_927); +if (lean_is_scalar(x_1338)) { + x_1342 = lean_alloc_ctor(1, 1, 0); +} else { + x_1342 = x_1338; +} +lean_ctor_set(x_1342, 0, x_1341); +return x_1342; +} +else +{ +uint8_t x_1343; +x_1343 = !lean_is_exclusive(x_1340); +if (x_1343 == 0) +{ +lean_object* x_1344; lean_object* x_1345; lean_object* x_1346; +x_1344 = lean_ctor_get(x_1340, 0); +if (lean_is_scalar(x_1338)) { + x_1345 = lean_alloc_ctor(1, 1, 0); +} else { + x_1345 = x_1338; +} +lean_ctor_set(x_1345, 0, x_1344); +x_1346 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1345, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1346) == 0) +{ +uint8_t x_1347; +lean_free_object(x_1340); +lean_dec(x_1339); +lean_dec(x_1246); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1347 = !lean_is_exclusive(x_1346); +if (x_1347 == 0) +{ +return x_1346; +} +else +{ +lean_object* x_1348; lean_object* x_1349; +x_1348 = lean_ctor_get(x_1346, 0); +lean_inc(x_1348); +lean_dec(x_1346); +x_1349 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1349, 0, x_1348); +return x_1349; +} +} +else +{ +uint8_t x_1350; +x_1350 = !lean_is_exclusive(x_1346); +if (x_1350 == 0) +{ +lean_object* x_1351; lean_object* x_1352; +x_1351 = lean_ctor_get(x_1346, 0); +lean_ctor_set(x_1340, 0, x_1351); +x_1352 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1352, 0, x_13); +lean_ctor_set(x_1352, 1, x_15); +lean_ctor_set(x_1352, 2, x_927); +lean_ctor_set(x_1352, 3, x_928); +lean_ctor_set(x_1352, 4, x_929); +lean_ctor_set(x_1352, 5, x_1323); +lean_ctor_set(x_1352, 6, x_1246); +lean_ctor_set(x_1352, 7, x_1339); +lean_ctor_set(x_1352, 8, x_1340); +lean_ctor_set(x_1346, 0, x_1352); +return x_1346; +} +else +{ +lean_object* x_1353; lean_object* x_1354; lean_object* x_1355; +x_1353 = lean_ctor_get(x_1346, 0); +lean_inc(x_1353); +lean_dec(x_1346); +lean_ctor_set(x_1340, 0, x_1353); +x_1354 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1354, 0, x_13); +lean_ctor_set(x_1354, 1, x_15); +lean_ctor_set(x_1354, 2, x_927); +lean_ctor_set(x_1354, 3, x_928); +lean_ctor_set(x_1354, 4, x_929); +lean_ctor_set(x_1354, 5, x_1323); +lean_ctor_set(x_1354, 6, x_1246); +lean_ctor_set(x_1354, 7, x_1339); +lean_ctor_set(x_1354, 8, x_1340); +x_1355 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1355, 0, x_1354); +return x_1355; } } } else { -lean_object* x_1407; lean_object* x_1408; -lean_dec(x_1380); -lean_dec(x_1308); -x_1407 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; -x_1408 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1407, x_3); -if (lean_obj_tag(x_1408) == 0) -{ -lean_object* x_1409; lean_object* x_1410; lean_object* x_1411; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); +lean_object* x_1356; lean_object* x_1357; lean_object* x_1358; +x_1356 = lean_ctor_get(x_1340, 0); +lean_inc(x_1356); +lean_dec(x_1340); +if (lean_is_scalar(x_1338)) { + x_1357 = lean_alloc_ctor(1, 1, 0); +} else { + x_1357 = x_1338; +} +lean_ctor_set(x_1357, 0, x_1356); +x_1358 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1357, x_3); lean_dec(x_3); -lean_dec(x_1); -x_1409 = lean_ctor_get(x_1408, 0); +if (lean_obj_tag(x_1358) == 0) +{ +lean_object* x_1359; lean_object* x_1360; lean_object* x_1361; +lean_dec(x_1339); +lean_dec(x_1246); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1359 = lean_ctor_get(x_1358, 0); +lean_inc(x_1359); +if (lean_is_exclusive(x_1358)) { + lean_ctor_release(x_1358, 0); + x_1360 = x_1358; +} else { + lean_dec_ref(x_1358); + x_1360 = lean_box(0); +} +if (lean_is_scalar(x_1360)) { + x_1361 = lean_alloc_ctor(0, 1, 0); +} else { + x_1361 = x_1360; +} +lean_ctor_set(x_1361, 0, x_1359); +return x_1361; +} +else +{ +lean_object* x_1362; lean_object* x_1363; lean_object* x_1364; lean_object* x_1365; lean_object* x_1366; +x_1362 = lean_ctor_get(x_1358, 0); +lean_inc(x_1362); +if (lean_is_exclusive(x_1358)) { + lean_ctor_release(x_1358, 0); + x_1363 = x_1358; +} else { + lean_dec_ref(x_1358); + x_1363 = lean_box(0); +} +x_1364 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1364, 0, x_1362); +x_1365 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1365, 0, x_13); +lean_ctor_set(x_1365, 1, x_15); +lean_ctor_set(x_1365, 2, x_927); +lean_ctor_set(x_1365, 3, x_928); +lean_ctor_set(x_1365, 4, x_929); +lean_ctor_set(x_1365, 5, x_1323); +lean_ctor_set(x_1365, 6, x_1246); +lean_ctor_set(x_1365, 7, x_1339); +lean_ctor_set(x_1365, 8, x_1364); +if (lean_is_scalar(x_1363)) { + x_1366 = lean_alloc_ctor(1, 1, 0); +} else { + x_1366 = x_1363; +} +lean_ctor_set(x_1366, 0, x_1365); +return x_1366; +} +} +} +} +} +} +else +{ +lean_object* x_1409; lean_object* x_1410; size_t x_1411; lean_object* x_1412; +x_1409 = lean_ctor_get(x_1328, 0); lean_inc(x_1409); -if (lean_is_exclusive(x_1408)) { - lean_ctor_release(x_1408, 0); - x_1410 = x_1408; -} else { - lean_dec_ref(x_1408); - x_1410 = lean_box(0); -} -if (lean_is_scalar(x_1410)) { - x_1411 = lean_alloc_ctor(0, 1, 0); -} else { - x_1411 = x_1410; -} -lean_ctor_set(x_1411, 0, x_1409); -return x_1411; -} -else +lean_dec(x_1328); +x_1410 = lean_array_get_size(x_1409); +x_1411 = lean_usize_of_nat(x_1410); +lean_dec(x_1410); +x_1412 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1411, x_1327, x_1409, x_3); +if (lean_obj_tag(x_1412) == 0) { -lean_object* x_1412; -x_1412 = lean_ctor_get(x_1408, 0); -lean_inc(x_1412); -lean_dec(x_1408); -lean_ctor_set(x_677, 0, x_1412); -x_22 = x_677; -goto block_676; -} -} -} -else -{ -lean_object* x_1413; lean_object* x_1414; -lean_dec(x_1380); -lean_dec(x_1308); -x_1413 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; -x_1414 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1413, x_3); -if (lean_obj_tag(x_1414) == 0) -{ -lean_object* x_1415; lean_object* x_1416; lean_object* x_1417; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); +lean_object* x_1413; lean_object* x_1414; lean_object* x_1415; +lean_dec(x_1323); +lean_free_object(x_1246); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_1415 = lean_ctor_get(x_1414, 0); -lean_inc(x_1415); -if (lean_is_exclusive(x_1414)) { - lean_ctor_release(x_1414, 0); - x_1416 = x_1414; +x_1413 = lean_ctor_get(x_1412, 0); +lean_inc(x_1413); +if (lean_is_exclusive(x_1412)) { + lean_ctor_release(x_1412, 0); + x_1414 = x_1412; } else { - lean_dec_ref(x_1414); - x_1416 = lean_box(0); + lean_dec_ref(x_1412); + x_1414 = lean_box(0); } -if (lean_is_scalar(x_1416)) { - x_1417 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1414)) { + x_1415 = lean_alloc_ctor(0, 1, 0); } else { - x_1417 = x_1416; + x_1415 = x_1414; } -lean_ctor_set(x_1417, 0, x_1415); -return x_1417; +lean_ctor_set(x_1415, 0, x_1413); +return x_1415; } else { -lean_object* x_1418; -x_1418 = lean_ctor_get(x_1414, 0); -lean_inc(x_1418); -lean_dec(x_1414); -lean_ctor_set(x_677, 0, x_1418); -x_22 = x_677; -goto block_676; -} -} -} -else -{ -lean_object* x_1419; lean_object* x_1420; -lean_dec(x_1380); -lean_dec(x_1308); -x_1419 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; -x_1420 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1419, x_3); -if (lean_obj_tag(x_1420) == 0) -{ -lean_object* x_1421; lean_object* x_1422; lean_object* x_1423; -lean_free_object(x_677); -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1421 = lean_ctor_get(x_1420, 0); -lean_inc(x_1421); -if (lean_is_exclusive(x_1420)) { - lean_ctor_release(x_1420, 0); - x_1422 = x_1420; +lean_object* x_1416; lean_object* x_1417; lean_object* x_1418; lean_object* x_1435; +x_1416 = lean_ctor_get(x_1412, 0); +lean_inc(x_1416); +if (lean_is_exclusive(x_1412)) { + lean_ctor_release(x_1412, 0); + x_1417 = x_1412; } else { - lean_dec_ref(x_1420); - x_1422 = lean_box(0); + lean_dec_ref(x_1412); + x_1417 = lean_box(0); } -if (lean_is_scalar(x_1422)) { - x_1423 = lean_alloc_ctor(0, 1, 0); -} else { - x_1423 = x_1422; -} -lean_ctor_set(x_1423, 0, x_1421); -return x_1423; -} -else -{ -lean_object* x_1424; -x_1424 = lean_ctor_get(x_1420, 0); -lean_inc(x_1424); -lean_dec(x_1420); -lean_ctor_set(x_677, 0, x_1424); -x_22 = x_677; -goto block_676; -} -} -} -} -} -else -{ -lean_object* x_1425; lean_object* x_1426; -x_1425 = lean_ctor_get(x_677, 0); -lean_inc(x_1425); -lean_dec(x_677); -x_1426 = l_Lean_Json_getNat_x3f(x_1425); -if (lean_obj_tag(x_1426) == 0) -{ -lean_object* x_1427; lean_object* x_1428; lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; lean_object* x_1434; lean_object* x_1435; -if (lean_is_exclusive(x_1426)) { - lean_ctor_release(x_1426, 0); - x_1427 = x_1426; -} else { - lean_dec_ref(x_1426); - x_1427 = lean_box(0); -} -x_1428 = lean_unsigned_to_nat(80u); -x_1429 = l_Lean_Json_pretty(x_1425, x_1428); -x_1430 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_1431 = lean_string_append(x_1430, x_1429); -lean_dec(x_1429); -x_1432 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1433 = lean_string_append(x_1431, x_1432); -if (lean_is_scalar(x_1427)) { - x_1434 = lean_alloc_ctor(0, 1, 0); -} else { - x_1434 = x_1427; -} -lean_ctor_set(x_1434, 0, x_1433); -x_1435 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1434, x_3); +lean_ctor_set(x_1246, 0, x_1416); +x_1435 = lean_ctor_get(x_5, 7); +lean_inc(x_1435); if (lean_obj_tag(x_1435) == 0) { -lean_object* x_1436; lean_object* x_1437; lean_object* x_1438; -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); +x_1418 = x_927; +goto block_1434; +} +else +{ +lean_object* x_1436; lean_object* x_1437; x_1436 = lean_ctor_get(x_1435, 0); lean_inc(x_1436); if (lean_is_exclusive(x_1435)) { @@ -9181,222 +8630,275 @@ if (lean_is_exclusive(x_1435)) { lean_dec_ref(x_1435); x_1437 = lean_box(0); } -if (lean_is_scalar(x_1437)) { - x_1438 = lean_alloc_ctor(0, 1, 0); -} else { - x_1438 = x_1437; -} -lean_ctor_set(x_1438, 0, x_1436); -return x_1438; -} -else +if (lean_obj_tag(x_1436) == 4) { -lean_object* x_1439; lean_object* x_1440; -x_1439 = lean_ctor_get(x_1435, 0); -lean_inc(x_1439); -lean_dec(x_1435); -x_1440 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1440, 0, x_1439); -x_22 = x_1440; -goto block_676; -} -} -else -{ -lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; uint8_t x_1444; -x_1441 = lean_ctor_get(x_1426, 0); -lean_inc(x_1441); -if (lean_is_exclusive(x_1426)) { - lean_ctor_release(x_1426, 0); - x_1442 = x_1426; -} else { - lean_dec_ref(x_1426); - x_1442 = lean_box(0); -} -x_1443 = lean_unsigned_to_nat(1u); -x_1444 = lean_nat_dec_eq(x_1441, x_1443); -if (x_1444 == 0) -{ -lean_object* x_1445; uint8_t x_1446; -x_1445 = lean_unsigned_to_nat(2u); -x_1446 = lean_nat_dec_eq(x_1441, x_1445); -if (x_1446 == 0) -{ -lean_object* x_1447; uint8_t x_1448; -x_1447 = lean_unsigned_to_nat(3u); -x_1448 = lean_nat_dec_eq(x_1441, x_1447); -if (x_1448 == 0) -{ -lean_object* x_1449; uint8_t x_1450; -x_1449 = lean_unsigned_to_nat(4u); -x_1450 = lean_nat_dec_eq(x_1441, x_1449); +lean_object* x_1438; lean_object* x_1439; size_t x_1440; lean_object* x_1441; lean_object* x_1442; lean_object* x_1443; size_t x_1444; lean_object* x_1445; +x_1438 = lean_ctor_get(x_1436, 0); +lean_inc(x_1438); +lean_dec(x_1436); +x_1439 = lean_array_get_size(x_1438); +x_1440 = lean_usize_of_nat(x_1439); +lean_dec(x_1439); +x_1441 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1440, x_1327, x_1438); +x_1442 = lean_ctor_get(x_1441, 0); +lean_inc(x_1442); lean_dec(x_1441); -if (x_1450 == 0) +x_1443 = lean_array_get_size(x_1442); +x_1444 = lean_usize_of_nat(x_1443); +lean_dec(x_1443); +x_1445 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1444, x_1327, x_1442, x_3); +if (lean_obj_tag(x_1445) == 0) { -lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; lean_object* x_1458; +lean_object* x_1446; lean_object* x_1447; lean_object* x_1448; +lean_dec(x_1437); +lean_dec(x_1246); +lean_dec(x_1417); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1446 = lean_ctor_get(x_1445, 0); +lean_inc(x_1446); +if (lean_is_exclusive(x_1445)) { + lean_ctor_release(x_1445, 0); + x_1447 = x_1445; +} else { + lean_dec_ref(x_1445); + x_1447 = lean_box(0); +} +if (lean_is_scalar(x_1447)) { + x_1448 = lean_alloc_ctor(0, 1, 0); +} else { + x_1448 = x_1447; +} +lean_ctor_set(x_1448, 0, x_1446); +return x_1448; +} +else +{ +lean_object* x_1449; lean_object* x_1450; +x_1449 = lean_ctor_get(x_1445, 0); +lean_inc(x_1449); +lean_dec(x_1445); +if (lean_is_scalar(x_1437)) { + x_1450 = lean_alloc_ctor(1, 1, 0); +} else { + x_1450 = x_1437; +} +lean_ctor_set(x_1450, 0, x_1449); +x_1418 = x_1450; +goto block_1434; +} +} +else +{ +lean_object* x_1451; lean_object* x_1452; lean_object* x_1453; lean_object* x_1454; lean_object* x_1455; lean_object* x_1456; lean_object* x_1457; +lean_dec(x_1437); +lean_dec(x_1246); +lean_dec(x_1417); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); x_1451 = lean_unsigned_to_nat(80u); -x_1452 = l_Lean_Json_pretty(x_1425, x_1451); -x_1453 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_1452 = l_Lean_Json_pretty(x_1436, x_1451); +x_1453 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; x_1454 = lean_string_append(x_1453, x_1452); lean_dec(x_1452); x_1455 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; x_1456 = lean_string_append(x_1454, x_1455); -if (lean_is_scalar(x_1442)) { - x_1457 = lean_alloc_ctor(0, 1, 0); -} else { - x_1457 = x_1442; - lean_ctor_set_tag(x_1457, 0); -} +x_1457 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_1457, 0, x_1456); -x_1458 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1457, x_3); -if (lean_obj_tag(x_1458) == 0) +return x_1457; +} +} +block_1434: { -lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; -lean_dec(x_21); -lean_dec(x_20); +lean_object* x_1419; +x_1419 = lean_ctor_get(x_5, 8); +lean_inc(x_1419); +lean_dec(x_5); +if (lean_obj_tag(x_1419) == 0) +{ +lean_object* x_1420; lean_object* x_1421; +lean_dec(x_3); +x_1420 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1420, 0, x_13); +lean_ctor_set(x_1420, 1, x_15); +lean_ctor_set(x_1420, 2, x_927); +lean_ctor_set(x_1420, 3, x_928); +lean_ctor_set(x_1420, 4, x_929); +lean_ctor_set(x_1420, 5, x_1323); +lean_ctor_set(x_1420, 6, x_1246); +lean_ctor_set(x_1420, 7, x_1418); +lean_ctor_set(x_1420, 8, x_927); +if (lean_is_scalar(x_1417)) { + x_1421 = lean_alloc_ctor(1, 1, 0); +} else { + x_1421 = x_1417; +} +lean_ctor_set(x_1421, 0, x_1420); +return x_1421; +} +else +{ +lean_object* x_1422; lean_object* x_1423; lean_object* x_1424; lean_object* x_1425; +x_1422 = lean_ctor_get(x_1419, 0); +lean_inc(x_1422); +if (lean_is_exclusive(x_1419)) { + lean_ctor_release(x_1419, 0); + x_1423 = x_1419; +} else { + lean_dec_ref(x_1419); + x_1423 = lean_box(0); +} +if (lean_is_scalar(x_1417)) { + x_1424 = lean_alloc_ctor(1, 1, 0); +} else { + x_1424 = x_1417; +} +lean_ctor_set(x_1424, 0, x_1422); +x_1425 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1424, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1425) == 0) +{ +lean_object* x_1426; lean_object* x_1427; lean_object* x_1428; +lean_dec(x_1423); +lean_dec(x_1418); +lean_dec(x_1246); +lean_dec(x_1323); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1426 = lean_ctor_get(x_1425, 0); +lean_inc(x_1426); +if (lean_is_exclusive(x_1425)) { + lean_ctor_release(x_1425, 0); + x_1427 = x_1425; +} else { + lean_dec_ref(x_1425); + x_1427 = lean_box(0); +} +if (lean_is_scalar(x_1427)) { + x_1428 = lean_alloc_ctor(0, 1, 0); +} else { + x_1428 = x_1427; +} +lean_ctor_set(x_1428, 0, x_1426); +return x_1428; +} +else +{ +lean_object* x_1429; lean_object* x_1430; lean_object* x_1431; lean_object* x_1432; lean_object* x_1433; +x_1429 = lean_ctor_get(x_1425, 0); +lean_inc(x_1429); +if (lean_is_exclusive(x_1425)) { + lean_ctor_release(x_1425, 0); + x_1430 = x_1425; +} else { + lean_dec_ref(x_1425); + x_1430 = lean_box(0); +} +if (lean_is_scalar(x_1423)) { + x_1431 = lean_alloc_ctor(1, 1, 0); +} else { + x_1431 = x_1423; +} +lean_ctor_set(x_1431, 0, x_1429); +x_1432 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1432, 0, x_13); +lean_ctor_set(x_1432, 1, x_15); +lean_ctor_set(x_1432, 2, x_927); +lean_ctor_set(x_1432, 3, x_928); +lean_ctor_set(x_1432, 4, x_929); +lean_ctor_set(x_1432, 5, x_1323); +lean_ctor_set(x_1432, 6, x_1246); +lean_ctor_set(x_1432, 7, x_1418); +lean_ctor_set(x_1432, 8, x_1431); +if (lean_is_scalar(x_1430)) { + x_1433 = lean_alloc_ctor(1, 1, 0); +} else { + x_1433 = x_1430; +} +lean_ctor_set(x_1433, 0, x_1432); +return x_1433; +} +} +} +} +} +} +else +{ +uint8_t x_1458; +lean_free_object(x_1246); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_1459 = lean_ctor_get(x_1458, 0); -lean_inc(x_1459); -if (lean_is_exclusive(x_1458)) { - lean_ctor_release(x_1458, 0); - x_1460 = x_1458; -} else { - lean_dec_ref(x_1458); - x_1460 = lean_box(0); -} -if (lean_is_scalar(x_1460)) { - x_1461 = lean_alloc_ctor(0, 1, 0); -} else { - x_1461 = x_1460; -} -lean_ctor_set(x_1461, 0, x_1459); -return x_1461; +x_1458 = !lean_is_exclusive(x_1242); +if (x_1458 == 0) +{ +lean_object* x_1459; lean_object* x_1460; lean_object* x_1461; lean_object* x_1462; lean_object* x_1463; lean_object* x_1464; lean_object* x_1465; +x_1459 = lean_ctor_get(x_1242, 0); +lean_dec(x_1459); +x_1460 = lean_unsigned_to_nat(80u); +x_1461 = l_Lean_Json_pretty(x_1322, x_1460); +x_1462 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1463 = lean_string_append(x_1462, x_1461); +lean_dec(x_1461); +x_1464 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1465 = lean_string_append(x_1463, x_1464); +lean_ctor_set_tag(x_1242, 0); +lean_ctor_set(x_1242, 0, x_1465); +return x_1242; } else { -lean_object* x_1462; lean_object* x_1463; -x_1462 = lean_ctor_get(x_1458, 0); -lean_inc(x_1462); -lean_dec(x_1458); -x_1463 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1463, 0, x_1462); -x_22 = x_1463; -goto block_676; -} -} -else -{ -lean_object* x_1464; lean_object* x_1465; -lean_dec(x_1442); -lean_dec(x_1425); -x_1464 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__3; -x_1465 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1464, x_3); -if (lean_obj_tag(x_1465) == 0) -{ -lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1466 = lean_ctor_get(x_1465, 0); -lean_inc(x_1466); -if (lean_is_exclusive(x_1465)) { - lean_ctor_release(x_1465, 0); - x_1467 = x_1465; -} else { - lean_dec_ref(x_1465); - x_1467 = lean_box(0); -} -if (lean_is_scalar(x_1467)) { - x_1468 = lean_alloc_ctor(0, 1, 0); -} else { - x_1468 = x_1467; -} -lean_ctor_set(x_1468, 0, x_1466); -return x_1468; -} -else -{ -lean_object* x_1469; lean_object* x_1470; -x_1469 = lean_ctor_get(x_1465, 0); -lean_inc(x_1469); -lean_dec(x_1465); -x_1470 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1470, 0, x_1469); -x_22 = x_1470; -goto block_676; +lean_object* x_1466; lean_object* x_1467; lean_object* x_1468; lean_object* x_1469; lean_object* x_1470; lean_object* x_1471; lean_object* x_1472; +lean_dec(x_1242); +x_1466 = lean_unsigned_to_nat(80u); +x_1467 = l_Lean_Json_pretty(x_1322, x_1466); +x_1468 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1469 = lean_string_append(x_1468, x_1467); +lean_dec(x_1467); +x_1470 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1471 = lean_string_append(x_1469, x_1470); +x_1472 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1472, 0, x_1471); +return x_1472; } } } else { -lean_object* x_1471; lean_object* x_1472; -lean_dec(x_1442); -lean_dec(x_1441); -lean_dec(x_1425); -x_1471 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; -x_1472 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1471, x_3); -if (lean_obj_tag(x_1472) == 0) -{ -lean_object* x_1473; lean_object* x_1474; lean_object* x_1475; -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1473 = lean_ctor_get(x_1472, 0); +lean_object* x_1473; +x_1473 = lean_ctor_get(x_1246, 0); lean_inc(x_1473); -if (lean_is_exclusive(x_1472)) { - lean_ctor_release(x_1472, 0); - x_1474 = x_1472; -} else { - lean_dec_ref(x_1472); - x_1474 = lean_box(0); -} -if (lean_is_scalar(x_1474)) { - x_1475 = lean_alloc_ctor(0, 1, 0); -} else { - x_1475 = x_1474; -} -lean_ctor_set(x_1475, 0, x_1473); -return x_1475; -} -else +lean_dec(x_1246); +if (lean_obj_tag(x_1473) == 4) { -lean_object* x_1476; lean_object* x_1477; -x_1476 = lean_ctor_get(x_1472, 0); -lean_inc(x_1476); -lean_dec(x_1472); -x_1477 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1477, 0, x_1476); -x_22 = x_1477; -goto block_676; -} -} -} -else -{ -lean_object* x_1478; lean_object* x_1479; -lean_dec(x_1442); -lean_dec(x_1441); -lean_dec(x_1425); -x_1478 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; -x_1479 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1478, x_3); -if (lean_obj_tag(x_1479) == 0) -{ -lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; -lean_dec(x_21); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); +lean_object* x_1474; lean_object* x_1475; lean_object* x_1476; size_t x_1477; size_t x_1478; lean_object* x_1479; lean_object* x_1480; lean_object* x_1481; lean_object* x_1482; size_t x_1483; lean_object* x_1484; +x_1474 = lean_ctor_get(x_1242, 0); +lean_inc(x_1474); +lean_dec(x_1242); +x_1475 = lean_ctor_get(x_1473, 0); +lean_inc(x_1475); +lean_dec(x_1473); +x_1476 = lean_array_get_size(x_1475); +x_1477 = lean_usize_of_nat(x_1476); +lean_dec(x_1476); +x_1478 = 0; +x_1479 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1477, x_1478, x_1475); x_1480 = lean_ctor_get(x_1479, 0); lean_inc(x_1480); if (lean_is_exclusive(x_1479)) { @@ -9406,534 +8908,3031 @@ if (lean_is_exclusive(x_1479)) { lean_dec_ref(x_1479); x_1481 = lean_box(0); } -if (lean_is_scalar(x_1481)) { - x_1482 = lean_alloc_ctor(0, 1, 0); +x_1482 = lean_array_get_size(x_1480); +x_1483 = lean_usize_of_nat(x_1482); +lean_dec(x_1482); +x_1484 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1483, x_1478, x_1480, x_3); +if (lean_obj_tag(x_1484) == 0) +{ +lean_object* x_1485; lean_object* x_1486; lean_object* x_1487; +lean_dec(x_1481); +lean_dec(x_1474); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1485 = lean_ctor_get(x_1484, 0); +lean_inc(x_1485); +if (lean_is_exclusive(x_1484)) { + lean_ctor_release(x_1484, 0); + x_1486 = x_1484; } else { - x_1482 = x_1481; + lean_dec_ref(x_1484); + x_1486 = lean_box(0); } -lean_ctor_set(x_1482, 0, x_1480); -return x_1482; +if (lean_is_scalar(x_1486)) { + x_1487 = lean_alloc_ctor(0, 1, 0); +} else { + x_1487 = x_1486; +} +lean_ctor_set(x_1487, 0, x_1485); +return x_1487; } else { -lean_object* x_1483; lean_object* x_1484; -x_1483 = lean_ctor_get(x_1479, 0); -lean_inc(x_1483); -lean_dec(x_1479); -x_1484 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1484, 0, x_1483); -x_22 = x_1484; -goto block_676; +lean_object* x_1488; lean_object* x_1489; lean_object* x_1490; lean_object* x_1491; lean_object* x_1508; +x_1488 = lean_ctor_get(x_1484, 0); +lean_inc(x_1488); +if (lean_is_exclusive(x_1484)) { + lean_ctor_release(x_1484, 0); + x_1489 = x_1484; +} else { + lean_dec_ref(x_1484); + x_1489 = lean_box(0); +} +x_1490 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1490, 0, x_1488); +x_1508 = lean_ctor_get(x_5, 7); +lean_inc(x_1508); +if (lean_obj_tag(x_1508) == 0) +{ +lean_dec(x_1481); +x_1491 = x_927; +goto block_1507; +} +else +{ +lean_object* x_1509; lean_object* x_1510; +x_1509 = lean_ctor_get(x_1508, 0); +lean_inc(x_1509); +if (lean_is_exclusive(x_1508)) { + lean_ctor_release(x_1508, 0); + x_1510 = x_1508; +} else { + lean_dec_ref(x_1508); + x_1510 = lean_box(0); +} +if (lean_obj_tag(x_1509) == 4) +{ +lean_object* x_1511; lean_object* x_1512; size_t x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; size_t x_1517; lean_object* x_1518; +lean_dec(x_1481); +x_1511 = lean_ctor_get(x_1509, 0); +lean_inc(x_1511); +lean_dec(x_1509); +x_1512 = lean_array_get_size(x_1511); +x_1513 = lean_usize_of_nat(x_1512); +lean_dec(x_1512); +x_1514 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1513, x_1478, x_1511); +x_1515 = lean_ctor_get(x_1514, 0); +lean_inc(x_1515); +lean_dec(x_1514); +x_1516 = lean_array_get_size(x_1515); +x_1517 = lean_usize_of_nat(x_1516); +lean_dec(x_1516); +x_1518 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1517, x_1478, x_1515, x_3); +if (lean_obj_tag(x_1518) == 0) +{ +lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; +lean_dec(x_1510); +lean_dec(x_1490); +lean_dec(x_1489); +lean_dec(x_1474); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1519 = lean_ctor_get(x_1518, 0); +lean_inc(x_1519); +if (lean_is_exclusive(x_1518)) { + lean_ctor_release(x_1518, 0); + x_1520 = x_1518; +} else { + lean_dec_ref(x_1518); + x_1520 = lean_box(0); +} +if (lean_is_scalar(x_1520)) { + x_1521 = lean_alloc_ctor(0, 1, 0); +} else { + x_1521 = x_1520; +} +lean_ctor_set(x_1521, 0, x_1519); +return x_1521; +} +else +{ +lean_object* x_1522; lean_object* x_1523; +x_1522 = lean_ctor_get(x_1518, 0); +lean_inc(x_1522); +lean_dec(x_1518); +if (lean_is_scalar(x_1510)) { + x_1523 = lean_alloc_ctor(1, 1, 0); +} else { + x_1523 = x_1510; +} +lean_ctor_set(x_1523, 0, x_1522); +x_1491 = x_1523; +goto block_1507; +} +} +else +{ +lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; lean_object* x_1527; lean_object* x_1528; lean_object* x_1529; lean_object* x_1530; +lean_dec(x_1510); +lean_dec(x_1490); +lean_dec(x_1489); +lean_dec(x_1474); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1524 = lean_unsigned_to_nat(80u); +x_1525 = l_Lean_Json_pretty(x_1509, x_1524); +x_1526 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1527 = lean_string_append(x_1526, x_1525); +lean_dec(x_1525); +x_1528 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1529 = lean_string_append(x_1527, x_1528); +if (lean_is_scalar(x_1481)) { + x_1530 = lean_alloc_ctor(0, 1, 0); +} else { + x_1530 = x_1481; + lean_ctor_set_tag(x_1530, 0); +} +lean_ctor_set(x_1530, 0, x_1529); +return x_1530; +} +} +block_1507: +{ +lean_object* x_1492; +x_1492 = lean_ctor_get(x_5, 8); +lean_inc(x_1492); +lean_dec(x_5); +if (lean_obj_tag(x_1492) == 0) +{ +lean_object* x_1493; lean_object* x_1494; +lean_dec(x_3); +x_1493 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1493, 0, x_13); +lean_ctor_set(x_1493, 1, x_15); +lean_ctor_set(x_1493, 2, x_927); +lean_ctor_set(x_1493, 3, x_928); +lean_ctor_set(x_1493, 4, x_929); +lean_ctor_set(x_1493, 5, x_1474); +lean_ctor_set(x_1493, 6, x_1490); +lean_ctor_set(x_1493, 7, x_1491); +lean_ctor_set(x_1493, 8, x_927); +if (lean_is_scalar(x_1489)) { + x_1494 = lean_alloc_ctor(1, 1, 0); +} else { + x_1494 = x_1489; +} +lean_ctor_set(x_1494, 0, x_1493); +return x_1494; +} +else +{ +lean_object* x_1495; lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; +x_1495 = lean_ctor_get(x_1492, 0); +lean_inc(x_1495); +if (lean_is_exclusive(x_1492)) { + lean_ctor_release(x_1492, 0); + x_1496 = x_1492; +} else { + lean_dec_ref(x_1492); + x_1496 = lean_box(0); +} +if (lean_is_scalar(x_1489)) { + x_1497 = lean_alloc_ctor(1, 1, 0); +} else { + x_1497 = x_1489; +} +lean_ctor_set(x_1497, 0, x_1495); +x_1498 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1497, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1498) == 0) +{ +lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; +lean_dec(x_1496); +lean_dec(x_1491); +lean_dec(x_1490); +lean_dec(x_1474); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1499 = lean_ctor_get(x_1498, 0); +lean_inc(x_1499); +if (lean_is_exclusive(x_1498)) { + lean_ctor_release(x_1498, 0); + x_1500 = x_1498; +} else { + lean_dec_ref(x_1498); + x_1500 = lean_box(0); +} +if (lean_is_scalar(x_1500)) { + x_1501 = lean_alloc_ctor(0, 1, 0); +} else { + x_1501 = x_1500; +} +lean_ctor_set(x_1501, 0, x_1499); +return x_1501; +} +else +{ +lean_object* x_1502; lean_object* x_1503; lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; +x_1502 = lean_ctor_get(x_1498, 0); +lean_inc(x_1502); +if (lean_is_exclusive(x_1498)) { + lean_ctor_release(x_1498, 0); + x_1503 = x_1498; +} else { + lean_dec_ref(x_1498); + x_1503 = lean_box(0); +} +if (lean_is_scalar(x_1496)) { + x_1504 = lean_alloc_ctor(1, 1, 0); +} else { + x_1504 = x_1496; +} +lean_ctor_set(x_1504, 0, x_1502); +x_1505 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1505, 0, x_13); +lean_ctor_set(x_1505, 1, x_15); +lean_ctor_set(x_1505, 2, x_927); +lean_ctor_set(x_1505, 3, x_928); +lean_ctor_set(x_1505, 4, x_929); +lean_ctor_set(x_1505, 5, x_1474); +lean_ctor_set(x_1505, 6, x_1490); +lean_ctor_set(x_1505, 7, x_1491); +lean_ctor_set(x_1505, 8, x_1504); +if (lean_is_scalar(x_1503)) { + x_1506 = lean_alloc_ctor(1, 1, 0); +} else { + x_1506 = x_1503; +} +lean_ctor_set(x_1506, 0, x_1505); +return x_1506; +} +} } } } else { -lean_object* x_1485; lean_object* x_1486; -lean_dec(x_1442); -lean_dec(x_1441); -lean_dec(x_1425); -x_1485 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; -x_1486 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1485, x_3); -if (lean_obj_tag(x_1486) == 0) +lean_object* x_1531; lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; lean_object* x_1537; lean_object* x_1538; +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +if (lean_is_exclusive(x_1242)) { + lean_ctor_release(x_1242, 0); + x_1531 = x_1242; +} else { + lean_dec_ref(x_1242); + x_1531 = lean_box(0); +} +x_1532 = lean_unsigned_to_nat(80u); +x_1533 = l_Lean_Json_pretty(x_1473, x_1532); +x_1534 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1535 = lean_string_append(x_1534, x_1533); +lean_dec(x_1533); +x_1536 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1537 = lean_string_append(x_1535, x_1536); +if (lean_is_scalar(x_1531)) { + x_1538 = lean_alloc_ctor(0, 1, 0); +} else { + x_1538 = x_1531; + lean_ctor_set_tag(x_1538, 0); +} +lean_ctor_set(x_1538, 0, x_1537); +return x_1538; +} +} +} +} +} +else { -lean_object* x_1487; lean_object* x_1488; lean_object* x_1489; -lean_dec(x_21); -lean_dec(x_20); +lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; +x_1539 = lean_ctor_get(x_1234, 0); +lean_inc(x_1539); +lean_dec(x_1234); +lean_ctor_set(x_929, 0, x_1539); +x_1540 = lean_ctor_get(x_1, 1); +lean_inc(x_1540); +lean_dec(x_1); +x_1541 = lean_ctor_get(x_5, 5); +lean_inc(x_1541); +lean_inc(x_3); +x_1542 = lean_apply_2(x_1540, x_1541, x_3); +if (lean_obj_tag(x_1542) == 0) +{ +lean_object* x_1543; lean_object* x_1544; lean_object* x_1545; +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1543 = lean_ctor_get(x_1542, 0); +lean_inc(x_1543); +if (lean_is_exclusive(x_1542)) { + lean_ctor_release(x_1542, 0); + x_1544 = x_1542; +} else { + lean_dec_ref(x_1542); + x_1544 = lean_box(0); +} +if (lean_is_scalar(x_1544)) { + x_1545 = lean_alloc_ctor(0, 1, 0); +} else { + x_1545 = x_1544; +} +lean_ctor_set(x_1545, 0, x_1543); +return x_1545; +} +else +{ +lean_object* x_1546; +x_1546 = lean_ctor_get(x_5, 6); +lean_inc(x_1546); +if (lean_obj_tag(x_1546) == 0) +{ +lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; lean_object* x_1566; +x_1547 = lean_ctor_get(x_1542, 0); +lean_inc(x_1547); +if (lean_is_exclusive(x_1542)) { + lean_ctor_release(x_1542, 0); + x_1548 = x_1542; +} else { + lean_dec_ref(x_1542); + x_1548 = lean_box(0); +} +x_1566 = lean_ctor_get(x_5, 7); +lean_inc(x_1566); +if (lean_obj_tag(x_1566) == 0) +{ +x_1549 = x_927; +goto block_1565; +} +else +{ +lean_object* x_1567; lean_object* x_1568; +x_1567 = lean_ctor_get(x_1566, 0); +lean_inc(x_1567); +if (lean_is_exclusive(x_1566)) { + lean_ctor_release(x_1566, 0); + x_1568 = x_1566; +} else { + lean_dec_ref(x_1566); + x_1568 = lean_box(0); +} +if (lean_obj_tag(x_1567) == 4) +{ +lean_object* x_1569; lean_object* x_1570; size_t x_1571; size_t x_1572; lean_object* x_1573; lean_object* x_1574; lean_object* x_1575; size_t x_1576; lean_object* x_1577; +x_1569 = lean_ctor_get(x_1567, 0); +lean_inc(x_1569); +lean_dec(x_1567); +x_1570 = lean_array_get_size(x_1569); +x_1571 = lean_usize_of_nat(x_1570); +lean_dec(x_1570); +x_1572 = 0; +x_1573 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1571, x_1572, x_1569); +x_1574 = lean_ctor_get(x_1573, 0); +lean_inc(x_1574); +lean_dec(x_1573); +x_1575 = lean_array_get_size(x_1574); +x_1576 = lean_usize_of_nat(x_1575); +lean_dec(x_1575); +x_1577 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1576, x_1572, x_1574, x_3); +if (lean_obj_tag(x_1577) == 0) +{ +lean_object* x_1578; lean_object* x_1579; lean_object* x_1580; +lean_dec(x_1568); +lean_dec(x_1548); +lean_dec(x_1547); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1578 = lean_ctor_get(x_1577, 0); +lean_inc(x_1578); +if (lean_is_exclusive(x_1577)) { + lean_ctor_release(x_1577, 0); + x_1579 = x_1577; +} else { + lean_dec_ref(x_1577); + x_1579 = lean_box(0); +} +if (lean_is_scalar(x_1579)) { + x_1580 = lean_alloc_ctor(0, 1, 0); +} else { + x_1580 = x_1579; +} +lean_ctor_set(x_1580, 0, x_1578); +return x_1580; +} +else +{ +lean_object* x_1581; lean_object* x_1582; +x_1581 = lean_ctor_get(x_1577, 0); +lean_inc(x_1581); +lean_dec(x_1577); +if (lean_is_scalar(x_1568)) { + x_1582 = lean_alloc_ctor(1, 1, 0); +} else { + x_1582 = x_1568; +} +lean_ctor_set(x_1582, 0, x_1581); +x_1549 = x_1582; +goto block_1565; +} +} +else +{ +lean_object* x_1583; lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; +lean_dec(x_1568); +lean_dec(x_1548); +lean_dec(x_1547); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1583 = lean_unsigned_to_nat(80u); +x_1584 = l_Lean_Json_pretty(x_1567, x_1583); +x_1585 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1586 = lean_string_append(x_1585, x_1584); +lean_dec(x_1584); +x_1587 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1588 = lean_string_append(x_1586, x_1587); +x_1589 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1589, 0, x_1588); +return x_1589; +} +} +block_1565: +{ +lean_object* x_1550; +x_1550 = lean_ctor_get(x_5, 8); +lean_inc(x_1550); +lean_dec(x_5); +if (lean_obj_tag(x_1550) == 0) +{ +lean_object* x_1551; lean_object* x_1552; +lean_dec(x_3); +x_1551 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1551, 0, x_13); +lean_ctor_set(x_1551, 1, x_15); +lean_ctor_set(x_1551, 2, x_927); +lean_ctor_set(x_1551, 3, x_928); +lean_ctor_set(x_1551, 4, x_929); +lean_ctor_set(x_1551, 5, x_1547); +lean_ctor_set(x_1551, 6, x_927); +lean_ctor_set(x_1551, 7, x_1549); +lean_ctor_set(x_1551, 8, x_927); +if (lean_is_scalar(x_1548)) { + x_1552 = lean_alloc_ctor(1, 1, 0); +} else { + x_1552 = x_1548; +} +lean_ctor_set(x_1552, 0, x_1551); +return x_1552; +} +else +{ +lean_object* x_1553; lean_object* x_1554; lean_object* x_1555; lean_object* x_1556; +x_1553 = lean_ctor_get(x_1550, 0); +lean_inc(x_1553); +if (lean_is_exclusive(x_1550)) { + lean_ctor_release(x_1550, 0); + x_1554 = x_1550; +} else { + lean_dec_ref(x_1550); + x_1554 = lean_box(0); +} +if (lean_is_scalar(x_1548)) { + x_1555 = lean_alloc_ctor(1, 1, 0); +} else { + x_1555 = x_1548; +} +lean_ctor_set(x_1555, 0, x_1553); +x_1556 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1555, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1556) == 0) +{ +lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; +lean_dec(x_1554); +lean_dec(x_1549); +lean_dec(x_1547); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1557 = lean_ctor_get(x_1556, 0); +lean_inc(x_1557); +if (lean_is_exclusive(x_1556)) { + lean_ctor_release(x_1556, 0); + x_1558 = x_1556; +} else { + lean_dec_ref(x_1556); + x_1558 = lean_box(0); +} +if (lean_is_scalar(x_1558)) { + x_1559 = lean_alloc_ctor(0, 1, 0); +} else { + x_1559 = x_1558; +} +lean_ctor_set(x_1559, 0, x_1557); +return x_1559; +} +else +{ +lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; lean_object* x_1564; +x_1560 = lean_ctor_get(x_1556, 0); +lean_inc(x_1560); +if (lean_is_exclusive(x_1556)) { + lean_ctor_release(x_1556, 0); + x_1561 = x_1556; +} else { + lean_dec_ref(x_1556); + x_1561 = lean_box(0); +} +if (lean_is_scalar(x_1554)) { + x_1562 = lean_alloc_ctor(1, 1, 0); +} else { + x_1562 = x_1554; +} +lean_ctor_set(x_1562, 0, x_1560); +x_1563 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1563, 0, x_13); +lean_ctor_set(x_1563, 1, x_15); +lean_ctor_set(x_1563, 2, x_927); +lean_ctor_set(x_1563, 3, x_928); +lean_ctor_set(x_1563, 4, x_929); +lean_ctor_set(x_1563, 5, x_1547); +lean_ctor_set(x_1563, 6, x_927); +lean_ctor_set(x_1563, 7, x_1549); +lean_ctor_set(x_1563, 8, x_1562); +if (lean_is_scalar(x_1561)) { + x_1564 = lean_alloc_ctor(1, 1, 0); +} else { + x_1564 = x_1561; +} +lean_ctor_set(x_1564, 0, x_1563); +return x_1564; +} +} +} +} +else +{ +lean_object* x_1590; lean_object* x_1591; +x_1590 = lean_ctor_get(x_1546, 0); +lean_inc(x_1590); +if (lean_is_exclusive(x_1546)) { + lean_ctor_release(x_1546, 0); + x_1591 = x_1546; +} else { + lean_dec_ref(x_1546); + x_1591 = lean_box(0); +} +if (lean_obj_tag(x_1590) == 4) +{ +lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; size_t x_1595; size_t x_1596; lean_object* x_1597; lean_object* x_1598; lean_object* x_1599; lean_object* x_1600; size_t x_1601; lean_object* x_1602; +x_1592 = lean_ctor_get(x_1542, 0); +lean_inc(x_1592); +lean_dec(x_1542); +x_1593 = lean_ctor_get(x_1590, 0); +lean_inc(x_1593); +lean_dec(x_1590); +x_1594 = lean_array_get_size(x_1593); +x_1595 = lean_usize_of_nat(x_1594); +lean_dec(x_1594); +x_1596 = 0; +x_1597 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1595, x_1596, x_1593); +x_1598 = lean_ctor_get(x_1597, 0); +lean_inc(x_1598); +if (lean_is_exclusive(x_1597)) { + lean_ctor_release(x_1597, 0); + x_1599 = x_1597; +} else { + lean_dec_ref(x_1597); + x_1599 = lean_box(0); +} +x_1600 = lean_array_get_size(x_1598); +x_1601 = lean_usize_of_nat(x_1600); +lean_dec(x_1600); +x_1602 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1601, x_1596, x_1598, x_3); +if (lean_obj_tag(x_1602) == 0) +{ +lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; +lean_dec(x_1599); +lean_dec(x_1592); +lean_dec(x_1591); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1603 = lean_ctor_get(x_1602, 0); +lean_inc(x_1603); +if (lean_is_exclusive(x_1602)) { + lean_ctor_release(x_1602, 0); + x_1604 = x_1602; +} else { + lean_dec_ref(x_1602); + x_1604 = lean_box(0); +} +if (lean_is_scalar(x_1604)) { + x_1605 = lean_alloc_ctor(0, 1, 0); +} else { + x_1605 = x_1604; +} +lean_ctor_set(x_1605, 0, x_1603); +return x_1605; +} +else +{ +lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1626; +x_1606 = lean_ctor_get(x_1602, 0); +lean_inc(x_1606); +if (lean_is_exclusive(x_1602)) { + lean_ctor_release(x_1602, 0); + x_1607 = x_1602; +} else { + lean_dec_ref(x_1602); + x_1607 = lean_box(0); +} +if (lean_is_scalar(x_1591)) { + x_1608 = lean_alloc_ctor(1, 1, 0); +} else { + x_1608 = x_1591; +} +lean_ctor_set(x_1608, 0, x_1606); +x_1626 = lean_ctor_get(x_5, 7); +lean_inc(x_1626); +if (lean_obj_tag(x_1626) == 0) +{ +lean_dec(x_1599); +x_1609 = x_927; +goto block_1625; +} +else +{ +lean_object* x_1627; lean_object* x_1628; +x_1627 = lean_ctor_get(x_1626, 0); +lean_inc(x_1627); +if (lean_is_exclusive(x_1626)) { + lean_ctor_release(x_1626, 0); + x_1628 = x_1626; +} else { + lean_dec_ref(x_1626); + x_1628 = lean_box(0); +} +if (lean_obj_tag(x_1627) == 4) +{ +lean_object* x_1629; lean_object* x_1630; size_t x_1631; lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; size_t x_1635; lean_object* x_1636; +lean_dec(x_1599); +x_1629 = lean_ctor_get(x_1627, 0); +lean_inc(x_1629); +lean_dec(x_1627); +x_1630 = lean_array_get_size(x_1629); +x_1631 = lean_usize_of_nat(x_1630); +lean_dec(x_1630); +x_1632 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1631, x_1596, x_1629); +x_1633 = lean_ctor_get(x_1632, 0); +lean_inc(x_1633); +lean_dec(x_1632); +x_1634 = lean_array_get_size(x_1633); +x_1635 = lean_usize_of_nat(x_1634); +lean_dec(x_1634); +x_1636 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1635, x_1596, x_1633, x_3); +if (lean_obj_tag(x_1636) == 0) +{ +lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; +lean_dec(x_1628); +lean_dec(x_1608); +lean_dec(x_1607); +lean_dec(x_1592); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1637 = lean_ctor_get(x_1636, 0); +lean_inc(x_1637); +if (lean_is_exclusive(x_1636)) { + lean_ctor_release(x_1636, 0); + x_1638 = x_1636; +} else { + lean_dec_ref(x_1636); + x_1638 = lean_box(0); +} +if (lean_is_scalar(x_1638)) { + x_1639 = lean_alloc_ctor(0, 1, 0); +} else { + x_1639 = x_1638; +} +lean_ctor_set(x_1639, 0, x_1637); +return x_1639; +} +else +{ +lean_object* x_1640; lean_object* x_1641; +x_1640 = lean_ctor_get(x_1636, 0); +lean_inc(x_1640); +lean_dec(x_1636); +if (lean_is_scalar(x_1628)) { + x_1641 = lean_alloc_ctor(1, 1, 0); +} else { + x_1641 = x_1628; +} +lean_ctor_set(x_1641, 0, x_1640); +x_1609 = x_1641; +goto block_1625; +} +} +else +{ +lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; lean_object* x_1647; lean_object* x_1648; +lean_dec(x_1628); +lean_dec(x_1608); +lean_dec(x_1607); +lean_dec(x_1592); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1642 = lean_unsigned_to_nat(80u); +x_1643 = l_Lean_Json_pretty(x_1627, x_1642); +x_1644 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1645 = lean_string_append(x_1644, x_1643); +lean_dec(x_1643); +x_1646 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1647 = lean_string_append(x_1645, x_1646); +if (lean_is_scalar(x_1599)) { + x_1648 = lean_alloc_ctor(0, 1, 0); +} else { + x_1648 = x_1599; + lean_ctor_set_tag(x_1648, 0); +} +lean_ctor_set(x_1648, 0, x_1647); +return x_1648; +} +} +block_1625: +{ +lean_object* x_1610; +x_1610 = lean_ctor_get(x_5, 8); +lean_inc(x_1610); +lean_dec(x_5); +if (lean_obj_tag(x_1610) == 0) +{ +lean_object* x_1611; lean_object* x_1612; +lean_dec(x_3); +x_1611 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1611, 0, x_13); +lean_ctor_set(x_1611, 1, x_15); +lean_ctor_set(x_1611, 2, x_927); +lean_ctor_set(x_1611, 3, x_928); +lean_ctor_set(x_1611, 4, x_929); +lean_ctor_set(x_1611, 5, x_1592); +lean_ctor_set(x_1611, 6, x_1608); +lean_ctor_set(x_1611, 7, x_1609); +lean_ctor_set(x_1611, 8, x_927); +if (lean_is_scalar(x_1607)) { + x_1612 = lean_alloc_ctor(1, 1, 0); +} else { + x_1612 = x_1607; +} +lean_ctor_set(x_1612, 0, x_1611); +return x_1612; +} +else +{ +lean_object* x_1613; lean_object* x_1614; lean_object* x_1615; lean_object* x_1616; +x_1613 = lean_ctor_get(x_1610, 0); +lean_inc(x_1613); +if (lean_is_exclusive(x_1610)) { + lean_ctor_release(x_1610, 0); + x_1614 = x_1610; +} else { + lean_dec_ref(x_1610); + x_1614 = lean_box(0); +} +if (lean_is_scalar(x_1607)) { + x_1615 = lean_alloc_ctor(1, 1, 0); +} else { + x_1615 = x_1607; +} +lean_ctor_set(x_1615, 0, x_1613); +x_1616 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1615, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1616) == 0) +{ +lean_object* x_1617; lean_object* x_1618; lean_object* x_1619; +lean_dec(x_1614); +lean_dec(x_1609); +lean_dec(x_1608); +lean_dec(x_1592); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1617 = lean_ctor_get(x_1616, 0); +lean_inc(x_1617); +if (lean_is_exclusive(x_1616)) { + lean_ctor_release(x_1616, 0); + x_1618 = x_1616; +} else { + lean_dec_ref(x_1616); + x_1618 = lean_box(0); +} +if (lean_is_scalar(x_1618)) { + x_1619 = lean_alloc_ctor(0, 1, 0); +} else { + x_1619 = x_1618; +} +lean_ctor_set(x_1619, 0, x_1617); +return x_1619; +} +else +{ +lean_object* x_1620; lean_object* x_1621; lean_object* x_1622; lean_object* x_1623; lean_object* x_1624; +x_1620 = lean_ctor_get(x_1616, 0); +lean_inc(x_1620); +if (lean_is_exclusive(x_1616)) { + lean_ctor_release(x_1616, 0); + x_1621 = x_1616; +} else { + lean_dec_ref(x_1616); + x_1621 = lean_box(0); +} +if (lean_is_scalar(x_1614)) { + x_1622 = lean_alloc_ctor(1, 1, 0); +} else { + x_1622 = x_1614; +} +lean_ctor_set(x_1622, 0, x_1620); +x_1623 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1623, 0, x_13); +lean_ctor_set(x_1623, 1, x_15); +lean_ctor_set(x_1623, 2, x_927); +lean_ctor_set(x_1623, 3, x_928); +lean_ctor_set(x_1623, 4, x_929); +lean_ctor_set(x_1623, 5, x_1592); +lean_ctor_set(x_1623, 6, x_1608); +lean_ctor_set(x_1623, 7, x_1609); +lean_ctor_set(x_1623, 8, x_1622); +if (lean_is_scalar(x_1621)) { + x_1624 = lean_alloc_ctor(1, 1, 0); +} else { + x_1624 = x_1621; +} +lean_ctor_set(x_1624, 0, x_1623); +return x_1624; +} +} +} +} +} +else +{ +lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; lean_object* x_1652; lean_object* x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; +lean_dec(x_1591); +lean_dec(x_929); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +if (lean_is_exclusive(x_1542)) { + lean_ctor_release(x_1542, 0); + x_1649 = x_1542; +} else { + lean_dec_ref(x_1542); + x_1649 = lean_box(0); +} +x_1650 = lean_unsigned_to_nat(80u); +x_1651 = l_Lean_Json_pretty(x_1590, x_1650); +x_1652 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1653 = lean_string_append(x_1652, x_1651); +lean_dec(x_1651); +x_1654 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1655 = lean_string_append(x_1653, x_1654); +if (lean_is_scalar(x_1649)) { + x_1656 = lean_alloc_ctor(0, 1, 0); +} else { + x_1656 = x_1649; + lean_ctor_set_tag(x_1656, 0); +} +lean_ctor_set(x_1656, 0, x_1655); +return x_1656; +} +} +} +} +} +} +else +{ +lean_object* x_1657; lean_object* x_1658; lean_object* x_1659; +x_1657 = lean_ctor_get(x_929, 0); +lean_inc(x_1657); +lean_dec(x_929); +x_1658 = l_Lean_Json_getStr_x3f(x_1657); +lean_dec(x_1657); +x_1659 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_1658, x_3); +if (lean_obj_tag(x_1659) == 0) +{ +lean_object* x_1660; lean_object* x_1661; lean_object* x_1662; +lean_dec(x_928); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1487 = lean_ctor_get(x_1486, 0); -lean_inc(x_1487); -if (lean_is_exclusive(x_1486)) { - lean_ctor_release(x_1486, 0); - x_1488 = x_1486; +x_1660 = lean_ctor_get(x_1659, 0); +lean_inc(x_1660); +if (lean_is_exclusive(x_1659)) { + lean_ctor_release(x_1659, 0); + x_1661 = x_1659; } else { - lean_dec_ref(x_1486); - x_1488 = lean_box(0); + lean_dec_ref(x_1659); + x_1661 = lean_box(0); } -if (lean_is_scalar(x_1488)) { - x_1489 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_1661)) { + x_1662 = lean_alloc_ctor(0, 1, 0); } else { - x_1489 = x_1488; + x_1662 = x_1661; } -lean_ctor_set(x_1489, 0, x_1487); -return x_1489; +lean_ctor_set(x_1662, 0, x_1660); +return x_1662; } else { -lean_object* x_1490; lean_object* x_1491; -x_1490 = lean_ctor_get(x_1486, 0); -lean_inc(x_1490); -lean_dec(x_1486); -x_1491 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1491, 0, x_1490); -x_22 = x_1491; -goto block_676; +lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; +x_1663 = lean_ctor_get(x_1659, 0); +lean_inc(x_1663); +if (lean_is_exclusive(x_1659)) { + lean_ctor_release(x_1659, 0); + x_1664 = x_1659; +} else { + lean_dec_ref(x_1659); + x_1664 = lean_box(0); } -} -} -} -} -block_676: +x_1665 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1665, 0, x_1663); +x_1666 = lean_ctor_get(x_1, 1); +lean_inc(x_1666); +lean_dec(x_1); +x_1667 = lean_ctor_get(x_5, 5); +lean_inc(x_1667); +lean_inc(x_3); +x_1668 = lean_apply_2(x_1666, x_1667, x_3); +if (lean_obj_tag(x_1668) == 0) { -lean_object* x_23; lean_object* x_638; lean_object* x_645; -x_645 = lean_ctor_get(x_5, 3); -lean_inc(x_645); -if (lean_obj_tag(x_645) == 0) -{ -lean_object* x_646; -lean_dec(x_21); -x_646 = lean_box(0); -x_23 = x_646; -goto block_637; +lean_object* x_1669; lean_object* x_1670; lean_object* x_1671; +lean_dec(x_1665); +lean_dec(x_1664); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1669 = lean_ctor_get(x_1668, 0); +lean_inc(x_1669); +if (lean_is_exclusive(x_1668)) { + lean_ctor_release(x_1668, 0); + x_1670 = x_1668; +} else { + lean_dec_ref(x_1668); + x_1670 = lean_box(0); +} +if (lean_is_scalar(x_1670)) { + x_1671 = lean_alloc_ctor(0, 1, 0); +} else { + x_1671 = x_1670; +} +lean_ctor_set(x_1671, 0, x_1669); +return x_1671; } else { -lean_object* x_647; -x_647 = lean_ctor_get(x_645, 0); -lean_inc(x_647); -lean_dec(x_645); -switch (lean_obj_tag(x_647)) { +lean_object* x_1672; +x_1672 = lean_ctor_get(x_5, 6); +lean_inc(x_1672); +if (lean_obj_tag(x_1672) == 0) +{ +lean_object* x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1692; +x_1673 = lean_ctor_get(x_1668, 0); +lean_inc(x_1673); +if (lean_is_exclusive(x_1668)) { + lean_ctor_release(x_1668, 0); + x_1674 = x_1668; +} else { + lean_dec_ref(x_1668); + x_1674 = lean_box(0); +} +x_1692 = lean_ctor_get(x_5, 7); +lean_inc(x_1692); +if (lean_obj_tag(x_1692) == 0) +{ +lean_dec(x_1664); +x_1675 = x_927; +goto block_1691; +} +else +{ +lean_object* x_1693; lean_object* x_1694; +x_1693 = lean_ctor_get(x_1692, 0); +lean_inc(x_1693); +if (lean_is_exclusive(x_1692)) { + lean_ctor_release(x_1692, 0); + x_1694 = x_1692; +} else { + lean_dec_ref(x_1692); + x_1694 = lean_box(0); +} +if (lean_obj_tag(x_1693) == 4) +{ +lean_object* x_1695; lean_object* x_1696; size_t x_1697; size_t x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; size_t x_1702; lean_object* x_1703; +lean_dec(x_1664); +x_1695 = lean_ctor_get(x_1693, 0); +lean_inc(x_1695); +lean_dec(x_1693); +x_1696 = lean_array_get_size(x_1695); +x_1697 = lean_usize_of_nat(x_1696); +lean_dec(x_1696); +x_1698 = 0; +x_1699 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1697, x_1698, x_1695); +x_1700 = lean_ctor_get(x_1699, 0); +lean_inc(x_1700); +lean_dec(x_1699); +x_1701 = lean_array_get_size(x_1700); +x_1702 = lean_usize_of_nat(x_1701); +lean_dec(x_1701); +x_1703 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1702, x_1698, x_1700, x_3); +if (lean_obj_tag(x_1703) == 0) +{ +lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; +lean_dec(x_1694); +lean_dec(x_1674); +lean_dec(x_1673); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1704 = lean_ctor_get(x_1703, 0); +lean_inc(x_1704); +if (lean_is_exclusive(x_1703)) { + lean_ctor_release(x_1703, 0); + x_1705 = x_1703; +} else { + lean_dec_ref(x_1703); + x_1705 = lean_box(0); +} +if (lean_is_scalar(x_1705)) { + x_1706 = lean_alloc_ctor(0, 1, 0); +} else { + x_1706 = x_1705; +} +lean_ctor_set(x_1706, 0, x_1704); +return x_1706; +} +else +{ +lean_object* x_1707; lean_object* x_1708; +x_1707 = lean_ctor_get(x_1703, 0); +lean_inc(x_1707); +lean_dec(x_1703); +if (lean_is_scalar(x_1694)) { + x_1708 = lean_alloc_ctor(1, 1, 0); +} else { + x_1708 = x_1694; +} +lean_ctor_set(x_1708, 0, x_1707); +x_1675 = x_1708; +goto block_1691; +} +} +else +{ +lean_object* x_1709; lean_object* x_1710; lean_object* x_1711; lean_object* x_1712; lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; +lean_dec(x_1694); +lean_dec(x_1674); +lean_dec(x_1673); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1709 = lean_unsigned_to_nat(80u); +x_1710 = l_Lean_Json_pretty(x_1693, x_1709); +x_1711 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1712 = lean_string_append(x_1711, x_1710); +lean_dec(x_1710); +x_1713 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1714 = lean_string_append(x_1712, x_1713); +if (lean_is_scalar(x_1664)) { + x_1715 = lean_alloc_ctor(0, 1, 0); +} else { + x_1715 = x_1664; + lean_ctor_set_tag(x_1715, 0); +} +lean_ctor_set(x_1715, 0, x_1714); +return x_1715; +} +} +block_1691: +{ +lean_object* x_1676; +x_1676 = lean_ctor_get(x_5, 8); +lean_inc(x_1676); +lean_dec(x_5); +if (lean_obj_tag(x_1676) == 0) +{ +lean_object* x_1677; lean_object* x_1678; +lean_dec(x_3); +x_1677 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1677, 0, x_13); +lean_ctor_set(x_1677, 1, x_15); +lean_ctor_set(x_1677, 2, x_927); +lean_ctor_set(x_1677, 3, x_928); +lean_ctor_set(x_1677, 4, x_1665); +lean_ctor_set(x_1677, 5, x_1673); +lean_ctor_set(x_1677, 6, x_927); +lean_ctor_set(x_1677, 7, x_1675); +lean_ctor_set(x_1677, 8, x_927); +if (lean_is_scalar(x_1674)) { + x_1678 = lean_alloc_ctor(1, 1, 0); +} else { + x_1678 = x_1674; +} +lean_ctor_set(x_1678, 0, x_1677); +return x_1678; +} +else +{ +lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; lean_object* x_1682; +x_1679 = lean_ctor_get(x_1676, 0); +lean_inc(x_1679); +if (lean_is_exclusive(x_1676)) { + lean_ctor_release(x_1676, 0); + x_1680 = x_1676; +} else { + lean_dec_ref(x_1676); + x_1680 = lean_box(0); +} +if (lean_is_scalar(x_1674)) { + x_1681 = lean_alloc_ctor(1, 1, 0); +} else { + x_1681 = x_1674; +} +lean_ctor_set(x_1681, 0, x_1679); +x_1682 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1681, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1682) == 0) +{ +lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; +lean_dec(x_1680); +lean_dec(x_1675); +lean_dec(x_1673); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1683 = lean_ctor_get(x_1682, 0); +lean_inc(x_1683); +if (lean_is_exclusive(x_1682)) { + lean_ctor_release(x_1682, 0); + x_1684 = x_1682; +} else { + lean_dec_ref(x_1682); + x_1684 = lean_box(0); +} +if (lean_is_scalar(x_1684)) { + x_1685 = lean_alloc_ctor(0, 1, 0); +} else { + x_1685 = x_1684; +} +lean_ctor_set(x_1685, 0, x_1683); +return x_1685; +} +else +{ +lean_object* x_1686; lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; +x_1686 = lean_ctor_get(x_1682, 0); +lean_inc(x_1686); +if (lean_is_exclusive(x_1682)) { + lean_ctor_release(x_1682, 0); + x_1687 = x_1682; +} else { + lean_dec_ref(x_1682); + x_1687 = lean_box(0); +} +if (lean_is_scalar(x_1680)) { + x_1688 = lean_alloc_ctor(1, 1, 0); +} else { + x_1688 = x_1680; +} +lean_ctor_set(x_1688, 0, x_1686); +x_1689 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1689, 0, x_13); +lean_ctor_set(x_1689, 1, x_15); +lean_ctor_set(x_1689, 2, x_927); +lean_ctor_set(x_1689, 3, x_928); +lean_ctor_set(x_1689, 4, x_1665); +lean_ctor_set(x_1689, 5, x_1673); +lean_ctor_set(x_1689, 6, x_927); +lean_ctor_set(x_1689, 7, x_1675); +lean_ctor_set(x_1689, 8, x_1688); +if (lean_is_scalar(x_1687)) { + x_1690 = lean_alloc_ctor(1, 1, 0); +} else { + x_1690 = x_1687; +} +lean_ctor_set(x_1690, 0, x_1689); +return x_1690; +} +} +} +} +else +{ +lean_object* x_1716; lean_object* x_1717; +lean_dec(x_1664); +x_1716 = lean_ctor_get(x_1672, 0); +lean_inc(x_1716); +if (lean_is_exclusive(x_1672)) { + lean_ctor_release(x_1672, 0); + x_1717 = x_1672; +} else { + lean_dec_ref(x_1672); + x_1717 = lean_box(0); +} +if (lean_obj_tag(x_1716) == 4) +{ +lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; size_t x_1721; size_t x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; lean_object* x_1726; size_t x_1727; lean_object* x_1728; +x_1718 = lean_ctor_get(x_1668, 0); +lean_inc(x_1718); +lean_dec(x_1668); +x_1719 = lean_ctor_get(x_1716, 0); +lean_inc(x_1719); +lean_dec(x_1716); +x_1720 = lean_array_get_size(x_1719); +x_1721 = lean_usize_of_nat(x_1720); +lean_dec(x_1720); +x_1722 = 0; +x_1723 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1721, x_1722, x_1719); +x_1724 = lean_ctor_get(x_1723, 0); +lean_inc(x_1724); +if (lean_is_exclusive(x_1723)) { + lean_ctor_release(x_1723, 0); + x_1725 = x_1723; +} else { + lean_dec_ref(x_1723); + x_1725 = lean_box(0); +} +x_1726 = lean_array_get_size(x_1724); +x_1727 = lean_usize_of_nat(x_1726); +lean_dec(x_1726); +x_1728 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1727, x_1722, x_1724, x_3); +if (lean_obj_tag(x_1728) == 0) +{ +lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; +lean_dec(x_1725); +lean_dec(x_1718); +lean_dec(x_1717); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1729 = lean_ctor_get(x_1728, 0); +lean_inc(x_1729); +if (lean_is_exclusive(x_1728)) { + lean_ctor_release(x_1728, 0); + x_1730 = x_1728; +} else { + lean_dec_ref(x_1728); + x_1730 = lean_box(0); +} +if (lean_is_scalar(x_1730)) { + x_1731 = lean_alloc_ctor(0, 1, 0); +} else { + x_1731 = x_1730; +} +lean_ctor_set(x_1731, 0, x_1729); +return x_1731; +} +else +{ +lean_object* x_1732; lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1752; +x_1732 = lean_ctor_get(x_1728, 0); +lean_inc(x_1732); +if (lean_is_exclusive(x_1728)) { + lean_ctor_release(x_1728, 0); + x_1733 = x_1728; +} else { + lean_dec_ref(x_1728); + x_1733 = lean_box(0); +} +if (lean_is_scalar(x_1717)) { + x_1734 = lean_alloc_ctor(1, 1, 0); +} else { + x_1734 = x_1717; +} +lean_ctor_set(x_1734, 0, x_1732); +x_1752 = lean_ctor_get(x_5, 7); +lean_inc(x_1752); +if (lean_obj_tag(x_1752) == 0) +{ +lean_dec(x_1725); +x_1735 = x_927; +goto block_1751; +} +else +{ +lean_object* x_1753; lean_object* x_1754; +x_1753 = lean_ctor_get(x_1752, 0); +lean_inc(x_1753); +if (lean_is_exclusive(x_1752)) { + lean_ctor_release(x_1752, 0); + x_1754 = x_1752; +} else { + lean_dec_ref(x_1752); + x_1754 = lean_box(0); +} +if (lean_obj_tag(x_1753) == 4) +{ +lean_object* x_1755; lean_object* x_1756; size_t x_1757; lean_object* x_1758; lean_object* x_1759; lean_object* x_1760; size_t x_1761; lean_object* x_1762; +lean_dec(x_1725); +x_1755 = lean_ctor_get(x_1753, 0); +lean_inc(x_1755); +lean_dec(x_1753); +x_1756 = lean_array_get_size(x_1755); +x_1757 = lean_usize_of_nat(x_1756); +lean_dec(x_1756); +x_1758 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1757, x_1722, x_1755); +x_1759 = lean_ctor_get(x_1758, 0); +lean_inc(x_1759); +lean_dec(x_1758); +x_1760 = lean_array_get_size(x_1759); +x_1761 = lean_usize_of_nat(x_1760); +lean_dec(x_1760); +x_1762 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1761, x_1722, x_1759, x_3); +if (lean_obj_tag(x_1762) == 0) +{ +lean_object* x_1763; lean_object* x_1764; lean_object* x_1765; +lean_dec(x_1754); +lean_dec(x_1734); +lean_dec(x_1733); +lean_dec(x_1718); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1763 = lean_ctor_get(x_1762, 0); +lean_inc(x_1763); +if (lean_is_exclusive(x_1762)) { + lean_ctor_release(x_1762, 0); + x_1764 = x_1762; +} else { + lean_dec_ref(x_1762); + x_1764 = lean_box(0); +} +if (lean_is_scalar(x_1764)) { + x_1765 = lean_alloc_ctor(0, 1, 0); +} else { + x_1765 = x_1764; +} +lean_ctor_set(x_1765, 0, x_1763); +return x_1765; +} +else +{ +lean_object* x_1766; lean_object* x_1767; +x_1766 = lean_ctor_get(x_1762, 0); +lean_inc(x_1766); +lean_dec(x_1762); +if (lean_is_scalar(x_1754)) { + x_1767 = lean_alloc_ctor(1, 1, 0); +} else { + x_1767 = x_1754; +} +lean_ctor_set(x_1767, 0, x_1766); +x_1735 = x_1767; +goto block_1751; +} +} +else +{ +lean_object* x_1768; lean_object* x_1769; lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; lean_object* x_1773; lean_object* x_1774; +lean_dec(x_1754); +lean_dec(x_1734); +lean_dec(x_1733); +lean_dec(x_1718); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_1768 = lean_unsigned_to_nat(80u); +x_1769 = l_Lean_Json_pretty(x_1753, x_1768); +x_1770 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1771 = lean_string_append(x_1770, x_1769); +lean_dec(x_1769); +x_1772 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1773 = lean_string_append(x_1771, x_1772); +if (lean_is_scalar(x_1725)) { + x_1774 = lean_alloc_ctor(0, 1, 0); +} else { + x_1774 = x_1725; + lean_ctor_set_tag(x_1774, 0); +} +lean_ctor_set(x_1774, 0, x_1773); +return x_1774; +} +} +block_1751: +{ +lean_object* x_1736; +x_1736 = lean_ctor_get(x_5, 8); +lean_inc(x_1736); +lean_dec(x_5); +if (lean_obj_tag(x_1736) == 0) +{ +lean_object* x_1737; lean_object* x_1738; +lean_dec(x_3); +x_1737 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1737, 0, x_13); +lean_ctor_set(x_1737, 1, x_15); +lean_ctor_set(x_1737, 2, x_927); +lean_ctor_set(x_1737, 3, x_928); +lean_ctor_set(x_1737, 4, x_1665); +lean_ctor_set(x_1737, 5, x_1718); +lean_ctor_set(x_1737, 6, x_1734); +lean_ctor_set(x_1737, 7, x_1735); +lean_ctor_set(x_1737, 8, x_927); +if (lean_is_scalar(x_1733)) { + x_1738 = lean_alloc_ctor(1, 1, 0); +} else { + x_1738 = x_1733; +} +lean_ctor_set(x_1738, 0, x_1737); +return x_1738; +} +else +{ +lean_object* x_1739; lean_object* x_1740; lean_object* x_1741; lean_object* x_1742; +x_1739 = lean_ctor_get(x_1736, 0); +lean_inc(x_1739); +if (lean_is_exclusive(x_1736)) { + lean_ctor_release(x_1736, 0); + x_1740 = x_1736; +} else { + lean_dec_ref(x_1736); + x_1740 = lean_box(0); +} +if (lean_is_scalar(x_1733)) { + x_1741 = lean_alloc_ctor(1, 1, 0); +} else { + x_1741 = x_1733; +} +lean_ctor_set(x_1741, 0, x_1739); +x_1742 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_1741, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_1742) == 0) +{ +lean_object* x_1743; lean_object* x_1744; lean_object* x_1745; +lean_dec(x_1740); +lean_dec(x_1735); +lean_dec(x_1734); +lean_dec(x_1718); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +x_1743 = lean_ctor_get(x_1742, 0); +lean_inc(x_1743); +if (lean_is_exclusive(x_1742)) { + lean_ctor_release(x_1742, 0); + x_1744 = x_1742; +} else { + lean_dec_ref(x_1742); + x_1744 = lean_box(0); +} +if (lean_is_scalar(x_1744)) { + x_1745 = lean_alloc_ctor(0, 1, 0); +} else { + x_1745 = x_1744; +} +lean_ctor_set(x_1745, 0, x_1743); +return x_1745; +} +else +{ +lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; lean_object* x_1749; lean_object* x_1750; +x_1746 = lean_ctor_get(x_1742, 0); +lean_inc(x_1746); +if (lean_is_exclusive(x_1742)) { + lean_ctor_release(x_1742, 0); + x_1747 = x_1742; +} else { + lean_dec_ref(x_1742); + x_1747 = lean_box(0); +} +if (lean_is_scalar(x_1740)) { + x_1748 = lean_alloc_ctor(1, 1, 0); +} else { + x_1748 = x_1740; +} +lean_ctor_set(x_1748, 0, x_1746); +x_1749 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_1749, 0, x_13); +lean_ctor_set(x_1749, 1, x_15); +lean_ctor_set(x_1749, 2, x_927); +lean_ctor_set(x_1749, 3, x_928); +lean_ctor_set(x_1749, 4, x_1665); +lean_ctor_set(x_1749, 5, x_1718); +lean_ctor_set(x_1749, 6, x_1734); +lean_ctor_set(x_1749, 7, x_1735); +lean_ctor_set(x_1749, 8, x_1748); +if (lean_is_scalar(x_1747)) { + x_1750 = lean_alloc_ctor(1, 1, 0); +} else { + x_1750 = x_1747; +} +lean_ctor_set(x_1750, 0, x_1749); +return x_1750; +} +} +} +} +} +else +{ +lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; +lean_dec(x_1717); +lean_dec(x_1665); +lean_dec(x_928); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +if (lean_is_exclusive(x_1668)) { + lean_ctor_release(x_1668, 0); + x_1775 = x_1668; +} else { + lean_dec_ref(x_1668); + x_1775 = lean_box(0); +} +x_1776 = lean_unsigned_to_nat(80u); +x_1777 = l_Lean_Json_pretty(x_1716, x_1776); +x_1778 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_1779 = lean_string_append(x_1778, x_1777); +lean_dec(x_1777); +x_1780 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1781 = lean_string_append(x_1779, x_1780); +if (lean_is_scalar(x_1775)) { + x_1782 = lean_alloc_ctor(0, 1, 0); +} else { + x_1782 = x_1775; + lean_ctor_set_tag(x_1782, 0); +} +lean_ctor_set(x_1782, 0, x_1781); +return x_1782; +} +} +} +} +} +} +} +block_1790: +{ +if (lean_obj_tag(x_1784) == 0) +{ +uint8_t x_1785; +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1785 = !lean_is_exclusive(x_1784); +if (x_1785 == 0) +{ +return x_1784; +} +else +{ +lean_object* x_1786; lean_object* x_1787; +x_1786 = lean_ctor_get(x_1784, 0); +lean_inc(x_1786); +lean_dec(x_1784); +x_1787 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1787, 0, x_1786); +return x_1787; +} +} +else +{ +lean_object* x_1788; lean_object* x_1789; +x_1788 = lean_ctor_get(x_1784, 0); +lean_inc(x_1788); +lean_dec(x_1784); +x_1789 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1789, 0, x_1788); +x_928 = x_1789; +goto block_1783; +} +} +} +else +{ +uint8_t x_1821; +x_1821 = !lean_is_exclusive(x_926); +if (x_1821 == 0) +{ +lean_object* x_1822; lean_object* x_1823; +x_1822 = lean_ctor_get(x_926, 0); +x_1823 = l_Lean_Json_getNat_x3f(x_1822); +if (lean_obj_tag(x_1823) == 0) +{ +uint8_t x_1824; +x_1824 = !lean_is_exclusive(x_1823); +if (x_1824 == 0) +{ +lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; lean_object* x_1832; +x_1825 = lean_ctor_get(x_1823, 0); +lean_dec(x_1825); +x_1826 = lean_unsigned_to_nat(80u); +x_1827 = l_Lean_Json_pretty(x_1822, x_1826); +x_1828 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_1829 = lean_string_append(x_1828, x_1827); +lean_dec(x_1827); +x_1830 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1831 = lean_string_append(x_1829, x_1830); +lean_ctor_set(x_1823, 0, x_1831); +x_1832 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1823, x_3); +if (lean_obj_tag(x_1832) == 0) +{ +uint8_t x_1833; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1833 = !lean_is_exclusive(x_1832); +if (x_1833 == 0) +{ +return x_1832; +} +else +{ +lean_object* x_1834; lean_object* x_1835; +x_1834 = lean_ctor_get(x_1832, 0); +lean_inc(x_1834); +lean_dec(x_1832); +x_1835 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1835, 0, x_1834); +return x_1835; +} +} +else +{ +lean_object* x_1836; +x_1836 = lean_ctor_get(x_1832, 0); +lean_inc(x_1836); +lean_dec(x_1832); +lean_ctor_set(x_926, 0, x_1836); +x_16 = x_926; +goto block_925; +} +} +else +{ +lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; lean_object* x_1844; +lean_dec(x_1823); +x_1837 = lean_unsigned_to_nat(80u); +x_1838 = l_Lean_Json_pretty(x_1822, x_1837); +x_1839 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_1840 = lean_string_append(x_1839, x_1838); +lean_dec(x_1838); +x_1841 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1842 = lean_string_append(x_1840, x_1841); +x_1843 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1843, 0, x_1842); +x_1844 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1843, x_3); +if (lean_obj_tag(x_1844) == 0) +{ +lean_object* x_1845; lean_object* x_1846; lean_object* x_1847; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1845 = lean_ctor_get(x_1844, 0); +lean_inc(x_1845); +if (lean_is_exclusive(x_1844)) { + lean_ctor_release(x_1844, 0); + x_1846 = x_1844; +} else { + lean_dec_ref(x_1844); + x_1846 = lean_box(0); +} +if (lean_is_scalar(x_1846)) { + x_1847 = lean_alloc_ctor(0, 1, 0); +} else { + x_1847 = x_1846; +} +lean_ctor_set(x_1847, 0, x_1845); +return x_1847; +} +else +{ +lean_object* x_1848; +x_1848 = lean_ctor_get(x_1844, 0); +lean_inc(x_1848); +lean_dec(x_1844); +lean_ctor_set(x_926, 0, x_1848); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +uint8_t x_1849; +x_1849 = !lean_is_exclusive(x_1823); +if (x_1849 == 0) +{ +lean_object* x_1850; lean_object* x_1851; uint8_t x_1852; +x_1850 = lean_ctor_get(x_1823, 0); +x_1851 = lean_unsigned_to_nat(1u); +x_1852 = lean_nat_dec_eq(x_1850, x_1851); +if (x_1852 == 0) +{ +lean_object* x_1853; uint8_t x_1854; +x_1853 = lean_unsigned_to_nat(2u); +x_1854 = lean_nat_dec_eq(x_1850, x_1853); +if (x_1854 == 0) +{ +lean_object* x_1855; uint8_t x_1856; +x_1855 = lean_unsigned_to_nat(3u); +x_1856 = lean_nat_dec_eq(x_1850, x_1855); +if (x_1856 == 0) +{ +lean_object* x_1857; uint8_t x_1858; +x_1857 = lean_unsigned_to_nat(4u); +x_1858 = lean_nat_dec_eq(x_1850, x_1857); +lean_dec(x_1850); +if (x_1858 == 0) +{ +lean_object* x_1859; lean_object* x_1860; lean_object* x_1861; lean_object* x_1862; lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; +x_1859 = lean_unsigned_to_nat(80u); +x_1860 = l_Lean_Json_pretty(x_1822, x_1859); +x_1861 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_1862 = lean_string_append(x_1861, x_1860); +lean_dec(x_1860); +x_1863 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1864 = lean_string_append(x_1862, x_1863); +lean_ctor_set_tag(x_1823, 0); +lean_ctor_set(x_1823, 0, x_1864); +x_1865 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1823, x_3); +if (lean_obj_tag(x_1865) == 0) +{ +uint8_t x_1866; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1866 = !lean_is_exclusive(x_1865); +if (x_1866 == 0) +{ +return x_1865; +} +else +{ +lean_object* x_1867; lean_object* x_1868; +x_1867 = lean_ctor_get(x_1865, 0); +lean_inc(x_1867); +lean_dec(x_1865); +x_1868 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1868, 0, x_1867); +return x_1868; +} +} +else +{ +lean_object* x_1869; +x_1869 = lean_ctor_get(x_1865, 0); +lean_inc(x_1869); +lean_dec(x_1865); +lean_ctor_set(x_926, 0, x_1869); +x_16 = x_926; +goto block_925; +} +} +else +{ +lean_object* x_1870; lean_object* x_1871; +lean_free_object(x_1823); +lean_dec(x_1822); +x_1870 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__3; +x_1871 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1870, x_3); +if (lean_obj_tag(x_1871) == 0) +{ +uint8_t x_1872; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1872 = !lean_is_exclusive(x_1871); +if (x_1872 == 0) +{ +return x_1871; +} +else +{ +lean_object* x_1873; lean_object* x_1874; +x_1873 = lean_ctor_get(x_1871, 0); +lean_inc(x_1873); +lean_dec(x_1871); +x_1874 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1874, 0, x_1873); +return x_1874; +} +} +else +{ +lean_object* x_1875; +x_1875 = lean_ctor_get(x_1871, 0); +lean_inc(x_1875); +lean_dec(x_1871); +lean_ctor_set(x_926, 0, x_1875); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +lean_object* x_1876; lean_object* x_1877; +lean_free_object(x_1823); +lean_dec(x_1850); +lean_dec(x_1822); +x_1876 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; +x_1877 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1876, x_3); +if (lean_obj_tag(x_1877) == 0) +{ +uint8_t x_1878; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1878 = !lean_is_exclusive(x_1877); +if (x_1878 == 0) +{ +return x_1877; +} +else +{ +lean_object* x_1879; lean_object* x_1880; +x_1879 = lean_ctor_get(x_1877, 0); +lean_inc(x_1879); +lean_dec(x_1877); +x_1880 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1880, 0, x_1879); +return x_1880; +} +} +else +{ +lean_object* x_1881; +x_1881 = lean_ctor_get(x_1877, 0); +lean_inc(x_1881); +lean_dec(x_1877); +lean_ctor_set(x_926, 0, x_1881); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +lean_object* x_1882; lean_object* x_1883; +lean_free_object(x_1823); +lean_dec(x_1850); +lean_dec(x_1822); +x_1882 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; +x_1883 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1882, x_3); +if (lean_obj_tag(x_1883) == 0) +{ +uint8_t x_1884; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1884 = !lean_is_exclusive(x_1883); +if (x_1884 == 0) +{ +return x_1883; +} +else +{ +lean_object* x_1885; lean_object* x_1886; +x_1885 = lean_ctor_get(x_1883, 0); +lean_inc(x_1885); +lean_dec(x_1883); +x_1886 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1886, 0, x_1885); +return x_1886; +} +} +else +{ +lean_object* x_1887; +x_1887 = lean_ctor_get(x_1883, 0); +lean_inc(x_1887); +lean_dec(x_1883); +lean_ctor_set(x_926, 0, x_1887); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +lean_object* x_1888; lean_object* x_1889; +lean_free_object(x_1823); +lean_dec(x_1850); +lean_dec(x_1822); +x_1888 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; +x_1889 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1888, x_3); +if (lean_obj_tag(x_1889) == 0) +{ +uint8_t x_1890; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1890 = !lean_is_exclusive(x_1889); +if (x_1890 == 0) +{ +return x_1889; +} +else +{ +lean_object* x_1891; lean_object* x_1892; +x_1891 = lean_ctor_get(x_1889, 0); +lean_inc(x_1891); +lean_dec(x_1889); +x_1892 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1892, 0, x_1891); +return x_1892; +} +} +else +{ +lean_object* x_1893; +x_1893 = lean_ctor_get(x_1889, 0); +lean_inc(x_1893); +lean_dec(x_1889); +lean_ctor_set(x_926, 0, x_1893); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +lean_object* x_1894; lean_object* x_1895; uint8_t x_1896; +x_1894 = lean_ctor_get(x_1823, 0); +lean_inc(x_1894); +lean_dec(x_1823); +x_1895 = lean_unsigned_to_nat(1u); +x_1896 = lean_nat_dec_eq(x_1894, x_1895); +if (x_1896 == 0) +{ +lean_object* x_1897; uint8_t x_1898; +x_1897 = lean_unsigned_to_nat(2u); +x_1898 = lean_nat_dec_eq(x_1894, x_1897); +if (x_1898 == 0) +{ +lean_object* x_1899; uint8_t x_1900; +x_1899 = lean_unsigned_to_nat(3u); +x_1900 = lean_nat_dec_eq(x_1894, x_1899); +if (x_1900 == 0) +{ +lean_object* x_1901; uint8_t x_1902; +x_1901 = lean_unsigned_to_nat(4u); +x_1902 = lean_nat_dec_eq(x_1894, x_1901); +lean_dec(x_1894); +if (x_1902 == 0) +{ +lean_object* x_1903; lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; lean_object* x_1908; lean_object* x_1909; lean_object* x_1910; +x_1903 = lean_unsigned_to_nat(80u); +x_1904 = l_Lean_Json_pretty(x_1822, x_1903); +x_1905 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_1906 = lean_string_append(x_1905, x_1904); +lean_dec(x_1904); +x_1907 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1908 = lean_string_append(x_1906, x_1907); +x_1909 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_1909, 0, x_1908); +x_1910 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1909, x_3); +if (lean_obj_tag(x_1910) == 0) +{ +lean_object* x_1911; lean_object* x_1912; lean_object* x_1913; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1911 = lean_ctor_get(x_1910, 0); +lean_inc(x_1911); +if (lean_is_exclusive(x_1910)) { + lean_ctor_release(x_1910, 0); + x_1912 = x_1910; +} else { + lean_dec_ref(x_1910); + x_1912 = lean_box(0); +} +if (lean_is_scalar(x_1912)) { + x_1913 = lean_alloc_ctor(0, 1, 0); +} else { + x_1913 = x_1912; +} +lean_ctor_set(x_1913, 0, x_1911); +return x_1913; +} +else +{ +lean_object* x_1914; +x_1914 = lean_ctor_get(x_1910, 0); +lean_inc(x_1914); +lean_dec(x_1910); +lean_ctor_set(x_926, 0, x_1914); +x_16 = x_926; +goto block_925; +} +} +else +{ +lean_object* x_1915; lean_object* x_1916; +lean_dec(x_1822); +x_1915 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__3; +x_1916 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1915, x_3); +if (lean_obj_tag(x_1916) == 0) +{ +lean_object* x_1917; lean_object* x_1918; lean_object* x_1919; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1917 = lean_ctor_get(x_1916, 0); +lean_inc(x_1917); +if (lean_is_exclusive(x_1916)) { + lean_ctor_release(x_1916, 0); + x_1918 = x_1916; +} else { + lean_dec_ref(x_1916); + x_1918 = lean_box(0); +} +if (lean_is_scalar(x_1918)) { + x_1919 = lean_alloc_ctor(0, 1, 0); +} else { + x_1919 = x_1918; +} +lean_ctor_set(x_1919, 0, x_1917); +return x_1919; +} +else +{ +lean_object* x_1920; +x_1920 = lean_ctor_get(x_1916, 0); +lean_inc(x_1920); +lean_dec(x_1916); +lean_ctor_set(x_926, 0, x_1920); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +lean_object* x_1921; lean_object* x_1922; +lean_dec(x_1894); +lean_dec(x_1822); +x_1921 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; +x_1922 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1921, x_3); +if (lean_obj_tag(x_1922) == 0) +{ +lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1923 = lean_ctor_get(x_1922, 0); +lean_inc(x_1923); +if (lean_is_exclusive(x_1922)) { + lean_ctor_release(x_1922, 0); + x_1924 = x_1922; +} else { + lean_dec_ref(x_1922); + x_1924 = lean_box(0); +} +if (lean_is_scalar(x_1924)) { + x_1925 = lean_alloc_ctor(0, 1, 0); +} else { + x_1925 = x_1924; +} +lean_ctor_set(x_1925, 0, x_1923); +return x_1925; +} +else +{ +lean_object* x_1926; +x_1926 = lean_ctor_get(x_1922, 0); +lean_inc(x_1926); +lean_dec(x_1922); +lean_ctor_set(x_926, 0, x_1926); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +lean_object* x_1927; lean_object* x_1928; +lean_dec(x_1894); +lean_dec(x_1822); +x_1927 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; +x_1928 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1927, x_3); +if (lean_obj_tag(x_1928) == 0) +{ +lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1929 = lean_ctor_get(x_1928, 0); +lean_inc(x_1929); +if (lean_is_exclusive(x_1928)) { + lean_ctor_release(x_1928, 0); + x_1930 = x_1928; +} else { + lean_dec_ref(x_1928); + x_1930 = lean_box(0); +} +if (lean_is_scalar(x_1930)) { + x_1931 = lean_alloc_ctor(0, 1, 0); +} else { + x_1931 = x_1930; +} +lean_ctor_set(x_1931, 0, x_1929); +return x_1931; +} +else +{ +lean_object* x_1932; +x_1932 = lean_ctor_get(x_1928, 0); +lean_inc(x_1932); +lean_dec(x_1928); +lean_ctor_set(x_926, 0, x_1932); +x_16 = x_926; +goto block_925; +} +} +} +else +{ +lean_object* x_1933; lean_object* x_1934; +lean_dec(x_1894); +lean_dec(x_1822); +x_1933 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; +x_1934 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1933, x_3); +if (lean_obj_tag(x_1934) == 0) +{ +lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; +lean_free_object(x_926); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1935 = lean_ctor_get(x_1934, 0); +lean_inc(x_1935); +if (lean_is_exclusive(x_1934)) { + lean_ctor_release(x_1934, 0); + x_1936 = x_1934; +} else { + lean_dec_ref(x_1934); + x_1936 = lean_box(0); +} +if (lean_is_scalar(x_1936)) { + x_1937 = lean_alloc_ctor(0, 1, 0); +} else { + x_1937 = x_1936; +} +lean_ctor_set(x_1937, 0, x_1935); +return x_1937; +} +else +{ +lean_object* x_1938; +x_1938 = lean_ctor_get(x_1934, 0); +lean_inc(x_1938); +lean_dec(x_1934); +lean_ctor_set(x_926, 0, x_1938); +x_16 = x_926; +goto block_925; +} +} +} +} +} +else +{ +lean_object* x_1939; lean_object* x_1940; +x_1939 = lean_ctor_get(x_926, 0); +lean_inc(x_1939); +lean_dec(x_926); +x_1940 = l_Lean_Json_getNat_x3f(x_1939); +if (lean_obj_tag(x_1940) == 0) +{ +lean_object* x_1941; lean_object* x_1942; lean_object* x_1943; lean_object* x_1944; lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; lean_object* x_1948; lean_object* x_1949; +if (lean_is_exclusive(x_1940)) { + lean_ctor_release(x_1940, 0); + x_1941 = x_1940; +} else { + lean_dec_ref(x_1940); + x_1941 = lean_box(0); +} +x_1942 = lean_unsigned_to_nat(80u); +x_1943 = l_Lean_Json_pretty(x_1939, x_1942); +x_1944 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_1945 = lean_string_append(x_1944, x_1943); +lean_dec(x_1943); +x_1946 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1947 = lean_string_append(x_1945, x_1946); +if (lean_is_scalar(x_1941)) { + x_1948 = lean_alloc_ctor(0, 1, 0); +} else { + x_1948 = x_1941; +} +lean_ctor_set(x_1948, 0, x_1947); +x_1949 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1948, x_3); +if (lean_obj_tag(x_1949) == 0) +{ +lean_object* x_1950; lean_object* x_1951; lean_object* x_1952; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1950 = lean_ctor_get(x_1949, 0); +lean_inc(x_1950); +if (lean_is_exclusive(x_1949)) { + lean_ctor_release(x_1949, 0); + x_1951 = x_1949; +} else { + lean_dec_ref(x_1949); + x_1951 = lean_box(0); +} +if (lean_is_scalar(x_1951)) { + x_1952 = lean_alloc_ctor(0, 1, 0); +} else { + x_1952 = x_1951; +} +lean_ctor_set(x_1952, 0, x_1950); +return x_1952; +} +else +{ +lean_object* x_1953; lean_object* x_1954; +x_1953 = lean_ctor_get(x_1949, 0); +lean_inc(x_1953); +lean_dec(x_1949); +x_1954 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1954, 0, x_1953); +x_16 = x_1954; +goto block_925; +} +} +else +{ +lean_object* x_1955; lean_object* x_1956; lean_object* x_1957; uint8_t x_1958; +x_1955 = lean_ctor_get(x_1940, 0); +lean_inc(x_1955); +if (lean_is_exclusive(x_1940)) { + lean_ctor_release(x_1940, 0); + x_1956 = x_1940; +} else { + lean_dec_ref(x_1940); + x_1956 = lean_box(0); +} +x_1957 = lean_unsigned_to_nat(1u); +x_1958 = lean_nat_dec_eq(x_1955, x_1957); +if (x_1958 == 0) +{ +lean_object* x_1959; uint8_t x_1960; +x_1959 = lean_unsigned_to_nat(2u); +x_1960 = lean_nat_dec_eq(x_1955, x_1959); +if (x_1960 == 0) +{ +lean_object* x_1961; uint8_t x_1962; +x_1961 = lean_unsigned_to_nat(3u); +x_1962 = lean_nat_dec_eq(x_1955, x_1961); +if (x_1962 == 0) +{ +lean_object* x_1963; uint8_t x_1964; +x_1963 = lean_unsigned_to_nat(4u); +x_1964 = lean_nat_dec_eq(x_1955, x_1963); +lean_dec(x_1955); +if (x_1964 == 0) +{ +lean_object* x_1965; lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; +x_1965 = lean_unsigned_to_nat(80u); +x_1966 = l_Lean_Json_pretty(x_1939, x_1965); +x_1967 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; +x_1968 = lean_string_append(x_1967, x_1966); +lean_dec(x_1966); +x_1969 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_1970 = lean_string_append(x_1968, x_1969); +if (lean_is_scalar(x_1956)) { + x_1971 = lean_alloc_ctor(0, 1, 0); +} else { + x_1971 = x_1956; + lean_ctor_set_tag(x_1971, 0); +} +lean_ctor_set(x_1971, 0, x_1970); +x_1972 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1971, x_3); +if (lean_obj_tag(x_1972) == 0) +{ +lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1973 = lean_ctor_get(x_1972, 0); +lean_inc(x_1973); +if (lean_is_exclusive(x_1972)) { + lean_ctor_release(x_1972, 0); + x_1974 = x_1972; +} else { + lean_dec_ref(x_1972); + x_1974 = lean_box(0); +} +if (lean_is_scalar(x_1974)) { + x_1975 = lean_alloc_ctor(0, 1, 0); +} else { + x_1975 = x_1974; +} +lean_ctor_set(x_1975, 0, x_1973); +return x_1975; +} +else +{ +lean_object* x_1976; lean_object* x_1977; +x_1976 = lean_ctor_get(x_1972, 0); +lean_inc(x_1976); +lean_dec(x_1972); +x_1977 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1977, 0, x_1976); +x_16 = x_1977; +goto block_925; +} +} +else +{ +lean_object* x_1978; lean_object* x_1979; +lean_dec(x_1956); +lean_dec(x_1939); +x_1978 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__3; +x_1979 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1978, x_3); +if (lean_obj_tag(x_1979) == 0) +{ +lean_object* x_1980; lean_object* x_1981; lean_object* x_1982; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1980 = lean_ctor_get(x_1979, 0); +lean_inc(x_1980); +if (lean_is_exclusive(x_1979)) { + lean_ctor_release(x_1979, 0); + x_1981 = x_1979; +} else { + lean_dec_ref(x_1979); + x_1981 = lean_box(0); +} +if (lean_is_scalar(x_1981)) { + x_1982 = lean_alloc_ctor(0, 1, 0); +} else { + x_1982 = x_1981; +} +lean_ctor_set(x_1982, 0, x_1980); +return x_1982; +} +else +{ +lean_object* x_1983; lean_object* x_1984; +x_1983 = lean_ctor_get(x_1979, 0); +lean_inc(x_1983); +lean_dec(x_1979); +x_1984 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1984, 0, x_1983); +x_16 = x_1984; +goto block_925; +} +} +} +else +{ +lean_object* x_1985; lean_object* x_1986; +lean_dec(x_1956); +lean_dec(x_1955); +lean_dec(x_1939); +x_1985 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; +x_1986 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1985, x_3); +if (lean_obj_tag(x_1986) == 0) +{ +lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1987 = lean_ctor_get(x_1986, 0); +lean_inc(x_1987); +if (lean_is_exclusive(x_1986)) { + lean_ctor_release(x_1986, 0); + x_1988 = x_1986; +} else { + lean_dec_ref(x_1986); + x_1988 = lean_box(0); +} +if (lean_is_scalar(x_1988)) { + x_1989 = lean_alloc_ctor(0, 1, 0); +} else { + x_1989 = x_1988; +} +lean_ctor_set(x_1989, 0, x_1987); +return x_1989; +} +else +{ +lean_object* x_1990; lean_object* x_1991; +x_1990 = lean_ctor_get(x_1986, 0); +lean_inc(x_1990); +lean_dec(x_1986); +x_1991 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1991, 0, x_1990); +x_16 = x_1991; +goto block_925; +} +} +} +else +{ +lean_object* x_1992; lean_object* x_1993; +lean_dec(x_1956); +lean_dec(x_1955); +lean_dec(x_1939); +x_1992 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; +x_1993 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1992, x_3); +if (lean_obj_tag(x_1993) == 0) +{ +lean_object* x_1994; lean_object* x_1995; lean_object* x_1996; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_1994 = lean_ctor_get(x_1993, 0); +lean_inc(x_1994); +if (lean_is_exclusive(x_1993)) { + lean_ctor_release(x_1993, 0); + x_1995 = x_1993; +} else { + lean_dec_ref(x_1993); + x_1995 = lean_box(0); +} +if (lean_is_scalar(x_1995)) { + x_1996 = lean_alloc_ctor(0, 1, 0); +} else { + x_1996 = x_1995; +} +lean_ctor_set(x_1996, 0, x_1994); +return x_1996; +} +else +{ +lean_object* x_1997; lean_object* x_1998; +x_1997 = lean_ctor_get(x_1993, 0); +lean_inc(x_1997); +lean_dec(x_1993); +x_1998 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_1998, 0, x_1997); +x_16 = x_1998; +goto block_925; +} +} +} +else +{ +lean_object* x_1999; lean_object* x_2000; +lean_dec(x_1956); +lean_dec(x_1955); +lean_dec(x_1939); +x_1999 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; +x_2000 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1999, x_3); +if (lean_obj_tag(x_2000) == 0) +{ +lean_object* x_2001; lean_object* x_2002; lean_object* x_2003; +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); +lean_dec(x_6); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_2001 = lean_ctor_get(x_2000, 0); +lean_inc(x_2001); +if (lean_is_exclusive(x_2000)) { + lean_ctor_release(x_2000, 0); + x_2002 = x_2000; +} else { + lean_dec_ref(x_2000); + x_2002 = lean_box(0); +} +if (lean_is_scalar(x_2002)) { + x_2003 = lean_alloc_ctor(0, 1, 0); +} else { + x_2003 = x_2002; +} +lean_ctor_set(x_2003, 0, x_2001); +return x_2003; +} +else +{ +lean_object* x_2004; lean_object* x_2005; +x_2004 = lean_ctor_get(x_2000, 0); +lean_inc(x_2004); +lean_dec(x_2000); +x_2005 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_2005, 0, x_2004); +x_16 = x_2005; +goto block_925; +} +} +} +} +} +block_925: +{ +lean_object* x_17; lean_object* x_887; lean_object* x_894; +x_894 = lean_ctor_get(x_5, 3); +lean_inc(x_894); +if (lean_obj_tag(x_894) == 0) +{ +lean_object* x_895; +lean_dec(x_6); +x_895 = lean_box(0); +x_17 = x_895; +goto block_886; +} +else +{ +lean_object* x_896; +x_896 = lean_ctor_get(x_894, 0); +lean_inc(x_896); +lean_dec(x_894); +switch (lean_obj_tag(x_896)) { case 2: { -lean_object* x_648; lean_object* x_649; lean_object* x_650; lean_object* x_651; uint8_t x_652; -x_648 = lean_ctor_get(x_647, 0); -lean_inc(x_648); -x_649 = lean_ctor_get(x_648, 0); -lean_inc(x_649); -x_650 = lean_ctor_get(x_648, 1); -lean_inc(x_650); -lean_dec(x_648); -x_651 = lean_unsigned_to_nat(0u); -x_652 = lean_nat_dec_eq(x_650, x_651); -lean_dec(x_650); -if (x_652 == 0) +lean_object* x_897; lean_object* x_898; lean_object* x_899; lean_object* x_900; uint8_t x_901; +x_897 = lean_ctor_get(x_896, 0); +lean_inc(x_897); +x_898 = lean_ctor_get(x_897, 0); +lean_inc(x_898); +x_899 = lean_ctor_get(x_897, 1); +lean_inc(x_899); +lean_dec(x_897); +x_900 = lean_unsigned_to_nat(0u); +x_901 = lean_nat_dec_eq(x_899, x_900); +lean_dec(x_899); +if (x_901 == 0) { -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_dec(x_649); -x_653 = lean_unsigned_to_nat(80u); -x_654 = l_Lean_Json_pretty(x_647, x_653); -x_655 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_656 = lean_string_append(x_655, x_654); -lean_dec(x_654); -x_657 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_658 = lean_string_append(x_656, x_657); -if (lean_is_scalar(x_21)) { - x_659 = lean_alloc_ctor(0, 1, 0); +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_dec(x_898); +x_902 = lean_unsigned_to_nat(80u); +x_903 = l_Lean_Json_pretty(x_896, x_902); +x_904 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; +x_905 = lean_string_append(x_904, x_903); +lean_dec(x_903); +x_906 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_907 = lean_string_append(x_905, x_906); +if (lean_is_scalar(x_6)) { + x_908 = lean_alloc_ctor(0, 1, 0); } else { - x_659 = x_21; - lean_ctor_set_tag(x_659, 0); + x_908 = x_6; + lean_ctor_set_tag(x_908, 0); } -lean_ctor_set(x_659, 0, x_658); -x_660 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_659, x_3); -x_638 = x_660; -goto block_644; +lean_ctor_set(x_908, 0, x_907); +x_909 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_908, x_3); +x_887 = x_909; +goto block_893; } else { -lean_object* x_661; lean_object* x_662; lean_object* x_663; -lean_dec(x_647); -x_661 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_661, 0, x_649); -if (lean_is_scalar(x_21)) { - x_662 = lean_alloc_ctor(1, 1, 0); +lean_object* x_910; lean_object* x_911; lean_object* x_912; +lean_dec(x_896); +x_910 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_910, 0, x_898); +if (lean_is_scalar(x_6)) { + x_911 = lean_alloc_ctor(1, 1, 0); } else { - x_662 = x_21; + x_911 = x_6; } -lean_ctor_set(x_662, 0, x_661); -x_663 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_662, x_3); -x_638 = x_663; -goto block_644; +lean_ctor_set(x_911, 0, x_910); +x_912 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_911, x_3); +x_887 = x_912; +goto block_893; } } case 3: { -lean_object* x_664; lean_object* x_665; lean_object* x_666; lean_object* x_667; -x_664 = lean_ctor_get(x_647, 0); -lean_inc(x_664); -lean_dec(x_647); -x_665 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_665, 0, x_664); -if (lean_is_scalar(x_21)) { - x_666 = lean_alloc_ctor(1, 1, 0); +lean_object* x_913; lean_object* x_914; lean_object* x_915; lean_object* x_916; +x_913 = lean_ctor_get(x_896, 0); +lean_inc(x_913); +lean_dec(x_896); +x_914 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_914, 0, x_913); +if (lean_is_scalar(x_6)) { + x_915 = lean_alloc_ctor(1, 1, 0); } else { - x_666 = x_21; + x_915 = x_6; } -lean_ctor_set(x_666, 0, x_665); -x_667 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_666, x_3); -x_638 = x_667; -goto block_644; +lean_ctor_set(x_915, 0, x_914); +x_916 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_915, x_3); +x_887 = x_916; +goto block_893; } default: { -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; -x_668 = lean_unsigned_to_nat(80u); -x_669 = l_Lean_Json_pretty(x_647, x_668); -x_670 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_671 = lean_string_append(x_670, x_669); -lean_dec(x_669); -x_672 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_673 = lean_string_append(x_671, x_672); -if (lean_is_scalar(x_21)) { - x_674 = lean_alloc_ctor(0, 1, 0); +lean_object* x_917; lean_object* x_918; lean_object* x_919; lean_object* x_920; lean_object* x_921; lean_object* x_922; lean_object* x_923; lean_object* x_924; +x_917 = lean_unsigned_to_nat(80u); +x_918 = l_Lean_Json_pretty(x_896, x_917); +x_919 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; +x_920 = lean_string_append(x_919, x_918); +lean_dec(x_918); +x_921 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_922 = lean_string_append(x_920, x_921); +if (lean_is_scalar(x_6)) { + x_923 = lean_alloc_ctor(0, 1, 0); } else { - x_674 = x_21; - lean_ctor_set_tag(x_674, 0); + x_923 = x_6; + lean_ctor_set_tag(x_923, 0); } -lean_ctor_set(x_674, 0, x_673); -x_675 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_674, x_3); -x_638 = x_675; -goto block_644; +lean_ctor_set(x_923, 0, x_922); +x_924 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_923, x_3); +x_887 = x_924; +goto block_893; } } } -block_637: +block_886: { -lean_object* x_24; -x_24 = lean_ctor_get(x_5, 4); -lean_inc(x_24); -if (lean_obj_tag(x_24) == 0) +lean_object* x_18; +x_18 = lean_ctor_get(x_5, 4); +lean_inc(x_18); +if (lean_obj_tag(x_18) == 0) { -lean_object* x_25; lean_object* x_26; lean_object* x_27; lean_object* x_28; -x_25 = lean_box(0); -x_26 = lean_ctor_get(x_1, 1); -lean_inc(x_26); +lean_object* x_19; lean_object* x_20; lean_object* x_21; lean_object* x_22; +x_19 = lean_box(0); +x_20 = lean_ctor_get(x_1, 1); +lean_inc(x_20); lean_dec(x_1); -x_27 = lean_ctor_get(x_5, 5); -lean_inc(x_27); +x_21 = lean_ctor_get(x_5, 5); +lean_inc(x_21); lean_inc(x_3); -x_28 = lean_apply_2(x_26, x_27, x_3); -if (lean_obj_tag(x_28) == 0) +x_22 = lean_apply_2(x_20, x_21, x_3); +if (lean_obj_tag(x_22) == 0) { -uint8_t x_29; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +uint8_t x_23; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_29 = !lean_is_exclusive(x_28); -if (x_29 == 0) +x_23 = !lean_is_exclusive(x_22); +if (x_23 == 0) { -return x_28; +return x_22; } else { -lean_object* x_30; lean_object* x_31; -x_30 = lean_ctor_get(x_28, 0); -lean_inc(x_30); -lean_dec(x_28); -x_31 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_31, 0, x_30); -return x_31; -} -} -else -{ -lean_object* x_32; -x_32 = lean_ctor_get(x_5, 6); -lean_inc(x_32); -if (lean_obj_tag(x_32) == 0) -{ -lean_object* x_33; -x_33 = lean_ctor_get(x_5, 7); -lean_inc(x_33); -lean_dec(x_5); -if (lean_obj_tag(x_33) == 0) -{ -uint8_t x_34; -lean_dec(x_3); -x_34 = !lean_is_exclusive(x_28); -if (x_34 == 0) -{ -lean_object* x_35; lean_object* x_36; -x_35 = lean_ctor_get(x_28, 0); -x_36 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_36, 0, x_13); -lean_ctor_set(x_36, 1, x_20); -lean_ctor_set(x_36, 2, x_22); -lean_ctor_set(x_36, 3, x_23); -lean_ctor_set(x_36, 4, x_25); -lean_ctor_set(x_36, 5, x_35); -lean_ctor_set(x_36, 6, x_25); -lean_ctor_set(x_36, 7, x_25); -lean_ctor_set(x_28, 0, x_36); -return x_28; -} -else -{ -lean_object* x_37; lean_object* x_38; lean_object* x_39; -x_37 = lean_ctor_get(x_28, 0); -lean_inc(x_37); -lean_dec(x_28); -x_38 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_38, 0, x_13); -lean_ctor_set(x_38, 1, x_20); -lean_ctor_set(x_38, 2, x_22); -lean_ctor_set(x_38, 3, x_23); -lean_ctor_set(x_38, 4, x_25); -lean_ctor_set(x_38, 5, x_37); -lean_ctor_set(x_38, 6, x_25); -lean_ctor_set(x_38, 7, x_25); -x_39 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_39, 0, x_38); -return x_39; -} -} -else -{ -uint8_t x_40; -x_40 = !lean_is_exclusive(x_33); -if (x_40 == 0) -{ -lean_object* x_41; -x_41 = lean_ctor_get(x_33, 0); -if (lean_obj_tag(x_41) == 4) -{ -lean_object* x_42; lean_object* x_43; lean_object* x_44; size_t x_45; size_t x_46; lean_object* x_47; lean_object* x_48; lean_object* x_49; size_t x_50; lean_object* x_51; -x_42 = lean_ctor_get(x_28, 0); -lean_inc(x_42); -lean_dec(x_28); -x_43 = lean_ctor_get(x_41, 0); -lean_inc(x_43); -lean_dec(x_41); -x_44 = lean_array_get_size(x_43); -x_45 = lean_usize_of_nat(x_44); -lean_dec(x_44); -x_46 = 0; -x_47 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_45, x_46, x_43); -x_48 = lean_ctor_get(x_47, 0); -lean_inc(x_48); -lean_dec(x_47); -x_49 = lean_array_get_size(x_48); -x_50 = lean_usize_of_nat(x_49); -lean_dec(x_49); -x_51 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_50, x_46, x_48, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_51) == 0) -{ -uint8_t x_52; -lean_dec(x_42); -lean_free_object(x_33); -lean_dec(x_23); +lean_object* x_24; lean_object* x_25; +x_24 = lean_ctor_get(x_22, 0); +lean_inc(x_24); lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_52 = !lean_is_exclusive(x_51); -if (x_52 == 0) -{ -return x_51; -} -else -{ -lean_object* x_53; lean_object* x_54; -x_53 = lean_ctor_get(x_51, 0); -lean_inc(x_53); -lean_dec(x_51); -x_54 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_54, 0, x_53); -return x_54; +x_25 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_25, 0, x_24); +return x_25; } } else { -uint8_t x_55; -x_55 = !lean_is_exclusive(x_51); -if (x_55 == 0) +lean_object* x_26; +x_26 = lean_ctor_get(x_5, 6); +lean_inc(x_26); +if (lean_obj_tag(x_26) == 0) { -lean_object* x_56; lean_object* x_57; -x_56 = lean_ctor_get(x_51, 0); -lean_ctor_set(x_33, 0, x_56); -x_57 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_57, 0, x_13); -lean_ctor_set(x_57, 1, x_20); -lean_ctor_set(x_57, 2, x_22); -lean_ctor_set(x_57, 3, x_23); -lean_ctor_set(x_57, 4, x_25); -lean_ctor_set(x_57, 5, x_42); -lean_ctor_set(x_57, 6, x_25); -lean_ctor_set(x_57, 7, x_33); -lean_ctor_set(x_51, 0, x_57); -return x_51; +lean_object* x_27; lean_object* x_28; lean_object* x_29; lean_object* x_58; +x_27 = lean_ctor_get(x_22, 0); +lean_inc(x_27); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + x_28 = x_22; +} else { + lean_dec_ref(x_22); + x_28 = lean_box(0); } -else -{ -lean_object* x_58; lean_object* x_59; lean_object* x_60; -x_58 = lean_ctor_get(x_51, 0); +x_58 = lean_ctor_get(x_5, 7); lean_inc(x_58); -lean_dec(x_51); -lean_ctor_set(x_33, 0, x_58); -x_59 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_59, 0, x_13); -lean_ctor_set(x_59, 1, x_20); -lean_ctor_set(x_59, 2, x_22); -lean_ctor_set(x_59, 3, x_23); -lean_ctor_set(x_59, 4, x_25); -lean_ctor_set(x_59, 5, x_42); -lean_ctor_set(x_59, 6, x_25); -lean_ctor_set(x_59, 7, x_33); -x_60 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_60, 0, x_59); -return x_60; -} -} +if (lean_obj_tag(x_58) == 0) +{ +lean_dec(x_14); +x_29 = x_19; +goto block_57; } else { -uint8_t x_61; -lean_free_object(x_33); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_61 = !lean_is_exclusive(x_28); -if (x_61 == 0) +uint8_t x_59; +x_59 = !lean_is_exclusive(x_58); +if (x_59 == 0) { -lean_object* x_62; lean_object* x_63; lean_object* x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; lean_object* x_68; -x_62 = lean_ctor_get(x_28, 0); +lean_object* x_60; +x_60 = lean_ctor_get(x_58, 0); +if (lean_obj_tag(x_60) == 4) +{ +lean_object* x_61; lean_object* x_62; size_t x_63; size_t x_64; lean_object* x_65; lean_object* x_66; lean_object* x_67; size_t x_68; lean_object* x_69; +lean_dec(x_14); +x_61 = lean_ctor_get(x_60, 0); +lean_inc(x_61); +lean_dec(x_60); +x_62 = lean_array_get_size(x_61); +x_63 = lean_usize_of_nat(x_62); lean_dec(x_62); -x_63 = lean_unsigned_to_nat(80u); -x_64 = l_Lean_Json_pretty(x_41, x_63); -x_65 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_66 = lean_string_append(x_65, x_64); -lean_dec(x_64); -x_67 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_68 = lean_string_append(x_66, x_67); -lean_ctor_set_tag(x_28, 0); -lean_ctor_set(x_28, 0, x_68); -return x_28; -} -else +x_64 = 0; +x_65 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_63, x_64, x_61); +x_66 = lean_ctor_get(x_65, 0); +lean_inc(x_66); +lean_dec(x_65); +x_67 = lean_array_get_size(x_66); +x_68 = lean_usize_of_nat(x_67); +lean_dec(x_67); +x_69 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_68, x_64, x_66, x_3); +if (lean_obj_tag(x_69) == 0) { -lean_object* x_69; lean_object* x_70; lean_object* x_71; lean_object* x_72; lean_object* x_73; lean_object* x_74; lean_object* x_75; +uint8_t x_70; +lean_free_object(x_58); lean_dec(x_28); -x_69 = lean_unsigned_to_nat(80u); -x_70 = l_Lean_Json_pretty(x_41, x_69); -x_71 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_72 = lean_string_append(x_71, x_70); -lean_dec(x_70); -x_73 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_74 = lean_string_append(x_72, x_73); -x_75 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_75, 0, x_74); -return x_75; -} -} -} -else -{ -lean_object* x_76; -x_76 = lean_ctor_get(x_33, 0); -lean_inc(x_76); -lean_dec(x_33); -if (lean_obj_tag(x_76) == 4) -{ -lean_object* x_77; lean_object* x_78; lean_object* x_79; size_t x_80; size_t x_81; lean_object* x_82; lean_object* x_83; lean_object* x_84; size_t x_85; lean_object* x_86; -x_77 = lean_ctor_get(x_28, 0); -lean_inc(x_77); -lean_dec(x_28); -x_78 = lean_ctor_get(x_76, 0); -lean_inc(x_78); -lean_dec(x_76); -x_79 = lean_array_get_size(x_78); -x_80 = lean_usize_of_nat(x_79); -lean_dec(x_79); -x_81 = 0; -x_82 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_80, x_81, x_78); -x_83 = lean_ctor_get(x_82, 0); -lean_inc(x_83); -lean_dec(x_82); -x_84 = lean_array_get_size(x_83); -x_85 = lean_usize_of_nat(x_84); -lean_dec(x_84); -x_86 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_85, x_81, x_83, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_86) == 0) -{ -lean_object* x_87; lean_object* x_88; lean_object* x_89; -lean_dec(x_77); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_dec(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_70 = !lean_is_exclusive(x_69); +if (x_70 == 0) +{ +return x_69; +} +else +{ +lean_object* x_71; lean_object* x_72; +x_71 = lean_ctor_get(x_69, 0); +lean_inc(x_71); +lean_dec(x_69); +x_72 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_72, 0, x_71); +return x_72; +} +} +else +{ +lean_object* x_73; +x_73 = lean_ctor_get(x_69, 0); +lean_inc(x_73); +lean_dec(x_69); +lean_ctor_set(x_58, 0, x_73); +x_29 = x_58; +goto block_57; +} +} +else +{ +lean_object* x_74; lean_object* x_75; lean_object* x_76; lean_object* x_77; lean_object* x_78; lean_object* x_79; lean_object* x_80; +lean_free_object(x_58); +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_74 = lean_unsigned_to_nat(80u); +x_75 = l_Lean_Json_pretty(x_60, x_74); +x_76 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_77 = lean_string_append(x_76, x_75); +lean_dec(x_75); +x_78 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_79 = lean_string_append(x_77, x_78); +if (lean_is_scalar(x_14)) { + x_80 = lean_alloc_ctor(0, 1, 0); +} else { + x_80 = x_14; + lean_ctor_set_tag(x_80, 0); +} +lean_ctor_set(x_80, 0, x_79); +return x_80; +} +} +else +{ +lean_object* x_81; +x_81 = lean_ctor_get(x_58, 0); +lean_inc(x_81); +lean_dec(x_58); +if (lean_obj_tag(x_81) == 4) +{ +lean_object* x_82; lean_object* x_83; size_t x_84; size_t x_85; lean_object* x_86; lean_object* x_87; lean_object* x_88; size_t x_89; lean_object* x_90; +lean_dec(x_14); +x_82 = lean_ctor_get(x_81, 0); +lean_inc(x_82); +lean_dec(x_81); +x_83 = lean_array_get_size(x_82); +x_84 = lean_usize_of_nat(x_83); +lean_dec(x_83); +x_85 = 0; +x_86 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_84, x_85, x_82); x_87 = lean_ctor_get(x_86, 0); lean_inc(x_87); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - x_88 = x_86; -} else { - lean_dec_ref(x_86); - x_88 = lean_box(0); -} -if (lean_is_scalar(x_88)) { - x_89 = lean_alloc_ctor(0, 1, 0); -} else { - x_89 = x_88; -} -lean_ctor_set(x_89, 0, x_87); -return x_89; -} -else +lean_dec(x_86); +x_88 = lean_array_get_size(x_87); +x_89 = lean_usize_of_nat(x_88); +lean_dec(x_88); +x_90 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_89, x_85, x_87, x_3); +if (lean_obj_tag(x_90) == 0) { -lean_object* x_90; lean_object* x_91; lean_object* x_92; lean_object* x_93; lean_object* x_94; -x_90 = lean_ctor_get(x_86, 0); -lean_inc(x_90); -if (lean_is_exclusive(x_86)) { - lean_ctor_release(x_86, 0); - x_91 = x_86; -} else { - lean_dec_ref(x_86); - x_91 = lean_box(0); -} -x_92 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_92, 0, x_90); -x_93 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_93, 0, x_13); -lean_ctor_set(x_93, 1, x_20); -lean_ctor_set(x_93, 2, x_22); -lean_ctor_set(x_93, 3, x_23); -lean_ctor_set(x_93, 4, x_25); -lean_ctor_set(x_93, 5, x_77); -lean_ctor_set(x_93, 6, x_25); -lean_ctor_set(x_93, 7, x_92); -if (lean_is_scalar(x_91)) { - x_94 = lean_alloc_ctor(1, 1, 0); -} else { - x_94 = x_91; -} -lean_ctor_set(x_94, 0, x_93); -return x_94; -} -} -else -{ -lean_object* x_95; lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_object* x_91; lean_object* x_92; lean_object* x_93; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); +lean_dec(x_5); lean_dec(x_3); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - x_95 = x_28; +x_91 = lean_ctor_get(x_90, 0); +lean_inc(x_91); +if (lean_is_exclusive(x_90)) { + lean_ctor_release(x_90, 0); + x_92 = x_90; } else { - lean_dec_ref(x_28); - x_95 = lean_box(0); + lean_dec_ref(x_90); + x_92 = lean_box(0); } +if (lean_is_scalar(x_92)) { + x_93 = lean_alloc_ctor(0, 1, 0); +} else { + x_93 = x_92; +} +lean_ctor_set(x_93, 0, x_91); +return x_93; +} +else +{ +lean_object* x_94; lean_object* x_95; +x_94 = lean_ctor_get(x_90, 0); +lean_inc(x_94); +lean_dec(x_90); +x_95 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_95, 0, x_94); +x_29 = x_95; +goto block_57; +} +} +else +{ +lean_object* x_96; lean_object* x_97; lean_object* x_98; lean_object* x_99; lean_object* x_100; lean_object* x_101; lean_object* x_102; +lean_dec(x_28); +lean_dec(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); x_96 = lean_unsigned_to_nat(80u); -x_97 = l_Lean_Json_pretty(x_76, x_96); +x_97 = l_Lean_Json_pretty(x_81, x_96); x_98 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; x_99 = lean_string_append(x_98, x_97); lean_dec(x_97); x_100 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; x_101 = lean_string_append(x_99, x_100); -if (lean_is_scalar(x_95)) { +if (lean_is_scalar(x_14)) { x_102 = lean_alloc_ctor(0, 1, 0); } else { - x_102 = x_95; + x_102 = x_14; lean_ctor_set_tag(x_102, 0); } lean_ctor_set(x_102, 0, x_101); @@ -9941,21 +11940,212 @@ return x_102; } } } +block_57: +{ +lean_object* x_30; +x_30 = lean_ctor_get(x_5, 8); +lean_inc(x_30); +lean_dec(x_5); +if (lean_obj_tag(x_30) == 0) +{ +lean_object* x_31; lean_object* x_32; +lean_dec(x_3); +x_31 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_31, 0, x_13); +lean_ctor_set(x_31, 1, x_15); +lean_ctor_set(x_31, 2, x_16); +lean_ctor_set(x_31, 3, x_17); +lean_ctor_set(x_31, 4, x_19); +lean_ctor_set(x_31, 5, x_27); +lean_ctor_set(x_31, 6, x_19); +lean_ctor_set(x_31, 7, x_29); +lean_ctor_set(x_31, 8, x_19); +if (lean_is_scalar(x_28)) { + x_32 = lean_alloc_ctor(1, 1, 0); +} else { + x_32 = x_28; +} +lean_ctor_set(x_32, 0, x_31); +return x_32; +} +else +{ +uint8_t x_33; +x_33 = !lean_is_exclusive(x_30); +if (x_33 == 0) +{ +lean_object* x_34; lean_object* x_35; lean_object* x_36; +x_34 = lean_ctor_get(x_30, 0); +if (lean_is_scalar(x_28)) { + x_35 = lean_alloc_ctor(1, 1, 0); +} else { + x_35 = x_28; +} +lean_ctor_set(x_35, 0, x_34); +x_36 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_35, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_36) == 0) +{ +uint8_t x_37; +lean_free_object(x_30); +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_37 = !lean_is_exclusive(x_36); +if (x_37 == 0) +{ +return x_36; +} +else +{ +lean_object* x_38; lean_object* x_39; +x_38 = lean_ctor_get(x_36, 0); +lean_inc(x_38); +lean_dec(x_36); +x_39 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_39, 0, x_38); +return x_39; +} +} +else +{ +uint8_t x_40; +x_40 = !lean_is_exclusive(x_36); +if (x_40 == 0) +{ +lean_object* x_41; lean_object* x_42; +x_41 = lean_ctor_get(x_36, 0); +lean_ctor_set(x_30, 0, x_41); +x_42 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_42, 0, x_13); +lean_ctor_set(x_42, 1, x_15); +lean_ctor_set(x_42, 2, x_16); +lean_ctor_set(x_42, 3, x_17); +lean_ctor_set(x_42, 4, x_19); +lean_ctor_set(x_42, 5, x_27); +lean_ctor_set(x_42, 6, x_19); +lean_ctor_set(x_42, 7, x_29); +lean_ctor_set(x_42, 8, x_30); +lean_ctor_set(x_36, 0, x_42); +return x_36; +} +else +{ +lean_object* x_43; lean_object* x_44; lean_object* x_45; +x_43 = lean_ctor_get(x_36, 0); +lean_inc(x_43); +lean_dec(x_36); +lean_ctor_set(x_30, 0, x_43); +x_44 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_44, 0, x_13); +lean_ctor_set(x_44, 1, x_15); +lean_ctor_set(x_44, 2, x_16); +lean_ctor_set(x_44, 3, x_17); +lean_ctor_set(x_44, 4, x_19); +lean_ctor_set(x_44, 5, x_27); +lean_ctor_set(x_44, 6, x_19); +lean_ctor_set(x_44, 7, x_29); +lean_ctor_set(x_44, 8, x_30); +x_45 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_45, 0, x_44); +return x_45; +} +} +} +else +{ +lean_object* x_46; lean_object* x_47; lean_object* x_48; +x_46 = lean_ctor_get(x_30, 0); +lean_inc(x_46); +lean_dec(x_30); +if (lean_is_scalar(x_28)) { + x_47 = lean_alloc_ctor(1, 1, 0); +} else { + x_47 = x_28; +} +lean_ctor_set(x_47, 0, x_46); +x_48 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_47, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_48) == 0) +{ +lean_object* x_49; lean_object* x_50; lean_object* x_51; +lean_dec(x_29); +lean_dec(x_27); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_49 = lean_ctor_get(x_48, 0); +lean_inc(x_49); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + x_50 = x_48; +} else { + lean_dec_ref(x_48); + x_50 = lean_box(0); +} +if (lean_is_scalar(x_50)) { + x_51 = lean_alloc_ctor(0, 1, 0); +} else { + x_51 = x_50; +} +lean_ctor_set(x_51, 0, x_49); +return x_51; +} +else +{ +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_48, 0); +lean_inc(x_52); +if (lean_is_exclusive(x_48)) { + lean_ctor_release(x_48, 0); + x_53 = x_48; +} else { + lean_dec_ref(x_48); + x_53 = lean_box(0); +} +x_54 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_54, 0, x_52); +x_55 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_55, 0, x_13); +lean_ctor_set(x_55, 1, x_15); +lean_ctor_set(x_55, 2, x_16); +lean_ctor_set(x_55, 3, x_17); +lean_ctor_set(x_55, 4, x_19); +lean_ctor_set(x_55, 5, x_27); +lean_ctor_set(x_55, 6, x_19); +lean_ctor_set(x_55, 7, x_29); +lean_ctor_set(x_55, 8, x_54); +if (lean_is_scalar(x_53)) { + x_56 = lean_alloc_ctor(1, 1, 0); +} else { + x_56 = x_53; +} +lean_ctor_set(x_56, 0, x_55); +return x_56; +} +} +} +} } else { uint8_t x_103; -x_103 = !lean_is_exclusive(x_32); +lean_dec(x_14); +x_103 = !lean_is_exclusive(x_26); if (x_103 == 0) { lean_object* x_104; -x_104 = lean_ctor_get(x_32, 0); +x_104 = lean_ctor_get(x_26, 0); if (lean_obj_tag(x_104) == 4) { -lean_object* x_105; lean_object* x_106; lean_object* x_107; size_t x_108; size_t x_109; lean_object* x_110; lean_object* x_111; lean_object* x_112; size_t x_113; lean_object* x_114; -x_105 = lean_ctor_get(x_28, 0); +lean_object* x_105; lean_object* x_106; lean_object* x_107; size_t x_108; size_t x_109; lean_object* x_110; uint8_t x_111; +x_105 = lean_ctor_get(x_22, 0); lean_inc(x_105); -lean_dec(x_28); +lean_dec(x_22); x_106 = lean_ctor_get(x_104, 0); lean_inc(x_106); lean_dec(x_104); @@ -9964,1605 +12154,1994 @@ x_108 = lean_usize_of_nat(x_107); lean_dec(x_107); x_109 = 0; x_110 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_108, x_109, x_106); -x_111 = lean_ctor_get(x_110, 0); -lean_inc(x_111); -lean_dec(x_110); -x_112 = lean_array_get_size(x_111); -x_113 = lean_usize_of_nat(x_112); -lean_dec(x_112); -x_114 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_113, x_109, x_111, x_3); -if (lean_obj_tag(x_114) == 0) +x_111 = !lean_is_exclusive(x_110); +if (x_111 == 0) { -uint8_t x_115; +lean_object* x_112; lean_object* x_113; size_t x_114; lean_object* x_115; +x_112 = lean_ctor_get(x_110, 0); +x_113 = lean_array_get_size(x_112); +x_114 = lean_usize_of_nat(x_113); +lean_dec(x_113); +x_115 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_114, x_109, x_112, x_3); +if (lean_obj_tag(x_115) == 0) +{ +uint8_t x_116; +lean_free_object(x_110); lean_dec(x_105); -lean_free_object(x_32); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_free_object(x_26); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_115 = !lean_is_exclusive(x_114); -if (x_115 == 0) +x_116 = !lean_is_exclusive(x_115); +if (x_116 == 0) { -return x_114; +return x_115; } else { -lean_object* x_116; lean_object* x_117; -x_116 = lean_ctor_get(x_114, 0); -lean_inc(x_116); -lean_dec(x_114); -x_117 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_117, 0, x_116); -return x_117; +lean_object* x_117; lean_object* x_118; +x_117 = lean_ctor_get(x_115, 0); +lean_inc(x_117); +lean_dec(x_115); +x_118 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_118, 0, x_117); +return x_118; } } else { -uint8_t x_118; -x_118 = !lean_is_exclusive(x_114); -if (x_118 == 0) +lean_object* x_119; lean_object* x_120; lean_object* x_121; lean_object* x_150; +x_119 = lean_ctor_get(x_115, 0); +lean_inc(x_119); +if (lean_is_exclusive(x_115)) { + lean_ctor_release(x_115, 0); + x_120 = x_115; +} else { + lean_dec_ref(x_115); + x_120 = lean_box(0); +} +lean_ctor_set(x_26, 0, x_119); +x_150 = lean_ctor_get(x_5, 7); +lean_inc(x_150); +if (lean_obj_tag(x_150) == 0) { -lean_object* x_119; lean_object* x_120; -x_119 = lean_ctor_get(x_114, 0); -lean_ctor_set(x_32, 0, x_119); -x_120 = lean_ctor_get(x_5, 7); -lean_inc(x_120); -lean_dec(x_5); -if (lean_obj_tag(x_120) == 0) -{ -lean_object* x_121; -lean_dec(x_3); -x_121 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_121, 0, x_13); -lean_ctor_set(x_121, 1, x_20); -lean_ctor_set(x_121, 2, x_22); -lean_ctor_set(x_121, 3, x_23); -lean_ctor_set(x_121, 4, x_25); -lean_ctor_set(x_121, 5, x_105); -lean_ctor_set(x_121, 6, x_32); -lean_ctor_set(x_121, 7, x_25); -lean_ctor_set(x_114, 0, x_121); -return x_114; +lean_free_object(x_110); +x_121 = x_19; +goto block_149; } else { -uint8_t x_122; -x_122 = !lean_is_exclusive(x_120); -if (x_122 == 0) +uint8_t x_151; +x_151 = !lean_is_exclusive(x_150); +if (x_151 == 0) { -lean_object* x_123; -x_123 = lean_ctor_get(x_120, 0); -if (lean_obj_tag(x_123) == 4) +lean_object* x_152; +x_152 = lean_ctor_get(x_150, 0); +if (lean_obj_tag(x_152) == 4) { -lean_object* x_124; lean_object* x_125; size_t x_126; lean_object* x_127; lean_object* x_128; lean_object* x_129; size_t x_130; lean_object* x_131; -lean_free_object(x_114); -x_124 = lean_ctor_get(x_123, 0); -lean_inc(x_124); -lean_dec(x_123); -x_125 = lean_array_get_size(x_124); -x_126 = lean_usize_of_nat(x_125); -lean_dec(x_125); -x_127 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_126, x_109, x_124); -x_128 = lean_ctor_get(x_127, 0); -lean_inc(x_128); -lean_dec(x_127); -x_129 = lean_array_get_size(x_128); -x_130 = lean_usize_of_nat(x_129); -lean_dec(x_129); -x_131 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_130, x_109, x_128, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_131) == 0) +lean_object* x_153; lean_object* x_154; size_t x_155; lean_object* x_156; lean_object* x_157; lean_object* x_158; size_t x_159; lean_object* x_160; +lean_free_object(x_110); +x_153 = lean_ctor_get(x_152, 0); +lean_inc(x_153); +lean_dec(x_152); +x_154 = lean_array_get_size(x_153); +x_155 = lean_usize_of_nat(x_154); +lean_dec(x_154); +x_156 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_155, x_109, x_153); +x_157 = lean_ctor_get(x_156, 0); +lean_inc(x_157); +lean_dec(x_156); +x_158 = lean_array_get_size(x_157); +x_159 = lean_usize_of_nat(x_158); +lean_dec(x_158); +x_160 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_159, x_109, x_157, x_3); +if (lean_obj_tag(x_160) == 0) { -uint8_t x_132; -lean_free_object(x_120); -lean_dec(x_32); -lean_dec(x_105); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_132 = !lean_is_exclusive(x_131); -if (x_132 == 0) -{ -return x_131; -} -else -{ -lean_object* x_133; lean_object* x_134; -x_133 = lean_ctor_get(x_131, 0); -lean_inc(x_133); -lean_dec(x_131); -x_134 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_134, 0, x_133); -return x_134; -} -} -else -{ -uint8_t x_135; -x_135 = !lean_is_exclusive(x_131); -if (x_135 == 0) -{ -lean_object* x_136; lean_object* x_137; -x_136 = lean_ctor_get(x_131, 0); -lean_ctor_set(x_120, 0, x_136); -x_137 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_137, 0, x_13); -lean_ctor_set(x_137, 1, x_20); -lean_ctor_set(x_137, 2, x_22); -lean_ctor_set(x_137, 3, x_23); -lean_ctor_set(x_137, 4, x_25); -lean_ctor_set(x_137, 5, x_105); -lean_ctor_set(x_137, 6, x_32); -lean_ctor_set(x_137, 7, x_120); -lean_ctor_set(x_131, 0, x_137); -return x_131; -} -else -{ -lean_object* x_138; lean_object* x_139; lean_object* x_140; -x_138 = lean_ctor_get(x_131, 0); -lean_inc(x_138); -lean_dec(x_131); -lean_ctor_set(x_120, 0, x_138); -x_139 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_139, 0, x_13); -lean_ctor_set(x_139, 1, x_20); -lean_ctor_set(x_139, 2, x_22); -lean_ctor_set(x_139, 3, x_23); -lean_ctor_set(x_139, 4, x_25); -lean_ctor_set(x_139, 5, x_105); -lean_ctor_set(x_139, 6, x_32); -lean_ctor_set(x_139, 7, x_120); -x_140 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_140, 0, x_139); -return x_140; -} -} -} -else -{ -lean_object* x_141; lean_object* x_142; lean_object* x_143; lean_object* x_144; lean_object* x_145; lean_object* x_146; -lean_free_object(x_120); -lean_dec(x_32); -lean_dec(x_105); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_141 = lean_unsigned_to_nat(80u); -x_142 = l_Lean_Json_pretty(x_123, x_141); -x_143 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_144 = lean_string_append(x_143, x_142); -lean_dec(x_142); -x_145 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_146 = lean_string_append(x_144, x_145); -lean_ctor_set_tag(x_114, 0); -lean_ctor_set(x_114, 0, x_146); -return x_114; -} -} -else -{ -lean_object* x_147; -x_147 = lean_ctor_get(x_120, 0); -lean_inc(x_147); +uint8_t x_161; +lean_free_object(x_150); +lean_dec(x_26); lean_dec(x_120); -if (lean_obj_tag(x_147) == 4) -{ -lean_object* x_148; lean_object* x_149; size_t x_150; lean_object* x_151; lean_object* x_152; lean_object* x_153; size_t x_154; lean_object* x_155; -lean_free_object(x_114); -x_148 = lean_ctor_get(x_147, 0); -lean_inc(x_148); -lean_dec(x_147); -x_149 = lean_array_get_size(x_148); -x_150 = lean_usize_of_nat(x_149); -lean_dec(x_149); -x_151 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_150, x_109, x_148); -x_152 = lean_ctor_get(x_151, 0); -lean_inc(x_152); -lean_dec(x_151); -x_153 = lean_array_get_size(x_152); -x_154 = lean_usize_of_nat(x_153); -lean_dec(x_153); -x_155 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_154, x_109, x_152, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_155) == 0) -{ -lean_object* x_156; lean_object* x_157; lean_object* x_158; -lean_dec(x_32); lean_dec(x_105); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); -x_156 = lean_ctor_get(x_155, 0); -lean_inc(x_156); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - x_157 = x_155; -} else { - lean_dec_ref(x_155); - x_157 = lean_box(0); -} -if (lean_is_scalar(x_157)) { - x_158 = lean_alloc_ctor(0, 1, 0); -} else { - x_158 = x_157; -} -lean_ctor_set(x_158, 0, x_156); -return x_158; +lean_dec(x_5); +lean_dec(x_3); +x_161 = !lean_is_exclusive(x_160); +if (x_161 == 0) +{ +return x_160; } else { -lean_object* x_159; lean_object* x_160; lean_object* x_161; lean_object* x_162; lean_object* x_163; -x_159 = lean_ctor_get(x_155, 0); -lean_inc(x_159); -if (lean_is_exclusive(x_155)) { - lean_ctor_release(x_155, 0); - x_160 = x_155; -} else { - lean_dec_ref(x_155); - x_160 = lean_box(0); -} -x_161 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_161, 0, x_159); -x_162 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_162, 0, x_13); -lean_ctor_set(x_162, 1, x_20); -lean_ctor_set(x_162, 2, x_22); -lean_ctor_set(x_162, 3, x_23); -lean_ctor_set(x_162, 4, x_25); -lean_ctor_set(x_162, 5, x_105); -lean_ctor_set(x_162, 6, x_32); -lean_ctor_set(x_162, 7, x_161); -if (lean_is_scalar(x_160)) { - x_163 = lean_alloc_ctor(1, 1, 0); -} else { - x_163 = x_160; -} +lean_object* x_162; lean_object* x_163; +x_162 = lean_ctor_get(x_160, 0); +lean_inc(x_162); +lean_dec(x_160); +x_163 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_163, 0, x_162); return x_163; } } else { -lean_object* x_164; lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; -lean_dec(x_32); +lean_object* x_164; +x_164 = lean_ctor_get(x_160, 0); +lean_inc(x_164); +lean_dec(x_160); +lean_ctor_set(x_150, 0, x_164); +x_121 = x_150; +goto block_149; +} +} +else +{ +lean_object* x_165; lean_object* x_166; lean_object* x_167; lean_object* x_168; lean_object* x_169; lean_object* x_170; +lean_free_object(x_150); +lean_dec(x_26); +lean_dec(x_120); lean_dec(x_105); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); -lean_dec(x_3); -x_164 = lean_unsigned_to_nat(80u); -x_165 = l_Lean_Json_pretty(x_147, x_164); -x_166 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_167 = lean_string_append(x_166, x_165); -lean_dec(x_165); -x_168 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_169 = lean_string_append(x_167, x_168); -lean_ctor_set_tag(x_114, 0); -lean_ctor_set(x_114, 0, x_169); -return x_114; -} -} -} -} -else -{ -lean_object* x_170; lean_object* x_171; -x_170 = lean_ctor_get(x_114, 0); -lean_inc(x_170); -lean_dec(x_114); -lean_ctor_set(x_32, 0, x_170); -x_171 = lean_ctor_get(x_5, 7); -lean_inc(x_171); lean_dec(x_5); -if (lean_obj_tag(x_171) == 0) -{ -lean_object* x_172; lean_object* x_173; lean_dec(x_3); -x_172 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_172, 0, x_13); -lean_ctor_set(x_172, 1, x_20); -lean_ctor_set(x_172, 2, x_22); -lean_ctor_set(x_172, 3, x_23); -lean_ctor_set(x_172, 4, x_25); -lean_ctor_set(x_172, 5, x_105); -lean_ctor_set(x_172, 6, x_32); -lean_ctor_set(x_172, 7, x_25); -x_173 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_173, 0, x_172); -return x_173; +x_165 = lean_unsigned_to_nat(80u); +x_166 = l_Lean_Json_pretty(x_152, x_165); +x_167 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_168 = lean_string_append(x_167, x_166); +lean_dec(x_166); +x_169 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_170 = lean_string_append(x_168, x_169); +lean_ctor_set_tag(x_110, 0); +lean_ctor_set(x_110, 0, x_170); +return x_110; +} } else { -lean_object* x_174; lean_object* x_175; -x_174 = lean_ctor_get(x_171, 0); -lean_inc(x_174); -if (lean_is_exclusive(x_171)) { - lean_ctor_release(x_171, 0); - x_175 = x_171; -} else { - lean_dec_ref(x_171); - x_175 = lean_box(0); -} -if (lean_obj_tag(x_174) == 4) +lean_object* x_171; +x_171 = lean_ctor_get(x_150, 0); +lean_inc(x_171); +lean_dec(x_150); +if (lean_obj_tag(x_171) == 4) { -lean_object* x_176; lean_object* x_177; size_t x_178; lean_object* x_179; lean_object* x_180; lean_object* x_181; size_t x_182; lean_object* x_183; -x_176 = lean_ctor_get(x_174, 0); +lean_object* x_172; lean_object* x_173; size_t x_174; lean_object* x_175; lean_object* x_176; lean_object* x_177; size_t x_178; lean_object* x_179; +lean_free_object(x_110); +x_172 = lean_ctor_get(x_171, 0); +lean_inc(x_172); +lean_dec(x_171); +x_173 = lean_array_get_size(x_172); +x_174 = lean_usize_of_nat(x_173); +lean_dec(x_173); +x_175 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_174, x_109, x_172); +x_176 = lean_ctor_get(x_175, 0); lean_inc(x_176); -lean_dec(x_174); +lean_dec(x_175); x_177 = lean_array_get_size(x_176); x_178 = lean_usize_of_nat(x_177); lean_dec(x_177); -x_179 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_178, x_109, x_176); +x_179 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_178, x_109, x_176, x_3); +if (lean_obj_tag(x_179) == 0) +{ +lean_object* x_180; lean_object* x_181; lean_object* x_182; +lean_dec(x_26); +lean_dec(x_120); +lean_dec(x_105); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); x_180 = lean_ctor_get(x_179, 0); lean_inc(x_180); +if (lean_is_exclusive(x_179)) { + lean_ctor_release(x_179, 0); + x_181 = x_179; +} else { + lean_dec_ref(x_179); + x_181 = lean_box(0); +} +if (lean_is_scalar(x_181)) { + x_182 = lean_alloc_ctor(0, 1, 0); +} else { + x_182 = x_181; +} +lean_ctor_set(x_182, 0, x_180); +return x_182; +} +else +{ +lean_object* x_183; lean_object* x_184; +x_183 = lean_ctor_get(x_179, 0); +lean_inc(x_183); lean_dec(x_179); -x_181 = lean_array_get_size(x_180); -x_182 = lean_usize_of_nat(x_181); -lean_dec(x_181); -x_183 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_182, x_109, x_180, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_183) == 0) +x_184 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_184, 0, x_183); +x_121 = x_184; +goto block_149; +} +} +else { -lean_object* x_184; lean_object* x_185; lean_object* x_186; -lean_dec(x_175); -lean_dec(x_32); +lean_object* x_185; lean_object* x_186; lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; +lean_dec(x_26); +lean_dec(x_120); lean_dec(x_105); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_184 = lean_ctor_get(x_183, 0); -lean_inc(x_184); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - x_185 = x_183; -} else { - lean_dec_ref(x_183); - x_185 = lean_box(0); -} -if (lean_is_scalar(x_185)) { - x_186 = lean_alloc_ctor(0, 1, 0); -} else { - x_186 = x_185; -} -lean_ctor_set(x_186, 0, x_184); -return x_186; -} -else -{ -lean_object* x_187; lean_object* x_188; lean_object* x_189; lean_object* x_190; lean_object* x_191; -x_187 = lean_ctor_get(x_183, 0); -lean_inc(x_187); -if (lean_is_exclusive(x_183)) { - lean_ctor_release(x_183, 0); - x_188 = x_183; -} else { - lean_dec_ref(x_183); - x_188 = lean_box(0); -} -if (lean_is_scalar(x_175)) { - x_189 = lean_alloc_ctor(1, 1, 0); -} else { - x_189 = x_175; -} -lean_ctor_set(x_189, 0, x_187); -x_190 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_190, 0, x_13); -lean_ctor_set(x_190, 1, x_20); -lean_ctor_set(x_190, 2, x_22); -lean_ctor_set(x_190, 3, x_23); -lean_ctor_set(x_190, 4, x_25); -lean_ctor_set(x_190, 5, x_105); -lean_ctor_set(x_190, 6, x_32); -lean_ctor_set(x_190, 7, x_189); -if (lean_is_scalar(x_188)) { - x_191 = lean_alloc_ctor(1, 1, 0); -} else { - x_191 = x_188; -} -lean_ctor_set(x_191, 0, x_190); -return x_191; -} -} -else -{ -lean_object* x_192; lean_object* x_193; lean_object* x_194; lean_object* x_195; lean_object* x_196; lean_object* x_197; lean_object* x_198; -lean_dec(x_175); -lean_dec(x_32); -lean_dec(x_105); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_192 = lean_unsigned_to_nat(80u); -x_193 = l_Lean_Json_pretty(x_174, x_192); -x_194 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_195 = lean_string_append(x_194, x_193); -lean_dec(x_193); -x_196 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_197 = lean_string_append(x_195, x_196); -x_198 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_198, 0, x_197); -return x_198; -} -} -} -} -} -else -{ -uint8_t x_199; -lean_free_object(x_32); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_199 = !lean_is_exclusive(x_28); -if (x_199 == 0) +x_185 = lean_unsigned_to_nat(80u); +x_186 = l_Lean_Json_pretty(x_171, x_185); +x_187 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_188 = lean_string_append(x_187, x_186); +lean_dec(x_186); +x_189 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_190 = lean_string_append(x_188, x_189); +lean_ctor_set_tag(x_110, 0); +lean_ctor_set(x_110, 0, x_190); +return x_110; +} +} +} +block_149: { -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; -x_200 = lean_ctor_get(x_28, 0); -lean_dec(x_200); -x_201 = lean_unsigned_to_nat(80u); -x_202 = l_Lean_Json_pretty(x_104, x_201); -x_203 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_204 = lean_string_append(x_203, x_202); -lean_dec(x_202); -x_205 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_206 = lean_string_append(x_204, x_205); -lean_ctor_set_tag(x_28, 0); -lean_ctor_set(x_28, 0, x_206); -return x_28; +lean_object* x_122; +x_122 = lean_ctor_get(x_5, 8); +lean_inc(x_122); +lean_dec(x_5); +if (lean_obj_tag(x_122) == 0) +{ +lean_object* x_123; lean_object* x_124; +lean_dec(x_3); +x_123 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_123, 0, x_13); +lean_ctor_set(x_123, 1, x_15); +lean_ctor_set(x_123, 2, x_16); +lean_ctor_set(x_123, 3, x_17); +lean_ctor_set(x_123, 4, x_19); +lean_ctor_set(x_123, 5, x_105); +lean_ctor_set(x_123, 6, x_26); +lean_ctor_set(x_123, 7, x_121); +lean_ctor_set(x_123, 8, x_19); +if (lean_is_scalar(x_120)) { + x_124 = lean_alloc_ctor(1, 1, 0); +} else { + x_124 = x_120; +} +lean_ctor_set(x_124, 0, x_123); +return x_124; } else { -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_dec(x_28); -x_207 = lean_unsigned_to_nat(80u); -x_208 = l_Lean_Json_pretty(x_104, x_207); -x_209 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_210 = lean_string_append(x_209, x_208); -lean_dec(x_208); -x_211 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_212 = lean_string_append(x_210, x_211); -x_213 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_213, 0, x_212); -return x_213; +uint8_t x_125; +x_125 = !lean_is_exclusive(x_122); +if (x_125 == 0) +{ +lean_object* x_126; lean_object* x_127; lean_object* x_128; +x_126 = lean_ctor_get(x_122, 0); +if (lean_is_scalar(x_120)) { + x_127 = lean_alloc_ctor(1, 1, 0); +} else { + x_127 = x_120; +} +lean_ctor_set(x_127, 0, x_126); +x_128 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_127, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_128) == 0) +{ +uint8_t x_129; +lean_free_object(x_122); +lean_dec(x_121); +lean_dec(x_26); +lean_dec(x_105); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_129 = !lean_is_exclusive(x_128); +if (x_129 == 0) +{ +return x_128; +} +else +{ +lean_object* x_130; lean_object* x_131; +x_130 = lean_ctor_get(x_128, 0); +lean_inc(x_130); +lean_dec(x_128); +x_131 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_131, 0, x_130); +return x_131; +} +} +else +{ +uint8_t x_132; +x_132 = !lean_is_exclusive(x_128); +if (x_132 == 0) +{ +lean_object* x_133; lean_object* x_134; +x_133 = lean_ctor_get(x_128, 0); +lean_ctor_set(x_122, 0, x_133); +x_134 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_134, 0, x_13); +lean_ctor_set(x_134, 1, x_15); +lean_ctor_set(x_134, 2, x_16); +lean_ctor_set(x_134, 3, x_17); +lean_ctor_set(x_134, 4, x_19); +lean_ctor_set(x_134, 5, x_105); +lean_ctor_set(x_134, 6, x_26); +lean_ctor_set(x_134, 7, x_121); +lean_ctor_set(x_134, 8, x_122); +lean_ctor_set(x_128, 0, x_134); +return x_128; +} +else +{ +lean_object* x_135; lean_object* x_136; lean_object* x_137; +x_135 = lean_ctor_get(x_128, 0); +lean_inc(x_135); +lean_dec(x_128); +lean_ctor_set(x_122, 0, x_135); +x_136 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_136, 0, x_13); +lean_ctor_set(x_136, 1, x_15); +lean_ctor_set(x_136, 2, x_16); +lean_ctor_set(x_136, 3, x_17); +lean_ctor_set(x_136, 4, x_19); +lean_ctor_set(x_136, 5, x_105); +lean_ctor_set(x_136, 6, x_26); +lean_ctor_set(x_136, 7, x_121); +lean_ctor_set(x_136, 8, x_122); +x_137 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_137, 0, x_136); +return x_137; } } } else { -lean_object* x_214; -x_214 = lean_ctor_get(x_32, 0); -lean_inc(x_214); -lean_dec(x_32); -if (lean_obj_tag(x_214) == 4) +lean_object* x_138; lean_object* x_139; lean_object* x_140; +x_138 = lean_ctor_get(x_122, 0); +lean_inc(x_138); +lean_dec(x_122); +if (lean_is_scalar(x_120)) { + x_139 = lean_alloc_ctor(1, 1, 0); +} else { + x_139 = x_120; +} +lean_ctor_set(x_139, 0, x_138); +x_140 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_139, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_140) == 0) { -lean_object* x_215; lean_object* x_216; lean_object* x_217; size_t x_218; size_t x_219; lean_object* x_220; lean_object* x_221; lean_object* x_222; size_t x_223; lean_object* x_224; -x_215 = lean_ctor_get(x_28, 0); -lean_inc(x_215); -lean_dec(x_28); -x_216 = lean_ctor_get(x_214, 0); -lean_inc(x_216); -lean_dec(x_214); -x_217 = lean_array_get_size(x_216); -x_218 = lean_usize_of_nat(x_217); -lean_dec(x_217); -x_219 = 0; -x_220 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_218, x_219, x_216); -x_221 = lean_ctor_get(x_220, 0); -lean_inc(x_221); -lean_dec(x_220); -x_222 = lean_array_get_size(x_221); -x_223 = lean_usize_of_nat(x_222); -lean_dec(x_222); -x_224 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_223, x_219, x_221, x_3); -if (lean_obj_tag(x_224) == 0) +lean_object* x_141; lean_object* x_142; lean_object* x_143; +lean_dec(x_121); +lean_dec(x_26); +lean_dec(x_105); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_141 = lean_ctor_get(x_140, 0); +lean_inc(x_141); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + x_142 = x_140; +} else { + lean_dec_ref(x_140); + x_142 = lean_box(0); +} +if (lean_is_scalar(x_142)) { + x_143 = lean_alloc_ctor(0, 1, 0); +} else { + x_143 = x_142; +} +lean_ctor_set(x_143, 0, x_141); +return x_143; +} +else { -lean_object* x_225; lean_object* x_226; lean_object* x_227; -lean_dec(x_215); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_object* x_144; lean_object* x_145; lean_object* x_146; lean_object* x_147; lean_object* x_148; +x_144 = lean_ctor_get(x_140, 0); +lean_inc(x_144); +if (lean_is_exclusive(x_140)) { + lean_ctor_release(x_140, 0); + x_145 = x_140; +} else { + lean_dec_ref(x_140); + x_145 = lean_box(0); +} +x_146 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_146, 0, x_144); +x_147 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_147, 0, x_13); +lean_ctor_set(x_147, 1, x_15); +lean_ctor_set(x_147, 2, x_16); +lean_ctor_set(x_147, 3, x_17); +lean_ctor_set(x_147, 4, x_19); +lean_ctor_set(x_147, 5, x_105); +lean_ctor_set(x_147, 6, x_26); +lean_ctor_set(x_147, 7, x_121); +lean_ctor_set(x_147, 8, x_146); +if (lean_is_scalar(x_145)) { + x_148 = lean_alloc_ctor(1, 1, 0); +} else { + x_148 = x_145; +} +lean_ctor_set(x_148, 0, x_147); +return x_148; +} +} +} +} +} +} +else +{ +lean_object* x_191; lean_object* x_192; size_t x_193; lean_object* x_194; +x_191 = lean_ctor_get(x_110, 0); +lean_inc(x_191); +lean_dec(x_110); +x_192 = lean_array_get_size(x_191); +x_193 = lean_usize_of_nat(x_192); +lean_dec(x_192); +x_194 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_193, x_109, x_191, x_3); +if (lean_obj_tag(x_194) == 0) +{ +lean_object* x_195; lean_object* x_196; lean_object* x_197; +lean_dec(x_105); +lean_free_object(x_26); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_225 = lean_ctor_get(x_224, 0); -lean_inc(x_225); -if (lean_is_exclusive(x_224)) { - lean_ctor_release(x_224, 0); - x_226 = x_224; +x_195 = lean_ctor_get(x_194, 0); +lean_inc(x_195); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + x_196 = x_194; } else { - lean_dec_ref(x_224); - x_226 = lean_box(0); + lean_dec_ref(x_194); + x_196 = lean_box(0); } -if (lean_is_scalar(x_226)) { - x_227 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_196)) { + x_197 = lean_alloc_ctor(0, 1, 0); } else { - x_227 = x_226; + x_197 = x_196; } -lean_ctor_set(x_227, 0, x_225); -return x_227; +lean_ctor_set(x_197, 0, x_195); +return x_197; } else { -lean_object* x_228; lean_object* x_229; lean_object* x_230; lean_object* x_231; -x_228 = lean_ctor_get(x_224, 0); +lean_object* x_198; lean_object* x_199; lean_object* x_200; lean_object* x_217; +x_198 = lean_ctor_get(x_194, 0); +lean_inc(x_198); +if (lean_is_exclusive(x_194)) { + lean_ctor_release(x_194, 0); + x_199 = x_194; +} else { + lean_dec_ref(x_194); + x_199 = lean_box(0); +} +lean_ctor_set(x_26, 0, x_198); +x_217 = lean_ctor_get(x_5, 7); +lean_inc(x_217); +if (lean_obj_tag(x_217) == 0) +{ +x_200 = x_19; +goto block_216; +} +else +{ +lean_object* x_218; lean_object* x_219; +x_218 = lean_ctor_get(x_217, 0); +lean_inc(x_218); +if (lean_is_exclusive(x_217)) { + lean_ctor_release(x_217, 0); + x_219 = x_217; +} else { + lean_dec_ref(x_217); + x_219 = lean_box(0); +} +if (lean_obj_tag(x_218) == 4) +{ +lean_object* x_220; lean_object* x_221; size_t x_222; lean_object* x_223; lean_object* x_224; lean_object* x_225; size_t x_226; lean_object* x_227; +x_220 = lean_ctor_get(x_218, 0); +lean_inc(x_220); +lean_dec(x_218); +x_221 = lean_array_get_size(x_220); +x_222 = lean_usize_of_nat(x_221); +lean_dec(x_221); +x_223 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_222, x_109, x_220); +x_224 = lean_ctor_get(x_223, 0); +lean_inc(x_224); +lean_dec(x_223); +x_225 = lean_array_get_size(x_224); +x_226 = lean_usize_of_nat(x_225); +lean_dec(x_225); +x_227 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_226, x_109, x_224, x_3); +if (lean_obj_tag(x_227) == 0) +{ +lean_object* x_228; lean_object* x_229; lean_object* x_230; +lean_dec(x_219); +lean_dec(x_26); +lean_dec(x_199); +lean_dec(x_105); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_228 = lean_ctor_get(x_227, 0); lean_inc(x_228); -if (lean_is_exclusive(x_224)) { - lean_ctor_release(x_224, 0); - x_229 = x_224; +if (lean_is_exclusive(x_227)) { + lean_ctor_release(x_227, 0); + x_229 = x_227; } else { - lean_dec_ref(x_224); + lean_dec_ref(x_227); x_229 = lean_box(0); } -x_230 = lean_alloc_ctor(1, 1, 0); +if (lean_is_scalar(x_229)) { + x_230 = lean_alloc_ctor(0, 1, 0); +} else { + x_230 = x_229; +} lean_ctor_set(x_230, 0, x_228); -x_231 = lean_ctor_get(x_5, 7); +return x_230; +} +else +{ +lean_object* x_231; lean_object* x_232; +x_231 = lean_ctor_get(x_227, 0); lean_inc(x_231); -lean_dec(x_5); -if (lean_obj_tag(x_231) == 0) -{ -lean_object* x_232; lean_object* x_233; -lean_dec(x_3); -x_232 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_232, 0, x_13); -lean_ctor_set(x_232, 1, x_20); -lean_ctor_set(x_232, 2, x_22); -lean_ctor_set(x_232, 3, x_23); -lean_ctor_set(x_232, 4, x_25); -lean_ctor_set(x_232, 5, x_215); -lean_ctor_set(x_232, 6, x_230); -lean_ctor_set(x_232, 7, x_25); -if (lean_is_scalar(x_229)) { - x_233 = lean_alloc_ctor(1, 1, 0); +lean_dec(x_227); +if (lean_is_scalar(x_219)) { + x_232 = lean_alloc_ctor(1, 1, 0); } else { - x_233 = x_229; + x_232 = x_219; +} +lean_ctor_set(x_232, 0, x_231); +x_200 = x_232; +goto block_216; } -lean_ctor_set(x_233, 0, x_232); -return x_233; } else { -lean_object* x_234; lean_object* x_235; -x_234 = lean_ctor_get(x_231, 0); -lean_inc(x_234); -if (lean_is_exclusive(x_231)) { - lean_ctor_release(x_231, 0); - x_235 = x_231; -} else { - lean_dec_ref(x_231); - x_235 = lean_box(0); -} -if (lean_obj_tag(x_234) == 4) -{ -lean_object* x_236; lean_object* x_237; size_t x_238; lean_object* x_239; lean_object* x_240; lean_object* x_241; size_t x_242; lean_object* x_243; -lean_dec(x_229); -x_236 = lean_ctor_get(x_234, 0); -lean_inc(x_236); +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_dec(x_219); +lean_dec(x_26); +lean_dec(x_199); +lean_dec(x_105); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_233 = lean_unsigned_to_nat(80u); +x_234 = l_Lean_Json_pretty(x_218, x_233); +x_235 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_236 = lean_string_append(x_235, x_234); lean_dec(x_234); -x_237 = lean_array_get_size(x_236); -x_238 = lean_usize_of_nat(x_237); -lean_dec(x_237); -x_239 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_238, x_219, x_236); -x_240 = lean_ctor_get(x_239, 0); -lean_inc(x_240); -lean_dec(x_239); -x_241 = lean_array_get_size(x_240); -x_242 = lean_usize_of_nat(x_241); +x_237 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_238 = lean_string_append(x_236, x_237); +x_239 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_239, 0, x_238); +return x_239; +} +} +block_216: +{ +lean_object* x_201; +x_201 = lean_ctor_get(x_5, 8); +lean_inc(x_201); +lean_dec(x_5); +if (lean_obj_tag(x_201) == 0) +{ +lean_object* x_202; lean_object* x_203; +lean_dec(x_3); +x_202 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_202, 0, x_13); +lean_ctor_set(x_202, 1, x_15); +lean_ctor_set(x_202, 2, x_16); +lean_ctor_set(x_202, 3, x_17); +lean_ctor_set(x_202, 4, x_19); +lean_ctor_set(x_202, 5, x_105); +lean_ctor_set(x_202, 6, x_26); +lean_ctor_set(x_202, 7, x_200); +lean_ctor_set(x_202, 8, x_19); +if (lean_is_scalar(x_199)) { + x_203 = lean_alloc_ctor(1, 1, 0); +} else { + x_203 = x_199; +} +lean_ctor_set(x_203, 0, x_202); +return x_203; +} +else +{ +lean_object* x_204; lean_object* x_205; lean_object* x_206; lean_object* x_207; +x_204 = lean_ctor_get(x_201, 0); +lean_inc(x_204); +if (lean_is_exclusive(x_201)) { + lean_ctor_release(x_201, 0); + x_205 = x_201; +} else { + lean_dec_ref(x_201); + x_205 = lean_box(0); +} +if (lean_is_scalar(x_199)) { + x_206 = lean_alloc_ctor(1, 1, 0); +} else { + x_206 = x_199; +} +lean_ctor_set(x_206, 0, x_204); +x_207 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_206, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_207) == 0) +{ +lean_object* x_208; lean_object* x_209; lean_object* x_210; +lean_dec(x_205); +lean_dec(x_200); +lean_dec(x_26); +lean_dec(x_105); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_208 = lean_ctor_get(x_207, 0); +lean_inc(x_208); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + x_209 = x_207; +} else { + lean_dec_ref(x_207); + x_209 = lean_box(0); +} +if (lean_is_scalar(x_209)) { + x_210 = lean_alloc_ctor(0, 1, 0); +} else { + x_210 = x_209; +} +lean_ctor_set(x_210, 0, x_208); +return x_210; +} +else +{ +lean_object* x_211; lean_object* x_212; lean_object* x_213; lean_object* x_214; lean_object* x_215; +x_211 = lean_ctor_get(x_207, 0); +lean_inc(x_211); +if (lean_is_exclusive(x_207)) { + lean_ctor_release(x_207, 0); + x_212 = x_207; +} else { + lean_dec_ref(x_207); + x_212 = lean_box(0); +} +if (lean_is_scalar(x_205)) { + x_213 = lean_alloc_ctor(1, 1, 0); +} else { + x_213 = x_205; +} +lean_ctor_set(x_213, 0, x_211); +x_214 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_214, 0, x_13); +lean_ctor_set(x_214, 1, x_15); +lean_ctor_set(x_214, 2, x_16); +lean_ctor_set(x_214, 3, x_17); +lean_ctor_set(x_214, 4, x_19); +lean_ctor_set(x_214, 5, x_105); +lean_ctor_set(x_214, 6, x_26); +lean_ctor_set(x_214, 7, x_200); +lean_ctor_set(x_214, 8, x_213); +if (lean_is_scalar(x_212)) { + x_215 = lean_alloc_ctor(1, 1, 0); +} else { + x_215 = x_212; +} +lean_ctor_set(x_215, 0, x_214); +return x_215; +} +} +} +} +} +} +else +{ +uint8_t x_240; +lean_free_object(x_26); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_240 = !lean_is_exclusive(x_22); +if (x_240 == 0) +{ +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; +x_241 = lean_ctor_get(x_22, 0); lean_dec(x_241); -x_243 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_242, x_219, x_240, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_243) == 0) -{ -lean_object* x_244; lean_object* x_245; lean_object* x_246; -lean_dec(x_235); -lean_dec(x_230); -lean_dec(x_215); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_244 = lean_ctor_get(x_243, 0); -lean_inc(x_244); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - x_245 = x_243; -} else { - lean_dec_ref(x_243); - x_245 = lean_box(0); -} -if (lean_is_scalar(x_245)) { - x_246 = lean_alloc_ctor(0, 1, 0); -} else { - x_246 = x_245; -} -lean_ctor_set(x_246, 0, x_244); -return x_246; +x_242 = lean_unsigned_to_nat(80u); +x_243 = l_Lean_Json_pretty(x_104, x_242); +x_244 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_245 = lean_string_append(x_244, x_243); +lean_dec(x_243); +x_246 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_247 = lean_string_append(x_245, x_246); +lean_ctor_set_tag(x_22, 0); +lean_ctor_set(x_22, 0, x_247); +return x_22; } else { -lean_object* x_247; lean_object* x_248; lean_object* x_249; lean_object* x_250; lean_object* x_251; -x_247 = lean_ctor_get(x_243, 0); -lean_inc(x_247); -if (lean_is_exclusive(x_243)) { - lean_ctor_release(x_243, 0); - x_248 = x_243; -} else { - lean_dec_ref(x_243); - x_248 = lean_box(0); -} -if (lean_is_scalar(x_235)) { - x_249 = lean_alloc_ctor(1, 1, 0); -} else { - x_249 = x_235; -} -lean_ctor_set(x_249, 0, x_247); -x_250 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_250, 0, x_13); -lean_ctor_set(x_250, 1, x_20); -lean_ctor_set(x_250, 2, x_22); -lean_ctor_set(x_250, 3, x_23); -lean_ctor_set(x_250, 4, x_25); -lean_ctor_set(x_250, 5, x_215); -lean_ctor_set(x_250, 6, x_230); -lean_ctor_set(x_250, 7, x_249); -if (lean_is_scalar(x_248)) { - x_251 = lean_alloc_ctor(1, 1, 0); -} else { - x_251 = x_248; -} -lean_ctor_set(x_251, 0, x_250); -return x_251; -} -} -else -{ -lean_object* x_252; lean_object* x_253; lean_object* x_254; lean_object* x_255; lean_object* x_256; lean_object* x_257; lean_object* x_258; -lean_dec(x_235); -lean_dec(x_230); -lean_dec(x_215); -lean_dec(x_23); +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_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_252 = lean_unsigned_to_nat(80u); -x_253 = l_Lean_Json_pretty(x_234, x_252); -x_254 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_255 = lean_string_append(x_254, x_253); -lean_dec(x_253); -x_256 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_257 = lean_string_append(x_255, x_256); -if (lean_is_scalar(x_229)) { - x_258 = lean_alloc_ctor(0, 1, 0); -} else { - x_258 = x_229; - lean_ctor_set_tag(x_258, 0); -} -lean_ctor_set(x_258, 0, x_257); -return x_258; -} +x_248 = lean_unsigned_to_nat(80u); +x_249 = l_Lean_Json_pretty(x_104, x_248); +x_250 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_251 = lean_string_append(x_250, x_249); +lean_dec(x_249); +x_252 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_253 = lean_string_append(x_251, x_252); +x_254 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_254, 0, x_253); +return x_254; } } } else { -lean_object* x_259; lean_object* x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; lean_object* x_265; lean_object* x_266; -lean_dec(x_23); +lean_object* x_255; +x_255 = lean_ctor_get(x_26, 0); +lean_inc(x_255); +lean_dec(x_26); +if (lean_obj_tag(x_255) == 4) +{ +lean_object* x_256; lean_object* x_257; lean_object* x_258; size_t x_259; size_t x_260; lean_object* x_261; lean_object* x_262; lean_object* x_263; lean_object* x_264; size_t x_265; lean_object* x_266; +x_256 = lean_ctor_get(x_22, 0); +lean_inc(x_256); lean_dec(x_22); -lean_dec(x_20); +x_257 = lean_ctor_get(x_255, 0); +lean_inc(x_257); +lean_dec(x_255); +x_258 = lean_array_get_size(x_257); +x_259 = lean_usize_of_nat(x_258); +lean_dec(x_258); +x_260 = 0; +x_261 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_259, x_260, x_257); +x_262 = lean_ctor_get(x_261, 0); +lean_inc(x_262); +if (lean_is_exclusive(x_261)) { + lean_ctor_release(x_261, 0); + x_263 = x_261; +} else { + lean_dec_ref(x_261); + x_263 = lean_box(0); +} +x_264 = lean_array_get_size(x_262); +x_265 = lean_usize_of_nat(x_264); +lean_dec(x_264); +x_266 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_265, x_260, x_262, x_3); +if (lean_obj_tag(x_266) == 0) +{ +lean_object* x_267; lean_object* x_268; lean_object* x_269; +lean_dec(x_263); +lean_dec(x_256); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -if (lean_is_exclusive(x_28)) { - lean_ctor_release(x_28, 0); - x_259 = x_28; +x_267 = lean_ctor_get(x_266, 0); +lean_inc(x_267); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + x_268 = x_266; } else { - lean_dec_ref(x_28); - x_259 = lean_box(0); + lean_dec_ref(x_266); + x_268 = lean_box(0); } -x_260 = lean_unsigned_to_nat(80u); -x_261 = l_Lean_Json_pretty(x_214, x_260); -x_262 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_263 = lean_string_append(x_262, x_261); -lean_dec(x_261); -x_264 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_265 = lean_string_append(x_263, x_264); -if (lean_is_scalar(x_259)) { - x_266 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_268)) { + x_269 = lean_alloc_ctor(0, 1, 0); } else { - x_266 = x_259; - lean_ctor_set_tag(x_266, 0); -} -lean_ctor_set(x_266, 0, x_265); -return x_266; -} -} -} + x_269 = x_268; } +lean_ctor_set(x_269, 0, x_267); +return x_269; } else { -uint8_t x_267; -x_267 = !lean_is_exclusive(x_24); -if (x_267 == 0) +lean_object* x_270; lean_object* x_271; lean_object* x_272; lean_object* x_273; lean_object* x_290; +x_270 = lean_ctor_get(x_266, 0); +lean_inc(x_270); +if (lean_is_exclusive(x_266)) { + lean_ctor_release(x_266, 0); + x_271 = x_266; +} else { + lean_dec_ref(x_266); + x_271 = lean_box(0); +} +x_272 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_272, 0, x_270); +x_290 = lean_ctor_get(x_5, 7); +lean_inc(x_290); +if (lean_obj_tag(x_290) == 0) { -lean_object* x_268; lean_object* x_269; lean_object* x_270; -x_268 = lean_ctor_get(x_24, 0); -x_269 = l_Lean_Json_getStr_x3f(x_268); -lean_dec(x_268); -x_270 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_269, x_3); -if (lean_obj_tag(x_270) == 0) +lean_dec(x_263); +x_273 = x_19; +goto block_289; +} +else { -uint8_t x_271; -lean_free_object(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_object* x_291; lean_object* x_292; +x_291 = lean_ctor_get(x_290, 0); +lean_inc(x_291); +if (lean_is_exclusive(x_290)) { + lean_ctor_release(x_290, 0); + x_292 = x_290; +} else { + lean_dec_ref(x_290); + x_292 = lean_box(0); +} +if (lean_obj_tag(x_291) == 4) +{ +lean_object* x_293; lean_object* x_294; size_t x_295; lean_object* x_296; lean_object* x_297; lean_object* x_298; size_t x_299; lean_object* x_300; +lean_dec(x_263); +x_293 = lean_ctor_get(x_291, 0); +lean_inc(x_293); +lean_dec(x_291); +x_294 = lean_array_get_size(x_293); +x_295 = lean_usize_of_nat(x_294); +lean_dec(x_294); +x_296 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_295, x_260, x_293); +x_297 = lean_ctor_get(x_296, 0); +lean_inc(x_297); +lean_dec(x_296); +x_298 = lean_array_get_size(x_297); +x_299 = lean_usize_of_nat(x_298); +lean_dec(x_298); +x_300 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_299, x_260, x_297, x_3); +if (lean_obj_tag(x_300) == 0) +{ +lean_object* x_301; lean_object* x_302; lean_object* x_303; +lean_dec(x_292); +lean_dec(x_272); +lean_dec(x_271); +lean_dec(x_256); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_271 = !lean_is_exclusive(x_270); -if (x_271 == 0) -{ -return x_270; +x_301 = lean_ctor_get(x_300, 0); +lean_inc(x_301); +if (lean_is_exclusive(x_300)) { + lean_ctor_release(x_300, 0); + x_302 = x_300; +} else { + lean_dec_ref(x_300); + x_302 = lean_box(0); +} +if (lean_is_scalar(x_302)) { + x_303 = lean_alloc_ctor(0, 1, 0); +} else { + x_303 = x_302; +} +lean_ctor_set(x_303, 0, x_301); +return x_303; } else { -lean_object* x_272; lean_object* x_273; -x_272 = lean_ctor_get(x_270, 0); -lean_inc(x_272); -lean_dec(x_270); -x_273 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_273, 0, x_272); -return x_273; -} -} -else -{ -lean_object* x_274; lean_object* x_275; lean_object* x_276; lean_object* x_277; -x_274 = lean_ctor_get(x_270, 0); -lean_inc(x_274); -lean_dec(x_270); -lean_ctor_set(x_24, 0, x_274); -x_275 = lean_ctor_get(x_1, 1); -lean_inc(x_275); -lean_dec(x_1); -x_276 = lean_ctor_get(x_5, 5); -lean_inc(x_276); -lean_inc(x_3); -x_277 = lean_apply_2(x_275, x_276, x_3); -if (lean_obj_tag(x_277) == 0) -{ -uint8_t x_278; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_278 = !lean_is_exclusive(x_277); -if (x_278 == 0) -{ -return x_277; -} -else -{ -lean_object* x_279; lean_object* x_280; -x_279 = lean_ctor_get(x_277, 0); -lean_inc(x_279); -lean_dec(x_277); -x_280 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_280, 0, x_279); -return x_280; -} -} -else -{ -lean_object* x_281; -x_281 = lean_ctor_get(x_5, 6); -lean_inc(x_281); -if (lean_obj_tag(x_281) == 0) -{ -uint8_t x_282; -x_282 = !lean_is_exclusive(x_277); -if (x_282 == 0) -{ -lean_object* x_283; lean_object* x_284; lean_object* x_285; -x_283 = lean_ctor_get(x_277, 0); -x_284 = lean_box(0); -x_285 = lean_ctor_get(x_5, 7); -lean_inc(x_285); -lean_dec(x_5); -if (lean_obj_tag(x_285) == 0) -{ -lean_object* x_286; -lean_dec(x_3); -x_286 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_286, 0, x_13); -lean_ctor_set(x_286, 1, x_20); -lean_ctor_set(x_286, 2, x_22); -lean_ctor_set(x_286, 3, x_23); -lean_ctor_set(x_286, 4, x_24); -lean_ctor_set(x_286, 5, x_283); -lean_ctor_set(x_286, 6, x_284); -lean_ctor_set(x_286, 7, x_284); -lean_ctor_set(x_277, 0, x_286); -return x_277; -} -else -{ -uint8_t x_287; -x_287 = !lean_is_exclusive(x_285); -if (x_287 == 0) -{ -lean_object* x_288; -x_288 = lean_ctor_get(x_285, 0); -if (lean_obj_tag(x_288) == 4) -{ -lean_object* x_289; lean_object* x_290; size_t x_291; size_t x_292; lean_object* x_293; lean_object* x_294; lean_object* x_295; size_t x_296; lean_object* x_297; -lean_free_object(x_277); -x_289 = lean_ctor_get(x_288, 0); -lean_inc(x_289); -lean_dec(x_288); -x_290 = lean_array_get_size(x_289); -x_291 = lean_usize_of_nat(x_290); -lean_dec(x_290); -x_292 = 0; -x_293 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_291, x_292, x_289); -x_294 = lean_ctor_get(x_293, 0); -lean_inc(x_294); -lean_dec(x_293); -x_295 = lean_array_get_size(x_294); -x_296 = lean_usize_of_nat(x_295); -lean_dec(x_295); -x_297 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_296, x_292, x_294, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_297) == 0) -{ -uint8_t x_298; -lean_free_object(x_285); -lean_dec(x_283); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_298 = !lean_is_exclusive(x_297); -if (x_298 == 0) -{ -return x_297; -} -else -{ -lean_object* x_299; lean_object* x_300; -x_299 = lean_ctor_get(x_297, 0); -lean_inc(x_299); -lean_dec(x_297); -x_300 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_300, 0, x_299); -return x_300; -} -} -else -{ -uint8_t x_301; -x_301 = !lean_is_exclusive(x_297); -if (x_301 == 0) -{ -lean_object* x_302; lean_object* x_303; -x_302 = lean_ctor_get(x_297, 0); -lean_ctor_set(x_285, 0, x_302); -x_303 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_303, 0, x_13); -lean_ctor_set(x_303, 1, x_20); -lean_ctor_set(x_303, 2, x_22); -lean_ctor_set(x_303, 3, x_23); -lean_ctor_set(x_303, 4, x_24); -lean_ctor_set(x_303, 5, x_283); -lean_ctor_set(x_303, 6, x_284); -lean_ctor_set(x_303, 7, x_285); -lean_ctor_set(x_297, 0, x_303); -return x_297; -} -else -{ -lean_object* x_304; lean_object* x_305; lean_object* x_306; -x_304 = lean_ctor_get(x_297, 0); +lean_object* x_304; lean_object* x_305; +x_304 = lean_ctor_get(x_300, 0); lean_inc(x_304); -lean_dec(x_297); -lean_ctor_set(x_285, 0, x_304); -x_305 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_305, 0, x_13); -lean_ctor_set(x_305, 1, x_20); -lean_ctor_set(x_305, 2, x_22); -lean_ctor_set(x_305, 3, x_23); -lean_ctor_set(x_305, 4, x_24); -lean_ctor_set(x_305, 5, x_283); -lean_ctor_set(x_305, 6, x_284); -lean_ctor_set(x_305, 7, x_285); -x_306 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_306, 0, x_305); -return x_306; +lean_dec(x_300); +if (lean_is_scalar(x_292)) { + x_305 = lean_alloc_ctor(1, 1, 0); +} else { + x_305 = x_292; } +lean_ctor_set(x_305, 0, x_304); +x_273 = x_305; +goto block_289; } } else { -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_free_object(x_285); -lean_dec(x_283); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +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_dec(x_292); +lean_dec(x_272); +lean_dec(x_271); +lean_dec(x_256); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); -lean_dec(x_3); -x_307 = lean_unsigned_to_nat(80u); -x_308 = l_Lean_Json_pretty(x_288, x_307); -x_309 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_310 = lean_string_append(x_309, x_308); -lean_dec(x_308); -x_311 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_312 = lean_string_append(x_310, x_311); -lean_ctor_set_tag(x_277, 0); -lean_ctor_set(x_277, 0, x_312); -return x_277; -} -} -else -{ -lean_object* x_313; -x_313 = lean_ctor_get(x_285, 0); -lean_inc(x_313); -lean_dec(x_285); -if (lean_obj_tag(x_313) == 4) -{ -lean_object* x_314; lean_object* x_315; size_t x_316; size_t x_317; lean_object* x_318; lean_object* x_319; lean_object* x_320; size_t x_321; lean_object* x_322; -lean_free_object(x_277); -x_314 = lean_ctor_get(x_313, 0); -lean_inc(x_314); -lean_dec(x_313); -x_315 = lean_array_get_size(x_314); -x_316 = lean_usize_of_nat(x_315); -lean_dec(x_315); -x_317 = 0; -x_318 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_316, x_317, x_314); -x_319 = lean_ctor_get(x_318, 0); -lean_inc(x_319); -lean_dec(x_318); -x_320 = lean_array_get_size(x_319); -x_321 = lean_usize_of_nat(x_320); -lean_dec(x_320); -x_322 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_321, x_317, x_319, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_322) == 0) -{ -lean_object* x_323; lean_object* x_324; lean_object* x_325; -lean_dec(x_283); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_323 = lean_ctor_get(x_322, 0); -lean_inc(x_323); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - x_324 = x_322; -} else { - lean_dec_ref(x_322); - x_324 = lean_box(0); -} -if (lean_is_scalar(x_324)) { - x_325 = lean_alloc_ctor(0, 1, 0); -} else { - x_325 = x_324; -} -lean_ctor_set(x_325, 0, x_323); -return x_325; -} -else -{ -lean_object* x_326; lean_object* x_327; lean_object* x_328; lean_object* x_329; lean_object* x_330; -x_326 = lean_ctor_get(x_322, 0); -lean_inc(x_326); -if (lean_is_exclusive(x_322)) { - lean_ctor_release(x_322, 0); - x_327 = x_322; -} else { - lean_dec_ref(x_322); - x_327 = lean_box(0); -} -x_328 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_328, 0, x_326); -x_329 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_329, 0, x_13); -lean_ctor_set(x_329, 1, x_20); -lean_ctor_set(x_329, 2, x_22); -lean_ctor_set(x_329, 3, x_23); -lean_ctor_set(x_329, 4, x_24); -lean_ctor_set(x_329, 5, x_283); -lean_ctor_set(x_329, 6, x_284); -lean_ctor_set(x_329, 7, x_328); -if (lean_is_scalar(x_327)) { - x_330 = lean_alloc_ctor(1, 1, 0); -} else { - x_330 = x_327; -} -lean_ctor_set(x_330, 0, x_329); -return x_330; -} -} -else -{ -lean_object* x_331; lean_object* x_332; lean_object* x_333; lean_object* x_334; lean_object* x_335; lean_object* x_336; -lean_dec(x_283); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_331 = lean_unsigned_to_nat(80u); -x_332 = l_Lean_Json_pretty(x_313, x_331); -x_333 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_334 = lean_string_append(x_333, x_332); -lean_dec(x_332); -x_335 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_336 = lean_string_append(x_334, x_335); -lean_ctor_set_tag(x_277, 0); -lean_ctor_set(x_277, 0, x_336); -return x_277; -} -} -} -} -else -{ -lean_object* x_337; lean_object* x_338; lean_object* x_339; -x_337 = lean_ctor_get(x_277, 0); -lean_inc(x_337); -lean_dec(x_277); -x_338 = lean_box(0); -x_339 = lean_ctor_get(x_5, 7); -lean_inc(x_339); lean_dec(x_5); -if (lean_obj_tag(x_339) == 0) -{ -lean_object* x_340; lean_object* x_341; lean_dec(x_3); -x_340 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_340, 0, x_13); -lean_ctor_set(x_340, 1, x_20); -lean_ctor_set(x_340, 2, x_22); -lean_ctor_set(x_340, 3, x_23); -lean_ctor_set(x_340, 4, x_24); -lean_ctor_set(x_340, 5, x_337); -lean_ctor_set(x_340, 6, x_338); -lean_ctor_set(x_340, 7, x_338); -x_341 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_341, 0, x_340); -return x_341; +x_306 = lean_unsigned_to_nat(80u); +x_307 = l_Lean_Json_pretty(x_291, x_306); +x_308 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_309 = lean_string_append(x_308, x_307); +lean_dec(x_307); +x_310 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_311 = lean_string_append(x_309, x_310); +if (lean_is_scalar(x_263)) { + x_312 = lean_alloc_ctor(0, 1, 0); +} else { + x_312 = x_263; + lean_ctor_set_tag(x_312, 0); +} +lean_ctor_set(x_312, 0, x_311); +return x_312; +} +} +block_289: +{ +lean_object* x_274; +x_274 = lean_ctor_get(x_5, 8); +lean_inc(x_274); +lean_dec(x_5); +if (lean_obj_tag(x_274) == 0) +{ +lean_object* x_275; lean_object* x_276; +lean_dec(x_3); +x_275 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_275, 0, x_13); +lean_ctor_set(x_275, 1, x_15); +lean_ctor_set(x_275, 2, x_16); +lean_ctor_set(x_275, 3, x_17); +lean_ctor_set(x_275, 4, x_19); +lean_ctor_set(x_275, 5, x_256); +lean_ctor_set(x_275, 6, x_272); +lean_ctor_set(x_275, 7, x_273); +lean_ctor_set(x_275, 8, x_19); +if (lean_is_scalar(x_271)) { + x_276 = lean_alloc_ctor(1, 1, 0); +} else { + x_276 = x_271; +} +lean_ctor_set(x_276, 0, x_275); +return x_276; } else { +lean_object* x_277; lean_object* x_278; lean_object* x_279; lean_object* x_280; +x_277 = lean_ctor_get(x_274, 0); +lean_inc(x_277); +if (lean_is_exclusive(x_274)) { + lean_ctor_release(x_274, 0); + x_278 = x_274; +} else { + lean_dec_ref(x_274); + x_278 = lean_box(0); +} +if (lean_is_scalar(x_271)) { + x_279 = lean_alloc_ctor(1, 1, 0); +} else { + x_279 = x_271; +} +lean_ctor_set(x_279, 0, x_277); +x_280 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_279, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_280) == 0) +{ +lean_object* x_281; lean_object* x_282; lean_object* x_283; +lean_dec(x_278); +lean_dec(x_273); +lean_dec(x_272); +lean_dec(x_256); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_281 = lean_ctor_get(x_280, 0); +lean_inc(x_281); +if (lean_is_exclusive(x_280)) { + lean_ctor_release(x_280, 0); + x_282 = x_280; +} else { + lean_dec_ref(x_280); + x_282 = lean_box(0); +} +if (lean_is_scalar(x_282)) { + x_283 = lean_alloc_ctor(0, 1, 0); +} else { + x_283 = x_282; +} +lean_ctor_set(x_283, 0, x_281); +return x_283; +} +else +{ +lean_object* x_284; lean_object* x_285; lean_object* x_286; lean_object* x_287; lean_object* x_288; +x_284 = lean_ctor_get(x_280, 0); +lean_inc(x_284); +if (lean_is_exclusive(x_280)) { + lean_ctor_release(x_280, 0); + x_285 = x_280; +} else { + lean_dec_ref(x_280); + x_285 = lean_box(0); +} +if (lean_is_scalar(x_278)) { + x_286 = lean_alloc_ctor(1, 1, 0); +} else { + x_286 = x_278; +} +lean_ctor_set(x_286, 0, x_284); +x_287 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_287, 0, x_13); +lean_ctor_set(x_287, 1, x_15); +lean_ctor_set(x_287, 2, x_16); +lean_ctor_set(x_287, 3, x_17); +lean_ctor_set(x_287, 4, x_19); +lean_ctor_set(x_287, 5, x_256); +lean_ctor_set(x_287, 6, x_272); +lean_ctor_set(x_287, 7, x_273); +lean_ctor_set(x_287, 8, x_286); +if (lean_is_scalar(x_285)) { + x_288 = lean_alloc_ctor(1, 1, 0); +} else { + x_288 = x_285; +} +lean_ctor_set(x_288, 0, x_287); +return x_288; +} +} +} +} +} +else +{ +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_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +if (lean_is_exclusive(x_22)) { + lean_ctor_release(x_22, 0); + x_313 = x_22; +} else { + lean_dec_ref(x_22); + x_313 = lean_box(0); +} +x_314 = lean_unsigned_to_nat(80u); +x_315 = l_Lean_Json_pretty(x_255, x_314); +x_316 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_317 = lean_string_append(x_316, x_315); +lean_dec(x_315); +x_318 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_319 = lean_string_append(x_317, x_318); +if (lean_is_scalar(x_313)) { + x_320 = lean_alloc_ctor(0, 1, 0); +} else { + x_320 = x_313; + lean_ctor_set_tag(x_320, 0); +} +lean_ctor_set(x_320, 0, x_319); +return x_320; +} +} +} +} +} +else +{ +uint8_t x_321; +lean_dec(x_14); +x_321 = !lean_is_exclusive(x_18); +if (x_321 == 0) +{ +lean_object* x_322; lean_object* x_323; lean_object* x_324; +x_322 = lean_ctor_get(x_18, 0); +x_323 = l_Lean_Json_getStr_x3f(x_322); +lean_dec(x_322); +x_324 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_323, x_3); +if (lean_obj_tag(x_324) == 0) +{ +uint8_t x_325; +lean_free_object(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +lean_dec(x_1); +x_325 = !lean_is_exclusive(x_324); +if (x_325 == 0) +{ +return x_324; +} +else +{ +lean_object* x_326; lean_object* x_327; +x_326 = lean_ctor_get(x_324, 0); +lean_inc(x_326); +lean_dec(x_324); +x_327 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_327, 0, x_326); +return x_327; +} +} +else +{ +uint8_t x_328; +x_328 = !lean_is_exclusive(x_324); +if (x_328 == 0) +{ +lean_object* x_329; lean_object* x_330; lean_object* x_331; lean_object* x_332; +x_329 = lean_ctor_get(x_324, 0); +lean_ctor_set(x_18, 0, x_329); +x_330 = lean_ctor_get(x_1, 1); +lean_inc(x_330); +lean_dec(x_1); +x_331 = lean_ctor_get(x_5, 5); +lean_inc(x_331); +lean_inc(x_3); +x_332 = lean_apply_2(x_330, x_331, x_3); +if (lean_obj_tag(x_332) == 0) +{ +uint8_t x_333; +lean_dec(x_18); +lean_free_object(x_324); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_333 = !lean_is_exclusive(x_332); +if (x_333 == 0) +{ +return x_332; +} +else +{ +lean_object* x_334; lean_object* x_335; +x_334 = lean_ctor_get(x_332, 0); +lean_inc(x_334); +lean_dec(x_332); +x_335 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_335, 0, x_334); +return x_335; +} +} +else +{ +lean_object* x_336; +x_336 = lean_ctor_get(x_5, 6); +lean_inc(x_336); +if (lean_obj_tag(x_336) == 0) +{ +lean_object* x_337; lean_object* x_338; lean_object* x_339; lean_object* x_340; lean_object* x_369; +x_337 = lean_ctor_get(x_332, 0); +lean_inc(x_337); +if (lean_is_exclusive(x_332)) { + lean_ctor_release(x_332, 0); + x_338 = x_332; +} else { + lean_dec_ref(x_332); + x_338 = lean_box(0); +} +x_339 = lean_box(0); +x_369 = lean_ctor_get(x_5, 7); +lean_inc(x_369); +if (lean_obj_tag(x_369) == 0) +{ +lean_free_object(x_324); +x_340 = x_339; +goto block_368; +} +else +{ +uint8_t x_370; +x_370 = !lean_is_exclusive(x_369); +if (x_370 == 0) +{ +lean_object* x_371; +x_371 = lean_ctor_get(x_369, 0); +if (lean_obj_tag(x_371) == 4) +{ +lean_object* x_372; lean_object* x_373; size_t x_374; size_t x_375; lean_object* x_376; lean_object* x_377; lean_object* x_378; size_t x_379; lean_object* x_380; +lean_free_object(x_324); +x_372 = lean_ctor_get(x_371, 0); +lean_inc(x_372); +lean_dec(x_371); +x_373 = lean_array_get_size(x_372); +x_374 = lean_usize_of_nat(x_373); +lean_dec(x_373); +x_375 = 0; +x_376 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_374, x_375, x_372); +x_377 = lean_ctor_get(x_376, 0); +lean_inc(x_377); +lean_dec(x_376); +x_378 = lean_array_get_size(x_377); +x_379 = lean_usize_of_nat(x_378); +lean_dec(x_378); +x_380 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_379, x_375, x_377, x_3); +if (lean_obj_tag(x_380) == 0) +{ +uint8_t x_381; +lean_free_object(x_369); +lean_dec(x_338); +lean_dec(x_337); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_381 = !lean_is_exclusive(x_380); +if (x_381 == 0) +{ +return x_380; +} +else +{ +lean_object* x_382; lean_object* x_383; +x_382 = lean_ctor_get(x_380, 0); +lean_inc(x_382); +lean_dec(x_380); +x_383 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_383, 0, x_382); +return x_383; +} +} +else +{ +lean_object* x_384; +x_384 = lean_ctor_get(x_380, 0); +lean_inc(x_384); +lean_dec(x_380); +lean_ctor_set(x_369, 0, x_384); +x_340 = x_369; +goto block_368; +} +} +else +{ +lean_object* x_385; lean_object* x_386; lean_object* x_387; lean_object* x_388; lean_object* x_389; lean_object* x_390; +lean_free_object(x_369); +lean_dec(x_338); +lean_dec(x_337); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_385 = lean_unsigned_to_nat(80u); +x_386 = l_Lean_Json_pretty(x_371, x_385); +x_387 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_388 = lean_string_append(x_387, x_386); +lean_dec(x_386); +x_389 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_390 = lean_string_append(x_388, x_389); +lean_ctor_set_tag(x_324, 0); +lean_ctor_set(x_324, 0, x_390); +return x_324; +} +} +else +{ +lean_object* x_391; +x_391 = lean_ctor_get(x_369, 0); +lean_inc(x_391); +lean_dec(x_369); +if (lean_obj_tag(x_391) == 4) +{ +lean_object* x_392; lean_object* x_393; size_t x_394; size_t x_395; lean_object* x_396; lean_object* x_397; lean_object* x_398; size_t x_399; lean_object* x_400; +lean_free_object(x_324); +x_392 = lean_ctor_get(x_391, 0); +lean_inc(x_392); +lean_dec(x_391); +x_393 = lean_array_get_size(x_392); +x_394 = lean_usize_of_nat(x_393); +lean_dec(x_393); +x_395 = 0; +x_396 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_394, x_395, x_392); +x_397 = lean_ctor_get(x_396, 0); +lean_inc(x_397); +lean_dec(x_396); +x_398 = lean_array_get_size(x_397); +x_399 = lean_usize_of_nat(x_398); +lean_dec(x_398); +x_400 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_399, x_395, x_397, x_3); +if (lean_obj_tag(x_400) == 0) +{ +lean_object* x_401; lean_object* x_402; lean_object* x_403; +lean_dec(x_338); +lean_dec(x_337); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_401 = lean_ctor_get(x_400, 0); +lean_inc(x_401); +if (lean_is_exclusive(x_400)) { + lean_ctor_release(x_400, 0); + x_402 = x_400; +} else { + lean_dec_ref(x_400); + x_402 = lean_box(0); +} +if (lean_is_scalar(x_402)) { + x_403 = lean_alloc_ctor(0, 1, 0); +} else { + x_403 = x_402; +} +lean_ctor_set(x_403, 0, x_401); +return x_403; +} +else +{ +lean_object* x_404; lean_object* x_405; +x_404 = lean_ctor_get(x_400, 0); +lean_inc(x_404); +lean_dec(x_400); +x_405 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_405, 0, x_404); +x_340 = x_405; +goto block_368; +} +} +else +{ +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_dec(x_338); +lean_dec(x_337); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_406 = lean_unsigned_to_nat(80u); +x_407 = l_Lean_Json_pretty(x_391, x_406); +x_408 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_409 = lean_string_append(x_408, x_407); +lean_dec(x_407); +x_410 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_411 = lean_string_append(x_409, x_410); +lean_ctor_set_tag(x_324, 0); +lean_ctor_set(x_324, 0, x_411); +return x_324; +} +} +} +block_368: +{ +lean_object* x_341; +x_341 = lean_ctor_get(x_5, 8); +lean_inc(x_341); +lean_dec(x_5); +if (lean_obj_tag(x_341) == 0) +{ lean_object* x_342; lean_object* x_343; -x_342 = lean_ctor_get(x_339, 0); -lean_inc(x_342); -if (lean_is_exclusive(x_339)) { - lean_ctor_release(x_339, 0); - x_343 = x_339; -} else { - lean_dec_ref(x_339); - x_343 = lean_box(0); -} -if (lean_obj_tag(x_342) == 4) -{ -lean_object* x_344; lean_object* x_345; size_t x_346; size_t x_347; lean_object* x_348; lean_object* x_349; lean_object* x_350; size_t x_351; lean_object* x_352; -x_344 = lean_ctor_get(x_342, 0); -lean_inc(x_344); -lean_dec(x_342); -x_345 = lean_array_get_size(x_344); -x_346 = lean_usize_of_nat(x_345); -lean_dec(x_345); -x_347 = 0; -x_348 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_346, x_347, x_344); -x_349 = lean_ctor_get(x_348, 0); -lean_inc(x_349); -lean_dec(x_348); -x_350 = lean_array_get_size(x_349); -x_351 = lean_usize_of_nat(x_350); -lean_dec(x_350); -x_352 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_351, x_347, x_349, x_3); lean_dec(x_3); -if (lean_obj_tag(x_352) == 0) -{ -lean_object* x_353; lean_object* x_354; lean_object* x_355; -lean_dec(x_343); -lean_dec(x_337); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_353 = lean_ctor_get(x_352, 0); -lean_inc(x_353); -if (lean_is_exclusive(x_352)) { - lean_ctor_release(x_352, 0); - x_354 = x_352; +x_342 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_342, 0, x_13); +lean_ctor_set(x_342, 1, x_15); +lean_ctor_set(x_342, 2, x_16); +lean_ctor_set(x_342, 3, x_17); +lean_ctor_set(x_342, 4, x_18); +lean_ctor_set(x_342, 5, x_337); +lean_ctor_set(x_342, 6, x_339); +lean_ctor_set(x_342, 7, x_340); +lean_ctor_set(x_342, 8, x_339); +if (lean_is_scalar(x_338)) { + x_343 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_352); - x_354 = lean_box(0); + x_343 = x_338; } -if (lean_is_scalar(x_354)) { - x_355 = lean_alloc_ctor(0, 1, 0); -} else { - x_355 = x_354; -} -lean_ctor_set(x_355, 0, x_353); -return x_355; +lean_ctor_set(x_343, 0, x_342); +return x_343; } else { -lean_object* x_356; lean_object* x_357; lean_object* x_358; lean_object* x_359; lean_object* x_360; -x_356 = lean_ctor_get(x_352, 0); -lean_inc(x_356); -if (lean_is_exclusive(x_352)) { - lean_ctor_release(x_352, 0); - x_357 = x_352; +uint8_t x_344; +x_344 = !lean_is_exclusive(x_341); +if (x_344 == 0) +{ +lean_object* x_345; lean_object* x_346; lean_object* x_347; +x_345 = lean_ctor_get(x_341, 0); +if (lean_is_scalar(x_338)) { + x_346 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_352); - x_357 = lean_box(0); + x_346 = x_338; } -if (lean_is_scalar(x_343)) { +lean_ctor_set(x_346, 0, x_345); +x_347 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_346, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_347) == 0) +{ +uint8_t x_348; +lean_free_object(x_341); +lean_dec(x_340); +lean_dec(x_337); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_348 = !lean_is_exclusive(x_347); +if (x_348 == 0) +{ +return x_347; +} +else +{ +lean_object* x_349; lean_object* x_350; +x_349 = lean_ctor_get(x_347, 0); +lean_inc(x_349); +lean_dec(x_347); +x_350 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_350, 0, x_349); +return x_350; +} +} +else +{ +uint8_t x_351; +x_351 = !lean_is_exclusive(x_347); +if (x_351 == 0) +{ +lean_object* x_352; lean_object* x_353; +x_352 = lean_ctor_get(x_347, 0); +lean_ctor_set(x_341, 0, x_352); +x_353 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_353, 0, x_13); +lean_ctor_set(x_353, 1, x_15); +lean_ctor_set(x_353, 2, x_16); +lean_ctor_set(x_353, 3, x_17); +lean_ctor_set(x_353, 4, x_18); +lean_ctor_set(x_353, 5, x_337); +lean_ctor_set(x_353, 6, x_339); +lean_ctor_set(x_353, 7, x_340); +lean_ctor_set(x_353, 8, x_341); +lean_ctor_set(x_347, 0, x_353); +return x_347; +} +else +{ +lean_object* x_354; lean_object* x_355; lean_object* x_356; +x_354 = lean_ctor_get(x_347, 0); +lean_inc(x_354); +lean_dec(x_347); +lean_ctor_set(x_341, 0, x_354); +x_355 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_355, 0, x_13); +lean_ctor_set(x_355, 1, x_15); +lean_ctor_set(x_355, 2, x_16); +lean_ctor_set(x_355, 3, x_17); +lean_ctor_set(x_355, 4, x_18); +lean_ctor_set(x_355, 5, x_337); +lean_ctor_set(x_355, 6, x_339); +lean_ctor_set(x_355, 7, x_340); +lean_ctor_set(x_355, 8, x_341); +x_356 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_356, 0, x_355); +return x_356; +} +} +} +else +{ +lean_object* x_357; lean_object* x_358; lean_object* x_359; +x_357 = lean_ctor_get(x_341, 0); +lean_inc(x_357); +lean_dec(x_341); +if (lean_is_scalar(x_338)) { x_358 = lean_alloc_ctor(1, 1, 0); } else { - x_358 = x_343; + x_358 = x_338; } -lean_ctor_set(x_358, 0, x_356); -x_359 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_359, 0, x_13); -lean_ctor_set(x_359, 1, x_20); -lean_ctor_set(x_359, 2, x_22); -lean_ctor_set(x_359, 3, x_23); -lean_ctor_set(x_359, 4, x_24); -lean_ctor_set(x_359, 5, x_337); -lean_ctor_set(x_359, 6, x_338); -lean_ctor_set(x_359, 7, x_358); -if (lean_is_scalar(x_357)) { - x_360 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_358, 0, x_357); +x_359 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_358, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_359) == 0) +{ +lean_object* x_360; lean_object* x_361; lean_object* x_362; +lean_dec(x_340); +lean_dec(x_337); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_360 = lean_ctor_get(x_359, 0); +lean_inc(x_360); +if (lean_is_exclusive(x_359)) { + lean_ctor_release(x_359, 0); + x_361 = x_359; } else { - x_360 = x_357; + lean_dec_ref(x_359); + x_361 = lean_box(0); } -lean_ctor_set(x_360, 0, x_359); -return x_360; +if (lean_is_scalar(x_361)) { + x_362 = lean_alloc_ctor(0, 1, 0); +} else { + x_362 = x_361; } +lean_ctor_set(x_362, 0, x_360); +return x_362; } else { -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_dec(x_343); -lean_dec(x_337); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_361 = lean_unsigned_to_nat(80u); -x_362 = l_Lean_Json_pretty(x_342, x_361); -x_363 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_364 = lean_string_append(x_363, x_362); -lean_dec(x_362); -x_365 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_366 = lean_string_append(x_364, x_365); -x_367 = lean_alloc_ctor(0, 1, 0); +lean_object* x_363; lean_object* x_364; lean_object* x_365; lean_object* x_366; lean_object* x_367; +x_363 = lean_ctor_get(x_359, 0); +lean_inc(x_363); +if (lean_is_exclusive(x_359)) { + lean_ctor_release(x_359, 0); + x_364 = x_359; +} else { + lean_dec_ref(x_359); + x_364 = lean_box(0); +} +x_365 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_365, 0, x_363); +x_366 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_366, 0, x_13); +lean_ctor_set(x_366, 1, x_15); +lean_ctor_set(x_366, 2, x_16); +lean_ctor_set(x_366, 3, x_17); +lean_ctor_set(x_366, 4, x_18); +lean_ctor_set(x_366, 5, x_337); +lean_ctor_set(x_366, 6, x_339); +lean_ctor_set(x_366, 7, x_340); +lean_ctor_set(x_366, 8, x_365); +if (lean_is_scalar(x_364)) { + x_367 = lean_alloc_ctor(1, 1, 0); +} else { + x_367 = x_364; +} lean_ctor_set(x_367, 0, x_366); return x_367; } } } } -else -{ -uint8_t x_368; -x_368 = !lean_is_exclusive(x_281); -if (x_368 == 0) -{ -lean_object* x_369; -x_369 = lean_ctor_get(x_281, 0); -if (lean_obj_tag(x_369) == 4) -{ -lean_object* x_370; lean_object* x_371; lean_object* x_372; size_t x_373; size_t x_374; lean_object* x_375; lean_object* x_376; lean_object* x_377; size_t x_378; lean_object* x_379; -x_370 = lean_ctor_get(x_277, 0); -lean_inc(x_370); -lean_dec(x_277); -x_371 = lean_ctor_get(x_369, 0); -lean_inc(x_371); -lean_dec(x_369); -x_372 = lean_array_get_size(x_371); -x_373 = lean_usize_of_nat(x_372); -lean_dec(x_372); -x_374 = 0; -x_375 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_373, x_374, x_371); -x_376 = lean_ctor_get(x_375, 0); -lean_inc(x_376); -lean_dec(x_375); -x_377 = lean_array_get_size(x_376); -x_378 = lean_usize_of_nat(x_377); -lean_dec(x_377); -x_379 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_378, x_374, x_376, x_3); -if (lean_obj_tag(x_379) == 0) -{ -uint8_t x_380; -lean_dec(x_370); -lean_free_object(x_281); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_380 = !lean_is_exclusive(x_379); -if (x_380 == 0) -{ -return x_379; } else { -lean_object* x_381; lean_object* x_382; -x_381 = lean_ctor_get(x_379, 0); -lean_inc(x_381); -lean_dec(x_379); -x_382 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_382, 0, x_381); -return x_382; -} -} -else -{ -uint8_t x_383; -x_383 = !lean_is_exclusive(x_379); -if (x_383 == 0) -{ -lean_object* x_384; lean_object* x_385; -x_384 = lean_ctor_get(x_379, 0); -lean_ctor_set(x_281, 0, x_384); -x_385 = lean_ctor_get(x_5, 7); -lean_inc(x_385); -lean_dec(x_5); -if (lean_obj_tag(x_385) == 0) -{ -lean_object* x_386; lean_object* x_387; -lean_dec(x_3); -x_386 = lean_box(0); -x_387 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_387, 0, x_13); -lean_ctor_set(x_387, 1, x_20); -lean_ctor_set(x_387, 2, x_22); -lean_ctor_set(x_387, 3, x_23); -lean_ctor_set(x_387, 4, x_24); -lean_ctor_set(x_387, 5, x_370); -lean_ctor_set(x_387, 6, x_281); -lean_ctor_set(x_387, 7, x_386); -lean_ctor_set(x_379, 0, x_387); -return x_379; -} -else -{ -uint8_t x_388; -x_388 = !lean_is_exclusive(x_385); -if (x_388 == 0) -{ -lean_object* x_389; -x_389 = lean_ctor_get(x_385, 0); -if (lean_obj_tag(x_389) == 4) -{ -lean_object* x_390; lean_object* x_391; size_t x_392; lean_object* x_393; lean_object* x_394; lean_object* x_395; size_t x_396; lean_object* x_397; -lean_free_object(x_379); -x_390 = lean_ctor_get(x_389, 0); -lean_inc(x_390); -lean_dec(x_389); -x_391 = lean_array_get_size(x_390); -x_392 = lean_usize_of_nat(x_391); -lean_dec(x_391); -x_393 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_392, x_374, x_390); -x_394 = lean_ctor_get(x_393, 0); -lean_inc(x_394); -lean_dec(x_393); -x_395 = lean_array_get_size(x_394); -x_396 = lean_usize_of_nat(x_395); -lean_dec(x_395); -x_397 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_396, x_374, x_394, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_397) == 0) -{ -uint8_t x_398; -lean_free_object(x_385); -lean_dec(x_281); -lean_dec(x_370); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_398 = !lean_is_exclusive(x_397); -if (x_398 == 0) -{ -return x_397; -} -else -{ -lean_object* x_399; lean_object* x_400; -x_399 = lean_ctor_get(x_397, 0); -lean_inc(x_399); -lean_dec(x_397); -x_400 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_400, 0, x_399); -return x_400; -} -} -else -{ -uint8_t x_401; -x_401 = !lean_is_exclusive(x_397); -if (x_401 == 0) -{ -lean_object* x_402; lean_object* x_403; -x_402 = lean_ctor_get(x_397, 0); -lean_ctor_set(x_385, 0, x_402); -x_403 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_403, 0, x_13); -lean_ctor_set(x_403, 1, x_20); -lean_ctor_set(x_403, 2, x_22); -lean_ctor_set(x_403, 3, x_23); -lean_ctor_set(x_403, 4, x_24); -lean_ctor_set(x_403, 5, x_370); -lean_ctor_set(x_403, 6, x_281); -lean_ctor_set(x_403, 7, x_385); -lean_ctor_set(x_397, 0, x_403); -return x_397; -} -else -{ -lean_object* x_404; lean_object* x_405; lean_object* x_406; -x_404 = lean_ctor_get(x_397, 0); -lean_inc(x_404); -lean_dec(x_397); -lean_ctor_set(x_385, 0, x_404); -x_405 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_405, 0, x_13); -lean_ctor_set(x_405, 1, x_20); -lean_ctor_set(x_405, 2, x_22); -lean_ctor_set(x_405, 3, x_23); -lean_ctor_set(x_405, 4, x_24); -lean_ctor_set(x_405, 5, x_370); -lean_ctor_set(x_405, 6, x_281); -lean_ctor_set(x_405, 7, x_385); -x_406 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_406, 0, x_405); -return x_406; -} -} -} -else -{ -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_free_object(x_385); -lean_dec(x_281); -lean_dec(x_370); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_407 = lean_unsigned_to_nat(80u); -x_408 = l_Lean_Json_pretty(x_389, x_407); -x_409 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_410 = lean_string_append(x_409, x_408); -lean_dec(x_408); -x_411 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_412 = lean_string_append(x_410, x_411); -lean_ctor_set_tag(x_379, 0); -lean_ctor_set(x_379, 0, x_412); -return x_379; -} -} -else +uint8_t x_412; +lean_free_object(x_324); +x_412 = !lean_is_exclusive(x_336); +if (x_412 == 0) { lean_object* x_413; -x_413 = lean_ctor_get(x_385, 0); -lean_inc(x_413); -lean_dec(x_385); +x_413 = lean_ctor_get(x_336, 0); if (lean_obj_tag(x_413) == 4) { -lean_object* x_414; lean_object* x_415; size_t x_416; lean_object* x_417; lean_object* x_418; lean_object* x_419; size_t x_420; lean_object* x_421; -lean_free_object(x_379); -x_414 = lean_ctor_get(x_413, 0); +lean_object* x_414; lean_object* x_415; lean_object* x_416; size_t x_417; size_t x_418; lean_object* x_419; uint8_t x_420; +x_414 = lean_ctor_get(x_332, 0); lean_inc(x_414); +lean_dec(x_332); +x_415 = lean_ctor_get(x_413, 0); +lean_inc(x_415); lean_dec(x_413); -x_415 = lean_array_get_size(x_414); -x_416 = lean_usize_of_nat(x_415); -lean_dec(x_415); -x_417 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_416, x_374, x_414); -x_418 = lean_ctor_get(x_417, 0); -lean_inc(x_418); -lean_dec(x_417); -x_419 = lean_array_get_size(x_418); -x_420 = lean_usize_of_nat(x_419); -lean_dec(x_419); -x_421 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_420, x_374, x_418, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_421) == 0) +x_416 = lean_array_get_size(x_415); +x_417 = lean_usize_of_nat(x_416); +lean_dec(x_416); +x_418 = 0; +x_419 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_417, x_418, x_415); +x_420 = !lean_is_exclusive(x_419); +if (x_420 == 0) { -lean_object* x_422; lean_object* x_423; lean_object* x_424; -lean_dec(x_281); -lean_dec(x_370); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_object* x_421; lean_object* x_422; size_t x_423; lean_object* x_424; +x_421 = lean_ctor_get(x_419, 0); +x_422 = lean_array_get_size(x_421); +x_423 = lean_usize_of_nat(x_422); +lean_dec(x_422); +x_424 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_423, x_418, x_421, x_3); +if (lean_obj_tag(x_424) == 0) +{ +uint8_t x_425; +lean_free_object(x_419); +lean_dec(x_414); +lean_free_object(x_336); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); -x_422 = lean_ctor_get(x_421, 0); -lean_inc(x_422); -if (lean_is_exclusive(x_421)) { - lean_ctor_release(x_421, 0); - x_423 = x_421; -} else { - lean_dec_ref(x_421); - x_423 = lean_box(0); -} -if (lean_is_scalar(x_423)) { - x_424 = lean_alloc_ctor(0, 1, 0); -} else { - x_424 = x_423; -} -lean_ctor_set(x_424, 0, x_422); +lean_dec(x_5); +lean_dec(x_3); +x_425 = !lean_is_exclusive(x_424); +if (x_425 == 0) +{ return x_424; } else { -lean_object* x_425; lean_object* x_426; lean_object* x_427; lean_object* x_428; lean_object* x_429; -x_425 = lean_ctor_get(x_421, 0); -lean_inc(x_425); -if (lean_is_exclusive(x_421)) { - lean_ctor_release(x_421, 0); - x_426 = x_421; -} else { - lean_dec_ref(x_421); - x_426 = lean_box(0); -} -x_427 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_427, 0, x_425); -x_428 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_428, 0, x_13); -lean_ctor_set(x_428, 1, x_20); -lean_ctor_set(x_428, 2, x_22); -lean_ctor_set(x_428, 3, x_23); -lean_ctor_set(x_428, 4, x_24); -lean_ctor_set(x_428, 5, x_370); -lean_ctor_set(x_428, 6, x_281); -lean_ctor_set(x_428, 7, x_427); -if (lean_is_scalar(x_426)) { - x_429 = lean_alloc_ctor(1, 1, 0); -} else { - x_429 = x_426; -} -lean_ctor_set(x_429, 0, x_428); -return x_429; +lean_object* x_426; lean_object* x_427; +x_426 = lean_ctor_get(x_424, 0); +lean_inc(x_426); +lean_dec(x_424); +x_427 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_427, 0, x_426); +return x_427; } } else { -lean_object* x_430; lean_object* x_431; lean_object* x_432; lean_object* x_433; lean_object* x_434; lean_object* x_435; -lean_dec(x_281); -lean_dec(x_370); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_object* x_428; lean_object* x_429; lean_object* x_430; lean_object* x_460; +x_428 = lean_ctor_get(x_424, 0); +lean_inc(x_428); +if (lean_is_exclusive(x_424)) { + lean_ctor_release(x_424, 0); + x_429 = x_424; +} else { + lean_dec_ref(x_424); + x_429 = lean_box(0); +} +lean_ctor_set(x_336, 0, x_428); +x_460 = lean_ctor_get(x_5, 7); +lean_inc(x_460); +if (lean_obj_tag(x_460) == 0) +{ +lean_object* x_461; +lean_free_object(x_419); +x_461 = lean_box(0); +x_430 = x_461; +goto block_459; +} +else +{ +uint8_t x_462; +x_462 = !lean_is_exclusive(x_460); +if (x_462 == 0) +{ +lean_object* x_463; +x_463 = lean_ctor_get(x_460, 0); +if (lean_obj_tag(x_463) == 4) +{ +lean_object* x_464; lean_object* x_465; size_t x_466; lean_object* x_467; lean_object* x_468; lean_object* x_469; size_t x_470; lean_object* x_471; +lean_free_object(x_419); +x_464 = lean_ctor_get(x_463, 0); +lean_inc(x_464); +lean_dec(x_463); +x_465 = lean_array_get_size(x_464); +x_466 = lean_usize_of_nat(x_465); +lean_dec(x_465); +x_467 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_466, x_418, x_464); +x_468 = lean_ctor_get(x_467, 0); +lean_inc(x_468); +lean_dec(x_467); +x_469 = lean_array_get_size(x_468); +x_470 = lean_usize_of_nat(x_469); +lean_dec(x_469); +x_471 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_470, x_418, x_468, x_3); +if (lean_obj_tag(x_471) == 0) +{ +uint8_t x_472; +lean_free_object(x_460); +lean_dec(x_336); +lean_dec(x_429); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); -lean_dec(x_3); -x_430 = lean_unsigned_to_nat(80u); -x_431 = l_Lean_Json_pretty(x_413, x_430); -x_432 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_433 = lean_string_append(x_432, x_431); -lean_dec(x_431); -x_434 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_435 = lean_string_append(x_433, x_434); -lean_ctor_set_tag(x_379, 0); -lean_ctor_set(x_379, 0, x_435); -return x_379; -} -} -} -} -else -{ -lean_object* x_436; lean_object* x_437; -x_436 = lean_ctor_get(x_379, 0); -lean_inc(x_436); -lean_dec(x_379); -lean_ctor_set(x_281, 0, x_436); -x_437 = lean_ctor_get(x_5, 7); -lean_inc(x_437); lean_dec(x_5); -if (lean_obj_tag(x_437) == 0) -{ -lean_object* x_438; lean_object* x_439; lean_object* x_440; lean_dec(x_3); -x_438 = lean_box(0); -x_439 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_439, 0, x_13); -lean_ctor_set(x_439, 1, x_20); -lean_ctor_set(x_439, 2, x_22); -lean_ctor_set(x_439, 3, x_23); -lean_ctor_set(x_439, 4, x_24); -lean_ctor_set(x_439, 5, x_370); -lean_ctor_set(x_439, 6, x_281); -lean_ctor_set(x_439, 7, x_438); -x_440 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_440, 0, x_439); -return x_440; +x_472 = !lean_is_exclusive(x_471); +if (x_472 == 0) +{ +return x_471; } else { -lean_object* x_441; lean_object* x_442; -x_441 = lean_ctor_get(x_437, 0); -lean_inc(x_441); -if (lean_is_exclusive(x_437)) { - lean_ctor_release(x_437, 0); - x_442 = x_437; -} else { - lean_dec_ref(x_437); - x_442 = lean_box(0); +lean_object* x_473; lean_object* x_474; +x_473 = lean_ctor_get(x_471, 0); +lean_inc(x_473); +lean_dec(x_471); +x_474 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_474, 0, x_473); +return x_474; } -if (lean_obj_tag(x_441) == 4) +} +else { -lean_object* x_443; lean_object* x_444; size_t x_445; lean_object* x_446; lean_object* x_447; lean_object* x_448; size_t x_449; lean_object* x_450; -x_443 = lean_ctor_get(x_441, 0); -lean_inc(x_443); -lean_dec(x_441); -x_444 = lean_array_get_size(x_443); -x_445 = lean_usize_of_nat(x_444); -lean_dec(x_444); -x_446 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_445, x_374, x_443); -x_447 = lean_ctor_get(x_446, 0); -lean_inc(x_447); -lean_dec(x_446); -x_448 = lean_array_get_size(x_447); -x_449 = lean_usize_of_nat(x_448); -lean_dec(x_448); -x_450 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_449, x_374, x_447, x_3); +lean_object* x_475; +x_475 = lean_ctor_get(x_471, 0); +lean_inc(x_475); +lean_dec(x_471); +lean_ctor_set(x_460, 0, x_475); +x_430 = x_460; +goto block_459; +} +} +else +{ +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_free_object(x_460); +lean_dec(x_336); +lean_dec(x_429); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_476 = lean_unsigned_to_nat(80u); +x_477 = l_Lean_Json_pretty(x_463, x_476); +x_478 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_479 = lean_string_append(x_478, x_477); +lean_dec(x_477); +x_480 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_481 = lean_string_append(x_479, x_480); +lean_ctor_set_tag(x_419, 0); +lean_ctor_set(x_419, 0, x_481); +return x_419; +} +} +else +{ +lean_object* x_482; +x_482 = lean_ctor_get(x_460, 0); +lean_inc(x_482); +lean_dec(x_460); +if (lean_obj_tag(x_482) == 4) +{ +lean_object* x_483; lean_object* x_484; size_t x_485; lean_object* x_486; lean_object* x_487; lean_object* x_488; size_t x_489; lean_object* x_490; +lean_free_object(x_419); +x_483 = lean_ctor_get(x_482, 0); +lean_inc(x_483); +lean_dec(x_482); +x_484 = lean_array_get_size(x_483); +x_485 = lean_usize_of_nat(x_484); +lean_dec(x_484); +x_486 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_485, x_418, x_483); +x_487 = lean_ctor_get(x_486, 0); +lean_inc(x_487); +lean_dec(x_486); +x_488 = lean_array_get_size(x_487); +x_489 = lean_usize_of_nat(x_488); +lean_dec(x_488); +x_490 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_489, x_418, x_487, x_3); +if (lean_obj_tag(x_490) == 0) +{ +lean_object* x_491; lean_object* x_492; lean_object* x_493; +lean_dec(x_336); +lean_dec(x_429); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_491 = lean_ctor_get(x_490, 0); +lean_inc(x_491); +if (lean_is_exclusive(x_490)) { + lean_ctor_release(x_490, 0); + x_492 = x_490; +} else { + lean_dec_ref(x_490); + x_492 = lean_box(0); +} +if (lean_is_scalar(x_492)) { + x_493 = lean_alloc_ctor(0, 1, 0); +} else { + x_493 = x_492; +} +lean_ctor_set(x_493, 0, x_491); +return x_493; +} +else +{ +lean_object* x_494; lean_object* x_495; +x_494 = lean_ctor_get(x_490, 0); +lean_inc(x_494); +lean_dec(x_490); +x_495 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_495, 0, x_494); +x_430 = x_495; +goto block_459; +} +} +else +{ +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_dec(x_336); +lean_dec(x_429); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_496 = lean_unsigned_to_nat(80u); +x_497 = l_Lean_Json_pretty(x_482, x_496); +x_498 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_499 = lean_string_append(x_498, x_497); +lean_dec(x_497); +x_500 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_501 = lean_string_append(x_499, x_500); +lean_ctor_set_tag(x_419, 0); +lean_ctor_set(x_419, 0, x_501); +return x_419; +} +} +} +block_459: +{ +lean_object* x_431; +x_431 = lean_ctor_get(x_5, 8); +lean_inc(x_431); +lean_dec(x_5); +if (lean_obj_tag(x_431) == 0) +{ +lean_object* x_432; lean_object* x_433; lean_object* x_434; +lean_dec(x_3); +x_432 = lean_box(0); +x_433 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_433, 0, x_13); +lean_ctor_set(x_433, 1, x_15); +lean_ctor_set(x_433, 2, x_16); +lean_ctor_set(x_433, 3, x_17); +lean_ctor_set(x_433, 4, x_18); +lean_ctor_set(x_433, 5, x_414); +lean_ctor_set(x_433, 6, x_336); +lean_ctor_set(x_433, 7, x_430); +lean_ctor_set(x_433, 8, x_432); +if (lean_is_scalar(x_429)) { + x_434 = lean_alloc_ctor(1, 1, 0); +} else { + x_434 = x_429; +} +lean_ctor_set(x_434, 0, x_433); +return x_434; +} +else +{ +uint8_t x_435; +x_435 = !lean_is_exclusive(x_431); +if (x_435 == 0) +{ +lean_object* x_436; lean_object* x_437; lean_object* x_438; +x_436 = lean_ctor_get(x_431, 0); +if (lean_is_scalar(x_429)) { + x_437 = lean_alloc_ctor(1, 1, 0); +} else { + x_437 = x_429; +} +lean_ctor_set(x_437, 0, x_436); +x_438 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_437, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_438) == 0) +{ +uint8_t x_439; +lean_free_object(x_431); +lean_dec(x_430); +lean_dec(x_336); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_439 = !lean_is_exclusive(x_438); +if (x_439 == 0) +{ +return x_438; +} +else +{ +lean_object* x_440; lean_object* x_441; +x_440 = lean_ctor_get(x_438, 0); +lean_inc(x_440); +lean_dec(x_438); +x_441 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_441, 0, x_440); +return x_441; +} +} +else +{ +uint8_t x_442; +x_442 = !lean_is_exclusive(x_438); +if (x_442 == 0) +{ +lean_object* x_443; lean_object* x_444; +x_443 = lean_ctor_get(x_438, 0); +lean_ctor_set(x_431, 0, x_443); +x_444 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_444, 0, x_13); +lean_ctor_set(x_444, 1, x_15); +lean_ctor_set(x_444, 2, x_16); +lean_ctor_set(x_444, 3, x_17); +lean_ctor_set(x_444, 4, x_18); +lean_ctor_set(x_444, 5, x_414); +lean_ctor_set(x_444, 6, x_336); +lean_ctor_set(x_444, 7, x_430); +lean_ctor_set(x_444, 8, x_431); +lean_ctor_set(x_438, 0, x_444); +return x_438; +} +else +{ +lean_object* x_445; lean_object* x_446; lean_object* x_447; +x_445 = lean_ctor_get(x_438, 0); +lean_inc(x_445); +lean_dec(x_438); +lean_ctor_set(x_431, 0, x_445); +x_446 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_446, 0, x_13); +lean_ctor_set(x_446, 1, x_15); +lean_ctor_set(x_446, 2, x_16); +lean_ctor_set(x_446, 3, x_17); +lean_ctor_set(x_446, 4, x_18); +lean_ctor_set(x_446, 5, x_414); +lean_ctor_set(x_446, 6, x_336); +lean_ctor_set(x_446, 7, x_430); +lean_ctor_set(x_446, 8, x_431); +x_447 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_447, 0, x_446); +return x_447; +} +} +} +else +{ +lean_object* x_448; lean_object* x_449; lean_object* x_450; +x_448 = lean_ctor_get(x_431, 0); +lean_inc(x_448); +lean_dec(x_431); +if (lean_is_scalar(x_429)) { + x_449 = lean_alloc_ctor(1, 1, 0); +} else { + x_449 = x_429; +} +lean_ctor_set(x_449, 0, x_448); +x_450 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_449, x_3); lean_dec(x_3); if (lean_obj_tag(x_450) == 0) { lean_object* x_451; lean_object* x_452; lean_object* x_453; -lean_dec(x_442); -lean_dec(x_281); -lean_dec(x_370); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_dec(x_430); +lean_dec(x_336); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); x_451 = lean_ctor_get(x_450, 0); lean_inc(x_451); @@ -11593,21 +14172,18 @@ if (lean_is_exclusive(x_450)) { lean_dec_ref(x_450); x_455 = lean_box(0); } -if (lean_is_scalar(x_442)) { - x_456 = lean_alloc_ctor(1, 1, 0); -} else { - x_456 = x_442; -} +x_456 = lean_alloc_ctor(1, 1, 0); lean_ctor_set(x_456, 0, x_454); -x_457 = lean_alloc_ctor(0, 8, 0); +x_457 = lean_alloc_ctor(0, 9, 0); lean_ctor_set(x_457, 0, x_13); -lean_ctor_set(x_457, 1, x_20); -lean_ctor_set(x_457, 2, x_22); -lean_ctor_set(x_457, 3, x_23); -lean_ctor_set(x_457, 4, x_24); -lean_ctor_set(x_457, 5, x_370); -lean_ctor_set(x_457, 6, x_281); -lean_ctor_set(x_457, 7, x_456); +lean_ctor_set(x_457, 1, x_15); +lean_ctor_set(x_457, 2, x_16); +lean_ctor_set(x_457, 3, x_17); +lean_ctor_set(x_457, 4, x_18); +lean_ctor_set(x_457, 5, x_414); +lean_ctor_set(x_457, 6, x_336); +lean_ctor_set(x_457, 7, x_430); +lean_ctor_set(x_457, 8, x_456); if (lean_is_scalar(x_455)) { x_458 = lean_alloc_ctor(1, 1, 0); } else { @@ -11617,888 +14193,1286 @@ lean_ctor_set(x_458, 0, x_457); return x_458; } } -else -{ -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_dec(x_442); -lean_dec(x_281); -lean_dec(x_370); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_459 = lean_unsigned_to_nat(80u); -x_460 = l_Lean_Json_pretty(x_441, x_459); -x_461 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_462 = lean_string_append(x_461, x_460); -lean_dec(x_460); -x_463 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_464 = lean_string_append(x_462, x_463); -x_465 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_465, 0, x_464); -return x_465; -} } } } } else { -uint8_t x_466; -lean_free_object(x_281); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_466 = !lean_is_exclusive(x_277); -if (x_466 == 0) -{ -lean_object* x_467; lean_object* x_468; lean_object* x_469; lean_object* x_470; lean_object* x_471; lean_object* x_472; lean_object* x_473; -x_467 = lean_ctor_get(x_277, 0); -lean_dec(x_467); -x_468 = lean_unsigned_to_nat(80u); -x_469 = l_Lean_Json_pretty(x_369, x_468); -x_470 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_471 = lean_string_append(x_470, x_469); -lean_dec(x_469); -x_472 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_473 = lean_string_append(x_471, x_472); -lean_ctor_set_tag(x_277, 0); -lean_ctor_set(x_277, 0, x_473); -return x_277; -} -else -{ -lean_object* x_474; lean_object* x_475; lean_object* x_476; lean_object* x_477; lean_object* x_478; lean_object* x_479; lean_object* x_480; -lean_dec(x_277); -x_474 = lean_unsigned_to_nat(80u); -x_475 = l_Lean_Json_pretty(x_369, x_474); -x_476 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_477 = lean_string_append(x_476, x_475); -lean_dec(x_475); -x_478 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_479 = lean_string_append(x_477, x_478); -x_480 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_480, 0, x_479); -return x_480; -} -} -} -else -{ -lean_object* x_481; -x_481 = lean_ctor_get(x_281, 0); -lean_inc(x_481); -lean_dec(x_281); -if (lean_obj_tag(x_481) == 4) -{ -lean_object* x_482; lean_object* x_483; lean_object* x_484; size_t x_485; size_t x_486; lean_object* x_487; lean_object* x_488; lean_object* x_489; size_t x_490; lean_object* x_491; -x_482 = lean_ctor_get(x_277, 0); -lean_inc(x_482); -lean_dec(x_277); -x_483 = lean_ctor_get(x_481, 0); -lean_inc(x_483); -lean_dec(x_481); -x_484 = lean_array_get_size(x_483); -x_485 = lean_usize_of_nat(x_484); -lean_dec(x_484); -x_486 = 0; -x_487 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_485, x_486, x_483); -x_488 = lean_ctor_get(x_487, 0); -lean_inc(x_488); -lean_dec(x_487); -x_489 = lean_array_get_size(x_488); -x_490 = lean_usize_of_nat(x_489); -lean_dec(x_489); -x_491 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_490, x_486, x_488, x_3); -if (lean_obj_tag(x_491) == 0) -{ -lean_object* x_492; lean_object* x_493; lean_object* x_494; -lean_dec(x_482); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_5); -lean_dec(x_3); -x_492 = lean_ctor_get(x_491, 0); -lean_inc(x_492); -if (lean_is_exclusive(x_491)) { - lean_ctor_release(x_491, 0); - x_493 = x_491; -} else { - lean_dec_ref(x_491); - x_493 = lean_box(0); -} -if (lean_is_scalar(x_493)) { - x_494 = lean_alloc_ctor(0, 1, 0); -} else { - x_494 = x_493; -} -lean_ctor_set(x_494, 0, x_492); -return x_494; -} -else -{ -lean_object* x_495; lean_object* x_496; lean_object* x_497; lean_object* x_498; -x_495 = lean_ctor_get(x_491, 0); -lean_inc(x_495); -if (lean_is_exclusive(x_491)) { - lean_ctor_release(x_491, 0); - x_496 = x_491; -} else { - lean_dec_ref(x_491); - x_496 = lean_box(0); -} -x_497 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_497, 0, x_495); -x_498 = lean_ctor_get(x_5, 7); -lean_inc(x_498); -lean_dec(x_5); -if (lean_obj_tag(x_498) == 0) -{ -lean_object* x_499; lean_object* x_500; lean_object* x_501; -lean_dec(x_3); -x_499 = lean_box(0); -x_500 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_500, 0, x_13); -lean_ctor_set(x_500, 1, x_20); -lean_ctor_set(x_500, 2, x_22); -lean_ctor_set(x_500, 3, x_23); -lean_ctor_set(x_500, 4, x_24); -lean_ctor_set(x_500, 5, x_482); -lean_ctor_set(x_500, 6, x_497); -lean_ctor_set(x_500, 7, x_499); -if (lean_is_scalar(x_496)) { - x_501 = lean_alloc_ctor(1, 1, 0); -} else { - x_501 = x_496; -} -lean_ctor_set(x_501, 0, x_500); -return x_501; -} -else -{ -lean_object* x_502; lean_object* x_503; -x_502 = lean_ctor_get(x_498, 0); +lean_object* x_502; lean_object* x_503; size_t x_504; lean_object* x_505; +x_502 = lean_ctor_get(x_419, 0); lean_inc(x_502); -if (lean_is_exclusive(x_498)) { - lean_ctor_release(x_498, 0); - x_503 = x_498; -} else { - lean_dec_ref(x_498); - x_503 = lean_box(0); -} -if (lean_obj_tag(x_502) == 4) -{ -lean_object* x_504; lean_object* x_505; size_t x_506; lean_object* x_507; lean_object* x_508; lean_object* x_509; size_t x_510; lean_object* x_511; -lean_dec(x_496); -x_504 = lean_ctor_get(x_502, 0); -lean_inc(x_504); -lean_dec(x_502); -x_505 = lean_array_get_size(x_504); -x_506 = lean_usize_of_nat(x_505); -lean_dec(x_505); -x_507 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_506, x_486, x_504); -x_508 = lean_ctor_get(x_507, 0); -lean_inc(x_508); -lean_dec(x_507); -x_509 = lean_array_get_size(x_508); -x_510 = lean_usize_of_nat(x_509); -lean_dec(x_509); -x_511 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_510, x_486, x_508, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_511) == 0) -{ -lean_object* x_512; lean_object* x_513; lean_object* x_514; +lean_dec(x_419); +x_503 = lean_array_get_size(x_502); +x_504 = lean_usize_of_nat(x_503); lean_dec(x_503); -lean_dec(x_497); -lean_dec(x_482); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_512 = lean_ctor_get(x_511, 0); -lean_inc(x_512); -if (lean_is_exclusive(x_511)) { - lean_ctor_release(x_511, 0); - x_513 = x_511; -} else { - lean_dec_ref(x_511); - x_513 = lean_box(0); -} -if (lean_is_scalar(x_513)) { - x_514 = lean_alloc_ctor(0, 1, 0); -} else { - x_514 = x_513; -} -lean_ctor_set(x_514, 0, x_512); -return x_514; -} -else +x_505 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_504, x_418, x_502, x_3); +if (lean_obj_tag(x_505) == 0) { -lean_object* x_515; lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; -x_515 = lean_ctor_get(x_511, 0); -lean_inc(x_515); -if (lean_is_exclusive(x_511)) { - lean_ctor_release(x_511, 0); - x_516 = x_511; -} else { - lean_dec_ref(x_511); - x_516 = lean_box(0); -} -if (lean_is_scalar(x_503)) { - x_517 = lean_alloc_ctor(1, 1, 0); -} else { - x_517 = x_503; -} -lean_ctor_set(x_517, 0, x_515); -x_518 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_518, 0, x_13); -lean_ctor_set(x_518, 1, x_20); -lean_ctor_set(x_518, 2, x_22); -lean_ctor_set(x_518, 3, x_23); -lean_ctor_set(x_518, 4, x_24); -lean_ctor_set(x_518, 5, x_482); -lean_ctor_set(x_518, 6, x_497); -lean_ctor_set(x_518, 7, x_517); -if (lean_is_scalar(x_516)) { - x_519 = lean_alloc_ctor(1, 1, 0); -} else { - x_519 = x_516; -} -lean_ctor_set(x_519, 0, x_518); -return x_519; -} -} -else -{ -lean_object* x_520; lean_object* x_521; lean_object* x_522; lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; -lean_dec(x_503); -lean_dec(x_497); -lean_dec(x_482); -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_520 = lean_unsigned_to_nat(80u); -x_521 = l_Lean_Json_pretty(x_502, x_520); -x_522 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_523 = lean_string_append(x_522, x_521); -lean_dec(x_521); -x_524 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_525 = lean_string_append(x_523, x_524); -if (lean_is_scalar(x_496)) { - x_526 = lean_alloc_ctor(0, 1, 0); -} else { - x_526 = x_496; - lean_ctor_set_tag(x_526, 0); -} -lean_ctor_set(x_526, 0, x_525); -return x_526; -} -} -} -} -else -{ -lean_object* x_527; lean_object* x_528; lean_object* x_529; lean_object* x_530; lean_object* x_531; lean_object* x_532; lean_object* x_533; lean_object* x_534; -lean_dec(x_24); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_object* x_506; lean_object* x_507; lean_object* x_508; +lean_dec(x_414); +lean_free_object(x_336); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -if (lean_is_exclusive(x_277)) { - lean_ctor_release(x_277, 0); - x_527 = x_277; +x_506 = lean_ctor_get(x_505, 0); +lean_inc(x_506); +if (lean_is_exclusive(x_505)) { + lean_ctor_release(x_505, 0); + x_507 = x_505; } else { - lean_dec_ref(x_277); - x_527 = lean_box(0); + lean_dec_ref(x_505); + x_507 = lean_box(0); } -x_528 = lean_unsigned_to_nat(80u); -x_529 = l_Lean_Json_pretty(x_481, x_528); -x_530 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_531 = lean_string_append(x_530, x_529); -lean_dec(x_529); -x_532 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_533 = lean_string_append(x_531, x_532); -if (lean_is_scalar(x_527)) { - x_534 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_507)) { + x_508 = lean_alloc_ctor(0, 1, 0); } else { - x_534 = x_527; - lean_ctor_set_tag(x_534, 0); -} -lean_ctor_set(x_534, 0, x_533); -return x_534; -} -} -} -} + x_508 = x_507; } +lean_ctor_set(x_508, 0, x_506); +return x_508; } else { -lean_object* x_535; lean_object* x_536; lean_object* x_537; -x_535 = lean_ctor_get(x_24, 0); -lean_inc(x_535); -lean_dec(x_24); -x_536 = l_Lean_Json_getStr_x3f(x_535); -lean_dec(x_535); -x_537 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_536, x_3); -if (lean_obj_tag(x_537) == 0) +lean_object* x_509; lean_object* x_510; lean_object* x_511; lean_object* x_529; +x_509 = lean_ctor_get(x_505, 0); +lean_inc(x_509); +if (lean_is_exclusive(x_505)) { + lean_ctor_release(x_505, 0); + x_510 = x_505; +} else { + lean_dec_ref(x_505); + x_510 = lean_box(0); +} +lean_ctor_set(x_336, 0, x_509); +x_529 = lean_ctor_get(x_5, 7); +lean_inc(x_529); +if (lean_obj_tag(x_529) == 0) { -lean_object* x_538; lean_object* x_539; lean_object* x_540; -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_object* x_530; +x_530 = lean_box(0); +x_511 = x_530; +goto block_528; +} +else +{ +lean_object* x_531; lean_object* x_532; +x_531 = lean_ctor_get(x_529, 0); +lean_inc(x_531); +if (lean_is_exclusive(x_529)) { + lean_ctor_release(x_529, 0); + x_532 = x_529; +} else { + lean_dec_ref(x_529); + x_532 = lean_box(0); +} +if (lean_obj_tag(x_531) == 4) +{ +lean_object* x_533; lean_object* x_534; size_t x_535; lean_object* x_536; lean_object* x_537; lean_object* x_538; size_t x_539; lean_object* x_540; +x_533 = lean_ctor_get(x_531, 0); +lean_inc(x_533); +lean_dec(x_531); +x_534 = lean_array_get_size(x_533); +x_535 = lean_usize_of_nat(x_534); +lean_dec(x_534); +x_536 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_535, x_418, x_533); +x_537 = lean_ctor_get(x_536, 0); +lean_inc(x_537); +lean_dec(x_536); +x_538 = lean_array_get_size(x_537); +x_539 = lean_usize_of_nat(x_538); +lean_dec(x_538); +x_540 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_539, x_418, x_537, x_3); +if (lean_obj_tag(x_540) == 0) +{ +lean_object* x_541; lean_object* x_542; lean_object* x_543; +lean_dec(x_532); +lean_dec(x_336); +lean_dec(x_510); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -lean_dec(x_1); -x_538 = lean_ctor_get(x_537, 0); -lean_inc(x_538); -if (lean_is_exclusive(x_537)) { - lean_ctor_release(x_537, 0); - x_539 = x_537; -} else { - lean_dec_ref(x_537); - x_539 = lean_box(0); -} -if (lean_is_scalar(x_539)) { - x_540 = lean_alloc_ctor(0, 1, 0); -} else { - x_540 = x_539; -} -lean_ctor_set(x_540, 0, x_538); -return x_540; -} -else -{ -lean_object* x_541; lean_object* x_542; lean_object* x_543; lean_object* x_544; lean_object* x_545; -x_541 = lean_ctor_get(x_537, 0); +x_541 = lean_ctor_get(x_540, 0); lean_inc(x_541); -lean_dec(x_537); -x_542 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_542, 0, x_541); -x_543 = lean_ctor_get(x_1, 1); -lean_inc(x_543); -lean_dec(x_1); -x_544 = lean_ctor_get(x_5, 5); +if (lean_is_exclusive(x_540)) { + lean_ctor_release(x_540, 0); + x_542 = x_540; +} else { + lean_dec_ref(x_540); + x_542 = lean_box(0); +} +if (lean_is_scalar(x_542)) { + x_543 = lean_alloc_ctor(0, 1, 0); +} else { + x_543 = x_542; +} +lean_ctor_set(x_543, 0, x_541); +return x_543; +} +else +{ +lean_object* x_544; lean_object* x_545; +x_544 = lean_ctor_get(x_540, 0); lean_inc(x_544); -lean_inc(x_3); -x_545 = lean_apply_2(x_543, x_544, x_3); -if (lean_obj_tag(x_545) == 0) +lean_dec(x_540); +if (lean_is_scalar(x_532)) { + x_545 = lean_alloc_ctor(1, 1, 0); +} else { + x_545 = x_532; +} +lean_ctor_set(x_545, 0, x_544); +x_511 = x_545; +goto block_528; +} +} +else { -lean_object* x_546; lean_object* x_547; lean_object* x_548; -lean_dec(x_542); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +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_dec(x_532); +lean_dec(x_336); +lean_dec(x_510); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_546 = lean_ctor_get(x_545, 0); -lean_inc(x_546); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - x_547 = x_545; -} else { - lean_dec_ref(x_545); - x_547 = lean_box(0); +x_546 = lean_unsigned_to_nat(80u); +x_547 = l_Lean_Json_pretty(x_531, x_546); +x_548 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_549 = lean_string_append(x_548, x_547); +lean_dec(x_547); +x_550 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_551 = lean_string_append(x_549, x_550); +x_552 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_552, 0, x_551); +return x_552; } -if (lean_is_scalar(x_547)) { - x_548 = lean_alloc_ctor(0, 1, 0); -} else { - x_548 = x_547; } -lean_ctor_set(x_548, 0, x_546); -return x_548; -} -else +block_528: { -lean_object* x_549; -x_549 = lean_ctor_get(x_5, 6); -lean_inc(x_549); -if (lean_obj_tag(x_549) == 0) -{ -lean_object* x_550; lean_object* x_551; lean_object* x_552; lean_object* x_553; -x_550 = lean_ctor_get(x_545, 0); -lean_inc(x_550); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - x_551 = x_545; -} else { - lean_dec_ref(x_545); - x_551 = lean_box(0); -} -x_552 = lean_box(0); -x_553 = lean_ctor_get(x_5, 7); -lean_inc(x_553); +lean_object* x_512; +x_512 = lean_ctor_get(x_5, 8); +lean_inc(x_512); lean_dec(x_5); -if (lean_obj_tag(x_553) == 0) +if (lean_obj_tag(x_512) == 0) { -lean_object* x_554; lean_object* x_555; +lean_object* x_513; lean_object* x_514; lean_object* x_515; lean_dec(x_3); -x_554 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_554, 0, x_13); -lean_ctor_set(x_554, 1, x_20); -lean_ctor_set(x_554, 2, x_22); -lean_ctor_set(x_554, 3, x_23); -lean_ctor_set(x_554, 4, x_542); -lean_ctor_set(x_554, 5, x_550); -lean_ctor_set(x_554, 6, x_552); -lean_ctor_set(x_554, 7, x_552); -if (lean_is_scalar(x_551)) { - x_555 = lean_alloc_ctor(1, 1, 0); +x_513 = lean_box(0); +x_514 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_514, 0, x_13); +lean_ctor_set(x_514, 1, x_15); +lean_ctor_set(x_514, 2, x_16); +lean_ctor_set(x_514, 3, x_17); +lean_ctor_set(x_514, 4, x_18); +lean_ctor_set(x_514, 5, x_414); +lean_ctor_set(x_514, 6, x_336); +lean_ctor_set(x_514, 7, x_511); +lean_ctor_set(x_514, 8, x_513); +if (lean_is_scalar(x_510)) { + x_515 = lean_alloc_ctor(1, 1, 0); } else { - x_555 = x_551; + x_515 = x_510; } -lean_ctor_set(x_555, 0, x_554); -return x_555; +lean_ctor_set(x_515, 0, x_514); +return x_515; } else { -lean_object* x_556; lean_object* x_557; -x_556 = lean_ctor_get(x_553, 0); -lean_inc(x_556); -if (lean_is_exclusive(x_553)) { - lean_ctor_release(x_553, 0); - x_557 = x_553; +lean_object* x_516; lean_object* x_517; lean_object* x_518; lean_object* x_519; +x_516 = lean_ctor_get(x_512, 0); +lean_inc(x_516); +if (lean_is_exclusive(x_512)) { + lean_ctor_release(x_512, 0); + x_517 = x_512; } else { - lean_dec_ref(x_553); - x_557 = lean_box(0); + lean_dec_ref(x_512); + x_517 = lean_box(0); } -if (lean_obj_tag(x_556) == 4) +if (lean_is_scalar(x_510)) { + x_518 = lean_alloc_ctor(1, 1, 0); +} else { + x_518 = x_510; +} +lean_ctor_set(x_518, 0, x_516); +x_519 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_518, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_519) == 0) { -lean_object* x_558; lean_object* x_559; size_t x_560; size_t x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; size_t x_565; lean_object* x_566; -lean_dec(x_551); -x_558 = lean_ctor_get(x_556, 0); -lean_inc(x_558); +lean_object* x_520; lean_object* x_521; lean_object* x_522; +lean_dec(x_517); +lean_dec(x_511); +lean_dec(x_336); +lean_dec(x_414); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_520 = lean_ctor_get(x_519, 0); +lean_inc(x_520); +if (lean_is_exclusive(x_519)) { + lean_ctor_release(x_519, 0); + x_521 = x_519; +} else { + lean_dec_ref(x_519); + x_521 = lean_box(0); +} +if (lean_is_scalar(x_521)) { + x_522 = lean_alloc_ctor(0, 1, 0); +} else { + x_522 = x_521; +} +lean_ctor_set(x_522, 0, x_520); +return x_522; +} +else +{ +lean_object* x_523; lean_object* x_524; lean_object* x_525; lean_object* x_526; lean_object* x_527; +x_523 = lean_ctor_get(x_519, 0); +lean_inc(x_523); +if (lean_is_exclusive(x_519)) { + lean_ctor_release(x_519, 0); + x_524 = x_519; +} else { + lean_dec_ref(x_519); + x_524 = lean_box(0); +} +if (lean_is_scalar(x_517)) { + x_525 = lean_alloc_ctor(1, 1, 0); +} else { + x_525 = x_517; +} +lean_ctor_set(x_525, 0, x_523); +x_526 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_526, 0, x_13); +lean_ctor_set(x_526, 1, x_15); +lean_ctor_set(x_526, 2, x_16); +lean_ctor_set(x_526, 3, x_17); +lean_ctor_set(x_526, 4, x_18); +lean_ctor_set(x_526, 5, x_414); +lean_ctor_set(x_526, 6, x_336); +lean_ctor_set(x_526, 7, x_511); +lean_ctor_set(x_526, 8, x_525); +if (lean_is_scalar(x_524)) { + x_527 = lean_alloc_ctor(1, 1, 0); +} else { + x_527 = x_524; +} +lean_ctor_set(x_527, 0, x_526); +return x_527; +} +} +} +} +} +} +else +{ +uint8_t x_553; +lean_free_object(x_336); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_553 = !lean_is_exclusive(x_332); +if (x_553 == 0) +{ +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; +x_554 = lean_ctor_get(x_332, 0); +lean_dec(x_554); +x_555 = lean_unsigned_to_nat(80u); +x_556 = l_Lean_Json_pretty(x_413, x_555); +x_557 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_558 = lean_string_append(x_557, x_556); lean_dec(x_556); -x_559 = lean_array_get_size(x_558); -x_560 = lean_usize_of_nat(x_559); -lean_dec(x_559); -x_561 = 0; -x_562 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_560, x_561, x_558); -x_563 = lean_ctor_get(x_562, 0); -lean_inc(x_563); +x_559 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_560 = lean_string_append(x_558, x_559); +lean_ctor_set_tag(x_332, 0); +lean_ctor_set(x_332, 0, x_560); +return x_332; +} +else +{ +lean_object* x_561; lean_object* x_562; lean_object* x_563; lean_object* x_564; lean_object* x_565; lean_object* x_566; lean_object* x_567; +lean_dec(x_332); +x_561 = lean_unsigned_to_nat(80u); +x_562 = l_Lean_Json_pretty(x_413, x_561); +x_563 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_564 = lean_string_append(x_563, x_562); lean_dec(x_562); -x_564 = lean_array_get_size(x_563); -x_565 = lean_usize_of_nat(x_564); -lean_dec(x_564); -x_566 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_565, x_561, x_563, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_566) == 0) -{ -lean_object* x_567; lean_object* x_568; lean_object* x_569; -lean_dec(x_557); -lean_dec(x_550); -lean_dec(x_542); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_567 = lean_ctor_get(x_566, 0); -lean_inc(x_567); -if (lean_is_exclusive(x_566)) { - lean_ctor_release(x_566, 0); - x_568 = x_566; -} else { - lean_dec_ref(x_566); - x_568 = lean_box(0); +x_565 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_566 = lean_string_append(x_564, x_565); +x_567 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_567, 0, x_566); +return x_567; } -if (lean_is_scalar(x_568)) { - x_569 = lean_alloc_ctor(0, 1, 0); -} else { - x_569 = x_568; } -lean_ctor_set(x_569, 0, x_567); -return x_569; } else { -lean_object* x_570; lean_object* x_571; lean_object* x_572; lean_object* x_573; lean_object* x_574; -x_570 = lean_ctor_get(x_566, 0); +lean_object* x_568; +x_568 = lean_ctor_get(x_336, 0); +lean_inc(x_568); +lean_dec(x_336); +if (lean_obj_tag(x_568) == 4) +{ +lean_object* x_569; lean_object* x_570; lean_object* x_571; size_t x_572; size_t x_573; lean_object* x_574; lean_object* x_575; lean_object* x_576; lean_object* x_577; size_t x_578; lean_object* x_579; +x_569 = lean_ctor_get(x_332, 0); +lean_inc(x_569); +lean_dec(x_332); +x_570 = lean_ctor_get(x_568, 0); lean_inc(x_570); -if (lean_is_exclusive(x_566)) { - lean_ctor_release(x_566, 0); - x_571 = x_566; +lean_dec(x_568); +x_571 = lean_array_get_size(x_570); +x_572 = lean_usize_of_nat(x_571); +lean_dec(x_571); +x_573 = 0; +x_574 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_572, x_573, x_570); +x_575 = lean_ctor_get(x_574, 0); +lean_inc(x_575); +if (lean_is_exclusive(x_574)) { + lean_ctor_release(x_574, 0); + x_576 = x_574; } else { - lean_dec_ref(x_566); - x_571 = lean_box(0); + lean_dec_ref(x_574); + x_576 = lean_box(0); } -if (lean_is_scalar(x_557)) { - x_572 = lean_alloc_ctor(1, 1, 0); -} else { - x_572 = x_557; -} -lean_ctor_set(x_572, 0, x_570); -x_573 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_573, 0, x_13); -lean_ctor_set(x_573, 1, x_20); -lean_ctor_set(x_573, 2, x_22); -lean_ctor_set(x_573, 3, x_23); -lean_ctor_set(x_573, 4, x_542); -lean_ctor_set(x_573, 5, x_550); -lean_ctor_set(x_573, 6, x_552); -lean_ctor_set(x_573, 7, x_572); -if (lean_is_scalar(x_571)) { - x_574 = lean_alloc_ctor(1, 1, 0); -} else { - x_574 = x_571; -} -lean_ctor_set(x_574, 0, x_573); -return x_574; -} -} -else +x_577 = lean_array_get_size(x_575); +x_578 = lean_usize_of_nat(x_577); +lean_dec(x_577); +x_579 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_578, x_573, x_575, x_3); +if (lean_obj_tag(x_579) == 0) { -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_dec(x_557); -lean_dec(x_550); -lean_dec(x_542); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_575 = lean_unsigned_to_nat(80u); -x_576 = l_Lean_Json_pretty(x_556, x_575); -x_577 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_578 = lean_string_append(x_577, x_576); +lean_object* x_580; lean_object* x_581; lean_object* x_582; lean_dec(x_576); -x_579 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_580 = lean_string_append(x_578, x_579); -if (lean_is_scalar(x_551)) { - x_581 = lean_alloc_ctor(0, 1, 0); -} else { - x_581 = x_551; - lean_ctor_set_tag(x_581, 0); -} -lean_ctor_set(x_581, 0, x_580); -return x_581; -} -} -} -else -{ -lean_object* x_582; lean_object* x_583; -x_582 = lean_ctor_get(x_549, 0); -lean_inc(x_582); -if (lean_is_exclusive(x_549)) { - lean_ctor_release(x_549, 0); - x_583 = x_549; -} else { - lean_dec_ref(x_549); - x_583 = lean_box(0); -} -if (lean_obj_tag(x_582) == 4) -{ -lean_object* x_584; lean_object* x_585; lean_object* x_586; size_t x_587; size_t x_588; lean_object* x_589; lean_object* x_590; lean_object* x_591; size_t x_592; lean_object* x_593; -x_584 = lean_ctor_get(x_545, 0); -lean_inc(x_584); -lean_dec(x_545); -x_585 = lean_ctor_get(x_582, 0); -lean_inc(x_585); -lean_dec(x_582); -x_586 = lean_array_get_size(x_585); -x_587 = lean_usize_of_nat(x_586); -lean_dec(x_586); -x_588 = 0; -x_589 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_587, x_588, x_585); -x_590 = lean_ctor_get(x_589, 0); -lean_inc(x_590); -lean_dec(x_589); -x_591 = lean_array_get_size(x_590); -x_592 = lean_usize_of_nat(x_591); -lean_dec(x_591); -x_593 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_592, x_588, x_590, x_3); -if (lean_obj_tag(x_593) == 0) -{ -lean_object* x_594; lean_object* x_595; lean_object* x_596; -lean_dec(x_584); -lean_dec(x_583); -lean_dec(x_542); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_dec(x_569); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_594 = lean_ctor_get(x_593, 0); -lean_inc(x_594); -if (lean_is_exclusive(x_593)) { - lean_ctor_release(x_593, 0); - x_595 = x_593; +x_580 = lean_ctor_get(x_579, 0); +lean_inc(x_580); +if (lean_is_exclusive(x_579)) { + lean_ctor_release(x_579, 0); + x_581 = x_579; } else { - lean_dec_ref(x_593); - x_595 = lean_box(0); + lean_dec_ref(x_579); + x_581 = lean_box(0); } -if (lean_is_scalar(x_595)) { - x_596 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_581)) { + x_582 = lean_alloc_ctor(0, 1, 0); } else { - x_596 = x_595; + x_582 = x_581; } -lean_ctor_set(x_596, 0, x_594); -return x_596; +lean_ctor_set(x_582, 0, x_580); +return x_582; } else { -lean_object* x_597; lean_object* x_598; lean_object* x_599; lean_object* x_600; -x_597 = lean_ctor_get(x_593, 0); -lean_inc(x_597); -if (lean_is_exclusive(x_593)) { - lean_ctor_release(x_593, 0); - x_598 = x_593; +lean_object* x_583; lean_object* x_584; lean_object* x_585; lean_object* x_586; lean_object* x_604; +x_583 = lean_ctor_get(x_579, 0); +lean_inc(x_583); +if (lean_is_exclusive(x_579)) { + lean_ctor_release(x_579, 0); + x_584 = x_579; } else { - lean_dec_ref(x_593); - x_598 = lean_box(0); + lean_dec_ref(x_579); + x_584 = lean_box(0); } -if (lean_is_scalar(x_583)) { - x_599 = lean_alloc_ctor(1, 1, 0); -} else { - x_599 = x_583; -} -lean_ctor_set(x_599, 0, x_597); -x_600 = lean_ctor_get(x_5, 7); -lean_inc(x_600); -lean_dec(x_5); -if (lean_obj_tag(x_600) == 0) -{ -lean_object* x_601; lean_object* x_602; lean_object* x_603; -lean_dec(x_3); -x_601 = lean_box(0); -x_602 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_602, 0, x_13); -lean_ctor_set(x_602, 1, x_20); -lean_ctor_set(x_602, 2, x_22); -lean_ctor_set(x_602, 3, x_23); -lean_ctor_set(x_602, 4, x_542); -lean_ctor_set(x_602, 5, x_584); -lean_ctor_set(x_602, 6, x_599); -lean_ctor_set(x_602, 7, x_601); -if (lean_is_scalar(x_598)) { - x_603 = lean_alloc_ctor(1, 1, 0); -} else { - x_603 = x_598; -} -lean_ctor_set(x_603, 0, x_602); -return x_603; -} -else -{ -lean_object* x_604; lean_object* x_605; -x_604 = lean_ctor_get(x_600, 0); +x_585 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_585, 0, x_583); +x_604 = lean_ctor_get(x_5, 7); lean_inc(x_604); -if (lean_is_exclusive(x_600)) { - lean_ctor_release(x_600, 0); - x_605 = x_600; -} else { - lean_dec_ref(x_600); - x_605 = lean_box(0); -} -if (lean_obj_tag(x_604) == 4) +if (lean_obj_tag(x_604) == 0) { -lean_object* x_606; lean_object* x_607; size_t x_608; lean_object* x_609; lean_object* x_610; lean_object* x_611; size_t x_612; lean_object* x_613; -lean_dec(x_598); +lean_object* x_605; +lean_dec(x_576); +x_605 = lean_box(0); +x_586 = x_605; +goto block_603; +} +else +{ +lean_object* x_606; lean_object* x_607; x_606 = lean_ctor_get(x_604, 0); lean_inc(x_606); -lean_dec(x_604); -x_607 = lean_array_get_size(x_606); -x_608 = lean_usize_of_nat(x_607); -lean_dec(x_607); -x_609 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_608, x_588, x_606); -x_610 = lean_ctor_get(x_609, 0); -lean_inc(x_610); +if (lean_is_exclusive(x_604)) { + lean_ctor_release(x_604, 0); + x_607 = x_604; +} else { + lean_dec_ref(x_604); + x_607 = lean_box(0); +} +if (lean_obj_tag(x_606) == 4) +{ +lean_object* x_608; lean_object* x_609; size_t x_610; lean_object* x_611; lean_object* x_612; lean_object* x_613; size_t x_614; lean_object* x_615; +lean_dec(x_576); +x_608 = lean_ctor_get(x_606, 0); +lean_inc(x_608); +lean_dec(x_606); +x_609 = lean_array_get_size(x_608); +x_610 = lean_usize_of_nat(x_609); lean_dec(x_609); -x_611 = lean_array_get_size(x_610); -x_612 = lean_usize_of_nat(x_611); +x_611 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_610, x_573, x_608); +x_612 = lean_ctor_get(x_611, 0); +lean_inc(x_612); lean_dec(x_611); -x_613 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_612, x_588, x_610, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_613) == 0) +x_613 = lean_array_get_size(x_612); +x_614 = lean_usize_of_nat(x_613); +lean_dec(x_613); +x_615 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_614, x_573, x_612, x_3); +if (lean_obj_tag(x_615) == 0) { -lean_object* x_614; lean_object* x_615; lean_object* x_616; -lean_dec(x_605); -lean_dec(x_599); +lean_object* x_616; lean_object* x_617; lean_object* x_618; +lean_dec(x_607); +lean_dec(x_585); lean_dec(x_584); -lean_dec(x_542); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -x_614 = lean_ctor_get(x_613, 0); -lean_inc(x_614); -if (lean_is_exclusive(x_613)) { - lean_ctor_release(x_613, 0); - x_615 = x_613; -} else { - lean_dec_ref(x_613); - x_615 = lean_box(0); -} -if (lean_is_scalar(x_615)) { - x_616 = lean_alloc_ctor(0, 1, 0); -} else { - x_616 = x_615; -} -lean_ctor_set(x_616, 0, x_614); -return x_616; -} -else -{ -lean_object* x_617; lean_object* x_618; lean_object* x_619; lean_object* x_620; lean_object* x_621; -x_617 = lean_ctor_get(x_613, 0); -lean_inc(x_617); -if (lean_is_exclusive(x_613)) { - lean_ctor_release(x_613, 0); - x_618 = x_613; -} else { - lean_dec_ref(x_613); - x_618 = lean_box(0); -} -if (lean_is_scalar(x_605)) { - x_619 = lean_alloc_ctor(1, 1, 0); -} else { - x_619 = x_605; -} -lean_ctor_set(x_619, 0, x_617); -x_620 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_620, 0, x_13); -lean_ctor_set(x_620, 1, x_20); -lean_ctor_set(x_620, 2, x_22); -lean_ctor_set(x_620, 3, x_23); -lean_ctor_set(x_620, 4, x_542); -lean_ctor_set(x_620, 5, x_584); -lean_ctor_set(x_620, 6, x_599); -lean_ctor_set(x_620, 7, x_619); -if (lean_is_scalar(x_618)) { - x_621 = lean_alloc_ctor(1, 1, 0); -} else { - x_621 = x_618; -} -lean_ctor_set(x_621, 0, x_620); -return x_621; -} -} -else -{ -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_dec(x_605); -lean_dec(x_599); -lean_dec(x_584); -lean_dec(x_542); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); -lean_dec(x_13); -lean_dec(x_3); -x_622 = lean_unsigned_to_nat(80u); -x_623 = l_Lean_Json_pretty(x_604, x_622); -x_624 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_625 = lean_string_append(x_624, x_623); -lean_dec(x_623); -x_626 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_627 = lean_string_append(x_625, x_626); -if (lean_is_scalar(x_598)) { - x_628 = lean_alloc_ctor(0, 1, 0); -} else { - x_628 = x_598; - lean_ctor_set_tag(x_628, 0); -} -lean_ctor_set(x_628, 0, x_627); -return x_628; -} -} -} -} -else -{ -lean_object* x_629; lean_object* x_630; lean_object* x_631; lean_object* x_632; lean_object* x_633; lean_object* x_634; lean_object* x_635; lean_object* x_636; -lean_dec(x_583); -lean_dec(x_542); -lean_dec(x_23); -lean_dec(x_22); -lean_dec(x_20); +lean_dec(x_569); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -if (lean_is_exclusive(x_545)) { - lean_ctor_release(x_545, 0); - x_629 = x_545; +x_616 = lean_ctor_get(x_615, 0); +lean_inc(x_616); +if (lean_is_exclusive(x_615)) { + lean_ctor_release(x_615, 0); + x_617 = x_615; } else { - lean_dec_ref(x_545); - x_629 = lean_box(0); + lean_dec_ref(x_615); + x_617 = lean_box(0); } -x_630 = lean_unsigned_to_nat(80u); -x_631 = l_Lean_Json_pretty(x_582, x_630); -x_632 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_633 = lean_string_append(x_632, x_631); -lean_dec(x_631); -x_634 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_635 = lean_string_append(x_633, x_634); -if (lean_is_scalar(x_629)) { - x_636 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_617)) { + x_618 = lean_alloc_ctor(0, 1, 0); } else { - x_636 = x_629; - lean_ctor_set_tag(x_636, 0); + x_618 = x_617; } -lean_ctor_set(x_636, 0, x_635); -return x_636; +lean_ctor_set(x_618, 0, x_616); +return x_618; } -} -} -} -} -} -} -block_644: +else { -if (lean_obj_tag(x_638) == 0) +lean_object* x_619; lean_object* x_620; +x_619 = lean_ctor_get(x_615, 0); +lean_inc(x_619); +lean_dec(x_615); +if (lean_is_scalar(x_607)) { + x_620 = lean_alloc_ctor(1, 1, 0); +} else { + x_620 = x_607; +} +lean_ctor_set(x_620, 0, x_619); +x_586 = x_620; +goto block_603; +} +} +else { -uint8_t x_639; -lean_dec(x_22); -lean_dec(x_20); +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_dec(x_607); +lean_dec(x_585); +lean_dec(x_584); +lean_dec(x_569); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); +x_621 = lean_unsigned_to_nat(80u); +x_622 = l_Lean_Json_pretty(x_606, x_621); +x_623 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_624 = lean_string_append(x_623, x_622); +lean_dec(x_622); +x_625 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_626 = lean_string_append(x_624, x_625); +if (lean_is_scalar(x_576)) { + x_627 = lean_alloc_ctor(0, 1, 0); +} else { + x_627 = x_576; + lean_ctor_set_tag(x_627, 0); +} +lean_ctor_set(x_627, 0, x_626); +return x_627; +} +} +block_603: +{ +lean_object* x_587; +x_587 = lean_ctor_get(x_5, 8); +lean_inc(x_587); +lean_dec(x_5); +if (lean_obj_tag(x_587) == 0) +{ +lean_object* x_588; lean_object* x_589; lean_object* x_590; +lean_dec(x_3); +x_588 = lean_box(0); +x_589 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_589, 0, x_13); +lean_ctor_set(x_589, 1, x_15); +lean_ctor_set(x_589, 2, x_16); +lean_ctor_set(x_589, 3, x_17); +lean_ctor_set(x_589, 4, x_18); +lean_ctor_set(x_589, 5, x_569); +lean_ctor_set(x_589, 6, x_585); +lean_ctor_set(x_589, 7, x_586); +lean_ctor_set(x_589, 8, x_588); +if (lean_is_scalar(x_584)) { + x_590 = lean_alloc_ctor(1, 1, 0); +} else { + x_590 = x_584; +} +lean_ctor_set(x_590, 0, x_589); +return x_590; +} +else +{ +lean_object* x_591; lean_object* x_592; lean_object* x_593; lean_object* x_594; +x_591 = lean_ctor_get(x_587, 0); +lean_inc(x_591); +if (lean_is_exclusive(x_587)) { + lean_ctor_release(x_587, 0); + x_592 = x_587; +} else { + lean_dec_ref(x_587); + x_592 = lean_box(0); +} +if (lean_is_scalar(x_584)) { + x_593 = lean_alloc_ctor(1, 1, 0); +} else { + x_593 = x_584; +} +lean_ctor_set(x_593, 0, x_591); +x_594 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_593, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_594) == 0) +{ +lean_object* x_595; lean_object* x_596; lean_object* x_597; +lean_dec(x_592); +lean_dec(x_586); +lean_dec(x_585); +lean_dec(x_569); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_595 = lean_ctor_get(x_594, 0); +lean_inc(x_595); +if (lean_is_exclusive(x_594)) { + lean_ctor_release(x_594, 0); + x_596 = x_594; +} else { + lean_dec_ref(x_594); + x_596 = lean_box(0); +} +if (lean_is_scalar(x_596)) { + x_597 = lean_alloc_ctor(0, 1, 0); +} else { + x_597 = x_596; +} +lean_ctor_set(x_597, 0, x_595); +return x_597; +} +else +{ +lean_object* x_598; lean_object* x_599; lean_object* x_600; lean_object* x_601; lean_object* x_602; +x_598 = lean_ctor_get(x_594, 0); +lean_inc(x_598); +if (lean_is_exclusive(x_594)) { + lean_ctor_release(x_594, 0); + x_599 = x_594; +} else { + lean_dec_ref(x_594); + x_599 = lean_box(0); +} +if (lean_is_scalar(x_592)) { + x_600 = lean_alloc_ctor(1, 1, 0); +} else { + x_600 = x_592; +} +lean_ctor_set(x_600, 0, x_598); +x_601 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_601, 0, x_13); +lean_ctor_set(x_601, 1, x_15); +lean_ctor_set(x_601, 2, x_16); +lean_ctor_set(x_601, 3, x_17); +lean_ctor_set(x_601, 4, x_18); +lean_ctor_set(x_601, 5, x_569); +lean_ctor_set(x_601, 6, x_585); +lean_ctor_set(x_601, 7, x_586); +lean_ctor_set(x_601, 8, x_600); +if (lean_is_scalar(x_599)) { + x_602 = lean_alloc_ctor(1, 1, 0); +} else { + x_602 = x_599; +} +lean_ctor_set(x_602, 0, x_601); +return x_602; +} +} +} +} +} +else +{ +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_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +if (lean_is_exclusive(x_332)) { + lean_ctor_release(x_332, 0); + x_628 = x_332; +} else { + lean_dec_ref(x_332); + x_628 = lean_box(0); +} +x_629 = lean_unsigned_to_nat(80u); +x_630 = l_Lean_Json_pretty(x_568, x_629); +x_631 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_632 = lean_string_append(x_631, x_630); +lean_dec(x_630); +x_633 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_634 = lean_string_append(x_632, x_633); +if (lean_is_scalar(x_628)) { + x_635 = lean_alloc_ctor(0, 1, 0); +} else { + x_635 = x_628; + lean_ctor_set_tag(x_635, 0); +} +lean_ctor_set(x_635, 0, x_634); +return x_635; +} +} +} +} +} +else +{ +lean_object* x_636; lean_object* x_637; lean_object* x_638; lean_object* x_639; +x_636 = lean_ctor_get(x_324, 0); +lean_inc(x_636); +lean_dec(x_324); +lean_ctor_set(x_18, 0, x_636); +x_637 = lean_ctor_get(x_1, 1); +lean_inc(x_637); lean_dec(x_1); -x_639 = !lean_is_exclusive(x_638); -if (x_639 == 0) +x_638 = lean_ctor_get(x_5, 5); +lean_inc(x_638); +lean_inc(x_3); +x_639 = lean_apply_2(x_637, x_638, x_3); +if (lean_obj_tag(x_639) == 0) { -return x_638; -} -else -{ -lean_object* x_640; lean_object* x_641; -x_640 = lean_ctor_get(x_638, 0); +lean_object* x_640; lean_object* x_641; lean_object* x_642; +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_640 = lean_ctor_get(x_639, 0); lean_inc(x_640); -lean_dec(x_638); -x_641 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_641, 0, x_640); -return x_641; +if (lean_is_exclusive(x_639)) { + lean_ctor_release(x_639, 0); + x_641 = x_639; +} else { + lean_dec_ref(x_639); + x_641 = lean_box(0); +} +if (lean_is_scalar(x_641)) { + x_642 = lean_alloc_ctor(0, 1, 0); +} else { + x_642 = x_641; +} +lean_ctor_set(x_642, 0, x_640); +return x_642; +} +else +{ +lean_object* x_643; +x_643 = lean_ctor_get(x_5, 6); +lean_inc(x_643); +if (lean_obj_tag(x_643) == 0) +{ +lean_object* x_644; lean_object* x_645; lean_object* x_646; lean_object* x_647; lean_object* x_664; +x_644 = lean_ctor_get(x_639, 0); +lean_inc(x_644); +if (lean_is_exclusive(x_639)) { + lean_ctor_release(x_639, 0); + x_645 = x_639; +} else { + lean_dec_ref(x_639); + x_645 = lean_box(0); +} +x_646 = lean_box(0); +x_664 = lean_ctor_get(x_5, 7); +lean_inc(x_664); +if (lean_obj_tag(x_664) == 0) +{ +x_647 = x_646; +goto block_663; +} +else +{ +lean_object* x_665; lean_object* x_666; +x_665 = lean_ctor_get(x_664, 0); +lean_inc(x_665); +if (lean_is_exclusive(x_664)) { + lean_ctor_release(x_664, 0); + x_666 = x_664; +} else { + lean_dec_ref(x_664); + x_666 = lean_box(0); +} +if (lean_obj_tag(x_665) == 4) +{ +lean_object* x_667; lean_object* x_668; size_t x_669; size_t x_670; lean_object* x_671; lean_object* x_672; lean_object* x_673; size_t x_674; lean_object* x_675; +x_667 = lean_ctor_get(x_665, 0); +lean_inc(x_667); +lean_dec(x_665); +x_668 = lean_array_get_size(x_667); +x_669 = lean_usize_of_nat(x_668); +lean_dec(x_668); +x_670 = 0; +x_671 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_669, x_670, x_667); +x_672 = lean_ctor_get(x_671, 0); +lean_inc(x_672); +lean_dec(x_671); +x_673 = lean_array_get_size(x_672); +x_674 = lean_usize_of_nat(x_673); +lean_dec(x_673); +x_675 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_674, x_670, x_672, x_3); +if (lean_obj_tag(x_675) == 0) +{ +lean_object* x_676; lean_object* x_677; lean_object* x_678; +lean_dec(x_666); +lean_dec(x_645); +lean_dec(x_644); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_676 = lean_ctor_get(x_675, 0); +lean_inc(x_676); +if (lean_is_exclusive(x_675)) { + lean_ctor_release(x_675, 0); + x_677 = x_675; +} else { + lean_dec_ref(x_675); + x_677 = lean_box(0); +} +if (lean_is_scalar(x_677)) { + x_678 = lean_alloc_ctor(0, 1, 0); +} else { + x_678 = x_677; +} +lean_ctor_set(x_678, 0, x_676); +return x_678; +} +else +{ +lean_object* x_679; lean_object* x_680; +x_679 = lean_ctor_get(x_675, 0); +lean_inc(x_679); +lean_dec(x_675); +if (lean_is_scalar(x_666)) { + x_680 = lean_alloc_ctor(1, 1, 0); +} else { + x_680 = x_666; +} +lean_ctor_set(x_680, 0, x_679); +x_647 = x_680; +goto block_663; } } else { -lean_object* x_642; lean_object* x_643; -x_642 = lean_ctor_get(x_638, 0); -lean_inc(x_642); -lean_dec(x_638); -x_643 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_643, 0, x_642); -x_23 = x_643; -goto block_637; +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_dec(x_666); +lean_dec(x_645); +lean_dec(x_644); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_681 = lean_unsigned_to_nat(80u); +x_682 = l_Lean_Json_pretty(x_665, x_681); +x_683 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_684 = lean_string_append(x_683, x_682); +lean_dec(x_682); +x_685 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_686 = lean_string_append(x_684, x_685); +x_687 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_687, 0, x_686); +return x_687; +} +} +block_663: +{ +lean_object* x_648; +x_648 = lean_ctor_get(x_5, 8); +lean_inc(x_648); +lean_dec(x_5); +if (lean_obj_tag(x_648) == 0) +{ +lean_object* x_649; lean_object* x_650; +lean_dec(x_3); +x_649 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_649, 0, x_13); +lean_ctor_set(x_649, 1, x_15); +lean_ctor_set(x_649, 2, x_16); +lean_ctor_set(x_649, 3, x_17); +lean_ctor_set(x_649, 4, x_18); +lean_ctor_set(x_649, 5, x_644); +lean_ctor_set(x_649, 6, x_646); +lean_ctor_set(x_649, 7, x_647); +lean_ctor_set(x_649, 8, x_646); +if (lean_is_scalar(x_645)) { + x_650 = lean_alloc_ctor(1, 1, 0); +} else { + x_650 = x_645; +} +lean_ctor_set(x_650, 0, x_649); +return x_650; +} +else +{ +lean_object* x_651; lean_object* x_652; lean_object* x_653; lean_object* x_654; +x_651 = lean_ctor_get(x_648, 0); +lean_inc(x_651); +if (lean_is_exclusive(x_648)) { + lean_ctor_release(x_648, 0); + x_652 = x_648; +} else { + lean_dec_ref(x_648); + x_652 = lean_box(0); +} +if (lean_is_scalar(x_645)) { + x_653 = lean_alloc_ctor(1, 1, 0); +} else { + x_653 = x_645; +} +lean_ctor_set(x_653, 0, x_651); +x_654 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_653, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_654) == 0) +{ +lean_object* x_655; lean_object* x_656; lean_object* x_657; +lean_dec(x_652); +lean_dec(x_647); +lean_dec(x_644); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_655 = lean_ctor_get(x_654, 0); +lean_inc(x_655); +if (lean_is_exclusive(x_654)) { + lean_ctor_release(x_654, 0); + x_656 = x_654; +} else { + lean_dec_ref(x_654); + x_656 = lean_box(0); +} +if (lean_is_scalar(x_656)) { + x_657 = lean_alloc_ctor(0, 1, 0); +} else { + x_657 = x_656; +} +lean_ctor_set(x_657, 0, x_655); +return x_657; +} +else +{ +lean_object* x_658; lean_object* x_659; lean_object* x_660; lean_object* x_661; lean_object* x_662; +x_658 = lean_ctor_get(x_654, 0); +lean_inc(x_658); +if (lean_is_exclusive(x_654)) { + lean_ctor_release(x_654, 0); + x_659 = x_654; +} else { + lean_dec_ref(x_654); + x_659 = lean_box(0); +} +if (lean_is_scalar(x_652)) { + x_660 = lean_alloc_ctor(1, 1, 0); +} else { + x_660 = x_652; +} +lean_ctor_set(x_660, 0, x_658); +x_661 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_661, 0, x_13); +lean_ctor_set(x_661, 1, x_15); +lean_ctor_set(x_661, 2, x_16); +lean_ctor_set(x_661, 3, x_17); +lean_ctor_set(x_661, 4, x_18); +lean_ctor_set(x_661, 5, x_644); +lean_ctor_set(x_661, 6, x_646); +lean_ctor_set(x_661, 7, x_647); +lean_ctor_set(x_661, 8, x_660); +if (lean_is_scalar(x_659)) { + x_662 = lean_alloc_ctor(1, 1, 0); +} else { + x_662 = x_659; +} +lean_ctor_set(x_662, 0, x_661); +return x_662; +} +} +} +} +else +{ +lean_object* x_688; lean_object* x_689; +x_688 = lean_ctor_get(x_643, 0); +lean_inc(x_688); +if (lean_is_exclusive(x_643)) { + lean_ctor_release(x_643, 0); + x_689 = x_643; +} else { + lean_dec_ref(x_643); + x_689 = lean_box(0); +} +if (lean_obj_tag(x_688) == 4) +{ +lean_object* x_690; lean_object* x_691; lean_object* x_692; size_t x_693; size_t x_694; lean_object* x_695; lean_object* x_696; lean_object* x_697; lean_object* x_698; size_t x_699; lean_object* x_700; +x_690 = lean_ctor_get(x_639, 0); +lean_inc(x_690); +lean_dec(x_639); +x_691 = lean_ctor_get(x_688, 0); +lean_inc(x_691); +lean_dec(x_688); +x_692 = lean_array_get_size(x_691); +x_693 = lean_usize_of_nat(x_692); +lean_dec(x_692); +x_694 = 0; +x_695 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_693, x_694, x_691); +x_696 = lean_ctor_get(x_695, 0); +lean_inc(x_696); +if (lean_is_exclusive(x_695)) { + lean_ctor_release(x_695, 0); + x_697 = x_695; +} else { + lean_dec_ref(x_695); + x_697 = lean_box(0); +} +x_698 = lean_array_get_size(x_696); +x_699 = lean_usize_of_nat(x_698); +lean_dec(x_698); +x_700 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_699, x_694, x_696, x_3); +if (lean_obj_tag(x_700) == 0) +{ +lean_object* x_701; lean_object* x_702; lean_object* x_703; +lean_dec(x_697); +lean_dec(x_690); +lean_dec(x_689); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_701 = lean_ctor_get(x_700, 0); +lean_inc(x_701); +if (lean_is_exclusive(x_700)) { + lean_ctor_release(x_700, 0); + x_702 = x_700; +} else { + lean_dec_ref(x_700); + x_702 = lean_box(0); +} +if (lean_is_scalar(x_702)) { + x_703 = lean_alloc_ctor(0, 1, 0); +} else { + x_703 = x_702; +} +lean_ctor_set(x_703, 0, x_701); +return x_703; +} +else +{ +lean_object* x_704; lean_object* x_705; lean_object* x_706; lean_object* x_707; lean_object* x_725; +x_704 = lean_ctor_get(x_700, 0); +lean_inc(x_704); +if (lean_is_exclusive(x_700)) { + lean_ctor_release(x_700, 0); + x_705 = x_700; +} else { + lean_dec_ref(x_700); + x_705 = lean_box(0); +} +if (lean_is_scalar(x_689)) { + x_706 = lean_alloc_ctor(1, 1, 0); +} else { + x_706 = x_689; +} +lean_ctor_set(x_706, 0, x_704); +x_725 = lean_ctor_get(x_5, 7); +lean_inc(x_725); +if (lean_obj_tag(x_725) == 0) +{ +lean_object* x_726; +lean_dec(x_697); +x_726 = lean_box(0); +x_707 = x_726; +goto block_724; +} +else +{ +lean_object* x_727; lean_object* x_728; +x_727 = lean_ctor_get(x_725, 0); +lean_inc(x_727); +if (lean_is_exclusive(x_725)) { + lean_ctor_release(x_725, 0); + x_728 = x_725; +} else { + lean_dec_ref(x_725); + x_728 = lean_box(0); +} +if (lean_obj_tag(x_727) == 4) +{ +lean_object* x_729; lean_object* x_730; size_t x_731; lean_object* x_732; lean_object* x_733; lean_object* x_734; size_t x_735; lean_object* x_736; +lean_dec(x_697); +x_729 = lean_ctor_get(x_727, 0); +lean_inc(x_729); +lean_dec(x_727); +x_730 = lean_array_get_size(x_729); +x_731 = lean_usize_of_nat(x_730); +lean_dec(x_730); +x_732 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_731, x_694, x_729); +x_733 = lean_ctor_get(x_732, 0); +lean_inc(x_733); +lean_dec(x_732); +x_734 = lean_array_get_size(x_733); +x_735 = lean_usize_of_nat(x_734); +lean_dec(x_734); +x_736 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_735, x_694, x_733, x_3); +if (lean_obj_tag(x_736) == 0) +{ +lean_object* x_737; lean_object* x_738; lean_object* x_739; +lean_dec(x_728); +lean_dec(x_706); +lean_dec(x_705); +lean_dec(x_690); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_737 = lean_ctor_get(x_736, 0); +lean_inc(x_737); +if (lean_is_exclusive(x_736)) { + lean_ctor_release(x_736, 0); + x_738 = x_736; +} else { + lean_dec_ref(x_736); + x_738 = lean_box(0); +} +if (lean_is_scalar(x_738)) { + x_739 = lean_alloc_ctor(0, 1, 0); +} else { + x_739 = x_738; +} +lean_ctor_set(x_739, 0, x_737); +return x_739; +} +else +{ +lean_object* x_740; lean_object* x_741; +x_740 = lean_ctor_get(x_736, 0); +lean_inc(x_740); +lean_dec(x_736); +if (lean_is_scalar(x_728)) { + x_741 = lean_alloc_ctor(1, 1, 0); +} else { + x_741 = x_728; +} +lean_ctor_set(x_741, 0, x_740); +x_707 = x_741; +goto block_724; +} +} +else +{ +lean_object* x_742; lean_object* x_743; lean_object* x_744; lean_object* x_745; lean_object* x_746; lean_object* x_747; lean_object* x_748; +lean_dec(x_728); +lean_dec(x_706); +lean_dec(x_705); +lean_dec(x_690); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_742 = lean_unsigned_to_nat(80u); +x_743 = l_Lean_Json_pretty(x_727, x_742); +x_744 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_745 = lean_string_append(x_744, x_743); +lean_dec(x_743); +x_746 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_747 = lean_string_append(x_745, x_746); +if (lean_is_scalar(x_697)) { + x_748 = lean_alloc_ctor(0, 1, 0); +} else { + x_748 = x_697; + lean_ctor_set_tag(x_748, 0); +} +lean_ctor_set(x_748, 0, x_747); +return x_748; +} +} +block_724: +{ +lean_object* x_708; +x_708 = lean_ctor_get(x_5, 8); +lean_inc(x_708); +lean_dec(x_5); +if (lean_obj_tag(x_708) == 0) +{ +lean_object* x_709; lean_object* x_710; lean_object* x_711; +lean_dec(x_3); +x_709 = lean_box(0); +x_710 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_710, 0, x_13); +lean_ctor_set(x_710, 1, x_15); +lean_ctor_set(x_710, 2, x_16); +lean_ctor_set(x_710, 3, x_17); +lean_ctor_set(x_710, 4, x_18); +lean_ctor_set(x_710, 5, x_690); +lean_ctor_set(x_710, 6, x_706); +lean_ctor_set(x_710, 7, x_707); +lean_ctor_set(x_710, 8, x_709); +if (lean_is_scalar(x_705)) { + x_711 = lean_alloc_ctor(1, 1, 0); +} else { + x_711 = x_705; +} +lean_ctor_set(x_711, 0, x_710); +return x_711; +} +else +{ +lean_object* x_712; lean_object* x_713; lean_object* x_714; lean_object* x_715; +x_712 = lean_ctor_get(x_708, 0); +lean_inc(x_712); +if (lean_is_exclusive(x_708)) { + lean_ctor_release(x_708, 0); + x_713 = x_708; +} else { + lean_dec_ref(x_708); + x_713 = lean_box(0); +} +if (lean_is_scalar(x_705)) { + x_714 = lean_alloc_ctor(1, 1, 0); +} else { + x_714 = x_705; +} +lean_ctor_set(x_714, 0, x_712); +x_715 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_714, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_715) == 0) +{ +lean_object* x_716; lean_object* x_717; lean_object* x_718; +lean_dec(x_713); +lean_dec(x_707); +lean_dec(x_706); +lean_dec(x_690); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_716 = lean_ctor_get(x_715, 0); +lean_inc(x_716); +if (lean_is_exclusive(x_715)) { + lean_ctor_release(x_715, 0); + x_717 = x_715; +} else { + lean_dec_ref(x_715); + x_717 = lean_box(0); +} +if (lean_is_scalar(x_717)) { + x_718 = lean_alloc_ctor(0, 1, 0); +} else { + x_718 = x_717; +} +lean_ctor_set(x_718, 0, x_716); +return x_718; +} +else +{ +lean_object* x_719; lean_object* x_720; lean_object* x_721; lean_object* x_722; lean_object* x_723; +x_719 = lean_ctor_get(x_715, 0); +lean_inc(x_719); +if (lean_is_exclusive(x_715)) { + lean_ctor_release(x_715, 0); + x_720 = x_715; +} else { + lean_dec_ref(x_715); + x_720 = lean_box(0); +} +if (lean_is_scalar(x_713)) { + x_721 = lean_alloc_ctor(1, 1, 0); +} else { + x_721 = x_713; +} +lean_ctor_set(x_721, 0, x_719); +x_722 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_722, 0, x_13); +lean_ctor_set(x_722, 1, x_15); +lean_ctor_set(x_722, 2, x_16); +lean_ctor_set(x_722, 3, x_17); +lean_ctor_set(x_722, 4, x_18); +lean_ctor_set(x_722, 5, x_690); +lean_ctor_set(x_722, 6, x_706); +lean_ctor_set(x_722, 7, x_707); +lean_ctor_set(x_722, 8, x_721); +if (lean_is_scalar(x_720)) { + x_723 = lean_alloc_ctor(1, 1, 0); +} else { + x_723 = x_720; +} +lean_ctor_set(x_723, 0, x_722); +return x_723; } } } @@ -12506,2710 +15480,778 @@ goto block_637; } else { -lean_object* x_1492; lean_object* x_1493; lean_object* x_1494; lean_object* x_1495; -x_1492 = lean_ctor_get(x_8, 0); -lean_inc(x_1492); -lean_dec(x_8); -x_1493 = lean_ctor_get(x_5, 1); -lean_inc(x_1493); -x_1494 = l___private_Lean_Data_Lsp_Basic_0__Lean_Lsp_fromJsonRange____x40_Lean_Data_Lsp_Basic___hyg_709_(x_1493); -lean_dec(x_1493); -x_1495 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveTermGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_1837____spec__1(x_1494, x_3); -if (lean_obj_tag(x_1495) == 0) +lean_object* x_749; lean_object* x_750; lean_object* x_751; lean_object* x_752; lean_object* x_753; lean_object* x_754; lean_object* x_755; lean_object* x_756; +lean_dec(x_689); +lean_dec(x_18); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +if (lean_is_exclusive(x_639)) { + lean_ctor_release(x_639, 0); + x_749 = x_639; +} else { + lean_dec_ref(x_639); + x_749 = lean_box(0); +} +x_750 = lean_unsigned_to_nat(80u); +x_751 = l_Lean_Json_pretty(x_688, x_750); +x_752 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_753 = lean_string_append(x_752, x_751); +lean_dec(x_751); +x_754 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_755 = lean_string_append(x_753, x_754); +if (lean_is_scalar(x_749)) { + x_756 = lean_alloc_ctor(0, 1, 0); +} else { + x_756 = x_749; + lean_ctor_set_tag(x_756, 0); +} +lean_ctor_set(x_756, 0, x_755); +return x_756; +} +} +} +} +} +} +else { -lean_object* x_1496; lean_object* x_1497; lean_object* x_1498; -lean_dec(x_1492); +lean_object* x_757; lean_object* x_758; lean_object* x_759; +x_757 = lean_ctor_get(x_18, 0); +lean_inc(x_757); +lean_dec(x_18); +x_758 = l_Lean_Json_getStr_x3f(x_757); +lean_dec(x_757); +x_759 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_758, x_3); +if (lean_obj_tag(x_759) == 0) +{ +lean_object* x_760; lean_object* x_761; lean_object* x_762; +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1496 = lean_ctor_get(x_1495, 0); -lean_inc(x_1496); -if (lean_is_exclusive(x_1495)) { - lean_ctor_release(x_1495, 0); - x_1497 = x_1495; +x_760 = lean_ctor_get(x_759, 0); +lean_inc(x_760); +if (lean_is_exclusive(x_759)) { + lean_ctor_release(x_759, 0); + x_761 = x_759; } else { - lean_dec_ref(x_1495); - x_1497 = lean_box(0); + lean_dec_ref(x_759); + x_761 = lean_box(0); } -if (lean_is_scalar(x_1497)) { - x_1498 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_761)) { + x_762 = lean_alloc_ctor(0, 1, 0); } else { - x_1498 = x_1497; + x_762 = x_761; } -lean_ctor_set(x_1498, 0, x_1496); -return x_1498; +lean_ctor_set(x_762, 0, x_760); +return x_762; } else { -lean_object* x_1499; lean_object* x_1500; lean_object* x_1501; lean_object* x_1742; -x_1499 = lean_ctor_get(x_1495, 0); -lean_inc(x_1499); -if (lean_is_exclusive(x_1495)) { - lean_ctor_release(x_1495, 0); - x_1500 = x_1495; +lean_object* x_763; lean_object* x_764; lean_object* x_765; lean_object* x_766; lean_object* x_767; lean_object* x_768; +x_763 = lean_ctor_get(x_759, 0); +lean_inc(x_763); +if (lean_is_exclusive(x_759)) { + lean_ctor_release(x_759, 0); + x_764 = x_759; } else { - lean_dec_ref(x_1495); - x_1500 = lean_box(0); + lean_dec_ref(x_759); + x_764 = lean_box(0); } -x_1742 = lean_ctor_get(x_5, 2); -lean_inc(x_1742); -if (lean_obj_tag(x_1742) == 0) -{ -lean_object* x_1743; lean_object* x_1744; lean_object* x_1944; lean_object* x_1951; -lean_dec(x_1500); -x_1743 = lean_box(0); -x_1951 = lean_ctor_get(x_5, 3); -lean_inc(x_1951); -if (lean_obj_tag(x_1951) == 0) -{ -x_1744 = x_1743; -goto block_1943; -} -else -{ -lean_object* x_1952; -x_1952 = lean_ctor_get(x_1951, 0); -lean_inc(x_1952); -lean_dec(x_1951); -switch (lean_obj_tag(x_1952)) { -case 2: -{ -lean_object* x_1953; lean_object* x_1954; lean_object* x_1955; lean_object* x_1956; uint8_t x_1957; -x_1953 = lean_ctor_get(x_1952, 0); -lean_inc(x_1953); -x_1954 = lean_ctor_get(x_1953, 0); -lean_inc(x_1954); -x_1955 = lean_ctor_get(x_1953, 1); -lean_inc(x_1955); -lean_dec(x_1953); -x_1956 = lean_unsigned_to_nat(0u); -x_1957 = lean_nat_dec_eq(x_1955, x_1956); -lean_dec(x_1955); -if (x_1957 == 0) -{ -lean_object* x_1958; lean_object* x_1959; lean_object* x_1960; lean_object* x_1961; lean_object* x_1962; lean_object* x_1963; lean_object* x_1964; lean_object* x_1965; -lean_dec(x_1954); -x_1958 = lean_unsigned_to_nat(80u); -x_1959 = l_Lean_Json_pretty(x_1952, x_1958); -x_1960 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_1961 = lean_string_append(x_1960, x_1959); -lean_dec(x_1959); -x_1962 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1963 = lean_string_append(x_1961, x_1962); -x_1964 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1964, 0, x_1963); -x_1965 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1964, x_3); -x_1944 = x_1965; -goto block_1950; -} -else -{ -lean_object* x_1966; lean_object* x_1967; lean_object* x_1968; -lean_dec(x_1952); -x_1966 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1966, 0, x_1954); -x_1967 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1967, 0, x_1966); -x_1968 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1967, x_3); -x_1944 = x_1968; -goto block_1950; -} -} -case 3: -{ -lean_object* x_1969; lean_object* x_1970; lean_object* x_1971; lean_object* x_1972; -x_1969 = lean_ctor_get(x_1952, 0); -lean_inc(x_1969); -lean_dec(x_1952); -x_1970 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1970, 0, x_1969); -x_1971 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1971, 0, x_1970); -x_1972 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1971, x_3); -x_1944 = x_1972; -goto block_1950; -} -default: -{ -lean_object* x_1973; lean_object* x_1974; lean_object* x_1975; lean_object* x_1976; lean_object* x_1977; lean_object* x_1978; lean_object* x_1979; lean_object* x_1980; -x_1973 = lean_unsigned_to_nat(80u); -x_1974 = l_Lean_Json_pretty(x_1952, x_1973); -x_1975 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_1976 = lean_string_append(x_1975, x_1974); -lean_dec(x_1974); -x_1977 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1978 = lean_string_append(x_1976, x_1977); -x_1979 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1979, 0, x_1978); -x_1980 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1979, x_3); -x_1944 = x_1980; -goto block_1950; -} -} -} -block_1943: -{ -lean_object* x_1745; -x_1745 = lean_ctor_get(x_5, 4); -lean_inc(x_1745); -if (lean_obj_tag(x_1745) == 0) -{ -lean_object* x_1746; lean_object* x_1747; lean_object* x_1748; -x_1746 = lean_ctor_get(x_1, 1); -lean_inc(x_1746); +x_765 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_765, 0, x_763); +x_766 = lean_ctor_get(x_1, 1); +lean_inc(x_766); lean_dec(x_1); -x_1747 = lean_ctor_get(x_5, 5); -lean_inc(x_1747); +x_767 = lean_ctor_get(x_5, 5); +lean_inc(x_767); lean_inc(x_3); -x_1748 = lean_apply_2(x_1746, x_1747, x_3); -if (lean_obj_tag(x_1748) == 0) +x_768 = lean_apply_2(x_766, x_767, x_3); +if (lean_obj_tag(x_768) == 0) { -lean_object* x_1749; lean_object* x_1750; lean_object* x_1751; -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); +lean_object* x_769; lean_object* x_770; lean_object* x_771; +lean_dec(x_765); +lean_dec(x_764); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_1749 = lean_ctor_get(x_1748, 0); -lean_inc(x_1749); -if (lean_is_exclusive(x_1748)) { - lean_ctor_release(x_1748, 0); - x_1750 = x_1748; +x_769 = lean_ctor_get(x_768, 0); +lean_inc(x_769); +if (lean_is_exclusive(x_768)) { + lean_ctor_release(x_768, 0); + x_770 = x_768; } else { - lean_dec_ref(x_1748); - x_1750 = lean_box(0); + lean_dec_ref(x_768); + x_770 = lean_box(0); } -if (lean_is_scalar(x_1750)) { - x_1751 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_770)) { + x_771 = lean_alloc_ctor(0, 1, 0); } else { - x_1751 = x_1750; + x_771 = x_770; } -lean_ctor_set(x_1751, 0, x_1749); -return x_1751; +lean_ctor_set(x_771, 0, x_769); +return x_771; } else { -lean_object* x_1752; -x_1752 = lean_ctor_get(x_5, 6); -lean_inc(x_1752); -if (lean_obj_tag(x_1752) == 0) +lean_object* x_772; +x_772 = lean_ctor_get(x_5, 6); +lean_inc(x_772); +if (lean_obj_tag(x_772) == 0) { -lean_object* x_1753; -x_1753 = lean_ctor_get(x_5, 7); -lean_inc(x_1753); -lean_dec(x_5); -if (lean_obj_tag(x_1753) == 0) +lean_object* x_773; lean_object* x_774; lean_object* x_775; lean_object* x_776; lean_object* x_793; +x_773 = lean_ctor_get(x_768, 0); +lean_inc(x_773); +if (lean_is_exclusive(x_768)) { + lean_ctor_release(x_768, 0); + x_774 = x_768; +} else { + lean_dec_ref(x_768); + x_774 = lean_box(0); +} +x_775 = lean_box(0); +x_793 = lean_ctor_get(x_5, 7); +lean_inc(x_793); +if (lean_obj_tag(x_793) == 0) { -lean_object* x_1754; lean_object* x_1755; lean_object* x_1756; lean_object* x_1757; -lean_dec(x_3); -x_1754 = lean_ctor_get(x_1748, 0); -lean_inc(x_1754); -if (lean_is_exclusive(x_1748)) { - lean_ctor_release(x_1748, 0); - x_1755 = x_1748; -} else { - lean_dec_ref(x_1748); - x_1755 = lean_box(0); -} -x_1756 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1756, 0, x_1492); -lean_ctor_set(x_1756, 1, x_1499); -lean_ctor_set(x_1756, 2, x_1743); -lean_ctor_set(x_1756, 3, x_1744); -lean_ctor_set(x_1756, 4, x_1743); -lean_ctor_set(x_1756, 5, x_1754); -lean_ctor_set(x_1756, 6, x_1743); -lean_ctor_set(x_1756, 7, x_1743); -if (lean_is_scalar(x_1755)) { - x_1757 = lean_alloc_ctor(1, 1, 0); -} else { - x_1757 = x_1755; -} -lean_ctor_set(x_1757, 0, x_1756); -return x_1757; +lean_dec(x_764); +x_776 = x_775; +goto block_792; } else { -lean_object* x_1758; lean_object* x_1759; -x_1758 = lean_ctor_get(x_1753, 0); -lean_inc(x_1758); -if (lean_is_exclusive(x_1753)) { - lean_ctor_release(x_1753, 0); - x_1759 = x_1753; +lean_object* x_794; lean_object* x_795; +x_794 = lean_ctor_get(x_793, 0); +lean_inc(x_794); +if (lean_is_exclusive(x_793)) { + lean_ctor_release(x_793, 0); + x_795 = x_793; } else { - lean_dec_ref(x_1753); - x_1759 = lean_box(0); + lean_dec_ref(x_793); + x_795 = lean_box(0); } -if (lean_obj_tag(x_1758) == 4) +if (lean_obj_tag(x_794) == 4) { -lean_object* x_1760; lean_object* x_1761; lean_object* x_1762; size_t x_1763; size_t x_1764; lean_object* x_1765; lean_object* x_1766; lean_object* x_1767; size_t x_1768; lean_object* x_1769; -x_1760 = lean_ctor_get(x_1748, 0); -lean_inc(x_1760); -lean_dec(x_1748); -x_1761 = lean_ctor_get(x_1758, 0); -lean_inc(x_1761); -lean_dec(x_1758); -x_1762 = lean_array_get_size(x_1761); -x_1763 = lean_usize_of_nat(x_1762); -lean_dec(x_1762); -x_1764 = 0; -x_1765 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1763, x_1764, x_1761); -x_1766 = lean_ctor_get(x_1765, 0); -lean_inc(x_1766); -lean_dec(x_1765); -x_1767 = lean_array_get_size(x_1766); -x_1768 = lean_usize_of_nat(x_1767); -lean_dec(x_1767); -x_1769 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1768, x_1764, x_1766, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1769) == 0) +lean_object* x_796; lean_object* x_797; size_t x_798; size_t x_799; lean_object* x_800; lean_object* x_801; lean_object* x_802; size_t x_803; lean_object* x_804; +lean_dec(x_764); +x_796 = lean_ctor_get(x_794, 0); +lean_inc(x_796); +lean_dec(x_794); +x_797 = lean_array_get_size(x_796); +x_798 = lean_usize_of_nat(x_797); +lean_dec(x_797); +x_799 = 0; +x_800 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_798, x_799, x_796); +x_801 = lean_ctor_get(x_800, 0); +lean_inc(x_801); +lean_dec(x_800); +x_802 = lean_array_get_size(x_801); +x_803 = lean_usize_of_nat(x_802); +lean_dec(x_802); +x_804 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_803, x_799, x_801, x_3); +if (lean_obj_tag(x_804) == 0) { -lean_object* x_1770; lean_object* x_1771; lean_object* x_1772; -lean_dec(x_1760); -lean_dec(x_1759); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -x_1770 = lean_ctor_get(x_1769, 0); -lean_inc(x_1770); -if (lean_is_exclusive(x_1769)) { - lean_ctor_release(x_1769, 0); - x_1771 = x_1769; -} else { - lean_dec_ref(x_1769); - x_1771 = lean_box(0); -} -if (lean_is_scalar(x_1771)) { - x_1772 = lean_alloc_ctor(0, 1, 0); -} else { - x_1772 = x_1771; -} -lean_ctor_set(x_1772, 0, x_1770); -return x_1772; -} -else -{ -lean_object* x_1773; lean_object* x_1774; lean_object* x_1775; lean_object* x_1776; lean_object* x_1777; -x_1773 = lean_ctor_get(x_1769, 0); -lean_inc(x_1773); -if (lean_is_exclusive(x_1769)) { - lean_ctor_release(x_1769, 0); - x_1774 = x_1769; -} else { - lean_dec_ref(x_1769); - x_1774 = lean_box(0); -} -if (lean_is_scalar(x_1759)) { - x_1775 = lean_alloc_ctor(1, 1, 0); -} else { - x_1775 = x_1759; -} -lean_ctor_set(x_1775, 0, x_1773); -x_1776 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1776, 0, x_1492); -lean_ctor_set(x_1776, 1, x_1499); -lean_ctor_set(x_1776, 2, x_1743); -lean_ctor_set(x_1776, 3, x_1744); -lean_ctor_set(x_1776, 4, x_1743); -lean_ctor_set(x_1776, 5, x_1760); -lean_ctor_set(x_1776, 6, x_1743); -lean_ctor_set(x_1776, 7, x_1775); -if (lean_is_scalar(x_1774)) { - x_1777 = lean_alloc_ctor(1, 1, 0); -} else { - x_1777 = x_1774; -} -lean_ctor_set(x_1777, 0, x_1776); -return x_1777; -} -} -else -{ -lean_object* x_1778; lean_object* x_1779; lean_object* x_1780; lean_object* x_1781; lean_object* x_1782; lean_object* x_1783; lean_object* x_1784; lean_object* x_1785; -lean_dec(x_1759); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -if (lean_is_exclusive(x_1748)) { - lean_ctor_release(x_1748, 0); - x_1778 = x_1748; -} else { - lean_dec_ref(x_1748); - x_1778 = lean_box(0); -} -x_1779 = lean_unsigned_to_nat(80u); -x_1780 = l_Lean_Json_pretty(x_1758, x_1779); -x_1781 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1782 = lean_string_append(x_1781, x_1780); -lean_dec(x_1780); -x_1783 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1784 = lean_string_append(x_1782, x_1783); -if (lean_is_scalar(x_1778)) { - x_1785 = lean_alloc_ctor(0, 1, 0); -} else { - x_1785 = x_1778; - lean_ctor_set_tag(x_1785, 0); -} -lean_ctor_set(x_1785, 0, x_1784); -return x_1785; -} -} -} -else -{ -lean_object* x_1786; lean_object* x_1787; -x_1786 = lean_ctor_get(x_1752, 0); -lean_inc(x_1786); -if (lean_is_exclusive(x_1752)) { - lean_ctor_release(x_1752, 0); - x_1787 = x_1752; -} else { - lean_dec_ref(x_1752); - x_1787 = lean_box(0); -} -if (lean_obj_tag(x_1786) == 4) -{ -lean_object* x_1788; lean_object* x_1789; lean_object* x_1790; size_t x_1791; size_t x_1792; lean_object* x_1793; lean_object* x_1794; lean_object* x_1795; size_t x_1796; lean_object* x_1797; -x_1788 = lean_ctor_get(x_1748, 0); -lean_inc(x_1788); -lean_dec(x_1748); -x_1789 = lean_ctor_get(x_1786, 0); -lean_inc(x_1789); -lean_dec(x_1786); -x_1790 = lean_array_get_size(x_1789); -x_1791 = lean_usize_of_nat(x_1790); -lean_dec(x_1790); -x_1792 = 0; -x_1793 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1791, x_1792, x_1789); -x_1794 = lean_ctor_get(x_1793, 0); -lean_inc(x_1794); -lean_dec(x_1793); -x_1795 = lean_array_get_size(x_1794); -x_1796 = lean_usize_of_nat(x_1795); -lean_dec(x_1795); -x_1797 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1796, x_1792, x_1794, x_3); -if (lean_obj_tag(x_1797) == 0) -{ -lean_object* x_1798; lean_object* x_1799; lean_object* x_1800; -lean_dec(x_1788); -lean_dec(x_1787); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); +lean_object* x_805; lean_object* x_806; lean_object* x_807; +lean_dec(x_795); +lean_dec(x_774); +lean_dec(x_773); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -x_1798 = lean_ctor_get(x_1797, 0); -lean_inc(x_1798); -if (lean_is_exclusive(x_1797)) { - lean_ctor_release(x_1797, 0); - x_1799 = x_1797; +x_805 = lean_ctor_get(x_804, 0); +lean_inc(x_805); +if (lean_is_exclusive(x_804)) { + lean_ctor_release(x_804, 0); + x_806 = x_804; } else { - lean_dec_ref(x_1797); - x_1799 = lean_box(0); + lean_dec_ref(x_804); + x_806 = lean_box(0); } -if (lean_is_scalar(x_1799)) { - x_1800 = lean_alloc_ctor(0, 1, 0); +if (lean_is_scalar(x_806)) { + x_807 = lean_alloc_ctor(0, 1, 0); } else { - x_1800 = x_1799; + x_807 = x_806; } -lean_ctor_set(x_1800, 0, x_1798); -return x_1800; +lean_ctor_set(x_807, 0, x_805); +return x_807; } else { -lean_object* x_1801; lean_object* x_1802; lean_object* x_1803; lean_object* x_1804; -x_1801 = lean_ctor_get(x_1797, 0); -lean_inc(x_1801); -if (lean_is_exclusive(x_1797)) { - lean_ctor_release(x_1797, 0); - x_1802 = x_1797; +lean_object* x_808; lean_object* x_809; +x_808 = lean_ctor_get(x_804, 0); +lean_inc(x_808); +lean_dec(x_804); +if (lean_is_scalar(x_795)) { + x_809 = lean_alloc_ctor(1, 1, 0); } else { - lean_dec_ref(x_1797); - x_1802 = lean_box(0); + x_809 = x_795; } -if (lean_is_scalar(x_1787)) { - x_1803 = lean_alloc_ctor(1, 1, 0); -} else { - x_1803 = x_1787; -} -lean_ctor_set(x_1803, 0, x_1801); -x_1804 = lean_ctor_get(x_5, 7); -lean_inc(x_1804); -lean_dec(x_5); -if (lean_obj_tag(x_1804) == 0) -{ -lean_object* x_1805; lean_object* x_1806; -lean_dec(x_3); -x_1805 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1805, 0, x_1492); -lean_ctor_set(x_1805, 1, x_1499); -lean_ctor_set(x_1805, 2, x_1743); -lean_ctor_set(x_1805, 3, x_1744); -lean_ctor_set(x_1805, 4, x_1743); -lean_ctor_set(x_1805, 5, x_1788); -lean_ctor_set(x_1805, 6, x_1803); -lean_ctor_set(x_1805, 7, x_1743); -if (lean_is_scalar(x_1802)) { - x_1806 = lean_alloc_ctor(1, 1, 0); -} else { - x_1806 = x_1802; -} -lean_ctor_set(x_1806, 0, x_1805); -return x_1806; -} -else -{ -lean_object* x_1807; lean_object* x_1808; -x_1807 = lean_ctor_get(x_1804, 0); -lean_inc(x_1807); -if (lean_is_exclusive(x_1804)) { - lean_ctor_release(x_1804, 0); - x_1808 = x_1804; -} else { - lean_dec_ref(x_1804); - x_1808 = lean_box(0); -} -if (lean_obj_tag(x_1807) == 4) -{ -lean_object* x_1809; lean_object* x_1810; size_t x_1811; lean_object* x_1812; lean_object* x_1813; lean_object* x_1814; size_t x_1815; lean_object* x_1816; -lean_dec(x_1802); -x_1809 = lean_ctor_get(x_1807, 0); -lean_inc(x_1809); -lean_dec(x_1807); -x_1810 = lean_array_get_size(x_1809); -x_1811 = lean_usize_of_nat(x_1810); -lean_dec(x_1810); -x_1812 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1811, x_1792, x_1809); -x_1813 = lean_ctor_get(x_1812, 0); -lean_inc(x_1813); -lean_dec(x_1812); -x_1814 = lean_array_get_size(x_1813); -x_1815 = lean_usize_of_nat(x_1814); -lean_dec(x_1814); -x_1816 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1815, x_1792, x_1813, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1816) == 0) -{ -lean_object* x_1817; lean_object* x_1818; lean_object* x_1819; -lean_dec(x_1808); -lean_dec(x_1803); -lean_dec(x_1788); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -x_1817 = lean_ctor_get(x_1816, 0); -lean_inc(x_1817); -if (lean_is_exclusive(x_1816)) { - lean_ctor_release(x_1816, 0); - x_1818 = x_1816; -} else { - lean_dec_ref(x_1816); - x_1818 = lean_box(0); -} -if (lean_is_scalar(x_1818)) { - x_1819 = lean_alloc_ctor(0, 1, 0); -} else { - x_1819 = x_1818; -} -lean_ctor_set(x_1819, 0, x_1817); -return x_1819; -} -else -{ -lean_object* x_1820; lean_object* x_1821; lean_object* x_1822; lean_object* x_1823; lean_object* x_1824; -x_1820 = lean_ctor_get(x_1816, 0); -lean_inc(x_1820); -if (lean_is_exclusive(x_1816)) { - lean_ctor_release(x_1816, 0); - x_1821 = x_1816; -} else { - lean_dec_ref(x_1816); - x_1821 = lean_box(0); -} -if (lean_is_scalar(x_1808)) { - x_1822 = lean_alloc_ctor(1, 1, 0); -} else { - x_1822 = x_1808; -} -lean_ctor_set(x_1822, 0, x_1820); -x_1823 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1823, 0, x_1492); -lean_ctor_set(x_1823, 1, x_1499); -lean_ctor_set(x_1823, 2, x_1743); -lean_ctor_set(x_1823, 3, x_1744); -lean_ctor_set(x_1823, 4, x_1743); -lean_ctor_set(x_1823, 5, x_1788); -lean_ctor_set(x_1823, 6, x_1803); -lean_ctor_set(x_1823, 7, x_1822); -if (lean_is_scalar(x_1821)) { - x_1824 = lean_alloc_ctor(1, 1, 0); -} else { - x_1824 = x_1821; -} -lean_ctor_set(x_1824, 0, x_1823); -return x_1824; +lean_ctor_set(x_809, 0, x_808); +x_776 = x_809; +goto block_792; } } else { -lean_object* x_1825; lean_object* x_1826; lean_object* x_1827; lean_object* x_1828; lean_object* x_1829; lean_object* x_1830; lean_object* x_1831; -lean_dec(x_1808); -lean_dec(x_1803); -lean_dec(x_1788); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -x_1825 = lean_unsigned_to_nat(80u); -x_1826 = l_Lean_Json_pretty(x_1807, x_1825); -x_1827 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1828 = lean_string_append(x_1827, x_1826); -lean_dec(x_1826); -x_1829 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1830 = lean_string_append(x_1828, x_1829); -if (lean_is_scalar(x_1802)) { - x_1831 = lean_alloc_ctor(0, 1, 0); -} else { - x_1831 = x_1802; - lean_ctor_set_tag(x_1831, 0); -} -lean_ctor_set(x_1831, 0, x_1830); -return x_1831; -} -} -} -} -else -{ -lean_object* x_1832; lean_object* x_1833; lean_object* x_1834; lean_object* x_1835; lean_object* x_1836; lean_object* x_1837; lean_object* x_1838; lean_object* x_1839; -lean_dec(x_1787); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); +lean_object* x_810; lean_object* x_811; lean_object* x_812; lean_object* x_813; lean_object* x_814; lean_object* x_815; lean_object* x_816; +lean_dec(x_795); +lean_dec(x_774); +lean_dec(x_773); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); -if (lean_is_exclusive(x_1748)) { - lean_ctor_release(x_1748, 0); - x_1832 = x_1748; +x_810 = lean_unsigned_to_nat(80u); +x_811 = l_Lean_Json_pretty(x_794, x_810); +x_812 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_813 = lean_string_append(x_812, x_811); +lean_dec(x_811); +x_814 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_815 = lean_string_append(x_813, x_814); +if (lean_is_scalar(x_764)) { + x_816 = lean_alloc_ctor(0, 1, 0); } else { - lean_dec_ref(x_1748); - x_1832 = lean_box(0); + x_816 = x_764; + lean_ctor_set_tag(x_816, 0); } -x_1833 = lean_unsigned_to_nat(80u); -x_1834 = l_Lean_Json_pretty(x_1786, x_1833); -x_1835 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1836 = lean_string_append(x_1835, x_1834); -lean_dec(x_1834); -x_1837 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1838 = lean_string_append(x_1836, x_1837); -if (lean_is_scalar(x_1832)) { - x_1839 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_816, 0, x_815); +return x_816; +} +} +block_792: +{ +lean_object* x_777; +x_777 = lean_ctor_get(x_5, 8); +lean_inc(x_777); +lean_dec(x_5); +if (lean_obj_tag(x_777) == 0) +{ +lean_object* x_778; lean_object* x_779; +lean_dec(x_3); +x_778 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_778, 0, x_13); +lean_ctor_set(x_778, 1, x_15); +lean_ctor_set(x_778, 2, x_16); +lean_ctor_set(x_778, 3, x_17); +lean_ctor_set(x_778, 4, x_765); +lean_ctor_set(x_778, 5, x_773); +lean_ctor_set(x_778, 6, x_775); +lean_ctor_set(x_778, 7, x_776); +lean_ctor_set(x_778, 8, x_775); +if (lean_is_scalar(x_774)) { + x_779 = lean_alloc_ctor(1, 1, 0); } else { - x_1839 = x_1832; - lean_ctor_set_tag(x_1839, 0); + x_779 = x_774; } -lean_ctor_set(x_1839, 0, x_1838); -return x_1839; +lean_ctor_set(x_779, 0, x_778); +return x_779; +} +else +{ +lean_object* x_780; lean_object* x_781; lean_object* x_782; lean_object* x_783; +x_780 = lean_ctor_get(x_777, 0); +lean_inc(x_780); +if (lean_is_exclusive(x_777)) { + lean_ctor_release(x_777, 0); + x_781 = x_777; +} else { + lean_dec_ref(x_777); + x_781 = lean_box(0); +} +if (lean_is_scalar(x_774)) { + x_782 = lean_alloc_ctor(1, 1, 0); +} else { + x_782 = x_774; +} +lean_ctor_set(x_782, 0, x_780); +x_783 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_782, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_783) == 0) +{ +lean_object* x_784; lean_object* x_785; lean_object* x_786; +lean_dec(x_781); +lean_dec(x_776); +lean_dec(x_773); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_784 = lean_ctor_get(x_783, 0); +lean_inc(x_784); +if (lean_is_exclusive(x_783)) { + lean_ctor_release(x_783, 0); + x_785 = x_783; +} else { + lean_dec_ref(x_783); + x_785 = lean_box(0); +} +if (lean_is_scalar(x_785)) { + x_786 = lean_alloc_ctor(0, 1, 0); +} else { + x_786 = x_785; +} +lean_ctor_set(x_786, 0, x_784); +return x_786; +} +else +{ +lean_object* x_787; lean_object* x_788; lean_object* x_789; lean_object* x_790; lean_object* x_791; +x_787 = lean_ctor_get(x_783, 0); +lean_inc(x_787); +if (lean_is_exclusive(x_783)) { + lean_ctor_release(x_783, 0); + x_788 = x_783; +} else { + lean_dec_ref(x_783); + x_788 = lean_box(0); +} +if (lean_is_scalar(x_781)) { + x_789 = lean_alloc_ctor(1, 1, 0); +} else { + x_789 = x_781; +} +lean_ctor_set(x_789, 0, x_787); +x_790 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_790, 0, x_13); +lean_ctor_set(x_790, 1, x_15); +lean_ctor_set(x_790, 2, x_16); +lean_ctor_set(x_790, 3, x_17); +lean_ctor_set(x_790, 4, x_765); +lean_ctor_set(x_790, 5, x_773); +lean_ctor_set(x_790, 6, x_775); +lean_ctor_set(x_790, 7, x_776); +lean_ctor_set(x_790, 8, x_789); +if (lean_is_scalar(x_788)) { + x_791 = lean_alloc_ctor(1, 1, 0); +} else { + x_791 = x_788; +} +lean_ctor_set(x_791, 0, x_790); +return x_791; } } } } else { -lean_object* x_1840; lean_object* x_1841; lean_object* x_1842; lean_object* x_1843; -x_1840 = lean_ctor_get(x_1745, 0); -lean_inc(x_1840); -if (lean_is_exclusive(x_1745)) { - lean_ctor_release(x_1745, 0); - x_1841 = x_1745; +lean_object* x_817; lean_object* x_818; +lean_dec(x_764); +x_817 = lean_ctor_get(x_772, 0); +lean_inc(x_817); +if (lean_is_exclusive(x_772)) { + lean_ctor_release(x_772, 0); + x_818 = x_772; } else { - lean_dec_ref(x_1745); - x_1841 = lean_box(0); + lean_dec_ref(x_772); + x_818 = lean_box(0); } -x_1842 = l_Lean_Json_getStr_x3f(x_1840); -lean_dec(x_1840); -x_1843 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_1842, x_3); -if (lean_obj_tag(x_1843) == 0) +if (lean_obj_tag(x_817) == 4) { -lean_object* x_1844; lean_object* x_1845; lean_object* x_1846; -lean_dec(x_1841); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); +lean_object* x_819; lean_object* x_820; lean_object* x_821; size_t x_822; size_t x_823; lean_object* x_824; lean_object* x_825; lean_object* x_826; lean_object* x_827; size_t x_828; lean_object* x_829; +x_819 = lean_ctor_get(x_768, 0); +lean_inc(x_819); +lean_dec(x_768); +x_820 = lean_ctor_get(x_817, 0); +lean_inc(x_820); +lean_dec(x_817); +x_821 = lean_array_get_size(x_820); +x_822 = lean_usize_of_nat(x_821); +lean_dec(x_821); +x_823 = 0; +x_824 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_822, x_823, x_820); +x_825 = lean_ctor_get(x_824, 0); +lean_inc(x_825); +if (lean_is_exclusive(x_824)) { + lean_ctor_release(x_824, 0); + x_826 = x_824; +} else { + lean_dec_ref(x_824); + x_826 = lean_box(0); +} +x_827 = lean_array_get_size(x_825); +x_828 = lean_usize_of_nat(x_827); +lean_dec(x_827); +x_829 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_828, x_823, x_825, x_3); +if (lean_obj_tag(x_829) == 0) +{ +lean_object* x_830; lean_object* x_831; lean_object* x_832; +lean_dec(x_826); +lean_dec(x_819); +lean_dec(x_818); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_830 = lean_ctor_get(x_829, 0); +lean_inc(x_830); +if (lean_is_exclusive(x_829)) { + lean_ctor_release(x_829, 0); + x_831 = x_829; +} else { + lean_dec_ref(x_829); + x_831 = lean_box(0); +} +if (lean_is_scalar(x_831)) { + x_832 = lean_alloc_ctor(0, 1, 0); +} else { + x_832 = x_831; +} +lean_ctor_set(x_832, 0, x_830); +return x_832; +} +else +{ +lean_object* x_833; lean_object* x_834; lean_object* x_835; lean_object* x_836; lean_object* x_854; +x_833 = lean_ctor_get(x_829, 0); +lean_inc(x_833); +if (lean_is_exclusive(x_829)) { + lean_ctor_release(x_829, 0); + x_834 = x_829; +} else { + lean_dec_ref(x_829); + x_834 = lean_box(0); +} +if (lean_is_scalar(x_818)) { + x_835 = lean_alloc_ctor(1, 1, 0); +} else { + x_835 = x_818; +} +lean_ctor_set(x_835, 0, x_833); +x_854 = lean_ctor_get(x_5, 7); +lean_inc(x_854); +if (lean_obj_tag(x_854) == 0) +{ +lean_object* x_855; +lean_dec(x_826); +x_855 = lean_box(0); +x_836 = x_855; +goto block_853; +} +else +{ +lean_object* x_856; lean_object* x_857; +x_856 = lean_ctor_get(x_854, 0); +lean_inc(x_856); +if (lean_is_exclusive(x_854)) { + lean_ctor_release(x_854, 0); + x_857 = x_854; +} else { + lean_dec_ref(x_854); + x_857 = lean_box(0); +} +if (lean_obj_tag(x_856) == 4) +{ +lean_object* x_858; lean_object* x_859; size_t x_860; lean_object* x_861; lean_object* x_862; lean_object* x_863; size_t x_864; lean_object* x_865; +lean_dec(x_826); +x_858 = lean_ctor_get(x_856, 0); +lean_inc(x_858); +lean_dec(x_856); +x_859 = lean_array_get_size(x_858); +x_860 = lean_usize_of_nat(x_859); +lean_dec(x_859); +x_861 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_860, x_823, x_858); +x_862 = lean_ctor_get(x_861, 0); +lean_inc(x_862); +lean_dec(x_861); +x_863 = lean_array_get_size(x_862); +x_864 = lean_usize_of_nat(x_863); +lean_dec(x_863); +x_865 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_864, x_823, x_862, x_3); +if (lean_obj_tag(x_865) == 0) +{ +lean_object* x_866; lean_object* x_867; lean_object* x_868; +lean_dec(x_857); +lean_dec(x_835); +lean_dec(x_834); +lean_dec(x_819); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_866 = lean_ctor_get(x_865, 0); +lean_inc(x_866); +if (lean_is_exclusive(x_865)) { + lean_ctor_release(x_865, 0); + x_867 = x_865; +} else { + lean_dec_ref(x_865); + x_867 = lean_box(0); +} +if (lean_is_scalar(x_867)) { + x_868 = lean_alloc_ctor(0, 1, 0); +} else { + x_868 = x_867; +} +lean_ctor_set(x_868, 0, x_866); +return x_868; +} +else +{ +lean_object* x_869; lean_object* x_870; +x_869 = lean_ctor_get(x_865, 0); +lean_inc(x_869); +lean_dec(x_865); +if (lean_is_scalar(x_857)) { + x_870 = lean_alloc_ctor(1, 1, 0); +} else { + x_870 = x_857; +} +lean_ctor_set(x_870, 0, x_869); +x_836 = x_870; +goto block_853; +} +} +else +{ +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_dec(x_857); +lean_dec(x_835); +lean_dec(x_834); +lean_dec(x_819); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +x_871 = lean_unsigned_to_nat(80u); +x_872 = l_Lean_Json_pretty(x_856, x_871); +x_873 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_874 = lean_string_append(x_873, x_872); +lean_dec(x_872); +x_875 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_876 = lean_string_append(x_874, x_875); +if (lean_is_scalar(x_826)) { + x_877 = lean_alloc_ctor(0, 1, 0); +} else { + x_877 = x_826; + lean_ctor_set_tag(x_877, 0); +} +lean_ctor_set(x_877, 0, x_876); +return x_877; +} +} +block_853: +{ +lean_object* x_837; +x_837 = lean_ctor_get(x_5, 8); +lean_inc(x_837); +lean_dec(x_5); +if (lean_obj_tag(x_837) == 0) +{ +lean_object* x_838; lean_object* x_839; lean_object* x_840; +lean_dec(x_3); +x_838 = lean_box(0); +x_839 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_839, 0, x_13); +lean_ctor_set(x_839, 1, x_15); +lean_ctor_set(x_839, 2, x_16); +lean_ctor_set(x_839, 3, x_17); +lean_ctor_set(x_839, 4, x_765); +lean_ctor_set(x_839, 5, x_819); +lean_ctor_set(x_839, 6, x_835); +lean_ctor_set(x_839, 7, x_836); +lean_ctor_set(x_839, 8, x_838); +if (lean_is_scalar(x_834)) { + x_840 = lean_alloc_ctor(1, 1, 0); +} else { + x_840 = x_834; +} +lean_ctor_set(x_840, 0, x_839); +return x_840; +} +else +{ +lean_object* x_841; lean_object* x_842; lean_object* x_843; lean_object* x_844; +x_841 = lean_ctor_get(x_837, 0); +lean_inc(x_841); +if (lean_is_exclusive(x_837)) { + lean_ctor_release(x_837, 0); + x_842 = x_837; +} else { + lean_dec_ref(x_837); + x_842 = lean_box(0); +} +if (lean_is_scalar(x_834)) { + x_843 = lean_alloc_ctor(1, 1, 0); +} else { + x_843 = x_834; +} +lean_ctor_set(x_843, 0, x_841); +x_844 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__1(x_843, x_3); +lean_dec(x_3); +if (lean_obj_tag(x_844) == 0) +{ +lean_object* x_845; lean_object* x_846; lean_object* x_847; +lean_dec(x_842); +lean_dec(x_836); +lean_dec(x_835); +lean_dec(x_819); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +x_845 = lean_ctor_get(x_844, 0); +lean_inc(x_845); +if (lean_is_exclusive(x_844)) { + lean_ctor_release(x_844, 0); + x_846 = x_844; +} else { + lean_dec_ref(x_844); + x_846 = lean_box(0); +} +if (lean_is_scalar(x_846)) { + x_847 = lean_alloc_ctor(0, 1, 0); +} else { + x_847 = x_846; +} +lean_ctor_set(x_847, 0, x_845); +return x_847; +} +else +{ +lean_object* x_848; lean_object* x_849; lean_object* x_850; lean_object* x_851; lean_object* x_852; +x_848 = lean_ctor_get(x_844, 0); +lean_inc(x_848); +if (lean_is_exclusive(x_844)) { + lean_ctor_release(x_844, 0); + x_849 = x_844; +} else { + lean_dec_ref(x_844); + x_849 = lean_box(0); +} +if (lean_is_scalar(x_842)) { + x_850 = lean_alloc_ctor(1, 1, 0); +} else { + x_850 = x_842; +} +lean_ctor_set(x_850, 0, x_848); +x_851 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_851, 0, x_13); +lean_ctor_set(x_851, 1, x_15); +lean_ctor_set(x_851, 2, x_16); +lean_ctor_set(x_851, 3, x_17); +lean_ctor_set(x_851, 4, x_765); +lean_ctor_set(x_851, 5, x_819); +lean_ctor_set(x_851, 6, x_835); +lean_ctor_set(x_851, 7, x_836); +lean_ctor_set(x_851, 8, x_850); +if (lean_is_scalar(x_849)) { + x_852 = lean_alloc_ctor(1, 1, 0); +} else { + x_852 = x_849; +} +lean_ctor_set(x_852, 0, x_851); +return x_852; +} +} +} +} +} +else +{ +lean_object* x_878; lean_object* x_879; lean_object* x_880; lean_object* x_881; lean_object* x_882; lean_object* x_883; lean_object* x_884; lean_object* x_885; +lean_dec(x_818); +lean_dec(x_765); +lean_dec(x_17); +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_13); +lean_dec(x_5); +lean_dec(x_3); +if (lean_is_exclusive(x_768)) { + lean_ctor_release(x_768, 0); + x_878 = x_768; +} else { + lean_dec_ref(x_768); + x_878 = lean_box(0); +} +x_879 = lean_unsigned_to_nat(80u); +x_880 = l_Lean_Json_pretty(x_817, x_879); +x_881 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; +x_882 = lean_string_append(x_881, x_880); +lean_dec(x_880); +x_883 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; +x_884 = lean_string_append(x_882, x_883); +if (lean_is_scalar(x_878)) { + x_885 = lean_alloc_ctor(0, 1, 0); +} else { + x_885 = x_878; + lean_ctor_set_tag(x_885, 0); +} +lean_ctor_set(x_885, 0, x_884); +return x_885; +} +} +} +} +} +} +} +block_893: +{ +if (lean_obj_tag(x_887) == 0) +{ +uint8_t x_888; +lean_dec(x_16); +lean_dec(x_15); +lean_dec(x_14); +lean_dec(x_13); lean_dec(x_5); lean_dec(x_3); lean_dec(x_1); -x_1844 = lean_ctor_get(x_1843, 0); -lean_inc(x_1844); -if (lean_is_exclusive(x_1843)) { - lean_ctor_release(x_1843, 0); - x_1845 = x_1843; -} else { - lean_dec_ref(x_1843); - x_1845 = lean_box(0); -} -if (lean_is_scalar(x_1845)) { - x_1846 = lean_alloc_ctor(0, 1, 0); -} else { - x_1846 = x_1845; -} -lean_ctor_set(x_1846, 0, x_1844); -return x_1846; +x_888 = !lean_is_exclusive(x_887); +if (x_888 == 0) +{ +return x_887; } else { -lean_object* x_1847; lean_object* x_1848; lean_object* x_1849; lean_object* x_1850; lean_object* x_1851; -x_1847 = lean_ctor_get(x_1843, 0); -lean_inc(x_1847); -lean_dec(x_1843); -if (lean_is_scalar(x_1841)) { - x_1848 = lean_alloc_ctor(1, 1, 0); -} else { - x_1848 = x_1841; -} -lean_ctor_set(x_1848, 0, x_1847); -x_1849 = lean_ctor_get(x_1, 1); -lean_inc(x_1849); -lean_dec(x_1); -x_1850 = lean_ctor_get(x_5, 5); -lean_inc(x_1850); -lean_inc(x_3); -x_1851 = lean_apply_2(x_1849, x_1850, x_3); -if (lean_obj_tag(x_1851) == 0) -{ -lean_object* x_1852; lean_object* x_1853; lean_object* x_1854; -lean_dec(x_1848); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -x_1852 = lean_ctor_get(x_1851, 0); -lean_inc(x_1852); -if (lean_is_exclusive(x_1851)) { - lean_ctor_release(x_1851, 0); - x_1853 = x_1851; -} else { - lean_dec_ref(x_1851); - x_1853 = lean_box(0); -} -if (lean_is_scalar(x_1853)) { - x_1854 = lean_alloc_ctor(0, 1, 0); -} else { - x_1854 = x_1853; -} -lean_ctor_set(x_1854, 0, x_1852); -return x_1854; -} -else -{ -lean_object* x_1855; -x_1855 = lean_ctor_get(x_5, 6); -lean_inc(x_1855); -if (lean_obj_tag(x_1855) == 0) -{ -lean_object* x_1856; -x_1856 = lean_ctor_get(x_5, 7); -lean_inc(x_1856); -lean_dec(x_5); -if (lean_obj_tag(x_1856) == 0) -{ -lean_object* x_1857; lean_object* x_1858; lean_object* x_1859; lean_object* x_1860; -lean_dec(x_3); -x_1857 = lean_ctor_get(x_1851, 0); -lean_inc(x_1857); -if (lean_is_exclusive(x_1851)) { - lean_ctor_release(x_1851, 0); - x_1858 = x_1851; -} else { - lean_dec_ref(x_1851); - x_1858 = lean_box(0); -} -x_1859 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1859, 0, x_1492); -lean_ctor_set(x_1859, 1, x_1499); -lean_ctor_set(x_1859, 2, x_1743); -lean_ctor_set(x_1859, 3, x_1744); -lean_ctor_set(x_1859, 4, x_1848); -lean_ctor_set(x_1859, 5, x_1857); -lean_ctor_set(x_1859, 6, x_1743); -lean_ctor_set(x_1859, 7, x_1743); -if (lean_is_scalar(x_1858)) { - x_1860 = lean_alloc_ctor(1, 1, 0); -} else { - x_1860 = x_1858; -} -lean_ctor_set(x_1860, 0, x_1859); -return x_1860; -} -else -{ -lean_object* x_1861; lean_object* x_1862; -x_1861 = lean_ctor_get(x_1856, 0); -lean_inc(x_1861); -if (lean_is_exclusive(x_1856)) { - lean_ctor_release(x_1856, 0); - x_1862 = x_1856; -} else { - lean_dec_ref(x_1856); - x_1862 = lean_box(0); -} -if (lean_obj_tag(x_1861) == 4) -{ -lean_object* x_1863; lean_object* x_1864; lean_object* x_1865; size_t x_1866; size_t x_1867; lean_object* x_1868; lean_object* x_1869; lean_object* x_1870; size_t x_1871; lean_object* x_1872; -x_1863 = lean_ctor_get(x_1851, 0); -lean_inc(x_1863); -lean_dec(x_1851); -x_1864 = lean_ctor_get(x_1861, 0); -lean_inc(x_1864); -lean_dec(x_1861); -x_1865 = lean_array_get_size(x_1864); -x_1866 = lean_usize_of_nat(x_1865); -lean_dec(x_1865); -x_1867 = 0; -x_1868 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1866, x_1867, x_1864); -x_1869 = lean_ctor_get(x_1868, 0); -lean_inc(x_1869); -lean_dec(x_1868); -x_1870 = lean_array_get_size(x_1869); -x_1871 = lean_usize_of_nat(x_1870); -lean_dec(x_1870); -x_1872 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1871, x_1867, x_1869, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1872) == 0) -{ -lean_object* x_1873; lean_object* x_1874; lean_object* x_1875; -lean_dec(x_1863); -lean_dec(x_1862); -lean_dec(x_1848); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -x_1873 = lean_ctor_get(x_1872, 0); -lean_inc(x_1873); -if (lean_is_exclusive(x_1872)) { - lean_ctor_release(x_1872, 0); - x_1874 = x_1872; -} else { - lean_dec_ref(x_1872); - x_1874 = lean_box(0); -} -if (lean_is_scalar(x_1874)) { - x_1875 = lean_alloc_ctor(0, 1, 0); -} else { - x_1875 = x_1874; -} -lean_ctor_set(x_1875, 0, x_1873); -return x_1875; -} -else -{ -lean_object* x_1876; lean_object* x_1877; lean_object* x_1878; lean_object* x_1879; lean_object* x_1880; -x_1876 = lean_ctor_get(x_1872, 0); -lean_inc(x_1876); -if (lean_is_exclusive(x_1872)) { - lean_ctor_release(x_1872, 0); - x_1877 = x_1872; -} else { - lean_dec_ref(x_1872); - x_1877 = lean_box(0); -} -if (lean_is_scalar(x_1862)) { - x_1878 = lean_alloc_ctor(1, 1, 0); -} else { - x_1878 = x_1862; -} -lean_ctor_set(x_1878, 0, x_1876); -x_1879 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1879, 0, x_1492); -lean_ctor_set(x_1879, 1, x_1499); -lean_ctor_set(x_1879, 2, x_1743); -lean_ctor_set(x_1879, 3, x_1744); -lean_ctor_set(x_1879, 4, x_1848); -lean_ctor_set(x_1879, 5, x_1863); -lean_ctor_set(x_1879, 6, x_1743); -lean_ctor_set(x_1879, 7, x_1878); -if (lean_is_scalar(x_1877)) { - x_1880 = lean_alloc_ctor(1, 1, 0); -} else { - x_1880 = x_1877; -} -lean_ctor_set(x_1880, 0, x_1879); -return x_1880; +lean_object* x_889; lean_object* x_890; +x_889 = lean_ctor_get(x_887, 0); +lean_inc(x_889); +lean_dec(x_887); +x_890 = lean_alloc_ctor(0, 1, 0); +lean_ctor_set(x_890, 0, x_889); +return x_890; } } else { -lean_object* x_1881; lean_object* x_1882; lean_object* x_1883; lean_object* x_1884; lean_object* x_1885; lean_object* x_1886; lean_object* x_1887; lean_object* x_1888; -lean_dec(x_1862); -lean_dec(x_1848); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -if (lean_is_exclusive(x_1851)) { - lean_ctor_release(x_1851, 0); - x_1881 = x_1851; -} else { - lean_dec_ref(x_1851); - x_1881 = lean_box(0); -} -x_1882 = lean_unsigned_to_nat(80u); -x_1883 = l_Lean_Json_pretty(x_1861, x_1882); -x_1884 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1885 = lean_string_append(x_1884, x_1883); -lean_dec(x_1883); -x_1886 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1887 = lean_string_append(x_1885, x_1886); -if (lean_is_scalar(x_1881)) { - x_1888 = lean_alloc_ctor(0, 1, 0); -} else { - x_1888 = x_1881; - lean_ctor_set_tag(x_1888, 0); -} -lean_ctor_set(x_1888, 0, x_1887); -return x_1888; -} -} -} -else -{ -lean_object* x_1889; lean_object* x_1890; -x_1889 = lean_ctor_get(x_1855, 0); -lean_inc(x_1889); -if (lean_is_exclusive(x_1855)) { - lean_ctor_release(x_1855, 0); - x_1890 = x_1855; -} else { - lean_dec_ref(x_1855); - x_1890 = lean_box(0); -} -if (lean_obj_tag(x_1889) == 4) -{ -lean_object* x_1891; lean_object* x_1892; lean_object* x_1893; size_t x_1894; size_t x_1895; lean_object* x_1896; lean_object* x_1897; lean_object* x_1898; size_t x_1899; lean_object* x_1900; -x_1891 = lean_ctor_get(x_1851, 0); -lean_inc(x_1891); -lean_dec(x_1851); -x_1892 = lean_ctor_get(x_1889, 0); -lean_inc(x_1892); -lean_dec(x_1889); -x_1893 = lean_array_get_size(x_1892); -x_1894 = lean_usize_of_nat(x_1893); -lean_dec(x_1893); -x_1895 = 0; -x_1896 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1894, x_1895, x_1892); -x_1897 = lean_ctor_get(x_1896, 0); -lean_inc(x_1897); -lean_dec(x_1896); -x_1898 = lean_array_get_size(x_1897); -x_1899 = lean_usize_of_nat(x_1898); -lean_dec(x_1898); -x_1900 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1899, x_1895, x_1897, x_3); -if (lean_obj_tag(x_1900) == 0) -{ -lean_object* x_1901; lean_object* x_1902; lean_object* x_1903; -lean_dec(x_1891); -lean_dec(x_1890); -lean_dec(x_1848); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -x_1901 = lean_ctor_get(x_1900, 0); -lean_inc(x_1901); -if (lean_is_exclusive(x_1900)) { - lean_ctor_release(x_1900, 0); - x_1902 = x_1900; -} else { - lean_dec_ref(x_1900); - x_1902 = lean_box(0); -} -if (lean_is_scalar(x_1902)) { - x_1903 = lean_alloc_ctor(0, 1, 0); -} else { - x_1903 = x_1902; -} -lean_ctor_set(x_1903, 0, x_1901); -return x_1903; -} -else -{ -lean_object* x_1904; lean_object* x_1905; lean_object* x_1906; lean_object* x_1907; -x_1904 = lean_ctor_get(x_1900, 0); -lean_inc(x_1904); -if (lean_is_exclusive(x_1900)) { - lean_ctor_release(x_1900, 0); - x_1905 = x_1900; -} else { - lean_dec_ref(x_1900); - x_1905 = lean_box(0); -} -if (lean_is_scalar(x_1890)) { - x_1906 = lean_alloc_ctor(1, 1, 0); -} else { - x_1906 = x_1890; -} -lean_ctor_set(x_1906, 0, x_1904); -x_1907 = lean_ctor_get(x_5, 7); -lean_inc(x_1907); -lean_dec(x_5); -if (lean_obj_tag(x_1907) == 0) -{ -lean_object* x_1908; lean_object* x_1909; -lean_dec(x_3); -x_1908 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1908, 0, x_1492); -lean_ctor_set(x_1908, 1, x_1499); -lean_ctor_set(x_1908, 2, x_1743); -lean_ctor_set(x_1908, 3, x_1744); -lean_ctor_set(x_1908, 4, x_1848); -lean_ctor_set(x_1908, 5, x_1891); -lean_ctor_set(x_1908, 6, x_1906); -lean_ctor_set(x_1908, 7, x_1743); -if (lean_is_scalar(x_1905)) { - x_1909 = lean_alloc_ctor(1, 1, 0); -} else { - x_1909 = x_1905; -} -lean_ctor_set(x_1909, 0, x_1908); -return x_1909; -} -else -{ -lean_object* x_1910; lean_object* x_1911; -x_1910 = lean_ctor_get(x_1907, 0); -lean_inc(x_1910); -if (lean_is_exclusive(x_1907)) { - lean_ctor_release(x_1907, 0); - x_1911 = x_1907; -} else { - lean_dec_ref(x_1907); - x_1911 = lean_box(0); -} -if (lean_obj_tag(x_1910) == 4) -{ -lean_object* x_1912; lean_object* x_1913; size_t x_1914; lean_object* x_1915; lean_object* x_1916; lean_object* x_1917; size_t x_1918; lean_object* x_1919; -lean_dec(x_1905); -x_1912 = lean_ctor_get(x_1910, 0); -lean_inc(x_1912); -lean_dec(x_1910); -x_1913 = lean_array_get_size(x_1912); -x_1914 = lean_usize_of_nat(x_1913); -lean_dec(x_1913); -x_1915 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1914, x_1895, x_1912); -x_1916 = lean_ctor_get(x_1915, 0); -lean_inc(x_1916); -lean_dec(x_1915); -x_1917 = lean_array_get_size(x_1916); -x_1918 = lean_usize_of_nat(x_1917); -lean_dec(x_1917); -x_1919 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1918, x_1895, x_1916, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1919) == 0) -{ -lean_object* x_1920; lean_object* x_1921; lean_object* x_1922; -lean_dec(x_1911); -lean_dec(x_1906); -lean_dec(x_1891); -lean_dec(x_1848); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -x_1920 = lean_ctor_get(x_1919, 0); -lean_inc(x_1920); -if (lean_is_exclusive(x_1919)) { - lean_ctor_release(x_1919, 0); - x_1921 = x_1919; -} else { - lean_dec_ref(x_1919); - x_1921 = lean_box(0); -} -if (lean_is_scalar(x_1921)) { - x_1922 = lean_alloc_ctor(0, 1, 0); -} else { - x_1922 = x_1921; -} -lean_ctor_set(x_1922, 0, x_1920); -return x_1922; -} -else -{ -lean_object* x_1923; lean_object* x_1924; lean_object* x_1925; lean_object* x_1926; lean_object* x_1927; -x_1923 = lean_ctor_get(x_1919, 0); -lean_inc(x_1923); -if (lean_is_exclusive(x_1919)) { - lean_ctor_release(x_1919, 0); - x_1924 = x_1919; -} else { - lean_dec_ref(x_1919); - x_1924 = lean_box(0); -} -if (lean_is_scalar(x_1911)) { - x_1925 = lean_alloc_ctor(1, 1, 0); -} else { - x_1925 = x_1911; -} -lean_ctor_set(x_1925, 0, x_1923); -x_1926 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1926, 0, x_1492); -lean_ctor_set(x_1926, 1, x_1499); -lean_ctor_set(x_1926, 2, x_1743); -lean_ctor_set(x_1926, 3, x_1744); -lean_ctor_set(x_1926, 4, x_1848); -lean_ctor_set(x_1926, 5, x_1891); -lean_ctor_set(x_1926, 6, x_1906); -lean_ctor_set(x_1926, 7, x_1925); -if (lean_is_scalar(x_1924)) { - x_1927 = lean_alloc_ctor(1, 1, 0); -} else { - x_1927 = x_1924; -} -lean_ctor_set(x_1927, 0, x_1926); -return x_1927; -} -} -else -{ -lean_object* x_1928; lean_object* x_1929; lean_object* x_1930; lean_object* x_1931; lean_object* x_1932; lean_object* x_1933; lean_object* x_1934; -lean_dec(x_1911); -lean_dec(x_1906); -lean_dec(x_1891); -lean_dec(x_1848); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -x_1928 = lean_unsigned_to_nat(80u); -x_1929 = l_Lean_Json_pretty(x_1910, x_1928); -x_1930 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1931 = lean_string_append(x_1930, x_1929); -lean_dec(x_1929); -x_1932 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1933 = lean_string_append(x_1931, x_1932); -if (lean_is_scalar(x_1905)) { - x_1934 = lean_alloc_ctor(0, 1, 0); -} else { - x_1934 = x_1905; - lean_ctor_set_tag(x_1934, 0); -} -lean_ctor_set(x_1934, 0, x_1933); -return x_1934; -} -} -} -} -else -{ -lean_object* x_1935; lean_object* x_1936; lean_object* x_1937; lean_object* x_1938; lean_object* x_1939; lean_object* x_1940; lean_object* x_1941; lean_object* x_1942; -lean_dec(x_1890); -lean_dec(x_1848); -lean_dec(x_1744); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -if (lean_is_exclusive(x_1851)) { - lean_ctor_release(x_1851, 0); - x_1935 = x_1851; -} else { - lean_dec_ref(x_1851); - x_1935 = lean_box(0); -} -x_1936 = lean_unsigned_to_nat(80u); -x_1937 = l_Lean_Json_pretty(x_1889, x_1936); -x_1938 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1939 = lean_string_append(x_1938, x_1937); -lean_dec(x_1937); -x_1940 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1941 = lean_string_append(x_1939, x_1940); -if (lean_is_scalar(x_1935)) { - x_1942 = lean_alloc_ctor(0, 1, 0); -} else { - x_1942 = x_1935; - lean_ctor_set_tag(x_1942, 0); -} -lean_ctor_set(x_1942, 0, x_1941); -return x_1942; -} -} -} -} -} -} -block_1950: -{ -if (lean_obj_tag(x_1944) == 0) -{ -lean_object* x_1945; lean_object* x_1946; lean_object* x_1947; -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1945 = lean_ctor_get(x_1944, 0); -lean_inc(x_1945); -if (lean_is_exclusive(x_1944)) { - lean_ctor_release(x_1944, 0); - x_1946 = x_1944; -} else { - lean_dec_ref(x_1944); - x_1946 = lean_box(0); -} -if (lean_is_scalar(x_1946)) { - x_1947 = lean_alloc_ctor(0, 1, 0); -} else { - x_1947 = x_1946; -} -lean_ctor_set(x_1947, 0, x_1945); -return x_1947; -} -else -{ -lean_object* x_1948; lean_object* x_1949; -x_1948 = lean_ctor_get(x_1944, 0); -lean_inc(x_1948); -lean_dec(x_1944); -x_1949 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1949, 0, x_1948); -x_1744 = x_1949; -goto block_1943; -} -} -} -else -{ -lean_object* x_1981; lean_object* x_1982; lean_object* x_1983; -x_1981 = lean_ctor_get(x_1742, 0); -lean_inc(x_1981); -if (lean_is_exclusive(x_1742)) { - lean_ctor_release(x_1742, 0); - x_1982 = x_1742; -} else { - lean_dec_ref(x_1742); - x_1982 = lean_box(0); -} -x_1983 = l_Lean_Json_getNat_x3f(x_1981); -if (lean_obj_tag(x_1983) == 0) -{ -lean_object* x_1984; lean_object* x_1985; lean_object* x_1986; lean_object* x_1987; lean_object* x_1988; lean_object* x_1989; lean_object* x_1990; lean_object* x_1991; lean_object* x_1992; -if (lean_is_exclusive(x_1983)) { - lean_ctor_release(x_1983, 0); - x_1984 = x_1983; -} else { - lean_dec_ref(x_1983); - x_1984 = lean_box(0); -} -x_1985 = lean_unsigned_to_nat(80u); -x_1986 = l_Lean_Json_pretty(x_1981, x_1985); -x_1987 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_1988 = lean_string_append(x_1987, x_1986); -lean_dec(x_1986); -x_1989 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1990 = lean_string_append(x_1988, x_1989); -if (lean_is_scalar(x_1984)) { - x_1991 = lean_alloc_ctor(0, 1, 0); -} else { - x_1991 = x_1984; -} -lean_ctor_set(x_1991, 0, x_1990); -x_1992 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_1991, x_3); -if (lean_obj_tag(x_1992) == 0) -{ -lean_object* x_1993; lean_object* x_1994; lean_object* x_1995; -lean_dec(x_1982); -lean_dec(x_1500); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1993 = lean_ctor_get(x_1992, 0); -lean_inc(x_1993); -if (lean_is_exclusive(x_1992)) { - lean_ctor_release(x_1992, 0); - x_1994 = x_1992; -} else { - lean_dec_ref(x_1992); - x_1994 = lean_box(0); -} -if (lean_is_scalar(x_1994)) { - x_1995 = lean_alloc_ctor(0, 1, 0); -} else { - x_1995 = x_1994; -} -lean_ctor_set(x_1995, 0, x_1993); -return x_1995; -} -else -{ -lean_object* x_1996; lean_object* x_1997; -x_1996 = lean_ctor_get(x_1992, 0); -lean_inc(x_1996); -lean_dec(x_1992); -if (lean_is_scalar(x_1982)) { - x_1997 = lean_alloc_ctor(1, 1, 0); -} else { - x_1997 = x_1982; -} -lean_ctor_set(x_1997, 0, x_1996); -x_1501 = x_1997; -goto block_1741; -} -} -else -{ -lean_object* x_1998; lean_object* x_1999; lean_object* x_2000; uint8_t x_2001; -x_1998 = lean_ctor_get(x_1983, 0); -lean_inc(x_1998); -if (lean_is_exclusive(x_1983)) { - lean_ctor_release(x_1983, 0); - x_1999 = x_1983; -} else { - lean_dec_ref(x_1983); - x_1999 = lean_box(0); -} -x_2000 = lean_unsigned_to_nat(1u); -x_2001 = lean_nat_dec_eq(x_1998, x_2000); -if (x_2001 == 0) -{ -lean_object* x_2002; uint8_t x_2003; -x_2002 = lean_unsigned_to_nat(2u); -x_2003 = lean_nat_dec_eq(x_1998, x_2002); -if (x_2003 == 0) -{ -lean_object* x_2004; uint8_t x_2005; -x_2004 = lean_unsigned_to_nat(3u); -x_2005 = lean_nat_dec_eq(x_1998, x_2004); -if (x_2005 == 0) -{ -lean_object* x_2006; uint8_t x_2007; -x_2006 = lean_unsigned_to_nat(4u); -x_2007 = lean_nat_dec_eq(x_1998, x_2006); -lean_dec(x_1998); -if (x_2007 == 0) -{ -lean_object* x_2008; lean_object* x_2009; lean_object* x_2010; lean_object* x_2011; lean_object* x_2012; lean_object* x_2013; lean_object* x_2014; lean_object* x_2015; -x_2008 = lean_unsigned_to_nat(80u); -x_2009 = l_Lean_Json_pretty(x_1981, x_2008); -x_2010 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2; -x_2011 = lean_string_append(x_2010, x_2009); -lean_dec(x_2009); -x_2012 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_2013 = lean_string_append(x_2011, x_2012); -if (lean_is_scalar(x_1999)) { - x_2014 = lean_alloc_ctor(0, 1, 0); -} else { - x_2014 = x_1999; - lean_ctor_set_tag(x_2014, 0); -} -lean_ctor_set(x_2014, 0, x_2013); -x_2015 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_2014, x_3); -if (lean_obj_tag(x_2015) == 0) -{ -lean_object* x_2016; lean_object* x_2017; lean_object* x_2018; -lean_dec(x_1982); -lean_dec(x_1500); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2016 = lean_ctor_get(x_2015, 0); -lean_inc(x_2016); -if (lean_is_exclusive(x_2015)) { - lean_ctor_release(x_2015, 0); - x_2017 = x_2015; -} else { - lean_dec_ref(x_2015); - x_2017 = lean_box(0); -} -if (lean_is_scalar(x_2017)) { - x_2018 = lean_alloc_ctor(0, 1, 0); -} else { - x_2018 = x_2017; -} -lean_ctor_set(x_2018, 0, x_2016); -return x_2018; -} -else -{ -lean_object* x_2019; lean_object* x_2020; -x_2019 = lean_ctor_get(x_2015, 0); -lean_inc(x_2019); -lean_dec(x_2015); -if (lean_is_scalar(x_1982)) { - x_2020 = lean_alloc_ctor(1, 1, 0); -} else { - x_2020 = x_1982; -} -lean_ctor_set(x_2020, 0, x_2019); -x_1501 = x_2020; -goto block_1741; -} -} -else -{ -lean_object* x_2021; lean_object* x_2022; -lean_dec(x_1999); -lean_dec(x_1981); -x_2021 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__3; -x_2022 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_2021, x_3); -if (lean_obj_tag(x_2022) == 0) -{ -lean_object* x_2023; lean_object* x_2024; lean_object* x_2025; -lean_dec(x_1982); -lean_dec(x_1500); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2023 = lean_ctor_get(x_2022, 0); -lean_inc(x_2023); -if (lean_is_exclusive(x_2022)) { - lean_ctor_release(x_2022, 0); - x_2024 = x_2022; -} else { - lean_dec_ref(x_2022); - x_2024 = lean_box(0); -} -if (lean_is_scalar(x_2024)) { - x_2025 = lean_alloc_ctor(0, 1, 0); -} else { - x_2025 = x_2024; -} -lean_ctor_set(x_2025, 0, x_2023); -return x_2025; -} -else -{ -lean_object* x_2026; lean_object* x_2027; -x_2026 = lean_ctor_get(x_2022, 0); -lean_inc(x_2026); -lean_dec(x_2022); -if (lean_is_scalar(x_1982)) { - x_2027 = lean_alloc_ctor(1, 1, 0); -} else { - x_2027 = x_1982; -} -lean_ctor_set(x_2027, 0, x_2026); -x_1501 = x_2027; -goto block_1741; -} -} -} -else -{ -lean_object* x_2028; lean_object* x_2029; -lean_dec(x_1999); -lean_dec(x_1998); -lean_dec(x_1981); -x_2028 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__4; -x_2029 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_2028, x_3); -if (lean_obj_tag(x_2029) == 0) -{ -lean_object* x_2030; lean_object* x_2031; lean_object* x_2032; -lean_dec(x_1982); -lean_dec(x_1500); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2030 = lean_ctor_get(x_2029, 0); -lean_inc(x_2030); -if (lean_is_exclusive(x_2029)) { - lean_ctor_release(x_2029, 0); - x_2031 = x_2029; -} else { - lean_dec_ref(x_2029); - x_2031 = lean_box(0); -} -if (lean_is_scalar(x_2031)) { - x_2032 = lean_alloc_ctor(0, 1, 0); -} else { - x_2032 = x_2031; -} -lean_ctor_set(x_2032, 0, x_2030); -return x_2032; -} -else -{ -lean_object* x_2033; lean_object* x_2034; -x_2033 = lean_ctor_get(x_2029, 0); -lean_inc(x_2033); -lean_dec(x_2029); -if (lean_is_scalar(x_1982)) { - x_2034 = lean_alloc_ctor(1, 1, 0); -} else { - x_2034 = x_1982; -} -lean_ctor_set(x_2034, 0, x_2033); -x_1501 = x_2034; -goto block_1741; -} -} -} -else -{ -lean_object* x_2035; lean_object* x_2036; -lean_dec(x_1999); -lean_dec(x_1998); -lean_dec(x_1981); -x_2035 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__5; -x_2036 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_2035, x_3); -if (lean_obj_tag(x_2036) == 0) -{ -lean_object* x_2037; lean_object* x_2038; lean_object* x_2039; -lean_dec(x_1982); -lean_dec(x_1500); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2037 = lean_ctor_get(x_2036, 0); -lean_inc(x_2037); -if (lean_is_exclusive(x_2036)) { - lean_ctor_release(x_2036, 0); - x_2038 = x_2036; -} else { - lean_dec_ref(x_2036); - x_2038 = lean_box(0); -} -if (lean_is_scalar(x_2038)) { - x_2039 = lean_alloc_ctor(0, 1, 0); -} else { - x_2039 = x_2038; -} -lean_ctor_set(x_2039, 0, x_2037); -return x_2039; -} -else -{ -lean_object* x_2040; lean_object* x_2041; -x_2040 = lean_ctor_get(x_2036, 0); -lean_inc(x_2040); -lean_dec(x_2036); -if (lean_is_scalar(x_1982)) { - x_2041 = lean_alloc_ctor(1, 1, 0); -} else { - x_2041 = x_1982; -} -lean_ctor_set(x_2041, 0, x_2040); -x_1501 = x_2041; -goto block_1741; -} -} -} -else -{ -lean_object* x_2042; lean_object* x_2043; -lean_dec(x_1999); -lean_dec(x_1998); -lean_dec(x_1981); -x_2042 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__6; -x_2043 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6(x_2042, x_3); -if (lean_obj_tag(x_2043) == 0) -{ -lean_object* x_2044; lean_object* x_2045; lean_object* x_2046; -lean_dec(x_1982); -lean_dec(x_1500); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_2044 = lean_ctor_get(x_2043, 0); -lean_inc(x_2044); -if (lean_is_exclusive(x_2043)) { - lean_ctor_release(x_2043, 0); - x_2045 = x_2043; -} else { - lean_dec_ref(x_2043); - x_2045 = lean_box(0); -} -if (lean_is_scalar(x_2045)) { - x_2046 = lean_alloc_ctor(0, 1, 0); -} else { - x_2046 = x_2045; -} -lean_ctor_set(x_2046, 0, x_2044); -return x_2046; -} -else -{ -lean_object* x_2047; lean_object* x_2048; -x_2047 = lean_ctor_get(x_2043, 0); -lean_inc(x_2047); -lean_dec(x_2043); -if (lean_is_scalar(x_1982)) { - x_2048 = lean_alloc_ctor(1, 1, 0); -} else { - x_2048 = x_1982; -} -lean_ctor_set(x_2048, 0, x_2047); -x_1501 = x_2048; -goto block_1741; -} -} -} -} -block_1741: -{ -lean_object* x_1502; lean_object* x_1703; lean_object* x_1710; -x_1710 = lean_ctor_get(x_5, 3); -lean_inc(x_1710); -if (lean_obj_tag(x_1710) == 0) -{ -lean_object* x_1711; -lean_dec(x_1500); -x_1711 = lean_box(0); -x_1502 = x_1711; -goto block_1702; -} -else -{ -lean_object* x_1712; -x_1712 = lean_ctor_get(x_1710, 0); -lean_inc(x_1712); -lean_dec(x_1710); -switch (lean_obj_tag(x_1712)) { -case 2: -{ -lean_object* x_1713; lean_object* x_1714; lean_object* x_1715; lean_object* x_1716; uint8_t x_1717; -x_1713 = lean_ctor_get(x_1712, 0); -lean_inc(x_1713); -x_1714 = lean_ctor_get(x_1713, 0); -lean_inc(x_1714); -x_1715 = lean_ctor_get(x_1713, 1); -lean_inc(x_1715); -lean_dec(x_1713); -x_1716 = lean_unsigned_to_nat(0u); -x_1717 = lean_nat_dec_eq(x_1715, x_1716); -lean_dec(x_1715); -if (x_1717 == 0) -{ -lean_object* x_1718; lean_object* x_1719; lean_object* x_1720; lean_object* x_1721; lean_object* x_1722; lean_object* x_1723; lean_object* x_1724; lean_object* x_1725; -lean_dec(x_1714); -x_1718 = lean_unsigned_to_nat(80u); -x_1719 = l_Lean_Json_pretty(x_1712, x_1718); -x_1720 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_1721 = lean_string_append(x_1720, x_1719); -lean_dec(x_1719); -x_1722 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1723 = lean_string_append(x_1721, x_1722); -if (lean_is_scalar(x_1500)) { - x_1724 = lean_alloc_ctor(0, 1, 0); -} else { - x_1724 = x_1500; - lean_ctor_set_tag(x_1724, 0); -} -lean_ctor_set(x_1724, 0, x_1723); -x_1725 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1724, x_3); -x_1703 = x_1725; -goto block_1709; -} -else -{ -lean_object* x_1726; lean_object* x_1727; lean_object* x_1728; -lean_dec(x_1712); -x_1726 = lean_alloc_ctor(0, 1, 0); -lean_ctor_set(x_1726, 0, x_1714); -if (lean_is_scalar(x_1500)) { - x_1727 = lean_alloc_ctor(1, 1, 0); -} else { - x_1727 = x_1500; -} -lean_ctor_set(x_1727, 0, x_1726); -x_1728 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1727, x_3); -x_1703 = x_1728; -goto block_1709; -} -} -case 3: -{ -lean_object* x_1729; lean_object* x_1730; lean_object* x_1731; lean_object* x_1732; -x_1729 = lean_ctor_get(x_1712, 0); -lean_inc(x_1729); -lean_dec(x_1712); -x_1730 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1730, 0, x_1729); -if (lean_is_scalar(x_1500)) { - x_1731 = lean_alloc_ctor(1, 1, 0); -} else { - x_1731 = x_1500; -} -lean_ctor_set(x_1731, 0, x_1730); -x_1732 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1731, x_3); -x_1703 = x_1732; -goto block_1709; -} -default: -{ -lean_object* x_1733; lean_object* x_1734; lean_object* x_1735; lean_object* x_1736; lean_object* x_1737; lean_object* x_1738; lean_object* x_1739; lean_object* x_1740; -x_1733 = lean_unsigned_to_nat(80u); -x_1734 = l_Lean_Json_pretty(x_1712, x_1733); -x_1735 = l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1; -x_1736 = lean_string_append(x_1735, x_1734); -lean_dec(x_1734); -x_1737 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1738 = lean_string_append(x_1736, x_1737); -if (lean_is_scalar(x_1500)) { - x_1739 = lean_alloc_ctor(0, 1, 0); -} else { - x_1739 = x_1500; - lean_ctor_set_tag(x_1739, 0); -} -lean_ctor_set(x_1739, 0, x_1738); -x_1740 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1739, x_3); -x_1703 = x_1740; -goto block_1709; -} -} -} -block_1702: -{ -lean_object* x_1503; -x_1503 = lean_ctor_get(x_5, 4); -lean_inc(x_1503); -if (lean_obj_tag(x_1503) == 0) -{ -lean_object* x_1504; lean_object* x_1505; lean_object* x_1506; lean_object* x_1507; -x_1504 = lean_box(0); -x_1505 = lean_ctor_get(x_1, 1); -lean_inc(x_1505); -lean_dec(x_1); -x_1506 = lean_ctor_get(x_5, 5); -lean_inc(x_1506); -lean_inc(x_3); -x_1507 = lean_apply_2(x_1505, x_1506, x_3); -if (lean_obj_tag(x_1507) == 0) -{ -lean_object* x_1508; lean_object* x_1509; lean_object* x_1510; -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -x_1508 = lean_ctor_get(x_1507, 0); -lean_inc(x_1508); -if (lean_is_exclusive(x_1507)) { - lean_ctor_release(x_1507, 0); - x_1509 = x_1507; -} else { - lean_dec_ref(x_1507); - x_1509 = lean_box(0); -} -if (lean_is_scalar(x_1509)) { - x_1510 = lean_alloc_ctor(0, 1, 0); -} else { - x_1510 = x_1509; -} -lean_ctor_set(x_1510, 0, x_1508); -return x_1510; -} -else -{ -lean_object* x_1511; -x_1511 = lean_ctor_get(x_5, 6); -lean_inc(x_1511); -if (lean_obj_tag(x_1511) == 0) -{ -lean_object* x_1512; -x_1512 = lean_ctor_get(x_5, 7); -lean_inc(x_1512); -lean_dec(x_5); -if (lean_obj_tag(x_1512) == 0) -{ -lean_object* x_1513; lean_object* x_1514; lean_object* x_1515; lean_object* x_1516; -lean_dec(x_3); -x_1513 = lean_ctor_get(x_1507, 0); -lean_inc(x_1513); -if (lean_is_exclusive(x_1507)) { - lean_ctor_release(x_1507, 0); - x_1514 = x_1507; -} else { - lean_dec_ref(x_1507); - x_1514 = lean_box(0); -} -x_1515 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1515, 0, x_1492); -lean_ctor_set(x_1515, 1, x_1499); -lean_ctor_set(x_1515, 2, x_1501); -lean_ctor_set(x_1515, 3, x_1502); -lean_ctor_set(x_1515, 4, x_1504); -lean_ctor_set(x_1515, 5, x_1513); -lean_ctor_set(x_1515, 6, x_1504); -lean_ctor_set(x_1515, 7, x_1504); -if (lean_is_scalar(x_1514)) { - x_1516 = lean_alloc_ctor(1, 1, 0); -} else { - x_1516 = x_1514; -} -lean_ctor_set(x_1516, 0, x_1515); -return x_1516; -} -else -{ -lean_object* x_1517; lean_object* x_1518; -x_1517 = lean_ctor_get(x_1512, 0); -lean_inc(x_1517); -if (lean_is_exclusive(x_1512)) { - lean_ctor_release(x_1512, 0); - x_1518 = x_1512; -} else { - lean_dec_ref(x_1512); - x_1518 = lean_box(0); -} -if (lean_obj_tag(x_1517) == 4) -{ -lean_object* x_1519; lean_object* x_1520; lean_object* x_1521; size_t x_1522; size_t x_1523; lean_object* x_1524; lean_object* x_1525; lean_object* x_1526; size_t x_1527; lean_object* x_1528; -x_1519 = lean_ctor_get(x_1507, 0); -lean_inc(x_1519); -lean_dec(x_1507); -x_1520 = lean_ctor_get(x_1517, 0); -lean_inc(x_1520); -lean_dec(x_1517); -x_1521 = lean_array_get_size(x_1520); -x_1522 = lean_usize_of_nat(x_1521); -lean_dec(x_1521); -x_1523 = 0; -x_1524 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1522, x_1523, x_1520); -x_1525 = lean_ctor_get(x_1524, 0); -lean_inc(x_1525); -lean_dec(x_1524); -x_1526 = lean_array_get_size(x_1525); -x_1527 = lean_usize_of_nat(x_1526); -lean_dec(x_1526); -x_1528 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1527, x_1523, x_1525, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1528) == 0) -{ -lean_object* x_1529; lean_object* x_1530; lean_object* x_1531; -lean_dec(x_1519); -lean_dec(x_1518); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -x_1529 = lean_ctor_get(x_1528, 0); -lean_inc(x_1529); -if (lean_is_exclusive(x_1528)) { - lean_ctor_release(x_1528, 0); - x_1530 = x_1528; -} else { - lean_dec_ref(x_1528); - x_1530 = lean_box(0); -} -if (lean_is_scalar(x_1530)) { - x_1531 = lean_alloc_ctor(0, 1, 0); -} else { - x_1531 = x_1530; -} -lean_ctor_set(x_1531, 0, x_1529); -return x_1531; -} -else -{ -lean_object* x_1532; lean_object* x_1533; lean_object* x_1534; lean_object* x_1535; lean_object* x_1536; -x_1532 = lean_ctor_get(x_1528, 0); -lean_inc(x_1532); -if (lean_is_exclusive(x_1528)) { - lean_ctor_release(x_1528, 0); - x_1533 = x_1528; -} else { - lean_dec_ref(x_1528); - x_1533 = lean_box(0); -} -if (lean_is_scalar(x_1518)) { - x_1534 = lean_alloc_ctor(1, 1, 0); -} else { - x_1534 = x_1518; -} -lean_ctor_set(x_1534, 0, x_1532); -x_1535 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1535, 0, x_1492); -lean_ctor_set(x_1535, 1, x_1499); -lean_ctor_set(x_1535, 2, x_1501); -lean_ctor_set(x_1535, 3, x_1502); -lean_ctor_set(x_1535, 4, x_1504); -lean_ctor_set(x_1535, 5, x_1519); -lean_ctor_set(x_1535, 6, x_1504); -lean_ctor_set(x_1535, 7, x_1534); -if (lean_is_scalar(x_1533)) { - x_1536 = lean_alloc_ctor(1, 1, 0); -} else { - x_1536 = x_1533; -} -lean_ctor_set(x_1536, 0, x_1535); -return x_1536; -} -} -else -{ -lean_object* x_1537; lean_object* x_1538; lean_object* x_1539; lean_object* x_1540; lean_object* x_1541; lean_object* x_1542; lean_object* x_1543; lean_object* x_1544; -lean_dec(x_1518); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -if (lean_is_exclusive(x_1507)) { - lean_ctor_release(x_1507, 0); - x_1537 = x_1507; -} else { - lean_dec_ref(x_1507); - x_1537 = lean_box(0); -} -x_1538 = lean_unsigned_to_nat(80u); -x_1539 = l_Lean_Json_pretty(x_1517, x_1538); -x_1540 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1541 = lean_string_append(x_1540, x_1539); -lean_dec(x_1539); -x_1542 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1543 = lean_string_append(x_1541, x_1542); -if (lean_is_scalar(x_1537)) { - x_1544 = lean_alloc_ctor(0, 1, 0); -} else { - x_1544 = x_1537; - lean_ctor_set_tag(x_1544, 0); -} -lean_ctor_set(x_1544, 0, x_1543); -return x_1544; -} -} -} -else -{ -lean_object* x_1545; lean_object* x_1546; -x_1545 = lean_ctor_get(x_1511, 0); -lean_inc(x_1545); -if (lean_is_exclusive(x_1511)) { - lean_ctor_release(x_1511, 0); - x_1546 = x_1511; -} else { - lean_dec_ref(x_1511); - x_1546 = lean_box(0); -} -if (lean_obj_tag(x_1545) == 4) -{ -lean_object* x_1547; lean_object* x_1548; lean_object* x_1549; size_t x_1550; size_t x_1551; lean_object* x_1552; lean_object* x_1553; lean_object* x_1554; size_t x_1555; lean_object* x_1556; -x_1547 = lean_ctor_get(x_1507, 0); -lean_inc(x_1547); -lean_dec(x_1507); -x_1548 = lean_ctor_get(x_1545, 0); -lean_inc(x_1548); -lean_dec(x_1545); -x_1549 = lean_array_get_size(x_1548); -x_1550 = lean_usize_of_nat(x_1549); -lean_dec(x_1549); -x_1551 = 0; -x_1552 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1550, x_1551, x_1548); -x_1553 = lean_ctor_get(x_1552, 0); -lean_inc(x_1553); -lean_dec(x_1552); -x_1554 = lean_array_get_size(x_1553); -x_1555 = lean_usize_of_nat(x_1554); -lean_dec(x_1554); -x_1556 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1555, x_1551, x_1553, x_3); -if (lean_obj_tag(x_1556) == 0) -{ -lean_object* x_1557; lean_object* x_1558; lean_object* x_1559; -lean_dec(x_1547); -lean_dec(x_1546); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -x_1557 = lean_ctor_get(x_1556, 0); -lean_inc(x_1557); -if (lean_is_exclusive(x_1556)) { - lean_ctor_release(x_1556, 0); - x_1558 = x_1556; -} else { - lean_dec_ref(x_1556); - x_1558 = lean_box(0); -} -if (lean_is_scalar(x_1558)) { - x_1559 = lean_alloc_ctor(0, 1, 0); -} else { - x_1559 = x_1558; -} -lean_ctor_set(x_1559, 0, x_1557); -return x_1559; -} -else -{ -lean_object* x_1560; lean_object* x_1561; lean_object* x_1562; lean_object* x_1563; -x_1560 = lean_ctor_get(x_1556, 0); -lean_inc(x_1560); -if (lean_is_exclusive(x_1556)) { - lean_ctor_release(x_1556, 0); - x_1561 = x_1556; -} else { - lean_dec_ref(x_1556); - x_1561 = lean_box(0); -} -if (lean_is_scalar(x_1546)) { - x_1562 = lean_alloc_ctor(1, 1, 0); -} else { - x_1562 = x_1546; -} -lean_ctor_set(x_1562, 0, x_1560); -x_1563 = lean_ctor_get(x_5, 7); -lean_inc(x_1563); -lean_dec(x_5); -if (lean_obj_tag(x_1563) == 0) -{ -lean_object* x_1564; lean_object* x_1565; -lean_dec(x_3); -x_1564 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1564, 0, x_1492); -lean_ctor_set(x_1564, 1, x_1499); -lean_ctor_set(x_1564, 2, x_1501); -lean_ctor_set(x_1564, 3, x_1502); -lean_ctor_set(x_1564, 4, x_1504); -lean_ctor_set(x_1564, 5, x_1547); -lean_ctor_set(x_1564, 6, x_1562); -lean_ctor_set(x_1564, 7, x_1504); -if (lean_is_scalar(x_1561)) { - x_1565 = lean_alloc_ctor(1, 1, 0); -} else { - x_1565 = x_1561; -} -lean_ctor_set(x_1565, 0, x_1564); -return x_1565; -} -else -{ -lean_object* x_1566; lean_object* x_1567; -x_1566 = lean_ctor_get(x_1563, 0); -lean_inc(x_1566); -if (lean_is_exclusive(x_1563)) { - lean_ctor_release(x_1563, 0); - x_1567 = x_1563; -} else { - lean_dec_ref(x_1563); - x_1567 = lean_box(0); -} -if (lean_obj_tag(x_1566) == 4) -{ -lean_object* x_1568; lean_object* x_1569; size_t x_1570; lean_object* x_1571; lean_object* x_1572; lean_object* x_1573; size_t x_1574; lean_object* x_1575; -lean_dec(x_1561); -x_1568 = lean_ctor_get(x_1566, 0); -lean_inc(x_1568); -lean_dec(x_1566); -x_1569 = lean_array_get_size(x_1568); -x_1570 = lean_usize_of_nat(x_1569); -lean_dec(x_1569); -x_1571 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1570, x_1551, x_1568); -x_1572 = lean_ctor_get(x_1571, 0); -lean_inc(x_1572); -lean_dec(x_1571); -x_1573 = lean_array_get_size(x_1572); -x_1574 = lean_usize_of_nat(x_1573); -lean_dec(x_1573); -x_1575 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1574, x_1551, x_1572, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1575) == 0) -{ -lean_object* x_1576; lean_object* x_1577; lean_object* x_1578; -lean_dec(x_1567); -lean_dec(x_1562); -lean_dec(x_1547); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -x_1576 = lean_ctor_get(x_1575, 0); -lean_inc(x_1576); -if (lean_is_exclusive(x_1575)) { - lean_ctor_release(x_1575, 0); - x_1577 = x_1575; -} else { - lean_dec_ref(x_1575); - x_1577 = lean_box(0); -} -if (lean_is_scalar(x_1577)) { - x_1578 = lean_alloc_ctor(0, 1, 0); -} else { - x_1578 = x_1577; -} -lean_ctor_set(x_1578, 0, x_1576); -return x_1578; -} -else -{ -lean_object* x_1579; lean_object* x_1580; lean_object* x_1581; lean_object* x_1582; lean_object* x_1583; -x_1579 = lean_ctor_get(x_1575, 0); -lean_inc(x_1579); -if (lean_is_exclusive(x_1575)) { - lean_ctor_release(x_1575, 0); - x_1580 = x_1575; -} else { - lean_dec_ref(x_1575); - x_1580 = lean_box(0); -} -if (lean_is_scalar(x_1567)) { - x_1581 = lean_alloc_ctor(1, 1, 0); -} else { - x_1581 = x_1567; -} -lean_ctor_set(x_1581, 0, x_1579); -x_1582 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1582, 0, x_1492); -lean_ctor_set(x_1582, 1, x_1499); -lean_ctor_set(x_1582, 2, x_1501); -lean_ctor_set(x_1582, 3, x_1502); -lean_ctor_set(x_1582, 4, x_1504); -lean_ctor_set(x_1582, 5, x_1547); -lean_ctor_set(x_1582, 6, x_1562); -lean_ctor_set(x_1582, 7, x_1581); -if (lean_is_scalar(x_1580)) { - x_1583 = lean_alloc_ctor(1, 1, 0); -} else { - x_1583 = x_1580; -} -lean_ctor_set(x_1583, 0, x_1582); -return x_1583; -} -} -else -{ -lean_object* x_1584; lean_object* x_1585; lean_object* x_1586; lean_object* x_1587; lean_object* x_1588; lean_object* x_1589; lean_object* x_1590; -lean_dec(x_1567); -lean_dec(x_1562); -lean_dec(x_1547); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -x_1584 = lean_unsigned_to_nat(80u); -x_1585 = l_Lean_Json_pretty(x_1566, x_1584); -x_1586 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1587 = lean_string_append(x_1586, x_1585); -lean_dec(x_1585); -x_1588 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1589 = lean_string_append(x_1587, x_1588); -if (lean_is_scalar(x_1561)) { - x_1590 = lean_alloc_ctor(0, 1, 0); -} else { - x_1590 = x_1561; - lean_ctor_set_tag(x_1590, 0); -} -lean_ctor_set(x_1590, 0, x_1589); -return x_1590; -} -} -} -} -else -{ -lean_object* x_1591; lean_object* x_1592; lean_object* x_1593; lean_object* x_1594; lean_object* x_1595; lean_object* x_1596; lean_object* x_1597; lean_object* x_1598; -lean_dec(x_1546); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -if (lean_is_exclusive(x_1507)) { - lean_ctor_release(x_1507, 0); - x_1591 = x_1507; -} else { - lean_dec_ref(x_1507); - x_1591 = lean_box(0); -} -x_1592 = lean_unsigned_to_nat(80u); -x_1593 = l_Lean_Json_pretty(x_1545, x_1592); -x_1594 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1595 = lean_string_append(x_1594, x_1593); -lean_dec(x_1593); -x_1596 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1597 = lean_string_append(x_1595, x_1596); -if (lean_is_scalar(x_1591)) { - x_1598 = lean_alloc_ctor(0, 1, 0); -} else { - x_1598 = x_1591; - lean_ctor_set_tag(x_1598, 0); -} -lean_ctor_set(x_1598, 0, x_1597); -return x_1598; -} -} -} -} -else -{ -lean_object* x_1599; lean_object* x_1600; lean_object* x_1601; lean_object* x_1602; -x_1599 = lean_ctor_get(x_1503, 0); -lean_inc(x_1599); -if (lean_is_exclusive(x_1503)) { - lean_ctor_release(x_1503, 0); - x_1600 = x_1503; -} else { - lean_dec_ref(x_1503); - x_1600 = lean_box(0); -} -x_1601 = l_Lean_Json_getStr_x3f(x_1599); -lean_dec(x_1599); -x_1602 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableInteractiveGoal_dec____x40_Lean_Widget_InteractiveGoal___hyg_775____spec__2(x_1601, x_3); -if (lean_obj_tag(x_1602) == 0) -{ -lean_object* x_1603; lean_object* x_1604; lean_object* x_1605; -lean_dec(x_1600); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1603 = lean_ctor_get(x_1602, 0); -lean_inc(x_1603); -if (lean_is_exclusive(x_1602)) { - lean_ctor_release(x_1602, 0); - x_1604 = x_1602; -} else { - lean_dec_ref(x_1602); - x_1604 = lean_box(0); -} -if (lean_is_scalar(x_1604)) { - x_1605 = lean_alloc_ctor(0, 1, 0); -} else { - x_1605 = x_1604; -} -lean_ctor_set(x_1605, 0, x_1603); -return x_1605; -} -else -{ -lean_object* x_1606; lean_object* x_1607; lean_object* x_1608; lean_object* x_1609; lean_object* x_1610; -x_1606 = lean_ctor_get(x_1602, 0); -lean_inc(x_1606); -lean_dec(x_1602); -if (lean_is_scalar(x_1600)) { - x_1607 = lean_alloc_ctor(1, 1, 0); -} else { - x_1607 = x_1600; -} -lean_ctor_set(x_1607, 0, x_1606); -x_1608 = lean_ctor_get(x_1, 1); -lean_inc(x_1608); -lean_dec(x_1); -x_1609 = lean_ctor_get(x_5, 5); -lean_inc(x_1609); -lean_inc(x_3); -x_1610 = lean_apply_2(x_1608, x_1609, x_3); -if (lean_obj_tag(x_1610) == 0) -{ -lean_object* x_1611; lean_object* x_1612; lean_object* x_1613; -lean_dec(x_1607); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -x_1611 = lean_ctor_get(x_1610, 0); -lean_inc(x_1611); -if (lean_is_exclusive(x_1610)) { - lean_ctor_release(x_1610, 0); - x_1612 = x_1610; -} else { - lean_dec_ref(x_1610); - x_1612 = lean_box(0); -} -if (lean_is_scalar(x_1612)) { - x_1613 = lean_alloc_ctor(0, 1, 0); -} else { - x_1613 = x_1612; -} -lean_ctor_set(x_1613, 0, x_1611); -return x_1613; -} -else -{ -lean_object* x_1614; -x_1614 = lean_ctor_get(x_5, 6); -lean_inc(x_1614); -if (lean_obj_tag(x_1614) == 0) -{ -lean_object* x_1615; lean_object* x_1616; lean_object* x_1617; lean_object* x_1618; -x_1615 = lean_ctor_get(x_1610, 0); -lean_inc(x_1615); -if (lean_is_exclusive(x_1610)) { - lean_ctor_release(x_1610, 0); - x_1616 = x_1610; -} else { - lean_dec_ref(x_1610); - x_1616 = lean_box(0); -} -x_1617 = lean_box(0); -x_1618 = lean_ctor_get(x_5, 7); -lean_inc(x_1618); -lean_dec(x_5); -if (lean_obj_tag(x_1618) == 0) -{ -lean_object* x_1619; lean_object* x_1620; -lean_dec(x_3); -x_1619 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1619, 0, x_1492); -lean_ctor_set(x_1619, 1, x_1499); -lean_ctor_set(x_1619, 2, x_1501); -lean_ctor_set(x_1619, 3, x_1502); -lean_ctor_set(x_1619, 4, x_1607); -lean_ctor_set(x_1619, 5, x_1615); -lean_ctor_set(x_1619, 6, x_1617); -lean_ctor_set(x_1619, 7, x_1617); -if (lean_is_scalar(x_1616)) { - x_1620 = lean_alloc_ctor(1, 1, 0); -} else { - x_1620 = x_1616; -} -lean_ctor_set(x_1620, 0, x_1619); -return x_1620; -} -else -{ -lean_object* x_1621; lean_object* x_1622; -x_1621 = lean_ctor_get(x_1618, 0); -lean_inc(x_1621); -if (lean_is_exclusive(x_1618)) { - lean_ctor_release(x_1618, 0); - x_1622 = x_1618; -} else { - lean_dec_ref(x_1618); - x_1622 = lean_box(0); -} -if (lean_obj_tag(x_1621) == 4) -{ -lean_object* x_1623; lean_object* x_1624; size_t x_1625; size_t x_1626; lean_object* x_1627; lean_object* x_1628; lean_object* x_1629; size_t x_1630; lean_object* x_1631; -lean_dec(x_1616); -x_1623 = lean_ctor_get(x_1621, 0); -lean_inc(x_1623); -lean_dec(x_1621); -x_1624 = lean_array_get_size(x_1623); -x_1625 = lean_usize_of_nat(x_1624); -lean_dec(x_1624); -x_1626 = 0; -x_1627 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1625, x_1626, x_1623); -x_1628 = lean_ctor_get(x_1627, 0); -lean_inc(x_1628); -lean_dec(x_1627); -x_1629 = lean_array_get_size(x_1628); -x_1630 = lean_usize_of_nat(x_1629); -lean_dec(x_1629); -x_1631 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1630, x_1626, x_1628, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1631) == 0) -{ -lean_object* x_1632; lean_object* x_1633; lean_object* x_1634; -lean_dec(x_1622); -lean_dec(x_1615); -lean_dec(x_1607); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -x_1632 = lean_ctor_get(x_1631, 0); -lean_inc(x_1632); -if (lean_is_exclusive(x_1631)) { - lean_ctor_release(x_1631, 0); - x_1633 = x_1631; -} else { - lean_dec_ref(x_1631); - x_1633 = lean_box(0); -} -if (lean_is_scalar(x_1633)) { - x_1634 = lean_alloc_ctor(0, 1, 0); -} else { - x_1634 = x_1633; -} -lean_ctor_set(x_1634, 0, x_1632); -return x_1634; -} -else -{ -lean_object* x_1635; lean_object* x_1636; lean_object* x_1637; lean_object* x_1638; lean_object* x_1639; -x_1635 = lean_ctor_get(x_1631, 0); -lean_inc(x_1635); -if (lean_is_exclusive(x_1631)) { - lean_ctor_release(x_1631, 0); - x_1636 = x_1631; -} else { - lean_dec_ref(x_1631); - x_1636 = lean_box(0); -} -if (lean_is_scalar(x_1622)) { - x_1637 = lean_alloc_ctor(1, 1, 0); -} else { - x_1637 = x_1622; -} -lean_ctor_set(x_1637, 0, x_1635); -x_1638 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1638, 0, x_1492); -lean_ctor_set(x_1638, 1, x_1499); -lean_ctor_set(x_1638, 2, x_1501); -lean_ctor_set(x_1638, 3, x_1502); -lean_ctor_set(x_1638, 4, x_1607); -lean_ctor_set(x_1638, 5, x_1615); -lean_ctor_set(x_1638, 6, x_1617); -lean_ctor_set(x_1638, 7, x_1637); -if (lean_is_scalar(x_1636)) { - x_1639 = lean_alloc_ctor(1, 1, 0); -} else { - x_1639 = x_1636; -} -lean_ctor_set(x_1639, 0, x_1638); -return x_1639; -} -} -else -{ -lean_object* x_1640; lean_object* x_1641; lean_object* x_1642; lean_object* x_1643; lean_object* x_1644; lean_object* x_1645; lean_object* x_1646; -lean_dec(x_1622); -lean_dec(x_1615); -lean_dec(x_1607); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -x_1640 = lean_unsigned_to_nat(80u); -x_1641 = l_Lean_Json_pretty(x_1621, x_1640); -x_1642 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1643 = lean_string_append(x_1642, x_1641); -lean_dec(x_1641); -x_1644 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1645 = lean_string_append(x_1643, x_1644); -if (lean_is_scalar(x_1616)) { - x_1646 = lean_alloc_ctor(0, 1, 0); -} else { - x_1646 = x_1616; - lean_ctor_set_tag(x_1646, 0); -} -lean_ctor_set(x_1646, 0, x_1645); -return x_1646; -} -} -} -else -{ -lean_object* x_1647; lean_object* x_1648; -x_1647 = lean_ctor_get(x_1614, 0); -lean_inc(x_1647); -if (lean_is_exclusive(x_1614)) { - lean_ctor_release(x_1614, 0); - x_1648 = x_1614; -} else { - lean_dec_ref(x_1614); - x_1648 = lean_box(0); -} -if (lean_obj_tag(x_1647) == 4) -{ -lean_object* x_1649; lean_object* x_1650; lean_object* x_1651; size_t x_1652; size_t x_1653; lean_object* x_1654; lean_object* x_1655; lean_object* x_1656; size_t x_1657; lean_object* x_1658; -x_1649 = lean_ctor_get(x_1610, 0); -lean_inc(x_1649); -lean_dec(x_1610); -x_1650 = lean_ctor_get(x_1647, 0); -lean_inc(x_1650); -lean_dec(x_1647); -x_1651 = lean_array_get_size(x_1650); -x_1652 = lean_usize_of_nat(x_1651); -lean_dec(x_1651); -x_1653 = 0; -x_1654 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1652, x_1653, x_1650); -x_1655 = lean_ctor_get(x_1654, 0); -lean_inc(x_1655); -lean_dec(x_1654); -x_1656 = lean_array_get_size(x_1655); -x_1657 = lean_usize_of_nat(x_1656); -lean_dec(x_1656); -x_1658 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1657, x_1653, x_1655, x_3); -if (lean_obj_tag(x_1658) == 0) -{ -lean_object* x_1659; lean_object* x_1660; lean_object* x_1661; -lean_dec(x_1649); -lean_dec(x_1648); -lean_dec(x_1607); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -x_1659 = lean_ctor_get(x_1658, 0); -lean_inc(x_1659); -if (lean_is_exclusive(x_1658)) { - lean_ctor_release(x_1658, 0); - x_1660 = x_1658; -} else { - lean_dec_ref(x_1658); - x_1660 = lean_box(0); -} -if (lean_is_scalar(x_1660)) { - x_1661 = lean_alloc_ctor(0, 1, 0); -} else { - x_1661 = x_1660; -} -lean_ctor_set(x_1661, 0, x_1659); -return x_1661; -} -else -{ -lean_object* x_1662; lean_object* x_1663; lean_object* x_1664; lean_object* x_1665; -x_1662 = lean_ctor_get(x_1658, 0); -lean_inc(x_1662); -if (lean_is_exclusive(x_1658)) { - lean_ctor_release(x_1658, 0); - x_1663 = x_1658; -} else { - lean_dec_ref(x_1658); - x_1663 = lean_box(0); -} -if (lean_is_scalar(x_1648)) { - x_1664 = lean_alloc_ctor(1, 1, 0); -} else { - x_1664 = x_1648; -} -lean_ctor_set(x_1664, 0, x_1662); -x_1665 = lean_ctor_get(x_5, 7); -lean_inc(x_1665); -lean_dec(x_5); -if (lean_obj_tag(x_1665) == 0) -{ -lean_object* x_1666; lean_object* x_1667; lean_object* x_1668; -lean_dec(x_3); -x_1666 = lean_box(0); -x_1667 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1667, 0, x_1492); -lean_ctor_set(x_1667, 1, x_1499); -lean_ctor_set(x_1667, 2, x_1501); -lean_ctor_set(x_1667, 3, x_1502); -lean_ctor_set(x_1667, 4, x_1607); -lean_ctor_set(x_1667, 5, x_1649); -lean_ctor_set(x_1667, 6, x_1664); -lean_ctor_set(x_1667, 7, x_1666); -if (lean_is_scalar(x_1663)) { - x_1668 = lean_alloc_ctor(1, 1, 0); -} else { - x_1668 = x_1663; -} -lean_ctor_set(x_1668, 0, x_1667); -return x_1668; -} -else -{ -lean_object* x_1669; lean_object* x_1670; -x_1669 = lean_ctor_get(x_1665, 0); -lean_inc(x_1669); -if (lean_is_exclusive(x_1665)) { - lean_ctor_release(x_1665, 0); - x_1670 = x_1665; -} else { - lean_dec_ref(x_1665); - x_1670 = lean_box(0); -} -if (lean_obj_tag(x_1669) == 4) -{ -lean_object* x_1671; lean_object* x_1672; size_t x_1673; lean_object* x_1674; lean_object* x_1675; lean_object* x_1676; size_t x_1677; lean_object* x_1678; -lean_dec(x_1663); -x_1671 = lean_ctor_get(x_1669, 0); -lean_inc(x_1671); -lean_dec(x_1669); -x_1672 = lean_array_get_size(x_1671); -x_1673 = lean_usize_of_nat(x_1672); -lean_dec(x_1672); -x_1674 = l_Array_mapMUnsafe_map___at_Lean_Server_instRpcEncodableArray___spec__3(x_1673, x_1653, x_1671); -x_1675 = lean_ctor_get(x_1674, 0); -lean_inc(x_1675); -lean_dec(x_1674); -x_1676 = lean_array_get_size(x_1675); -x_1677 = lean_usize_of_nat(x_1676); -lean_dec(x_1676); -x_1678 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1677, x_1653, x_1675, x_3); -lean_dec(x_3); -if (lean_obj_tag(x_1678) == 0) -{ -lean_object* x_1679; lean_object* x_1680; lean_object* x_1681; -lean_dec(x_1670); -lean_dec(x_1664); -lean_dec(x_1649); -lean_dec(x_1607); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -x_1679 = lean_ctor_get(x_1678, 0); -lean_inc(x_1679); -if (lean_is_exclusive(x_1678)) { - lean_ctor_release(x_1678, 0); - x_1680 = x_1678; -} else { - lean_dec_ref(x_1678); - x_1680 = lean_box(0); -} -if (lean_is_scalar(x_1680)) { - x_1681 = lean_alloc_ctor(0, 1, 0); -} else { - x_1681 = x_1680; -} -lean_ctor_set(x_1681, 0, x_1679); -return x_1681; -} -else -{ -lean_object* x_1682; lean_object* x_1683; lean_object* x_1684; lean_object* x_1685; lean_object* x_1686; -x_1682 = lean_ctor_get(x_1678, 0); -lean_inc(x_1682); -if (lean_is_exclusive(x_1678)) { - lean_ctor_release(x_1678, 0); - x_1683 = x_1678; -} else { - lean_dec_ref(x_1678); - x_1683 = lean_box(0); -} -if (lean_is_scalar(x_1670)) { - x_1684 = lean_alloc_ctor(1, 1, 0); -} else { - x_1684 = x_1670; -} -lean_ctor_set(x_1684, 0, x_1682); -x_1685 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_1685, 0, x_1492); -lean_ctor_set(x_1685, 1, x_1499); -lean_ctor_set(x_1685, 2, x_1501); -lean_ctor_set(x_1685, 3, x_1502); -lean_ctor_set(x_1685, 4, x_1607); -lean_ctor_set(x_1685, 5, x_1649); -lean_ctor_set(x_1685, 6, x_1664); -lean_ctor_set(x_1685, 7, x_1684); -if (lean_is_scalar(x_1683)) { - x_1686 = lean_alloc_ctor(1, 1, 0); -} else { - x_1686 = x_1683; -} -lean_ctor_set(x_1686, 0, x_1685); -return x_1686; -} -} -else -{ -lean_object* x_1687; lean_object* x_1688; lean_object* x_1689; lean_object* x_1690; lean_object* x_1691; lean_object* x_1692; lean_object* x_1693; -lean_dec(x_1670); -lean_dec(x_1664); -lean_dec(x_1649); -lean_dec(x_1607); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_3); -x_1687 = lean_unsigned_to_nat(80u); -x_1688 = l_Lean_Json_pretty(x_1669, x_1687); -x_1689 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1690 = lean_string_append(x_1689, x_1688); -lean_dec(x_1688); -x_1691 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1692 = lean_string_append(x_1690, x_1691); -if (lean_is_scalar(x_1663)) { - x_1693 = lean_alloc_ctor(0, 1, 0); -} else { - x_1693 = x_1663; - lean_ctor_set_tag(x_1693, 0); -} -lean_ctor_set(x_1693, 0, x_1692); -return x_1693; -} -} -} -} -else -{ -lean_object* x_1694; lean_object* x_1695; lean_object* x_1696; lean_object* x_1697; lean_object* x_1698; lean_object* x_1699; lean_object* x_1700; lean_object* x_1701; -lean_dec(x_1648); -lean_dec(x_1607); -lean_dec(x_1502); -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -if (lean_is_exclusive(x_1610)) { - lean_ctor_release(x_1610, 0); - x_1694 = x_1610; -} else { - lean_dec_ref(x_1610); - x_1694 = lean_box(0); -} -x_1695 = lean_unsigned_to_nat(80u); -x_1696 = l_Lean_Json_pretty(x_1647, x_1695); -x_1697 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__1; -x_1698 = lean_string_append(x_1697, x_1696); -lean_dec(x_1696); -x_1699 = l_Lean_Widget_instRpcEncodableStrictOrLazy_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_4____at_Lean_Widget_instRpcEncodableMsgEmbed_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_545____spec__4___closed__2; -x_1700 = lean_string_append(x_1698, x_1699); -if (lean_is_scalar(x_1694)) { - x_1701 = lean_alloc_ctor(0, 1, 0); -} else { - x_1701 = x_1694; - lean_ctor_set_tag(x_1701, 0); -} -lean_ctor_set(x_1701, 0, x_1700); -return x_1701; -} -} -} -} -} -} -block_1709: -{ -if (lean_obj_tag(x_1703) == 0) -{ -lean_object* x_1704; lean_object* x_1705; lean_object* x_1706; -lean_dec(x_1501); -lean_dec(x_1499); -lean_dec(x_1492); -lean_dec(x_5); -lean_dec(x_3); -lean_dec(x_1); -x_1704 = lean_ctor_get(x_1703, 0); -lean_inc(x_1704); -if (lean_is_exclusive(x_1703)) { - lean_ctor_release(x_1703, 0); - x_1705 = x_1703; -} else { - lean_dec_ref(x_1703); - x_1705 = lean_box(0); -} -if (lean_is_scalar(x_1705)) { - x_1706 = lean_alloc_ctor(0, 1, 0); -} else { - x_1706 = x_1705; -} -lean_ctor_set(x_1706, 0, x_1704); -return x_1706; -} -else -{ -lean_object* x_1707; lean_object* x_1708; -x_1707 = lean_ctor_get(x_1703, 0); -lean_inc(x_1707); -lean_dec(x_1703); -x_1708 = lean_alloc_ctor(1, 1, 0); -lean_ctor_set(x_1708, 0, x_1707); -x_1502 = x_1708; -goto block_1702; -} +lean_object* x_891; lean_object* x_892; +x_891 = lean_ctor_get(x_887, 0); +lean_inc(x_891); +lean_dec(x_887); +x_892 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_892, 0, x_891); +x_17 = x_892; +goto block_886; } } } @@ -15234,7 +16276,16 @@ lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -15242,21 +16293,21 @@ x_5 = lean_unbox_usize(x_1); lean_dec(x_1); x_6 = lean_unbox_usize(x_2); lean_dec(x_2); -x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__2(x_5, x_6, x_3, x_4); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_5, x_6, x_3, x_4); lean_dec(x_4); return x_7; } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3___boxed(lean_object* x_1, lean_object* x_2) { +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___boxed(lean_object* x_1, lean_object* x_2) { _start: { lean_object* x_3; -x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__3(x_1, x_2); +x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_1, x_2); lean_dec(x_2); return x_3; } } -LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { +LEAN_EXPORT lean_object* l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4) { _start: { size_t x_5; size_t x_6; lean_object* x_7; @@ -15264,20 +16315,11 @@ x_5 = lean_unbox_usize(x_1); lean_dec(x_1); x_6 = lean_unbox_usize(x_2); lean_dec(x_2); -x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4(x_5, x_6, x_3, x_4); +x_7 = l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_5, x_6, x_3, x_4); lean_dec(x_4); return x_7; } } -LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___boxed(lean_object* x_1, lean_object* x_2) { -_start: -{ -lean_object* x_3; -x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5(x_1, x_2); -lean_dec(x_2); -return x_3; -} -} LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__6___boxed(lean_object* x_1, lean_object* x_2) { _start: { @@ -15287,6 +16329,15 @@ lean_dec(x_2); return x_3; } } +LEAN_EXPORT lean_object* l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7___boxed(lean_object* x_1, lean_object* x_2) { +_start: +{ +lean_object* x_3; +x_3 = l_MonadExcept_ofExcept___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__7(x_1, x_2); +lean_dec(x_2); +return x_3; +} +} LEAN_EXPORT lean_object* l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___boxed(lean_object* x_1, lean_object* x_2, lean_object* x_3) { _start: { @@ -15417,7 +16468,7 @@ return x_1; } else { -lean_object* x_5; lean_object* x_6; 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_5; lean_object* x_6; 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; x_5 = lean_ctor_get(x_1, 0); x_6 = lean_ctor_get(x_1, 1); x_7 = lean_ctor_get(x_1, 2); @@ -15426,6 +16477,8 @@ x_9 = lean_ctor_get(x_1, 4); x_10 = lean_ctor_get(x_1, 5); x_11 = lean_ctor_get(x_1, 6); x_12 = lean_ctor_get(x_1, 7); +x_13 = lean_ctor_get(x_1, 8); +lean_inc(x_13); lean_inc(x_12); lean_inc(x_11); lean_inc(x_10); @@ -15435,17 +16488,18 @@ lean_inc(x_7); lean_inc(x_6); lean_inc(x_5); lean_dec(x_1); -x_13 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(x_10); -x_14 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_14, 0, x_5); -lean_ctor_set(x_14, 1, x_6); -lean_ctor_set(x_14, 2, x_7); -lean_ctor_set(x_14, 3, x_8); -lean_ctor_set(x_14, 4, x_9); -lean_ctor_set(x_14, 5, x_13); -lean_ctor_set(x_14, 6, x_11); -lean_ctor_set(x_14, 7, x_12); -return x_14; +x_14 = l_Lean_Widget_InteractiveDiagnostic_toDiagnostic_prettyTt(x_10); +x_15 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_15, 0, x_5); +lean_ctor_set(x_15, 1, x_6); +lean_ctor_set(x_15, 2, x_7); +lean_ctor_set(x_15, 3, x_8); +lean_ctor_set(x_15, 4, x_9); +lean_ctor_set(x_15, 5, x_14); +lean_ctor_set(x_15, 6, x_11); +lean_ctor_set(x_15, 7, x_12); +lean_ctor_set(x_15, 8, x_13); +return x_15; } } } @@ -19270,21 +20324,24 @@ return x_6; LEAN_EXPORT lean_object* l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1(lean_object* x_1, lean_object* x_2, lean_object* x_3, lean_object* x_4, lean_object* x_5, lean_object* x_6, lean_object* x_7) { _start: { -lean_object* x_8; lean_object* x_9; lean_object* x_10; -x_8 = lean_box(0); -x_9 = lean_alloc_ctor(0, 8, 0); -lean_ctor_set(x_9, 0, x_1); -lean_ctor_set(x_9, 1, x_2); -lean_ctor_set(x_9, 2, x_3); -lean_ctor_set(x_9, 3, x_8); -lean_ctor_set(x_9, 4, x_4); -lean_ctor_set(x_9, 5, x_6); -lean_ctor_set(x_9, 6, x_5); -lean_ctor_set(x_9, 7, x_8); -x_10 = lean_alloc_ctor(0, 2, 0); -lean_ctor_set(x_10, 0, x_9); -lean_ctor_set(x_10, 1, x_7); -return x_10; +lean_object* x_8; lean_object* x_9; lean_object* x_10; lean_object* x_11; +x_8 = lean_alloc_ctor(1, 1, 0); +lean_ctor_set(x_8, 0, x_1); +x_9 = lean_box(0); +x_10 = lean_alloc_ctor(0, 9, 0); +lean_ctor_set(x_10, 0, x_2); +lean_ctor_set(x_10, 1, x_8); +lean_ctor_set(x_10, 2, x_3); +lean_ctor_set(x_10, 3, x_9); +lean_ctor_set(x_10, 4, x_4); +lean_ctor_set(x_10, 5, x_6); +lean_ctor_set(x_10, 6, x_5); +lean_ctor_set(x_10, 7, x_9); +lean_ctor_set(x_10, 8, 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_7); +return x_11; } } static lean_object* _init_l_Lean_Widget_msgToInteractiveDiagnostic___closed__1() { @@ -19550,7 +20607,7 @@ x_24 = lean_ctor_get(x_13, 1); lean_inc(x_24); lean_dec(x_13); x_25 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2; -x_26 = l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1(x_18, x_16, x_21, x_25, x_22, x_23, x_24); +x_26 = l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1(x_16, x_18, x_21, x_25, x_22, x_23, x_24); return x_26; } else @@ -19570,7 +20627,7 @@ x_33 = lean_string_append(x_31, x_32); x_34 = lean_alloc_ctor(0, 1, 0); lean_ctor_set(x_34, 0, x_33); x_35 = l_Lean_Widget_msgToInteractiveDiagnostic___closed__2; -x_36 = l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1(x_18, x_16, x_21, x_35, x_22, x_34, x_28); +x_36 = l_Lean_Widget_msgToInteractiveDiagnostic___lambda__1(x_16, x_18, x_21, x_35, x_22, x_34, x_28); return x_36; } } @@ -19732,22 +20789,24 @@ l_Lean_Widget_instRpcEncodableMsgEmbed___closed__1 = _init_l_Lean_Widget_instRpc lean_mark_persistent(l_Lean_Widget_instRpcEncodableMsgEmbed___closed__1); l_Lean_Widget_instRpcEncodableMsgEmbed = _init_l_Lean_Widget_instRpcEncodableMsgEmbed(); lean_mark_persistent(l_Lean_Widget_instRpcEncodableMsgEmbed); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__1(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__1); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__2(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__2); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__3(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__3); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__4(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__4); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__5 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__5(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__5); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__6 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__6(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__6); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__7 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__7(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__7); -l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__8 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__8(); -lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1612____closed__8); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__1 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__1(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__1); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__2 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__2(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__2); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__3 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__3(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__3); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__4 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__4(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__4); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__5 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__5(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__5); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__6 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__6(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__6); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__7 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__7(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__7); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__8 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__8(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__8); +l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__9 = _init_l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__9(); +lean_mark_persistent(l___private_Lean_Widget_InteractiveDiagnostic_0__Lean_Widget_fromJsonRpcEncodablePacket____x40_Lean_Widget_InteractiveDiagnostic___hyg_1622____closed__9); l_Lean_Widget_instFromJsonRpcEncodablePacket__7___closed__1 = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket__7___closed__1(); lean_mark_persistent(l_Lean_Widget_instFromJsonRpcEncodablePacket__7___closed__1); l_Lean_Widget_instFromJsonRpcEncodablePacket__7 = _init_l_Lean_Widget_instFromJsonRpcEncodablePacket__7(); @@ -19780,14 +20839,14 @@ l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveD lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__7); l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__8 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__8(); lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_enc____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__8); -l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__1(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__1); -l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__2(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__2); -l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__3(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__3); -l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__4(); -lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__4___closed__4); +l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__1 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__1(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__1); +l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__2 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__2(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__2); +l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__3 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__3(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__3); +l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__4 = _init_l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__4(); +lean_mark_persistent(l_Array_mapMUnsafe_map___at_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____spec__5___closed__4); l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1(); lean_mark_persistent(l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__1); l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2 = _init_l_Lean_Widget_instRpcEncodableDiagnosticWith_dec____x40_Lean_Widget_InteractiveDiagnostic___hyg_1538____rarg___closed__2();